@gizone/rrs-client 4.1.2-alpha.182 → 4.1.3-alpha.184
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 +18 -1
- package/README.md +2 -2
- package/api.ts +1 -0
- package/apis/equipment-api.ts +0 -91
- package/apis/offline-alert-work-order-controller-api.ts +149 -0
- package/apis/open-api-api.ts +312 -0
- package/apis/space-api.ts +4 -118
- package/apis/work-order-api.ts +103 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/equipment-api.d.ts +0 -47
- package/dist/apis/equipment-api.js +0 -70
- package/dist/apis/offline-alert-work-order-controller-api.d.ts +87 -0
- package/dist/apis/offline-alert-work-order-controller-api.js +138 -0
- package/dist/apis/open-api-api.d.ts +166 -0
- package/dist/apis/open-api-api.js +226 -0
- package/dist/apis/space-api.d.ts +4 -65
- package/dist/apis/space-api.js +0 -81
- package/dist/apis/work-order-api.d.ts +55 -0
- package/dist/apis/work-order-api.js +75 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/equipment-api.d.ts +0 -47
- package/dist/esm/apis/equipment-api.js +0 -70
- package/dist/esm/apis/offline-alert-work-order-controller-api.d.ts +87 -0
- package/dist/esm/apis/offline-alert-work-order-controller-api.js +131 -0
- package/dist/esm/apis/open-api-api.d.ts +166 -0
- package/dist/esm/apis/open-api-api.js +227 -1
- package/dist/esm/apis/space-api.d.ts +4 -65
- package/dist/esm/apis/space-api.js +0 -81
- package/dist/esm/apis/work-order-api.d.ts +55 -0
- package/dist/esm/apis/work-order-api.js +75 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/equipment-detail-dto.d.ts +23 -3
- package/dist/esm/models/equipment-edit-batch-vo.d.ts +3 -2
- package/dist/esm/models/equipment-edit-vo.d.ts +17 -3
- package/dist/esm/models/equipment-search-system-dto.d.ts +23 -3
- package/dist/esm/models/equipment-search-vo.d.ts +4 -3
- package/dist/esm/models/equipment-status-enum.d.ts +25 -0
- package/dist/esm/models/equipment-status-enum.js +26 -0
- package/dist/esm/models/equipment-status.d.ts +30 -0
- package/dist/esm/models/equipment-status.js +14 -0
- package/dist/esm/models/equipment-tree-details-dto.d.ts +23 -3
- package/dist/esm/models/excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +43 -0
- package/dist/esm/models/excel-import-upload-to-redis-vo-space-add-excel-dto.js +14 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +6 -6
- package/dist/esm/models/index.d.ts +17 -1
- package/dist/esm/models/index.js +17 -1
- package/dist/esm/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +62 -0
- package/dist/esm/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.js +14 -0
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.js +14 -0
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +13 -0
- package/dist/esm/models/offline-alert-device-vo.d.ts +30 -0
- package/dist/esm/models/offline-alert-device-vo.js +14 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +43 -0
- package/dist/esm/models/offline-alert-submit-vo.js +14 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +91 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.js +14 -0
- package/dist/esm/models/offline-alert-work-order-info.d.ts +72 -0
- package/dist/esm/models/offline-alert-work-order-info.js +21 -0
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +43 -0
- package/dist/esm/models/offline-alert-work-order-vo.js +14 -0
- package/dist/esm/models/park-info-dto.d.ts +6 -0
- package/dist/esm/models/result-code.d.ts +1 -0
- package/dist/esm/models/result-code.js +1 -0
- package/dist/esm/models/source-work-order-dto.d.ts +37 -0
- package/dist/esm/models/source-work-order-dto.js +14 -0
- package/dist/esm/models/space-add-excel-dto.d.ts +28 -10
- package/dist/esm/models/space-add-vo.d.ts +22 -9
- package/dist/esm/models/space-detail-dto.d.ts +16 -3
- package/dist/esm/models/space-edit-vo.d.ts +16 -3
- package/dist/esm/models/{space-industry-attribute.d.ts → space-industry-attribute-enum.d.ts} +2 -2
- package/dist/esm/models/{space-industry-attribute.js → space-industry-attribute-enum.js} +1 -1
- package/dist/esm/models/space-level-enum.d.ts +23 -0
- package/dist/esm/models/space-level-enum.js +24 -0
- package/dist/esm/models/space-tree-dto.d.ts +16 -3
- package/dist/esm/models/space.d.ts +3 -3
- package/dist/esm/models/sync-equipment-status-vo.d.ts +37 -0
- package/dist/esm/models/sync-equipment-status-vo.js +14 -0
- package/dist/esm/models/sync-equipment-vo-equipment.d.ts +90 -0
- package/dist/esm/models/sync-equipment-vo-equipment.js +14 -0
- package/dist/esm/models/sync-equipment-vo.d.ts +13 -174
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/esm/models/third-party-system-enum.d.ts +22 -0
- package/dist/esm/models/third-party-system-enum.js +23 -0
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/esm/models/work-order-internal-status-enum.js +3 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +10 -0
- package/dist/esm/models/work-order-issue-type-enum.js +11 -1
- package/dist/esm/models/work-order-report-vo.d.ts +8 -1
- package/dist/esm/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-settings-type-enum.js +2 -1
- package/dist/esm/models/work-order-source-enum.d.ts +1 -1
- package/dist/esm/models/work-order-source-enum.js +1 -1
- package/dist/esm/models/work-order-submit-vo.d.ts +25 -0
- package/dist/esm/models/work-order-submit-vo.js +14 -0
- 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 +23 -3
- package/dist/models/equipment-edit-batch-vo.d.ts +3 -2
- package/dist/models/equipment-edit-vo.d.ts +17 -3
- package/dist/models/equipment-search-system-dto.d.ts +23 -3
- package/dist/models/equipment-search-vo.d.ts +4 -3
- package/dist/models/equipment-status-enum.d.ts +25 -0
- package/dist/models/equipment-status-enum.js +29 -0
- package/dist/models/equipment-status.d.ts +30 -0
- package/dist/models/equipment-status.js +15 -0
- package/dist/models/equipment-tree-details-dto.d.ts +23 -3
- package/dist/models/excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +43 -0
- package/dist/models/excel-import-upload-to-redis-vo-space-add-excel-dto.js +15 -0
- package/dist/models/get-user-wx200-response.d.ts +6 -6
- package/dist/models/index.d.ts +17 -1
- package/dist/models/index.js +17 -1
- package/dist/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.d.ts +62 -0
- package/dist/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.js +15 -0
- package/dist/models/json-result-offline-alert-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-offline-alert-work-order-details-dto.js +15 -0
- package/dist/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/models/network-monitor-repair-details-dto.d.ts +13 -0
- package/dist/models/offline-alert-device-vo.d.ts +30 -0
- package/dist/models/offline-alert-device-vo.js +15 -0
- package/dist/models/offline-alert-submit-vo.d.ts +43 -0
- package/dist/models/offline-alert-submit-vo.js +15 -0
- package/dist/models/offline-alert-work-order-details-dto.d.ts +91 -0
- package/dist/models/offline-alert-work-order-details-dto.js +15 -0
- package/dist/models/offline-alert-work-order-info.d.ts +72 -0
- package/dist/models/offline-alert-work-order-info.js +24 -0
- package/dist/models/offline-alert-work-order-vo.d.ts +43 -0
- package/dist/models/offline-alert-work-order-vo.js +15 -0
- package/dist/models/park-info-dto.d.ts +6 -0
- package/dist/models/result-code.d.ts +1 -0
- package/dist/models/result-code.js +1 -0
- package/dist/models/source-work-order-dto.d.ts +37 -0
- package/dist/models/source-work-order-dto.js +15 -0
- package/dist/models/space-add-excel-dto.d.ts +28 -10
- package/dist/models/space-add-vo.d.ts +22 -9
- package/dist/models/space-detail-dto.d.ts +16 -3
- package/dist/models/space-edit-vo.d.ts +16 -3
- package/dist/models/{space-industry-attribute.d.ts → space-industry-attribute-enum.d.ts} +2 -2
- package/dist/models/{space-industry-attribute.js → space-industry-attribute-enum.js} +2 -2
- package/dist/models/space-level-enum.d.ts +23 -0
- package/dist/models/space-level-enum.js +27 -0
- package/dist/models/space-tree-dto.d.ts +16 -3
- package/dist/models/space.d.ts +3 -3
- package/dist/models/sync-equipment-status-vo.d.ts +37 -0
- package/dist/models/sync-equipment-status-vo.js +15 -0
- package/dist/models/sync-equipment-vo-equipment.d.ts +90 -0
- package/dist/models/sync-equipment-vo-equipment.js +15 -0
- package/dist/models/sync-equipment-vo.d.ts +13 -174
- package/dist/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/models/third-party-system-enum.d.ts +22 -0
- package/dist/models/third-party-system-enum.js +26 -0
- package/dist/models/work-order-ext-data.d.ts +7 -0
- package/dist/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/models/work-order-internal-status-enum.js +3 -1
- package/dist/models/work-order-issue-type-enum.d.ts +10 -0
- package/dist/models/work-order-issue-type-enum.js +11 -1
- package/dist/models/work-order-report-vo.d.ts +8 -1
- package/dist/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/models/work-order-settings-type-enum.js +2 -1
- package/dist/models/work-order-source-enum.d.ts +1 -1
- package/dist/models/work-order-source-enum.js +1 -1
- package/dist/models/work-order-submit-vo.d.ts +25 -0
- package/dist/models/work-order-submit-vo.js +15 -0
- 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 +29 -3
- package/models/equipment-edit-batch-vo.ts +7 -2
- package/models/equipment-edit-vo.ts +23 -3
- package/models/equipment-search-system-dto.ts +29 -3
- package/models/equipment-search-vo.ts +8 -3
- package/models/equipment-status-enum.ts +35 -0
- package/models/equipment-status.ts +36 -0
- package/models/equipment-tree-details-dto.ts +29 -3
- package/models/excel-import-upload-to-redis-vo-space-add-excel-dto.ts +51 -0
- package/models/get-user-wx200-response.ts +6 -6
- package/models/index.ts +17 -1
- package/models/json-result-excel-import-upload-to-redis-vo-space-add-excel-dto.ts +72 -0
- package/models/json-result-offline-alert-work-order-details-dto.ts +72 -0
- package/models/network-monitor-repair-add-vo.ts +6 -0
- package/models/network-monitor-repair-details-dto.ts +15 -0
- package/models/offline-alert-device-vo.ts +36 -0
- package/models/offline-alert-submit-vo.ts +53 -0
- package/models/offline-alert-work-order-details-dto.ts +113 -0
- package/models/offline-alert-work-order-info.ts +86 -0
- package/models/offline-alert-work-order-vo.ts +53 -0
- package/models/park-info-dto.ts +6 -0
- package/models/result-code.ts +1 -0
- package/models/source-work-order-dto.ts +47 -0
- package/models/space-add-excel-dto.ts +28 -10
- package/models/space-add-vo.ts +24 -9
- package/models/space-detail-dto.ts +18 -3
- package/models/space-edit-vo.ts +18 -3
- package/models/{space-industry-attribute.ts → space-industry-attribute-enum.ts} +2 -2
- package/models/space-level-enum.ts +33 -0
- package/models/space-tree-dto.ts +18 -3
- package/models/space.ts +3 -3
- package/models/sync-equipment-status-vo.ts +45 -0
- package/models/sync-equipment-vo-equipment.ts +96 -0
- package/models/sync-equipment-vo.ts +15 -174
- package/models/system-user-msg-source-type-enum.ts +2 -1
- package/models/third-party-system-enum.ts +32 -0
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-internal-status-enum.ts +3 -1
- package/models/work-order-issue-type-enum.ts +11 -1
- package/models/work-order-report-vo.ts +10 -1
- package/models/work-order-settings-type-enum.ts +2 -1
- package/models/work-order-source-enum.ts +1 -1
- package/models/work-order-submit-vo.ts +33 -0
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
|
@@ -1890,6 +1890,43 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1890
1890
|
options: localVarRequestOptions,
|
|
1891
1891
|
};
|
|
1892
1892
|
}),
|
|
1893
|
+
/**
|
|
1894
|
+
*
|
|
1895
|
+
* @summary 工单提交
|
|
1896
|
+
* @param {number} workOrderId
|
|
1897
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
1898
|
+
* @param {*} [options] Override http request option.
|
|
1899
|
+
* @throws {RequiredError}
|
|
1900
|
+
*/
|
|
1901
|
+
workOrderSubmit: (workOrderId_1, workOrderSubmitVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderSubmitVo_1, ...args_1], void 0, function* (workOrderId, workOrderSubmitVo, options = {}) {
|
|
1902
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
1903
|
+
(0, common_1.assertParamExists)('workOrderSubmit', 'workOrderId', workOrderId);
|
|
1904
|
+
// verify required parameter 'workOrderSubmitVo' is not null or undefined
|
|
1905
|
+
(0, common_1.assertParamExists)('workOrderSubmit', 'workOrderSubmitVo', workOrderSubmitVo);
|
|
1906
|
+
const localVarPath = `/gizone/workOrder/submit/{workOrderId}`
|
|
1907
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1908
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1909
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1910
|
+
let baseOptions;
|
|
1911
|
+
if (configuration) {
|
|
1912
|
+
baseOptions = configuration.baseOptions;
|
|
1913
|
+
}
|
|
1914
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1915
|
+
const localVarHeaderParameter = {};
|
|
1916
|
+
const localVarQueryParameter = {};
|
|
1917
|
+
// authentication tokenScheme required
|
|
1918
|
+
// http bearer authentication required
|
|
1919
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1920
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1921
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1924
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workOrderSubmitVo, localVarRequestOptions, configuration);
|
|
1925
|
+
return {
|
|
1926
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1927
|
+
options: localVarRequestOptions,
|
|
1928
|
+
};
|
|
1929
|
+
}),
|
|
1893
1930
|
/**
|
|
1894
1931
|
*
|
|
1895
1932
|
* @summary 新建违规工单
|
|
@@ -2807,6 +2844,23 @@ const WorkOrderApiFp = function (configuration) {
|
|
|
2807
2844
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2808
2845
|
});
|
|
2809
2846
|
},
|
|
2847
|
+
/**
|
|
2848
|
+
*
|
|
2849
|
+
* @summary 工单提交
|
|
2850
|
+
* @param {number} workOrderId
|
|
2851
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
2852
|
+
* @param {*} [options] Override http request option.
|
|
2853
|
+
* @throws {RequiredError}
|
|
2854
|
+
*/
|
|
2855
|
+
workOrderSubmit(workOrderId, workOrderSubmitVo, options) {
|
|
2856
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2857
|
+
var _a, _b, _c;
|
|
2858
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderSubmit(workOrderId, workOrderSubmitVo, options);
|
|
2859
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2860
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkOrderApi.workOrderSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2861
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2862
|
+
});
|
|
2863
|
+
},
|
|
2810
2864
|
/**
|
|
2811
2865
|
*
|
|
2812
2866
|
* @summary 新建违规工单
|
|
@@ -3338,6 +3392,16 @@ const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3338
3392
|
workOrderStagingData(requestParameters, options) {
|
|
3339
3393
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
3340
3394
|
},
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @summary 工单提交
|
|
3398
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3399
|
+
* @param {*} [options] Override http request option.
|
|
3400
|
+
* @throws {RequiredError}
|
|
3401
|
+
*/
|
|
3402
|
+
workOrderSubmit(requestParameters, options) {
|
|
3403
|
+
return localVarFp.workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(axios, basePath));
|
|
3404
|
+
},
|
|
3341
3405
|
/**
|
|
3342
3406
|
*
|
|
3343
3407
|
* @summary 新建违规工单
|
|
@@ -3906,6 +3970,17 @@ class WorkOrderApi extends base_1.BaseAPI {
|
|
|
3906
3970
|
workOrderStagingData(requestParameters, options) {
|
|
3907
3971
|
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
3908
3972
|
}
|
|
3973
|
+
/**
|
|
3974
|
+
*
|
|
3975
|
+
* @summary 工单提交
|
|
3976
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3977
|
+
* @param {*} [options] Override http request option.
|
|
3978
|
+
* @throws {RequiredError}
|
|
3979
|
+
* @memberof WorkOrderApi
|
|
3980
|
+
*/
|
|
3981
|
+
workOrderSubmit(requestParameters, options) {
|
|
3982
|
+
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(this.axios, this.basePath));
|
|
3983
|
+
}
|
|
3909
3984
|
/**
|
|
3910
3985
|
*
|
|
3911
3986
|
* @summary 新建违规工单
|
package/dist/configuration.js
CHANGED
|
@@ -23,7 +23,7 @@ class Configuration {
|
|
|
23
23
|
this.accessToken = param.accessToken;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
|
-
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.1.
|
|
26
|
+
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.1.3/typescript-axios" }) }, param.baseOptions);
|
|
27
27
|
this.formDataCtor = param.formDataCtor;
|
|
28
28
|
}
|
|
29
29
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './apis/monitor-controller-api';
|
|
|
44
44
|
export * from './apis/monitor-sort-controller-api';
|
|
45
45
|
export * from './apis/news-api';
|
|
46
46
|
export * from './apis/notification-api';
|
|
47
|
+
export * from './apis/offline-alert-work-order-controller-api';
|
|
47
48
|
export * from './apis/open-api-api';
|
|
48
49
|
export * from './apis/park-api';
|
|
49
50
|
export * from './apis/privacy-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -46,6 +46,7 @@ export * from './apis/monitor-controller-api';
|
|
|
46
46
|
export * from './apis/monitor-sort-controller-api';
|
|
47
47
|
export * from './apis/news-api';
|
|
48
48
|
export * from './apis/notification-api';
|
|
49
|
+
export * from './apis/offline-alert-work-order-controller-api';
|
|
49
50
|
export * from './apis/open-api-api';
|
|
50
51
|
export * from './apis/park-api';
|
|
51
52
|
export * from './apis/privacy-api';
|
|
@@ -33,7 +33,6 @@ import type { JsonResultListEquipmentTreeDTO } from '../models';
|
|
|
33
33
|
import type { JsonResultListMaintenanceStandardEntity } from '../models';
|
|
34
34
|
import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
35
35
|
import type { ModelInteger } from '../models';
|
|
36
|
-
import type { SyncEquipmentVO } from '../models';
|
|
37
36
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
38
37
|
/**
|
|
39
38
|
* EquipmentApi - axios parameter creator
|
|
@@ -245,14 +244,6 @@ export declare const EquipmentApiAxiosParamCreator: (configuration?: Configurati
|
|
|
245
244
|
* @throws {RequiredError}
|
|
246
245
|
*/
|
|
247
246
|
selectEquipmentInSpace: (searchVo: EquipmentSpaceSearchVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
* @summary 同步iot设备接口
|
|
251
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
252
|
-
* @param {*} [options] Override http request option.
|
|
253
|
-
* @throws {RequiredError}
|
|
254
|
-
*/
|
|
255
|
-
syncEquipment: (syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
256
247
|
/**
|
|
257
248
|
*
|
|
258
249
|
* @summary 设备系统分类管理列表
|
|
@@ -487,14 +478,6 @@ export declare const EquipmentApiFp: (configuration?: Configuration) => {
|
|
|
487
478
|
* @throws {RequiredError}
|
|
488
479
|
*/
|
|
489
480
|
selectEquipmentInSpace(searchVo: EquipmentSpaceSearchVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEquipmentDetailDTO>>;
|
|
490
|
-
/**
|
|
491
|
-
*
|
|
492
|
-
* @summary 同步iot设备接口
|
|
493
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
494
|
-
* @param {*} [options] Override http request option.
|
|
495
|
-
* @throws {RequiredError}
|
|
496
|
-
*/
|
|
497
|
-
syncEquipment(syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
498
481
|
/**
|
|
499
482
|
*
|
|
500
483
|
* @summary 设备系统分类管理列表
|
|
@@ -705,14 +688,6 @@ export declare const EquipmentApiFactory: (configuration?: Configuration, basePa
|
|
|
705
688
|
* @throws {RequiredError}
|
|
706
689
|
*/
|
|
707
690
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEquipmentDetailDTO>;
|
|
708
|
-
/**
|
|
709
|
-
*
|
|
710
|
-
* @summary 同步iot设备接口
|
|
711
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
712
|
-
* @param {*} [options] Override http request option.
|
|
713
|
-
* @throws {RequiredError}
|
|
714
|
-
*/
|
|
715
|
-
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
716
691
|
/**
|
|
717
692
|
*
|
|
718
693
|
* @summary 设备系统分类管理列表
|
|
@@ -1141,19 +1116,6 @@ export interface EquipmentApiSelectEquipmentInSpaceRequest {
|
|
|
1141
1116
|
*/
|
|
1142
1117
|
readonly searchVo: EquipmentSpaceSearchVo;
|
|
1143
1118
|
}
|
|
1144
|
-
/**
|
|
1145
|
-
* Request parameters for syncEquipment operation in EquipmentApi.
|
|
1146
|
-
* @export
|
|
1147
|
-
* @interface EquipmentApiSyncEquipmentRequest
|
|
1148
|
-
*/
|
|
1149
|
-
export interface EquipmentApiSyncEquipmentRequest {
|
|
1150
|
-
/**
|
|
1151
|
-
*
|
|
1152
|
-
* @type {SyncEquipmentVO}
|
|
1153
|
-
* @memberof EquipmentApiSyncEquipment
|
|
1154
|
-
*/
|
|
1155
|
-
readonly syncEquipmentVO: SyncEquipmentVO;
|
|
1156
|
-
}
|
|
1157
1119
|
/**
|
|
1158
1120
|
* Request parameters for uploadAdd operation in EquipmentApi.
|
|
1159
1121
|
* @export
|
|
@@ -1391,15 +1353,6 @@ export declare class EquipmentApi extends BaseAPI {
|
|
|
1391
1353
|
* @memberof EquipmentApi
|
|
1392
1354
|
*/
|
|
1393
1355
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListEquipmentDetailDTO, any>>;
|
|
1394
|
-
/**
|
|
1395
|
-
*
|
|
1396
|
-
* @summary 同步iot设备接口
|
|
1397
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1398
|
-
* @param {*} [options] Override http request option.
|
|
1399
|
-
* @throws {RequiredError}
|
|
1400
|
-
* @memberof EquipmentApi
|
|
1401
|
-
*/
|
|
1402
|
-
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
1403
1356
|
/**
|
|
1404
1357
|
*
|
|
1405
1358
|
* @summary 设备系统分类管理列表
|
|
@@ -895,39 +895,6 @@ export const EquipmentApiAxiosParamCreator = function (configuration) {
|
|
|
895
895
|
options: localVarRequestOptions,
|
|
896
896
|
};
|
|
897
897
|
}),
|
|
898
|
-
/**
|
|
899
|
-
*
|
|
900
|
-
* @summary 同步iot设备接口
|
|
901
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
902
|
-
* @param {*} [options] Override http request option.
|
|
903
|
-
* @throws {RequiredError}
|
|
904
|
-
*/
|
|
905
|
-
syncEquipment: (syncEquipmentVO_1, ...args_1) => __awaiter(this, [syncEquipmentVO_1, ...args_1], void 0, function* (syncEquipmentVO, options = {}) {
|
|
906
|
-
// verify required parameter 'syncEquipmentVO' is not null or undefined
|
|
907
|
-
assertParamExists('syncEquipment', 'syncEquipmentVO', syncEquipmentVO);
|
|
908
|
-
const localVarPath = `/gizone/equipment/sync/equipment`;
|
|
909
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
910
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
911
|
-
let baseOptions;
|
|
912
|
-
if (configuration) {
|
|
913
|
-
baseOptions = configuration.baseOptions;
|
|
914
|
-
}
|
|
915
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
916
|
-
const localVarHeaderParameter = {};
|
|
917
|
-
const localVarQueryParameter = {};
|
|
918
|
-
// authentication tokenScheme required
|
|
919
|
-
// http bearer authentication required
|
|
920
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
921
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
922
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
923
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
924
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
925
|
-
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentVO, localVarRequestOptions, configuration);
|
|
926
|
-
return {
|
|
927
|
-
url: toPathString(localVarUrlObj),
|
|
928
|
-
options: localVarRequestOptions,
|
|
929
|
-
};
|
|
930
|
-
}),
|
|
931
898
|
/**
|
|
932
899
|
*
|
|
933
900
|
* @summary 设备系统分类管理列表
|
|
@@ -1418,22 +1385,6 @@ export const EquipmentApiFp = function (configuration) {
|
|
|
1418
1385
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1419
1386
|
});
|
|
1420
1387
|
},
|
|
1421
|
-
/**
|
|
1422
|
-
*
|
|
1423
|
-
* @summary 同步iot设备接口
|
|
1424
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
1425
|
-
* @param {*} [options] Override http request option.
|
|
1426
|
-
* @throws {RequiredError}
|
|
1427
|
-
*/
|
|
1428
|
-
syncEquipment(syncEquipmentVO, options) {
|
|
1429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1430
|
-
var _a, _b, _c;
|
|
1431
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncEquipment(syncEquipmentVO, options);
|
|
1432
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1433
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EquipmentApi.syncEquipment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1434
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1435
|
-
});
|
|
1436
|
-
},
|
|
1437
1388
|
/**
|
|
1438
1389
|
*
|
|
1439
1390
|
* @summary 设备系统分类管理列表
|
|
@@ -1717,16 +1668,6 @@ export const EquipmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1717
1668
|
selectEquipmentInSpace(requestParameters, options) {
|
|
1718
1669
|
return localVarFp.selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(axios, basePath));
|
|
1719
1670
|
},
|
|
1720
|
-
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @summary 同步iot设备接口
|
|
1723
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1724
|
-
* @param {*} [options] Override http request option.
|
|
1725
|
-
* @throws {RequiredError}
|
|
1726
|
-
*/
|
|
1727
|
-
syncEquipment(requestParameters, options) {
|
|
1728
|
-
return localVarFp.syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(axios, basePath));
|
|
1729
|
-
},
|
|
1730
1671
|
/**
|
|
1731
1672
|
*
|
|
1732
1673
|
* @summary 设备系统分类管理列表
|
|
@@ -2015,17 +1956,6 @@ export class EquipmentApi extends BaseAPI {
|
|
|
2015
1956
|
selectEquipmentInSpace(requestParameters, options) {
|
|
2016
1957
|
return EquipmentApiFp(this.configuration).selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(this.axios, this.basePath));
|
|
2017
1958
|
}
|
|
2018
|
-
/**
|
|
2019
|
-
*
|
|
2020
|
-
* @summary 同步iot设备接口
|
|
2021
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
2022
|
-
* @param {*} [options] Override http request option.
|
|
2023
|
-
* @throws {RequiredError}
|
|
2024
|
-
* @memberof EquipmentApi
|
|
2025
|
-
*/
|
|
2026
|
-
syncEquipment(requestParameters, options) {
|
|
2027
|
-
return EquipmentApiFp(this.configuration).syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(this.axios, this.basePath));
|
|
2028
|
-
}
|
|
2029
1959
|
/**
|
|
2030
1960
|
*
|
|
2031
1961
|
* @summary 设备系统分类管理列表
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResultOfflineAlertWorkOrderDetailsDto } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* OfflineAlertWorkOrderControllerApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const OfflineAlertWorkOrderControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* 离线告警工单详情
|
|
23
|
+
* @summary 离线告警工单详情
|
|
24
|
+
* @param {number} workOrderId
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
workOrderOfflineAlertDetails: (workOrderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* OfflineAlertWorkOrderControllerApi - functional programming interface
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const OfflineAlertWorkOrderControllerApiFp: (configuration?: Configuration) => {
|
|
35
|
+
/**
|
|
36
|
+
* 离线告警工单详情
|
|
37
|
+
* @summary 离线告警工单详情
|
|
38
|
+
* @param {number} workOrderId
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
workOrderOfflineAlertDetails(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultOfflineAlertWorkOrderDetailsDto>>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* OfflineAlertWorkOrderControllerApi - factory interface
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const OfflineAlertWorkOrderControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49
|
+
/**
|
|
50
|
+
* 离线告警工单详情
|
|
51
|
+
* @summary 离线告警工单详情
|
|
52
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
workOrderOfflineAlertDetails(requestParameters: OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultOfflineAlertWorkOrderDetailsDto>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Request parameters for workOrderOfflineAlertDetails operation in OfflineAlertWorkOrderControllerApi.
|
|
60
|
+
* @export
|
|
61
|
+
* @interface OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest
|
|
62
|
+
*/
|
|
63
|
+
export interface OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetails
|
|
68
|
+
*/
|
|
69
|
+
readonly workOrderId: number;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* OfflineAlertWorkOrderControllerApi - object-oriented interface
|
|
73
|
+
* @export
|
|
74
|
+
* @class OfflineAlertWorkOrderControllerApi
|
|
75
|
+
* @extends {BaseAPI}
|
|
76
|
+
*/
|
|
77
|
+
export declare class OfflineAlertWorkOrderControllerApi extends BaseAPI {
|
|
78
|
+
/**
|
|
79
|
+
* 离线告警工单详情
|
|
80
|
+
* @summary 离线告警工单详情
|
|
81
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
* @memberof OfflineAlertWorkOrderControllerApi
|
|
85
|
+
*/
|
|
86
|
+
workOrderOfflineAlertDetails(requestParameters: OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultOfflineAlertWorkOrderDetailsDto, any>>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* OfflineAlertWorkOrderControllerApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const OfflineAlertWorkOrderControllerApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
* 离线告警工单详情
|
|
37
|
+
* @summary 离线告警工单详情
|
|
38
|
+
* @param {number} workOrderId
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
workOrderOfflineAlertDetails: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
43
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
44
|
+
assertParamExists('workOrderOfflineAlertDetails', 'workOrderId', workOrderId);
|
|
45
|
+
const localVarPath = `/gizone/workOrder/offlineAlert/{workOrderId}`
|
|
46
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
54
|
+
const localVarHeaderParameter = {};
|
|
55
|
+
const localVarQueryParameter = {};
|
|
56
|
+
// authentication tokenScheme required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
return {
|
|
63
|
+
url: toPathString(localVarUrlObj),
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* OfflineAlertWorkOrderControllerApi - functional programming interface
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export const OfflineAlertWorkOrderControllerApiFp = function (configuration) {
|
|
74
|
+
const localVarAxiosParamCreator = OfflineAlertWorkOrderControllerApiAxiosParamCreator(configuration);
|
|
75
|
+
return {
|
|
76
|
+
/**
|
|
77
|
+
* 离线告警工单详情
|
|
78
|
+
* @summary 离线告警工单详情
|
|
79
|
+
* @param {number} workOrderId
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
workOrderOfflineAlertDetails(workOrderId, options) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
var _a, _b, _c;
|
|
86
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderOfflineAlertDetails(workOrderId, options);
|
|
87
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
88
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OfflineAlertWorkOrderControllerApi.workOrderOfflineAlertDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
89
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
90
|
+
});
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* OfflineAlertWorkOrderControllerApi - factory interface
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export const OfflineAlertWorkOrderControllerApiFactory = function (configuration, basePath, axios) {
|
|
99
|
+
const localVarFp = OfflineAlertWorkOrderControllerApiFp(configuration);
|
|
100
|
+
return {
|
|
101
|
+
/**
|
|
102
|
+
* 离线告警工单详情
|
|
103
|
+
* @summary 离线告警工单详情
|
|
104
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
workOrderOfflineAlertDetails(requestParameters, options) {
|
|
109
|
+
return localVarFp.workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* OfflineAlertWorkOrderControllerApi - object-oriented interface
|
|
115
|
+
* @export
|
|
116
|
+
* @class OfflineAlertWorkOrderControllerApi
|
|
117
|
+
* @extends {BaseAPI}
|
|
118
|
+
*/
|
|
119
|
+
export class OfflineAlertWorkOrderControllerApi extends BaseAPI {
|
|
120
|
+
/**
|
|
121
|
+
* 离线告警工单详情
|
|
122
|
+
* @summary 离线告警工单详情
|
|
123
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
* @memberof OfflineAlertWorkOrderControllerApi
|
|
127
|
+
*/
|
|
128
|
+
workOrderOfflineAlertDetails(requestParameters, options) {
|
|
129
|
+
return OfflineAlertWorkOrderControllerApiFp(this.configuration).workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
130
|
+
}
|
|
131
|
+
}
|