@gizone/rrs-client 4.1.2-alpha.181 → 4.1.2-alpha.182
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 -18
- package/api.ts +0 -1
- package/apis/equipment-api.ts +91 -0
- package/apis/open-api-api.ts +0 -312
- package/apis/space-api.ts +118 -4
- package/apis/work-order-api.ts +0 -103
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/apis/equipment-api.d.ts +47 -0
- package/dist/apis/equipment-api.js +70 -0
- package/dist/apis/open-api-api.d.ts +0 -166
- package/dist/apis/open-api-api.js +0 -226
- package/dist/apis/space-api.d.ts +65 -4
- package/dist/apis/space-api.js +81 -0
- package/dist/apis/work-order-api.d.ts +0 -55
- package/dist/apis/work-order-api.js +0 -75
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/apis/equipment-api.d.ts +47 -0
- package/dist/esm/apis/equipment-api.js +70 -0
- package/dist/esm/apis/open-api-api.d.ts +0 -166
- package/dist/esm/apis/open-api-api.js +1 -227
- package/dist/esm/apis/space-api.d.ts +65 -4
- package/dist/esm/apis/space-api.js +81 -0
- package/dist/esm/apis/work-order-api.d.ts +0 -55
- package/dist/esm/apis/work-order-api.js +0 -75
- package/dist/esm/models/equipment-detail-dto.d.ts +3 -23
- package/dist/esm/models/equipment-edit-batch-vo.d.ts +2 -3
- package/dist/esm/models/equipment-edit-vo.d.ts +3 -17
- package/dist/esm/models/equipment-search-system-dto.d.ts +3 -23
- package/dist/esm/models/equipment-search-vo.d.ts +3 -4
- package/dist/esm/models/equipment-tree-details-dto.d.ts +3 -23
- package/dist/esm/models/get-user-wx200-response.d.ts +10 -10
- package/dist/esm/models/index.d.ts +1 -17
- package/dist/esm/models/index.js +1 -17
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +0 -13
- package/dist/esm/models/park-info-dto.d.ts +0 -6
- package/dist/esm/models/result-code.d.ts +0 -1
- package/dist/esm/models/result-code.js +0 -1
- package/dist/esm/models/space-add-excel-dto.d.ts +10 -28
- package/dist/esm/models/space-add-vo.d.ts +9 -22
- package/dist/esm/models/space-detail-dto.d.ts +3 -16
- package/dist/esm/models/space-edit-vo.d.ts +3 -16
- package/dist/{models/space-industry-attribute-enum.d.ts → esm/models/space-industry-attribute.d.ts} +2 -2
- package/dist/esm/models/{space-industry-attribute-enum.js → space-industry-attribute.js} +1 -1
- package/dist/esm/models/space-tree-dto.d.ts +3 -16
- package/dist/esm/models/space.d.ts +3 -3
- package/dist/esm/models/sync-equipment-vo.d.ts +174 -13
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +0 -1
- package/dist/esm/models/system-user-msg-source-type-enum.js +1 -2
- package/dist/esm/models/work-order-ext-data.d.ts +0 -7
- package/dist/esm/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/esm/models/work-order-internal-status-enum.js +1 -3
- package/dist/esm/models/work-order-issue-type-enum.d.ts +0 -10
- package/dist/esm/models/work-order-issue-type-enum.js +1 -11
- package/dist/esm/models/work-order-report-vo.d.ts +1 -8
- package/dist/esm/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-settings-type-enum.js +1 -2
- package/dist/esm/models/work-order-source-enum.d.ts +1 -1
- package/dist/esm/models/work-order-source-enum.js +1 -1
- package/dist/esm/models/work-order-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-type-enum.js +1 -2
- package/dist/models/equipment-detail-dto.d.ts +3 -23
- package/dist/models/equipment-edit-batch-vo.d.ts +2 -3
- package/dist/models/equipment-edit-vo.d.ts +3 -17
- package/dist/models/equipment-search-system-dto.d.ts +3 -23
- package/dist/models/equipment-search-vo.d.ts +3 -4
- package/dist/models/equipment-tree-details-dto.d.ts +3 -23
- package/dist/models/get-user-wx200-response.d.ts +10 -10
- package/dist/models/index.d.ts +1 -17
- package/dist/models/index.js +1 -17
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/models/network-monitor-repair-details-dto.d.ts +0 -13
- package/dist/models/park-info-dto.d.ts +0 -6
- package/dist/models/result-code.d.ts +0 -1
- package/dist/models/result-code.js +0 -1
- package/dist/models/space-add-excel-dto.d.ts +10 -28
- package/dist/models/space-add-vo.d.ts +9 -22
- package/dist/models/space-detail-dto.d.ts +3 -16
- package/dist/models/space-edit-vo.d.ts +3 -16
- package/dist/{esm/models/space-industry-attribute-enum.d.ts → models/space-industry-attribute.d.ts} +2 -2
- package/dist/models/{space-industry-attribute-enum.js → space-industry-attribute.js} +2 -2
- package/dist/models/space-tree-dto.d.ts +3 -16
- package/dist/models/space.d.ts +3 -3
- package/dist/models/sync-equipment-vo.d.ts +174 -13
- package/dist/models/system-user-msg-source-type-enum.d.ts +0 -1
- package/dist/models/system-user-msg-source-type-enum.js +1 -2
- package/dist/models/work-order-ext-data.d.ts +0 -7
- package/dist/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/models/work-order-internal-status-enum.js +1 -3
- package/dist/models/work-order-issue-type-enum.d.ts +0 -10
- package/dist/models/work-order-issue-type-enum.js +1 -11
- package/dist/models/work-order-report-vo.d.ts +1 -8
- package/dist/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/models/work-order-settings-type-enum.js +1 -2
- package/dist/models/work-order-source-enum.d.ts +1 -1
- package/dist/models/work-order-source-enum.js +1 -1
- package/dist/models/work-order-type-enum.d.ts +0 -1
- package/dist/models/work-order-type-enum.js +1 -2
- package/models/equipment-detail-dto.ts +3 -29
- package/models/equipment-edit-batch-vo.ts +2 -7
- package/models/equipment-edit-vo.ts +3 -23
- package/models/equipment-search-system-dto.ts +3 -29
- package/models/equipment-search-vo.ts +3 -8
- package/models/equipment-tree-details-dto.ts +3 -29
- package/models/get-user-wx200-response.ts +10 -10
- package/models/index.ts +1 -17
- package/models/ipage-access-vo.ts +6 -6
- package/models/network-monitor-repair-add-vo.ts +0 -6
- package/models/network-monitor-repair-details-dto.ts +0 -15
- package/models/park-info-dto.ts +0 -6
- package/models/result-code.ts +0 -1
- package/models/space-add-excel-dto.ts +10 -28
- package/models/space-add-vo.ts +9 -24
- package/models/space-detail-dto.ts +3 -18
- package/models/space-edit-vo.ts +3 -18
- package/models/{space-industry-attribute-enum.ts → space-industry-attribute.ts} +2 -2
- package/models/space-tree-dto.ts +3 -18
- package/models/space.ts +3 -3
- package/models/sync-equipment-vo.ts +174 -15
- package/models/system-user-msg-source-type-enum.ts +1 -2
- package/models/work-order-ext-data.ts +0 -9
- package/models/work-order-internal-status-enum.ts +1 -3
- package/models/work-order-issue-type-enum.ts +1 -11
- package/models/work-order-report-vo.ts +1 -10
- package/models/work-order-settings-type-enum.ts +1 -2
- package/models/work-order-source-enum.ts +1 -1
- package/models/work-order-type-enum.ts +1 -2
- package/package.json +1 -1
- package/apis/offline-alert-work-order-controller-api.ts +0 -149
- package/dist/apis/offline-alert-work-order-controller-api.d.ts +0 -87
- package/dist/apis/offline-alert-work-order-controller-api.js +0 -138
- package/dist/esm/apis/offline-alert-work-order-controller-api.d.ts +0 -87
- package/dist/esm/apis/offline-alert-work-order-controller-api.js +0 -131
- package/dist/esm/models/equipment-status-enum.d.ts +0 -25
- package/dist/esm/models/equipment-status-enum.js +0 -26
- package/dist/esm/models/equipment-status.d.ts +0 -30
- package/dist/esm/models/equipment-status.js +0 -14
- package/dist/esm/models/excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +0 -43
- package/dist/esm/models/excel-import-upload-to-redis-vo-space-add-excel-dto.js +0 -14
- package/dist/esm/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +0 -62
- package/dist/esm/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.js +0 -14
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.js +0 -14
- package/dist/esm/models/offline-alert-device-vo.d.ts +0 -30
- package/dist/esm/models/offline-alert-device-vo.js +0 -14
- package/dist/esm/models/offline-alert-submit-vo.d.ts +0 -43
- package/dist/esm/models/offline-alert-submit-vo.js +0 -14
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +0 -91
- package/dist/esm/models/offline-alert-work-order-details-dto.js +0 -14
- package/dist/esm/models/offline-alert-work-order-info.d.ts +0 -72
- package/dist/esm/models/offline-alert-work-order-info.js +0 -21
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +0 -43
- package/dist/esm/models/offline-alert-work-order-vo.js +0 -14
- package/dist/esm/models/source-work-order-dto.d.ts +0 -37
- package/dist/esm/models/source-work-order-dto.js +0 -14
- package/dist/esm/models/space-level-enum.d.ts +0 -23
- package/dist/esm/models/space-level-enum.js +0 -24
- package/dist/esm/models/sync-equipment-status-vo.d.ts +0 -37
- package/dist/esm/models/sync-equipment-status-vo.js +0 -14
- package/dist/esm/models/sync-equipment-vo-equipment.d.ts +0 -90
- package/dist/esm/models/sync-equipment-vo-equipment.js +0 -14
- package/dist/esm/models/third-party-system-enum.d.ts +0 -22
- package/dist/esm/models/third-party-system-enum.js +0 -23
- package/dist/esm/models/work-order-submit-vo.d.ts +0 -25
- package/dist/esm/models/work-order-submit-vo.js +0 -14
- package/dist/models/equipment-status-enum.d.ts +0 -25
- package/dist/models/equipment-status-enum.js +0 -29
- package/dist/models/equipment-status.d.ts +0 -30
- package/dist/models/equipment-status.js +0 -15
- package/dist/models/excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +0 -43
- package/dist/models/excel-import-upload-to-redis-vo-space-add-excel-dto.js +0 -15
- package/dist/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +0 -62
- package/dist/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.js +0 -15
- package/dist/models/json-result-offline-alert-work-order-details-dto.d.ts +0 -62
- package/dist/models/json-result-offline-alert-work-order-details-dto.js +0 -15
- package/dist/models/offline-alert-device-vo.d.ts +0 -30
- package/dist/models/offline-alert-device-vo.js +0 -15
- package/dist/models/offline-alert-submit-vo.d.ts +0 -43
- package/dist/models/offline-alert-submit-vo.js +0 -15
- package/dist/models/offline-alert-work-order-details-dto.d.ts +0 -91
- package/dist/models/offline-alert-work-order-details-dto.js +0 -15
- package/dist/models/offline-alert-work-order-info.d.ts +0 -72
- package/dist/models/offline-alert-work-order-info.js +0 -24
- package/dist/models/offline-alert-work-order-vo.d.ts +0 -43
- package/dist/models/offline-alert-work-order-vo.js +0 -15
- package/dist/models/source-work-order-dto.d.ts +0 -37
- package/dist/models/source-work-order-dto.js +0 -15
- package/dist/models/space-level-enum.d.ts +0 -23
- package/dist/models/space-level-enum.js +0 -27
- package/dist/models/sync-equipment-status-vo.d.ts +0 -37
- package/dist/models/sync-equipment-status-vo.js +0 -15
- package/dist/models/sync-equipment-vo-equipment.d.ts +0 -90
- package/dist/models/sync-equipment-vo-equipment.js +0 -15
- package/dist/models/third-party-system-enum.d.ts +0 -22
- package/dist/models/third-party-system-enum.js +0 -26
- package/dist/models/work-order-submit-vo.d.ts +0 -25
- package/dist/models/work-order-submit-vo.js +0 -15
- package/models/equipment-status-enum.ts +0 -35
- package/models/equipment-status.ts +0 -36
- package/models/excel-import-upload-to-redis-vo-space-add-excel-dto.ts +0 -51
- package/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.ts +0 -72
- package/models/json-result-offline-alert-work-order-details-dto.ts +0 -72
- package/models/offline-alert-device-vo.ts +0 -36
- package/models/offline-alert-submit-vo.ts +0 -53
- package/models/offline-alert-work-order-details-dto.ts +0 -113
- package/models/offline-alert-work-order-info.ts +0 -86
- package/models/offline-alert-work-order-vo.ts +0 -53
- package/models/source-work-order-dto.ts +0 -47
- package/models/space-level-enum.ts +0 -33
- package/models/sync-equipment-status-vo.ts +0 -45
- package/models/sync-equipment-vo-equipment.ts +0 -96
- package/models/third-party-system-enum.ts +0 -32
- package/models/work-order-submit-vo.ts +0 -33
package/dist/apis/space-api.js
CHANGED
|
@@ -304,6 +304,48 @@ const SpaceApiAxiosParamCreator = function (configuration) {
|
|
|
304
304
|
options: localVarRequestOptions,
|
|
305
305
|
};
|
|
306
306
|
}),
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @summary /导出修改Excel模板
|
|
310
|
+
* @param {number} parkId 园区id
|
|
311
|
+
* @param {Array<number>} [spaceIds] 空间id集合
|
|
312
|
+
* @param {string} [language]
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
spaceEditExportTemplate: (parkId_1, spaceIds_1, language_1, ...args_1) => __awaiter(this, [parkId_1, spaceIds_1, language_1, ...args_1], void 0, function* (parkId, spaceIds, language, options = {}) {
|
|
317
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
318
|
+
(0, common_1.assertParamExists)('spaceEditExportTemplate', 'parkId', parkId);
|
|
319
|
+
const localVarPath = `/gizone/space/uploadEdit`;
|
|
320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
322
|
+
let baseOptions;
|
|
323
|
+
if (configuration) {
|
|
324
|
+
baseOptions = configuration.baseOptions;
|
|
325
|
+
}
|
|
326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
327
|
+
const localVarHeaderParameter = {};
|
|
328
|
+
const localVarQueryParameter = {};
|
|
329
|
+
// authentication tokenScheme required
|
|
330
|
+
// http bearer authentication required
|
|
331
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
332
|
+
if (parkId !== undefined) {
|
|
333
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
334
|
+
}
|
|
335
|
+
if (spaceIds) {
|
|
336
|
+
localVarQueryParameter['spaceIds'] = spaceIds;
|
|
337
|
+
}
|
|
338
|
+
if (language !== undefined) {
|
|
339
|
+
localVarQueryParameter['language'] = language;
|
|
340
|
+
}
|
|
341
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
342
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
343
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
344
|
+
return {
|
|
345
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
346
|
+
options: localVarRequestOptions,
|
|
347
|
+
};
|
|
348
|
+
}),
|
|
307
349
|
/**
|
|
308
350
|
*
|
|
309
351
|
* @summary 编辑平面图
|
|
@@ -842,6 +884,24 @@ const SpaceApiFp = function (configuration) {
|
|
|
842
884
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
843
885
|
});
|
|
844
886
|
},
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @summary /导出修改Excel模板
|
|
890
|
+
* @param {number} parkId 园区id
|
|
891
|
+
* @param {Array<number>} [spaceIds] 空间id集合
|
|
892
|
+
* @param {string} [language]
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
spaceEditExportTemplate(parkId, spaceIds, language, options) {
|
|
897
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
898
|
+
var _a, _b, _c;
|
|
899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.spaceEditExportTemplate(parkId, spaceIds, language, options);
|
|
900
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
901
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SpaceApi.spaceEditExportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
902
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
903
|
+
});
|
|
904
|
+
},
|
|
845
905
|
/**
|
|
846
906
|
*
|
|
847
907
|
* @summary 编辑平面图
|
|
@@ -1124,6 +1184,16 @@ const SpaceApiFactory = function (configuration, basePath, axios) {
|
|
|
1124
1184
|
spaceEdit(requestParameters, options) {
|
|
1125
1185
|
return localVarFp.spaceEdit(requestParameters.spaceEditVO, options).then((request) => request(axios, basePath));
|
|
1126
1186
|
},
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @summary /导出修改Excel模板
|
|
1190
|
+
* @param {SpaceApiSpaceEditExportTemplateRequest} requestParameters Request parameters.
|
|
1191
|
+
* @param {*} [options] Override http request option.
|
|
1192
|
+
* @throws {RequiredError}
|
|
1193
|
+
*/
|
|
1194
|
+
spaceEditExportTemplate(requestParameters, options) {
|
|
1195
|
+
return localVarFp.spaceEditExportTemplate(requestParameters.parkId, requestParameters.spaceIds, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
1196
|
+
},
|
|
1127
1197
|
/**
|
|
1128
1198
|
*
|
|
1129
1199
|
* @summary 编辑平面图
|
|
@@ -1341,6 +1411,17 @@ class SpaceApi extends base_1.BaseAPI {
|
|
|
1341
1411
|
spaceEdit(requestParameters, options) {
|
|
1342
1412
|
return (0, exports.SpaceApiFp)(this.configuration).spaceEdit(requestParameters.spaceEditVO, options).then((request) => request(this.axios, this.basePath));
|
|
1343
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @summary /导出修改Excel模板
|
|
1417
|
+
* @param {SpaceApiSpaceEditExportTemplateRequest} requestParameters Request parameters.
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @throws {RequiredError}
|
|
1420
|
+
* @memberof SpaceApi
|
|
1421
|
+
*/
|
|
1422
|
+
spaceEditExportTemplate(requestParameters, options) {
|
|
1423
|
+
return (0, exports.SpaceApiFp)(this.configuration).spaceEditExportTemplate(requestParameters.parkId, requestParameters.spaceIds, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1424
|
+
}
|
|
1344
1425
|
/**
|
|
1345
1426
|
*
|
|
1346
1427
|
* @summary 编辑平面图
|
|
@@ -58,7 +58,6 @@ import type { WorkOrderSpotCheckVo } from '../models';
|
|
|
58
58
|
import type { WorkOrderStagingDataVo } from '../models';
|
|
59
59
|
import type { WorkOrderStatusEnum } from '../models';
|
|
60
60
|
import type { WorkOrderStatusVo } from '../models';
|
|
61
|
-
import type { WorkOrderSubmitVo } from '../models';
|
|
62
61
|
import type { WorkOrderTypeEnum } from '../models';
|
|
63
62
|
import type { WorkOrderTypeSubcategoryEnum } from '../models';
|
|
64
63
|
/**
|
|
@@ -516,15 +515,6 @@ export declare const WorkOrderApiAxiosParamCreator: (configuration?: Configurati
|
|
|
516
515
|
* @throws {RequiredError}
|
|
517
516
|
*/
|
|
518
517
|
workOrderStagingData: (workOrderId: number, workOrderStagingDataVo: WorkOrderStagingDataVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
519
|
-
/**
|
|
520
|
-
*
|
|
521
|
-
* @summary 工单提交
|
|
522
|
-
* @param {number} workOrderId
|
|
523
|
-
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
524
|
-
* @param {*} [options] Override http request option.
|
|
525
|
-
* @throws {RequiredError}
|
|
526
|
-
*/
|
|
527
|
-
workOrderSubmit: (workOrderId: number, workOrderSubmitVo: WorkOrderSubmitVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
528
518
|
/**
|
|
529
519
|
*
|
|
530
520
|
* @summary 新建违规工单
|
|
@@ -997,15 +987,6 @@ export declare const WorkOrderApiFp: (configuration?: Configuration) => {
|
|
|
997
987
|
* @throws {RequiredError}
|
|
998
988
|
*/
|
|
999
989
|
workOrderStagingData(workOrderId: number, workOrderStagingDataVo: WorkOrderStagingDataVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
1000
|
-
/**
|
|
1001
|
-
*
|
|
1002
|
-
* @summary 工单提交
|
|
1003
|
-
* @param {number} workOrderId
|
|
1004
|
-
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
1005
|
-
* @param {*} [options] Override http request option.
|
|
1006
|
-
* @throws {RequiredError}
|
|
1007
|
-
*/
|
|
1008
|
-
workOrderSubmit(workOrderId: number, workOrderSubmitVo: WorkOrderSubmitVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
1009
990
|
/**
|
|
1010
991
|
*
|
|
1011
992
|
* @summary 新建违规工单
|
|
@@ -1419,14 +1400,6 @@ export declare const WorkOrderApiFactory: (configuration?: Configuration, basePa
|
|
|
1419
1400
|
* @throws {RequiredError}
|
|
1420
1401
|
*/
|
|
1421
1402
|
workOrderStagingData(requestParameters: WorkOrderApiWorkOrderStagingDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
1422
|
-
/**
|
|
1423
|
-
*
|
|
1424
|
-
* @summary 工单提交
|
|
1425
|
-
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
1426
|
-
* @param {*} [options] Override http request option.
|
|
1427
|
-
* @throws {RequiredError}
|
|
1428
|
-
*/
|
|
1429
|
-
workOrderSubmit(requestParameters: WorkOrderApiWorkOrderSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
1430
1403
|
/**
|
|
1431
1404
|
*
|
|
1432
1405
|
* @summary 新建违规工单
|
|
@@ -2422,25 +2395,6 @@ export interface WorkOrderApiWorkOrderStagingDataRequest {
|
|
|
2422
2395
|
*/
|
|
2423
2396
|
readonly workOrderStagingDataVo: WorkOrderStagingDataVo;
|
|
2424
2397
|
}
|
|
2425
|
-
/**
|
|
2426
|
-
* Request parameters for workOrderSubmit operation in WorkOrderApi.
|
|
2427
|
-
* @export
|
|
2428
|
-
* @interface WorkOrderApiWorkOrderSubmitRequest
|
|
2429
|
-
*/
|
|
2430
|
-
export interface WorkOrderApiWorkOrderSubmitRequest {
|
|
2431
|
-
/**
|
|
2432
|
-
*
|
|
2433
|
-
* @type {number}
|
|
2434
|
-
* @memberof WorkOrderApiWorkOrderSubmit
|
|
2435
|
-
*/
|
|
2436
|
-
readonly workOrderId: number;
|
|
2437
|
-
/**
|
|
2438
|
-
*
|
|
2439
|
-
* @type {WorkOrderSubmitVo}
|
|
2440
|
-
* @memberof WorkOrderApiWorkOrderSubmit
|
|
2441
|
-
*/
|
|
2442
|
-
readonly workOrderSubmitVo: WorkOrderSubmitVo;
|
|
2443
|
-
}
|
|
2444
2398
|
/**
|
|
2445
2399
|
* Request parameters for workOrderViolationAdd operation in WorkOrderApi.
|
|
2446
2400
|
* @export
|
|
@@ -2914,15 +2868,6 @@ export declare class WorkOrderApi extends BaseAPI {
|
|
|
2914
2868
|
* @memberof WorkOrderApi
|
|
2915
2869
|
*/
|
|
2916
2870
|
workOrderStagingData(requestParameters: WorkOrderApiWorkOrderStagingDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
2917
|
-
/**
|
|
2918
|
-
*
|
|
2919
|
-
* @summary 工单提交
|
|
2920
|
-
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
2921
|
-
* @param {*} [options] Override http request option.
|
|
2922
|
-
* @throws {RequiredError}
|
|
2923
|
-
* @memberof WorkOrderApi
|
|
2924
|
-
*/
|
|
2925
|
-
workOrderSubmit(requestParameters: WorkOrderApiWorkOrderSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
2926
2871
|
/**
|
|
2927
2872
|
*
|
|
2928
2873
|
* @summary 新建违规工单
|
|
@@ -1890,43 +1890,6 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1890
1890
|
options: localVarRequestOptions,
|
|
1891
1891
|
};
|
|
1892
1892
|
}),
|
|
1893
|
-
/**
|
|
1894
|
-
*
|
|
1895
|
-
* @summary 工单提交
|
|
1896
|
-
* @param {number} workOrderId
|
|
1897
|
-
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
1898
|
-
* @param {*} [options] Override http request option.
|
|
1899
|
-
* @throws {RequiredError}
|
|
1900
|
-
*/
|
|
1901
|
-
workOrderSubmit: (workOrderId_1, workOrderSubmitVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderSubmitVo_1, ...args_1], void 0, function* (workOrderId, workOrderSubmitVo, options = {}) {
|
|
1902
|
-
// verify required parameter 'workOrderId' is not null or undefined
|
|
1903
|
-
(0, common_1.assertParamExists)('workOrderSubmit', 'workOrderId', workOrderId);
|
|
1904
|
-
// verify required parameter 'workOrderSubmitVo' is not null or undefined
|
|
1905
|
-
(0, common_1.assertParamExists)('workOrderSubmit', 'workOrderSubmitVo', workOrderSubmitVo);
|
|
1906
|
-
const localVarPath = `/gizone/workOrder/submit/{workOrderId}`
|
|
1907
|
-
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1908
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1909
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1910
|
-
let baseOptions;
|
|
1911
|
-
if (configuration) {
|
|
1912
|
-
baseOptions = configuration.baseOptions;
|
|
1913
|
-
}
|
|
1914
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1915
|
-
const localVarHeaderParameter = {};
|
|
1916
|
-
const localVarQueryParameter = {};
|
|
1917
|
-
// authentication tokenScheme required
|
|
1918
|
-
// http bearer authentication required
|
|
1919
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1920
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1921
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1922
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1924
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workOrderSubmitVo, localVarRequestOptions, configuration);
|
|
1925
|
-
return {
|
|
1926
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1927
|
-
options: localVarRequestOptions,
|
|
1928
|
-
};
|
|
1929
|
-
}),
|
|
1930
1893
|
/**
|
|
1931
1894
|
*
|
|
1932
1895
|
* @summary 新建违规工单
|
|
@@ -2844,23 +2807,6 @@ const WorkOrderApiFp = function (configuration) {
|
|
|
2844
2807
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2845
2808
|
});
|
|
2846
2809
|
},
|
|
2847
|
-
/**
|
|
2848
|
-
*
|
|
2849
|
-
* @summary 工单提交
|
|
2850
|
-
* @param {number} workOrderId
|
|
2851
|
-
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
2852
|
-
* @param {*} [options] Override http request option.
|
|
2853
|
-
* @throws {RequiredError}
|
|
2854
|
-
*/
|
|
2855
|
-
workOrderSubmit(workOrderId, workOrderSubmitVo, options) {
|
|
2856
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2857
|
-
var _a, _b, _c;
|
|
2858
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderSubmit(workOrderId, workOrderSubmitVo, options);
|
|
2859
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2860
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkOrderApi.workOrderSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2861
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2862
|
-
});
|
|
2863
|
-
},
|
|
2864
2810
|
/**
|
|
2865
2811
|
*
|
|
2866
2812
|
* @summary 新建违规工单
|
|
@@ -3392,16 +3338,6 @@ const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3392
3338
|
workOrderStagingData(requestParameters, options) {
|
|
3393
3339
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
3394
3340
|
},
|
|
3395
|
-
/**
|
|
3396
|
-
*
|
|
3397
|
-
* @summary 工单提交
|
|
3398
|
-
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3399
|
-
* @param {*} [options] Override http request option.
|
|
3400
|
-
* @throws {RequiredError}
|
|
3401
|
-
*/
|
|
3402
|
-
workOrderSubmit(requestParameters, options) {
|
|
3403
|
-
return localVarFp.workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(axios, basePath));
|
|
3404
|
-
},
|
|
3405
3341
|
/**
|
|
3406
3342
|
*
|
|
3407
3343
|
* @summary 新建违规工单
|
|
@@ -3970,17 +3906,6 @@ class WorkOrderApi extends base_1.BaseAPI {
|
|
|
3970
3906
|
workOrderStagingData(requestParameters, options) {
|
|
3971
3907
|
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
3972
3908
|
}
|
|
3973
|
-
/**
|
|
3974
|
-
*
|
|
3975
|
-
* @summary 工单提交
|
|
3976
|
-
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3977
|
-
* @param {*} [options] Override http request option.
|
|
3978
|
-
* @throws {RequiredError}
|
|
3979
|
-
* @memberof WorkOrderApi
|
|
3980
|
-
*/
|
|
3981
|
-
workOrderSubmit(requestParameters, options) {
|
|
3982
|
-
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(this.axios, this.basePath));
|
|
3983
|
-
}
|
|
3984
3909
|
/**
|
|
3985
3910
|
*
|
|
3986
3911
|
* @summary 新建违规工单
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -44,7 +44,6 @@ export * from './apis/monitor-controller-api';
|
|
|
44
44
|
export * from './apis/monitor-sort-controller-api';
|
|
45
45
|
export * from './apis/news-api';
|
|
46
46
|
export * from './apis/notification-api';
|
|
47
|
-
export * from './apis/offline-alert-work-order-controller-api';
|
|
48
47
|
export * from './apis/open-api-api';
|
|
49
48
|
export * from './apis/park-api';
|
|
50
49
|
export * from './apis/privacy-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -46,7 +46,6 @@ export * from './apis/monitor-controller-api';
|
|
|
46
46
|
export * from './apis/monitor-sort-controller-api';
|
|
47
47
|
export * from './apis/news-api';
|
|
48
48
|
export * from './apis/notification-api';
|
|
49
|
-
export * from './apis/offline-alert-work-order-controller-api';
|
|
50
49
|
export * from './apis/open-api-api';
|
|
51
50
|
export * from './apis/park-api';
|
|
52
51
|
export * from './apis/privacy-api';
|
|
@@ -33,6 +33,7 @@ import type { JsonResultListEquipmentTreeDTO } from '../models';
|
|
|
33
33
|
import type { JsonResultListMaintenanceStandardEntity } from '../models';
|
|
34
34
|
import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
35
35
|
import type { ModelInteger } from '../models';
|
|
36
|
+
import type { SyncEquipmentVO } from '../models';
|
|
36
37
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
37
38
|
/**
|
|
38
39
|
* EquipmentApi - axios parameter creator
|
|
@@ -244,6 +245,14 @@ export declare const EquipmentApiAxiosParamCreator: (configuration?: Configurati
|
|
|
244
245
|
* @throws {RequiredError}
|
|
245
246
|
*/
|
|
246
247
|
selectEquipmentInSpace: (searchVo: EquipmentSpaceSearchVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @summary 同步iot设备接口
|
|
251
|
+
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
syncEquipment: (syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
247
256
|
/**
|
|
248
257
|
*
|
|
249
258
|
* @summary 设备系统分类管理列表
|
|
@@ -478,6 +487,14 @@ export declare const EquipmentApiFp: (configuration?: Configuration) => {
|
|
|
478
487
|
* @throws {RequiredError}
|
|
479
488
|
*/
|
|
480
489
|
selectEquipmentInSpace(searchVo: EquipmentSpaceSearchVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEquipmentDetailDTO>>;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @summary 同步iot设备接口
|
|
493
|
+
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
syncEquipment(syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
481
498
|
/**
|
|
482
499
|
*
|
|
483
500
|
* @summary 设备系统分类管理列表
|
|
@@ -688,6 +705,14 @@ export declare const EquipmentApiFactory: (configuration?: Configuration, basePa
|
|
|
688
705
|
* @throws {RequiredError}
|
|
689
706
|
*/
|
|
690
707
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEquipmentDetailDTO>;
|
|
708
|
+
/**
|
|
709
|
+
*
|
|
710
|
+
* @summary 同步iot设备接口
|
|
711
|
+
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
*/
|
|
715
|
+
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
691
716
|
/**
|
|
692
717
|
*
|
|
693
718
|
* @summary 设备系统分类管理列表
|
|
@@ -1116,6 +1141,19 @@ export interface EquipmentApiSelectEquipmentInSpaceRequest {
|
|
|
1116
1141
|
*/
|
|
1117
1142
|
readonly searchVo: EquipmentSpaceSearchVo;
|
|
1118
1143
|
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Request parameters for syncEquipment operation in EquipmentApi.
|
|
1146
|
+
* @export
|
|
1147
|
+
* @interface EquipmentApiSyncEquipmentRequest
|
|
1148
|
+
*/
|
|
1149
|
+
export interface EquipmentApiSyncEquipmentRequest {
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @type {SyncEquipmentVO}
|
|
1153
|
+
* @memberof EquipmentApiSyncEquipment
|
|
1154
|
+
*/
|
|
1155
|
+
readonly syncEquipmentVO: SyncEquipmentVO;
|
|
1156
|
+
}
|
|
1119
1157
|
/**
|
|
1120
1158
|
* Request parameters for uploadAdd operation in EquipmentApi.
|
|
1121
1159
|
* @export
|
|
@@ -1353,6 +1391,15 @@ export declare class EquipmentApi extends BaseAPI {
|
|
|
1353
1391
|
* @memberof EquipmentApi
|
|
1354
1392
|
*/
|
|
1355
1393
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListEquipmentDetailDTO, any>>;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @summary 同步iot设备接口
|
|
1397
|
+
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
* @memberof EquipmentApi
|
|
1401
|
+
*/
|
|
1402
|
+
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
1356
1403
|
/**
|
|
1357
1404
|
*
|
|
1358
1405
|
* @summary 设备系统分类管理列表
|
|
@@ -895,6 +895,39 @@ export const EquipmentApiAxiosParamCreator = function (configuration) {
|
|
|
895
895
|
options: localVarRequestOptions,
|
|
896
896
|
};
|
|
897
897
|
}),
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @summary 同步iot设备接口
|
|
901
|
+
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
*/
|
|
905
|
+
syncEquipment: (syncEquipmentVO_1, ...args_1) => __awaiter(this, [syncEquipmentVO_1, ...args_1], void 0, function* (syncEquipmentVO, options = {}) {
|
|
906
|
+
// verify required parameter 'syncEquipmentVO' is not null or undefined
|
|
907
|
+
assertParamExists('syncEquipment', 'syncEquipmentVO', syncEquipmentVO);
|
|
908
|
+
const localVarPath = `/gizone/equipment/sync/equipment`;
|
|
909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
911
|
+
let baseOptions;
|
|
912
|
+
if (configuration) {
|
|
913
|
+
baseOptions = configuration.baseOptions;
|
|
914
|
+
}
|
|
915
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
916
|
+
const localVarHeaderParameter = {};
|
|
917
|
+
const localVarQueryParameter = {};
|
|
918
|
+
// authentication tokenScheme required
|
|
919
|
+
// http bearer authentication required
|
|
920
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
921
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
922
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
923
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
924
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
925
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentVO, localVarRequestOptions, configuration);
|
|
926
|
+
return {
|
|
927
|
+
url: toPathString(localVarUrlObj),
|
|
928
|
+
options: localVarRequestOptions,
|
|
929
|
+
};
|
|
930
|
+
}),
|
|
898
931
|
/**
|
|
899
932
|
*
|
|
900
933
|
* @summary 设备系统分类管理列表
|
|
@@ -1385,6 +1418,22 @@ export const EquipmentApiFp = function (configuration) {
|
|
|
1385
1418
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1386
1419
|
});
|
|
1387
1420
|
},
|
|
1421
|
+
/**
|
|
1422
|
+
*
|
|
1423
|
+
* @summary 同步iot设备接口
|
|
1424
|
+
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
1425
|
+
* @param {*} [options] Override http request option.
|
|
1426
|
+
* @throws {RequiredError}
|
|
1427
|
+
*/
|
|
1428
|
+
syncEquipment(syncEquipmentVO, options) {
|
|
1429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1430
|
+
var _a, _b, _c;
|
|
1431
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncEquipment(syncEquipmentVO, options);
|
|
1432
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1433
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EquipmentApi.syncEquipment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1434
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1435
|
+
});
|
|
1436
|
+
},
|
|
1388
1437
|
/**
|
|
1389
1438
|
*
|
|
1390
1439
|
* @summary 设备系统分类管理列表
|
|
@@ -1668,6 +1717,16 @@ export const EquipmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1668
1717
|
selectEquipmentInSpace(requestParameters, options) {
|
|
1669
1718
|
return localVarFp.selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(axios, basePath));
|
|
1670
1719
|
},
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @summary 同步iot设备接口
|
|
1723
|
+
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1724
|
+
* @param {*} [options] Override http request option.
|
|
1725
|
+
* @throws {RequiredError}
|
|
1726
|
+
*/
|
|
1727
|
+
syncEquipment(requestParameters, options) {
|
|
1728
|
+
return localVarFp.syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(axios, basePath));
|
|
1729
|
+
},
|
|
1671
1730
|
/**
|
|
1672
1731
|
*
|
|
1673
1732
|
* @summary 设备系统分类管理列表
|
|
@@ -1956,6 +2015,17 @@ export class EquipmentApi extends BaseAPI {
|
|
|
1956
2015
|
selectEquipmentInSpace(requestParameters, options) {
|
|
1957
2016
|
return EquipmentApiFp(this.configuration).selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(this.axios, this.basePath));
|
|
1958
2017
|
}
|
|
2018
|
+
/**
|
|
2019
|
+
*
|
|
2020
|
+
* @summary 同步iot设备接口
|
|
2021
|
+
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
2022
|
+
* @param {*} [options] Override http request option.
|
|
2023
|
+
* @throws {RequiredError}
|
|
2024
|
+
* @memberof EquipmentApi
|
|
2025
|
+
*/
|
|
2026
|
+
syncEquipment(requestParameters, options) {
|
|
2027
|
+
return EquipmentApiFp(this.configuration).syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(this.axios, this.basePath));
|
|
2028
|
+
}
|
|
1959
2029
|
/**
|
|
1960
2030
|
*
|
|
1961
2031
|
* @summary 设备系统分类管理列表
|