@gizone/rrs-client 4.2.9-alpha.642 → 4.2.9-alpha.657
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 +26 -0
- package/apis/dashboard-api.ts +544 -0
- package/apis/device-api.ts +15 -15
- package/apis/hwork-api.ts +93 -0
- package/apis/maintenance-order-api.ts +383 -268
- package/apis/reimbursement-bill-api.ts +89 -0
- package/apis/web-hook-api.ts +364 -0
- package/dist/apis/dashboard-api.d.ts +281 -0
- package/dist/apis/dashboard-api.js +420 -0
- package/dist/apis/device-api.d.ts +10 -10
- package/dist/apis/device-api.js +11 -11
- package/dist/apis/hwork-api.d.ts +48 -0
- package/dist/apis/hwork-api.js +70 -0
- package/dist/apis/maintenance-order-api.d.ts +249 -186
- package/dist/apis/maintenance-order-api.js +269 -190
- package/dist/apis/reimbursement-bill-api.d.ts +47 -0
- package/dist/apis/reimbursement-bill-api.js +69 -0
- package/dist/apis/web-hook-api.d.ts +212 -0
- package/dist/apis/web-hook-api.js +280 -0
- package/dist/esm/apis/dashboard-api.d.ts +281 -0
- package/dist/esm/apis/dashboard-api.js +420 -0
- package/dist/esm/apis/device-api.d.ts +10 -10
- package/dist/esm/apis/device-api.js +11 -11
- package/dist/esm/apis/hwork-api.d.ts +48 -0
- package/dist/esm/apis/hwork-api.js +71 -1
- package/dist/esm/apis/maintenance-order-api.d.ts +249 -186
- package/dist/esm/apis/maintenance-order-api.js +269 -190
- package/dist/esm/apis/reimbursement-bill-api.d.ts +47 -0
- package/dist/esm/apis/reimbursement-bill-api.js +69 -0
- package/dist/esm/apis/web-hook-api.d.ts +212 -0
- package/dist/esm/apis/web-hook-api.js +280 -0
- package/dist/esm/models/budget-interaction-result-detail-dto.d.ts +48 -0
- package/dist/esm/models/budget-interaction-result-detail-dto.js +14 -0
- package/dist/esm/models/czy-budget-interaction-result-webhook-dto.d.ts +79 -0
- package/dist/esm/models/czy-budget-interaction-result-webhook-dto.js +14 -0
- package/dist/esm/models/czy-settlement-interaction-webhook-dto.d.ts +57 -0
- package/dist/esm/models/czy-settlement-interaction-webhook-dto.js +14 -0
- package/dist/esm/models/czycover-file-url-webhook-dto.d.ts +84 -0
- package/dist/esm/models/czycover-file-url-webhook-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-by-park-search-dto.d.ts +80 -0
- package/dist/esm/models/dashboard-maintenance-order-by-park-search-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-list-search-dto.d.ts +98 -0
- package/dist/esm/models/dashboard-maintenance-order-list-search-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +90 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-park-vo.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +85 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-type-vo.js +14 -0
- package/dist/esm/models/dept.d.ts +36 -0
- package/dist/esm/models/dept.js +14 -0
- package/dist/esm/models/hwork-notice-bpm-dto.d.ts +60 -0
- package/dist/esm/models/hwork-notice-bpm-dto.js +14 -0
- package/dist/esm/models/hwork-user-list-req-dto.d.ts +30 -0
- package/dist/esm/models/hwork-user-list-req-dto.js +14 -0
- package/dist/esm/models/hwork-user-list-result-vo.d.ts +44 -0
- package/dist/esm/models/hwork-user-list-result-vo.js +14 -0
- package/dist/esm/models/index.d.ts +26 -0
- package/dist/esm/models/index.js +26 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/esm/models/json-result-hwork-user-list-result-vo.d.ts +62 -0
- package/dist/esm/models/json-result-hwork-user-list-result-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.js +14 -0
- package/dist/esm/models/json-result-list-maintenance-order-process-record-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-maintenance-order-process-record-list-vo.js +14 -0
- package/dist/esm/models/json-result-list-reimbursement-bill-process-record-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-reimbursement-bill-process-record-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-approval-config-add-dto.d.ts +6 -0
- package/dist/esm/models/maintenance-order-list-vo.d.ts +6 -0
- package/dist/esm/models/maintenance-order-process-record-list-vo.d.ts +61 -0
- package/dist/esm/models/maintenance-order-process-record-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-process-status-enum.d.ts +30 -0
- package/dist/esm/models/maintenance-order-process-status-enum.js +31 -0
- package/dist/esm/models/maintenance-order-status-enum.d.ts +1 -1
- package/dist/esm/models/maintenance-order-status-enum.js +1 -1
- package/dist/esm/models/maintenance-order-type-enum.d.ts +1 -1
- package/dist/esm/models/maintenance-order-type-enum.js +1 -1
- package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.d.ts +9 -9
- package/dist/esm/models/mdm-increment-vendors-vo.d.ts +12 -12
- package/dist/esm/models/payment-result-dto.d.ts +102 -0
- package/dist/esm/models/payment-result-dto.js +14 -0
- package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +6 -0
- package/dist/esm/models/reimbursement-bill-process-record-list-vo.d.ts +55 -0
- package/dist/esm/models/reimbursement-bill-process-record-list-vo.js +14 -0
- package/dist/esm/models/reimbursement-bill-process-type-enum.d.ts +22 -0
- package/dist/esm/models/reimbursement-bill-process-type-enum.js +23 -0
- package/dist/esm/models/reimbursement-bill-submit-dto.d.ts +7 -1
- package/dist/esm/models/reimbursement-create-result-dto.d.ts +48 -0
- package/dist/esm/models/reimbursement-create-result-dto.js +14 -0
- package/dist/esm/models/reimbursement-platform-status-dto.d.ts +169 -0
- package/dist/esm/models/reimbursement-platform-status-dto.js +14 -0
- package/dist/esm/models/reimbursement-reverse-status-dto.d.ts +60 -0
- package/dist/esm/models/reimbursement-reverse-status-dto.js +14 -0
- package/dist/esm/models/user.d.ts +36 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/models/budget-interaction-result-detail-dto.d.ts +48 -0
- package/dist/models/budget-interaction-result-detail-dto.js +15 -0
- package/dist/models/czy-budget-interaction-result-webhook-dto.d.ts +79 -0
- package/dist/models/czy-budget-interaction-result-webhook-dto.js +15 -0
- package/dist/models/czy-settlement-interaction-webhook-dto.d.ts +57 -0
- package/dist/models/czy-settlement-interaction-webhook-dto.js +15 -0
- package/dist/models/czycover-file-url-webhook-dto.d.ts +84 -0
- package/dist/models/czycover-file-url-webhook-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-by-park-search-dto.d.ts +80 -0
- package/dist/models/dashboard-maintenance-order-by-park-search-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-list-search-dto.d.ts +98 -0
- package/dist/models/dashboard-maintenance-order-list-search-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +90 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-park-vo.js +15 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +85 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-type-vo.js +15 -0
- package/dist/models/dept.d.ts +36 -0
- package/dist/models/dept.js +15 -0
- package/dist/models/hwork-notice-bpm-dto.d.ts +60 -0
- package/dist/models/hwork-notice-bpm-dto.js +15 -0
- package/dist/models/hwork-user-list-req-dto.d.ts +30 -0
- package/dist/models/hwork-user-list-req-dto.js +15 -0
- package/dist/models/hwork-user-list-result-vo.d.ts +44 -0
- package/dist/models/hwork-user-list-result-vo.js +15 -0
- package/dist/models/index.d.ts +26 -0
- package/dist/models/index.js +26 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- package/dist/models/json-result-hwork-user-list-result-vo.d.ts +62 -0
- package/dist/models/json-result-hwork-user-list-result-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.js +15 -0
- package/dist/models/json-result-list-maintenance-order-process-record-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-maintenance-order-process-record-list-vo.js +15 -0
- package/dist/models/json-result-list-reimbursement-bill-process-record-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-reimbursement-bill-process-record-list-vo.js +15 -0
- package/dist/models/maintenance-order-approval-config-add-dto.d.ts +6 -0
- package/dist/models/maintenance-order-list-vo.d.ts +6 -0
- package/dist/models/maintenance-order-process-record-list-vo.d.ts +61 -0
- package/dist/models/maintenance-order-process-record-list-vo.js +15 -0
- package/dist/models/maintenance-order-process-status-enum.d.ts +30 -0
- package/dist/models/maintenance-order-process-status-enum.js +34 -0
- package/dist/models/maintenance-order-status-enum.d.ts +1 -1
- package/dist/models/maintenance-order-status-enum.js +1 -1
- package/dist/models/maintenance-order-type-enum.d.ts +1 -1
- package/dist/models/maintenance-order-type-enum.js +1 -1
- package/dist/models/mdm-increment-vendor-bank-accounts-vo.d.ts +9 -9
- package/dist/models/mdm-increment-vendors-vo.d.ts +12 -12
- package/dist/models/payment-result-dto.d.ts +102 -0
- package/dist/models/payment-result-dto.js +15 -0
- package/dist/models/reimbursement-bill-draft-dto.d.ts +6 -0
- package/dist/models/reimbursement-bill-process-record-list-vo.d.ts +55 -0
- package/dist/models/reimbursement-bill-process-record-list-vo.js +15 -0
- package/dist/models/reimbursement-bill-process-type-enum.d.ts +22 -0
- package/dist/models/reimbursement-bill-process-type-enum.js +26 -0
- package/dist/models/reimbursement-bill-submit-dto.d.ts +7 -1
- package/dist/models/reimbursement-create-result-dto.d.ts +48 -0
- package/dist/models/reimbursement-create-result-dto.js +15 -0
- package/dist/models/reimbursement-platform-status-dto.d.ts +169 -0
- package/dist/models/reimbursement-platform-status-dto.js +15 -0
- package/dist/models/reimbursement-reverse-status-dto.d.ts +60 -0
- package/dist/models/reimbursement-reverse-status-dto.js +15 -0
- package/dist/models/user.d.ts +36 -0
- package/dist/models/user.js +15 -0
- package/models/budget-interaction-result-detail-dto.ts +54 -0
- package/models/czy-budget-interaction-result-webhook-dto.ts +87 -0
- package/models/czy-settlement-interaction-webhook-dto.ts +69 -0
- package/models/czycover-file-url-webhook-dto.ts +90 -0
- package/models/dashboard-maintenance-order-by-park-search-dto.ts +90 -0
- package/models/dashboard-maintenance-order-list-search-dto.ts +108 -0
- package/models/dashboard-maintenance-order-statistics-by-park-vo.ts +96 -0
- package/models/dashboard-maintenance-order-statistics-by-type-vo.ts +95 -0
- package/models/dept.ts +42 -0
- package/models/hwork-notice-bpm-dto.ts +66 -0
- package/models/hwork-user-list-req-dto.ts +36 -0
- package/models/hwork-user-list-result-vo.ts +54 -0
- package/models/index.ts +26 -0
- package/models/ipage-energy-cost-record-info-vo.ts +3 -3
- package/models/json-result-hwork-user-list-result-vo.ts +72 -0
- package/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.ts +72 -0
- package/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.ts +72 -0
- package/models/json-result-list-maintenance-order-process-record-list-vo.ts +72 -0
- package/models/json-result-list-reimbursement-bill-process-record-list-vo.ts +72 -0
- package/models/maintenance-order-approval-config-add-dto.ts +6 -0
- package/models/maintenance-order-list-vo.ts +6 -0
- package/models/maintenance-order-process-record-list-vo.ts +71 -0
- package/models/maintenance-order-process-status-enum.ts +40 -0
- package/models/maintenance-order-status-enum.ts +1 -1
- package/models/maintenance-order-type-enum.ts +1 -1
- package/models/mdm-increment-vendor-bank-accounts-vo.ts +9 -9
- package/models/mdm-increment-vendors-vo.ts +12 -12
- package/models/payment-result-dto.ts +108 -0
- package/models/reimbursement-bill-draft-dto.ts +6 -0
- package/models/reimbursement-bill-process-record-list-vo.ts +65 -0
- package/models/reimbursement-bill-process-type-enum.ts +32 -0
- package/models/reimbursement-bill-submit-dto.ts +7 -1
- package/models/reimbursement-create-result-dto.ts +54 -0
- package/models/reimbursement-platform-status-dto.ts +177 -0
- package/models/reimbursement-reverse-status-dto.ts +66 -0
- package/models/user.ts +42 -0
- package/ossutil.log +1182 -1176
- package/package.json +1 -1
|
@@ -36,16 +36,19 @@ const base_1 = require("../base");
|
|
|
36
36
|
const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
39
|
+
* 验收
|
|
40
|
+
* @summary 验收
|
|
41
41
|
* @param {number} id
|
|
42
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
42
43
|
* @param {*} [options] Override http request option.
|
|
43
44
|
* @throws {RequiredError}
|
|
44
45
|
*/
|
|
45
|
-
|
|
46
|
+
maintenanceOrderAccept: (id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderAcceptanceAddDto, options = {}) {
|
|
46
47
|
// verify required parameter 'id' is not null or undefined
|
|
47
|
-
(0, common_1.assertParamExists)('
|
|
48
|
-
|
|
48
|
+
(0, common_1.assertParamExists)('maintenanceOrderAccept', 'id', id);
|
|
49
|
+
// verify required parameter 'maintenanceOrderAcceptanceAddDto' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('maintenanceOrderAccept', 'maintenanceOrderAcceptanceAddDto', maintenanceOrderAcceptanceAddDto);
|
|
51
|
+
const localVarPath = `/gizone/maintenance-order/{id}/accept`
|
|
49
52
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
50
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
54
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -53,34 +56,36 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
53
56
|
if (configuration) {
|
|
54
57
|
baseOptions = configuration.baseOptions;
|
|
55
58
|
}
|
|
56
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
59
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
57
60
|
const localVarHeaderParameter = {};
|
|
58
61
|
const localVarQueryParameter = {};
|
|
59
62
|
// authentication tokenScheme required
|
|
60
63
|
// http bearer authentication required
|
|
61
64
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
65
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
66
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
67
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
68
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
69
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceOrderAcceptanceAddDto, localVarRequestOptions, configuration);
|
|
65
70
|
return {
|
|
66
71
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
67
72
|
options: localVarRequestOptions,
|
|
68
73
|
};
|
|
69
74
|
}),
|
|
70
75
|
/**
|
|
71
|
-
*
|
|
72
|
-
* @summary
|
|
76
|
+
* 编辑节点验收记录
|
|
77
|
+
* @summary 编辑节点验收记录
|
|
73
78
|
* @param {number} id
|
|
74
|
-
* @param {
|
|
79
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
75
80
|
* @param {*} [options] Override http request option.
|
|
76
81
|
* @throws {RequiredError}
|
|
77
82
|
*/
|
|
78
|
-
|
|
83
|
+
maintenanceOrderAcceptanceNodes: (id_1, acceptanceNodeInfo_1, ...args_1) => __awaiter(this, [id_1, acceptanceNodeInfo_1, ...args_1], void 0, function* (id, acceptanceNodeInfo, options = {}) {
|
|
79
84
|
// verify required parameter 'id' is not null or undefined
|
|
80
|
-
(0, common_1.assertParamExists)('
|
|
81
|
-
// verify required parameter '
|
|
82
|
-
(0, common_1.assertParamExists)('
|
|
83
|
-
const localVarPath = `/gizone/maintenance-order/{id}/
|
|
85
|
+
(0, common_1.assertParamExists)('maintenanceOrderAcceptanceNodes', 'id', id);
|
|
86
|
+
// verify required parameter 'acceptanceNodeInfo' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('maintenanceOrderAcceptanceNodes', 'acceptanceNodeInfo', acceptanceNodeInfo);
|
|
88
|
+
const localVarPath = `/gizone/maintenance-order/{id}/acceptance-nodes`
|
|
84
89
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
85
90
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
91
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -98,7 +103,7 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
98
103
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
99
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
101
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
106
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(acceptanceNodeInfo, localVarRequestOptions, configuration);
|
|
102
107
|
return {
|
|
103
108
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
104
109
|
options: localVarRequestOptions,
|
|
@@ -111,9 +116,9 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
111
116
|
* @param {*} [options] Override http request option.
|
|
112
117
|
* @throws {RequiredError}
|
|
113
118
|
*/
|
|
114
|
-
|
|
119
|
+
maintenanceOrderComplete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
115
120
|
// verify required parameter 'id' is not null or undefined
|
|
116
|
-
(0, common_1.assertParamExists)('
|
|
121
|
+
(0, common_1.assertParamExists)('maintenanceOrderComplete', 'id', id);
|
|
117
122
|
const localVarPath = `/gizone/maintenance-order/{id}/complete`
|
|
118
123
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
119
124
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -144,11 +149,11 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
144
149
|
* @param {*} [options] Override http request option.
|
|
145
150
|
* @throws {RequiredError}
|
|
146
151
|
*/
|
|
147
|
-
|
|
152
|
+
maintenanceOrderConstructionSchedules: (id_1, maintenanceConstructionSchedulesDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceConstructionSchedulesDto_1, ...args_1], void 0, function* (id, maintenanceConstructionSchedulesDto, options = {}) {
|
|
148
153
|
// verify required parameter 'id' is not null or undefined
|
|
149
|
-
(0, common_1.assertParamExists)('
|
|
154
|
+
(0, common_1.assertParamExists)('maintenanceOrderConstructionSchedules', 'id', id);
|
|
150
155
|
// verify required parameter 'maintenanceConstructionSchedulesDto' is not null or undefined
|
|
151
|
-
(0, common_1.assertParamExists)('
|
|
156
|
+
(0, common_1.assertParamExists)('maintenanceOrderConstructionSchedules', 'maintenanceConstructionSchedulesDto', maintenanceConstructionSchedulesDto);
|
|
152
157
|
const localVarPath = `/gizone/maintenance-order/{id}/construction-schedules`
|
|
153
158
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
154
159
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -174,19 +179,16 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
174
179
|
};
|
|
175
180
|
}),
|
|
176
181
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @summary
|
|
182
|
+
* 删除修缮订单(逻辑删除)
|
|
183
|
+
* @summary 删除修缮订单
|
|
179
184
|
* @param {number} id
|
|
180
|
-
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
181
185
|
* @param {*} [options] Override http request option.
|
|
182
186
|
* @throws {RequiredError}
|
|
183
187
|
*/
|
|
184
|
-
|
|
188
|
+
maintenanceOrderDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
185
189
|
// verify required parameter 'id' is not null or undefined
|
|
186
|
-
(0, common_1.assertParamExists)('
|
|
187
|
-
|
|
188
|
-
(0, common_1.assertParamExists)('editAcceptanceNodes', 'acceptanceNodeInfo', acceptanceNodeInfo);
|
|
189
|
-
const localVarPath = `/gizone/maintenance-order/{id}/acceptance-nodes`
|
|
190
|
+
(0, common_1.assertParamExists)('maintenanceOrderDelete', 'id', id);
|
|
191
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
190
192
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
191
193
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
192
194
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -194,36 +196,31 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
194
196
|
if (configuration) {
|
|
195
197
|
baseOptions = configuration.baseOptions;
|
|
196
198
|
}
|
|
197
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
199
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
198
200
|
const localVarHeaderParameter = {};
|
|
199
201
|
const localVarQueryParameter = {};
|
|
200
202
|
// authentication tokenScheme required
|
|
201
203
|
// http bearer authentication required
|
|
202
204
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
203
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
204
205
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
205
206
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
206
207
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
207
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(acceptanceNodeInfo, localVarRequestOptions, configuration);
|
|
208
208
|
return {
|
|
209
209
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
210
210
|
options: localVarRequestOptions,
|
|
211
211
|
};
|
|
212
212
|
}),
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
215
|
-
* @summary
|
|
214
|
+
* 根据ID查询修缮订单详情
|
|
215
|
+
* @summary 查询修缮订单详情
|
|
216
216
|
* @param {number} id
|
|
217
|
-
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
218
217
|
* @param {*} [options] Override http request option.
|
|
219
218
|
* @throws {RequiredError}
|
|
220
219
|
*/
|
|
221
|
-
|
|
220
|
+
maintenanceOrderDetail: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
222
221
|
// verify required parameter 'id' is not null or undefined
|
|
223
|
-
(0, common_1.assertParamExists)('
|
|
224
|
-
|
|
225
|
-
(0, common_1.assertParamExists)('editMaterialConfirmation', 'materialConfirmationInfo', materialConfirmationInfo);
|
|
226
|
-
const localVarPath = `/gizone/maintenance-order/{id}/material-confirmations`
|
|
222
|
+
(0, common_1.assertParamExists)('maintenanceOrderDetail', 'id', id);
|
|
223
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
227
224
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
228
225
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
229
226
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -231,17 +228,15 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
231
228
|
if (configuration) {
|
|
232
229
|
baseOptions = configuration.baseOptions;
|
|
233
230
|
}
|
|
234
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
235
232
|
const localVarHeaderParameter = {};
|
|
236
233
|
const localVarQueryParameter = {};
|
|
237
234
|
// authentication tokenScheme required
|
|
238
235
|
// http bearer authentication required
|
|
239
236
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
240
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
241
237
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
239
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
244
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(materialConfirmationInfo, localVarRequestOptions, configuration);
|
|
245
240
|
return {
|
|
246
241
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
247
242
|
options: localVarRequestOptions,
|
|
@@ -259,7 +254,7 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
259
254
|
* @param {*} [options] Override http request option.
|
|
260
255
|
* @throws {RequiredError}
|
|
261
256
|
*/
|
|
262
|
-
|
|
257
|
+
maintenanceOrderExport: (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
258
|
const localVarPath = `/gizone/maintenance-order/export`;
|
|
264
259
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
265
260
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -304,16 +299,19 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
304
299
|
};
|
|
305
300
|
}),
|
|
306
301
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @summary
|
|
302
|
+
* 编辑原材料确认单
|
|
303
|
+
* @summary 编辑原材料确认单
|
|
309
304
|
* @param {number} id
|
|
305
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
310
306
|
* @param {*} [options] Override http request option.
|
|
311
307
|
* @throws {RequiredError}
|
|
312
308
|
*/
|
|
313
|
-
|
|
309
|
+
maintenanceOrderMaterialConfirmations: (id_1, materialConfirmationInfo_1, ...args_1) => __awaiter(this, [id_1, materialConfirmationInfo_1, ...args_1], void 0, function* (id, materialConfirmationInfo, options = {}) {
|
|
314
310
|
// verify required parameter 'id' is not null or undefined
|
|
315
|
-
(0, common_1.assertParamExists)('
|
|
316
|
-
|
|
311
|
+
(0, common_1.assertParamExists)('maintenanceOrderMaterialConfirmations', 'id', id);
|
|
312
|
+
// verify required parameter 'materialConfirmationInfo' is not null or undefined
|
|
313
|
+
(0, common_1.assertParamExists)('maintenanceOrderMaterialConfirmations', 'materialConfirmationInfo', materialConfirmationInfo);
|
|
314
|
+
const localVarPath = `/gizone/maintenance-order/{id}/material-confirmations`
|
|
317
315
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
318
316
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
319
317
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -321,15 +319,17 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
321
319
|
if (configuration) {
|
|
322
320
|
baseOptions = configuration.baseOptions;
|
|
323
321
|
}
|
|
324
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
322
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
325
323
|
const localVarHeaderParameter = {};
|
|
326
324
|
const localVarQueryParameter = {};
|
|
327
325
|
// authentication tokenScheme required
|
|
328
326
|
// http bearer authentication required
|
|
329
327
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
328
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
330
329
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
331
330
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
332
331
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
332
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(materialConfirmationInfo, localVarRequestOptions, configuration);
|
|
333
333
|
return {
|
|
334
334
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
335
335
|
options: localVarRequestOptions,
|
|
@@ -341,19 +341,21 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
341
341
|
* @param {number} page 页码
|
|
342
342
|
* @param {number} pageSize 每页数量
|
|
343
343
|
* @param {number} [parkId] 园区ID
|
|
344
|
+
* @param {Array<number>} [parkIds] 园区ID集合
|
|
344
345
|
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
345
346
|
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
346
347
|
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
347
348
|
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
348
349
|
* @param {string} [searchValue] 关键词
|
|
350
|
+
* @param {boolean} [isTimeOut] 是否超时
|
|
349
351
|
* @param {*} [options] Override http request option.
|
|
350
352
|
* @throws {RequiredError}
|
|
351
353
|
*/
|
|
352
|
-
|
|
354
|
+
maintenanceOrderPageList: (page_1, pageSize_1, parkId_1, parkIds_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, isTimeOut_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, parkId_1, parkIds_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, isTimeOut_1, ...args_1], void 0, function* (page, pageSize, parkId, parkIds, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, isTimeOut, options = {}) {
|
|
353
355
|
// verify required parameter 'page' is not null or undefined
|
|
354
|
-
(0, common_1.assertParamExists)('
|
|
356
|
+
(0, common_1.assertParamExists)('maintenanceOrderPageList', 'page', page);
|
|
355
357
|
// verify required parameter 'pageSize' is not null or undefined
|
|
356
|
-
(0, common_1.assertParamExists)('
|
|
358
|
+
(0, common_1.assertParamExists)('maintenanceOrderPageList', 'pageSize', pageSize);
|
|
357
359
|
const localVarPath = `/gizone/maintenance-order`;
|
|
358
360
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
361
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -376,6 +378,9 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
376
378
|
if (parkId !== undefined) {
|
|
377
379
|
localVarQueryParameter['parkId'] = parkId;
|
|
378
380
|
}
|
|
381
|
+
if (parkIds) {
|
|
382
|
+
localVarQueryParameter['parkIds'] = parkIds;
|
|
383
|
+
}
|
|
379
384
|
if (maintenanceOrderTypes) {
|
|
380
385
|
localVarQueryParameter['maintenanceOrderTypes'] = maintenanceOrderTypes;
|
|
381
386
|
}
|
|
@@ -395,6 +400,41 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
395
400
|
if (searchValue !== undefined) {
|
|
396
401
|
localVarQueryParameter['searchValue'] = searchValue;
|
|
397
402
|
}
|
|
403
|
+
if (isTimeOut !== undefined) {
|
|
404
|
+
localVarQueryParameter['isTimeOut'] = isTimeOut;
|
|
405
|
+
}
|
|
406
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
409
|
+
return {
|
|
410
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
411
|
+
options: localVarRequestOptions,
|
|
412
|
+
};
|
|
413
|
+
}),
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @summary 查询修缮单流转记录
|
|
417
|
+
* @param {number} id
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
maintenanceOrderProcessRecord: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
422
|
+
// verify required parameter 'id' is not null or undefined
|
|
423
|
+
(0, common_1.assertParamExists)('maintenanceOrderProcessRecord', 'id', id);
|
|
424
|
+
const localVarPath = `/gizone/maintenance-order/{id}/processRecord`
|
|
425
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
426
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
427
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
428
|
+
let baseOptions;
|
|
429
|
+
if (configuration) {
|
|
430
|
+
baseOptions = configuration.baseOptions;
|
|
431
|
+
}
|
|
432
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
433
|
+
const localVarHeaderParameter = {};
|
|
434
|
+
const localVarQueryParameter = {};
|
|
435
|
+
// authentication tokenScheme required
|
|
436
|
+
// http bearer authentication required
|
|
437
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
398
438
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
399
439
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
440
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -411,11 +451,11 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
411
451
|
* @param {*} [options] Override http request option.
|
|
412
452
|
* @throws {RequiredError}
|
|
413
453
|
*/
|
|
414
|
-
|
|
454
|
+
maintenanceOrderSettlement: (id_1, maintenanceOrderSettlementAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderSettlementAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderSettlementAddDto, options = {}) {
|
|
415
455
|
// verify required parameter 'id' is not null or undefined
|
|
416
|
-
(0, common_1.assertParamExists)('
|
|
456
|
+
(0, common_1.assertParamExists)('maintenanceOrderSettlement', 'id', id);
|
|
417
457
|
// verify required parameter 'maintenanceOrderSettlementAddDto' is not null or undefined
|
|
418
|
-
(0, common_1.assertParamExists)('
|
|
458
|
+
(0, common_1.assertParamExists)('maintenanceOrderSettlement', 'maintenanceOrderSettlementAddDto', maintenanceOrderSettlementAddDto);
|
|
419
459
|
const localVarPath = `/gizone/maintenance-order/{id}/settlement`
|
|
420
460
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
421
461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -448,11 +488,11 @@ const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
448
488
|
* @param {*} [options] Override http request option.
|
|
449
489
|
* @throws {RequiredError}
|
|
450
490
|
*/
|
|
451
|
-
|
|
491
|
+
maintenanceOrderWarranty: (id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1], void 0, function* (id, maintenanceOrderWarrantyUpdateDto, options = {}) {
|
|
452
492
|
// verify required parameter 'id' is not null or undefined
|
|
453
|
-
(0, common_1.assertParamExists)('
|
|
493
|
+
(0, common_1.assertParamExists)('maintenanceOrderWarranty', 'id', id);
|
|
454
494
|
// verify required parameter 'maintenanceOrderWarrantyUpdateDto' is not null or undefined
|
|
455
|
-
(0, common_1.assertParamExists)('
|
|
495
|
+
(0, common_1.assertParamExists)('maintenanceOrderWarranty', 'maintenanceOrderWarrantyUpdateDto', maintenanceOrderWarrantyUpdateDto);
|
|
456
496
|
const localVarPath = `/gizone/maintenance-order/{id}/warranty`
|
|
457
497
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
458
498
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -488,35 +528,36 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
488
528
|
const localVarAxiosParamCreator = (0, exports.MaintenanceOrderApiAxiosParamCreator)(configuration);
|
|
489
529
|
return {
|
|
490
530
|
/**
|
|
491
|
-
*
|
|
492
|
-
* @summary
|
|
531
|
+
* 验收
|
|
532
|
+
* @summary 验收
|
|
493
533
|
* @param {number} id
|
|
534
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
494
535
|
* @param {*} [options] Override http request option.
|
|
495
536
|
* @throws {RequiredError}
|
|
496
537
|
*/
|
|
497
|
-
|
|
538
|
+
maintenanceOrderAccept(id, maintenanceOrderAcceptanceAddDto, options) {
|
|
498
539
|
return __awaiter(this, void 0, void 0, function* () {
|
|
499
540
|
var _a, _b, _c;
|
|
500
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
541
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderAccept(id, maintenanceOrderAcceptanceAddDto, options);
|
|
501
542
|
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.
|
|
543
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderAccept']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
503
544
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
504
545
|
});
|
|
505
546
|
},
|
|
506
547
|
/**
|
|
507
|
-
*
|
|
508
|
-
* @summary
|
|
548
|
+
* 编辑节点验收记录
|
|
549
|
+
* @summary 编辑节点验收记录
|
|
509
550
|
* @param {number} id
|
|
510
|
-
* @param {
|
|
551
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
511
552
|
* @param {*} [options] Override http request option.
|
|
512
553
|
* @throws {RequiredError}
|
|
513
554
|
*/
|
|
514
|
-
|
|
555
|
+
maintenanceOrderAcceptanceNodes(id, acceptanceNodeInfo, options) {
|
|
515
556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
516
557
|
var _a, _b, _c;
|
|
517
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
558
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderAcceptanceNodes(id, acceptanceNodeInfo, options);
|
|
518
559
|
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.
|
|
560
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderAcceptanceNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
520
561
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
562
|
});
|
|
522
563
|
},
|
|
@@ -527,12 +568,12 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
527
568
|
* @param {*} [options] Override http request option.
|
|
528
569
|
* @throws {RequiredError}
|
|
529
570
|
*/
|
|
530
|
-
|
|
571
|
+
maintenanceOrderComplete(id, options) {
|
|
531
572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
532
573
|
var _a, _b, _c;
|
|
533
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderComplete(id, options);
|
|
534
575
|
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.
|
|
576
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderComplete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
536
577
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
537
578
|
});
|
|
538
579
|
},
|
|
@@ -544,46 +585,44 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
544
585
|
* @param {*} [options] Override http request option.
|
|
545
586
|
* @throws {RequiredError}
|
|
546
587
|
*/
|
|
547
|
-
|
|
588
|
+
maintenanceOrderConstructionSchedules(id, maintenanceConstructionSchedulesDto, options) {
|
|
548
589
|
return __awaiter(this, void 0, void 0, function* () {
|
|
549
590
|
var _a, _b, _c;
|
|
550
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
591
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderConstructionSchedules(id, maintenanceConstructionSchedulesDto, options);
|
|
551
592
|
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.
|
|
593
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderConstructionSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
553
594
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
554
595
|
});
|
|
555
596
|
},
|
|
556
597
|
/**
|
|
557
|
-
*
|
|
558
|
-
* @summary
|
|
598
|
+
* 删除修缮订单(逻辑删除)
|
|
599
|
+
* @summary 删除修缮订单
|
|
559
600
|
* @param {number} id
|
|
560
|
-
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
561
601
|
* @param {*} [options] Override http request option.
|
|
562
602
|
* @throws {RequiredError}
|
|
563
603
|
*/
|
|
564
|
-
|
|
604
|
+
maintenanceOrderDelete(id, options) {
|
|
565
605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
566
606
|
var _a, _b, _c;
|
|
567
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
607
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderDelete(id, options);
|
|
568
608
|
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.
|
|
609
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
570
610
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
571
611
|
});
|
|
572
612
|
},
|
|
573
613
|
/**
|
|
574
|
-
*
|
|
575
|
-
* @summary
|
|
614
|
+
* 根据ID查询修缮订单详情
|
|
615
|
+
* @summary 查询修缮订单详情
|
|
576
616
|
* @param {number} id
|
|
577
|
-
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
578
617
|
* @param {*} [options] Override http request option.
|
|
579
618
|
* @throws {RequiredError}
|
|
580
619
|
*/
|
|
581
|
-
|
|
620
|
+
maintenanceOrderDetail(id, options) {
|
|
582
621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
583
622
|
var _a, _b, _c;
|
|
584
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
623
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderDetail(id, options);
|
|
585
624
|
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.
|
|
625
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
587
626
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
588
627
|
});
|
|
589
628
|
},
|
|
@@ -599,28 +638,29 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
599
638
|
* @param {*} [options] Override http request option.
|
|
600
639
|
* @throws {RequiredError}
|
|
601
640
|
*/
|
|
602
|
-
|
|
641
|
+
maintenanceOrderExport(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
603
642
|
return __awaiter(this, void 0, void 0, function* () {
|
|
604
643
|
var _a, _b, _c;
|
|
605
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
644
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderExport(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
606
645
|
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.
|
|
646
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
608
647
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
609
648
|
});
|
|
610
649
|
},
|
|
611
650
|
/**
|
|
612
|
-
*
|
|
613
|
-
* @summary
|
|
651
|
+
* 编辑原材料确认单
|
|
652
|
+
* @summary 编辑原材料确认单
|
|
614
653
|
* @param {number} id
|
|
654
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
615
655
|
* @param {*} [options] Override http request option.
|
|
616
656
|
* @throws {RequiredError}
|
|
617
657
|
*/
|
|
618
|
-
|
|
658
|
+
maintenanceOrderMaterialConfirmations(id, materialConfirmationInfo, options) {
|
|
619
659
|
return __awaiter(this, void 0, void 0, function* () {
|
|
620
660
|
var _a, _b, _c;
|
|
621
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
661
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderMaterialConfirmations(id, materialConfirmationInfo, options);
|
|
622
662
|
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.
|
|
663
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderMaterialConfirmations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
624
664
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
625
665
|
});
|
|
626
666
|
},
|
|
@@ -630,20 +670,38 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
630
670
|
* @param {number} page 页码
|
|
631
671
|
* @param {number} pageSize 每页数量
|
|
632
672
|
* @param {number} [parkId] 园区ID
|
|
673
|
+
* @param {Array<number>} [parkIds] 园区ID集合
|
|
633
674
|
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
634
675
|
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
635
676
|
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
636
677
|
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
637
678
|
* @param {string} [searchValue] 关键词
|
|
679
|
+
* @param {boolean} [isTimeOut] 是否超时
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
maintenanceOrderPageList(page, pageSize, parkId, parkIds, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, isTimeOut, options) {
|
|
684
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
685
|
+
var _a, _b, _c;
|
|
686
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderPageList(page, pageSize, parkId, parkIds, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, isTimeOut, options);
|
|
687
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
688
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderPageList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
689
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
690
|
+
});
|
|
691
|
+
},
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @summary 查询修缮单流转记录
|
|
695
|
+
* @param {number} id
|
|
638
696
|
* @param {*} [options] Override http request option.
|
|
639
697
|
* @throws {RequiredError}
|
|
640
698
|
*/
|
|
641
|
-
|
|
699
|
+
maintenanceOrderProcessRecord(id, options) {
|
|
642
700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
643
701
|
var _a, _b, _c;
|
|
644
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderProcessRecord(id, options);
|
|
645
703
|
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.
|
|
704
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderProcessRecord']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
647
705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
706
|
});
|
|
649
707
|
},
|
|
@@ -655,12 +713,12 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
655
713
|
* @param {*} [options] Override http request option.
|
|
656
714
|
* @throws {RequiredError}
|
|
657
715
|
*/
|
|
658
|
-
|
|
716
|
+
maintenanceOrderSettlement(id, maintenanceOrderSettlementAddDto, options) {
|
|
659
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
660
718
|
var _a, _b, _c;
|
|
661
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
719
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderSettlement(id, maintenanceOrderSettlementAddDto, options);
|
|
662
720
|
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.
|
|
721
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
664
722
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
665
723
|
});
|
|
666
724
|
},
|
|
@@ -672,12 +730,12 @@ const MaintenanceOrderApiFp = function (configuration) {
|
|
|
672
730
|
* @param {*} [options] Override http request option.
|
|
673
731
|
* @throws {RequiredError}
|
|
674
732
|
*/
|
|
675
|
-
|
|
733
|
+
maintenanceOrderWarranty(id, maintenanceOrderWarrantyUpdateDto, options) {
|
|
676
734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
677
735
|
var _a, _b, _c;
|
|
678
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
736
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderWarranty(id, maintenanceOrderWarrantyUpdateDto, options);
|
|
679
737
|
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.
|
|
738
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceOrderApi.maintenanceOrderWarranty']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
681
739
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
682
740
|
});
|
|
683
741
|
},
|
|
@@ -692,114 +750,124 @@ const MaintenanceOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
692
750
|
const localVarFp = (0, exports.MaintenanceOrderApiFp)(configuration);
|
|
693
751
|
return {
|
|
694
752
|
/**
|
|
695
|
-
*
|
|
696
|
-
* @summary
|
|
697
|
-
* @param {
|
|
753
|
+
* 验收
|
|
754
|
+
* @summary 验收
|
|
755
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptRequest} requestParameters Request parameters.
|
|
698
756
|
* @param {*} [options] Override http request option.
|
|
699
757
|
* @throws {RequiredError}
|
|
700
758
|
*/
|
|
701
|
-
|
|
702
|
-
return localVarFp.
|
|
759
|
+
maintenanceOrderAccept(requestParameters, options) {
|
|
760
|
+
return localVarFp.maintenanceOrderAccept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(axios, basePath));
|
|
703
761
|
},
|
|
704
762
|
/**
|
|
705
|
-
*
|
|
706
|
-
* @summary
|
|
707
|
-
* @param {
|
|
763
|
+
* 编辑节点验收记录
|
|
764
|
+
* @summary 编辑节点验收记录
|
|
765
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptanceNodesRequest} requestParameters Request parameters.
|
|
708
766
|
* @param {*} [options] Override http request option.
|
|
709
767
|
* @throws {RequiredError}
|
|
710
768
|
*/
|
|
711
|
-
|
|
712
|
-
return localVarFp.
|
|
769
|
+
maintenanceOrderAcceptanceNodes(requestParameters, options) {
|
|
770
|
+
return localVarFp.maintenanceOrderAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(axios, basePath));
|
|
713
771
|
},
|
|
714
772
|
/**
|
|
715
773
|
* 施工完成
|
|
716
774
|
* @summary 施工完成
|
|
717
|
-
* @param {
|
|
775
|
+
* @param {MaintenanceOrderApiMaintenanceOrderCompleteRequest} requestParameters Request parameters.
|
|
718
776
|
* @param {*} [options] Override http request option.
|
|
719
777
|
* @throws {RequiredError}
|
|
720
778
|
*/
|
|
721
|
-
|
|
722
|
-
return localVarFp.
|
|
779
|
+
maintenanceOrderComplete(requestParameters, options) {
|
|
780
|
+
return localVarFp.maintenanceOrderComplete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
723
781
|
},
|
|
724
782
|
/**
|
|
725
783
|
* 施工排期
|
|
726
784
|
* @summary 施工排期
|
|
727
|
-
* @param {
|
|
785
|
+
* @param {MaintenanceOrderApiMaintenanceOrderConstructionSchedulesRequest} requestParameters Request parameters.
|
|
728
786
|
* @param {*} [options] Override http request option.
|
|
729
787
|
* @throws {RequiredError}
|
|
730
788
|
*/
|
|
731
|
-
|
|
732
|
-
return localVarFp.
|
|
789
|
+
maintenanceOrderConstructionSchedules(requestParameters, options) {
|
|
790
|
+
return localVarFp.maintenanceOrderConstructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(axios, basePath));
|
|
733
791
|
},
|
|
734
792
|
/**
|
|
735
|
-
*
|
|
736
|
-
* @summary
|
|
737
|
-
* @param {
|
|
793
|
+
* 删除修缮订单(逻辑删除)
|
|
794
|
+
* @summary 删除修缮订单
|
|
795
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDeleteRequest} requestParameters Request parameters.
|
|
738
796
|
* @param {*} [options] Override http request option.
|
|
739
797
|
* @throws {RequiredError}
|
|
740
798
|
*/
|
|
741
|
-
|
|
742
|
-
return localVarFp.
|
|
799
|
+
maintenanceOrderDelete(requestParameters, options) {
|
|
800
|
+
return localVarFp.maintenanceOrderDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
743
801
|
},
|
|
744
802
|
/**
|
|
745
|
-
*
|
|
746
|
-
* @summary
|
|
747
|
-
* @param {
|
|
803
|
+
* 根据ID查询修缮订单详情
|
|
804
|
+
* @summary 查询修缮订单详情
|
|
805
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDetailRequest} requestParameters Request parameters.
|
|
748
806
|
* @param {*} [options] Override http request option.
|
|
749
807
|
* @throws {RequiredError}
|
|
750
808
|
*/
|
|
751
|
-
|
|
752
|
-
return localVarFp.
|
|
809
|
+
maintenanceOrderDetail(requestParameters, options) {
|
|
810
|
+
return localVarFp.maintenanceOrderDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
753
811
|
},
|
|
754
812
|
/**
|
|
755
813
|
* 导出
|
|
756
814
|
* @summary 导出
|
|
757
|
-
* @param {
|
|
815
|
+
* @param {MaintenanceOrderApiMaintenanceOrderExportRequest} requestParameters Request parameters.
|
|
758
816
|
* @param {*} [options] Override http request option.
|
|
759
817
|
* @throws {RequiredError}
|
|
760
818
|
*/
|
|
761
|
-
|
|
762
|
-
return localVarFp.
|
|
819
|
+
maintenanceOrderExport(requestParameters = {}, options) {
|
|
820
|
+
return localVarFp.maintenanceOrderExport(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
763
821
|
},
|
|
764
822
|
/**
|
|
765
|
-
*
|
|
766
|
-
* @summary
|
|
767
|
-
* @param {
|
|
823
|
+
* 编辑原材料确认单
|
|
824
|
+
* @summary 编辑原材料确认单
|
|
825
|
+
* @param {MaintenanceOrderApiMaintenanceOrderMaterialConfirmationsRequest} requestParameters Request parameters.
|
|
768
826
|
* @param {*} [options] Override http request option.
|
|
769
827
|
* @throws {RequiredError}
|
|
770
828
|
*/
|
|
771
|
-
|
|
772
|
-
return localVarFp.
|
|
829
|
+
maintenanceOrderMaterialConfirmations(requestParameters, options) {
|
|
830
|
+
return localVarFp.maintenanceOrderMaterialConfirmations(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(axios, basePath));
|
|
773
831
|
},
|
|
774
832
|
/**
|
|
775
833
|
* 分页查询修缮订单列表
|
|
776
834
|
* @summary 分页查询修缮订单列表
|
|
777
|
-
* @param {
|
|
835
|
+
* @param {MaintenanceOrderApiMaintenanceOrderPageListRequest} requestParameters Request parameters.
|
|
778
836
|
* @param {*} [options] Override http request option.
|
|
779
837
|
* @throws {RequiredError}
|
|
780
838
|
*/
|
|
781
|
-
|
|
782
|
-
return localVarFp.
|
|
839
|
+
maintenanceOrderPageList(requestParameters, options) {
|
|
840
|
+
return localVarFp.maintenanceOrderPageList(requestParameters.page, requestParameters.pageSize, requestParameters.parkId, requestParameters.parkIds, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, requestParameters.isTimeOut, options).then((request) => request(axios, basePath));
|
|
841
|
+
},
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @summary 查询修缮单流转记录
|
|
845
|
+
* @param {MaintenanceOrderApiMaintenanceOrderProcessRecordRequest} requestParameters Request parameters.
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
maintenanceOrderProcessRecord(requestParameters, options) {
|
|
850
|
+
return localVarFp.maintenanceOrderProcessRecord(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
783
851
|
},
|
|
784
852
|
/**
|
|
785
853
|
* 结算
|
|
786
854
|
* @summary 结算
|
|
787
|
-
* @param {
|
|
855
|
+
* @param {MaintenanceOrderApiMaintenanceOrderSettlementRequest} requestParameters Request parameters.
|
|
788
856
|
* @param {*} [options] Override http request option.
|
|
789
857
|
* @throws {RequiredError}
|
|
790
858
|
*/
|
|
791
|
-
|
|
792
|
-
return localVarFp.
|
|
859
|
+
maintenanceOrderSettlement(requestParameters, options) {
|
|
860
|
+
return localVarFp.maintenanceOrderSettlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(axios, basePath));
|
|
793
861
|
},
|
|
794
862
|
/**
|
|
795
863
|
* 质保
|
|
796
864
|
* @summary 质保
|
|
797
|
-
* @param {
|
|
865
|
+
* @param {MaintenanceOrderApiMaintenanceOrderWarrantyRequest} requestParameters Request parameters.
|
|
798
866
|
* @param {*} [options] Override http request option.
|
|
799
867
|
* @throws {RequiredError}
|
|
800
868
|
*/
|
|
801
|
-
|
|
802
|
-
return localVarFp.
|
|
869
|
+
maintenanceOrderWarranty(requestParameters, options) {
|
|
870
|
+
return localVarFp.maintenanceOrderWarranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(axios, basePath));
|
|
803
871
|
},
|
|
804
872
|
};
|
|
805
873
|
};
|
|
@@ -812,125 +880,136 @@ exports.MaintenanceOrderApiFactory = MaintenanceOrderApiFactory;
|
|
|
812
880
|
*/
|
|
813
881
|
class MaintenanceOrderApi extends base_1.BaseAPI {
|
|
814
882
|
/**
|
|
815
|
-
*
|
|
816
|
-
* @summary
|
|
817
|
-
* @param {
|
|
883
|
+
* 验收
|
|
884
|
+
* @summary 验收
|
|
885
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptRequest} requestParameters Request parameters.
|
|
818
886
|
* @param {*} [options] Override http request option.
|
|
819
887
|
* @throws {RequiredError}
|
|
820
888
|
* @memberof MaintenanceOrderApi
|
|
821
889
|
*/
|
|
822
|
-
|
|
823
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
890
|
+
maintenanceOrderAccept(requestParameters, options) {
|
|
891
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderAccept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
824
892
|
}
|
|
825
893
|
/**
|
|
826
|
-
*
|
|
827
|
-
* @summary
|
|
828
|
-
* @param {
|
|
894
|
+
* 编辑节点验收记录
|
|
895
|
+
* @summary 编辑节点验收记录
|
|
896
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptanceNodesRequest} requestParameters Request parameters.
|
|
829
897
|
* @param {*} [options] Override http request option.
|
|
830
898
|
* @throws {RequiredError}
|
|
831
899
|
* @memberof MaintenanceOrderApi
|
|
832
900
|
*/
|
|
833
|
-
|
|
834
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
901
|
+
maintenanceOrderAcceptanceNodes(requestParameters, options) {
|
|
902
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(this.axios, this.basePath));
|
|
835
903
|
}
|
|
836
904
|
/**
|
|
837
905
|
* 施工完成
|
|
838
906
|
* @summary 施工完成
|
|
839
|
-
* @param {
|
|
907
|
+
* @param {MaintenanceOrderApiMaintenanceOrderCompleteRequest} requestParameters Request parameters.
|
|
840
908
|
* @param {*} [options] Override http request option.
|
|
841
909
|
* @throws {RequiredError}
|
|
842
910
|
* @memberof MaintenanceOrderApi
|
|
843
911
|
*/
|
|
844
|
-
|
|
845
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
912
|
+
maintenanceOrderComplete(requestParameters, options) {
|
|
913
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderComplete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
846
914
|
}
|
|
847
915
|
/**
|
|
848
916
|
* 施工排期
|
|
849
917
|
* @summary 施工排期
|
|
850
|
-
* @param {
|
|
918
|
+
* @param {MaintenanceOrderApiMaintenanceOrderConstructionSchedulesRequest} requestParameters Request parameters.
|
|
851
919
|
* @param {*} [options] Override http request option.
|
|
852
920
|
* @throws {RequiredError}
|
|
853
921
|
* @memberof MaintenanceOrderApi
|
|
854
922
|
*/
|
|
855
|
-
|
|
856
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
923
|
+
maintenanceOrderConstructionSchedules(requestParameters, options) {
|
|
924
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderConstructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(this.axios, this.basePath));
|
|
857
925
|
}
|
|
858
926
|
/**
|
|
859
|
-
*
|
|
860
|
-
* @summary
|
|
861
|
-
* @param {
|
|
927
|
+
* 删除修缮订单(逻辑删除)
|
|
928
|
+
* @summary 删除修缮订单
|
|
929
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDeleteRequest} requestParameters Request parameters.
|
|
862
930
|
* @param {*} [options] Override http request option.
|
|
863
931
|
* @throws {RequiredError}
|
|
864
932
|
* @memberof MaintenanceOrderApi
|
|
865
933
|
*/
|
|
866
|
-
|
|
867
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
934
|
+
maintenanceOrderDelete(requestParameters, options) {
|
|
935
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
868
936
|
}
|
|
869
937
|
/**
|
|
870
|
-
*
|
|
871
|
-
* @summary
|
|
872
|
-
* @param {
|
|
938
|
+
* 根据ID查询修缮订单详情
|
|
939
|
+
* @summary 查询修缮订单详情
|
|
940
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDetailRequest} requestParameters Request parameters.
|
|
873
941
|
* @param {*} [options] Override http request option.
|
|
874
942
|
* @throws {RequiredError}
|
|
875
943
|
* @memberof MaintenanceOrderApi
|
|
876
944
|
*/
|
|
877
|
-
|
|
878
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
945
|
+
maintenanceOrderDetail(requestParameters, options) {
|
|
946
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
879
947
|
}
|
|
880
948
|
/**
|
|
881
949
|
* 导出
|
|
882
950
|
* @summary 导出
|
|
883
|
-
* @param {
|
|
951
|
+
* @param {MaintenanceOrderApiMaintenanceOrderExportRequest} requestParameters Request parameters.
|
|
884
952
|
* @param {*} [options] Override http request option.
|
|
885
953
|
* @throws {RequiredError}
|
|
886
954
|
* @memberof MaintenanceOrderApi
|
|
887
955
|
*/
|
|
888
|
-
|
|
889
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
956
|
+
maintenanceOrderExport(requestParameters = {}, options) {
|
|
957
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderExport(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(this.axios, this.basePath));
|
|
890
958
|
}
|
|
891
959
|
/**
|
|
892
|
-
*
|
|
893
|
-
* @summary
|
|
894
|
-
* @param {
|
|
960
|
+
* 编辑原材料确认单
|
|
961
|
+
* @summary 编辑原材料确认单
|
|
962
|
+
* @param {MaintenanceOrderApiMaintenanceOrderMaterialConfirmationsRequest} requestParameters Request parameters.
|
|
895
963
|
* @param {*} [options] Override http request option.
|
|
896
964
|
* @throws {RequiredError}
|
|
897
965
|
* @memberof MaintenanceOrderApi
|
|
898
966
|
*/
|
|
899
|
-
|
|
900
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
967
|
+
maintenanceOrderMaterialConfirmations(requestParameters, options) {
|
|
968
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderMaterialConfirmations(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(this.axios, this.basePath));
|
|
901
969
|
}
|
|
902
970
|
/**
|
|
903
971
|
* 分页查询修缮订单列表
|
|
904
972
|
* @summary 分页查询修缮订单列表
|
|
905
|
-
* @param {
|
|
973
|
+
* @param {MaintenanceOrderApiMaintenanceOrderPageListRequest} requestParameters Request parameters.
|
|
974
|
+
* @param {*} [options] Override http request option.
|
|
975
|
+
* @throws {RequiredError}
|
|
976
|
+
* @memberof MaintenanceOrderApi
|
|
977
|
+
*/
|
|
978
|
+
maintenanceOrderPageList(requestParameters, options) {
|
|
979
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderPageList(requestParameters.page, requestParameters.pageSize, requestParameters.parkId, requestParameters.parkIds, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, requestParameters.isTimeOut, options).then((request) => request(this.axios, this.basePath));
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
* @summary 查询修缮单流转记录
|
|
984
|
+
* @param {MaintenanceOrderApiMaintenanceOrderProcessRecordRequest} requestParameters Request parameters.
|
|
906
985
|
* @param {*} [options] Override http request option.
|
|
907
986
|
* @throws {RequiredError}
|
|
908
987
|
* @memberof MaintenanceOrderApi
|
|
909
988
|
*/
|
|
910
|
-
|
|
911
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
989
|
+
maintenanceOrderProcessRecord(requestParameters, options) {
|
|
990
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderProcessRecord(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
912
991
|
}
|
|
913
992
|
/**
|
|
914
993
|
* 结算
|
|
915
994
|
* @summary 结算
|
|
916
|
-
* @param {
|
|
995
|
+
* @param {MaintenanceOrderApiMaintenanceOrderSettlementRequest} requestParameters Request parameters.
|
|
917
996
|
* @param {*} [options] Override http request option.
|
|
918
997
|
* @throws {RequiredError}
|
|
919
998
|
* @memberof MaintenanceOrderApi
|
|
920
999
|
*/
|
|
921
|
-
|
|
922
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
1000
|
+
maintenanceOrderSettlement(requestParameters, options) {
|
|
1001
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderSettlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
923
1002
|
}
|
|
924
1003
|
/**
|
|
925
1004
|
* 质保
|
|
926
1005
|
* @summary 质保
|
|
927
|
-
* @param {
|
|
1006
|
+
* @param {MaintenanceOrderApiMaintenanceOrderWarrantyRequest} requestParameters Request parameters.
|
|
928
1007
|
* @param {*} [options] Override http request option.
|
|
929
1008
|
* @throws {RequiredError}
|
|
930
1009
|
* @memberof MaintenanceOrderApi
|
|
931
1010
|
*/
|
|
932
|
-
|
|
933
|
-
return (0, exports.MaintenanceOrderApiFp)(this.configuration).
|
|
1011
|
+
maintenanceOrderWarranty(requestParameters, options) {
|
|
1012
|
+
return (0, exports.MaintenanceOrderApiFp)(this.configuration).maintenanceOrderWarranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
934
1013
|
}
|
|
935
1014
|
}
|
|
936
1015
|
exports.MaintenanceOrderApi = MaintenanceOrderApi;
|