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

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