@gizone/rrs-client 4.2.9-alpha.640 → 4.2.9-alpha.642
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 +29 -0
- package/api.ts +2 -0
- package/apis/device-api.ts +15 -15
- package/apis/maintenance-daily-work-order-controller-api.ts +254 -0
- package/apis/maintenance-order-api.ts +1293 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/apis/device-api.d.ts +10 -10
- package/dist/apis/device-api.js +11 -11
- package/dist/apis/maintenance-daily-work-order-controller-api.d.ts +143 -0
- package/dist/apis/maintenance-daily-work-order-controller-api.js +213 -0
- package/dist/apis/maintenance-order-api.d.ts +701 -0
- package/dist/apis/maintenance-order-api.js +936 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/apis/device-api.d.ts +10 -10
- package/dist/esm/apis/device-api.js +11 -11
- package/dist/esm/apis/maintenance-daily-work-order-controller-api.d.ts +143 -0
- package/dist/esm/apis/maintenance-daily-work-order-controller-api.js +206 -0
- package/dist/esm/apis/maintenance-order-api.d.ts +701 -0
- package/dist/esm/apis/maintenance-order-api.js +929 -0
- package/dist/esm/models/acceptance-node-info.d.ts +42 -0
- package/dist/esm/models/acceptance-node-info.js +14 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +27 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +8 -8
- package/dist/esm/models/json-result-maintenance-daily-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-maintenance-daily-work-order-details-dto.js +14 -0
- package/dist/esm/models/json-result-maintenance-order-details-vo.d.ts +62 -0
- package/dist/esm/models/json-result-maintenance-order-details-vo.js +14 -0
- package/dist/esm/models/json-result-page-dto-maintenance-order-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-maintenance-order-list-vo.js +14 -0
- package/dist/esm/models/maintenace-daily-abnormal-cause-type-enum.d.ts +22 -0
- package/dist/esm/models/maintenace-daily-abnormal-cause-type-enum.js +23 -0
- package/dist/esm/models/maintenance-construction-schedules-dto.d.ts +49 -0
- package/dist/esm/models/maintenance-construction-schedules-dto.js +14 -0
- package/dist/esm/models/maintenance-daily-work-order-details-dto.d.ts +159 -0
- package/dist/esm/models/maintenance-daily-work-order-details-dto.js +18 -0
- package/dist/esm/models/maintenance-daily-work-order-info.d.ts +31 -0
- package/dist/esm/models/maintenance-daily-work-order-info.js +14 -0
- package/dist/esm/models/maintenance-daily-work-order-list-dto.d.ts +49 -0
- package/dist/esm/models/maintenance-daily-work-order-list-dto.js +14 -0
- package/dist/esm/models/maintenance-daily-work-order-process-vo.d.ts +55 -0
- package/dist/esm/models/maintenance-daily-work-order-process-vo.js +14 -0
- package/dist/esm/models/maintenance-order-acceptance-add-dto.d.ts +55 -0
- package/dist/esm/models/maintenance-order-acceptance-add-dto.js +14 -0
- package/dist/esm/models/maintenance-order-acceptance-details-vo.d.ts +60 -0
- package/dist/esm/models/maintenance-order-acceptance-details-vo.js +14 -0
- package/dist/esm/models/maintenance-order-approval-config-add-dto.d.ts +30 -0
- package/dist/esm/models/maintenance-order-approval-config-add-dto.js +14 -0
- package/dist/esm/models/maintenance-order-construction-details-vo.d.ts +54 -0
- package/dist/esm/models/maintenance-order-construction-details-vo.js +14 -0
- package/dist/esm/models/maintenance-order-details-vo.d.ts +177 -0
- package/dist/esm/models/maintenance-order-details-vo.js +14 -0
- package/dist/esm/models/maintenance-order-list-vo.d.ts +104 -0
- package/dist/esm/models/maintenance-order-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-settlement-add-dto.d.ts +48 -0
- package/dist/esm/models/maintenance-order-settlement-add-dto.js +14 -0
- package/dist/esm/models/maintenance-order-settlement-details-vo.d.ts +66 -0
- package/dist/esm/models/maintenance-order-settlement-details-vo.js +14 -0
- package/dist/esm/models/maintenance-order-status-enum.d.ts +40 -0
- package/dist/esm/models/maintenance-order-status-enum.js +41 -0
- package/dist/esm/models/maintenance-order-type-enum.d.ts +26 -0
- package/dist/esm/models/maintenance-order-type-enum.js +27 -0
- package/dist/esm/models/maintenance-order-warranty-details-vo.d.ts +69 -0
- package/dist/esm/models/maintenance-order-warranty-details-vo.js +14 -0
- package/dist/esm/models/maintenance-order-warranty-period-enum.d.ts +24 -0
- package/dist/esm/models/maintenance-order-warranty-period-enum.js +25 -0
- package/dist/esm/models/maintenance-order-warranty-update-dto.d.ts +38 -0
- package/dist/esm/models/maintenance-order-warranty-update-dto.js +14 -0
- package/dist/esm/models/material-confirmation-info.d.ts +48 -0
- package/dist/esm/models/material-confirmation-info.js +14 -0
- package/dist/esm/models/page-dto-maintenance-order-list-vo.d.ts +31 -0
- package/dist/esm/models/page-dto-maintenance-order-list-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/warranty-acceptance-node-info.d.ts +30 -0
- package/dist/esm/models/warranty-acceptance-node-info.js +14 -0
- package/dist/esm/models/warranty-maintenance-record-info.d.ts +48 -0
- package/dist/esm/models/warranty-maintenance-record-info.js +14 -0
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- 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/acceptance-node-info.d.ts +42 -0
- package/dist/models/acceptance-node-info.js +15 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +27 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +8 -8
- package/dist/models/json-result-maintenance-daily-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-maintenance-daily-work-order-details-dto.js +15 -0
- package/dist/models/json-result-maintenance-order-details-vo.d.ts +62 -0
- package/dist/models/json-result-maintenance-order-details-vo.js +15 -0
- package/dist/models/json-result-page-dto-maintenance-order-list-vo.d.ts +62 -0
- package/dist/models/json-result-page-dto-maintenance-order-list-vo.js +15 -0
- package/dist/models/maintenace-daily-abnormal-cause-type-enum.d.ts +22 -0
- package/dist/models/maintenace-daily-abnormal-cause-type-enum.js +26 -0
- package/dist/models/maintenance-construction-schedules-dto.d.ts +49 -0
- package/dist/models/maintenance-construction-schedules-dto.js +15 -0
- package/dist/models/maintenance-daily-work-order-details-dto.d.ts +159 -0
- package/dist/models/maintenance-daily-work-order-details-dto.js +21 -0
- package/dist/models/maintenance-daily-work-order-info.d.ts +31 -0
- package/dist/models/maintenance-daily-work-order-info.js +15 -0
- package/dist/models/maintenance-daily-work-order-list-dto.d.ts +49 -0
- package/dist/models/maintenance-daily-work-order-list-dto.js +15 -0
- package/dist/models/maintenance-daily-work-order-process-vo.d.ts +55 -0
- package/dist/models/maintenance-daily-work-order-process-vo.js +15 -0
- package/dist/models/maintenance-order-acceptance-add-dto.d.ts +55 -0
- package/dist/models/maintenance-order-acceptance-add-dto.js +15 -0
- package/dist/models/maintenance-order-acceptance-details-vo.d.ts +60 -0
- package/dist/models/maintenance-order-acceptance-details-vo.js +15 -0
- package/dist/models/maintenance-order-approval-config-add-dto.d.ts +30 -0
- package/dist/models/maintenance-order-approval-config-add-dto.js +15 -0
- package/dist/models/maintenance-order-construction-details-vo.d.ts +54 -0
- package/dist/models/maintenance-order-construction-details-vo.js +15 -0
- package/dist/models/maintenance-order-details-vo.d.ts +177 -0
- package/dist/models/maintenance-order-details-vo.js +15 -0
- package/dist/models/maintenance-order-list-vo.d.ts +104 -0
- package/dist/models/maintenance-order-list-vo.js +15 -0
- package/dist/models/maintenance-order-settlement-add-dto.d.ts +48 -0
- package/dist/models/maintenance-order-settlement-add-dto.js +15 -0
- package/dist/models/maintenance-order-settlement-details-vo.d.ts +66 -0
- package/dist/models/maintenance-order-settlement-details-vo.js +15 -0
- package/dist/models/maintenance-order-status-enum.d.ts +40 -0
- package/dist/models/maintenance-order-status-enum.js +44 -0
- package/dist/models/maintenance-order-type-enum.d.ts +26 -0
- package/dist/models/maintenance-order-type-enum.js +30 -0
- package/dist/models/maintenance-order-warranty-details-vo.d.ts +69 -0
- package/dist/models/maintenance-order-warranty-details-vo.js +15 -0
- package/dist/models/maintenance-order-warranty-period-enum.d.ts +24 -0
- package/dist/models/maintenance-order-warranty-period-enum.js +28 -0
- package/dist/models/maintenance-order-warranty-update-dto.d.ts +38 -0
- package/dist/models/maintenance-order-warranty-update-dto.js +15 -0
- package/dist/models/material-confirmation-info.d.ts +48 -0
- package/dist/models/material-confirmation-info.js +15 -0
- package/dist/models/page-dto-maintenance-order-list-vo.d.ts +31 -0
- package/dist/models/page-dto-maintenance-order-list-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/warranty-acceptance-node-info.d.ts +30 -0
- package/dist/models/warranty-acceptance-node-info.js +15 -0
- package/dist/models/warranty-maintenance-record-info.d.ts +48 -0
- package/dist/models/warranty-maintenance-record-info.js +15 -0
- package/dist/models/work-order-ext-data.d.ts +7 -0
- 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/acceptance-node-info.ts +48 -0
- package/models/index.ts +27 -0
- package/models/ipage-energy-cost-record-info-vo.ts +8 -8
- package/models/json-result-maintenance-daily-work-order-details-dto.ts +72 -0
- package/models/json-result-maintenance-order-details-vo.ts +72 -0
- package/models/json-result-page-dto-maintenance-order-list-vo.ts +72 -0
- package/models/maintenace-daily-abnormal-cause-type-enum.ts +32 -0
- package/models/maintenance-construction-schedules-dto.ts +57 -0
- package/models/maintenance-daily-work-order-details-dto.ts +186 -0
- package/models/maintenance-daily-work-order-info.ts +41 -0
- package/models/maintenance-daily-work-order-list-dto.ts +57 -0
- package/models/maintenance-daily-work-order-process-vo.ts +65 -0
- package/models/maintenance-order-acceptance-add-dto.ts +65 -0
- package/models/maintenance-order-acceptance-details-vo.ts +66 -0
- package/models/maintenance-order-approval-config-add-dto.ts +36 -0
- package/models/maintenance-order-construction-details-vo.ts +60 -0
- package/models/maintenance-order-details-vo.ts +203 -0
- package/models/maintenance-order-list-vo.ts +116 -0
- package/models/maintenance-order-settlement-add-dto.ts +54 -0
- package/models/maintenance-order-settlement-details-vo.ts +72 -0
- package/models/maintenance-order-status-enum.ts +50 -0
- package/models/maintenance-order-type-enum.ts +36 -0
- package/models/maintenance-order-warranty-details-vo.ts +83 -0
- package/models/maintenance-order-warranty-period-enum.ts +34 -0
- package/models/maintenance-order-warranty-update-dto.ts +48 -0
- package/models/material-confirmation-info.ts +54 -0
- package/models/page-dto-maintenance-order-list-vo.ts +39 -0
- package/models/sys-user.ts +4 -4
- package/models/warranty-acceptance-node-info.ts +36 -0
- package/models/warranty-maintenance-record-info.ts +54 -0
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-source-enum.ts +2 -1
- package/models/work-order-type-enum.ts +2 -1
- package/ossutil.log +1176 -1173
- package/package.json +1 -1
|
@@ -0,0 +1,936 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.MaintenanceOrderApi = exports.MaintenanceOrderApiFactory = exports.MaintenanceOrderApiFp = exports.MaintenanceOrderApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* MaintenanceOrderApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* 删除修缮订单(逻辑删除)
|
|
40
|
+
* @summary 删除修缮订单
|
|
41
|
+
* @param {number} id
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
_delete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
46
|
+
// verify required parameter 'id' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('_delete', 'id', id);
|
|
48
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
49
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
// authentication tokenScheme required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
return {
|
|
66
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
}),
|
|
70
|
+
/**
|
|
71
|
+
* 验收
|
|
72
|
+
* @summary 验收
|
|
73
|
+
* @param {number} id
|
|
74
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
accept: (id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderAcceptanceAddDto, options = {}) {
|
|
79
|
+
// verify required parameter 'id' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('accept', 'id', id);
|
|
81
|
+
// verify required parameter 'maintenanceOrderAcceptanceAddDto' is not null or undefined
|
|
82
|
+
(0, common_1.assertParamExists)('accept', 'maintenanceOrderAcceptanceAddDto', maintenanceOrderAcceptanceAddDto);
|
|
83
|
+
const localVarPath = `/gizone/maintenance-order/{id}/accept`
|
|
84
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
85
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
87
|
+
let baseOptions;
|
|
88
|
+
if (configuration) {
|
|
89
|
+
baseOptions = configuration.baseOptions;
|
|
90
|
+
}
|
|
91
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
92
|
+
const localVarHeaderParameter = {};
|
|
93
|
+
const localVarQueryParameter = {};
|
|
94
|
+
// authentication tokenScheme required
|
|
95
|
+
// http bearer authentication required
|
|
96
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
97
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
98
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
101
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceOrderAcceptanceAddDto, localVarRequestOptions, configuration);
|
|
102
|
+
return {
|
|
103
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
104
|
+
options: localVarRequestOptions,
|
|
105
|
+
};
|
|
106
|
+
}),
|
|
107
|
+
/**
|
|
108
|
+
* 施工完成
|
|
109
|
+
* @summary 施工完成
|
|
110
|
+
* @param {number} id
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
complete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
115
|
+
// verify required parameter 'id' is not null or undefined
|
|
116
|
+
(0, common_1.assertParamExists)('complete', 'id', id);
|
|
117
|
+
const localVarPath = `/gizone/maintenance-order/{id}/complete`
|
|
118
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
119
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
120
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
121
|
+
let baseOptions;
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
}
|
|
125
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
126
|
+
const localVarHeaderParameter = {};
|
|
127
|
+
const localVarQueryParameter = {};
|
|
128
|
+
// authentication tokenScheme required
|
|
129
|
+
// http bearer authentication required
|
|
130
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
131
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
+
return {
|
|
135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
}),
|
|
139
|
+
/**
|
|
140
|
+
* 施工排期
|
|
141
|
+
* @summary 施工排期
|
|
142
|
+
* @param {number} id
|
|
143
|
+
* @param {MaintenanceConstructionSchedulesDto} maintenanceConstructionSchedulesDto
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
constructionSchedules: (id_1, maintenanceConstructionSchedulesDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceConstructionSchedulesDto_1, ...args_1], void 0, function* (id, maintenanceConstructionSchedulesDto, options = {}) {
|
|
148
|
+
// verify required parameter 'id' is not null or undefined
|
|
149
|
+
(0, common_1.assertParamExists)('constructionSchedules', 'id', id);
|
|
150
|
+
// verify required parameter 'maintenanceConstructionSchedulesDto' is not null or undefined
|
|
151
|
+
(0, common_1.assertParamExists)('constructionSchedules', 'maintenanceConstructionSchedulesDto', maintenanceConstructionSchedulesDto);
|
|
152
|
+
const localVarPath = `/gizone/maintenance-order/{id}/construction-schedules`
|
|
153
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
156
|
+
let baseOptions;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
}
|
|
160
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
161
|
+
const localVarHeaderParameter = {};
|
|
162
|
+
const localVarQueryParameter = {};
|
|
163
|
+
// authentication tokenScheme required
|
|
164
|
+
// http bearer authentication required
|
|
165
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
167
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
170
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceConstructionSchedulesDto, localVarRequestOptions, configuration);
|
|
171
|
+
return {
|
|
172
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
173
|
+
options: localVarRequestOptions,
|
|
174
|
+
};
|
|
175
|
+
}),
|
|
176
|
+
/**
|
|
177
|
+
* 编辑节点验收记录
|
|
178
|
+
* @summary 编辑节点验收记录
|
|
179
|
+
* @param {number} id
|
|
180
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
editAcceptanceNodes: (id_1, acceptanceNodeInfo_1, ...args_1) => __awaiter(this, [id_1, acceptanceNodeInfo_1, ...args_1], void 0, function* (id, acceptanceNodeInfo, options = {}) {
|
|
185
|
+
// verify required parameter 'id' is not null or undefined
|
|
186
|
+
(0, common_1.assertParamExists)('editAcceptanceNodes', 'id', id);
|
|
187
|
+
// verify required parameter 'acceptanceNodeInfo' is not null or undefined
|
|
188
|
+
(0, common_1.assertParamExists)('editAcceptanceNodes', 'acceptanceNodeInfo', acceptanceNodeInfo);
|
|
189
|
+
const localVarPath = `/gizone/maintenance-order/{id}/acceptance-nodes`
|
|
190
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
191
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
192
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
193
|
+
let baseOptions;
|
|
194
|
+
if (configuration) {
|
|
195
|
+
baseOptions = configuration.baseOptions;
|
|
196
|
+
}
|
|
197
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
198
|
+
const localVarHeaderParameter = {};
|
|
199
|
+
const localVarQueryParameter = {};
|
|
200
|
+
// authentication tokenScheme required
|
|
201
|
+
// http bearer authentication required
|
|
202
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
203
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
204
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
206
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
207
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(acceptanceNodeInfo, localVarRequestOptions, configuration);
|
|
208
|
+
return {
|
|
209
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
210
|
+
options: localVarRequestOptions,
|
|
211
|
+
};
|
|
212
|
+
}),
|
|
213
|
+
/**
|
|
214
|
+
* 编辑原材料确认单
|
|
215
|
+
* @summary 编辑原材料确认单
|
|
216
|
+
* @param {number} id
|
|
217
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
editMaterialConfirmation: (id_1, materialConfirmationInfo_1, ...args_1) => __awaiter(this, [id_1, materialConfirmationInfo_1, ...args_1], void 0, function* (id, materialConfirmationInfo, options = {}) {
|
|
222
|
+
// verify required parameter 'id' is not null or undefined
|
|
223
|
+
(0, common_1.assertParamExists)('editMaterialConfirmation', 'id', id);
|
|
224
|
+
// verify required parameter 'materialConfirmationInfo' is not null or undefined
|
|
225
|
+
(0, common_1.assertParamExists)('editMaterialConfirmation', 'materialConfirmationInfo', materialConfirmationInfo);
|
|
226
|
+
const localVarPath = `/gizone/maintenance-order/{id}/material-confirmations`
|
|
227
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
229
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
230
|
+
let baseOptions;
|
|
231
|
+
if (configuration) {
|
|
232
|
+
baseOptions = configuration.baseOptions;
|
|
233
|
+
}
|
|
234
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
235
|
+
const localVarHeaderParameter = {};
|
|
236
|
+
const localVarQueryParameter = {};
|
|
237
|
+
// authentication tokenScheme required
|
|
238
|
+
// http bearer authentication required
|
|
239
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
240
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
241
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
244
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(materialConfirmationInfo, localVarRequestOptions, configuration);
|
|
245
|
+
return {
|
|
246
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
247
|
+
options: localVarRequestOptions,
|
|
248
|
+
};
|
|
249
|
+
}),
|
|
250
|
+
/**
|
|
251
|
+
* 导出
|
|
252
|
+
* @summary 导出
|
|
253
|
+
* @param {number} [parkId] 园区ID
|
|
254
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
255
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
256
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
257
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
258
|
+
* @param {string} [searchValue] 关键词
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
export5: (parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1) => __awaiter(this, [parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1], void 0, function* (parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options = {}) {
|
|
263
|
+
const localVarPath = `/gizone/maintenance-order/export`;
|
|
264
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
265
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
266
|
+
let baseOptions;
|
|
267
|
+
if (configuration) {
|
|
268
|
+
baseOptions = configuration.baseOptions;
|
|
269
|
+
}
|
|
270
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
271
|
+
const localVarHeaderParameter = {};
|
|
272
|
+
const localVarQueryParameter = {};
|
|
273
|
+
// authentication tokenScheme required
|
|
274
|
+
// http bearer authentication required
|
|
275
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
276
|
+
if (parkId !== undefined) {
|
|
277
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
278
|
+
}
|
|
279
|
+
if (maintenanceOrderTypes) {
|
|
280
|
+
localVarQueryParameter['maintenanceOrderTypes'] = maintenanceOrderTypes;
|
|
281
|
+
}
|
|
282
|
+
if (maintenanceOrderStatuses) {
|
|
283
|
+
localVarQueryParameter['maintenanceOrderStatuses'] = maintenanceOrderStatuses;
|
|
284
|
+
}
|
|
285
|
+
if (startTimeBegin !== undefined) {
|
|
286
|
+
localVarQueryParameter['startTimeBegin'] = (startTimeBegin instanceof Date) ?
|
|
287
|
+
startTimeBegin.toISOString() :
|
|
288
|
+
startTimeBegin;
|
|
289
|
+
}
|
|
290
|
+
if (startTimeEnd !== undefined) {
|
|
291
|
+
localVarQueryParameter['startTimeEnd'] = (startTimeEnd instanceof Date) ?
|
|
292
|
+
startTimeEnd.toISOString() :
|
|
293
|
+
startTimeEnd;
|
|
294
|
+
}
|
|
295
|
+
if (searchValue !== undefined) {
|
|
296
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
297
|
+
}
|
|
298
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
301
|
+
return {
|
|
302
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions,
|
|
304
|
+
};
|
|
305
|
+
}),
|
|
306
|
+
/**
|
|
307
|
+
* 根据ID查询修缮订单详情
|
|
308
|
+
* @summary 查询修缮订单详情
|
|
309
|
+
* @param {number} id
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
getDetailsById: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
314
|
+
// verify required parameter 'id' is not null or undefined
|
|
315
|
+
(0, common_1.assertParamExists)('getDetailsById', 'id', id);
|
|
316
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
317
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
318
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
319
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
320
|
+
let baseOptions;
|
|
321
|
+
if (configuration) {
|
|
322
|
+
baseOptions = configuration.baseOptions;
|
|
323
|
+
}
|
|
324
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
325
|
+
const localVarHeaderParameter = {};
|
|
326
|
+
const localVarQueryParameter = {};
|
|
327
|
+
// authentication tokenScheme required
|
|
328
|
+
// http bearer authentication required
|
|
329
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
330
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
331
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
332
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
333
|
+
return {
|
|
334
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
335
|
+
options: localVarRequestOptions,
|
|
336
|
+
};
|
|
337
|
+
}),
|
|
338
|
+
/**
|
|
339
|
+
* 分页查询修缮订单列表
|
|
340
|
+
* @summary 分页查询修缮订单列表
|
|
341
|
+
* @param {number} page 页码
|
|
342
|
+
* @param {number} pageSize 每页数量
|
|
343
|
+
* @param {number} [parkId] 园区ID
|
|
344
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
345
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
346
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
347
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
348
|
+
* @param {string} [searchValue] 关键词
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
pageList1: (page_1, pageSize_1, parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1], void 0, function* (page, pageSize, parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options = {}) {
|
|
353
|
+
// verify required parameter 'page' is not null or undefined
|
|
354
|
+
(0, common_1.assertParamExists)('pageList1', 'page', page);
|
|
355
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
356
|
+
(0, common_1.assertParamExists)('pageList1', 'pageSize', pageSize);
|
|
357
|
+
const localVarPath = `/gizone/maintenance-order`;
|
|
358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
|
+
let baseOptions;
|
|
361
|
+
if (configuration) {
|
|
362
|
+
baseOptions = configuration.baseOptions;
|
|
363
|
+
}
|
|
364
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
365
|
+
const localVarHeaderParameter = {};
|
|
366
|
+
const localVarQueryParameter = {};
|
|
367
|
+
// authentication tokenScheme required
|
|
368
|
+
// http bearer authentication required
|
|
369
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
370
|
+
if (page !== undefined) {
|
|
371
|
+
localVarQueryParameter['page'] = page;
|
|
372
|
+
}
|
|
373
|
+
if (pageSize !== undefined) {
|
|
374
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
375
|
+
}
|
|
376
|
+
if (parkId !== undefined) {
|
|
377
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
378
|
+
}
|
|
379
|
+
if (maintenanceOrderTypes) {
|
|
380
|
+
localVarQueryParameter['maintenanceOrderTypes'] = maintenanceOrderTypes;
|
|
381
|
+
}
|
|
382
|
+
if (maintenanceOrderStatuses) {
|
|
383
|
+
localVarQueryParameter['maintenanceOrderStatuses'] = maintenanceOrderStatuses;
|
|
384
|
+
}
|
|
385
|
+
if (startTimeBegin !== undefined) {
|
|
386
|
+
localVarQueryParameter['startTimeBegin'] = (startTimeBegin instanceof Date) ?
|
|
387
|
+
startTimeBegin.toISOString() :
|
|
388
|
+
startTimeBegin;
|
|
389
|
+
}
|
|
390
|
+
if (startTimeEnd !== undefined) {
|
|
391
|
+
localVarQueryParameter['startTimeEnd'] = (startTimeEnd instanceof Date) ?
|
|
392
|
+
startTimeEnd.toISOString() :
|
|
393
|
+
startTimeEnd;
|
|
394
|
+
}
|
|
395
|
+
if (searchValue !== undefined) {
|
|
396
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
397
|
+
}
|
|
398
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
401
|
+
return {
|
|
402
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
403
|
+
options: localVarRequestOptions,
|
|
404
|
+
};
|
|
405
|
+
}),
|
|
406
|
+
/**
|
|
407
|
+
* 结算
|
|
408
|
+
* @summary 结算
|
|
409
|
+
* @param {number} id
|
|
410
|
+
* @param {MaintenanceOrderSettlementAddDto} maintenanceOrderSettlementAddDto
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
settlement: (id_1, maintenanceOrderSettlementAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderSettlementAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderSettlementAddDto, options = {}) {
|
|
415
|
+
// verify required parameter 'id' is not null or undefined
|
|
416
|
+
(0, common_1.assertParamExists)('settlement', 'id', id);
|
|
417
|
+
// verify required parameter 'maintenanceOrderSettlementAddDto' is not null or undefined
|
|
418
|
+
(0, common_1.assertParamExists)('settlement', 'maintenanceOrderSettlementAddDto', maintenanceOrderSettlementAddDto);
|
|
419
|
+
const localVarPath = `/gizone/maintenance-order/{id}/settlement`
|
|
420
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
421
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
422
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
423
|
+
let baseOptions;
|
|
424
|
+
if (configuration) {
|
|
425
|
+
baseOptions = configuration.baseOptions;
|
|
426
|
+
}
|
|
427
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
428
|
+
const localVarHeaderParameter = {};
|
|
429
|
+
const localVarQueryParameter = {};
|
|
430
|
+
// authentication tokenScheme required
|
|
431
|
+
// http bearer authentication required
|
|
432
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
433
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
434
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
435
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
437
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceOrderSettlementAddDto, localVarRequestOptions, configuration);
|
|
438
|
+
return {
|
|
439
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
440
|
+
options: localVarRequestOptions,
|
|
441
|
+
};
|
|
442
|
+
}),
|
|
443
|
+
/**
|
|
444
|
+
* 质保
|
|
445
|
+
* @summary 质保
|
|
446
|
+
* @param {number} id
|
|
447
|
+
* @param {MaintenanceOrderWarrantyUpdateDto} maintenanceOrderWarrantyUpdateDto
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
warranty: (id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1], void 0, function* (id, maintenanceOrderWarrantyUpdateDto, options = {}) {
|
|
452
|
+
// verify required parameter 'id' is not null or undefined
|
|
453
|
+
(0, common_1.assertParamExists)('warranty', 'id', id);
|
|
454
|
+
// verify required parameter 'maintenanceOrderWarrantyUpdateDto' is not null or undefined
|
|
455
|
+
(0, common_1.assertParamExists)('warranty', 'maintenanceOrderWarrantyUpdateDto', maintenanceOrderWarrantyUpdateDto);
|
|
456
|
+
const localVarPath = `/gizone/maintenance-order/{id}/warranty`
|
|
457
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
458
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
459
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
460
|
+
let baseOptions;
|
|
461
|
+
if (configuration) {
|
|
462
|
+
baseOptions = configuration.baseOptions;
|
|
463
|
+
}
|
|
464
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
465
|
+
const localVarHeaderParameter = {};
|
|
466
|
+
const localVarQueryParameter = {};
|
|
467
|
+
// authentication tokenScheme required
|
|
468
|
+
// http bearer authentication required
|
|
469
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
470
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
471
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
472
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
473
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
474
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceOrderWarrantyUpdateDto, localVarRequestOptions, configuration);
|
|
475
|
+
return {
|
|
476
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
477
|
+
options: localVarRequestOptions,
|
|
478
|
+
};
|
|
479
|
+
}),
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
exports.MaintenanceOrderApiAxiosParamCreator = MaintenanceOrderApiAxiosParamCreator;
|
|
483
|
+
/**
|
|
484
|
+
* MaintenanceOrderApi - functional programming interface
|
|
485
|
+
* @export
|
|
486
|
+
*/
|
|
487
|
+
const MaintenanceOrderApiFp = function (configuration) {
|
|
488
|
+
const localVarAxiosParamCreator = (0, exports.MaintenanceOrderApiAxiosParamCreator)(configuration);
|
|
489
|
+
return {
|
|
490
|
+
/**
|
|
491
|
+
* 删除修缮订单(逻辑删除)
|
|
492
|
+
* @summary 删除修缮订单
|
|
493
|
+
* @param {number} id
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
_delete(id, options) {
|
|
498
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
499
|
+
var _a, _b, _c;
|
|
500
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator._delete(id, options);
|
|
501
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
502
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi._delete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
503
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
504
|
+
});
|
|
505
|
+
},
|
|
506
|
+
/**
|
|
507
|
+
* 验收
|
|
508
|
+
* @summary 验收
|
|
509
|
+
* @param {number} id
|
|
510
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
accept(id, maintenanceOrderAcceptanceAddDto, options) {
|
|
515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
+
var _a, _b, _c;
|
|
517
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accept(id, maintenanceOrderAcceptanceAddDto, options);
|
|
518
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
519
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.accept']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
520
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
/**
|
|
524
|
+
* 施工完成
|
|
525
|
+
* @summary 施工完成
|
|
526
|
+
* @param {number} id
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
complete(id, options) {
|
|
531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
+
var _a, _b, _c;
|
|
533
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.complete(id, options);
|
|
534
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
535
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.complete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
536
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
537
|
+
});
|
|
538
|
+
},
|
|
539
|
+
/**
|
|
540
|
+
* 施工排期
|
|
541
|
+
* @summary 施工排期
|
|
542
|
+
* @param {number} id
|
|
543
|
+
* @param {MaintenanceConstructionSchedulesDto} maintenanceConstructionSchedulesDto
|
|
544
|
+
* @param {*} [options] Override http request option.
|
|
545
|
+
* @throws {RequiredError}
|
|
546
|
+
*/
|
|
547
|
+
constructionSchedules(id, maintenanceConstructionSchedulesDto, options) {
|
|
548
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
549
|
+
var _a, _b, _c;
|
|
550
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.constructionSchedules(id, maintenanceConstructionSchedulesDto, options);
|
|
551
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
552
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.constructionSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
553
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
554
|
+
});
|
|
555
|
+
},
|
|
556
|
+
/**
|
|
557
|
+
* 编辑节点验收记录
|
|
558
|
+
* @summary 编辑节点验收记录
|
|
559
|
+
* @param {number} id
|
|
560
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
editAcceptanceNodes(id, acceptanceNodeInfo, options) {
|
|
565
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
566
|
+
var _a, _b, _c;
|
|
567
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editAcceptanceNodes(id, acceptanceNodeInfo, options);
|
|
568
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
569
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.editAcceptanceNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
570
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
571
|
+
});
|
|
572
|
+
},
|
|
573
|
+
/**
|
|
574
|
+
* 编辑原材料确认单
|
|
575
|
+
* @summary 编辑原材料确认单
|
|
576
|
+
* @param {number} id
|
|
577
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
578
|
+
* @param {*} [options] Override http request option.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
editMaterialConfirmation(id, materialConfirmationInfo, options) {
|
|
582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
583
|
+
var _a, _b, _c;
|
|
584
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editMaterialConfirmation(id, materialConfirmationInfo, options);
|
|
585
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
586
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.editMaterialConfirmation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
587
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
588
|
+
});
|
|
589
|
+
},
|
|
590
|
+
/**
|
|
591
|
+
* 导出
|
|
592
|
+
* @summary 导出
|
|
593
|
+
* @param {number} [parkId] 园区ID
|
|
594
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
595
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
596
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
597
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
598
|
+
* @param {string} [searchValue] 关键词
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
export5(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
603
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
604
|
+
var _a, _b, _c;
|
|
605
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.export5(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
606
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
607
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.export5']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
608
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
609
|
+
});
|
|
610
|
+
},
|
|
611
|
+
/**
|
|
612
|
+
* 根据ID查询修缮订单详情
|
|
613
|
+
* @summary 查询修缮订单详情
|
|
614
|
+
* @param {number} id
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
getDetailsById(id, options) {
|
|
619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
620
|
+
var _a, _b, _c;
|
|
621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDetailsById(id, options);
|
|
622
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
623
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.getDetailsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
624
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
625
|
+
});
|
|
626
|
+
},
|
|
627
|
+
/**
|
|
628
|
+
* 分页查询修缮订单列表
|
|
629
|
+
* @summary 分页查询修缮订单列表
|
|
630
|
+
* @param {number} page 页码
|
|
631
|
+
* @param {number} pageSize 每页数量
|
|
632
|
+
* @param {number} [parkId] 园区ID
|
|
633
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
634
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
635
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
636
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
637
|
+
* @param {string} [searchValue] 关键词
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
*/
|
|
641
|
+
pageList1(page, pageSize, parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
642
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
643
|
+
var _a, _b, _c;
|
|
644
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.pageList1(page, pageSize, parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
645
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
646
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.pageList1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
647
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
|
+
});
|
|
649
|
+
},
|
|
650
|
+
/**
|
|
651
|
+
* 结算
|
|
652
|
+
* @summary 结算
|
|
653
|
+
* @param {number} id
|
|
654
|
+
* @param {MaintenanceOrderSettlementAddDto} maintenanceOrderSettlementAddDto
|
|
655
|
+
* @param {*} [options] Override http request option.
|
|
656
|
+
* @throws {RequiredError}
|
|
657
|
+
*/
|
|
658
|
+
settlement(id, maintenanceOrderSettlementAddDto, options) {
|
|
659
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
660
|
+
var _a, _b, _c;
|
|
661
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.settlement(id, maintenanceOrderSettlementAddDto, options);
|
|
662
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
663
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.settlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
664
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
665
|
+
});
|
|
666
|
+
},
|
|
667
|
+
/**
|
|
668
|
+
* 质保
|
|
669
|
+
* @summary 质保
|
|
670
|
+
* @param {number} id
|
|
671
|
+
* @param {MaintenanceOrderWarrantyUpdateDto} maintenanceOrderWarrantyUpdateDto
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
warranty(id, maintenanceOrderWarrantyUpdateDto, options) {
|
|
676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
677
|
+
var _a, _b, _c;
|
|
678
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.warranty(id, maintenanceOrderWarrantyUpdateDto, options);
|
|
679
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
680
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.warranty']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
681
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
682
|
+
});
|
|
683
|
+
},
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
exports.MaintenanceOrderApiFp = MaintenanceOrderApiFp;
|
|
687
|
+
/**
|
|
688
|
+
* MaintenanceOrderApi - factory interface
|
|
689
|
+
* @export
|
|
690
|
+
*/
|
|
691
|
+
const MaintenanceOrderApiFactory = function (configuration, basePath, axios) {
|
|
692
|
+
const localVarFp = (0, exports.MaintenanceOrderApiFp)(configuration);
|
|
693
|
+
return {
|
|
694
|
+
/**
|
|
695
|
+
* 删除修缮订单(逻辑删除)
|
|
696
|
+
* @summary 删除修缮订单
|
|
697
|
+
* @param {MaintenanceOrderApiDeleteRequest} requestParameters Request parameters.
|
|
698
|
+
* @param {*} [options] Override http request option.
|
|
699
|
+
* @throws {RequiredError}
|
|
700
|
+
*/
|
|
701
|
+
_delete(requestParameters, options) {
|
|
702
|
+
return localVarFp._delete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
703
|
+
},
|
|
704
|
+
/**
|
|
705
|
+
* 验收
|
|
706
|
+
* @summary 验收
|
|
707
|
+
* @param {MaintenanceOrderApiAcceptRequest} requestParameters Request parameters.
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
*/
|
|
711
|
+
accept(requestParameters, options) {
|
|
712
|
+
return localVarFp.accept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(axios, basePath));
|
|
713
|
+
},
|
|
714
|
+
/**
|
|
715
|
+
* 施工完成
|
|
716
|
+
* @summary 施工完成
|
|
717
|
+
* @param {MaintenanceOrderApiCompleteRequest} requestParameters Request parameters.
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
complete(requestParameters, options) {
|
|
722
|
+
return localVarFp.complete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
723
|
+
},
|
|
724
|
+
/**
|
|
725
|
+
* 施工排期
|
|
726
|
+
* @summary 施工排期
|
|
727
|
+
* @param {MaintenanceOrderApiConstructionSchedulesRequest} requestParameters Request parameters.
|
|
728
|
+
* @param {*} [options] Override http request option.
|
|
729
|
+
* @throws {RequiredError}
|
|
730
|
+
*/
|
|
731
|
+
constructionSchedules(requestParameters, options) {
|
|
732
|
+
return localVarFp.constructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(axios, basePath));
|
|
733
|
+
},
|
|
734
|
+
/**
|
|
735
|
+
* 编辑节点验收记录
|
|
736
|
+
* @summary 编辑节点验收记录
|
|
737
|
+
* @param {MaintenanceOrderApiEditAcceptanceNodesRequest} requestParameters Request parameters.
|
|
738
|
+
* @param {*} [options] Override http request option.
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
*/
|
|
741
|
+
editAcceptanceNodes(requestParameters, options) {
|
|
742
|
+
return localVarFp.editAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(axios, basePath));
|
|
743
|
+
},
|
|
744
|
+
/**
|
|
745
|
+
* 编辑原材料确认单
|
|
746
|
+
* @summary 编辑原材料确认单
|
|
747
|
+
* @param {MaintenanceOrderApiEditMaterialConfirmationRequest} requestParameters Request parameters.
|
|
748
|
+
* @param {*} [options] Override http request option.
|
|
749
|
+
* @throws {RequiredError}
|
|
750
|
+
*/
|
|
751
|
+
editMaterialConfirmation(requestParameters, options) {
|
|
752
|
+
return localVarFp.editMaterialConfirmation(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(axios, basePath));
|
|
753
|
+
},
|
|
754
|
+
/**
|
|
755
|
+
* 导出
|
|
756
|
+
* @summary 导出
|
|
757
|
+
* @param {MaintenanceOrderApiExport5Request} requestParameters Request parameters.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
export5(requestParameters = {}, options) {
|
|
762
|
+
return localVarFp.export5(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
763
|
+
},
|
|
764
|
+
/**
|
|
765
|
+
* 根据ID查询修缮订单详情
|
|
766
|
+
* @summary 查询修缮订单详情
|
|
767
|
+
* @param {MaintenanceOrderApiGetDetailsByIdRequest} requestParameters Request parameters.
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
*/
|
|
771
|
+
getDetailsById(requestParameters, options) {
|
|
772
|
+
return localVarFp.getDetailsById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
773
|
+
},
|
|
774
|
+
/**
|
|
775
|
+
* 分页查询修缮订单列表
|
|
776
|
+
* @summary 分页查询修缮订单列表
|
|
777
|
+
* @param {MaintenanceOrderApiPageList1Request} requestParameters Request parameters.
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
*/
|
|
781
|
+
pageList1(requestParameters, options) {
|
|
782
|
+
return localVarFp.pageList1(requestParameters.page, requestParameters.pageSize, requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
783
|
+
},
|
|
784
|
+
/**
|
|
785
|
+
* 结算
|
|
786
|
+
* @summary 结算
|
|
787
|
+
* @param {MaintenanceOrderApiSettlementRequest} requestParameters Request parameters.
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
*/
|
|
791
|
+
settlement(requestParameters, options) {
|
|
792
|
+
return localVarFp.settlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(axios, basePath));
|
|
793
|
+
},
|
|
794
|
+
/**
|
|
795
|
+
* 质保
|
|
796
|
+
* @summary 质保
|
|
797
|
+
* @param {MaintenanceOrderApiWarrantyRequest} requestParameters Request parameters.
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
warranty(requestParameters, options) {
|
|
802
|
+
return localVarFp.warranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(axios, basePath));
|
|
803
|
+
},
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
exports.MaintenanceOrderApiFactory = MaintenanceOrderApiFactory;
|
|
807
|
+
/**
|
|
808
|
+
* MaintenanceOrderApi - object-oriented interface
|
|
809
|
+
* @export
|
|
810
|
+
* @class MaintenanceOrderApi
|
|
811
|
+
* @extends {BaseAPI}
|
|
812
|
+
*/
|
|
813
|
+
class MaintenanceOrderApi extends base_1.BaseAPI {
|
|
814
|
+
/**
|
|
815
|
+
* 删除修缮订单(逻辑删除)
|
|
816
|
+
* @summary 删除修缮订单
|
|
817
|
+
* @param {MaintenanceOrderApiDeleteRequest} requestParameters Request parameters.
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
* @memberof MaintenanceOrderApi
|
|
821
|
+
*/
|
|
822
|
+
_delete(requestParameters, options) {
|
|
823
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration)._delete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* 验收
|
|
827
|
+
* @summary 验收
|
|
828
|
+
* @param {MaintenanceOrderApiAcceptRequest} requestParameters Request parameters.
|
|
829
|
+
* @param {*} [options] Override http request option.
|
|
830
|
+
* @throws {RequiredError}
|
|
831
|
+
* @memberof MaintenanceOrderApi
|
|
832
|
+
*/
|
|
833
|
+
accept(requestParameters, options) {
|
|
834
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).accept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* 施工完成
|
|
838
|
+
* @summary 施工完成
|
|
839
|
+
* @param {MaintenanceOrderApiCompleteRequest} requestParameters Request parameters.
|
|
840
|
+
* @param {*} [options] Override http request option.
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
* @memberof MaintenanceOrderApi
|
|
843
|
+
*/
|
|
844
|
+
complete(requestParameters, options) {
|
|
845
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).complete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* 施工排期
|
|
849
|
+
* @summary 施工排期
|
|
850
|
+
* @param {MaintenanceOrderApiConstructionSchedulesRequest} requestParameters Request parameters.
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @throws {RequiredError}
|
|
853
|
+
* @memberof MaintenanceOrderApi
|
|
854
|
+
*/
|
|
855
|
+
constructionSchedules(requestParameters, options) {
|
|
856
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).constructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(this.axios, this.basePath));
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* 编辑节点验收记录
|
|
860
|
+
* @summary 编辑节点验收记录
|
|
861
|
+
* @param {MaintenanceOrderApiEditAcceptanceNodesRequest} requestParameters Request parameters.
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
* @memberof MaintenanceOrderApi
|
|
865
|
+
*/
|
|
866
|
+
editAcceptanceNodes(requestParameters, options) {
|
|
867
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).editAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(this.axios, this.basePath));
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* 编辑原材料确认单
|
|
871
|
+
* @summary 编辑原材料确认单
|
|
872
|
+
* @param {MaintenanceOrderApiEditMaterialConfirmationRequest} requestParameters Request parameters.
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
* @memberof MaintenanceOrderApi
|
|
876
|
+
*/
|
|
877
|
+
editMaterialConfirmation(requestParameters, options) {
|
|
878
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).editMaterialConfirmation(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(this.axios, this.basePath));
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* 导出
|
|
882
|
+
* @summary 导出
|
|
883
|
+
* @param {MaintenanceOrderApiExport5Request} requestParameters Request parameters.
|
|
884
|
+
* @param {*} [options] Override http request option.
|
|
885
|
+
* @throws {RequiredError}
|
|
886
|
+
* @memberof MaintenanceOrderApi
|
|
887
|
+
*/
|
|
888
|
+
export5(requestParameters = {}, options) {
|
|
889
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).export5(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* 根据ID查询修缮订单详情
|
|
893
|
+
* @summary 查询修缮订单详情
|
|
894
|
+
* @param {MaintenanceOrderApiGetDetailsByIdRequest} requestParameters Request parameters.
|
|
895
|
+
* @param {*} [options] Override http request option.
|
|
896
|
+
* @throws {RequiredError}
|
|
897
|
+
* @memberof MaintenanceOrderApi
|
|
898
|
+
*/
|
|
899
|
+
getDetailsById(requestParameters, options) {
|
|
900
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).getDetailsById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* 分页查询修缮订单列表
|
|
904
|
+
* @summary 分页查询修缮订单列表
|
|
905
|
+
* @param {MaintenanceOrderApiPageList1Request} requestParameters Request parameters.
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
* @memberof MaintenanceOrderApi
|
|
909
|
+
*/
|
|
910
|
+
pageList1(requestParameters, options) {
|
|
911
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).pageList1(requestParameters.page, requestParameters.pageSize, requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(this.axios, this.basePath));
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* 结算
|
|
915
|
+
* @summary 结算
|
|
916
|
+
* @param {MaintenanceOrderApiSettlementRequest} requestParameters Request parameters.
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
* @memberof MaintenanceOrderApi
|
|
920
|
+
*/
|
|
921
|
+
settlement(requestParameters, options) {
|
|
922
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).settlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* 质保
|
|
926
|
+
* @summary 质保
|
|
927
|
+
* @param {MaintenanceOrderApiWarrantyRequest} requestParameters Request parameters.
|
|
928
|
+
* @param {*} [options] Override http request option.
|
|
929
|
+
* @throws {RequiredError}
|
|
930
|
+
* @memberof MaintenanceOrderApi
|
|
931
|
+
*/
|
|
932
|
+
warranty(requestParameters, options) {
|
|
933
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).warranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
exports.MaintenanceOrderApi = MaintenanceOrderApi;
|