@gizone/rrs-client 4.2.9-alpha.641 → 4.2.9-alpha.643

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