@gizone/rrs-client 4.2.0-alpha.357 → 4.2.0-alpha.359
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 +4 -0
- package/apis/setting-api.ts +310 -0
- package/apis/work-order-api.ts +310 -0
- package/dist/apis/setting-api.d.ts +166 -0
- package/dist/apis/setting-api.js +225 -0
- package/dist/apis/work-order-api.d.ts +166 -0
- package/dist/apis/work-order-api.js +225 -0
- package/dist/esm/apis/setting-api.d.ts +166 -0
- package/dist/esm/apis/setting-api.js +225 -0
- package/dist/esm/apis/work-order-api.d.ts +166 -0
- package/dist/esm/apis/work-order-api.js +225 -0
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/inspection-standard-dto.d.ts +1 -1
- package/dist/esm/models/inspection-standard-entity.d.ts +1 -1
- package/dist/esm/models/json-result-list-work-order-execution-time-settings-entity.d.ts +62 -0
- package/dist/esm/models/json-result-list-work-order-execution-time-settings-entity.js +14 -0
- package/dist/esm/models/json-result-work-order-execution-time-settings-entity.d.ts +62 -0
- package/dist/esm/models/json-result-work-order-execution-time-settings-entity.js +14 -0
- package/dist/esm/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/esm/models/work-order-execution-time-settings-add-or-update-vo.d.ts +38 -0
- package/dist/esm/models/work-order-execution-time-settings-add-or-update-vo.js +14 -0
- package/dist/esm/models/work-order-execution-time-settings-entity.d.ts +62 -0
- package/dist/esm/models/work-order-execution-time-settings-entity.js +14 -0
- package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-issue-type-enum.js +2 -1
- package/dist/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/inspection-standard-dto.d.ts +1 -1
- package/dist/models/inspection-standard-entity.d.ts +1 -1
- package/dist/models/json-result-list-work-order-execution-time-settings-entity.d.ts +62 -0
- package/dist/models/json-result-list-work-order-execution-time-settings-entity.js +15 -0
- package/dist/models/json-result-work-order-execution-time-settings-entity.d.ts +62 -0
- package/dist/models/json-result-work-order-execution-time-settings-entity.js +15 -0
- package/dist/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/models/work-order-execution-time-settings-add-or-update-vo.d.ts +38 -0
- package/dist/models/work-order-execution-time-settings-add-or-update-vo.js +15 -0
- package/dist/models/work-order-execution-time-settings-entity.d.ts +62 -0
- package/dist/models/work-order-execution-time-settings-entity.js +15 -0
- package/dist/models/work-order-issue-type-enum.d.ts +1 -0
- package/dist/models/work-order-issue-type-enum.js +2 -1
- package/models/disaster-warning-standard-add-or-update-vo.ts +1 -1
- package/models/disaster-warning-standard-entity.ts +1 -1
- package/models/index.ts +4 -0
- package/models/inspection-standard-add-or-update-vo.ts +1 -1
- package/models/inspection-standard-dto.ts +1 -1
- package/models/inspection-standard-entity.ts +1 -1
- package/models/json-result-list-work-order-execution-time-settings-entity.ts +72 -0
- package/models/json-result-work-order-execution-time-settings-entity.ts +72 -0
- package/models/maintenance-standard-add-or-update-vo.ts +1 -1
- package/models/maintenance-standard-dto.ts +1 -1
- package/models/maintenance-standard-entity.ts +1 -1
- package/models/work-order-execution-time-settings-add-or-update-vo.ts +50 -0
- package/models/work-order-execution-time-settings-entity.ts +74 -0
- package/models/work-order-issue-type-enum.ts +2 -1
- package/package.json +1 -1
|
@@ -1335,6 +1335,117 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1335
1335
|
options: localVarRequestOptions,
|
|
1336
1336
|
};
|
|
1337
1337
|
}),
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1341
|
+
* @param {number} parkId
|
|
1342
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
1343
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
1344
|
+
* @param {*} [options] Override http request option.
|
|
1345
|
+
* @throws {RequiredError}
|
|
1346
|
+
*/
|
|
1347
|
+
workOrderExecutionTimeSelectByWorkOrderIssueType: (parkId_1, workOrderType_1, workOrderIssueType_1, ...args_1) => __awaiter(this, [parkId_1, workOrderType_1, workOrderIssueType_1, ...args_1], void 0, function* (parkId, workOrderType, workOrderIssueType, options = {}) {
|
|
1348
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
1349
|
+
assertParamExists('workOrderExecutionTimeSelectByWorkOrderIssueType', 'parkId', parkId);
|
|
1350
|
+
// verify required parameter 'workOrderType' is not null or undefined
|
|
1351
|
+
assertParamExists('workOrderExecutionTimeSelectByWorkOrderIssueType', 'workOrderType', workOrderType);
|
|
1352
|
+
// verify required parameter 'workOrderIssueType' is not null or undefined
|
|
1353
|
+
assertParamExists('workOrderExecutionTimeSelectByWorkOrderIssueType', 'workOrderIssueType', workOrderIssueType);
|
|
1354
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}/{workOrderType}/{workOrderIssueType}`
|
|
1355
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)))
|
|
1356
|
+
.replace(`{${"workOrderType"}}`, encodeURIComponent(String(workOrderType)))
|
|
1357
|
+
.replace(`{${"workOrderIssueType"}}`, encodeURIComponent(String(workOrderIssueType)));
|
|
1358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1359
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1360
|
+
let baseOptions;
|
|
1361
|
+
if (configuration) {
|
|
1362
|
+
baseOptions = configuration.baseOptions;
|
|
1363
|
+
}
|
|
1364
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1365
|
+
const localVarHeaderParameter = {};
|
|
1366
|
+
const localVarQueryParameter = {};
|
|
1367
|
+
// authentication tokenScheme required
|
|
1368
|
+
// http bearer authentication required
|
|
1369
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1370
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1371
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1372
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1373
|
+
return {
|
|
1374
|
+
url: toPathString(localVarUrlObj),
|
|
1375
|
+
options: localVarRequestOptions,
|
|
1376
|
+
};
|
|
1377
|
+
}),
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @summary 新增或修改工单执行时效设置
|
|
1381
|
+
* @param {number} parkId
|
|
1382
|
+
* @param {Array<WorkOrderExecutionTimeSettingsAddOrUpdateVo>} workOrderExecutionTimeSettingsAddOrUpdateVo
|
|
1383
|
+
* @param {*} [options] Override http request option.
|
|
1384
|
+
* @throws {RequiredError}
|
|
1385
|
+
*/
|
|
1386
|
+
workOrderExecutionTimeSettingsAddOrUpdate: (parkId_1, workOrderExecutionTimeSettingsAddOrUpdateVo_1, ...args_1) => __awaiter(this, [parkId_1, workOrderExecutionTimeSettingsAddOrUpdateVo_1, ...args_1], void 0, function* (parkId, workOrderExecutionTimeSettingsAddOrUpdateVo, options = {}) {
|
|
1387
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
1388
|
+
assertParamExists('workOrderExecutionTimeSettingsAddOrUpdate', 'parkId', parkId);
|
|
1389
|
+
// verify required parameter 'workOrderExecutionTimeSettingsAddOrUpdateVo' is not null or undefined
|
|
1390
|
+
assertParamExists('workOrderExecutionTimeSettingsAddOrUpdate', 'workOrderExecutionTimeSettingsAddOrUpdateVo', workOrderExecutionTimeSettingsAddOrUpdateVo);
|
|
1391
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
1392
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
1393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1394
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1395
|
+
let baseOptions;
|
|
1396
|
+
if (configuration) {
|
|
1397
|
+
baseOptions = configuration.baseOptions;
|
|
1398
|
+
}
|
|
1399
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1400
|
+
const localVarHeaderParameter = {};
|
|
1401
|
+
const localVarQueryParameter = {};
|
|
1402
|
+
// authentication tokenScheme required
|
|
1403
|
+
// http bearer authentication required
|
|
1404
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1405
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1406
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1407
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1408
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1409
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderExecutionTimeSettingsAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
1410
|
+
return {
|
|
1411
|
+
url: toPathString(localVarUrlObj),
|
|
1412
|
+
options: localVarRequestOptions,
|
|
1413
|
+
};
|
|
1414
|
+
}),
|
|
1415
|
+
/**
|
|
1416
|
+
*
|
|
1417
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1418
|
+
* @param {number} parkId
|
|
1419
|
+
* @param {*} [options] Override http request option.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
*/
|
|
1422
|
+
workOrderExecutionTimeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
1423
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
1424
|
+
assertParamExists('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId);
|
|
1425
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
|
|
1426
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1427
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1428
|
+
let baseOptions;
|
|
1429
|
+
if (configuration) {
|
|
1430
|
+
baseOptions = configuration.baseOptions;
|
|
1431
|
+
}
|
|
1432
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1433
|
+
const localVarHeaderParameter = {};
|
|
1434
|
+
const localVarQueryParameter = {};
|
|
1435
|
+
// authentication tokenScheme required
|
|
1436
|
+
// http bearer authentication required
|
|
1437
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1438
|
+
if (parkId !== undefined) {
|
|
1439
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
1440
|
+
}
|
|
1441
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1442
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1443
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1444
|
+
return {
|
|
1445
|
+
url: toPathString(localVarUrlObj),
|
|
1446
|
+
options: localVarRequestOptions,
|
|
1447
|
+
};
|
|
1448
|
+
}),
|
|
1338
1449
|
/**
|
|
1339
1450
|
*
|
|
1340
1451
|
* @summary 工单冻结
|
|
@@ -2627,6 +2738,57 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2627
2738
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2628
2739
|
});
|
|
2629
2740
|
},
|
|
2741
|
+
/**
|
|
2742
|
+
*
|
|
2743
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
2744
|
+
* @param {number} parkId
|
|
2745
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
2746
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
2747
|
+
* @param {*} [options] Override http request option.
|
|
2748
|
+
* @throws {RequiredError}
|
|
2749
|
+
*/
|
|
2750
|
+
workOrderExecutionTimeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options) {
|
|
2751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2752
|
+
var _a, _b, _c;
|
|
2753
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderExecutionTimeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options);
|
|
2754
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2755
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderExecutionTimeSelectByWorkOrderIssueType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2756
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2757
|
+
});
|
|
2758
|
+
},
|
|
2759
|
+
/**
|
|
2760
|
+
*
|
|
2761
|
+
* @summary 新增或修改工单执行时效设置
|
|
2762
|
+
* @param {number} parkId
|
|
2763
|
+
* @param {Array<WorkOrderExecutionTimeSettingsAddOrUpdateVo>} workOrderExecutionTimeSettingsAddOrUpdateVo
|
|
2764
|
+
* @param {*} [options] Override http request option.
|
|
2765
|
+
* @throws {RequiredError}
|
|
2766
|
+
*/
|
|
2767
|
+
workOrderExecutionTimeSettingsAddOrUpdate(parkId, workOrderExecutionTimeSettingsAddOrUpdateVo, options) {
|
|
2768
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2769
|
+
var _a, _b, _c;
|
|
2770
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderExecutionTimeSettingsAddOrUpdate(parkId, workOrderExecutionTimeSettingsAddOrUpdateVo, options);
|
|
2771
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2772
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderExecutionTimeSettingsAddOrUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2773
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2774
|
+
});
|
|
2775
|
+
},
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
2779
|
+
* @param {number} parkId
|
|
2780
|
+
* @param {*} [options] Override http request option.
|
|
2781
|
+
* @throws {RequiredError}
|
|
2782
|
+
*/
|
|
2783
|
+
workOrderExecutionTimeSettingsSelectByParkId(parkId, options) {
|
|
2784
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2785
|
+
var _a, _b, _c;
|
|
2786
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderExecutionTimeSettingsSelectByParkId(parkId, options);
|
|
2787
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2788
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderExecutionTimeSettingsSelectByParkId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2789
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2790
|
+
});
|
|
2791
|
+
},
|
|
2630
2792
|
/**
|
|
2631
2793
|
*
|
|
2632
2794
|
* @summary 工单冻结
|
|
@@ -3298,6 +3460,36 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3298
3460
|
workOrderDistributeLeaflets(requestParameters, options) {
|
|
3299
3461
|
return localVarFp.workOrderDistributeLeaflets(requestParameters.workOrderDistributeLeafletsVo, options).then((request) => request(axios, basePath));
|
|
3300
3462
|
},
|
|
3463
|
+
/**
|
|
3464
|
+
*
|
|
3465
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
3466
|
+
* @param {WorkOrderApiWorkOrderExecutionTimeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
3467
|
+
* @param {*} [options] Override http request option.
|
|
3468
|
+
* @throws {RequiredError}
|
|
3469
|
+
*/
|
|
3470
|
+
workOrderExecutionTimeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
3471
|
+
return localVarFp.workOrderExecutionTimeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(axios, basePath));
|
|
3472
|
+
},
|
|
3473
|
+
/**
|
|
3474
|
+
*
|
|
3475
|
+
* @summary 新增或修改工单执行时效设置
|
|
3476
|
+
* @param {WorkOrderApiWorkOrderExecutionTimeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
3477
|
+
* @param {*} [options] Override http request option.
|
|
3478
|
+
* @throws {RequiredError}
|
|
3479
|
+
*/
|
|
3480
|
+
workOrderExecutionTimeSettingsAddOrUpdate(requestParameters, options) {
|
|
3481
|
+
return localVarFp.workOrderExecutionTimeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderExecutionTimeSettingsAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
3482
|
+
},
|
|
3483
|
+
/**
|
|
3484
|
+
*
|
|
3485
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
3486
|
+
* @param {WorkOrderApiWorkOrderExecutionTimeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
3487
|
+
* @param {*} [options] Override http request option.
|
|
3488
|
+
* @throws {RequiredError}
|
|
3489
|
+
*/
|
|
3490
|
+
workOrderExecutionTimeSettingsSelectByParkId(requestParameters, options) {
|
|
3491
|
+
return localVarFp.workOrderExecutionTimeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
3492
|
+
},
|
|
3301
3493
|
/**
|
|
3302
3494
|
*
|
|
3303
3495
|
* @summary 工单冻结
|
|
@@ -3870,6 +4062,39 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3870
4062
|
workOrderDistributeLeaflets(requestParameters, options) {
|
|
3871
4063
|
return WorkOrderApiFp(this.configuration).workOrderDistributeLeaflets(requestParameters.workOrderDistributeLeafletsVo, options).then((request) => request(this.axios, this.basePath));
|
|
3872
4064
|
}
|
|
4065
|
+
/**
|
|
4066
|
+
*
|
|
4067
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
4068
|
+
* @param {WorkOrderApiWorkOrderExecutionTimeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
4069
|
+
* @param {*} [options] Override http request option.
|
|
4070
|
+
* @throws {RequiredError}
|
|
4071
|
+
* @memberof WorkOrderApi
|
|
4072
|
+
*/
|
|
4073
|
+
workOrderExecutionTimeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
4074
|
+
return WorkOrderApiFp(this.configuration).workOrderExecutionTimeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(this.axios, this.basePath));
|
|
4075
|
+
}
|
|
4076
|
+
/**
|
|
4077
|
+
*
|
|
4078
|
+
* @summary 新增或修改工单执行时效设置
|
|
4079
|
+
* @param {WorkOrderApiWorkOrderExecutionTimeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
4080
|
+
* @param {*} [options] Override http request option.
|
|
4081
|
+
* @throws {RequiredError}
|
|
4082
|
+
* @memberof WorkOrderApi
|
|
4083
|
+
*/
|
|
4084
|
+
workOrderExecutionTimeSettingsAddOrUpdate(requestParameters, options) {
|
|
4085
|
+
return WorkOrderApiFp(this.configuration).workOrderExecutionTimeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderExecutionTimeSettingsAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
4086
|
+
}
|
|
4087
|
+
/**
|
|
4088
|
+
*
|
|
4089
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
4090
|
+
* @param {WorkOrderApiWorkOrderExecutionTimeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
4091
|
+
* @param {*} [options] Override http request option.
|
|
4092
|
+
* @throws {RequiredError}
|
|
4093
|
+
* @memberof WorkOrderApi
|
|
4094
|
+
*/
|
|
4095
|
+
workOrderExecutionTimeSettingsSelectByParkId(requestParameters, options) {
|
|
4096
|
+
return WorkOrderApiFp(this.configuration).workOrderExecutionTimeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
4097
|
+
}
|
|
3873
4098
|
/**
|
|
3874
4099
|
*
|
|
3875
4100
|
* @summary 工单冻结
|
|
@@ -200,6 +200,7 @@ export * from './json-result-list-work-order-circulation-settings-entity';
|
|
|
200
200
|
export * from './json-result-list-work-order-circulation-vo';
|
|
201
201
|
export * from './json-result-list-work-order-comment-entity';
|
|
202
202
|
export * from './json-result-list-work-order-dept-settings-entity';
|
|
203
|
+
export * from './json-result-list-work-order-execution-time-settings-entity';
|
|
203
204
|
export * from './json-result-list-work-order-inspection-detail-dto';
|
|
204
205
|
export * from './json-result-list-work-order-push-settings-entity';
|
|
205
206
|
export * from './json-result-list-work-order-step-by-step-push-user-details-dto';
|
|
@@ -246,6 +247,7 @@ export * from './json-result-violation-work-order-details-dto';
|
|
|
246
247
|
export * from './json-result-void';
|
|
247
248
|
export * from './json-result-work-order-dept-settings-entity';
|
|
248
249
|
export * from './json-result-work-order-detail-dto';
|
|
250
|
+
export * from './json-result-work-order-execution-time-settings-entity';
|
|
249
251
|
export * from './login-body';
|
|
250
252
|
export * from './login-type-enum';
|
|
251
253
|
export * from './maintenance-history-dto';
|
|
@@ -432,6 +434,8 @@ export * from './work-order-dept-settings-add-or-update-vo';
|
|
|
432
434
|
export * from './work-order-dept-settings-entity';
|
|
433
435
|
export * from './work-order-detail-dto';
|
|
434
436
|
export * from './work-order-distribute-leaflets-vo';
|
|
437
|
+
export * from './work-order-execution-time-settings-add-or-update-vo';
|
|
438
|
+
export * from './work-order-execution-time-settings-entity';
|
|
435
439
|
export * from './work-order-ext-data';
|
|
436
440
|
export * from './work-order-handler-dto';
|
|
437
441
|
export * from './work-order-handler-status-enum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -200,6 +200,7 @@ export * from './json-result-list-work-order-circulation-settings-entity';
|
|
|
200
200
|
export * from './json-result-list-work-order-circulation-vo';
|
|
201
201
|
export * from './json-result-list-work-order-comment-entity';
|
|
202
202
|
export * from './json-result-list-work-order-dept-settings-entity';
|
|
203
|
+
export * from './json-result-list-work-order-execution-time-settings-entity';
|
|
203
204
|
export * from './json-result-list-work-order-inspection-detail-dto';
|
|
204
205
|
export * from './json-result-list-work-order-push-settings-entity';
|
|
205
206
|
export * from './json-result-list-work-order-step-by-step-push-user-details-dto';
|
|
@@ -246,6 +247,7 @@ export * from './json-result-violation-work-order-details-dto';
|
|
|
246
247
|
export * from './json-result-void';
|
|
247
248
|
export * from './json-result-work-order-dept-settings-entity';
|
|
248
249
|
export * from './json-result-work-order-detail-dto';
|
|
250
|
+
export * from './json-result-work-order-execution-time-settings-entity';
|
|
249
251
|
export * from './login-body';
|
|
250
252
|
export * from './login-type-enum';
|
|
251
253
|
export * from './maintenance-history-dto';
|
|
@@ -432,6 +434,8 @@ export * from './work-order-dept-settings-add-or-update-vo';
|
|
|
432
434
|
export * from './work-order-dept-settings-entity';
|
|
433
435
|
export * from './work-order-detail-dto';
|
|
434
436
|
export * from './work-order-distribute-leaflets-vo';
|
|
437
|
+
export * from './work-order-execution-time-settings-add-or-update-vo';
|
|
438
|
+
export * from './work-order-execution-time-settings-entity';
|
|
435
439
|
export * from './work-order-ext-data';
|
|
436
440
|
export * from './work-order-handler-dto';
|
|
437
441
|
export * from './work-order-handler-status-enum';
|
|
@@ -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 { WorkOrderExecutionTimeSettingsEntity } from './work-order-execution-time-settings-entity';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultListWorkOrderExecutionTimeSettingsEntity {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 返回数据,可以是任意类型的值
|
|
40
|
+
* @type {Array<WorkOrderExecutionTimeSettingsEntity>}
|
|
41
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
42
|
+
*/
|
|
43
|
+
'data'?: Array<WorkOrderExecutionTimeSettingsEntity> | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultListWorkOrderExecutionTimeSettingsEntity
|
|
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 {};
|
|
@@ -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 { WorkOrderExecutionTimeSettingsEntity } from './work-order-execution-time-settings-entity';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultWorkOrderExecutionTimeSettingsEntity {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {WorkOrderExecutionTimeSettingsEntity}
|
|
41
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
42
|
+
*/
|
|
43
|
+
'data'?: WorkOrderExecutionTimeSettingsEntity | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* requestId
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JsonResultWorkOrderExecutionTimeSettingsEntity
|
|
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 {};
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
|
|
13
|
+
import type { WorkOrderTypeEnum } from './work-order-type-enum';
|
|
14
|
+
/**
|
|
15
|
+
* 工单执行时效配置
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WorkOrderExecutionTimeSettingsAddOrUpdateVo
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkOrderExecutionTimeSettingsAddOrUpdateVo {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {WorkOrderTypeEnum}
|
|
23
|
+
* @memberof WorkOrderExecutionTimeSettingsAddOrUpdateVo
|
|
24
|
+
*/
|
|
25
|
+
'workOrderType': WorkOrderTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WorkOrderIssueTypeEnum}
|
|
29
|
+
* @memberof WorkOrderExecutionTimeSettingsAddOrUpdateVo
|
|
30
|
+
*/
|
|
31
|
+
'workOrderIssueType': WorkOrderIssueTypeEnum;
|
|
32
|
+
/**
|
|
33
|
+
* 执行时效(分钟)
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof WorkOrderExecutionTimeSettingsAddOrUpdateVo
|
|
36
|
+
*/
|
|
37
|
+
'executionTime'?: number;
|
|
38
|
+
}
|
|
@@ -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 {};
|
|
@@ -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 { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
|
|
13
|
+
import type { WorkOrderTypeEnum } from './work-order-type-enum';
|
|
14
|
+
/**
|
|
15
|
+
* 返回数据,可以是任意类型的值
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WorkOrderExecutionTimeSettingsEntity
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkOrderExecutionTimeSettingsEntity {
|
|
20
|
+
/**
|
|
21
|
+
* 园区id
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
24
|
+
*/
|
|
25
|
+
'parkId'?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WorkOrderTypeEnum}
|
|
29
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
30
|
+
*/
|
|
31
|
+
'workOrderType'?: WorkOrderTypeEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {WorkOrderIssueTypeEnum}
|
|
35
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
36
|
+
*/
|
|
37
|
+
'workOrderIssueType'?: WorkOrderIssueTypeEnum;
|
|
38
|
+
/**
|
|
39
|
+
* 执行时效(分钟)
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
42
|
+
*/
|
|
43
|
+
'executionTime'?: number;
|
|
44
|
+
/**
|
|
45
|
+
* 创建时间
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
48
|
+
*/
|
|
49
|
+
'createTime'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* 更新时间
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
54
|
+
*/
|
|
55
|
+
'updateTime'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* 是否删除 1未删除 0删除
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof WorkOrderExecutionTimeSettingsEntity
|
|
60
|
+
*/
|
|
61
|
+
'isDelete'?: number;
|
|
62
|
+
}
|