@gizone/rrs-client 3.11.12-alpha.5 → 3.11.12-alpha.50

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 (354) hide show
  1. package/.openapi-generator/FILES +33 -14
  2. package/api.ts +2 -1
  3. package/apis/access-api.ts +61 -61
  4. package/apis/app-auth-api.ts +13 -13
  5. package/apis/auth-api.ts +13 -13
  6. package/apis/calendar-api.ts +231 -209
  7. package/apis/common-api.ts +192 -0
  8. package/apis/cost-api.ts +15 -15
  9. package/apis/energy-api.ts +15 -15
  10. package/apis/inspection-standard-api.ts +1240 -0
  11. package/apis/{inspection-api.ts → maintenance-standard-api.ts} +350 -624
  12. package/apis/message-api.ts +201 -223
  13. package/apis/privacy-api.ts +78 -76
  14. package/apis/setting-api.ts +596 -243
  15. package/apis/space-api.ts +0 -329
  16. package/apis/sys-api.ts +47 -47
  17. package/apis/user-api.ts +15 -15
  18. package/apis/work-order-api.ts +739 -226
  19. package/dist/api.d.ts +2 -1
  20. package/dist/api.js +2 -1
  21. package/dist/apis/access-api.d.ts +41 -41
  22. package/dist/apis/access-api.js +44 -44
  23. package/dist/apis/app-auth-api.d.ts +6 -6
  24. package/dist/apis/app-auth-api.js +11 -11
  25. package/dist/apis/auth-api.d.ts +6 -6
  26. package/dist/apis/auth-api.js +11 -11
  27. package/dist/apis/calendar-api.d.ts +131 -123
  28. package/dist/apis/calendar-api.js +177 -164
  29. package/dist/apis/common-api.d.ts +102 -0
  30. package/dist/apis/common-api.js +144 -0
  31. package/dist/apis/cost-api.d.ts +10 -10
  32. package/dist/apis/cost-api.js +11 -11
  33. package/dist/apis/energy-api.d.ts +10 -10
  34. package/dist/apis/energy-api.js +11 -11
  35. package/dist/apis/inspection-standard-api.d.ts +644 -0
  36. package/dist/apis/inspection-standard-api.js +958 -0
  37. package/dist/apis/maintenance-standard-api.d.ts +684 -0
  38. package/dist/apis/{inspection-api.js → maintenance-standard-api.js} +263 -436
  39. package/dist/apis/message-api.d.ts +117 -125
  40. package/dist/apis/message-api.js +132 -171
  41. package/dist/apis/privacy-api.d.ts +49 -48
  42. package/dist/apis/privacy-api.js +60 -60
  43. package/dist/apis/setting-api.d.ts +334 -144
  44. package/dist/apis/setting-api.js +433 -187
  45. package/dist/apis/space-api.d.ts +0 -159
  46. package/dist/apis/space-api.js +0 -272
  47. package/dist/apis/sys-api.d.ts +31 -31
  48. package/dist/apis/sys-api.js +34 -34
  49. package/dist/apis/user-api.d.ts +10 -10
  50. package/dist/apis/user-api.js +11 -11
  51. package/dist/apis/work-order-api.d.ts +399 -123
  52. package/dist/apis/work-order-api.js +533 -164
  53. package/dist/esm/api.d.ts +2 -1
  54. package/dist/esm/api.js +2 -1
  55. package/dist/esm/apis/access-api.d.ts +41 -41
  56. package/dist/esm/apis/access-api.js +44 -44
  57. package/dist/esm/apis/app-auth-api.d.ts +6 -6
  58. package/dist/esm/apis/app-auth-api.js +11 -11
  59. package/dist/esm/apis/auth-api.d.ts +6 -6
  60. package/dist/esm/apis/auth-api.js +11 -11
  61. package/dist/esm/apis/calendar-api.d.ts +131 -123
  62. package/dist/esm/apis/calendar-api.js +177 -164
  63. package/dist/esm/apis/common-api.d.ts +102 -0
  64. package/dist/esm/apis/common-api.js +144 -0
  65. package/dist/esm/apis/cost-api.d.ts +10 -10
  66. package/dist/esm/apis/cost-api.js +11 -11
  67. package/dist/esm/apis/energy-api.d.ts +10 -10
  68. package/dist/esm/apis/energy-api.js +11 -11
  69. package/dist/esm/apis/inspection-standard-api.d.ts +644 -0
  70. package/dist/esm/apis/inspection-standard-api.js +951 -0
  71. package/dist/esm/apis/maintenance-standard-api.d.ts +684 -0
  72. package/dist/esm/apis/{inspection-api.js → maintenance-standard-api.js} +258 -431
  73. package/dist/esm/apis/message-api.d.ts +117 -125
  74. package/dist/esm/apis/message-api.js +132 -171
  75. package/dist/esm/apis/privacy-api.d.ts +49 -48
  76. package/dist/esm/apis/privacy-api.js +60 -60
  77. package/dist/esm/apis/setting-api.d.ts +334 -144
  78. package/dist/esm/apis/setting-api.js +433 -187
  79. package/dist/esm/apis/space-api.d.ts +0 -159
  80. package/dist/esm/apis/space-api.js +0 -272
  81. package/dist/esm/apis/sys-api.d.ts +31 -31
  82. package/dist/esm/apis/sys-api.js +34 -34
  83. package/dist/esm/apis/user-api.d.ts +10 -10
  84. package/dist/esm/apis/user-api.js +11 -11
  85. package/dist/esm/apis/work-order-api.d.ts +399 -123
  86. package/dist/esm/apis/work-order-api.js +533 -164
  87. package/dist/esm/models/dept-relation-dto.d.ts +140 -0
  88. package/dist/esm/models/dept-relation.d.ts +86 -0
  89. package/dist/esm/models/equipment-detail-dto.d.ts +6 -0
  90. package/dist/esm/models/equipment-edit-vo.d.ts +6 -0
  91. package/dist/esm/models/equipment-excel-add-dto.d.ts +6 -0
  92. package/dist/esm/models/equipment-search-system-dto.d.ts +12 -6
  93. package/dist/esm/models/{calendar-add-redis-list-vo.d.ts → excel-import-result-dtocalendar-export-dto.d.ts} +9 -21
  94. package/dist/esm/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +31 -0
  95. package/dist/esm/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +31 -0
  96. package/dist/esm/models/file-dto.d.ts +3 -3
  97. package/dist/esm/models/get-user-wx200-response.d.ts +14 -14
  98. package/dist/esm/models/index.d.ts +31 -13
  99. package/dist/esm/models/index.js +31 -13
  100. package/dist/esm/models/inspection-item-bo.d.ts +4 -10
  101. package/dist/esm/models/inspection-point-item.d.ts +18 -6
  102. package/dist/esm/models/inspection-standard-import-dto.d.ts +108 -0
  103. package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +56 -0
  104. package/dist/esm/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +56 -0
  105. package/dist/esm/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +56 -0
  106. package/dist/esm/models/json-result-list-work-order-dept-settings-entity.d.ts +56 -0
  107. package/dist/esm/models/{json-result-calendar-add-redis-list-vo.d.ts → json-result-page-dto-sys-user-msg-dto.d.ts} +11 -11
  108. package/dist/esm/models/{json-result-sys-user-msg-do.d.ts → json-result-park-info-dto.d.ts} +11 -11
  109. package/dist/{models/json-result-calendar-add-redis-list-vo.d.ts → esm/models/json-result-sys-user-msg-dto.d.ts} +11 -11
  110. package/dist/esm/models/{json-result-page-dto-sys-user-msg-list-dto.d.ts → json-result-work-order-dept-settings-entity.d.ts} +11 -11
  111. package/dist/esm/models/json-result-work-order-dept-settings-entity.js +14 -0
  112. package/dist/esm/models/maintenance-history-dto.d.ts +0 -6
  113. package/dist/esm/models/maintenance-history-dto.js +0 -6
  114. package/dist/esm/models/maintenance-standard-import-dto.d.ts +114 -0
  115. package/dist/esm/models/maintenance-standard-import-dto.js +14 -0
  116. package/dist/{models/page-dto-sys-user-msg-list-dto.d.ts → esm/models/page-dto-sys-user-msg-dto.d.ts} +7 -7
  117. package/dist/esm/models/page-dto-sys-user-msg-dto.js +14 -0
  118. package/dist/esm/models/park-center-attribute-enum.d.ts +21 -0
  119. package/dist/esm/models/park-center-attribute-enum.js +22 -0
  120. package/dist/esm/models/park-info-dto.d.ts +85 -0
  121. package/dist/esm/models/park-info-dto.js +14 -0
  122. package/dist/esm/models/{work-order-check-before-acceptance-no-vo.d.ts → park-info-edit-vo.d.ts} +15 -14
  123. package/dist/esm/models/park-info-edit-vo.js +14 -0
  124. package/dist/esm/models/park-plat-form-enum.d.ts +23 -0
  125. package/dist/esm/models/park-plat-form-enum.js +24 -0
  126. package/dist/esm/models/period-detail-resp.d.ts +6 -6
  127. package/dist/esm/models/period-detail-resp.js +0 -6
  128. package/dist/esm/models/plan-add-vo.d.ts +1 -1
  129. package/dist/esm/models/plan-edit-vo.d.ts +1 -1
  130. package/dist/esm/models/plan-item-add-vo.d.ts +1 -1
  131. package/dist/esm/models/plan-item-edit-vo.d.ts +1 -1
  132. package/dist/esm/models/process-work-order-vo.d.ts +19 -0
  133. package/dist/esm/models/sys-dept.d.ts +7 -1
  134. package/dist/esm/models/{sys-user-msg-list-dto.d.ts → sys-user-msg-dto.d.ts} +30 -28
  135. package/dist/esm/models/sys-user-msg-dto.js +14 -0
  136. package/dist/esm/models/sys-user.d.ts +4 -4
  137. package/dist/esm/models/system-user-msg-source-type-enum.d.ts +23 -0
  138. package/dist/esm/models/system-user-msg-source-type-enum.js +24 -0
  139. package/dist/esm/models/system-user-msg-type-enum.d.ts +21 -0
  140. package/dist/esm/models/system-user-msg-type-enum.js +22 -0
  141. package/dist/esm/models/work-order-add-vo.d.ts +24 -4
  142. package/dist/esm/models/work-order-circulation-vo.d.ts +8 -1
  143. package/dist/esm/models/work-order-dept-settings-add-or-update-vo.d.ts +36 -0
  144. package/dist/esm/models/work-order-dept-settings-add-or-update-vo.js +14 -0
  145. package/dist/esm/models/work-order-dept-settings-entity.d.ts +67 -0
  146. package/dist/esm/models/work-order-dept-settings-entity.js +14 -0
  147. package/dist/esm/models/work-order-detail-dto.d.ts +52 -6
  148. package/dist/esm/models/work-order-detail-dto.js +0 -6
  149. package/dist/esm/models/work-order-inspection-detail-dto.d.ts +1 -13
  150. package/dist/esm/models/work-order-inspection-item-req.d.ts +3 -3
  151. package/dist/esm/models/work-order-internal-status-enum.d.ts +23 -0
  152. package/{models/work-order-check-before-acceptance-adopt-vo.ts → dist/esm/models/work-order-internal-status-enum.js} +9 -21
  153. package/dist/esm/models/work-order-issue-type-enum.d.ts +26 -0
  154. package/dist/esm/models/work-order-issue-type-enum.js +27 -0
  155. package/dist/esm/models/work-order-liability-party-enum.d.ts +21 -0
  156. package/dist/esm/models/work-order-liability-party-enum.js +22 -0
  157. package/dist/esm/models/work-order-push-settings-entity.d.ts +4 -17
  158. package/dist/esm/models/work-order-push-settings-entity.js +1 -13
  159. package/dist/esm/models/work-order-push-settings-save-or-update-vo.d.ts +4 -17
  160. package/dist/esm/models/work-order-push-settings-save-or-update-vo.js +1 -13
  161. package/dist/{models/work-order-check-before-acceptance-adopt-vo.d.ts → esm/models/work-order-report-vo.d.ts} +11 -10
  162. package/dist/esm/models/work-order-report-vo.js +14 -0
  163. package/dist/esm/models/work-order-search-dto.d.ts +0 -6
  164. package/dist/esm/models/work-order-search-dto.js +0 -6
  165. package/dist/esm/models/work-order-settings-type-enum.d.ts +30 -0
  166. package/dist/esm/models/work-order-settings-type-enum.js +31 -0
  167. package/dist/esm/models/work-order-staging-data-vo.d.ts +49 -0
  168. package/dist/esm/models/work-order-staging-data-vo.js +14 -0
  169. package/dist/esm/models/work-order-type-enum.d.ts +1 -1
  170. package/dist/esm/models/work-order-type-enum.js +1 -1
  171. package/dist/models/dept-relation-dto.d.ts +140 -0
  172. package/dist/models/dept-relation.d.ts +86 -0
  173. package/dist/models/equipment-detail-dto.d.ts +6 -0
  174. package/dist/models/equipment-edit-vo.d.ts +6 -0
  175. package/dist/models/equipment-excel-add-dto.d.ts +6 -0
  176. package/dist/models/equipment-search-system-dto.d.ts +12 -6
  177. package/dist/models/{calendar-add-redis-list-vo.d.ts → excel-import-result-dtocalendar-export-dto.d.ts} +9 -21
  178. package/dist/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +31 -0
  179. package/dist/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +31 -0
  180. package/dist/models/file-dto.d.ts +3 -3
  181. package/dist/models/get-user-wx200-response.d.ts +14 -14
  182. package/dist/models/index.d.ts +31 -13
  183. package/dist/models/index.js +31 -13
  184. package/dist/models/inspection-item-bo.d.ts +4 -10
  185. package/dist/models/inspection-point-item.d.ts +18 -6
  186. package/dist/models/inspection-standard-import-dto.d.ts +108 -0
  187. package/dist/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +56 -0
  188. package/dist/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +56 -0
  189. package/dist/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +56 -0
  190. package/dist/models/json-result-list-work-order-dept-settings-entity.d.ts +56 -0
  191. package/dist/models/json-result-page-dto-sys-user-msg-dto.d.ts +56 -0
  192. package/dist/models/{json-result-sys-user-msg-do.d.ts → json-result-park-info-dto.d.ts} +11 -11
  193. package/dist/models/json-result-sys-user-msg-dto.d.ts +56 -0
  194. package/dist/{esm/models/json-result-space-edit-before-and-after-dto.d.ts → models/json-result-work-order-dept-settings-entity.d.ts} +11 -11
  195. package/dist/models/json-result-work-order-dept-settings-entity.js +15 -0
  196. package/dist/models/maintenance-history-dto.d.ts +0 -6
  197. package/dist/models/maintenance-history-dto.js +0 -6
  198. package/dist/models/maintenance-standard-import-dto.d.ts +114 -0
  199. package/dist/models/maintenance-standard-import-dto.js +15 -0
  200. package/dist/{esm/models/page-dto-sys-user-msg-list-dto.d.ts → models/page-dto-sys-user-msg-dto.d.ts} +7 -7
  201. package/dist/models/page-dto-sys-user-msg-dto.js +15 -0
  202. package/dist/models/park-center-attribute-enum.d.ts +21 -0
  203. package/dist/models/park-center-attribute-enum.js +25 -0
  204. package/dist/models/park-info-dto.d.ts +85 -0
  205. package/dist/models/park-info-dto.js +15 -0
  206. package/dist/models/{work-order-check-before-acceptance-no-vo.d.ts → park-info-edit-vo.d.ts} +15 -14
  207. package/dist/models/park-info-edit-vo.js +15 -0
  208. package/dist/models/park-plat-form-enum.d.ts +23 -0
  209. package/dist/models/park-plat-form-enum.js +27 -0
  210. package/dist/models/period-detail-resp.d.ts +6 -6
  211. package/dist/models/period-detail-resp.js +0 -6
  212. package/dist/models/plan-add-vo.d.ts +1 -1
  213. package/dist/models/plan-edit-vo.d.ts +1 -1
  214. package/dist/models/plan-item-add-vo.d.ts +1 -1
  215. package/dist/models/plan-item-edit-vo.d.ts +1 -1
  216. package/dist/models/process-work-order-vo.d.ts +19 -0
  217. package/dist/models/sys-dept.d.ts +7 -1
  218. package/dist/models/{sys-user-msg-list-dto.d.ts → sys-user-msg-dto.d.ts} +30 -28
  219. package/dist/models/sys-user-msg-dto.js +15 -0
  220. package/dist/models/sys-user.d.ts +4 -4
  221. package/dist/models/system-user-msg-source-type-enum.d.ts +23 -0
  222. package/dist/models/system-user-msg-source-type-enum.js +27 -0
  223. package/dist/models/system-user-msg-type-enum.d.ts +21 -0
  224. package/dist/models/system-user-msg-type-enum.js +25 -0
  225. package/dist/models/work-order-add-vo.d.ts +24 -4
  226. package/dist/models/work-order-circulation-vo.d.ts +8 -1
  227. package/dist/models/work-order-dept-settings-add-or-update-vo.d.ts +36 -0
  228. package/dist/models/work-order-dept-settings-add-or-update-vo.js +15 -0
  229. package/dist/models/work-order-dept-settings-entity.d.ts +67 -0
  230. package/dist/models/work-order-dept-settings-entity.js +15 -0
  231. package/dist/models/work-order-detail-dto.d.ts +52 -6
  232. package/dist/models/work-order-detail-dto.js +0 -6
  233. package/dist/models/work-order-inspection-detail-dto.d.ts +1 -13
  234. package/dist/models/work-order-inspection-item-req.d.ts +3 -3
  235. package/dist/models/work-order-internal-status-enum.d.ts +23 -0
  236. package/dist/models/work-order-internal-status-enum.js +27 -0
  237. package/dist/models/work-order-issue-type-enum.d.ts +26 -0
  238. package/dist/models/work-order-issue-type-enum.js +30 -0
  239. package/dist/models/work-order-liability-party-enum.d.ts +21 -0
  240. package/dist/models/work-order-liability-party-enum.js +25 -0
  241. package/dist/models/work-order-push-settings-entity.d.ts +4 -17
  242. package/dist/models/work-order-push-settings-entity.js +0 -14
  243. package/dist/models/work-order-push-settings-save-or-update-vo.d.ts +4 -17
  244. package/dist/models/work-order-push-settings-save-or-update-vo.js +0 -14
  245. package/dist/{esm/models/work-order-check-before-acceptance-adopt-vo.d.ts → models/work-order-report-vo.d.ts} +11 -10
  246. package/dist/models/work-order-report-vo.js +15 -0
  247. package/dist/models/work-order-search-dto.d.ts +0 -6
  248. package/dist/models/work-order-search-dto.js +0 -6
  249. package/dist/models/work-order-settings-type-enum.d.ts +30 -0
  250. package/dist/models/work-order-settings-type-enum.js +34 -0
  251. package/dist/models/work-order-staging-data-vo.d.ts +49 -0
  252. package/dist/models/work-order-staging-data-vo.js +15 -0
  253. package/dist/models/work-order-type-enum.d.ts +1 -1
  254. package/dist/models/work-order-type-enum.js +1 -1
  255. package/models/dept-relation-dto.ts +152 -0
  256. package/models/dept-relation.ts +98 -0
  257. package/models/equipment-detail-dto.ts +6 -0
  258. package/models/equipment-edit-vo.ts +6 -0
  259. package/models/equipment-excel-add-dto.ts +6 -0
  260. package/models/equipment-search-system-dto.ts +12 -6
  261. package/models/{calendar-add-redis-list-vo.ts → excel-import-result-dtocalendar-export-dto.ts} +9 -21
  262. package/models/excel-import-result-dtoinspection-standard-import-dto.ts +39 -0
  263. package/models/excel-import-result-dtomaintenance-standard-import-dto.ts +39 -0
  264. package/models/file-dto.ts +3 -3
  265. package/models/get-user-wx200-response.ts +14 -14
  266. package/models/index.ts +31 -13
  267. package/models/inspection-item-bo.ts +4 -10
  268. package/models/inspection-point-item.ts +18 -6
  269. package/models/inspection-standard-import-dto.ts +114 -0
  270. package/models/json-result-excel-import-result-dtocalendar-export-dto.ts +66 -0
  271. package/models/json-result-excel-import-result-dtoinspection-standard-import-dto.ts +66 -0
  272. package/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.ts +66 -0
  273. package/models/json-result-list-work-order-dept-settings-entity.ts +66 -0
  274. package/models/{json-result-calendar-add-redis-list-vo.ts → json-result-page-dto-sys-user-msg-dto.ts} +11 -11
  275. package/models/{json-result-sys-user-msg-do.ts → json-result-park-info-dto.ts} +11 -11
  276. package/models/{json-result-page-dto-sys-user-msg-list-dto.ts → json-result-sys-user-msg-dto.ts} +11 -11
  277. package/models/{json-result-space-edit-before-and-after-dto.ts → json-result-work-order-dept-settings-entity.ts} +11 -11
  278. package/models/maintenance-history-dto.ts +0 -6
  279. package/models/maintenance-standard-import-dto.ts +120 -0
  280. package/models/{page-dto-sys-user-msg-list-dto.ts → page-dto-sys-user-msg-dto.ts} +7 -7
  281. package/models/park-center-attribute-enum.ts +31 -0
  282. package/models/park-info-dto.ts +93 -0
  283. package/models/park-info-edit-vo.ts +45 -0
  284. package/models/park-plat-form-enum.ts +33 -0
  285. package/models/period-detail-resp.ts +6 -6
  286. package/models/plan-add-vo.ts +1 -1
  287. package/models/plan-edit-vo.ts +1 -1
  288. package/models/plan-item-add-vo.ts +1 -1
  289. package/models/plan-item-edit-vo.ts +1 -1
  290. package/models/process-work-order-vo.ts +23 -0
  291. package/models/sys-dept.ts +7 -1
  292. package/models/{sys-user-msg-list-dto.ts → sys-user-msg-dto.ts} +36 -28
  293. package/models/sys-user.ts +4 -4
  294. package/models/system-user-msg-source-type-enum.ts +33 -0
  295. package/models/system-user-msg-type-enum.ts +31 -0
  296. package/models/work-order-add-vo.ts +28 -4
  297. package/models/work-order-circulation-vo.ts +12 -1
  298. package/models/{work-order-check-before-acceptance-no-vo.ts → work-order-dept-settings-add-or-update-vo.ts} +12 -12
  299. package/models/work-order-dept-settings-entity.ts +77 -0
  300. package/models/work-order-detail-dto.ts +60 -6
  301. package/models/work-order-inspection-detail-dto.ts +1 -13
  302. package/models/work-order-inspection-item-req.ts +3 -3
  303. package/models/work-order-internal-status-enum.ts +33 -0
  304. package/models/work-order-issue-type-enum.ts +36 -0
  305. package/models/work-order-liability-party-enum.ts +31 -0
  306. package/models/work-order-push-settings-entity.ts +6 -18
  307. package/models/work-order-push-settings-save-or-update-vo.ts +6 -18
  308. package/models/{space-edit-before-and-after-dto.ts → work-order-report-vo.ts} +13 -11
  309. package/models/work-order-search-dto.ts +0 -6
  310. package/models/work-order-settings-type-enum.ts +40 -0
  311. package/models/work-order-staging-data-vo.ts +59 -0
  312. package/models/work-order-type-enum.ts +1 -1
  313. package/package.json +1 -1
  314. package/dist/apis/inspection-api.d.ts +0 -846
  315. package/dist/esm/apis/inspection-api.d.ts +0 -846
  316. package/dist/esm/models/space-edit-before-and-after-dto.d.ts +0 -31
  317. package/dist/esm/models/space-edit-excel-dto.d.ts +0 -78
  318. package/dist/esm/models/sys-user-msg-do.d.ts +0 -90
  319. package/dist/esm/models/sys-user-msg-search-list-vo.d.ts +0 -54
  320. package/dist/models/json-result-page-dto-sys-user-msg-list-dto.d.ts +0 -56
  321. package/dist/models/json-result-space-edit-before-and-after-dto.d.ts +0 -56
  322. package/dist/models/space-edit-before-and-after-dto.d.ts +0 -31
  323. package/dist/models/space-edit-excel-dto.d.ts +0 -78
  324. package/dist/models/sys-user-msg-do.d.ts +0 -90
  325. package/dist/models/sys-user-msg-search-list-vo.d.ts +0 -54
  326. package/models/space-edit-excel-dto.ts +0 -84
  327. package/models/sys-user-msg-do.ts +0 -96
  328. package/models/sys-user-msg-search-list-vo.ts +0 -60
  329. /package/dist/esm/models/{calendar-add-redis-list-vo.js → dept-relation-dto.js} +0 -0
  330. /package/dist/esm/models/{json-result-calendar-add-redis-list-vo.js → dept-relation.js} +0 -0
  331. /package/dist/esm/models/{json-result-page-dto-sys-user-msg-list-dto.js → excel-import-result-dtocalendar-export-dto.js} +0 -0
  332. /package/dist/esm/models/{json-result-space-edit-before-and-after-dto.js → excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
  333. /package/dist/esm/models/{json-result-sys-user-msg-do.js → excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
  334. /package/dist/esm/models/{page-dto-sys-user-msg-list-dto.js → inspection-standard-import-dto.js} +0 -0
  335. /package/dist/esm/models/{space-edit-before-and-after-dto.js → json-result-excel-import-result-dtocalendar-export-dto.js} +0 -0
  336. /package/dist/esm/models/{space-edit-excel-dto.js → json-result-excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
  337. /package/dist/esm/models/{sys-user-msg-do.js → json-result-excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
  338. /package/dist/esm/models/{sys-user-msg-list-dto.js → json-result-list-work-order-dept-settings-entity.js} +0 -0
  339. /package/dist/esm/models/{sys-user-msg-search-list-vo.js → json-result-page-dto-sys-user-msg-dto.js} +0 -0
  340. /package/dist/esm/models/{work-order-check-before-acceptance-adopt-vo.js → json-result-park-info-dto.js} +0 -0
  341. /package/dist/esm/models/{work-order-check-before-acceptance-no-vo.js → json-result-sys-user-msg-dto.js} +0 -0
  342. /package/dist/models/{calendar-add-redis-list-vo.js → dept-relation-dto.js} +0 -0
  343. /package/dist/models/{json-result-calendar-add-redis-list-vo.js → dept-relation.js} +0 -0
  344. /package/dist/models/{json-result-page-dto-sys-user-msg-list-dto.js → excel-import-result-dtocalendar-export-dto.js} +0 -0
  345. /package/dist/models/{json-result-space-edit-before-and-after-dto.js → excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
  346. /package/dist/models/{json-result-sys-user-msg-do.js → excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
  347. /package/dist/models/{page-dto-sys-user-msg-list-dto.js → inspection-standard-import-dto.js} +0 -0
  348. /package/dist/models/{space-edit-before-and-after-dto.js → json-result-excel-import-result-dtocalendar-export-dto.js} +0 -0
  349. /package/dist/models/{space-edit-excel-dto.js → json-result-excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
  350. /package/dist/models/{sys-user-msg-do.js → json-result-excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
  351. /package/dist/models/{sys-user-msg-list-dto.js → json-result-list-work-order-dept-settings-entity.js} +0 -0
  352. /package/dist/models/{sys-user-msg-search-list-vo.js → json-result-page-dto-sys-user-msg-dto.js} +0 -0
  353. /package/dist/models/{work-order-check-before-acceptance-adopt-vo.js → json-result-park-info-dto.js} +0 -0
  354. /package/dist/models/{work-order-check-before-acceptance-no-vo.js → json-result-sys-user-msg-dto.js} +0 -0
@@ -27,10 +27,10 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
29
  /**
30
- * InspectionApi - axios parameter creator
30
+ * MaintenanceStandardApi - axios parameter creator
31
31
  * @export
32
32
  */
33
- export const InspectionApiAxiosParamCreator = function (configuration) {
33
+ export const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
34
34
  return {
35
35
  /**
36
36
  *
@@ -100,48 +100,15 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
100
100
  }),
101
101
  /**
102
102
  *
103
- * @summary 添加巡检标准
104
- * @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
105
- * @param {*} [options] Override http request option.
106
- * @throws {RequiredError}
107
- */
108
- createInspectionStandard: (inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (inspectionStandardAddOrUpdateVO, options = {}) {
109
- // verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
110
- assertParamExists('createInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
111
- const localVarPath = `/gizone/inspectionStandard`;
112
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
113
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
114
- let baseOptions;
115
- if (configuration) {
116
- baseOptions = configuration.baseOptions;
117
- }
118
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
119
- const localVarHeaderParameter = {};
120
- const localVarQueryParameter = {};
121
- // authentication tokenScheme required
122
- // http bearer authentication required
123
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
124
- localVarHeaderParameter['Content-Type'] = 'application/json';
125
- setSearchParams(localVarUrlObj, localVarQueryParameter);
126
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
128
- localVarRequestOptions.data = serializeDataIfNeeded(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
129
- return {
130
- url: toPathString(localVarUrlObj),
131
- options: localVarRequestOptions,
132
- };
133
- }),
134
- /**
135
- *
136
- * @summary 删除巡检标准
137
- * @param {number} id 巡检标准id
103
+ * @summary 删除维保标准
104
+ * @param {number} id
138
105
  * @param {*} [options] Override http request option.
139
106
  * @throws {RequiredError}
140
107
  */
141
- deleteInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
108
+ deleteMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
142
109
  // verify required parameter 'id' is not null or undefined
143
- assertParamExists('deleteInspectionStandard', 'id', id);
144
- const localVarPath = `/gizone/inspectionStandard/{id}`
110
+ assertParamExists('deleteMaintenanceStandard', 'id', id);
111
+ const localVarPath = `/gizone/maintenanceStandard/{id}`
145
112
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
146
113
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
147
114
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -165,47 +132,14 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
165
132
  }),
166
133
  /**
167
134
  *
168
- * @summary 批量删除巡检标准
169
- * @param {Array<number>} requestBody
170
- * @param {*} [options] Override http request option.
171
- * @throws {RequiredError}
172
- */
173
- deleteInspectionStandards: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
174
- // verify required parameter 'requestBody' is not null or undefined
175
- assertParamExists('deleteInspectionStandards', 'requestBody', requestBody);
176
- const localVarPath = `/gizone/inspectionStandard/delBatch`;
177
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
- let baseOptions;
180
- if (configuration) {
181
- baseOptions = configuration.baseOptions;
182
- }
183
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
184
- const localVarHeaderParameter = {};
185
- const localVarQueryParameter = {};
186
- // authentication tokenScheme required
187
- // http bearer authentication required
188
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
189
- localVarHeaderParameter['Content-Type'] = 'application/json';
190
- setSearchParams(localVarUrlObj, localVarQueryParameter);
191
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
192
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
193
- localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
194
- return {
195
- url: toPathString(localVarUrlObj),
196
- options: localVarRequestOptions,
197
- };
198
- }),
199
- /**
200
- *
201
- * @summary 删除维保标准
135
+ * @summary 维保标准详情
202
136
  * @param {number} id
203
137
  * @param {*} [options] Override http request option.
204
138
  * @throws {RequiredError}
205
139
  */
206
- deleteMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
140
+ getMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
207
141
  // verify required parameter 'id' is not null or undefined
208
- assertParamExists('deleteMaintenanceStandard', 'id', id);
142
+ assertParamExists('getMaintenanceStandard', 'id', id);
209
143
  const localVarPath = `/gizone/maintenanceStandard/{id}`
210
144
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
211
145
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -214,7 +148,7 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
214
148
  if (configuration) {
215
149
  baseOptions = configuration.baseOptions;
216
150
  }
217
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
151
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
218
152
  const localVarHeaderParameter = {};
219
153
  const localVarQueryParameter = {};
220
154
  // authentication tokenScheme required
@@ -230,16 +164,24 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
230
164
  }),
231
165
  /**
232
166
  *
233
- * @summary 巡检标准详情
234
- * @param {number} id
167
+ * @summary 维保标准列表
168
+ * @param {number} parkId 园区ID
169
+ * @param {number} pageSize 每页数量
170
+ * @param {number} page 页码
171
+ * @param {string} [searchValue] 关键搜索值
172
+ * @param {number} [equipmentSystemId] 维保分类
173
+ * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
235
174
  * @param {*} [options] Override http request option.
236
175
  * @throws {RequiredError}
237
176
  */
238
- getInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
239
- // verify required parameter 'id' is not null or undefined
240
- assertParamExists('getInspectionStandard', 'id', id);
241
- const localVarPath = `/gizone/inspectionStandard/{id}`
242
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
177
+ listMaintenanceStandard: (parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options = {}) {
178
+ // verify required parameter 'parkId' is not null or undefined
179
+ assertParamExists('listMaintenanceStandard', 'parkId', parkId);
180
+ // verify required parameter 'pageSize' is not null or undefined
181
+ assertParamExists('listMaintenanceStandard', 'pageSize', pageSize);
182
+ // verify required parameter 'page' is not null or undefined
183
+ assertParamExists('listMaintenanceStandard', 'page', page);
184
+ const localVarPath = `/gizone/maintenanceStandard`;
243
185
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
244
186
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
245
187
  let baseOptions;
@@ -252,6 +194,24 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
252
194
  // authentication tokenScheme required
253
195
  // http bearer authentication required
254
196
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
197
+ if (searchValue !== undefined) {
198
+ localVarQueryParameter['searchValue'] = searchValue;
199
+ }
200
+ if (equipmentSystemId !== undefined) {
201
+ localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
202
+ }
203
+ if (repeats !== undefined) {
204
+ localVarQueryParameter['repeats'] = repeats;
205
+ }
206
+ if (parkId !== undefined) {
207
+ localVarQueryParameter['parkId'] = parkId;
208
+ }
209
+ if (pageSize !== undefined) {
210
+ localVarQueryParameter['pageSize'] = pageSize;
211
+ }
212
+ if (page !== undefined) {
213
+ localVarQueryParameter['page'] = page;
214
+ }
255
215
  setSearchParams(localVarUrlObj, localVarQueryParameter);
256
216
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
257
217
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -262,16 +222,15 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
262
222
  }),
263
223
  /**
264
224
  *
265
- * @summary 维保标准详情
266
- * @param {number} id
225
+ * @summary 根据设备id查询维保标准
226
+ * @param {number} equipmentId
267
227
  * @param {*} [options] Override http request option.
268
228
  * @throws {RequiredError}
269
229
  */
270
- getMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
271
- // verify required parameter 'id' is not null or undefined
272
- assertParamExists('getMaintenanceStandard', 'id', id);
273
- const localVarPath = `/gizone/maintenanceStandard/{id}`
274
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
230
+ listMaintenanceStandardByEquipmentId: (equipmentId_1, ...args_1) => __awaiter(this, [equipmentId_1, ...args_1], void 0, function* (equipmentId, options = {}) {
231
+ // verify required parameter 'equipmentId' is not null or undefined
232
+ assertParamExists('listMaintenanceStandardByEquipmentId', 'equipmentId', equipmentId);
233
+ const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentId`;
275
234
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
276
235
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
277
236
  let baseOptions;
@@ -284,6 +243,9 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
284
243
  // authentication tokenScheme required
285
244
  // http bearer authentication required
286
245
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
246
+ if (equipmentId !== undefined) {
247
+ localVarQueryParameter['equipmentId'] = equipmentId;
248
+ }
287
249
  setSearchParams(localVarUrlObj, localVarQueryParameter);
288
250
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
289
251
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -294,24 +256,15 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
294
256
  }),
295
257
  /**
296
258
  *
297
- * @summary 巡检标准列表
298
- * @param {number} parkId 园区id
299
- * @param {number} pageSize 每页数量
300
- * @param {number} page 页码
301
- * @param {string} [searchValue] 内容
302
- * @param {InspectionCategoryEnum} [category] 巡检分类
303
- * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
259
+ * @summary 根据设备系统id查询维保标准
260
+ * @param {number} equipmentSystemId
304
261
  * @param {*} [options] Override http request option.
305
262
  * @throws {RequiredError}
306
263
  */
307
- listInspectionStandard: (parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, category, repeats, options = {}) {
308
- // verify required parameter 'parkId' is not null or undefined
309
- assertParamExists('listInspectionStandard', 'parkId', parkId);
310
- // verify required parameter 'pageSize' is not null or undefined
311
- assertParamExists('listInspectionStandard', 'pageSize', pageSize);
312
- // verify required parameter 'page' is not null or undefined
313
- assertParamExists('listInspectionStandard', 'page', page);
314
- const localVarPath = `/gizone/inspectionStandard`;
264
+ listMaintenanceStandardByEquipmentSystemId: (equipmentSystemId_1, ...args_1) => __awaiter(this, [equipmentSystemId_1, ...args_1], void 0, function* (equipmentSystemId, options = {}) {
265
+ // verify required parameter 'equipmentSystemId' is not null or undefined
266
+ assertParamExists('listMaintenanceStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId);
267
+ const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentSystemId`;
315
268
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
316
269
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
317
270
  let baseOptions;
@@ -324,23 +277,8 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
324
277
  // authentication tokenScheme required
325
278
  // http bearer authentication required
326
279
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
327
- if (searchValue !== undefined) {
328
- localVarQueryParameter['searchValue'] = searchValue;
329
- }
330
- if (category !== undefined) {
331
- localVarQueryParameter['category'] = category;
332
- }
333
- if (parkId !== undefined) {
334
- localVarQueryParameter['parkId'] = parkId;
335
- }
336
- if (pageSize !== undefined) {
337
- localVarQueryParameter['pageSize'] = pageSize;
338
- }
339
- if (page !== undefined) {
340
- localVarQueryParameter['page'] = page;
341
- }
342
- if (repeats !== undefined) {
343
- localVarQueryParameter['repeats'] = repeats;
280
+ if (equipmentSystemId !== undefined) {
281
+ localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
344
282
  }
345
283
  setSearchParams(localVarUrlObj, localVarQueryParameter);
346
284
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -352,24 +290,18 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
352
290
  }),
353
291
  /**
354
292
  *
355
- * @summary 维保标准列表
293
+ * @summary 维保标准导出-数据
356
294
  * @param {number} parkId 园区ID
357
- * @param {number} pageSize 每页数量
358
- * @param {number} page 页码
359
295
  * @param {string} [searchValue] 关键搜索值
360
296
  * @param {number} [equipmentSystemId] 维保分类
361
297
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
362
298
  * @param {*} [options] Override http request option.
363
299
  * @throws {RequiredError}
364
300
  */
365
- listMaintenanceStandard: (parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options = {}) {
301
+ maintenanceStandardBatchExport: (parkId_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, searchValue, equipmentSystemId, repeats, options = {}) {
366
302
  // verify required parameter 'parkId' is not null or undefined
367
- assertParamExists('listMaintenanceStandard', 'parkId', parkId);
368
- // verify required parameter 'pageSize' is not null or undefined
369
- assertParamExists('listMaintenanceStandard', 'pageSize', pageSize);
370
- // verify required parameter 'page' is not null or undefined
371
- assertParamExists('listMaintenanceStandard', 'page', page);
372
- const localVarPath = `/gizone/maintenanceStandard`;
303
+ assertParamExists('maintenanceStandardBatchExport', 'parkId', parkId);
304
+ const localVarPath = `/gizone/maintenanceStandard/batchExport`;
373
305
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
374
306
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
375
307
  let baseOptions;
@@ -394,12 +326,6 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
394
326
  if (parkId !== undefined) {
395
327
  localVarQueryParameter['parkId'] = parkId;
396
328
  }
397
- if (pageSize !== undefined) {
398
- localVarQueryParameter['pageSize'] = pageSize;
399
- }
400
- if (page !== undefined) {
401
- localVarQueryParameter['page'] = page;
402
- }
403
329
  setSearchParams(localVarUrlObj, localVarQueryParameter);
404
330
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
405
331
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -410,30 +336,24 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
410
336
  }),
411
337
  /**
412
338
  *
413
- * @summary 根据设备id查询维保标准
414
- * @param {number} equipmentId
339
+ * @summary 维保标准导入-确认导入
415
340
  * @param {*} [options] Override http request option.
416
341
  * @throws {RequiredError}
417
342
  */
418
- listMaintenanceStandardByEquipmentId: (equipmentId_1, ...args_1) => __awaiter(this, [equipmentId_1, ...args_1], void 0, function* (equipmentId, options = {}) {
419
- // verify required parameter 'equipmentId' is not null or undefined
420
- assertParamExists('listMaintenanceStandardByEquipmentId', 'equipmentId', equipmentId);
421
- const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentId`;
343
+ maintenanceStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
344
+ const localVarPath = `/gizone/maintenanceStandard/batchImport/confirm`;
422
345
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
423
346
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
424
347
  let baseOptions;
425
348
  if (configuration) {
426
349
  baseOptions = configuration.baseOptions;
427
350
  }
428
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
351
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
429
352
  const localVarHeaderParameter = {};
430
353
  const localVarQueryParameter = {};
431
354
  // authentication tokenScheme required
432
355
  // http bearer authentication required
433
356
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
434
- if (equipmentId !== undefined) {
435
- localVarQueryParameter['equipmentId'] = equipmentId;
436
- }
437
357
  setSearchParams(localVarUrlObj, localVarQueryParameter);
438
358
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
439
359
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -444,15 +364,12 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
444
364
  }),
445
365
  /**
446
366
  *
447
- * @summary 根据设备系统id查询维保标准
448
- * @param {number} equipmentSystemId
367
+ * @summary 维保标准导入-预览结果
449
368
  * @param {*} [options] Override http request option.
450
369
  * @throws {RequiredError}
451
370
  */
452
- listMaintenanceStandardByEquipmentSystemId: (equipmentSystemId_1, ...args_1) => __awaiter(this, [equipmentSystemId_1, ...args_1], void 0, function* (equipmentSystemId, options = {}) {
453
- // verify required parameter 'equipmentSystemId' is not null or undefined
454
- assertParamExists('listMaintenanceStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId);
455
- const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentSystemId`;
371
+ maintenanceStandardBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
372
+ const localVarPath = `/gizone/maintenanceStandard/batchImport/preview`;
456
373
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
457
374
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
458
375
  let baseOptions;
@@ -465,9 +382,6 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
465
382
  // authentication tokenScheme required
466
383
  // http bearer authentication required
467
384
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
468
- if (equipmentSystemId !== undefined) {
469
- localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
470
- }
471
385
  setSearchParams(localVarUrlObj, localVarQueryParameter);
472
386
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
473
387
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -478,18 +392,12 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
478
392
  }),
479
393
  /**
480
394
  *
481
- * @summary 同步其他园区巡检标准
482
- * @param {number} parkIdOne
483
- * @param {number} parkIdTwo
395
+ * @summary 维保标准导入-下载模板
484
396
  * @param {*} [options] Override http request option.
485
397
  * @throws {RequiredError}
486
398
  */
487
- syncInspectionStandard: (parkIdOne_1, parkIdTwo_1, ...args_1) => __awaiter(this, [parkIdOne_1, parkIdTwo_1, ...args_1], void 0, function* (parkIdOne, parkIdTwo, options = {}) {
488
- // verify required parameter 'parkIdOne' is not null or undefined
489
- assertParamExists('syncInspectionStandard', 'parkIdOne', parkIdOne);
490
- // verify required parameter 'parkIdTwo' is not null or undefined
491
- assertParamExists('syncInspectionStandard', 'parkIdTwo', parkIdTwo);
492
- const localVarPath = `/gizone/inspectionStandard/sync/park/inspectionStandard`;
399
+ maintenanceStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
400
+ const localVarPath = `/gizone/maintenanceStandard/batchImport/template`;
493
401
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
494
402
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
495
403
  let baseOptions;
@@ -502,12 +410,6 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
502
410
  // authentication tokenScheme required
503
411
  // http bearer authentication required
504
412
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
505
- if (parkIdOne !== undefined) {
506
- localVarQueryParameter['parkIdOne'] = parkIdOne;
507
- }
508
- if (parkIdTwo !== undefined) {
509
- localVarQueryParameter['parkIdTwo'] = parkIdTwo;
510
- }
511
413
  setSearchParams(localVarUrlObj, localVarQueryParameter);
512
414
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
513
415
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -518,36 +420,46 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
518
420
  }),
519
421
  /**
520
422
  *
521
- * @summary 修改巡检标准
522
- * @param {number} id
523
- * @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
423
+ * @summary 维保标准导入-上传文件
424
+ * @param {number} parkId 园区id
425
+ * @param {File} file
426
+ * @param {string} [language] 语言
524
427
  * @param {*} [options] Override http request option.
525
428
  * @throws {RequiredError}
526
429
  */
527
- updateInspectionStandard: (id_1, inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [id_1, inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (id, inspectionStandardAddOrUpdateVO, options = {}) {
528
- // verify required parameter 'id' is not null or undefined
529
- assertParamExists('updateInspectionStandard', 'id', id);
530
- // verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
531
- assertParamExists('updateInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
532
- const localVarPath = `/gizone/inspectionStandard/{id}`
533
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
430
+ maintenanceStandardBatchImportUpload: (parkId_1, file_1, language_1, ...args_1) => __awaiter(this, [parkId_1, file_1, language_1, ...args_1], void 0, function* (parkId, file, language, options = {}) {
431
+ // verify required parameter 'parkId' is not null or undefined
432
+ assertParamExists('maintenanceStandardBatchImportUpload', 'parkId', parkId);
433
+ // verify required parameter 'file' is not null or undefined
434
+ assertParamExists('maintenanceStandardBatchImportUpload', 'file', file);
435
+ const localVarPath = `/gizone/maintenanceStandard/batchImport/upload`;
534
436
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
535
437
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
536
438
  let baseOptions;
537
439
  if (configuration) {
538
440
  baseOptions = configuration.baseOptions;
539
441
  }
540
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
442
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
541
443
  const localVarHeaderParameter = {};
542
444
  const localVarQueryParameter = {};
445
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
543
446
  // authentication tokenScheme required
544
447
  // http bearer authentication required
545
448
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
546
- localVarHeaderParameter['Content-Type'] = 'application/json';
449
+ if (parkId !== undefined) {
450
+ localVarFormParams.append('parkId', parkId);
451
+ }
452
+ if (language !== undefined) {
453
+ localVarFormParams.append('language', language);
454
+ }
455
+ if (file !== undefined) {
456
+ localVarFormParams.append('file', file);
457
+ }
458
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
547
459
  setSearchParams(localVarUrlObj, localVarQueryParameter);
548
460
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
549
461
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
550
- localVarRequestOptions.data = serializeDataIfNeeded(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
462
+ localVarRequestOptions.data = localVarFormParams;
551
463
  return {
552
464
  url: toPathString(localVarUrlObj),
553
465
  options: localVarRequestOptions,
@@ -593,11 +505,11 @@ export const InspectionApiAxiosParamCreator = function (configuration) {
593
505
  };
594
506
  };
595
507
  /**
596
- * InspectionApi - functional programming interface
508
+ * MaintenanceStandardApi - functional programming interface
597
509
  * @export
598
510
  */
599
- export const InspectionApiFp = function (configuration) {
600
- const localVarAxiosParamCreator = InspectionApiAxiosParamCreator(configuration);
511
+ export const MaintenanceStandardApiFp = function (configuration) {
512
+ const localVarAxiosParamCreator = MaintenanceStandardApiAxiosParamCreator(configuration);
601
513
  return {
602
514
  /**
603
515
  *
@@ -611,7 +523,7 @@ export const InspectionApiFp = function (configuration) {
611
523
  var _a, _b, _c;
612
524
  const localVarAxiosArgs = yield localVarAxiosParamCreator.addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options);
613
525
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
614
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.addMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
526
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.addMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
615
527
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
616
528
  });
617
529
  },
@@ -627,211 +539,174 @@ export const InspectionApiFp = function (configuration) {
627
539
  var _a, _b, _c;
628
540
  const localVarAxiosArgs = yield localVarAxiosParamCreator.batchDeleteMaintenanceStandard(standardDeleteVo, options);
629
541
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
630
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.batchDeleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
631
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
632
- });
633
- },
634
- /**
635
- *
636
- * @summary 添加巡检标准
637
- * @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
638
- * @param {*} [options] Override http request option.
639
- * @throws {RequiredError}
640
- */
641
- createInspectionStandard(inspectionStandardAddOrUpdateVO, options) {
642
- return __awaiter(this, void 0, void 0, function* () {
643
- var _a, _b, _c;
644
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createInspectionStandard(inspectionStandardAddOrUpdateVO, options);
645
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
646
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.createInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
647
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
648
- });
649
- },
650
- /**
651
- *
652
- * @summary 删除巡检标准
653
- * @param {number} id 巡检标准id
654
- * @param {*} [options] Override http request option.
655
- * @throws {RequiredError}
656
- */
657
- deleteInspectionStandard(id, options) {
658
- return __awaiter(this, void 0, void 0, function* () {
659
- var _a, _b, _c;
660
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandard(id, options);
661
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
662
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.deleteInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
542
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.batchDeleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
663
543
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
664
544
  });
665
545
  },
666
546
  /**
667
547
  *
668
- * @summary 批量删除巡检标准
669
- * @param {Array<number>} requestBody
548
+ * @summary 删除维保标准
549
+ * @param {number} id
670
550
  * @param {*} [options] Override http request option.
671
551
  * @throws {RequiredError}
672
552
  */
673
- deleteInspectionStandards(requestBody, options) {
553
+ deleteMaintenanceStandard(id, options) {
674
554
  return __awaiter(this, void 0, void 0, function* () {
675
555
  var _a, _b, _c;
676
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandards(requestBody, options);
556
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
677
557
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
678
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.deleteInspectionStandards']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
558
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.deleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
679
559
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
680
560
  });
681
561
  },
682
562
  /**
683
563
  *
684
- * @summary 删除维保标准
564
+ * @summary 维保标准详情
685
565
  * @param {number} id
686
566
  * @param {*} [options] Override http request option.
687
567
  * @throws {RequiredError}
688
568
  */
689
- deleteMaintenanceStandard(id, options) {
569
+ getMaintenanceStandard(id, options) {
690
570
  return __awaiter(this, void 0, void 0, function* () {
691
571
  var _a, _b, _c;
692
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
572
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMaintenanceStandard(id, options);
693
573
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
694
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.deleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
574
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.getMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
695
575
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
696
576
  });
697
577
  },
698
578
  /**
699
579
  *
700
- * @summary 巡检标准详情
701
- * @param {number} id
580
+ * @summary 维保标准列表
581
+ * @param {number} parkId 园区ID
582
+ * @param {number} pageSize 每页数量
583
+ * @param {number} page 页码
584
+ * @param {string} [searchValue] 关键搜索值
585
+ * @param {number} [equipmentSystemId] 维保分类
586
+ * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
702
587
  * @param {*} [options] Override http request option.
703
588
  * @throws {RequiredError}
704
589
  */
705
- getInspectionStandard(id, options) {
590
+ listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options) {
706
591
  return __awaiter(this, void 0, void 0, function* () {
707
592
  var _a, _b, _c;
708
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getInspectionStandard(id, options);
593
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
709
594
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
710
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.getInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
595
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.listMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
711
596
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
712
597
  });
713
598
  },
714
599
  /**
715
600
  *
716
- * @summary 维保标准详情
717
- * @param {number} id
601
+ * @summary 根据设备id查询维保标准
602
+ * @param {number} equipmentId
718
603
  * @param {*} [options] Override http request option.
719
604
  * @throws {RequiredError}
720
605
  */
721
- getMaintenanceStandard(id, options) {
606
+ listMaintenanceStandardByEquipmentId(equipmentId, options) {
722
607
  return __awaiter(this, void 0, void 0, function* () {
723
608
  var _a, _b, _c;
724
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMaintenanceStandard(id, options);
609
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
725
610
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
726
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.getMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
611
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.listMaintenanceStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
727
612
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
728
613
  });
729
614
  },
730
615
  /**
731
616
  *
732
- * @summary 巡检标准列表
733
- * @param {number} parkId 园区id
734
- * @param {number} pageSize 每页数量
735
- * @param {number} page 页码
736
- * @param {string} [searchValue] 内容
737
- * @param {InspectionCategoryEnum} [category] 巡检分类
738
- * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
617
+ * @summary 根据设备系统id查询维保标准
618
+ * @param {number} equipmentSystemId
739
619
  * @param {*} [options] Override http request option.
740
620
  * @throws {RequiredError}
741
621
  */
742
- listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options) {
622
+ listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options) {
743
623
  return __awaiter(this, void 0, void 0, function* () {
744
624
  var _a, _b, _c;
745
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options);
625
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
746
626
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
747
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
627
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.listMaintenanceStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
748
628
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
749
629
  });
750
630
  },
751
631
  /**
752
632
  *
753
- * @summary 维保标准列表
633
+ * @summary 维保标准导出-数据
754
634
  * @param {number} parkId 园区ID
755
- * @param {number} pageSize 每页数量
756
- * @param {number} page 页码
757
635
  * @param {string} [searchValue] 关键搜索值
758
636
  * @param {number} [equipmentSystemId] 维保分类
759
637
  * @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
760
638
  * @param {*} [options] Override http request option.
761
639
  * @throws {RequiredError}
762
640
  */
763
- listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options) {
641
+ maintenanceStandardBatchExport(parkId, searchValue, equipmentSystemId, repeats, options) {
764
642
  return __awaiter(this, void 0, void 0, function* () {
765
643
  var _a, _b, _c;
766
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
644
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchExport(parkId, searchValue, equipmentSystemId, repeats, options);
767
645
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
768
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
646
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
769
647
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
770
648
  });
771
649
  },
772
650
  /**
773
651
  *
774
- * @summary 根据设备id查询维保标准
775
- * @param {number} equipmentId
652
+ * @summary 维保标准导入-确认导入
776
653
  * @param {*} [options] Override http request option.
777
654
  * @throws {RequiredError}
778
655
  */
779
- listMaintenanceStandardByEquipmentId(equipmentId, options) {
656
+ maintenanceStandardBatchImportConfirm(options) {
780
657
  return __awaiter(this, void 0, void 0, function* () {
781
658
  var _a, _b, _c;
782
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
659
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportConfirm(options);
783
660
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
784
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
661
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
785
662
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
786
663
  });
787
664
  },
788
665
  /**
789
666
  *
790
- * @summary 根据设备系统id查询维保标准
791
- * @param {number} equipmentSystemId
667
+ * @summary 维保标准导入-预览结果
792
668
  * @param {*} [options] Override http request option.
793
669
  * @throws {RequiredError}
794
670
  */
795
- listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options) {
671
+ maintenanceStandardBatchImportPreview(options) {
796
672
  return __awaiter(this, void 0, void 0, function* () {
797
673
  var _a, _b, _c;
798
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
674
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportPreview(options);
799
675
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
800
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
676
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
801
677
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
802
678
  });
803
679
  },
804
680
  /**
805
681
  *
806
- * @summary 同步其他园区巡检标准
807
- * @param {number} parkIdOne
808
- * @param {number} parkIdTwo
682
+ * @summary 维保标准导入-下载模板
809
683
  * @param {*} [options] Override http request option.
810
684
  * @throws {RequiredError}
811
685
  */
812
- syncInspectionStandard(parkIdOne, parkIdTwo, options) {
686
+ maintenanceStandardBatchImportTemplate(options) {
813
687
  return __awaiter(this, void 0, void 0, function* () {
814
688
  var _a, _b, _c;
815
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncInspectionStandard(parkIdOne, parkIdTwo, options);
689
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportTemplate(options);
816
690
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
817
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.syncInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
691
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
818
692
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
819
693
  });
820
694
  },
821
695
  /**
822
696
  *
823
- * @summary 修改巡检标准
824
- * @param {number} id
825
- * @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
697
+ * @summary 维保标准导入-上传文件
698
+ * @param {number} parkId 园区id
699
+ * @param {File} file
700
+ * @param {string} [language] 语言
826
701
  * @param {*} [options] Override http request option.
827
702
  * @throws {RequiredError}
828
703
  */
829
- updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options) {
704
+ maintenanceStandardBatchImportUpload(parkId, file, language, options) {
830
705
  return __awaiter(this, void 0, void 0, function* () {
831
706
  var _a, _b, _c;
832
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options);
707
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportUpload(parkId, file, language, options);
833
708
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
834
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.updateInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
709
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
835
710
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
836
711
  });
837
712
  },
@@ -848,23 +723,23 @@ export const InspectionApiFp = function (configuration) {
848
723
  var _a, _b, _c;
849
724
  const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
850
725
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
851
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.updateMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
726
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.updateMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
852
727
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
853
728
  });
854
729
  },
855
730
  };
856
731
  };
857
732
  /**
858
- * InspectionApi - factory interface
733
+ * MaintenanceStandardApi - factory interface
859
734
  * @export
860
735
  */
861
- export const InspectionApiFactory = function (configuration, basePath, axios) {
862
- const localVarFp = InspectionApiFp(configuration);
736
+ export const MaintenanceStandardApiFactory = function (configuration, basePath, axios) {
737
+ const localVarFp = MaintenanceStandardApiFp(configuration);
863
738
  return {
864
739
  /**
865
740
  *
866
741
  * @summary 新增维保标准
867
- * @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
742
+ * @param {MaintenanceStandardApiAddMaintenanceStandardRequest} requestParameters Request parameters.
868
743
  * @param {*} [options] Override http request option.
869
744
  * @throws {RequiredError}
870
745
  */
@@ -874,7 +749,7 @@ export const InspectionApiFactory = function (configuration, basePath, axios) {
874
749
  /**
875
750
  *
876
751
  * @summary 批量删除维保标准
877
- * @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
752
+ * @param {MaintenanceStandardApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
878
753
  * @param {*} [options] Override http request option.
879
754
  * @throws {RequiredError}
880
755
  */
@@ -883,128 +758,105 @@ export const InspectionApiFactory = function (configuration, basePath, axios) {
883
758
  },
884
759
  /**
885
760
  *
886
- * @summary 添加巡检标准
887
- * @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
888
- * @param {*} [options] Override http request option.
889
- * @throws {RequiredError}
890
- */
891
- createInspectionStandard(requestParameters, options) {
892
- return localVarFp.createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
893
- },
894
- /**
895
- *
896
- * @summary 删除巡检标准
897
- * @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
898
- * @param {*} [options] Override http request option.
899
- * @throws {RequiredError}
900
- */
901
- deleteInspectionStandard(requestParameters, options) {
902
- return localVarFp.deleteInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
903
- },
904
- /**
905
- *
906
- * @summary 批量删除巡检标准
907
- * @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
761
+ * @summary 删除维保标准
762
+ * @param {MaintenanceStandardApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
908
763
  * @param {*} [options] Override http request option.
909
764
  * @throws {RequiredError}
910
765
  */
911
- deleteInspectionStandards(requestParameters, options) {
912
- return localVarFp.deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(axios, basePath));
766
+ deleteMaintenanceStandard(requestParameters, options) {
767
+ return localVarFp.deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
913
768
  },
914
769
  /**
915
770
  *
916
- * @summary 删除维保标准
917
- * @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
771
+ * @summary 维保标准详情
772
+ * @param {MaintenanceStandardApiGetMaintenanceStandardRequest} requestParameters Request parameters.
918
773
  * @param {*} [options] Override http request option.
919
774
  * @throws {RequiredError}
920
775
  */
921
- deleteMaintenanceStandard(requestParameters, options) {
922
- return localVarFp.deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
776
+ getMaintenanceStandard(requestParameters, options) {
777
+ return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
923
778
  },
924
779
  /**
925
780
  *
926
- * @summary 巡检标准详情
927
- * @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
781
+ * @summary 维保标准列表
782
+ * @param {MaintenanceStandardApiListMaintenanceStandardRequest} requestParameters Request parameters.
928
783
  * @param {*} [options] Override http request option.
929
784
  * @throws {RequiredError}
930
785
  */
931
- getInspectionStandard(requestParameters, options) {
932
- return localVarFp.getInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
786
+ listMaintenanceStandard(requestParameters, options) {
787
+ return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
933
788
  },
934
789
  /**
935
790
  *
936
- * @summary 维保标准详情
937
- * @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
791
+ * @summary 根据设备id查询维保标准
792
+ * @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
938
793
  * @param {*} [options] Override http request option.
939
794
  * @throws {RequiredError}
940
795
  */
941
- getMaintenanceStandard(requestParameters, options) {
942
- return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
796
+ listMaintenanceStandardByEquipmentId(requestParameters, options) {
797
+ return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
943
798
  },
944
799
  /**
945
800
  *
946
- * @summary 巡检标准列表
947
- * @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
801
+ * @summary 根据设备系统id查询维保标准
802
+ * @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
948
803
  * @param {*} [options] Override http request option.
949
804
  * @throws {RequiredError}
950
805
  */
951
- listInspectionStandard(requestParameters, options) {
952
- return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
806
+ listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
807
+ return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
953
808
  },
954
809
  /**
955
810
  *
956
- * @summary 维保标准列表
957
- * @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
811
+ * @summary 维保标准导出-数据
812
+ * @param {MaintenanceStandardApiMaintenanceStandardBatchExportRequest} requestParameters Request parameters.
958
813
  * @param {*} [options] Override http request option.
959
814
  * @throws {RequiredError}
960
815
  */
961
- listMaintenanceStandard(requestParameters, options) {
962
- return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
816
+ maintenanceStandardBatchExport(requestParameters, options) {
817
+ return localVarFp.maintenanceStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
963
818
  },
964
819
  /**
965
820
  *
966
- * @summary 根据设备id查询维保标准
967
- * @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
821
+ * @summary 维保标准导入-确认导入
968
822
  * @param {*} [options] Override http request option.
969
823
  * @throws {RequiredError}
970
824
  */
971
- listMaintenanceStandardByEquipmentId(requestParameters, options) {
972
- return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
825
+ maintenanceStandardBatchImportConfirm(options) {
826
+ return localVarFp.maintenanceStandardBatchImportConfirm(options).then((request) => request(axios, basePath));
973
827
  },
974
828
  /**
975
829
  *
976
- * @summary 根据设备系统id查询维保标准
977
- * @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
830
+ * @summary 维保标准导入-预览结果
978
831
  * @param {*} [options] Override http request option.
979
832
  * @throws {RequiredError}
980
833
  */
981
- listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
982
- return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
834
+ maintenanceStandardBatchImportPreview(options) {
835
+ return localVarFp.maintenanceStandardBatchImportPreview(options).then((request) => request(axios, basePath));
983
836
  },
984
837
  /**
985
838
  *
986
- * @summary 同步其他园区巡检标准
987
- * @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
839
+ * @summary 维保标准导入-下载模板
988
840
  * @param {*} [options] Override http request option.
989
841
  * @throws {RequiredError}
990
842
  */
991
- syncInspectionStandard(requestParameters, options) {
992
- return localVarFp.syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(axios, basePath));
843
+ maintenanceStandardBatchImportTemplate(options) {
844
+ return localVarFp.maintenanceStandardBatchImportTemplate(options).then((request) => request(axios, basePath));
993
845
  },
994
846
  /**
995
847
  *
996
- * @summary 修改巡检标准
997
- * @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
848
+ * @summary 维保标准导入-上传文件
849
+ * @param {MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest} requestParameters Request parameters.
998
850
  * @param {*} [options] Override http request option.
999
851
  * @throws {RequiredError}
1000
852
  */
1001
- updateInspectionStandard(requestParameters, options) {
1002
- return localVarFp.updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
853
+ maintenanceStandardBatchImportUpload(requestParameters, options) {
854
+ return localVarFp.maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
1003
855
  },
1004
856
  /**
1005
857
  *
1006
858
  * @summary 编辑维保标准
1007
- * @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
859
+ * @param {MaintenanceStandardApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
1008
860
  * @param {*} [options] Override http request option.
1009
861
  * @throws {RequiredError}
1010
862
  */
@@ -1014,175 +866,150 @@ export const InspectionApiFactory = function (configuration, basePath, axios) {
1014
866
  };
1015
867
  };
1016
868
  /**
1017
- * InspectionApi - object-oriented interface
869
+ * MaintenanceStandardApi - object-oriented interface
1018
870
  * @export
1019
- * @class InspectionApi
871
+ * @class MaintenanceStandardApi
1020
872
  * @extends {BaseAPI}
1021
873
  */
1022
- export class InspectionApi extends BaseAPI {
874
+ export class MaintenanceStandardApi extends BaseAPI {
1023
875
  /**
1024
876
  *
1025
877
  * @summary 新增维保标准
1026
- * @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
878
+ * @param {MaintenanceStandardApiAddMaintenanceStandardRequest} requestParameters Request parameters.
1027
879
  * @param {*} [options] Override http request option.
1028
880
  * @throws {RequiredError}
1029
- * @memberof InspectionApi
881
+ * @memberof MaintenanceStandardApi
1030
882
  */
1031
883
  addMaintenanceStandard(requestParameters, options) {
1032
- return InspectionApiFp(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
884
+ return MaintenanceStandardApiFp(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
1033
885
  }
1034
886
  /**
1035
887
  *
1036
888
  * @summary 批量删除维保标准
1037
- * @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
889
+ * @param {MaintenanceStandardApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
1038
890
  * @param {*} [options] Override http request option.
1039
891
  * @throws {RequiredError}
1040
- * @memberof InspectionApi
892
+ * @memberof MaintenanceStandardApi
1041
893
  */
1042
894
  batchDeleteMaintenanceStandard(requestParameters, options) {
1043
- return InspectionApiFp(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
895
+ return MaintenanceStandardApiFp(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
1044
896
  }
1045
897
  /**
1046
898
  *
1047
- * @summary 添加巡检标准
1048
- * @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
1049
- * @param {*} [options] Override http request option.
1050
- * @throws {RequiredError}
1051
- * @memberof InspectionApi
1052
- */
1053
- createInspectionStandard(requestParameters, options) {
1054
- return InspectionApiFp(this.configuration).createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
1055
- }
1056
- /**
1057
- *
1058
- * @summary 删除巡检标准
1059
- * @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
1060
- * @param {*} [options] Override http request option.
1061
- * @throws {RequiredError}
1062
- * @memberof InspectionApi
1063
- */
1064
- deleteInspectionStandard(requestParameters, options) {
1065
- return InspectionApiFp(this.configuration).deleteInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1066
- }
1067
- /**
1068
- *
1069
- * @summary 批量删除巡检标准
1070
- * @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
899
+ * @summary 删除维保标准
900
+ * @param {MaintenanceStandardApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
1071
901
  * @param {*} [options] Override http request option.
1072
902
  * @throws {RequiredError}
1073
- * @memberof InspectionApi
903
+ * @memberof MaintenanceStandardApi
1074
904
  */
1075
- deleteInspectionStandards(requestParameters, options) {
1076
- return InspectionApiFp(this.configuration).deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
905
+ deleteMaintenanceStandard(requestParameters, options) {
906
+ return MaintenanceStandardApiFp(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1077
907
  }
1078
908
  /**
1079
909
  *
1080
- * @summary 删除维保标准
1081
- * @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
910
+ * @summary 维保标准详情
911
+ * @param {MaintenanceStandardApiGetMaintenanceStandardRequest} requestParameters Request parameters.
1082
912
  * @param {*} [options] Override http request option.
1083
913
  * @throws {RequiredError}
1084
- * @memberof InspectionApi
914
+ * @memberof MaintenanceStandardApi
1085
915
  */
1086
- deleteMaintenanceStandard(requestParameters, options) {
1087
- return InspectionApiFp(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
916
+ getMaintenanceStandard(requestParameters, options) {
917
+ return MaintenanceStandardApiFp(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1088
918
  }
1089
919
  /**
1090
920
  *
1091
- * @summary 巡检标准详情
1092
- * @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
921
+ * @summary 维保标准列表
922
+ * @param {MaintenanceStandardApiListMaintenanceStandardRequest} requestParameters Request parameters.
1093
923
  * @param {*} [options] Override http request option.
1094
924
  * @throws {RequiredError}
1095
- * @memberof InspectionApi
925
+ * @memberof MaintenanceStandardApi
1096
926
  */
1097
- getInspectionStandard(requestParameters, options) {
1098
- return InspectionApiFp(this.configuration).getInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
927
+ listMaintenanceStandard(requestParameters, options) {
928
+ return MaintenanceStandardApiFp(this.configuration).listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
1099
929
  }
1100
930
  /**
1101
931
  *
1102
- * @summary 维保标准详情
1103
- * @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
932
+ * @summary 根据设备id查询维保标准
933
+ * @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
1104
934
  * @param {*} [options] Override http request option.
1105
935
  * @throws {RequiredError}
1106
- * @memberof InspectionApi
936
+ * @memberof MaintenanceStandardApi
1107
937
  */
1108
- getMaintenanceStandard(requestParameters, options) {
1109
- return InspectionApiFp(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
938
+ listMaintenanceStandardByEquipmentId(requestParameters, options) {
939
+ return MaintenanceStandardApiFp(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
1110
940
  }
1111
941
  /**
1112
942
  *
1113
- * @summary 巡检标准列表
1114
- * @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
943
+ * @summary 根据设备系统id查询维保标准
944
+ * @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
1115
945
  * @param {*} [options] Override http request option.
1116
946
  * @throws {RequiredError}
1117
- * @memberof InspectionApi
947
+ * @memberof MaintenanceStandardApi
1118
948
  */
1119
- listInspectionStandard(requestParameters, options) {
1120
- return InspectionApiFp(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
949
+ listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
950
+ return MaintenanceStandardApiFp(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
1121
951
  }
1122
952
  /**
1123
953
  *
1124
- * @summary 维保标准列表
1125
- * @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
954
+ * @summary 维保标准导出-数据
955
+ * @param {MaintenanceStandardApiMaintenanceStandardBatchExportRequest} requestParameters Request parameters.
1126
956
  * @param {*} [options] Override http request option.
1127
957
  * @throws {RequiredError}
1128
- * @memberof InspectionApi
958
+ * @memberof MaintenanceStandardApi
1129
959
  */
1130
- listMaintenanceStandard(requestParameters, options) {
1131
- return InspectionApiFp(this.configuration).listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
960
+ maintenanceStandardBatchExport(requestParameters, options) {
961
+ return MaintenanceStandardApiFp(this.configuration).maintenanceStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
1132
962
  }
1133
963
  /**
1134
964
  *
1135
- * @summary 根据设备id查询维保标准
1136
- * @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
965
+ * @summary 维保标准导入-确认导入
1137
966
  * @param {*} [options] Override http request option.
1138
967
  * @throws {RequiredError}
1139
- * @memberof InspectionApi
968
+ * @memberof MaintenanceStandardApi
1140
969
  */
1141
- listMaintenanceStandardByEquipmentId(requestParameters, options) {
1142
- return InspectionApiFp(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
970
+ maintenanceStandardBatchImportConfirm(options) {
971
+ return MaintenanceStandardApiFp(this.configuration).maintenanceStandardBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
1143
972
  }
1144
973
  /**
1145
974
  *
1146
- * @summary 根据设备系统id查询维保标准
1147
- * @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
975
+ * @summary 维保标准导入-预览结果
1148
976
  * @param {*} [options] Override http request option.
1149
977
  * @throws {RequiredError}
1150
- * @memberof InspectionApi
978
+ * @memberof MaintenanceStandardApi
1151
979
  */
1152
- listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
1153
- return InspectionApiFp(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
980
+ maintenanceStandardBatchImportPreview(options) {
981
+ return MaintenanceStandardApiFp(this.configuration).maintenanceStandardBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
1154
982
  }
1155
983
  /**
1156
984
  *
1157
- * @summary 同步其他园区巡检标准
1158
- * @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
985
+ * @summary 维保标准导入-下载模板
1159
986
  * @param {*} [options] Override http request option.
1160
987
  * @throws {RequiredError}
1161
- * @memberof InspectionApi
988
+ * @memberof MaintenanceStandardApi
1162
989
  */
1163
- syncInspectionStandard(requestParameters, options) {
1164
- return InspectionApiFp(this.configuration).syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(this.axios, this.basePath));
990
+ maintenanceStandardBatchImportTemplate(options) {
991
+ return MaintenanceStandardApiFp(this.configuration).maintenanceStandardBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
1165
992
  }
1166
993
  /**
1167
994
  *
1168
- * @summary 修改巡检标准
1169
- * @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
995
+ * @summary 维保标准导入-上传文件
996
+ * @param {MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest} requestParameters Request parameters.
1170
997
  * @param {*} [options] Override http request option.
1171
998
  * @throws {RequiredError}
1172
- * @memberof InspectionApi
999
+ * @memberof MaintenanceStandardApi
1173
1000
  */
1174
- updateInspectionStandard(requestParameters, options) {
1175
- return InspectionApiFp(this.configuration).updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
1001
+ maintenanceStandardBatchImportUpload(requestParameters, options) {
1002
+ return MaintenanceStandardApiFp(this.configuration).maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
1176
1003
  }
1177
1004
  /**
1178
1005
  *
1179
1006
  * @summary 编辑维保标准
1180
- * @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
1007
+ * @param {MaintenanceStandardApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
1181
1008
  * @param {*} [options] Override http request option.
1182
1009
  * @throws {RequiredError}
1183
- * @memberof InspectionApi
1010
+ * @memberof MaintenanceStandardApi
1184
1011
  */
1185
1012
  updateMaintenanceStandard(requestParameters, options) {
1186
- return InspectionApiFp(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
1013
+ return MaintenanceStandardApiFp(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
1187
1014
  }
1188
1015
  }