@gizone/rrs-client 4.2.0-alpha.360 → 4.2.0-alpha.362
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 -4
- package/apis/setting-api.ts +63 -66
- package/apis/work-order-api.ts +131 -134
- package/dist/apis/setting-api.d.ts +40 -40
- package/dist/apis/setting-api.js +42 -44
- package/dist/apis/work-order-api.d.ts +81 -81
- package/dist/apis/work-order-api.js +94 -96
- package/dist/esm/apis/setting-api.d.ts +40 -40
- package/dist/esm/apis/setting-api.js +42 -44
- package/dist/esm/apis/work-order-api.d.ts +81 -81
- package/dist/esm/apis/work-order-api.js +94 -96
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -4
- package/dist/esm/models/{json-result-list-work-order-execution-time-settings-entity.d.ts → json-result-list-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/esm/models/{json-result-work-order-execution-time-settings-entity.d.ts → json-result-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/{models/work-order-execution-time-settings-add-or-update-vo.d.ts → esm/models/work-order-issue-type-settings-add-or-update-vo.d.ts} +5 -5
- package/dist/{models/work-order-execution-time-settings-entity.d.ts → esm/models/work-order-issue-type-settings-entity.d.ts} +9 -9
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/dist/models/{json-result-list-work-order-execution-time-settings-entity.d.ts → json-result-list-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/models/{json-result-work-order-execution-time-settings-entity.d.ts → json-result-work-order-issue-type-settings-entity.d.ts} +12 -12
- package/dist/{esm/models/work-order-execution-time-settings-add-or-update-vo.d.ts → models/work-order-issue-type-settings-add-or-update-vo.d.ts} +5 -5
- package/dist/{esm/models/work-order-execution-time-settings-entity.d.ts → models/work-order-issue-type-settings-entity.d.ts} +9 -9
- package/models/index.ts +4 -4
- package/models/{json-result-list-work-order-execution-time-settings-entity.ts → json-result-list-work-order-issue-type-settings-entity.ts} +12 -12
- package/models/{json-result-work-order-execution-time-settings-entity.ts → json-result-work-order-issue-type-settings-entity.ts} +12 -12
- package/models/{work-order-execution-time-settings-add-or-update-vo.ts → work-order-issue-type-settings-add-or-update-vo.ts} +5 -5
- package/models/{work-order-execution-time-settings-entity.ts → work-order-issue-type-settings-entity.ts} +9 -9
- package/package.json +1 -1
- /package/dist/esm/models/{json-result-list-work-order-execution-time-settings-entity.js → json-result-list-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/esm/models/{json-result-work-order-execution-time-settings-entity.js → json-result-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/esm/models/{work-order-execution-time-settings-add-or-update-vo.js → work-order-issue-type-settings-add-or-update-vo.js} +0 -0
- /package/dist/esm/models/{work-order-execution-time-settings-entity.js → work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/models/{json-result-list-work-order-execution-time-settings-entity.js → json-result-list-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/models/{json-result-work-order-execution-time-settings-entity.js → json-result-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/models/{work-order-execution-time-settings-add-or-update-vo.js → work-order-issue-type-settings-add-or-update-vo.js} +0 -0
- /package/dist/models/{work-order-execution-time-settings-entity.js → work-order-issue-type-settings-entity.js} +0 -0
|
@@ -1345,31 +1345,23 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1345
|
}),
|
|
1346
1346
|
/**
|
|
1347
1347
|
*
|
|
1348
|
-
* @summary
|
|
1349
|
-
* @param {number}
|
|
1350
|
-
* @param {WorkOrderTypeEnum} workOrderType
|
|
1351
|
-
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
1348
|
+
* @summary 工单冻结
|
|
1349
|
+
* @param {number} workOrderId
|
|
1352
1350
|
* @param {*} [options] Override http request option.
|
|
1353
1351
|
* @throws {RequiredError}
|
|
1354
1352
|
*/
|
|
1355
|
-
|
|
1356
|
-
// verify required parameter '
|
|
1357
|
-
assertParamExists('
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
// verify required parameter 'workOrderIssueType' is not null or undefined
|
|
1361
|
-
assertParamExists('workOrderExecutionTimeSelectByWorkOrderIssueType', 'workOrderIssueType', workOrderIssueType);
|
|
1362
|
-
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}/{workOrderType}/{workOrderIssueType}`
|
|
1363
|
-
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)))
|
|
1364
|
-
.replace(`{${"workOrderType"}}`, encodeURIComponent(String(workOrderType)))
|
|
1365
|
-
.replace(`{${"workOrderIssueType"}}`, encodeURIComponent(String(workOrderIssueType)));
|
|
1353
|
+
workOrderFreeze: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
1354
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
1355
|
+
assertParamExists('workOrderFreeze', 'workOrderId', workOrderId);
|
|
1356
|
+
const localVarPath = `/gizone/workOrder/freeze/{workOrderId}`
|
|
1357
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1366
1358
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1367
1359
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1368
1360
|
let baseOptions;
|
|
1369
1361
|
if (configuration) {
|
|
1370
1362
|
baseOptions = configuration.baseOptions;
|
|
1371
1363
|
}
|
|
1372
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1364
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1373
1365
|
const localVarHeaderParameter = {};
|
|
1374
1366
|
const localVarQueryParameter = {};
|
|
1375
1367
|
// authentication tokenScheme required
|
|
@@ -1385,36 +1377,39 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1385
1377
|
}),
|
|
1386
1378
|
/**
|
|
1387
1379
|
*
|
|
1388
|
-
* @summary
|
|
1380
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
1389
1381
|
* @param {number} parkId
|
|
1390
|
-
* @param {
|
|
1382
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
1383
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
1391
1384
|
* @param {*} [options] Override http request option.
|
|
1392
1385
|
* @throws {RequiredError}
|
|
1393
1386
|
*/
|
|
1394
|
-
|
|
1387
|
+
workOrderIssueTypeSelectByWorkOrderIssueType: (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 = {}) {
|
|
1395
1388
|
// verify required parameter 'parkId' is not null or undefined
|
|
1396
|
-
assertParamExists('
|
|
1397
|
-
// verify required parameter '
|
|
1398
|
-
assertParamExists('
|
|
1399
|
-
|
|
1400
|
-
|
|
1389
|
+
assertParamExists('workOrderIssueTypeSelectByWorkOrderIssueType', 'parkId', parkId);
|
|
1390
|
+
// verify required parameter 'workOrderType' is not null or undefined
|
|
1391
|
+
assertParamExists('workOrderIssueTypeSelectByWorkOrderIssueType', 'workOrderType', workOrderType);
|
|
1392
|
+
// verify required parameter 'workOrderIssueType' is not null or undefined
|
|
1393
|
+
assertParamExists('workOrderIssueTypeSelectByWorkOrderIssueType', 'workOrderIssueType', workOrderIssueType);
|
|
1394
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}/{workOrderType}/{workOrderIssueType}`
|
|
1395
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)))
|
|
1396
|
+
.replace(`{${"workOrderType"}}`, encodeURIComponent(String(workOrderType)))
|
|
1397
|
+
.replace(`{${"workOrderIssueType"}}`, encodeURIComponent(String(workOrderIssueType)));
|
|
1401
1398
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1402
1399
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1403
1400
|
let baseOptions;
|
|
1404
1401
|
if (configuration) {
|
|
1405
1402
|
baseOptions = configuration.baseOptions;
|
|
1406
1403
|
}
|
|
1407
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1404
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1408
1405
|
const localVarHeaderParameter = {};
|
|
1409
1406
|
const localVarQueryParameter = {};
|
|
1410
1407
|
// authentication tokenScheme required
|
|
1411
1408
|
// http bearer authentication required
|
|
1412
1409
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1413
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1414
1410
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1415
1411
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1416
1412
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1417
|
-
localVarRequestOptions.data = serializeDataIfNeeded(workOrderExecutionTimeSettingsAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
1418
1413
|
return {
|
|
1419
1414
|
url: toPathString(localVarUrlObj),
|
|
1420
1415
|
options: localVarRequestOptions,
|
|
@@ -1422,33 +1417,36 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1422
1417
|
}),
|
|
1423
1418
|
/**
|
|
1424
1419
|
*
|
|
1425
|
-
* @summary
|
|
1420
|
+
* @summary 新增或修改工单执行时效设置
|
|
1426
1421
|
* @param {number} parkId
|
|
1422
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
1427
1423
|
* @param {*} [options] Override http request option.
|
|
1428
1424
|
* @throws {RequiredError}
|
|
1429
1425
|
*/
|
|
1430
|
-
|
|
1426
|
+
workOrderIssueTypeSettingsAddOrUpdate: (parkId_1, workOrderIssueTypeSettingsAddOrUpdateVo_1, ...args_1) => __awaiter(this, [parkId_1, workOrderIssueTypeSettingsAddOrUpdateVo_1, ...args_1], void 0, function* (parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options = {}) {
|
|
1431
1427
|
// verify required parameter 'parkId' is not null or undefined
|
|
1432
|
-
assertParamExists('
|
|
1433
|
-
|
|
1428
|
+
assertParamExists('workOrderIssueTypeSettingsAddOrUpdate', 'parkId', parkId);
|
|
1429
|
+
// verify required parameter 'workOrderIssueTypeSettingsAddOrUpdateVo' is not null or undefined
|
|
1430
|
+
assertParamExists('workOrderIssueTypeSettingsAddOrUpdate', 'workOrderIssueTypeSettingsAddOrUpdateVo', workOrderIssueTypeSettingsAddOrUpdateVo);
|
|
1431
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
1432
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
1434
1433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1435
1434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1436
1435
|
let baseOptions;
|
|
1437
1436
|
if (configuration) {
|
|
1438
1437
|
baseOptions = configuration.baseOptions;
|
|
1439
1438
|
}
|
|
1440
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1439
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1441
1440
|
const localVarHeaderParameter = {};
|
|
1442
1441
|
const localVarQueryParameter = {};
|
|
1443
1442
|
// authentication tokenScheme required
|
|
1444
1443
|
// http bearer authentication required
|
|
1445
1444
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1446
|
-
|
|
1447
|
-
localVarQueryParameter['parkId'] = parkId;
|
|
1448
|
-
}
|
|
1445
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1449
1446
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1450
1447
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1451
1448
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1449
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderIssueTypeSettingsAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
1452
1450
|
return {
|
|
1453
1451
|
url: toPathString(localVarUrlObj),
|
|
1454
1452
|
options: localVarRequestOptions,
|
|
@@ -1456,23 +1454,23 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1456
1454
|
}),
|
|
1457
1455
|
/**
|
|
1458
1456
|
*
|
|
1459
|
-
* @summary
|
|
1460
|
-
* @param {number}
|
|
1457
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1458
|
+
* @param {number} parkId
|
|
1461
1459
|
* @param {*} [options] Override http request option.
|
|
1462
1460
|
* @throws {RequiredError}
|
|
1463
1461
|
*/
|
|
1464
|
-
|
|
1465
|
-
// verify required parameter '
|
|
1466
|
-
assertParamExists('
|
|
1467
|
-
const localVarPath = `/gizone/workOrder/
|
|
1468
|
-
.replace(`{${"
|
|
1462
|
+
workOrderIssueTypeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
1463
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
1464
|
+
assertParamExists('workOrderIssueTypeSettingsSelectByParkId', 'parkId', parkId);
|
|
1465
|
+
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
1466
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
1469
1467
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1470
1468
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1471
1469
|
let baseOptions;
|
|
1472
1470
|
if (configuration) {
|
|
1473
1471
|
baseOptions = configuration.baseOptions;
|
|
1474
1472
|
}
|
|
1475
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1473
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1476
1474
|
const localVarHeaderParameter = {};
|
|
1477
1475
|
const localVarQueryParameter = {};
|
|
1478
1476
|
// authentication tokenScheme required
|
|
@@ -2754,68 +2752,68 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2754
2752
|
},
|
|
2755
2753
|
/**
|
|
2756
2754
|
*
|
|
2757
|
-
* @summary
|
|
2758
|
-
* @param {number}
|
|
2759
|
-
* @param {WorkOrderTypeEnum} workOrderType
|
|
2760
|
-
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
2755
|
+
* @summary 工单冻结
|
|
2756
|
+
* @param {number} workOrderId
|
|
2761
2757
|
* @param {*} [options] Override http request option.
|
|
2762
2758
|
* @throws {RequiredError}
|
|
2763
2759
|
*/
|
|
2764
|
-
|
|
2760
|
+
workOrderFreeze(workOrderId, options) {
|
|
2765
2761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2766
2762
|
var _a, _b, _c;
|
|
2767
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2763
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderFreeze(workOrderId, options);
|
|
2768
2764
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2769
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.
|
|
2765
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderFreeze']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2770
2766
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2771
2767
|
});
|
|
2772
2768
|
},
|
|
2773
2769
|
/**
|
|
2774
2770
|
*
|
|
2775
|
-
* @summary
|
|
2771
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
2776
2772
|
* @param {number} parkId
|
|
2777
|
-
* @param {
|
|
2773
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
2774
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
2778
2775
|
* @param {*} [options] Override http request option.
|
|
2779
2776
|
* @throws {RequiredError}
|
|
2780
2777
|
*/
|
|
2781
|
-
|
|
2778
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options) {
|
|
2782
2779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2783
2780
|
var _a, _b, _c;
|
|
2784
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2781
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options);
|
|
2785
2782
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2786
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.
|
|
2783
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderIssueTypeSelectByWorkOrderIssueType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2787
2784
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2788
2785
|
});
|
|
2789
2786
|
},
|
|
2790
2787
|
/**
|
|
2791
2788
|
*
|
|
2792
|
-
* @summary
|
|
2789
|
+
* @summary 新增或修改工单执行时效设置
|
|
2793
2790
|
* @param {number} parkId
|
|
2791
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
2794
2792
|
* @param {*} [options] Override http request option.
|
|
2795
2793
|
* @throws {RequiredError}
|
|
2796
2794
|
*/
|
|
2797
|
-
|
|
2795
|
+
workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options) {
|
|
2798
2796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2799
2797
|
var _a, _b, _c;
|
|
2800
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2798
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options);
|
|
2801
2799
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2802
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.
|
|
2800
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderIssueTypeSettingsAddOrUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2803
2801
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2804
2802
|
});
|
|
2805
2803
|
},
|
|
2806
2804
|
/**
|
|
2807
2805
|
*
|
|
2808
|
-
* @summary
|
|
2809
|
-
* @param {number}
|
|
2806
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
2807
|
+
* @param {number} parkId
|
|
2810
2808
|
* @param {*} [options] Override http request option.
|
|
2811
2809
|
* @throws {RequiredError}
|
|
2812
2810
|
*/
|
|
2813
|
-
|
|
2811
|
+
workOrderIssueTypeSettingsSelectByParkId(parkId, options) {
|
|
2814
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2815
2813
|
var _a, _b, _c;
|
|
2816
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2814
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsSelectByParkId(parkId, options);
|
|
2817
2815
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2818
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.
|
|
2816
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderIssueTypeSettingsSelectByParkId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2819
2817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2820
2818
|
});
|
|
2821
2819
|
},
|
|
@@ -3477,43 +3475,43 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3477
3475
|
},
|
|
3478
3476
|
/**
|
|
3479
3477
|
*
|
|
3480
|
-
* @summary
|
|
3481
|
-
* @param {
|
|
3478
|
+
* @summary 工单冻结
|
|
3479
|
+
* @param {WorkOrderApiWorkOrderFreezeRequest} requestParameters Request parameters.
|
|
3482
3480
|
* @param {*} [options] Override http request option.
|
|
3483
3481
|
* @throws {RequiredError}
|
|
3484
3482
|
*/
|
|
3485
|
-
|
|
3486
|
-
return localVarFp.
|
|
3483
|
+
workOrderFreeze(requestParameters, options) {
|
|
3484
|
+
return localVarFp.workOrderFreeze(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3487
3485
|
},
|
|
3488
3486
|
/**
|
|
3489
3487
|
*
|
|
3490
|
-
* @summary
|
|
3491
|
-
* @param {
|
|
3488
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
3489
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
3492
3490
|
* @param {*} [options] Override http request option.
|
|
3493
3491
|
* @throws {RequiredError}
|
|
3494
3492
|
*/
|
|
3495
|
-
|
|
3496
|
-
return localVarFp.
|
|
3493
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
3494
|
+
return localVarFp.workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(axios, basePath));
|
|
3497
3495
|
},
|
|
3498
3496
|
/**
|
|
3499
3497
|
*
|
|
3500
|
-
* @summary
|
|
3501
|
-
* @param {
|
|
3498
|
+
* @summary 新增或修改工单执行时效设置
|
|
3499
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
3502
3500
|
* @param {*} [options] Override http request option.
|
|
3503
3501
|
* @throws {RequiredError}
|
|
3504
3502
|
*/
|
|
3505
|
-
|
|
3506
|
-
return localVarFp.
|
|
3503
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
3504
|
+
return localVarFp.workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
3507
3505
|
},
|
|
3508
3506
|
/**
|
|
3509
3507
|
*
|
|
3510
|
-
* @summary
|
|
3511
|
-
* @param {
|
|
3508
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
3509
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
3512
3510
|
* @param {*} [options] Override http request option.
|
|
3513
3511
|
* @throws {RequiredError}
|
|
3514
3512
|
*/
|
|
3515
|
-
|
|
3516
|
-
return localVarFp.
|
|
3513
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
3514
|
+
return localVarFp.workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
3517
3515
|
},
|
|
3518
3516
|
/**
|
|
3519
3517
|
*
|
|
@@ -4079,47 +4077,47 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
4079
4077
|
}
|
|
4080
4078
|
/**
|
|
4081
4079
|
*
|
|
4082
|
-
* @summary
|
|
4083
|
-
* @param {
|
|
4080
|
+
* @summary 工单冻结
|
|
4081
|
+
* @param {WorkOrderApiWorkOrderFreezeRequest} requestParameters Request parameters.
|
|
4084
4082
|
* @param {*} [options] Override http request option.
|
|
4085
4083
|
* @throws {RequiredError}
|
|
4086
4084
|
* @memberof WorkOrderApi
|
|
4087
4085
|
*/
|
|
4088
|
-
|
|
4089
|
-
return WorkOrderApiFp(this.configuration).
|
|
4086
|
+
workOrderFreeze(requestParameters, options) {
|
|
4087
|
+
return WorkOrderApiFp(this.configuration).workOrderFreeze(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
4090
4088
|
}
|
|
4091
4089
|
/**
|
|
4092
4090
|
*
|
|
4093
|
-
* @summary
|
|
4094
|
-
* @param {
|
|
4091
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
4092
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
4095
4093
|
* @param {*} [options] Override http request option.
|
|
4096
4094
|
* @throws {RequiredError}
|
|
4097
4095
|
* @memberof WorkOrderApi
|
|
4098
4096
|
*/
|
|
4099
|
-
|
|
4100
|
-
return WorkOrderApiFp(this.configuration).
|
|
4097
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
4098
|
+
return WorkOrderApiFp(this.configuration).workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(this.axios, this.basePath));
|
|
4101
4099
|
}
|
|
4102
4100
|
/**
|
|
4103
4101
|
*
|
|
4104
|
-
* @summary
|
|
4105
|
-
* @param {
|
|
4102
|
+
* @summary 新增或修改工单执行时效设置
|
|
4103
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
4106
4104
|
* @param {*} [options] Override http request option.
|
|
4107
4105
|
* @throws {RequiredError}
|
|
4108
4106
|
* @memberof WorkOrderApi
|
|
4109
4107
|
*/
|
|
4110
|
-
|
|
4111
|
-
return WorkOrderApiFp(this.configuration).
|
|
4108
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
4109
|
+
return WorkOrderApiFp(this.configuration).workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
4112
4110
|
}
|
|
4113
4111
|
/**
|
|
4114
4112
|
*
|
|
4115
|
-
* @summary
|
|
4116
|
-
* @param {
|
|
4113
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
4114
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
4117
4115
|
* @param {*} [options] Override http request option.
|
|
4118
4116
|
* @throws {RequiredError}
|
|
4119
4117
|
* @memberof WorkOrderApi
|
|
4120
4118
|
*/
|
|
4121
|
-
|
|
4122
|
-
return WorkOrderApiFp(this.configuration).
|
|
4119
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
4120
|
+
return WorkOrderApiFp(this.configuration).workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
4123
4121
|
}
|
|
4124
4122
|
/**
|
|
4125
4123
|
*
|
|
@@ -200,8 +200,8 @@ 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';
|
|
204
203
|
export * from './json-result-list-work-order-inspection-detail-dto';
|
|
204
|
+
export * from './json-result-list-work-order-issue-type-settings-entity';
|
|
205
205
|
export * from './json-result-list-work-order-push-settings-entity';
|
|
206
206
|
export * from './json-result-list-work-order-step-by-step-push-user-details-dto';
|
|
207
207
|
export * from './json-result-maintenance-standard-entity';
|
|
@@ -247,7 +247,7 @@ export * from './json-result-violation-work-order-details-dto';
|
|
|
247
247
|
export * from './json-result-void';
|
|
248
248
|
export * from './json-result-work-order-dept-settings-entity';
|
|
249
249
|
export * from './json-result-work-order-detail-dto';
|
|
250
|
-
export * from './json-result-work-order-
|
|
250
|
+
export * from './json-result-work-order-issue-type-settings-entity';
|
|
251
251
|
export * from './login-body';
|
|
252
252
|
export * from './login-type-enum';
|
|
253
253
|
export * from './maintenance-history-dto';
|
|
@@ -434,8 +434,6 @@ export * from './work-order-dept-settings-add-or-update-vo';
|
|
|
434
434
|
export * from './work-order-dept-settings-entity';
|
|
435
435
|
export * from './work-order-detail-dto';
|
|
436
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';
|
|
439
437
|
export * from './work-order-ext-data';
|
|
440
438
|
export * from './work-order-handler-dto';
|
|
441
439
|
export * from './work-order-handler-status-enum';
|
|
@@ -443,6 +441,8 @@ export * from './work-order-inspection-detail-dto';
|
|
|
443
441
|
export * from './work-order-inspection-item-req';
|
|
444
442
|
export * from './work-order-internal-status-enum';
|
|
445
443
|
export * from './work-order-issue-type-enum';
|
|
444
|
+
export * from './work-order-issue-type-settings-add-or-update-vo';
|
|
445
|
+
export * from './work-order-issue-type-settings-entity';
|
|
446
446
|
export * from './work-order-liability-party-enum';
|
|
447
447
|
export * from './work-order-plan-holidays-enum';
|
|
448
448
|
export * from './work-order-plan-repeats-enum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -200,8 +200,8 @@ 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';
|
|
204
203
|
export * from './json-result-list-work-order-inspection-detail-dto';
|
|
204
|
+
export * from './json-result-list-work-order-issue-type-settings-entity';
|
|
205
205
|
export * from './json-result-list-work-order-push-settings-entity';
|
|
206
206
|
export * from './json-result-list-work-order-step-by-step-push-user-details-dto';
|
|
207
207
|
export * from './json-result-maintenance-standard-entity';
|
|
@@ -247,7 +247,7 @@ export * from './json-result-violation-work-order-details-dto';
|
|
|
247
247
|
export * from './json-result-void';
|
|
248
248
|
export * from './json-result-work-order-dept-settings-entity';
|
|
249
249
|
export * from './json-result-work-order-detail-dto';
|
|
250
|
-
export * from './json-result-work-order-
|
|
250
|
+
export * from './json-result-work-order-issue-type-settings-entity';
|
|
251
251
|
export * from './login-body';
|
|
252
252
|
export * from './login-type-enum';
|
|
253
253
|
export * from './maintenance-history-dto';
|
|
@@ -434,8 +434,6 @@ export * from './work-order-dept-settings-add-or-update-vo';
|
|
|
434
434
|
export * from './work-order-dept-settings-entity';
|
|
435
435
|
export * from './work-order-detail-dto';
|
|
436
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';
|
|
439
437
|
export * from './work-order-ext-data';
|
|
440
438
|
export * from './work-order-handler-dto';
|
|
441
439
|
export * from './work-order-handler-status-enum';
|
|
@@ -443,6 +441,8 @@ export * from './work-order-inspection-detail-dto';
|
|
|
443
441
|
export * from './work-order-inspection-item-req';
|
|
444
442
|
export * from './work-order-internal-status-enum';
|
|
445
443
|
export * from './work-order-issue-type-enum';
|
|
444
|
+
export * from './work-order-issue-type-settings-add-or-update-vo';
|
|
445
|
+
export * from './work-order-issue-type-settings-entity';
|
|
446
446
|
export * from './work-order-liability-party-enum';
|
|
447
447
|
export * from './work-order-plan-holidays-enum';
|
|
448
448
|
export * from './work-order-plan-repeats-enum';
|
|
@@ -10,53 +10,53 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { BaseErrorResult } from './base-error-result';
|
|
13
|
-
import type {
|
|
13
|
+
import type { WorkOrderIssueTypeSettingsEntity } from './work-order-issue-type-settings-entity';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface JsonResultListWorkOrderIssueTypeSettingsEntity {
|
|
20
20
|
/**
|
|
21
21
|
* 错误码,0:成功,其他:失败
|
|
22
22
|
* @type {number}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
24
24
|
*/
|
|
25
25
|
'code'?: number;
|
|
26
26
|
/**
|
|
27
27
|
* 错误消息
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
30
30
|
*/
|
|
31
31
|
'msg'?: string;
|
|
32
32
|
/**
|
|
33
33
|
* 错误堆栈
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
36
36
|
*/
|
|
37
37
|
'stacks'?: string;
|
|
38
38
|
/**
|
|
39
39
|
* 返回数据,可以是任意类型的值
|
|
40
|
-
* @type {Array<
|
|
41
|
-
* @memberof
|
|
40
|
+
* @type {Array<WorkOrderIssueTypeSettingsEntity>}
|
|
41
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
42
42
|
*/
|
|
43
|
-
'data'?: Array<
|
|
43
|
+
'data'?: Array<WorkOrderIssueTypeSettingsEntity> | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {BaseErrorResult}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
48
48
|
*/
|
|
49
49
|
'error'?: BaseErrorResult | null;
|
|
50
50
|
/**
|
|
51
51
|
* 日志追踪ID
|
|
52
52
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
54
54
|
*/
|
|
55
55
|
'traceId'?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
* requestId
|
|
58
58
|
* @type {string}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof JsonResultListWorkOrderIssueTypeSettingsEntity
|
|
60
60
|
*/
|
|
61
61
|
'requestId'?: string | null;
|
|
62
62
|
}
|
|
@@ -10,53 +10,53 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { BaseErrorResult } from './base-error-result';
|
|
13
|
-
import type {
|
|
13
|
+
import type { WorkOrderIssueTypeSettingsEntity } from './work-order-issue-type-settings-entity';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface JsonResultWorkOrderIssueTypeSettingsEntity
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface JsonResultWorkOrderIssueTypeSettingsEntity {
|
|
20
20
|
/**
|
|
21
21
|
* 错误码,0:成功,其他:失败
|
|
22
22
|
* @type {number}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
24
24
|
*/
|
|
25
25
|
'code'?: number;
|
|
26
26
|
/**
|
|
27
27
|
* 错误消息
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
30
30
|
*/
|
|
31
31
|
'msg'?: string;
|
|
32
32
|
/**
|
|
33
33
|
* 错误堆栈
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
36
36
|
*/
|
|
37
37
|
'stacks'?: string;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {
|
|
41
|
-
* @memberof
|
|
40
|
+
* @type {WorkOrderIssueTypeSettingsEntity}
|
|
41
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
42
42
|
*/
|
|
43
|
-
'data'?:
|
|
43
|
+
'data'?: WorkOrderIssueTypeSettingsEntity | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {BaseErrorResult}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
48
48
|
*/
|
|
49
49
|
'error'?: BaseErrorResult | null;
|
|
50
50
|
/**
|
|
51
51
|
* 日志追踪ID
|
|
52
52
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
54
54
|
*/
|
|
55
55
|
'traceId'?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
* requestId
|
|
58
58
|
* @type {string}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof JsonResultWorkOrderIssueTypeSettingsEntity
|
|
60
60
|
*/
|
|
61
61
|
'requestId'?: string | null;
|
|
62
62
|
}
|
|
@@ -14,25 +14,25 @@ import type { WorkOrderTypeEnum } from './work-order-type-enum';
|
|
|
14
14
|
/**
|
|
15
15
|
* 工单执行时效配置
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface WorkOrderIssueTypeSettingsAddOrUpdateVo
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface WorkOrderIssueTypeSettingsAddOrUpdateVo {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @type {WorkOrderTypeEnum}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof WorkOrderIssueTypeSettingsAddOrUpdateVo
|
|
24
24
|
*/
|
|
25
25
|
'workOrderType': WorkOrderTypeEnum;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {WorkOrderIssueTypeEnum}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof WorkOrderIssueTypeSettingsAddOrUpdateVo
|
|
30
30
|
*/
|
|
31
31
|
'workOrderIssueType': WorkOrderIssueTypeEnum;
|
|
32
32
|
/**
|
|
33
33
|
* 执行时效(分钟)
|
|
34
34
|
* @type {number}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof WorkOrderIssueTypeSettingsAddOrUpdateVo
|
|
36
36
|
*/
|
|
37
37
|
'executionTime'?: number;
|
|
38
38
|
}
|