@gizone/rrs-client 3.11.17-alpha.99 → 4.0.0-alpha.105
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 +9 -0
- package/README.md +2 -2
- package/apis/work-order-api.ts +283 -0
- package/configuration.ts +1 -1
- package/dist/apis/work-order-api.d.ts +149 -0
- package/dist/apis/work-order-api.js +214 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/apis/work-order-api.d.ts +149 -0
- package/dist/esm/apis/work-order-api.js +214 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/equipment-detail-dto.d.ts +8 -14
- package/dist/esm/models/equipment-point-edit-vo.d.ts +2 -8
- package/dist/esm/models/equipment-search-system-dto.d.ts +6 -12
- package/dist/esm/models/get-user-wx200-response.d.ts +4 -4
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/json-result-violation-work-order-details-dto.d.ts +56 -0
- package/dist/esm/models/json-result-violation-work-order-details-dto.js +14 -0
- package/dist/esm/models/violation-center-attribute-enum.d.ts +21 -0
- package/dist/esm/models/violation-center-attribute-enum.js +22 -0
- package/dist/esm/models/violation-decision-vo.d.ts +68 -0
- package/dist/esm/models/violation-decision-vo.js +14 -0
- package/dist/esm/models/violation-issue-type-enum.d.ts +84 -0
- package/dist/esm/models/violation-issue-type-enum.js +85 -0
- package/dist/esm/models/violation-responsibility-role-enum.d.ts +21 -0
- package/dist/esm/models/violation-responsibility-role-enum.js +22 -0
- package/dist/esm/models/violation-work-order-add-vo.d.ts +87 -0
- package/dist/esm/models/violation-work-order-add-vo.js +14 -0
- package/dist/esm/models/violation-work-order-details-dto.d.ts +151 -0
- package/dist/esm/models/violation-work-order-details-dto.js +20 -0
- package/dist/esm/models/violation-work-order-info.d.ts +106 -0
- package/dist/esm/models/violation-work-order-info.js +14 -0
- package/dist/esm/models/work-order-approval-vo.d.ts +24 -0
- package/dist/esm/models/work-order-approval-vo.js +14 -0
- package/dist/esm/models/work-order-decision-vo.d.ts +7 -0
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +3 -0
- package/dist/esm/models/work-order-internal-status-enum.js +4 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +7 -1
- package/dist/esm/models/work-order-issue-type-enum.js +8 -2
- package/dist/esm/models/work-order-source-enum.d.ts +1 -0
- package/dist/esm/models/work-order-source-enum.js +2 -1
- package/dist/esm/models/work-order-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-type-enum.js +2 -1
- package/dist/models/equipment-detail-dto.d.ts +8 -14
- package/dist/models/equipment-point-edit-vo.d.ts +2 -8
- package/dist/models/equipment-search-system-dto.d.ts +6 -12
- package/dist/models/get-user-wx200-response.d.ts +4 -4
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/json-result-violation-work-order-details-dto.d.ts +56 -0
- package/dist/models/json-result-violation-work-order-details-dto.js +15 -0
- package/dist/models/violation-center-attribute-enum.d.ts +21 -0
- package/dist/models/violation-center-attribute-enum.js +25 -0
- package/dist/models/violation-decision-vo.d.ts +68 -0
- package/dist/models/violation-decision-vo.js +15 -0
- package/dist/models/violation-issue-type-enum.d.ts +84 -0
- package/dist/models/violation-issue-type-enum.js +88 -0
- package/dist/models/violation-responsibility-role-enum.d.ts +21 -0
- package/dist/models/violation-responsibility-role-enum.js +25 -0
- package/dist/models/violation-work-order-add-vo.d.ts +87 -0
- package/dist/models/violation-work-order-add-vo.js +15 -0
- package/dist/models/violation-work-order-details-dto.d.ts +151 -0
- package/dist/models/violation-work-order-details-dto.js +23 -0
- package/dist/models/violation-work-order-info.d.ts +106 -0
- package/dist/models/violation-work-order-info.js +15 -0
- package/dist/models/work-order-approval-vo.d.ts +24 -0
- package/dist/models/work-order-approval-vo.js +15 -0
- package/dist/models/work-order-decision-vo.d.ts +7 -0
- package/dist/models/work-order-ext-data.d.ts +7 -0
- package/dist/models/work-order-internal-status-enum.d.ts +3 -0
- package/dist/models/work-order-internal-status-enum.js +4 -1
- package/dist/models/work-order-issue-type-enum.d.ts +7 -1
- package/dist/models/work-order-issue-type-enum.js +8 -2
- package/dist/models/work-order-source-enum.d.ts +1 -0
- package/dist/models/work-order-source-enum.js +2 -1
- package/dist/models/work-order-type-enum.d.ts +1 -0
- package/dist/models/work-order-type-enum.js +2 -1
- package/models/equipment-detail-dto.ts +8 -14
- package/models/equipment-point-edit-vo.ts +2 -8
- package/models/equipment-search-system-dto.ts +6 -12
- package/models/get-user-wx200-response.ts +4 -4
- package/models/index.ts +9 -0
- package/models/json-result-violation-work-order-details-dto.ts +66 -0
- package/models/violation-center-attribute-enum.ts +31 -0
- package/models/violation-decision-vo.ts +80 -0
- package/models/violation-issue-type-enum.ts +94 -0
- package/models/violation-responsibility-role-enum.ts +31 -0
- package/models/violation-work-order-add-vo.ts +101 -0
- package/models/violation-work-order-details-dto.ts +182 -0
- package/models/violation-work-order-info.ts +122 -0
- package/models/work-order-approval-vo.ts +30 -0
- package/models/work-order-decision-vo.ts +9 -0
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-internal-status-enum.ts +4 -1
- package/models/work-order-issue-type-enum.ts +8 -2
- package/models/work-order-source-enum.ts +2 -1
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
|
@@ -1023,6 +1023,43 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1023
1023
|
options: localVarRequestOptions,
|
|
1024
1024
|
};
|
|
1025
1025
|
}),
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @summary 工单审批
|
|
1029
|
+
* @param {number} workOrderId
|
|
1030
|
+
* @param {WorkOrderApprovalVo} workOrderApprovalVo
|
|
1031
|
+
* @param {*} [options] Override http request option.
|
|
1032
|
+
* @throws {RequiredError}
|
|
1033
|
+
*/
|
|
1034
|
+
workOrderApproval: (workOrderId_1, workOrderApprovalVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderApprovalVo_1, ...args_1], void 0, function* (workOrderId, workOrderApprovalVo, options = {}) {
|
|
1035
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
1036
|
+
assertParamExists('workOrderApproval', 'workOrderId', workOrderId);
|
|
1037
|
+
// verify required parameter 'workOrderApprovalVo' is not null or undefined
|
|
1038
|
+
assertParamExists('workOrderApproval', 'workOrderApprovalVo', workOrderApprovalVo);
|
|
1039
|
+
const localVarPath = `/gizone/workOrder/approval/{workOrderId}`
|
|
1040
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1041
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1042
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1043
|
+
let baseOptions;
|
|
1044
|
+
if (configuration) {
|
|
1045
|
+
baseOptions = configuration.baseOptions;
|
|
1046
|
+
}
|
|
1047
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1048
|
+
const localVarHeaderParameter = {};
|
|
1049
|
+
const localVarQueryParameter = {};
|
|
1050
|
+
// authentication tokenScheme required
|
|
1051
|
+
// http bearer authentication required
|
|
1052
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1053
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1054
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1055
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1056
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1057
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderApprovalVo, localVarRequestOptions, configuration);
|
|
1058
|
+
return {
|
|
1059
|
+
url: toPathString(localVarUrlObj),
|
|
1060
|
+
options: localVarRequestOptions,
|
|
1061
|
+
};
|
|
1062
|
+
}),
|
|
1026
1063
|
/**
|
|
1027
1064
|
*
|
|
1028
1065
|
* @summary 工单判定
|
|
@@ -1722,6 +1759,71 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1722
1759
|
options: localVarRequestOptions,
|
|
1723
1760
|
};
|
|
1724
1761
|
}),
|
|
1762
|
+
/**
|
|
1763
|
+
*
|
|
1764
|
+
* @summary 新建违规工单
|
|
1765
|
+
* @param {ViolationWorkOrderAddVo} violationWorkOrderAddVo
|
|
1766
|
+
* @param {*} [options] Override http request option.
|
|
1767
|
+
* @throws {RequiredError}
|
|
1768
|
+
*/
|
|
1769
|
+
workOrderViolationAdd: (violationWorkOrderAddVo_1, ...args_1) => __awaiter(this, [violationWorkOrderAddVo_1, ...args_1], void 0, function* (violationWorkOrderAddVo, options = {}) {
|
|
1770
|
+
// verify required parameter 'violationWorkOrderAddVo' is not null or undefined
|
|
1771
|
+
assertParamExists('workOrderViolationAdd', 'violationWorkOrderAddVo', violationWorkOrderAddVo);
|
|
1772
|
+
const localVarPath = `/gizone/workOrder/violation`;
|
|
1773
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1774
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1775
|
+
let baseOptions;
|
|
1776
|
+
if (configuration) {
|
|
1777
|
+
baseOptions = configuration.baseOptions;
|
|
1778
|
+
}
|
|
1779
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1780
|
+
const localVarHeaderParameter = {};
|
|
1781
|
+
const localVarQueryParameter = {};
|
|
1782
|
+
// authentication tokenScheme required
|
|
1783
|
+
// http bearer authentication required
|
|
1784
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1785
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1786
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1787
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1788
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1789
|
+
localVarRequestOptions.data = serializeDataIfNeeded(violationWorkOrderAddVo, localVarRequestOptions, configuration);
|
|
1790
|
+
return {
|
|
1791
|
+
url: toPathString(localVarUrlObj),
|
|
1792
|
+
options: localVarRequestOptions,
|
|
1793
|
+
};
|
|
1794
|
+
}),
|
|
1795
|
+
/**
|
|
1796
|
+
*
|
|
1797
|
+
* @summary 违规工单详情
|
|
1798
|
+
* @param {number} workOrderId
|
|
1799
|
+
* @param {*} [options] Override http request option.
|
|
1800
|
+
* @throws {RequiredError}
|
|
1801
|
+
*/
|
|
1802
|
+
workOrderViolationDetails: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
1803
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
1804
|
+
assertParamExists('workOrderViolationDetails', 'workOrderId', workOrderId);
|
|
1805
|
+
const localVarPath = `/gizone/workOrder/violation/{workOrderId}`
|
|
1806
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1807
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1808
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1809
|
+
let baseOptions;
|
|
1810
|
+
if (configuration) {
|
|
1811
|
+
baseOptions = configuration.baseOptions;
|
|
1812
|
+
}
|
|
1813
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1814
|
+
const localVarHeaderParameter = {};
|
|
1815
|
+
const localVarQueryParameter = {};
|
|
1816
|
+
// authentication tokenScheme required
|
|
1817
|
+
// http bearer authentication required
|
|
1818
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1819
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1820
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1821
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1822
|
+
return {
|
|
1823
|
+
url: toPathString(localVarUrlObj),
|
|
1824
|
+
options: localVarRequestOptions,
|
|
1825
|
+
};
|
|
1826
|
+
}),
|
|
1725
1827
|
};
|
|
1726
1828
|
};
|
|
1727
1829
|
/**
|
|
@@ -2184,6 +2286,23 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2184
2286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2185
2287
|
});
|
|
2186
2288
|
},
|
|
2289
|
+
/**
|
|
2290
|
+
*
|
|
2291
|
+
* @summary 工单审批
|
|
2292
|
+
* @param {number} workOrderId
|
|
2293
|
+
* @param {WorkOrderApprovalVo} workOrderApprovalVo
|
|
2294
|
+
* @param {*} [options] Override http request option.
|
|
2295
|
+
* @throws {RequiredError}
|
|
2296
|
+
*/
|
|
2297
|
+
workOrderApproval(workOrderId, workOrderApprovalVo, options) {
|
|
2298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2299
|
+
var _a, _b, _c;
|
|
2300
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderApproval(workOrderId, workOrderApprovalVo, options);
|
|
2301
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2302
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderApproval']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2303
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2304
|
+
});
|
|
2305
|
+
},
|
|
2187
2306
|
/**
|
|
2188
2307
|
*
|
|
2189
2308
|
* @summary 工单判定
|
|
@@ -2508,6 +2627,38 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2508
2627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2509
2628
|
});
|
|
2510
2629
|
},
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @summary 新建违规工单
|
|
2633
|
+
* @param {ViolationWorkOrderAddVo} violationWorkOrderAddVo
|
|
2634
|
+
* @param {*} [options] Override http request option.
|
|
2635
|
+
* @throws {RequiredError}
|
|
2636
|
+
*/
|
|
2637
|
+
workOrderViolationAdd(violationWorkOrderAddVo, options) {
|
|
2638
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2639
|
+
var _a, _b, _c;
|
|
2640
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderViolationAdd(violationWorkOrderAddVo, options);
|
|
2641
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2642
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderViolationAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2643
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2644
|
+
});
|
|
2645
|
+
},
|
|
2646
|
+
/**
|
|
2647
|
+
*
|
|
2648
|
+
* @summary 违规工单详情
|
|
2649
|
+
* @param {number} workOrderId
|
|
2650
|
+
* @param {*} [options] Override http request option.
|
|
2651
|
+
* @throws {RequiredError}
|
|
2652
|
+
*/
|
|
2653
|
+
workOrderViolationDetails(workOrderId, options) {
|
|
2654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2655
|
+
var _a, _b, _c;
|
|
2656
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderViolationDetails(workOrderId, options);
|
|
2657
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2658
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderViolationDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2659
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2660
|
+
});
|
|
2661
|
+
},
|
|
2511
2662
|
};
|
|
2512
2663
|
};
|
|
2513
2664
|
/**
|
|
@@ -2787,6 +2938,16 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2787
2938
|
workCloseBatch(requestParameters, options) {
|
|
2788
2939
|
return localVarFp.workCloseBatch(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
2789
2940
|
},
|
|
2941
|
+
/**
|
|
2942
|
+
*
|
|
2943
|
+
* @summary 工单审批
|
|
2944
|
+
* @param {WorkOrderApiWorkOrderApprovalRequest} requestParameters Request parameters.
|
|
2945
|
+
* @param {*} [options] Override http request option.
|
|
2946
|
+
* @throws {RequiredError}
|
|
2947
|
+
*/
|
|
2948
|
+
workOrderApproval(requestParameters, options) {
|
|
2949
|
+
return localVarFp.workOrderApproval(requestParameters.workOrderId, requestParameters.workOrderApprovalVo, options).then((request) => request(axios, basePath));
|
|
2950
|
+
},
|
|
2790
2951
|
/**
|
|
2791
2952
|
*
|
|
2792
2953
|
* @summary 工单判定
|
|
@@ -2977,6 +3138,26 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2977
3138
|
workOrderStagingData(requestParameters, options) {
|
|
2978
3139
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
2979
3140
|
},
|
|
3141
|
+
/**
|
|
3142
|
+
*
|
|
3143
|
+
* @summary 新建违规工单
|
|
3144
|
+
* @param {WorkOrderApiWorkOrderViolationAddRequest} requestParameters Request parameters.
|
|
3145
|
+
* @param {*} [options] Override http request option.
|
|
3146
|
+
* @throws {RequiredError}
|
|
3147
|
+
*/
|
|
3148
|
+
workOrderViolationAdd(requestParameters, options) {
|
|
3149
|
+
return localVarFp.workOrderViolationAdd(requestParameters.violationWorkOrderAddVo, options).then((request) => request(axios, basePath));
|
|
3150
|
+
},
|
|
3151
|
+
/**
|
|
3152
|
+
*
|
|
3153
|
+
* @summary 违规工单详情
|
|
3154
|
+
* @param {WorkOrderApiWorkOrderViolationDetailsRequest} requestParameters Request parameters.
|
|
3155
|
+
* @param {*} [options] Override http request option.
|
|
3156
|
+
* @throws {RequiredError}
|
|
3157
|
+
*/
|
|
3158
|
+
workOrderViolationDetails(requestParameters, options) {
|
|
3159
|
+
return localVarFp.workOrderViolationDetails(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3160
|
+
},
|
|
2980
3161
|
};
|
|
2981
3162
|
};
|
|
2982
3163
|
/**
|
|
@@ -3283,6 +3464,17 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3283
3464
|
workCloseBatch(requestParameters, options) {
|
|
3284
3465
|
return WorkOrderApiFp(this.configuration).workCloseBatch(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
3285
3466
|
}
|
|
3467
|
+
/**
|
|
3468
|
+
*
|
|
3469
|
+
* @summary 工单审批
|
|
3470
|
+
* @param {WorkOrderApiWorkOrderApprovalRequest} requestParameters Request parameters.
|
|
3471
|
+
* @param {*} [options] Override http request option.
|
|
3472
|
+
* @throws {RequiredError}
|
|
3473
|
+
* @memberof WorkOrderApi
|
|
3474
|
+
*/
|
|
3475
|
+
workOrderApproval(requestParameters, options) {
|
|
3476
|
+
return WorkOrderApiFp(this.configuration).workOrderApproval(requestParameters.workOrderId, requestParameters.workOrderApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
3477
|
+
}
|
|
3286
3478
|
/**
|
|
3287
3479
|
*
|
|
3288
3480
|
* @summary 工单判定
|
|
@@ -3492,6 +3684,28 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3492
3684
|
workOrderStagingData(requestParameters, options) {
|
|
3493
3685
|
return WorkOrderApiFp(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
3494
3686
|
}
|
|
3687
|
+
/**
|
|
3688
|
+
*
|
|
3689
|
+
* @summary 新建违规工单
|
|
3690
|
+
* @param {WorkOrderApiWorkOrderViolationAddRequest} requestParameters Request parameters.
|
|
3691
|
+
* @param {*} [options] Override http request option.
|
|
3692
|
+
* @throws {RequiredError}
|
|
3693
|
+
* @memberof WorkOrderApi
|
|
3694
|
+
*/
|
|
3695
|
+
workOrderViolationAdd(requestParameters, options) {
|
|
3696
|
+
return WorkOrderApiFp(this.configuration).workOrderViolationAdd(requestParameters.violationWorkOrderAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
3697
|
+
}
|
|
3698
|
+
/**
|
|
3699
|
+
*
|
|
3700
|
+
* @summary 违规工单详情
|
|
3701
|
+
* @param {WorkOrderApiWorkOrderViolationDetailsRequest} requestParameters Request parameters.
|
|
3702
|
+
* @param {*} [options] Override http request option.
|
|
3703
|
+
* @throws {RequiredError}
|
|
3704
|
+
* @memberof WorkOrderApi
|
|
3705
|
+
*/
|
|
3706
|
+
workOrderViolationDetails(requestParameters, options) {
|
|
3707
|
+
return WorkOrderApiFp(this.configuration).workOrderViolationDetails(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
3708
|
+
}
|
|
3495
3709
|
}
|
|
3496
3710
|
/**
|
|
3497
3711
|
* @export
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.0.0/typescript-axios" }) }, param.baseOptions);
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -153,12 +153,18 @@ export interface EquipmentDetailDTO {
|
|
|
153
153
|
* @memberof EquipmentDetailDTO
|
|
154
154
|
*/
|
|
155
155
|
'planImage'?: string;
|
|
156
|
+
/**
|
|
157
|
+
* 设备点位
|
|
158
|
+
* @type {Array<number>}
|
|
159
|
+
* @memberof EquipmentDetailDTO
|
|
160
|
+
*/
|
|
161
|
+
'equipmentPoint'?: Array<number>;
|
|
156
162
|
/**
|
|
157
163
|
* 空间点位
|
|
158
|
-
* @type {
|
|
164
|
+
* @type {Array<Array<number>>}
|
|
159
165
|
* @memberof EquipmentDetailDTO
|
|
160
166
|
*/
|
|
161
|
-
'spacePoint'?:
|
|
167
|
+
'spacePoint'?: Array<Array<number>>;
|
|
162
168
|
/**
|
|
163
169
|
* 空间id
|
|
164
170
|
* @type {number}
|
|
@@ -213,16 +219,4 @@ export interface EquipmentDetailDTO {
|
|
|
213
219
|
* @memberof EquipmentDetailDTO
|
|
214
220
|
*/
|
|
215
221
|
'relatedEquipmentIds'?: Array<number>;
|
|
216
|
-
/**
|
|
217
|
-
*
|
|
218
|
-
* @type {string}
|
|
219
|
-
* @memberof EquipmentDetailDTO
|
|
220
|
-
*/
|
|
221
|
-
'xaxis'?: string;
|
|
222
|
-
/**
|
|
223
|
-
*
|
|
224
|
-
* @type {string}
|
|
225
|
-
* @memberof EquipmentDetailDTO
|
|
226
|
-
*/
|
|
227
|
-
'yaxis'?: string;
|
|
228
222
|
}
|
|
@@ -23,14 +23,8 @@ export interface EquipmentPointEditVo {
|
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
25
|
* 点位编码
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {Array<number>}
|
|
27
27
|
* @memberof EquipmentPointEditVo
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
30
|
-
/**
|
|
31
|
-
* 点位编码
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof EquipmentPointEditVo
|
|
34
|
-
*/
|
|
35
|
-
'equipmentPointYAxis'?: string;
|
|
29
|
+
'equipmentPoint'?: Array<number>;
|
|
36
30
|
}
|
|
@@ -166,12 +166,6 @@ export interface EquipmentSearchSystemDTO {
|
|
|
166
166
|
* @memberof EquipmentSearchSystemDTO
|
|
167
167
|
*/
|
|
168
168
|
'planImage'?: string;
|
|
169
|
-
/**
|
|
170
|
-
* 空间点位
|
|
171
|
-
* @type {string}
|
|
172
|
-
* @memberof EquipmentSearchSystemDTO
|
|
173
|
-
*/
|
|
174
|
-
'spacePoint'?: string;
|
|
175
169
|
/**
|
|
176
170
|
* 出厂时间
|
|
177
171
|
* @type {string}
|
|
@@ -227,15 +221,15 @@ export interface EquipmentSearchSystemDTO {
|
|
|
227
221
|
*/
|
|
228
222
|
'relatedEquipmentIds'?: Array<number>;
|
|
229
223
|
/**
|
|
230
|
-
*
|
|
231
|
-
* @type {
|
|
224
|
+
* 设备点位
|
|
225
|
+
* @type {Array<number>}
|
|
232
226
|
* @memberof EquipmentSearchSystemDTO
|
|
233
227
|
*/
|
|
234
|
-
'
|
|
228
|
+
'equipmentPoint'?: Array<number>;
|
|
235
229
|
/**
|
|
236
|
-
*
|
|
237
|
-
* @type {
|
|
230
|
+
* 空间点位
|
|
231
|
+
* @type {Array<Array<number>>}
|
|
238
232
|
* @memberof EquipmentSearchSystemDTO
|
|
239
233
|
*/
|
|
240
|
-
'
|
|
234
|
+
'spacePoint'?: Array<Array<number>>;
|
|
241
235
|
}
|
|
@@ -55,16 +55,16 @@ export interface GetUserWx200Response {
|
|
|
55
55
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {
|
|
58
|
+
* @type {GetUserWx200ResponseLocale}
|
|
59
59
|
* @memberof GetUserWx200Response
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {number}
|
|
65
65
|
* @memberof GetUserWx200Response
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'bufferSize'?: number;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {string}
|
|
@@ -536,6 +536,7 @@ export * from './json-result-sys-user-msg-dto';
|
|
|
536
536
|
export * from './json-result-unloading-area-entity';
|
|
537
537
|
export * from './json-result-user-add-redis-list-vo';
|
|
538
538
|
export * from './json-result-user-settings-entity';
|
|
539
|
+
export * from './json-result-violation-work-order-details-dto';
|
|
539
540
|
export * from './json-result-void';
|
|
540
541
|
export * from './json-result-white-add-redis-list-dto';
|
|
541
542
|
export * from './json-result-work-order-dept-settings-entity';
|
|
@@ -820,6 +821,13 @@ export * from './user-settings-update-bo';
|
|
|
820
821
|
export * from './user-whether-privacy-dto';
|
|
821
822
|
export * from './user-white-del-dto';
|
|
822
823
|
export * from './vehicle-payment-bo';
|
|
824
|
+
export * from './violation-center-attribute-enum';
|
|
825
|
+
export * from './violation-decision-vo';
|
|
826
|
+
export * from './violation-issue-type-enum';
|
|
827
|
+
export * from './violation-responsibility-role-enum';
|
|
828
|
+
export * from './violation-work-order-add-vo';
|
|
829
|
+
export * from './violation-work-order-details-dto';
|
|
830
|
+
export * from './violation-work-order-info';
|
|
823
831
|
export * from './water-meter-add-or-edit-vo';
|
|
824
832
|
export * from './water-meter-details-search-vo';
|
|
825
833
|
export * from './water-meter-search-vo';
|
|
@@ -835,6 +843,7 @@ export * from './white-black-del-vo';
|
|
|
835
843
|
export * from './white-edit-vo';
|
|
836
844
|
export * from './white-search-vo';
|
|
837
845
|
export * from './work-order-add-vo';
|
|
846
|
+
export * from './work-order-approval-vo';
|
|
838
847
|
export * from './work-order-circulation-vo';
|
|
839
848
|
export * from './work-order-comment-dto';
|
|
840
849
|
export * from './work-order-comment-entity';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -536,6 +536,7 @@ export * from './json-result-sys-user-msg-dto';
|
|
|
536
536
|
export * from './json-result-unloading-area-entity';
|
|
537
537
|
export * from './json-result-user-add-redis-list-vo';
|
|
538
538
|
export * from './json-result-user-settings-entity';
|
|
539
|
+
export * from './json-result-violation-work-order-details-dto';
|
|
539
540
|
export * from './json-result-void';
|
|
540
541
|
export * from './json-result-white-add-redis-list-dto';
|
|
541
542
|
export * from './json-result-work-order-dept-settings-entity';
|
|
@@ -820,6 +821,13 @@ export * from './user-settings-update-bo';
|
|
|
820
821
|
export * from './user-whether-privacy-dto';
|
|
821
822
|
export * from './user-white-del-dto';
|
|
822
823
|
export * from './vehicle-payment-bo';
|
|
824
|
+
export * from './violation-center-attribute-enum';
|
|
825
|
+
export * from './violation-decision-vo';
|
|
826
|
+
export * from './violation-issue-type-enum';
|
|
827
|
+
export * from './violation-responsibility-role-enum';
|
|
828
|
+
export * from './violation-work-order-add-vo';
|
|
829
|
+
export * from './violation-work-order-details-dto';
|
|
830
|
+
export * from './violation-work-order-info';
|
|
823
831
|
export * from './water-meter-add-or-edit-vo';
|
|
824
832
|
export * from './water-meter-details-search-vo';
|
|
825
833
|
export * from './water-meter-search-vo';
|
|
@@ -835,6 +843,7 @@ export * from './white-black-del-vo';
|
|
|
835
843
|
export * from './white-edit-vo';
|
|
836
844
|
export * from './white-search-vo';
|
|
837
845
|
export * from './work-order-add-vo';
|
|
846
|
+
export * from './work-order-approval-vo';
|
|
838
847
|
export * from './work-order-circulation-vo';
|
|
839
848
|
export * from './work-order-comment-dto';
|
|
840
849
|
export * from './work-order-comment-entity';
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { ViolationWorkOrderDetailsDto } from './violation-work-order-details-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JsonResultViolationWorkOrderDetailsDto
|
|
18
|
+
*/
|
|
19
|
+
export interface JsonResultViolationWorkOrderDetailsDto {
|
|
20
|
+
/**
|
|
21
|
+
* 错误码,0:成功,其他:失败
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof JsonResultViolationWorkOrderDetailsDto
|
|
24
|
+
*/
|
|
25
|
+
'code'?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 错误消息
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JsonResultViolationWorkOrderDetailsDto
|
|
30
|
+
*/
|
|
31
|
+
'msg'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 错误堆栈
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JsonResultViolationWorkOrderDetailsDto
|
|
36
|
+
*/
|
|
37
|
+
'stacks'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ViolationWorkOrderDetailsDto}
|
|
41
|
+
* @memberof JsonResultViolationWorkOrderDetailsDto
|
|
42
|
+
*/
|
|
43
|
+
'data'?: ViolationWorkOrderDetailsDto | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BaseErrorResult}
|
|
47
|
+
* @memberof JsonResultViolationWorkOrderDetailsDto
|
|
48
|
+
*/
|
|
49
|
+
'error'?: BaseErrorResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* 日志追踪ID
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof JsonResultViolationWorkOrderDetailsDto
|
|
54
|
+
*/
|
|
55
|
+
'traceId'?: string | null;
|
|
56
|
+
}
|
|
@@ -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,21 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* 违规工单中心属性
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const ViolationCenterAttributeEnum: {
|
|
18
|
+
readonly OriginWarehouse: "ORIGIN_WAREHOUSE";
|
|
19
|
+
readonly BelongWarehouse: "BELONG_WAREHOUSE";
|
|
20
|
+
};
|
|
21
|
+
export type ViolationCenterAttributeEnum = typeof ViolationCenterAttributeEnum[keyof typeof ViolationCenterAttributeEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* 违规工单中心属性
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const ViolationCenterAttributeEnum = {
|
|
20
|
+
OriginWarehouse: 'ORIGIN_WAREHOUSE',
|
|
21
|
+
BelongWarehouse: 'BELONG_WAREHOUSE'
|
|
22
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { ViolationCenterAttributeEnum } from './violation-center-attribute-enum';
|
|
13
|
+
import type { ViolationResponsibilityRoleEnum } from './violation-responsibility-role-enum';
|
|
14
|
+
/**
|
|
15
|
+
* 违规工单判定参数
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ViolationDecisionVo
|
|
18
|
+
*/
|
|
19
|
+
export interface ViolationDecisionVo {
|
|
20
|
+
/**
|
|
21
|
+
* 是否成立
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof ViolationDecisionVo
|
|
24
|
+
*/
|
|
25
|
+
'isEstablished'?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 违规数量
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ViolationDecisionVo
|
|
30
|
+
*/
|
|
31
|
+
'violationCount'?: number;
|
|
32
|
+
/**
|
|
33
|
+
* OMS订单号
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ViolationDecisionVo
|
|
36
|
+
*/
|
|
37
|
+
'omsNo'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ViolationResponsibilityRoleEnum}
|
|
41
|
+
* @memberof ViolationDecisionVo
|
|
42
|
+
*/
|
|
43
|
+
'responsibilityRole'?: ViolationResponsibilityRoleEnum;
|
|
44
|
+
/**
|
|
45
|
+
* 责任供应商
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ViolationDecisionVo
|
|
48
|
+
*/
|
|
49
|
+
'responsibilitySupplier'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* 责任人
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ViolationDecisionVo
|
|
54
|
+
*/
|
|
55
|
+
'responsibilityUser'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ViolationCenterAttributeEnum}
|
|
59
|
+
* @memberof ViolationDecisionVo
|
|
60
|
+
*/
|
|
61
|
+
'centerAttribute'?: ViolationCenterAttributeEnum;
|
|
62
|
+
/**
|
|
63
|
+
* 索赔内容
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ViolationDecisionVo
|
|
66
|
+
*/
|
|
67
|
+
'claimContent'?: string;
|
|
68
|
+
}
|
|
@@ -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 {};
|