@gizone/rrs-client 4.1.3-alpha.214 → 4.1.3-alpha.215
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 +1 -0
- package/apis/equipment-api.ts +109 -0
- package/dist/apis/equipment-api.d.ts +56 -0
- package/dist/apis/equipment-api.js +78 -0
- package/dist/esm/apis/equipment-api.d.ts +56 -0
- package/dist/esm/apis/equipment-api.js +78 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/json-result-equipment-detail-dto.d.ts +62 -0
- package/dist/esm/models/json-result-equipment-detail-dto.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/get-user-wx200-response.d.ts +9 -9
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/json-result-equipment-detail-dto.d.ts +62 -0
- package/dist/models/json-result-equipment-detail-dto.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/get-user-wx200-response.ts +9 -9
- package/models/index.ts +1 -0
- package/models/json-result-equipment-detail-dto.ts +72 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -414,6 +414,7 @@ models/json-result-energy-meter-details-dto.ts
|
|
|
414
414
|
models/json-result-energy-meter-record-dto.ts
|
|
415
415
|
models/json-result-energy-work-order-detail-dto.ts
|
|
416
416
|
models/json-result-equipment-add-redis-list-dto.ts
|
|
417
|
+
models/json-result-equipment-detail-dto.ts
|
|
417
418
|
models/json-result-equipment-search-system-dto.ts
|
|
418
419
|
models/json-result-esg-park-carbon-emission-statistics-dto.ts
|
|
419
420
|
models/json-result-esg-park-charging-station-statistics-dto.ts
|
package/apis/equipment-api.ts
CHANGED
|
@@ -46,6 +46,8 @@ import type { JsonResult } from '../models';
|
|
|
46
46
|
// @ts-ignore
|
|
47
47
|
import type { JsonResultEquipmentAddRedisListDTO } from '../models';
|
|
48
48
|
// @ts-ignore
|
|
49
|
+
import type { JsonResultEquipmentDetailDTO } from '../models';
|
|
50
|
+
// @ts-ignore
|
|
49
51
|
import type { JsonResultEquipmentSearchSystemDTO } from '../models';
|
|
50
52
|
// @ts-ignore
|
|
51
53
|
import type { JsonResultExcelImportResultDTOEquipmentExcelAddDTO } from '../models';
|
|
@@ -64,6 +66,8 @@ import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
|
64
66
|
// @ts-ignore
|
|
65
67
|
import type { ModelInteger } from '../models';
|
|
66
68
|
// @ts-ignore
|
|
69
|
+
import type { ModelString } from '../models';
|
|
70
|
+
// @ts-ignore
|
|
67
71
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
68
72
|
/**
|
|
69
73
|
* EquipmentApi - axios parameter creator
|
|
@@ -1063,6 +1067,54 @@ export const EquipmentApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1063
1067
|
|
|
1064
1068
|
|
|
1065
1069
|
|
|
1070
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1072
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1073
|
+
|
|
1074
|
+
return {
|
|
1075
|
+
url: toPathString(localVarUrlObj),
|
|
1076
|
+
options: localVarRequestOptions,
|
|
1077
|
+
};
|
|
1078
|
+
},
|
|
1079
|
+
/**
|
|
1080
|
+
*
|
|
1081
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1082
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
1083
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
*/
|
|
1087
|
+
selectEquipmentByEquipmentCode: async (equipmentCode?: ModelString, famEquipmentCode?: ModelString, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1088
|
+
const localVarPath = `/gizone/equipment/info`;
|
|
1089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1091
|
+
let baseOptions;
|
|
1092
|
+
if (configuration) {
|
|
1093
|
+
baseOptions = configuration.baseOptions;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1097
|
+
const localVarHeaderParameter = {} as any;
|
|
1098
|
+
const localVarQueryParameter = {} as any;
|
|
1099
|
+
|
|
1100
|
+
// authentication tokenScheme required
|
|
1101
|
+
// http bearer authentication required
|
|
1102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1103
|
+
|
|
1104
|
+
if (equipmentCode !== undefined) {
|
|
1105
|
+
for (const [key, value] of Object.entries(equipmentCode)) {
|
|
1106
|
+
localVarQueryParameter[key] = value;
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
if (famEquipmentCode !== undefined) {
|
|
1111
|
+
for (const [key, value] of Object.entries(famEquipmentCode)) {
|
|
1112
|
+
localVarQueryParameter[key] = value;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1066
1118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1067
1119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1068
1120
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1544,6 +1596,20 @@ export const EquipmentApiFp = function(configuration?: Configuration) {
|
|
|
1544
1596
|
const localVarOperationServerBasePath = operationServerMap['EquipmentApi.qrcodeDetail']?.[localVarOperationServerIndex]?.url;
|
|
1545
1597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1546
1598
|
},
|
|
1599
|
+
/**
|
|
1600
|
+
*
|
|
1601
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1602
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
1603
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
1604
|
+
* @param {*} [options] Override http request option.
|
|
1605
|
+
* @throws {RequiredError}
|
|
1606
|
+
*/
|
|
1607
|
+
async selectEquipmentByEquipmentCode(equipmentCode?: ModelString, famEquipmentCode?: ModelString, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEquipmentDetailDTO>> {
|
|
1608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectEquipmentByEquipmentCode(equipmentCode, famEquipmentCode, options);
|
|
1609
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1610
|
+
const localVarOperationServerBasePath = operationServerMap['EquipmentApi.selectEquipmentByEquipmentCode']?.[localVarOperationServerIndex]?.url;
|
|
1611
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1612
|
+
},
|
|
1547
1613
|
/**
|
|
1548
1614
|
*
|
|
1549
1615
|
* @summary 选择空间下的设备
|
|
@@ -1822,6 +1888,16 @@ export const EquipmentApiFactory = function (configuration?: Configuration, base
|
|
|
1822
1888
|
qrcodeDetail(requestParameters: EquipmentApiQrcodeDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1823
1889
|
return localVarFp.qrcodeDetail(requestParameters.workOrderId, requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
1824
1890
|
},
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1894
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
1895
|
+
* @param {*} [options] Override http request option.
|
|
1896
|
+
* @throws {RequiredError}
|
|
1897
|
+
*/
|
|
1898
|
+
selectEquipmentByEquipmentCode(requestParameters: EquipmentApiSelectEquipmentByEquipmentCodeRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEquipmentDetailDTO> {
|
|
1899
|
+
return localVarFp.selectEquipmentByEquipmentCode(requestParameters.equipmentCode, requestParameters.famEquipmentCode, options).then((request) => request(axios, basePath));
|
|
1900
|
+
},
|
|
1825
1901
|
/**
|
|
1826
1902
|
*
|
|
1827
1903
|
* @summary 选择空间下的设备
|
|
@@ -2298,6 +2374,27 @@ export interface EquipmentApiQrcodeDetailRequest {
|
|
|
2298
2374
|
readonly equipmentId: number
|
|
2299
2375
|
}
|
|
2300
2376
|
|
|
2377
|
+
/**
|
|
2378
|
+
* Request parameters for selectEquipmentByEquipmentCode operation in EquipmentApi.
|
|
2379
|
+
* @export
|
|
2380
|
+
* @interface EquipmentApiSelectEquipmentByEquipmentCodeRequest
|
|
2381
|
+
*/
|
|
2382
|
+
export interface EquipmentApiSelectEquipmentByEquipmentCodeRequest {
|
|
2383
|
+
/**
|
|
2384
|
+
* 设备编码
|
|
2385
|
+
* @type {ModelString}
|
|
2386
|
+
* @memberof EquipmentApiSelectEquipmentByEquipmentCode
|
|
2387
|
+
*/
|
|
2388
|
+
readonly equipmentCode?: ModelString
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* 资产编码
|
|
2392
|
+
* @type {ModelString}
|
|
2393
|
+
* @memberof EquipmentApiSelectEquipmentByEquipmentCode
|
|
2394
|
+
*/
|
|
2395
|
+
readonly famEquipmentCode?: ModelString
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2301
2398
|
/**
|
|
2302
2399
|
* Request parameters for selectEquipmentInSpace operation in EquipmentApi.
|
|
2303
2400
|
* @export
|
|
@@ -2608,6 +2705,18 @@ export class EquipmentApi extends BaseAPI {
|
|
|
2608
2705
|
return EquipmentApiFp(this.configuration).qrcodeDetail(requestParameters.workOrderId, requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
2609
2706
|
}
|
|
2610
2707
|
|
|
2708
|
+
/**
|
|
2709
|
+
*
|
|
2710
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
2711
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
2712
|
+
* @param {*} [options] Override http request option.
|
|
2713
|
+
* @throws {RequiredError}
|
|
2714
|
+
* @memberof EquipmentApi
|
|
2715
|
+
*/
|
|
2716
|
+
public selectEquipmentByEquipmentCode(requestParameters: EquipmentApiSelectEquipmentByEquipmentCodeRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2717
|
+
return EquipmentApiFp(this.configuration).selectEquipmentByEquipmentCode(requestParameters.equipmentCode, requestParameters.famEquipmentCode, options).then((request) => request(this.axios, this.basePath));
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2611
2720
|
/**
|
|
2612
2721
|
*
|
|
2613
2722
|
* @summary 选择空间下的设备
|
|
@@ -24,6 +24,7 @@ import type { EquipmentSystemEditVo } from '../models';
|
|
|
24
24
|
import type { EquipmentSystemTeamVo } from '../models';
|
|
25
25
|
import type { JsonResult } from '../models';
|
|
26
26
|
import type { JsonResultEquipmentAddRedisListDTO } from '../models';
|
|
27
|
+
import type { JsonResultEquipmentDetailDTO } from '../models';
|
|
27
28
|
import type { JsonResultEquipmentSearchSystemDTO } from '../models';
|
|
28
29
|
import type { JsonResultExcelImportResultDTOEquipmentExcelAddDTO } from '../models';
|
|
29
30
|
import type { JsonResultListEquipmentDetailDTO } from '../models';
|
|
@@ -33,6 +34,7 @@ import type { JsonResultListEquipmentTreeDTO } from '../models';
|
|
|
33
34
|
import type { JsonResultListMaintenanceStandardEntity } from '../models';
|
|
34
35
|
import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
35
36
|
import type { ModelInteger } from '../models';
|
|
37
|
+
import type { ModelString } from '../models';
|
|
36
38
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
37
39
|
/**
|
|
38
40
|
* EquipmentApi - axios parameter creator
|
|
@@ -236,6 +238,15 @@ export declare const EquipmentApiAxiosParamCreator: (configuration?: Configurati
|
|
|
236
238
|
* @throws {RequiredError}
|
|
237
239
|
*/
|
|
238
240
|
qrcodeDetail: (workOrderId: number, equipmentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
244
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
245
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
selectEquipmentByEquipmentCode: (equipmentCode?: ModelString, famEquipmentCode?: ModelString, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
239
250
|
/**
|
|
240
251
|
*
|
|
241
252
|
* @summary 选择空间下的设备
|
|
@@ -470,6 +481,15 @@ export declare const EquipmentApiFp: (configuration?: Configuration) => {
|
|
|
470
481
|
* @throws {RequiredError}
|
|
471
482
|
*/
|
|
472
483
|
qrcodeDetail(workOrderId: number, equipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
487
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
488
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
selectEquipmentByEquipmentCode(equipmentCode?: ModelString, famEquipmentCode?: ModelString, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEquipmentDetailDTO>>;
|
|
473
493
|
/**
|
|
474
494
|
*
|
|
475
495
|
* @summary 选择空间下的设备
|
|
@@ -680,6 +700,14 @@ export declare const EquipmentApiFactory: (configuration?: Configuration, basePa
|
|
|
680
700
|
* @throws {RequiredError}
|
|
681
701
|
*/
|
|
682
702
|
qrcodeDetail(requestParameters: EquipmentApiQrcodeDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
706
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
707
|
+
* @param {*} [options] Override http request option.
|
|
708
|
+
* @throws {RequiredError}
|
|
709
|
+
*/
|
|
710
|
+
selectEquipmentByEquipmentCode(requestParameters?: EquipmentApiSelectEquipmentByEquipmentCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEquipmentDetailDTO>;
|
|
683
711
|
/**
|
|
684
712
|
*
|
|
685
713
|
* @summary 选择空间下的设备
|
|
@@ -1103,6 +1131,25 @@ export interface EquipmentApiQrcodeDetailRequest {
|
|
|
1103
1131
|
*/
|
|
1104
1132
|
readonly equipmentId: number;
|
|
1105
1133
|
}
|
|
1134
|
+
/**
|
|
1135
|
+
* Request parameters for selectEquipmentByEquipmentCode operation in EquipmentApi.
|
|
1136
|
+
* @export
|
|
1137
|
+
* @interface EquipmentApiSelectEquipmentByEquipmentCodeRequest
|
|
1138
|
+
*/
|
|
1139
|
+
export interface EquipmentApiSelectEquipmentByEquipmentCodeRequest {
|
|
1140
|
+
/**
|
|
1141
|
+
* 设备编码
|
|
1142
|
+
* @type {ModelString}
|
|
1143
|
+
* @memberof EquipmentApiSelectEquipmentByEquipmentCode
|
|
1144
|
+
*/
|
|
1145
|
+
readonly equipmentCode?: ModelString;
|
|
1146
|
+
/**
|
|
1147
|
+
* 资产编码
|
|
1148
|
+
* @type {ModelString}
|
|
1149
|
+
* @memberof EquipmentApiSelectEquipmentByEquipmentCode
|
|
1150
|
+
*/
|
|
1151
|
+
readonly famEquipmentCode?: ModelString;
|
|
1152
|
+
}
|
|
1106
1153
|
/**
|
|
1107
1154
|
* Request parameters for selectEquipmentInSpace operation in EquipmentApi.
|
|
1108
1155
|
* @export
|
|
@@ -1344,6 +1391,15 @@ export declare class EquipmentApi extends BaseAPI {
|
|
|
1344
1391
|
* @memberof EquipmentApi
|
|
1345
1392
|
*/
|
|
1346
1393
|
qrcodeDetail(requestParameters: EquipmentApiQrcodeDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1397
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
* @memberof EquipmentApi
|
|
1401
|
+
*/
|
|
1402
|
+
selectEquipmentByEquipmentCode(requestParameters?: EquipmentApiSelectEquipmentByEquipmentCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEquipmentDetailDTO, any>>;
|
|
1347
1403
|
/**
|
|
1348
1404
|
*
|
|
1349
1405
|
* @summary 选择空间下的设备
|
|
@@ -862,6 +862,46 @@ const EquipmentApiAxiosParamCreator = function (configuration) {
|
|
|
862
862
|
options: localVarRequestOptions,
|
|
863
863
|
};
|
|
864
864
|
}),
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
868
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
869
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
870
|
+
* @param {*} [options] Override http request option.
|
|
871
|
+
* @throws {RequiredError}
|
|
872
|
+
*/
|
|
873
|
+
selectEquipmentByEquipmentCode: (equipmentCode_1, famEquipmentCode_1, ...args_1) => __awaiter(this, [equipmentCode_1, famEquipmentCode_1, ...args_1], void 0, function* (equipmentCode, famEquipmentCode, options = {}) {
|
|
874
|
+
const localVarPath = `/gizone/equipment/info`;
|
|
875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
876
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
877
|
+
let baseOptions;
|
|
878
|
+
if (configuration) {
|
|
879
|
+
baseOptions = configuration.baseOptions;
|
|
880
|
+
}
|
|
881
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
882
|
+
const localVarHeaderParameter = {};
|
|
883
|
+
const localVarQueryParameter = {};
|
|
884
|
+
// authentication tokenScheme required
|
|
885
|
+
// http bearer authentication required
|
|
886
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
887
|
+
if (equipmentCode !== undefined) {
|
|
888
|
+
for (const [key, value] of Object.entries(equipmentCode)) {
|
|
889
|
+
localVarQueryParameter[key] = value;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
if (famEquipmentCode !== undefined) {
|
|
893
|
+
for (const [key, value] of Object.entries(famEquipmentCode)) {
|
|
894
|
+
localVarQueryParameter[key] = value;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
898
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
899
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
900
|
+
return {
|
|
901
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
902
|
+
options: localVarRequestOptions,
|
|
903
|
+
};
|
|
904
|
+
}),
|
|
865
905
|
/**
|
|
866
906
|
*
|
|
867
907
|
* @summary 选择空间下的设备
|
|
@@ -1373,6 +1413,23 @@ const EquipmentApiFp = function (configuration) {
|
|
|
1373
1413
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1374
1414
|
});
|
|
1375
1415
|
},
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1419
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
1420
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
1421
|
+
* @param {*} [options] Override http request option.
|
|
1422
|
+
* @throws {RequiredError}
|
|
1423
|
+
*/
|
|
1424
|
+
selectEquipmentByEquipmentCode(equipmentCode, famEquipmentCode, options) {
|
|
1425
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1426
|
+
var _a, _b, _c;
|
|
1427
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectEquipmentByEquipmentCode(equipmentCode, famEquipmentCode, options);
|
|
1428
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1429
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EquipmentApi.selectEquipmentByEquipmentCode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1430
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1431
|
+
});
|
|
1432
|
+
},
|
|
1376
1433
|
/**
|
|
1377
1434
|
*
|
|
1378
1435
|
* @summary 选择空间下的设备
|
|
@@ -1663,6 +1720,16 @@ const EquipmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1663
1720
|
qrcodeDetail(requestParameters, options) {
|
|
1664
1721
|
return localVarFp.qrcodeDetail(requestParameters.workOrderId, requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
1665
1722
|
},
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1726
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
*/
|
|
1730
|
+
selectEquipmentByEquipmentCode(requestParameters = {}, options) {
|
|
1731
|
+
return localVarFp.selectEquipmentByEquipmentCode(requestParameters.equipmentCode, requestParameters.famEquipmentCode, options).then((request) => request(axios, basePath));
|
|
1732
|
+
},
|
|
1666
1733
|
/**
|
|
1667
1734
|
*
|
|
1668
1735
|
* @summary 选择空间下的设备
|
|
@@ -1951,6 +2018,17 @@ class EquipmentApi extends base_1.BaseAPI {
|
|
|
1951
2018
|
qrcodeDetail(requestParameters, options) {
|
|
1952
2019
|
return (0, exports.EquipmentApiFp)(this.configuration).qrcodeDetail(requestParameters.workOrderId, requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1953
2020
|
}
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
2024
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
2025
|
+
* @param {*} [options] Override http request option.
|
|
2026
|
+
* @throws {RequiredError}
|
|
2027
|
+
* @memberof EquipmentApi
|
|
2028
|
+
*/
|
|
2029
|
+
selectEquipmentByEquipmentCode(requestParameters = {}, options) {
|
|
2030
|
+
return (0, exports.EquipmentApiFp)(this.configuration).selectEquipmentByEquipmentCode(requestParameters.equipmentCode, requestParameters.famEquipmentCode, options).then((request) => request(this.axios, this.basePath));
|
|
2031
|
+
}
|
|
1954
2032
|
/**
|
|
1955
2033
|
*
|
|
1956
2034
|
* @summary 选择空间下的设备
|
|
@@ -24,6 +24,7 @@ import type { EquipmentSystemEditVo } from '../models';
|
|
|
24
24
|
import type { EquipmentSystemTeamVo } from '../models';
|
|
25
25
|
import type { JsonResult } from '../models';
|
|
26
26
|
import type { JsonResultEquipmentAddRedisListDTO } from '../models';
|
|
27
|
+
import type { JsonResultEquipmentDetailDTO } from '../models';
|
|
27
28
|
import type { JsonResultEquipmentSearchSystemDTO } from '../models';
|
|
28
29
|
import type { JsonResultExcelImportResultDTOEquipmentExcelAddDTO } from '../models';
|
|
29
30
|
import type { JsonResultListEquipmentDetailDTO } from '../models';
|
|
@@ -33,6 +34,7 @@ import type { JsonResultListEquipmentTreeDTO } from '../models';
|
|
|
33
34
|
import type { JsonResultListMaintenanceStandardEntity } from '../models';
|
|
34
35
|
import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
35
36
|
import type { ModelInteger } from '../models';
|
|
37
|
+
import type { ModelString } from '../models';
|
|
36
38
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
37
39
|
/**
|
|
38
40
|
* EquipmentApi - axios parameter creator
|
|
@@ -236,6 +238,15 @@ export declare const EquipmentApiAxiosParamCreator: (configuration?: Configurati
|
|
|
236
238
|
* @throws {RequiredError}
|
|
237
239
|
*/
|
|
238
240
|
qrcodeDetail: (workOrderId: number, equipmentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
244
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
245
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
selectEquipmentByEquipmentCode: (equipmentCode?: ModelString, famEquipmentCode?: ModelString, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
239
250
|
/**
|
|
240
251
|
*
|
|
241
252
|
* @summary 选择空间下的设备
|
|
@@ -470,6 +481,15 @@ export declare const EquipmentApiFp: (configuration?: Configuration) => {
|
|
|
470
481
|
* @throws {RequiredError}
|
|
471
482
|
*/
|
|
472
483
|
qrcodeDetail(workOrderId: number, equipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
487
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
488
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
selectEquipmentByEquipmentCode(equipmentCode?: ModelString, famEquipmentCode?: ModelString, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultEquipmentDetailDTO>>;
|
|
473
493
|
/**
|
|
474
494
|
*
|
|
475
495
|
* @summary 选择空间下的设备
|
|
@@ -680,6 +700,14 @@ export declare const EquipmentApiFactory: (configuration?: Configuration, basePa
|
|
|
680
700
|
* @throws {RequiredError}
|
|
681
701
|
*/
|
|
682
702
|
qrcodeDetail(requestParameters: EquipmentApiQrcodeDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
706
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
707
|
+
* @param {*} [options] Override http request option.
|
|
708
|
+
* @throws {RequiredError}
|
|
709
|
+
*/
|
|
710
|
+
selectEquipmentByEquipmentCode(requestParameters?: EquipmentApiSelectEquipmentByEquipmentCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultEquipmentDetailDTO>;
|
|
683
711
|
/**
|
|
684
712
|
*
|
|
685
713
|
* @summary 选择空间下的设备
|
|
@@ -1103,6 +1131,25 @@ export interface EquipmentApiQrcodeDetailRequest {
|
|
|
1103
1131
|
*/
|
|
1104
1132
|
readonly equipmentId: number;
|
|
1105
1133
|
}
|
|
1134
|
+
/**
|
|
1135
|
+
* Request parameters for selectEquipmentByEquipmentCode operation in EquipmentApi.
|
|
1136
|
+
* @export
|
|
1137
|
+
* @interface EquipmentApiSelectEquipmentByEquipmentCodeRequest
|
|
1138
|
+
*/
|
|
1139
|
+
export interface EquipmentApiSelectEquipmentByEquipmentCodeRequest {
|
|
1140
|
+
/**
|
|
1141
|
+
* 设备编码
|
|
1142
|
+
* @type {ModelString}
|
|
1143
|
+
* @memberof EquipmentApiSelectEquipmentByEquipmentCode
|
|
1144
|
+
*/
|
|
1145
|
+
readonly equipmentCode?: ModelString;
|
|
1146
|
+
/**
|
|
1147
|
+
* 资产编码
|
|
1148
|
+
* @type {ModelString}
|
|
1149
|
+
* @memberof EquipmentApiSelectEquipmentByEquipmentCode
|
|
1150
|
+
*/
|
|
1151
|
+
readonly famEquipmentCode?: ModelString;
|
|
1152
|
+
}
|
|
1106
1153
|
/**
|
|
1107
1154
|
* Request parameters for selectEquipmentInSpace operation in EquipmentApi.
|
|
1108
1155
|
* @export
|
|
@@ -1344,6 +1391,15 @@ export declare class EquipmentApi extends BaseAPI {
|
|
|
1344
1391
|
* @memberof EquipmentApi
|
|
1345
1392
|
*/
|
|
1346
1393
|
qrcodeDetail(requestParameters: EquipmentApiQrcodeDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1397
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
* @memberof EquipmentApi
|
|
1401
|
+
*/
|
|
1402
|
+
selectEquipmentByEquipmentCode(requestParameters?: EquipmentApiSelectEquipmentByEquipmentCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultEquipmentDetailDTO, any>>;
|
|
1347
1403
|
/**
|
|
1348
1404
|
*
|
|
1349
1405
|
* @summary 选择空间下的设备
|
|
@@ -859,6 +859,46 @@ export const EquipmentApiAxiosParamCreator = function (configuration) {
|
|
|
859
859
|
options: localVarRequestOptions,
|
|
860
860
|
};
|
|
861
861
|
}),
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
865
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
866
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
867
|
+
* @param {*} [options] Override http request option.
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
*/
|
|
870
|
+
selectEquipmentByEquipmentCode: (equipmentCode_1, famEquipmentCode_1, ...args_1) => __awaiter(this, [equipmentCode_1, famEquipmentCode_1, ...args_1], void 0, function* (equipmentCode, famEquipmentCode, options = {}) {
|
|
871
|
+
const localVarPath = `/gizone/equipment/info`;
|
|
872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
874
|
+
let baseOptions;
|
|
875
|
+
if (configuration) {
|
|
876
|
+
baseOptions = configuration.baseOptions;
|
|
877
|
+
}
|
|
878
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
879
|
+
const localVarHeaderParameter = {};
|
|
880
|
+
const localVarQueryParameter = {};
|
|
881
|
+
// authentication tokenScheme required
|
|
882
|
+
// http bearer authentication required
|
|
883
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
884
|
+
if (equipmentCode !== undefined) {
|
|
885
|
+
for (const [key, value] of Object.entries(equipmentCode)) {
|
|
886
|
+
localVarQueryParameter[key] = value;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
if (famEquipmentCode !== undefined) {
|
|
890
|
+
for (const [key, value] of Object.entries(famEquipmentCode)) {
|
|
891
|
+
localVarQueryParameter[key] = value;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
895
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
896
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
897
|
+
return {
|
|
898
|
+
url: toPathString(localVarUrlObj),
|
|
899
|
+
options: localVarRequestOptions,
|
|
900
|
+
};
|
|
901
|
+
}),
|
|
862
902
|
/**
|
|
863
903
|
*
|
|
864
904
|
* @summary 选择空间下的设备
|
|
@@ -1369,6 +1409,23 @@ export const EquipmentApiFp = function (configuration) {
|
|
|
1369
1409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1370
1410
|
});
|
|
1371
1411
|
},
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1415
|
+
* @param {ModelString} [equipmentCode] 设备编码
|
|
1416
|
+
* @param {ModelString} [famEquipmentCode] 资产编码
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
*/
|
|
1420
|
+
selectEquipmentByEquipmentCode(equipmentCode, famEquipmentCode, options) {
|
|
1421
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1422
|
+
var _a, _b, _c;
|
|
1423
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectEquipmentByEquipmentCode(equipmentCode, famEquipmentCode, options);
|
|
1424
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1425
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EquipmentApi.selectEquipmentByEquipmentCode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1427
|
+
});
|
|
1428
|
+
},
|
|
1372
1429
|
/**
|
|
1373
1430
|
*
|
|
1374
1431
|
* @summary 选择空间下的设备
|
|
@@ -1658,6 +1715,16 @@ export const EquipmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1658
1715
|
qrcodeDetail(requestParameters, options) {
|
|
1659
1716
|
return localVarFp.qrcodeDetail(requestParameters.workOrderId, requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
1660
1717
|
},
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
1721
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
1722
|
+
* @param {*} [options] Override http request option.
|
|
1723
|
+
* @throws {RequiredError}
|
|
1724
|
+
*/
|
|
1725
|
+
selectEquipmentByEquipmentCode(requestParameters = {}, options) {
|
|
1726
|
+
return localVarFp.selectEquipmentByEquipmentCode(requestParameters.equipmentCode, requestParameters.famEquipmentCode, options).then((request) => request(axios, basePath));
|
|
1727
|
+
},
|
|
1661
1728
|
/**
|
|
1662
1729
|
*
|
|
1663
1730
|
* @summary 选择空间下的设备
|
|
@@ -1945,6 +2012,17 @@ export class EquipmentApi extends BaseAPI {
|
|
|
1945
2012
|
qrcodeDetail(requestParameters, options) {
|
|
1946
2013
|
return EquipmentApiFp(this.configuration).qrcodeDetail(requestParameters.workOrderId, requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1947
2014
|
}
|
|
2015
|
+
/**
|
|
2016
|
+
*
|
|
2017
|
+
* @summary 根据设备编码或资产编码查询设备信息
|
|
2018
|
+
* @param {EquipmentApiSelectEquipmentByEquipmentCodeRequest} requestParameters Request parameters.
|
|
2019
|
+
* @param {*} [options] Override http request option.
|
|
2020
|
+
* @throws {RequiredError}
|
|
2021
|
+
* @memberof EquipmentApi
|
|
2022
|
+
*/
|
|
2023
|
+
selectEquipmentByEquipmentCode(requestParameters = {}, options) {
|
|
2024
|
+
return EquipmentApiFp(this.configuration).selectEquipmentByEquipmentCode(requestParameters.equipmentCode, requestParameters.famEquipmentCode, options).then((request) => request(this.axios, this.basePath));
|
|
2025
|
+
}
|
|
1948
2026
|
/**
|
|
1949
2027
|
*
|
|
1950
2028
|
* @summary 选择空间下的设备
|
|
@@ -37,34 +37,34 @@ export interface GetUserWx200Response {
|
|
|
37
37
|
'trailerFields'?: object;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {
|
|
40
|
+
* @type {string}
|
|
41
41
|
* @memberof GetUserWx200Response
|
|
42
42
|
*/
|
|
43
|
-
'
|
|
43
|
+
'contentType'?: string;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof GetUserWx200Response
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'contentLength'?: number;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {GetUserWx200ResponseOutputStream}
|
|
53
53
|
* @memberof GetUserWx200Response
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {GetUserWx200ResponseLocale}
|
|
59
59
|
* @memberof GetUserWx200Response
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
@@ -349,6 +349,7 @@ export * from './json-result-energy-meter-details-dto';
|
|
|
349
349
|
export * from './json-result-energy-meter-record-dto';
|
|
350
350
|
export * from './json-result-energy-work-order-detail-dto';
|
|
351
351
|
export * from './json-result-equipment-add-redis-list-dto';
|
|
352
|
+
export * from './json-result-equipment-detail-dto';
|
|
352
353
|
export * from './json-result-equipment-search-system-dto';
|
|
353
354
|
export * from './json-result-esg-park-carbon-emission-statistics-dto';
|
|
354
355
|
export * from './json-result-esg-park-charging-station-statistics-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -349,6 +349,7 @@ export * from './json-result-energy-meter-details-dto';
|
|
|
349
349
|
export * from './json-result-energy-meter-record-dto';
|
|
350
350
|
export * from './json-result-energy-work-order-detail-dto';
|
|
351
351
|
export * from './json-result-equipment-add-redis-list-dto';
|
|
352
|
+
export * from './json-result-equipment-detail-dto';
|
|
352
353
|
export * from './json-result-equipment-search-system-dto';
|
|
353
354
|
export * from './json-result-esg-park-carbon-emission-statistics-dto';
|
|
354
355
|
export * from './json-result-esg-park-charging-station-statistics-dto';
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { BaseErrorResult } from './base-error-result';
|
|
13
|
+
import type { EquipmentDetailDTO } from './equipment-detail-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultEquipmentDetailDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultEquipmentDetailDTO {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {EquipmentDetailDTO}
|
|
41
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
42
|
+
*/
|
|
43
|
+
'data'?: EquipmentDetailDTO | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
60
|
+
*/
|
|
61
|
+
'requestId'?: string | null;
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -363,14 +363,14 @@ export interface SysUser {
|
|
|
363
363
|
'userNo'?: string;
|
|
364
364
|
/**
|
|
365
365
|
*
|
|
366
|
-
* @type {
|
|
366
|
+
* @type {number}
|
|
367
367
|
* @memberof SysUser
|
|
368
368
|
*/
|
|
369
|
-
'
|
|
369
|
+
'cuserId'?: number;
|
|
370
370
|
/**
|
|
371
371
|
*
|
|
372
|
-
* @type {
|
|
372
|
+
* @type {string}
|
|
373
373
|
* @memberof SysUser
|
|
374
374
|
*/
|
|
375
|
-
'
|
|
375
|
+
'cid'?: string;
|
|
376
376
|
}
|
|
@@ -37,34 +37,34 @@ export interface GetUserWx200Response {
|
|
|
37
37
|
'trailerFields'?: object;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {
|
|
40
|
+
* @type {string}
|
|
41
41
|
* @memberof GetUserWx200Response
|
|
42
42
|
*/
|
|
43
|
-
'
|
|
43
|
+
'contentType'?: string;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof GetUserWx200Response
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'contentLength'?: number;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {GetUserWx200ResponseOutputStream}
|
|
53
53
|
* @memberof GetUserWx200Response
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {GetUserWx200ResponseLocale}
|
|
59
59
|
* @memberof GetUserWx200Response
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -349,6 +349,7 @@ export * from './json-result-energy-meter-details-dto';
|
|
|
349
349
|
export * from './json-result-energy-meter-record-dto';
|
|
350
350
|
export * from './json-result-energy-work-order-detail-dto';
|
|
351
351
|
export * from './json-result-equipment-add-redis-list-dto';
|
|
352
|
+
export * from './json-result-equipment-detail-dto';
|
|
352
353
|
export * from './json-result-equipment-search-system-dto';
|
|
353
354
|
export * from './json-result-esg-park-carbon-emission-statistics-dto';
|
|
354
355
|
export * from './json-result-esg-park-charging-station-statistics-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -365,6 +365,7 @@ __exportStar(require("./json-result-energy-meter-details-dto"), exports);
|
|
|
365
365
|
__exportStar(require("./json-result-energy-meter-record-dto"), exports);
|
|
366
366
|
__exportStar(require("./json-result-energy-work-order-detail-dto"), exports);
|
|
367
367
|
__exportStar(require("./json-result-equipment-add-redis-list-dto"), exports);
|
|
368
|
+
__exportStar(require("./json-result-equipment-detail-dto"), exports);
|
|
368
369
|
__exportStar(require("./json-result-equipment-search-system-dto"), exports);
|
|
369
370
|
__exportStar(require("./json-result-esg-park-carbon-emission-statistics-dto"), exports);
|
|
370
371
|
__exportStar(require("./json-result-esg-park-charging-station-statistics-dto"), exports);
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { BaseErrorResult } from './base-error-result';
|
|
13
|
+
import type { EquipmentDetailDTO } from './equipment-detail-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultEquipmentDetailDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultEquipmentDetailDTO {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {EquipmentDetailDTO}
|
|
41
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
42
|
+
*/
|
|
43
|
+
'data'?: EquipmentDetailDTO | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
60
|
+
*/
|
|
61
|
+
'requestId'?: string | null;
|
|
62
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -363,14 +363,14 @@ export interface SysUser {
|
|
|
363
363
|
'userNo'?: string;
|
|
364
364
|
/**
|
|
365
365
|
*
|
|
366
|
-
* @type {
|
|
366
|
+
* @type {number}
|
|
367
367
|
* @memberof SysUser
|
|
368
368
|
*/
|
|
369
|
-
'
|
|
369
|
+
'cuserId'?: number;
|
|
370
370
|
/**
|
|
371
371
|
*
|
|
372
|
-
* @type {
|
|
372
|
+
* @type {string}
|
|
373
373
|
* @memberof SysUser
|
|
374
374
|
*/
|
|
375
|
-
'
|
|
375
|
+
'cid'?: string;
|
|
376
376
|
}
|
|
@@ -46,34 +46,34 @@ export interface GetUserWx200Response {
|
|
|
46
46
|
'trailerFields'?: object;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {string}
|
|
50
50
|
* @memberof GetUserWx200Response
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'contentType'?: string;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof GetUserWx200Response
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'contentLength'?: number;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {GetUserWx200ResponseOutputStream}
|
|
62
62
|
* @memberof GetUserWx200Response
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {GetUserWx200ResponseLocale}
|
|
68
68
|
* @memberof GetUserWx200Response
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
|
-
* @type {
|
|
73
|
+
* @type {number}
|
|
74
74
|
* @memberof GetUserWx200Response
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'bufferSize'?: number;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -349,6 +349,7 @@ export * from './json-result-energy-meter-details-dto';
|
|
|
349
349
|
export * from './json-result-energy-meter-record-dto';
|
|
350
350
|
export * from './json-result-energy-work-order-detail-dto';
|
|
351
351
|
export * from './json-result-equipment-add-redis-list-dto';
|
|
352
|
+
export * from './json-result-equipment-detail-dto';
|
|
352
353
|
export * from './json-result-equipment-search-system-dto';
|
|
353
354
|
export * from './json-result-esg-park-carbon-emission-statistics-dto';
|
|
354
355
|
export * from './json-result-esg-park-charging-station-statistics-dto';
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { BaseErrorResult } from './base-error-result';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { EquipmentDetailDTO } from './equipment-detail-dto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface JsonResultEquipmentDetailDTO
|
|
27
|
+
*/
|
|
28
|
+
export interface JsonResultEquipmentDetailDTO {
|
|
29
|
+
/**
|
|
30
|
+
* 错误码,0:成功,其他:失败
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
33
|
+
*/
|
|
34
|
+
'code'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* 错误消息
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
39
|
+
*/
|
|
40
|
+
'msg'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* 错误堆栈
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
45
|
+
*/
|
|
46
|
+
'stacks'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {EquipmentDetailDTO}
|
|
50
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
51
|
+
*/
|
|
52
|
+
'data'?: EquipmentDetailDTO | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {BaseErrorResult}
|
|
56
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
57
|
+
*/
|
|
58
|
+
'error'?: BaseErrorResult | null;
|
|
59
|
+
/**
|
|
60
|
+
* 日志追踪ID
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
63
|
+
*/
|
|
64
|
+
'traceId'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* requestId
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof JsonResultEquipmentDetailDTO
|
|
69
|
+
*/
|
|
70
|
+
'requestId'?: string | null;
|
|
71
|
+
}
|
|
72
|
+
|
package/models/sys-user.ts
CHANGED
|
@@ -370,15 +370,15 @@ export interface SysUser {
|
|
|
370
370
|
'userNo'?: string;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
384
384
|
|