@gizone/rrs-client 4.2.0-alpha.361 → 4.2.0-alpha.363
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 +7 -6
- package/apis/message-api.ts +0 -178
- package/apis/notification-api.ts +133 -227
- package/apis/setting-api.ts +61 -61
- package/apis/work-order-api.ts +129 -129
- package/dist/apis/message-api.d.ts +0 -93
- package/dist/apis/message-api.js +0 -139
- package/dist/apis/notification-api.d.ts +90 -135
- package/dist/apis/notification-api.js +99 -174
- package/dist/apis/setting-api.d.ts +40 -40
- package/dist/apis/setting-api.js +40 -40
- package/dist/apis/work-order-api.d.ts +81 -81
- package/dist/apis/work-order-api.js +92 -92
- package/dist/esm/apis/message-api.d.ts +0 -93
- package/dist/esm/apis/message-api.js +1 -140
- package/dist/esm/apis/notification-api.d.ts +90 -135
- package/dist/esm/apis/notification-api.js +99 -174
- package/dist/esm/apis/setting-api.d.ts +40 -40
- package/dist/esm/apis/setting-api.js +40 -40
- package/dist/esm/apis/work-order-api.d.ts +81 -81
- package/dist/esm/apis/work-order-api.js +92 -92
- package/dist/esm/models/index.d.ts +7 -6
- package/dist/esm/models/index.js +7 -6
- 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/{models/json-result-work-order-execution-time-settings-entity.d.ts → esm/models/json-result-notice-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/sys-user-msg-notice-add-vo.d.ts → esm/models/notice-add-vo.d.ts} +8 -8
- package/dist/esm/models/notice-entity.d.ts +90 -0
- package/dist/esm/models/{work-order-execution-time-settings-add-or-update-vo.d.ts → work-order-issue-type-settings-add-or-update-vo.d.ts} +11 -5
- package/dist/esm/models/{work-order-execution-time-settings-entity.d.ts → work-order-issue-type-settings-entity.d.ts} +15 -9
- package/dist/esm/models/work-order-issue-type-settings-entity.js +14 -0
- package/dist/models/index.d.ts +7 -6
- package/dist/models/index.js +7 -6
- 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-notice-entity.d.ts +62 -0
- package/dist/models/json-result-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/{esm/models/sys-user-msg-notice-add-vo.d.ts → models/notice-add-vo.d.ts} +8 -8
- package/dist/models/notice-entity.d.ts +90 -0
- package/dist/models/{work-order-execution-time-settings-add-or-update-vo.d.ts → work-order-issue-type-settings-add-or-update-vo.d.ts} +11 -5
- package/dist/models/{work-order-execution-time-settings-entity.d.ts → work-order-issue-type-settings-entity.d.ts} +15 -9
- package/dist/models/work-order-issue-type-settings-entity.js +15 -0
- package/models/index.ts +7 -6
- 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-notice-entity.ts} +12 -12
- package/models/json-result-work-order-issue-type-settings-entity.ts +72 -0
- package/models/{sys-user-msg-notice-add-vo.ts → notice-add-vo.ts} +8 -8
- package/models/notice-entity.ts +96 -0
- package/models/{work-order-execution-time-settings-add-or-update-vo.ts → work-order-issue-type-settings-add-or-update-vo.ts} +11 -5
- package/models/{work-order-execution-time-settings-entity.ts → work-order-issue-type-settings-entity.ts} +15 -9
- package/package.json +1 -1
- package/dist/esm/models/notice-vo.d.ts +0 -86
- package/dist/models/notice-vo.d.ts +0 -86
- package/models/notice-vo.ts +0 -90
- /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-notice-entity.js} +0 -0
- /package/dist/esm/models/{notice-vo.js → json-result-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-notice-add-vo.js → notice-add-vo.js} +0 -0
- /package/dist/esm/models/{work-order-execution-time-settings-add-or-update-vo.js → notice-entity.js} +0 -0
- /package/dist/esm/models/{work-order-execution-time-settings-entity.js → work-order-issue-type-settings-add-or-update-vo.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-notice-entity.js} +0 -0
- /package/dist/models/{notice-vo.js → json-result-work-order-issue-type-settings-entity.js} +0 -0
- /package/dist/models/{sys-user-msg-notice-add-vo.js → notice-add-vo.js} +0 -0
- /package/dist/models/{work-order-execution-time-settings-add-or-update-vo.js → notice-entity.js} +0 -0
- /package/dist/models/{work-order-execution-time-settings-entity.js → work-order-issue-type-settings-add-or-update-vo.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,14 +1417,17 @@ 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('
|
|
1428
|
+
assertParamExists('workOrderIssueTypeSettingsAddOrUpdate', 'parkId', parkId);
|
|
1429
|
+
// verify required parameter 'workOrderIssueTypeSettingsAddOrUpdateVo' is not null or undefined
|
|
1430
|
+
assertParamExists('workOrderIssueTypeSettingsAddOrUpdate', 'workOrderIssueTypeSettingsAddOrUpdateVo', workOrderIssueTypeSettingsAddOrUpdateVo);
|
|
1433
1431
|
const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
|
|
1434
1432
|
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
1435
1433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1438,15 +1436,17 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1438
1436
|
if (configuration) {
|
|
1439
1437
|
baseOptions = configuration.baseOptions;
|
|
1440
1438
|
}
|
|
1441
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1439
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1442
1440
|
const localVarHeaderParameter = {};
|
|
1443
1441
|
const localVarQueryParameter = {};
|
|
1444
1442
|
// authentication tokenScheme required
|
|
1445
1443
|
// http bearer authentication required
|
|
1446
1444
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1445
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1447
1446
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1448
1447
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1449
1448
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1449
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderIssueTypeSettingsAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
1450
1450
|
return {
|
|
1451
1451
|
url: toPathString(localVarUrlObj),
|
|
1452
1452
|
options: localVarRequestOptions,
|
|
@@ -1454,23 +1454,23 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1454
1454
|
}),
|
|
1455
1455
|
/**
|
|
1456
1456
|
*
|
|
1457
|
-
* @summary
|
|
1458
|
-
* @param {number}
|
|
1457
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
1458
|
+
* @param {number} parkId
|
|
1459
1459
|
* @param {*} [options] Override http request option.
|
|
1460
1460
|
* @throws {RequiredError}
|
|
1461
1461
|
*/
|
|
1462
|
-
|
|
1463
|
-
// verify required parameter '
|
|
1464
|
-
assertParamExists('
|
|
1465
|
-
const localVarPath = `/gizone/workOrder/
|
|
1466
|
-
.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)));
|
|
1467
1467
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1468
1468
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1469
1469
|
let baseOptions;
|
|
1470
1470
|
if (configuration) {
|
|
1471
1471
|
baseOptions = configuration.baseOptions;
|
|
1472
1472
|
}
|
|
1473
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1473
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1474
1474
|
const localVarHeaderParameter = {};
|
|
1475
1475
|
const localVarQueryParameter = {};
|
|
1476
1476
|
// authentication tokenScheme required
|
|
@@ -2752,68 +2752,68 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2752
2752
|
},
|
|
2753
2753
|
/**
|
|
2754
2754
|
*
|
|
2755
|
-
* @summary
|
|
2756
|
-
* @param {number}
|
|
2757
|
-
* @param {WorkOrderTypeEnum} workOrderType
|
|
2758
|
-
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
2755
|
+
* @summary 工单冻结
|
|
2756
|
+
* @param {number} workOrderId
|
|
2759
2757
|
* @param {*} [options] Override http request option.
|
|
2760
2758
|
* @throws {RequiredError}
|
|
2761
2759
|
*/
|
|
2762
|
-
|
|
2760
|
+
workOrderFreeze(workOrderId, options) {
|
|
2763
2761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2764
2762
|
var _a, _b, _c;
|
|
2765
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2763
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderFreeze(workOrderId, options);
|
|
2766
2764
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2767
|
-
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;
|
|
2768
2766
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2769
2767
|
});
|
|
2770
2768
|
},
|
|
2771
2769
|
/**
|
|
2772
2770
|
*
|
|
2773
|
-
* @summary
|
|
2771
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
2774
2772
|
* @param {number} parkId
|
|
2775
|
-
* @param {
|
|
2773
|
+
* @param {WorkOrderTypeEnum} workOrderType
|
|
2774
|
+
* @param {WorkOrderIssueTypeEnum} workOrderIssueType
|
|
2776
2775
|
* @param {*} [options] Override http request option.
|
|
2777
2776
|
* @throws {RequiredError}
|
|
2778
2777
|
*/
|
|
2779
|
-
|
|
2778
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options) {
|
|
2780
2779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2781
2780
|
var _a, _b, _c;
|
|
2782
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2781
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSelectByWorkOrderIssueType(parkId, workOrderType, workOrderIssueType, options);
|
|
2783
2782
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2784
|
-
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;
|
|
2785
2784
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2786
2785
|
});
|
|
2787
2786
|
},
|
|
2788
2787
|
/**
|
|
2789
2788
|
*
|
|
2790
|
-
* @summary
|
|
2789
|
+
* @summary 新增或修改工单执行时效设置
|
|
2791
2790
|
* @param {number} parkId
|
|
2791
|
+
* @param {Array<WorkOrderIssueTypeSettingsAddOrUpdateVo>} workOrderIssueTypeSettingsAddOrUpdateVo
|
|
2792
2792
|
* @param {*} [options] Override http request option.
|
|
2793
2793
|
* @throws {RequiredError}
|
|
2794
2794
|
*/
|
|
2795
|
-
|
|
2795
|
+
workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options) {
|
|
2796
2796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2797
2797
|
var _a, _b, _c;
|
|
2798
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2798
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsAddOrUpdate(parkId, workOrderIssueTypeSettingsAddOrUpdateVo, options);
|
|
2799
2799
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2800
|
-
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;
|
|
2801
2801
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2802
2802
|
});
|
|
2803
2803
|
},
|
|
2804
2804
|
/**
|
|
2805
2805
|
*
|
|
2806
|
-
* @summary
|
|
2807
|
-
* @param {number}
|
|
2806
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
2807
|
+
* @param {number} parkId
|
|
2808
2808
|
* @param {*} [options] Override http request option.
|
|
2809
2809
|
* @throws {RequiredError}
|
|
2810
2810
|
*/
|
|
2811
|
-
|
|
2811
|
+
workOrderIssueTypeSettingsSelectByParkId(parkId, options) {
|
|
2812
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2813
2813
|
var _a, _b, _c;
|
|
2814
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2814
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderIssueTypeSettingsSelectByParkId(parkId, options);
|
|
2815
2815
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2816
|
-
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;
|
|
2817
2817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2818
2818
|
});
|
|
2819
2819
|
},
|
|
@@ -3475,43 +3475,43 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3475
3475
|
},
|
|
3476
3476
|
/**
|
|
3477
3477
|
*
|
|
3478
|
-
* @summary
|
|
3479
|
-
* @param {
|
|
3478
|
+
* @summary 工单冻结
|
|
3479
|
+
* @param {WorkOrderApiWorkOrderFreezeRequest} requestParameters Request parameters.
|
|
3480
3480
|
* @param {*} [options] Override http request option.
|
|
3481
3481
|
* @throws {RequiredError}
|
|
3482
3482
|
*/
|
|
3483
|
-
|
|
3484
|
-
return localVarFp.
|
|
3483
|
+
workOrderFreeze(requestParameters, options) {
|
|
3484
|
+
return localVarFp.workOrderFreeze(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3485
3485
|
},
|
|
3486
3486
|
/**
|
|
3487
3487
|
*
|
|
3488
|
-
* @summary
|
|
3489
|
-
* @param {
|
|
3488
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
3489
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
3490
3490
|
* @param {*} [options] Override http request option.
|
|
3491
3491
|
* @throws {RequiredError}
|
|
3492
3492
|
*/
|
|
3493
|
-
|
|
3494
|
-
return localVarFp.
|
|
3493
|
+
workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters, options) {
|
|
3494
|
+
return localVarFp.workOrderIssueTypeSelectByWorkOrderIssueType(requestParameters.parkId, requestParameters.workOrderType, requestParameters.workOrderIssueType, options).then((request) => request(axios, basePath));
|
|
3495
3495
|
},
|
|
3496
3496
|
/**
|
|
3497
3497
|
*
|
|
3498
|
-
* @summary
|
|
3499
|
-
* @param {
|
|
3498
|
+
* @summary 新增或修改工单执行时效设置
|
|
3499
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
3500
3500
|
* @param {*} [options] Override http request option.
|
|
3501
3501
|
* @throws {RequiredError}
|
|
3502
3502
|
*/
|
|
3503
|
-
|
|
3504
|
-
return localVarFp.
|
|
3503
|
+
workOrderIssueTypeSettingsAddOrUpdate(requestParameters, options) {
|
|
3504
|
+
return localVarFp.workOrderIssueTypeSettingsAddOrUpdate(requestParameters.parkId, requestParameters.workOrderIssueTypeSettingsAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
3505
3505
|
},
|
|
3506
3506
|
/**
|
|
3507
3507
|
*
|
|
3508
|
-
* @summary
|
|
3509
|
-
* @param {
|
|
3508
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
3509
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
3510
3510
|
* @param {*} [options] Override http request option.
|
|
3511
3511
|
* @throws {RequiredError}
|
|
3512
3512
|
*/
|
|
3513
|
-
|
|
3514
|
-
return localVarFp.
|
|
3513
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
3514
|
+
return localVarFp.workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
3515
3515
|
},
|
|
3516
3516
|
/**
|
|
3517
3517
|
*
|
|
@@ -4077,47 +4077,47 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
4077
4077
|
}
|
|
4078
4078
|
/**
|
|
4079
4079
|
*
|
|
4080
|
-
* @summary
|
|
4081
|
-
* @param {
|
|
4080
|
+
* @summary 工单冻结
|
|
4081
|
+
* @param {WorkOrderApiWorkOrderFreezeRequest} requestParameters Request parameters.
|
|
4082
4082
|
* @param {*} [options] Override http request option.
|
|
4083
4083
|
* @throws {RequiredError}
|
|
4084
4084
|
* @memberof WorkOrderApi
|
|
4085
4085
|
*/
|
|
4086
|
-
|
|
4087
|
-
return WorkOrderApiFp(this.configuration).
|
|
4086
|
+
workOrderFreeze(requestParameters, options) {
|
|
4087
|
+
return WorkOrderApiFp(this.configuration).workOrderFreeze(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
4088
4088
|
}
|
|
4089
4089
|
/**
|
|
4090
4090
|
*
|
|
4091
|
-
* @summary
|
|
4092
|
-
* @param {
|
|
4091
|
+
* @summary 根据工单问题类型查询工单执行设置
|
|
4092
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSelectByWorkOrderIssueTypeRequest} requestParameters Request parameters.
|
|
4093
4093
|
* @param {*} [options] Override http request option.
|
|
4094
4094
|
* @throws {RequiredError}
|
|
4095
4095
|
* @memberof WorkOrderApi
|
|
4096
4096
|
*/
|
|
4097
|
-
|
|
4098
|
-
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));
|
|
4099
4099
|
}
|
|
4100
4100
|
/**
|
|
4101
4101
|
*
|
|
4102
|
-
* @summary
|
|
4103
|
-
* @param {
|
|
4102
|
+
* @summary 新增或修改工单执行时效设置
|
|
4103
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsAddOrUpdateRequest} requestParameters Request parameters.
|
|
4104
4104
|
* @param {*} [options] Override http request option.
|
|
4105
4105
|
* @throws {RequiredError}
|
|
4106
4106
|
* @memberof WorkOrderApi
|
|
4107
4107
|
*/
|
|
4108
|
-
|
|
4109
|
-
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));
|
|
4110
4110
|
}
|
|
4111
4111
|
/**
|
|
4112
4112
|
*
|
|
4113
|
-
* @summary
|
|
4114
|
-
* @param {
|
|
4113
|
+
* @summary 根据园区ID查询工单执行时效设置
|
|
4114
|
+
* @param {WorkOrderApiWorkOrderIssueTypeSettingsSelectByParkIdRequest} requestParameters Request parameters.
|
|
4115
4115
|
* @param {*} [options] Override http request option.
|
|
4116
4116
|
* @throws {RequiredError}
|
|
4117
4117
|
* @memberof WorkOrderApi
|
|
4118
4118
|
*/
|
|
4119
|
-
|
|
4120
|
-
return WorkOrderApiFp(this.configuration).
|
|
4119
|
+
workOrderIssueTypeSettingsSelectByParkId(requestParameters, options) {
|
|
4120
|
+
return WorkOrderApiFp(this.configuration).workOrderIssueTypeSettingsSelectByParkId(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
4121
4121
|
}
|
|
4122
4122
|
/**
|
|
4123
4123
|
*
|
|
@@ -200,13 +200,14 @@ 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';
|
|
208
208
|
export * from './json-result-monitoring-coverage-alert-work-order-details-dto';
|
|
209
209
|
export * from './json-result-network-monitor-repair-details-dto';
|
|
210
|
+
export * from './json-result-notice-entity';
|
|
210
211
|
export * from './json-result-offline-alert-work-order-details-dto';
|
|
211
212
|
export * from './json-result-page-dto-access-appointment-record-details-dto';
|
|
212
213
|
export * from './json-result-page-dto-access-blacklist-details-dto';
|
|
@@ -247,7 +248,7 @@ export * from './json-result-violation-work-order-details-dto';
|
|
|
247
248
|
export * from './json-result-void';
|
|
248
249
|
export * from './json-result-work-order-dept-settings-entity';
|
|
249
250
|
export * from './json-result-work-order-detail-dto';
|
|
250
|
-
export * from './json-result-work-order-
|
|
251
|
+
export * from './json-result-work-order-issue-type-settings-entity';
|
|
251
252
|
export * from './login-body';
|
|
252
253
|
export * from './login-type-enum';
|
|
253
254
|
export * from './maintenance-history-dto';
|
|
@@ -267,7 +268,8 @@ export * from './network-monitor-repair-details-dto';
|
|
|
267
268
|
export * from './network-repair-info';
|
|
268
269
|
export * from './news-in-button';
|
|
269
270
|
export * from './news-info';
|
|
270
|
-
export * from './notice-vo';
|
|
271
|
+
export * from './notice-add-vo';
|
|
272
|
+
export * from './notice-entity';
|
|
271
273
|
export * from './offline-alert-device-vo';
|
|
272
274
|
export * from './offline-alert-submit-vo';
|
|
273
275
|
export * from './offline-alert-work-order-details-dto';
|
|
@@ -396,7 +398,6 @@ export * from './sys-user-attachment-info';
|
|
|
396
398
|
export * from './sys-user-drop-down-box-list-dto';
|
|
397
399
|
export * from './sys-user-info-dto';
|
|
398
400
|
export * from './sys-user-msg-dto';
|
|
399
|
-
export * from './sys-user-msg-notice-add-vo';
|
|
400
401
|
export * from './sys-user-role';
|
|
401
402
|
export * from './system-user-msg-source-type-enum';
|
|
402
403
|
export * from './system-user-msg-type-enum';
|
|
@@ -434,8 +435,6 @@ export * from './work-order-dept-settings-add-or-update-vo';
|
|
|
434
435
|
export * from './work-order-dept-settings-entity';
|
|
435
436
|
export * from './work-order-detail-dto';
|
|
436
437
|
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
438
|
export * from './work-order-ext-data';
|
|
440
439
|
export * from './work-order-handler-dto';
|
|
441
440
|
export * from './work-order-handler-status-enum';
|
|
@@ -443,6 +442,8 @@ export * from './work-order-inspection-detail-dto';
|
|
|
443
442
|
export * from './work-order-inspection-item-req';
|
|
444
443
|
export * from './work-order-internal-status-enum';
|
|
445
444
|
export * from './work-order-issue-type-enum';
|
|
445
|
+
export * from './work-order-issue-type-settings-add-or-update-vo';
|
|
446
|
+
export * from './work-order-issue-type-settings-entity';
|
|
446
447
|
export * from './work-order-liability-party-enum';
|
|
447
448
|
export * from './work-order-plan-holidays-enum';
|
|
448
449
|
export * from './work-order-plan-repeats-enum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -200,13 +200,14 @@ 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';
|
|
208
208
|
export * from './json-result-monitoring-coverage-alert-work-order-details-dto';
|
|
209
209
|
export * from './json-result-network-monitor-repair-details-dto';
|
|
210
|
+
export * from './json-result-notice-entity';
|
|
210
211
|
export * from './json-result-offline-alert-work-order-details-dto';
|
|
211
212
|
export * from './json-result-page-dto-access-appointment-record-details-dto';
|
|
212
213
|
export * from './json-result-page-dto-access-blacklist-details-dto';
|
|
@@ -247,7 +248,7 @@ export * from './json-result-violation-work-order-details-dto';
|
|
|
247
248
|
export * from './json-result-void';
|
|
248
249
|
export * from './json-result-work-order-dept-settings-entity';
|
|
249
250
|
export * from './json-result-work-order-detail-dto';
|
|
250
|
-
export * from './json-result-work-order-
|
|
251
|
+
export * from './json-result-work-order-issue-type-settings-entity';
|
|
251
252
|
export * from './login-body';
|
|
252
253
|
export * from './login-type-enum';
|
|
253
254
|
export * from './maintenance-history-dto';
|
|
@@ -267,7 +268,8 @@ export * from './network-monitor-repair-details-dto';
|
|
|
267
268
|
export * from './network-repair-info';
|
|
268
269
|
export * from './news-in-button';
|
|
269
270
|
export * from './news-info';
|
|
270
|
-
export * from './notice-vo';
|
|
271
|
+
export * from './notice-add-vo';
|
|
272
|
+
export * from './notice-entity';
|
|
271
273
|
export * from './offline-alert-device-vo';
|
|
272
274
|
export * from './offline-alert-submit-vo';
|
|
273
275
|
export * from './offline-alert-work-order-details-dto';
|
|
@@ -396,7 +398,6 @@ export * from './sys-user-attachment-info';
|
|
|
396
398
|
export * from './sys-user-drop-down-box-list-dto';
|
|
397
399
|
export * from './sys-user-info-dto';
|
|
398
400
|
export * from './sys-user-msg-dto';
|
|
399
|
-
export * from './sys-user-msg-notice-add-vo';
|
|
400
401
|
export * from './sys-user-role';
|
|
401
402
|
export * from './system-user-msg-source-type-enum';
|
|
402
403
|
export * from './system-user-msg-type-enum';
|
|
@@ -434,8 +435,6 @@ export * from './work-order-dept-settings-add-or-update-vo';
|
|
|
434
435
|
export * from './work-order-dept-settings-entity';
|
|
435
436
|
export * from './work-order-detail-dto';
|
|
436
437
|
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
438
|
export * from './work-order-ext-data';
|
|
440
439
|
export * from './work-order-handler-dto';
|
|
441
440
|
export * from './work-order-handler-status-enum';
|
|
@@ -443,6 +442,8 @@ export * from './work-order-inspection-detail-dto';
|
|
|
443
442
|
export * from './work-order-inspection-item-req';
|
|
444
443
|
export * from './work-order-internal-status-enum';
|
|
445
444
|
export * from './work-order-issue-type-enum';
|
|
445
|
+
export * from './work-order-issue-type-settings-add-or-update-vo';
|
|
446
|
+
export * from './work-order-issue-type-settings-entity';
|
|
446
447
|
export * from './work-order-liability-party-enum';
|
|
447
448
|
export * from './work-order-plan-holidays-enum';
|
|
448
449
|
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
|
}
|