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