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

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 (271) hide show
  1. package/.openapi-generator/FILES +14 -26
  2. package/api.ts +1 -2
  3. package/apis/access-api.ts +31 -31
  4. package/apis/app-auth-api.ts +13 -13
  5. package/apis/auth-api.ts +13 -13
  6. package/apis/calendar-api.ts +209 -231
  7. package/apis/common-api.ts +0 -192
  8. package/apis/{maintenance-standard-api.ts → inspection-api.ts} +692 -289
  9. package/apis/message-api.ts +223 -201
  10. package/apis/setting-api.ts +243 -596
  11. package/apis/space-api.ts +329 -0
  12. package/apis/work-order-api.ts +214 -347
  13. package/dist/api.d.ts +1 -2
  14. package/dist/api.js +1 -2
  15. package/dist/apis/access-api.d.ts +21 -21
  16. package/dist/apis/access-api.js +22 -22
  17. package/dist/apis/app-auth-api.d.ts +6 -6
  18. package/dist/apis/app-auth-api.js +11 -11
  19. package/dist/apis/auth-api.d.ts +6 -6
  20. package/dist/apis/auth-api.js +11 -11
  21. package/dist/apis/calendar-api.d.ts +123 -131
  22. package/dist/apis/calendar-api.js +164 -177
  23. package/dist/apis/common-api.d.ts +0 -102
  24. package/dist/apis/common-api.js +0 -144
  25. package/dist/apis/inspection-api.d.ts +846 -0
  26. package/dist/apis/{maintenance-standard-api.js → inspection-api.js} +485 -226
  27. package/dist/apis/message-api.d.ts +125 -117
  28. package/dist/apis/message-api.js +171 -132
  29. package/dist/apis/setting-api.d.ts +144 -334
  30. package/dist/apis/setting-api.js +187 -433
  31. package/dist/apis/space-api.d.ts +159 -0
  32. package/dist/apis/space-api.js +272 -0
  33. package/dist/apis/work-order-api.d.ts +123 -197
  34. package/dist/apis/work-order-api.js +164 -245
  35. package/dist/esm/api.d.ts +1 -2
  36. package/dist/esm/api.js +1 -2
  37. package/dist/esm/apis/access-api.d.ts +21 -21
  38. package/dist/esm/apis/access-api.js +22 -22
  39. package/dist/esm/apis/app-auth-api.d.ts +6 -6
  40. package/dist/esm/apis/app-auth-api.js +11 -11
  41. package/dist/esm/apis/auth-api.d.ts +6 -6
  42. package/dist/esm/apis/auth-api.js +11 -11
  43. package/dist/esm/apis/calendar-api.d.ts +123 -131
  44. package/dist/esm/apis/calendar-api.js +164 -177
  45. package/dist/esm/apis/common-api.d.ts +0 -102
  46. package/dist/esm/apis/common-api.js +0 -144
  47. package/dist/esm/apis/inspection-api.d.ts +846 -0
  48. package/dist/esm/apis/{maintenance-standard-api.js → inspection-api.js} +480 -221
  49. package/dist/esm/apis/message-api.d.ts +125 -117
  50. package/dist/esm/apis/message-api.js +171 -132
  51. package/dist/esm/apis/setting-api.d.ts +144 -334
  52. package/dist/esm/apis/setting-api.js +187 -433
  53. package/dist/esm/apis/space-api.d.ts +159 -0
  54. package/dist/esm/apis/space-api.js +272 -0
  55. package/dist/esm/apis/work-order-api.d.ts +123 -197
  56. package/dist/esm/apis/work-order-api.js +164 -245
  57. package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
  58. package/dist/esm/models/file-dto.d.ts +3 -3
  59. package/dist/esm/models/get-user-wx200-response.d.ts +18 -18
  60. package/dist/esm/models/index.d.ts +13 -24
  61. package/dist/esm/models/index.js +13 -24
  62. package/dist/esm/models/inspection-item-bo.d.ts +10 -4
  63. package/dist/esm/models/inspection-point-item.d.ts +6 -18
  64. package/dist/esm/models/ipage-access-vo.d.ts +3 -3
  65. package/dist/esm/models/{json-result-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
  66. package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-page-dto-sys-user-msg-list-dto.d.ts} +11 -11
  67. package/dist/esm/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
  68. package/dist/{models/json-result-park-info-dto.d.ts → esm/models/json-result-sys-user-msg-do.d.ts} +11 -11
  69. package/dist/esm/models/maintenance-history-dto.d.ts +6 -0
  70. package/dist/esm/models/maintenance-history-dto.js +6 -0
  71. package/dist/esm/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
  72. package/dist/esm/models/period-detail-resp.d.ts +6 -0
  73. package/dist/esm/models/period-detail-resp.js +6 -0
  74. package/dist/esm/models/plan-add-vo.d.ts +1 -1
  75. package/dist/esm/models/plan-edit-vo.d.ts +1 -1
  76. package/dist/esm/models/plan-item-add-vo.d.ts +1 -1
  77. package/dist/esm/models/plan-item-edit-vo.d.ts +1 -1
  78. package/dist/esm/models/space-edit-before-and-after-dto.d.ts +31 -0
  79. package/dist/esm/models/space-edit-excel-dto.d.ts +78 -0
  80. package/dist/esm/models/sys-dept.d.ts +0 -6
  81. package/dist/esm/models/sys-user-msg-do.d.ts +90 -0
  82. package/dist/{models/sys-user-msg-dto.d.ts → esm/models/sys-user-msg-list-dto.d.ts} +28 -30
  83. package/dist/esm/models/sys-user-msg-search-list-vo.d.ts +54 -0
  84. package/dist/esm/models/sys-user.d.ts +4 -4
  85. package/dist/esm/models/work-order-add-vo.d.ts +4 -23
  86. package/dist/esm/models/{system-user-msg-type-enum.d.ts → work-order-check-before-acceptance-adopt-vo.d.ts} +15 -6
  87. package/dist/{models/work-order-dept-settings-add-or-update-vo.d.ts → esm/models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
  88. package/dist/esm/models/work-order-detail-dto.d.ts +6 -19
  89. package/dist/esm/models/work-order-detail-dto.js +6 -0
  90. package/dist/esm/models/work-order-inspection-detail-dto.d.ts +13 -1
  91. package/dist/esm/models/work-order-inspection-item-req.d.ts +3 -3
  92. package/dist/esm/models/work-order-search-dto.d.ts +6 -0
  93. package/dist/esm/models/work-order-search-dto.js +6 -0
  94. package/dist/esm/models/work-order-type-enum.d.ts +1 -1
  95. package/dist/esm/models/work-order-type-enum.js +1 -1
  96. package/dist/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
  97. package/dist/models/file-dto.d.ts +3 -3
  98. package/dist/models/get-user-wx200-response.d.ts +18 -18
  99. package/dist/models/index.d.ts +13 -24
  100. package/dist/models/index.js +13 -24
  101. package/dist/models/inspection-item-bo.d.ts +10 -4
  102. package/dist/models/inspection-point-item.d.ts +6 -18
  103. package/dist/models/ipage-access-vo.d.ts +3 -3
  104. package/dist/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
  105. package/dist/models/json-result-page-dto-sys-user-msg-list-dto.d.ts +56 -0
  106. package/dist/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
  107. package/dist/{esm/models/json-result-park-info-dto.d.ts → models/json-result-sys-user-msg-do.d.ts} +11 -11
  108. package/dist/models/maintenance-history-dto.d.ts +6 -0
  109. package/dist/models/maintenance-history-dto.js +6 -0
  110. package/dist/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
  111. package/dist/models/period-detail-resp.d.ts +6 -0
  112. package/dist/models/period-detail-resp.js +6 -0
  113. package/dist/models/plan-add-vo.d.ts +1 -1
  114. package/dist/models/plan-edit-vo.d.ts +1 -1
  115. package/dist/models/plan-item-add-vo.d.ts +1 -1
  116. package/dist/models/plan-item-edit-vo.d.ts +1 -1
  117. package/dist/models/space-edit-before-and-after-dto.d.ts +31 -0
  118. package/dist/models/space-edit-excel-dto.d.ts +78 -0
  119. package/dist/models/sys-dept.d.ts +0 -6
  120. package/dist/models/sys-user-msg-do.d.ts +90 -0
  121. package/dist/{esm/models/sys-user-msg-dto.d.ts → models/sys-user-msg-list-dto.d.ts} +28 -30
  122. package/dist/models/sys-user-msg-search-list-vo.d.ts +54 -0
  123. package/dist/models/sys-user.d.ts +4 -4
  124. package/dist/models/work-order-add-vo.d.ts +4 -23
  125. package/dist/{esm/models/system-user-msg-type-enum.js → models/work-order-check-before-acceptance-adopt-vo.d.ts} +15 -7
  126. package/dist/{esm/models/work-order-dept-settings-add-or-update-vo.d.ts → models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
  127. package/dist/models/work-order-detail-dto.d.ts +6 -19
  128. package/dist/models/work-order-detail-dto.js +6 -0
  129. package/dist/models/work-order-inspection-detail-dto.d.ts +13 -1
  130. package/dist/models/work-order-inspection-item-req.d.ts +3 -3
  131. package/dist/models/work-order-search-dto.d.ts +6 -0
  132. package/dist/models/work-order-search-dto.js +6 -0
  133. package/dist/models/work-order-type-enum.d.ts +1 -1
  134. package/dist/models/work-order-type-enum.js +1 -1
  135. package/models/{excel-import-result-dtocalendar-export-dto.ts → calendar-add-redis-list-vo.ts} +21 -9
  136. package/models/file-dto.ts +3 -3
  137. package/models/get-user-wx200-response.ts +18 -18
  138. package/models/index.ts +13 -24
  139. package/models/inspection-item-bo.ts +10 -4
  140. package/models/inspection-point-item.ts +6 -18
  141. package/models/ipage-access-vo.ts +3 -3
  142. package/models/{json-result-sys-user-msg-dto.ts → json-result-calendar-add-redis-list-vo.ts} +11 -11
  143. package/models/{json-result-page-dto-sys-user-msg-dto.ts → json-result-page-dto-sys-user-msg-list-dto.ts} +11 -11
  144. package/models/{json-result-work-order-dept-settings-entity.ts → json-result-space-edit-before-and-after-dto.ts} +11 -11
  145. package/models/{json-result-park-info-dto.ts → json-result-sys-user-msg-do.ts} +11 -11
  146. package/models/maintenance-history-dto.ts +6 -0
  147. package/models/{page-dto-sys-user-msg-dto.ts → page-dto-sys-user-msg-list-dto.ts} +7 -7
  148. package/models/period-detail-resp.ts +6 -0
  149. package/models/plan-add-vo.ts +1 -1
  150. package/models/plan-edit-vo.ts +1 -1
  151. package/models/plan-item-add-vo.ts +1 -1
  152. package/models/plan-item-edit-vo.ts +1 -1
  153. package/models/space-edit-before-and-after-dto.ts +39 -0
  154. package/models/space-edit-excel-dto.ts +84 -0
  155. package/models/sys-dept.ts +0 -6
  156. package/models/sys-user-msg-do.ts +96 -0
  157. package/models/{sys-user-msg-dto.ts → sys-user-msg-list-dto.ts} +28 -36
  158. package/models/sys-user-msg-search-list-vo.ts +60 -0
  159. package/models/sys-user.ts +4 -4
  160. package/models/work-order-add-vo.ts +4 -25
  161. package/models/{system-user-msg-type-enum.ts → work-order-check-before-acceptance-adopt-vo.ts} +15 -10
  162. package/models/{work-order-dept-settings-add-or-update-vo.ts → work-order-check-before-acceptance-no-vo.ts} +12 -12
  163. package/models/work-order-detail-dto.ts +6 -21
  164. package/models/work-order-inspection-detail-dto.ts +13 -1
  165. package/models/work-order-inspection-item-req.ts +3 -3
  166. package/models/work-order-search-dto.ts +6 -0
  167. package/models/work-order-type-enum.ts +1 -1
  168. package/package.json +1 -1
  169. package/apis/inspection-standard-api.ts +0 -1111
  170. package/dist/apis/inspection-standard-api.d.ts +0 -574
  171. package/dist/apis/inspection-standard-api.js +0 -872
  172. package/dist/apis/maintenance-standard-api.d.ts +0 -614
  173. package/dist/esm/apis/inspection-standard-api.d.ts +0 -574
  174. package/dist/esm/apis/inspection-standard-api.js +0 -865
  175. package/dist/esm/apis/maintenance-standard-api.d.ts +0 -614
  176. package/dist/esm/models/dept-relation-dto.d.ts +0 -120
  177. package/dist/esm/models/dept-relation.d.ts +0 -84
  178. package/dist/esm/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
  179. package/dist/esm/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
  180. package/dist/esm/models/inspection-standard-import-dto.d.ts +0 -108
  181. package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
  182. package/dist/esm/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
  183. package/dist/esm/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
  184. package/dist/esm/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
  185. package/dist/esm/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
  186. package/dist/esm/models/json-result-work-order-dept-settings-entity.js +0 -14
  187. package/dist/esm/models/maintenance-standard-import-dto.d.ts +0 -114
  188. package/dist/esm/models/maintenance-standard-import-dto.js +0 -14
  189. package/dist/esm/models/page-dto-sys-user-msg-dto.js +0 -14
  190. package/dist/esm/models/park-info-dto.d.ts +0 -85
  191. package/dist/esm/models/park-info-dto.js +0 -14
  192. package/dist/esm/models/park-info-edit-vo.d.ts +0 -49
  193. package/dist/esm/models/park-info-edit-vo.js +0 -14
  194. package/dist/esm/models/sys-user-msg-dto.js +0 -14
  195. package/dist/esm/models/system-user-msg-source-type-enum.d.ts +0 -23
  196. package/dist/esm/models/system-user-msg-source-type-enum.js +0 -24
  197. package/dist/esm/models/work-order-dept-settings-add-or-update-vo.js +0 -14
  198. package/dist/esm/models/work-order-dept-settings-entity.d.ts +0 -67
  199. package/dist/esm/models/work-order-dept-settings-entity.js +0 -14
  200. package/dist/esm/models/work-order-issue-type-enum.d.ts +0 -26
  201. package/dist/esm/models/work-order-issue-type-enum.js +0 -27
  202. package/dist/models/dept-relation-dto.d.ts +0 -120
  203. package/dist/models/dept-relation.d.ts +0 -84
  204. package/dist/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
  205. package/dist/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
  206. package/dist/models/inspection-standard-import-dto.d.ts +0 -108
  207. package/dist/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
  208. package/dist/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
  209. package/dist/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
  210. package/dist/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
  211. package/dist/models/json-result-sys-user-msg-dto.d.ts +0 -56
  212. package/dist/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
  213. package/dist/models/json-result-work-order-dept-settings-entity.js +0 -15
  214. package/dist/models/maintenance-standard-import-dto.d.ts +0 -114
  215. package/dist/models/maintenance-standard-import-dto.js +0 -15
  216. package/dist/models/page-dto-sys-user-msg-dto.js +0 -15
  217. package/dist/models/park-info-dto.d.ts +0 -85
  218. package/dist/models/park-info-dto.js +0 -15
  219. package/dist/models/park-info-edit-vo.d.ts +0 -49
  220. package/dist/models/park-info-edit-vo.js +0 -15
  221. package/dist/models/sys-user-msg-dto.js +0 -15
  222. package/dist/models/system-user-msg-source-type-enum.d.ts +0 -23
  223. package/dist/models/system-user-msg-source-type-enum.js +0 -27
  224. package/dist/models/system-user-msg-type-enum.d.ts +0 -21
  225. package/dist/models/system-user-msg-type-enum.js +0 -25
  226. package/dist/models/work-order-dept-settings-add-or-update-vo.js +0 -15
  227. package/dist/models/work-order-dept-settings-entity.d.ts +0 -67
  228. package/dist/models/work-order-dept-settings-entity.js +0 -15
  229. package/dist/models/work-order-issue-type-enum.d.ts +0 -26
  230. package/dist/models/work-order-issue-type-enum.js +0 -30
  231. package/models/dept-relation-dto.ts +0 -126
  232. package/models/dept-relation.ts +0 -90
  233. package/models/excel-import-result-dtoinspection-standard-import-dto.ts +0 -39
  234. package/models/excel-import-result-dtomaintenance-standard-import-dto.ts +0 -39
  235. package/models/inspection-standard-import-dto.ts +0 -114
  236. package/models/json-result-excel-import-result-dtocalendar-export-dto.ts +0 -66
  237. package/models/json-result-excel-import-result-dtoinspection-standard-import-dto.ts +0 -66
  238. package/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.ts +0 -66
  239. package/models/json-result-list-work-order-dept-settings-entity.ts +0 -66
  240. package/models/maintenance-standard-import-dto.ts +0 -120
  241. package/models/park-info-dto.ts +0 -93
  242. package/models/park-info-edit-vo.ts +0 -57
  243. package/models/system-user-msg-source-type-enum.ts +0 -33
  244. package/models/work-order-dept-settings-entity.ts +0 -77
  245. package/models/work-order-issue-type-enum.ts +0 -36
  246. /package/dist/esm/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
  247. /package/dist/esm/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
  248. /package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
  249. /package/dist/esm/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
  250. /package/dist/esm/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
  251. /package/dist/esm/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
  252. /package/dist/esm/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
  253. /package/dist/esm/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
  254. /package/dist/esm/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
  255. /package/dist/esm/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
  256. /package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
  257. /package/dist/esm/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
  258. /package/dist/esm/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
  259. /package/dist/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
  260. /package/dist/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
  261. /package/dist/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
  262. /package/dist/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
  263. /package/dist/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
  264. /package/dist/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
  265. /package/dist/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
  266. /package/dist/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
  267. /package/dist/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
  268. /package/dist/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
  269. /package/dist/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
  270. /package/dist/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
  271. /package/dist/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
@@ -34,24 +34,32 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
34
34
  return {
35
35
  /**
36
36
  *
37
- * @summary 导入-确认
37
+ * @summary 导出
38
+ * @param {number} year
39
+ * @param {string} [language]
38
40
  * @param {*} [options] Override http request option.
39
41
  * @throws {RequiredError}
40
42
  */
41
- calendarBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
42
- const localVarPath = `/calendar/batchImport/confirm`;
43
+ exportList2: (year_1, language_1, ...args_1) => __awaiter(this, [year_1, language_1, ...args_1], void 0, function* (year, language, options = {}) {
44
+ // verify required parameter 'year' is not null or undefined
45
+ assertParamExists('exportList2', 'year', year);
46
+ const localVarPath = `/calendar/exportList/{year}`
47
+ .replace(`{${"year"}}`, encodeURIComponent(String(year)));
43
48
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
44
49
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45
50
  let baseOptions;
46
51
  if (configuration) {
47
52
  baseOptions = configuration.baseOptions;
48
53
  }
49
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
54
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
50
55
  const localVarHeaderParameter = {};
51
56
  const localVarQueryParameter = {};
52
57
  // authentication tokenScheme required
53
58
  // http bearer authentication required
54
59
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
60
+ if (language !== undefined) {
61
+ localVarQueryParameter['language'] = language;
62
+ }
55
63
  setSearchParams(localVarUrlObj, localVarQueryParameter);
56
64
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
65
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -62,12 +70,12 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
62
70
  }),
63
71
  /**
64
72
  *
65
- * @summary 导入-预览
73
+ * @summary 导入-入库
66
74
  * @param {*} [options] Override http request option.
67
75
  * @throws {RequiredError}
68
76
  */
69
- calendarBatchImportPreView: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
70
- const localVarPath = `/calendar/batchImport/preView`;
77
+ exportMysql1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
78
+ const localVarPath = `/calendar/exportMysql`;
71
79
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72
80
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
73
81
  let baseOptions;
@@ -90,13 +98,12 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
90
98
  }),
91
99
  /**
92
100
  *
93
- * @summary 导入-下载模板
94
- * @param {string} [language]
101
+ * @summary 导入结果确认
95
102
  * @param {*} [options] Override http request option.
96
103
  * @throws {RequiredError}
97
104
  */
98
- calendarBatchImportTemplate: (language_1, ...args_1) => __awaiter(this, [language_1, ...args_1], void 0, function* (language, options = {}) {
99
- const localVarPath = `/calendar/batchImport/template`;
105
+ exportRedisList1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
106
+ const localVarPath = `/calendar/exportRedisList`;
100
107
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
101
108
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
102
109
  let baseOptions;
@@ -109,9 +116,6 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
109
116
  // authentication tokenScheme required
110
117
  // http bearer authentication required
111
118
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
112
- if (language !== undefined) {
113
- localVarQueryParameter['language'] = language;
114
- }
115
119
  setSearchParams(localVarUrlObj, localVarQueryParameter);
116
120
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
117
121
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -122,46 +126,35 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
122
126
  }),
123
127
  /**
124
128
  *
125
- * @summary 导入-上传文件
126
- * @param {number} parkId 园区id
127
- * @param {File} file
128
- * @param {string} [language] 语言
129
+ * @summary 获取日历设置
130
+ * @param {string} date
129
131
  * @param {*} [options] Override http request option.
130
132
  * @throws {RequiredError}
131
133
  */
132
- calendarBatchImportUpload: (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 = {}) {
133
- // verify required parameter 'parkId' is not null or undefined
134
- assertParamExists('calendarBatchImportUpload', 'parkId', parkId);
135
- // verify required parameter 'file' is not null or undefined
136
- assertParamExists('calendarBatchImportUpload', 'file', file);
137
- const localVarPath = `/calendar/batchImport/upload`;
134
+ getByDate: (date_1, ...args_1) => __awaiter(this, [date_1, ...args_1], void 0, function* (date, options = {}) {
135
+ // verify required parameter 'date' is not null or undefined
136
+ assertParamExists('getByDate', 'date', date);
137
+ const localVarPath = `/calendar/getByDate`;
138
138
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
139
139
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
140
140
  let baseOptions;
141
141
  if (configuration) {
142
142
  baseOptions = configuration.baseOptions;
143
143
  }
144
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
144
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
145
145
  const localVarHeaderParameter = {};
146
146
  const localVarQueryParameter = {};
147
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
148
147
  // authentication tokenScheme required
149
148
  // http bearer authentication required
150
149
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
151
- if (parkId !== undefined) {
152
- localVarFormParams.append('parkId', parkId);
153
- }
154
- if (language !== undefined) {
155
- localVarFormParams.append('language', language);
156
- }
157
- if (file !== undefined) {
158
- localVarFormParams.append('file', file);
150
+ if (date !== undefined) {
151
+ localVarQueryParameter['date'] = (date instanceof Date) ?
152
+ date.toISOString() :
153
+ date;
159
154
  }
160
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
161
155
  setSearchParams(localVarUrlObj, localVarQueryParameter);
162
156
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
157
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
- localVarRequestOptions.data = localVarFormParams;
165
158
  return {
166
159
  url: toPathString(localVarUrlObj),
167
160
  options: localVarRequestOptions,
@@ -169,24 +162,21 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
169
162
  }),
170
163
  /**
171
164
  *
172
- * @summary 导出
173
- * @param {number} year
165
+ * @summary 导入redis
174
166
  * @param {string} [language]
167
+ * @param {SaveWaterMeterBatchRequest} [saveWaterMeterBatchRequest]
175
168
  * @param {*} [options] Override http request option.
176
169
  * @throws {RequiredError}
177
170
  */
178
- calendarExport: (year_1, language_1, ...args_1) => __awaiter(this, [year_1, language_1, ...args_1], void 0, function* (year, language, options = {}) {
179
- // verify required parameter 'year' is not null or undefined
180
- assertParamExists('calendarExport', 'year', year);
181
- const localVarPath = `/calendar/export/{year}`
182
- .replace(`{${"year"}}`, encodeURIComponent(String(year)));
171
+ saveBatchExport1: (language_1, saveWaterMeterBatchRequest_1, ...args_1) => __awaiter(this, [language_1, saveWaterMeterBatchRequest_1, ...args_1], void 0, function* (language, saveWaterMeterBatchRequest, options = {}) {
172
+ const localVarPath = `/calendar/saveBatchExport`;
183
173
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
174
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
185
175
  let baseOptions;
186
176
  if (configuration) {
187
177
  baseOptions = configuration.baseOptions;
188
178
  }
189
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
179
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
190
180
  const localVarHeaderParameter = {};
191
181
  const localVarQueryParameter = {};
192
182
  // authentication tokenScheme required
@@ -195,9 +185,11 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
195
185
  if (language !== undefined) {
196
186
  localVarQueryParameter['language'] = language;
197
187
  }
188
+ localVarHeaderParameter['Content-Type'] = 'application/json';
198
189
  setSearchParams(localVarUrlObj, localVarQueryParameter);
199
190
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
191
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
192
+ localVarRequestOptions.data = serializeDataIfNeeded(saveWaterMeterBatchRequest, localVarRequestOptions, configuration);
201
193
  return {
202
194
  url: toPathString(localVarUrlObj),
203
195
  options: localVarRequestOptions,
@@ -205,15 +197,14 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
205
197
  }),
206
198
  /**
207
199
  *
208
- * @summary 获取日历设置
209
- * @param {string} date
200
+ * @summary 根据时间区间查询
201
+ * @param {string} [start] 开始时间
202
+ * @param {string} [end] 结束时间
210
203
  * @param {*} [options] Override http request option.
211
204
  * @throws {RequiredError}
212
205
  */
213
- getByDate: (date_1, ...args_1) => __awaiter(this, [date_1, ...args_1], void 0, function* (date, options = {}) {
214
- // verify required parameter 'date' is not null or undefined
215
- assertParamExists('getByDate', 'date', date);
216
- const localVarPath = `/calendar/getByDate`;
206
+ sectionQuery: (start_1, end_1, ...args_1) => __awaiter(this, [start_1, end_1, ...args_1], void 0, function* (start, end, options = {}) {
207
+ const localVarPath = `/calendar/sectionQuery`;
217
208
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
218
209
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
219
210
  let baseOptions;
@@ -226,10 +217,15 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
226
217
  // authentication tokenScheme required
227
218
  // http bearer authentication required
228
219
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
229
- if (date !== undefined) {
230
- localVarQueryParameter['date'] = (date instanceof Date) ?
231
- date.toISOString() :
232
- date;
220
+ if (start !== undefined) {
221
+ localVarQueryParameter['start'] = (start instanceof Date) ?
222
+ start.toISOString() :
223
+ start;
224
+ }
225
+ if (end !== undefined) {
226
+ localVarQueryParameter['end'] = (end instanceof Date) ?
227
+ end.toISOString() :
228
+ end;
233
229
  }
234
230
  setSearchParams(localVarUrlObj, localVarQueryParameter);
235
231
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -241,39 +237,32 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
241
237
  }),
242
238
  /**
243
239
  *
244
- * @summary 根据时间区间查询
245
- * @param {string} [start] 开始时间
246
- * @param {string} [end] 结束时间
240
+ * @summary 修改日期
241
+ * @param {CalendarSaveUpdateDto} calendarSaveUpdateDto
247
242
  * @param {*} [options] Override http request option.
248
243
  * @throws {RequiredError}
249
244
  */
250
- sectionQuery: (start_1, end_1, ...args_1) => __awaiter(this, [start_1, end_1, ...args_1], void 0, function* (start, end, options = {}) {
251
- const localVarPath = `/calendar/sectionQuery`;
245
+ updateOrAdd: (calendarSaveUpdateDto_1, ...args_1) => __awaiter(this, [calendarSaveUpdateDto_1, ...args_1], void 0, function* (calendarSaveUpdateDto, options = {}) {
246
+ // verify required parameter 'calendarSaveUpdateDto' is not null or undefined
247
+ assertParamExists('updateOrAdd', 'calendarSaveUpdateDto', calendarSaveUpdateDto);
248
+ const localVarPath = `/calendar/updateOrAdd`;
252
249
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
253
250
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
254
251
  let baseOptions;
255
252
  if (configuration) {
256
253
  baseOptions = configuration.baseOptions;
257
254
  }
258
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
255
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
259
256
  const localVarHeaderParameter = {};
260
257
  const localVarQueryParameter = {};
261
258
  // authentication tokenScheme required
262
259
  // http bearer authentication required
263
260
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
264
- if (start !== undefined) {
265
- localVarQueryParameter['start'] = (start instanceof Date) ?
266
- start.toISOString() :
267
- start;
268
- }
269
- if (end !== undefined) {
270
- localVarQueryParameter['end'] = (end instanceof Date) ?
271
- end.toISOString() :
272
- end;
273
- }
261
+ localVarHeaderParameter['Content-Type'] = 'application/json';
274
262
  setSearchParams(localVarUrlObj, localVarQueryParameter);
275
263
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
276
264
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
265
+ localVarRequestOptions.data = serializeDataIfNeeded(calendarSaveUpdateDto, localVarRequestOptions, configuration);
277
266
  return {
278
267
  url: toPathString(localVarUrlObj),
279
268
  options: localVarRequestOptions,
@@ -281,32 +270,31 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
281
270
  }),
282
271
  /**
283
272
  *
284
- * @summary 修改日期
285
- * @param {CalendarSaveUpdateDto} calendarSaveUpdateDto
273
+ * @summary 导入模板
274
+ * @param {string} [language]
286
275
  * @param {*} [options] Override http request option.
287
276
  * @throws {RequiredError}
288
277
  */
289
- updateOrAdd: (calendarSaveUpdateDto_1, ...args_1) => __awaiter(this, [calendarSaveUpdateDto_1, ...args_1], void 0, function* (calendarSaveUpdateDto, options = {}) {
290
- // verify required parameter 'calendarSaveUpdateDto' is not null or undefined
291
- assertParamExists('updateOrAdd', 'calendarSaveUpdateDto', calendarSaveUpdateDto);
292
- const localVarPath = `/calendar/updateOrAdd`;
278
+ uploadAdd4: (language_1, ...args_1) => __awaiter(this, [language_1, ...args_1], void 0, function* (language, options = {}) {
279
+ const localVarPath = `/calendar/uploadAdd`;
293
280
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
294
281
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
295
282
  let baseOptions;
296
283
  if (configuration) {
297
284
  baseOptions = configuration.baseOptions;
298
285
  }
299
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
286
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
300
287
  const localVarHeaderParameter = {};
301
288
  const localVarQueryParameter = {};
302
289
  // authentication tokenScheme required
303
290
  // http bearer authentication required
304
291
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
305
- localVarHeaderParameter['Content-Type'] = 'application/json';
292
+ if (language !== undefined) {
293
+ localVarQueryParameter['language'] = language;
294
+ }
306
295
  setSearchParams(localVarUrlObj, localVarQueryParameter);
307
296
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
308
297
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
309
- localVarRequestOptions.data = serializeDataIfNeeded(calendarSaveUpdateDto, localVarRequestOptions, configuration);
310
298
  return {
311
299
  url: toPathString(localVarUrlObj),
312
300
  options: localVarRequestOptions,
@@ -323,98 +311,81 @@ export const CalendarApiFp = function (configuration) {
323
311
  return {
324
312
  /**
325
313
  *
326
- * @summary 导入-确认
314
+ * @summary 导出
315
+ * @param {number} year
316
+ * @param {string} [language]
327
317
  * @param {*} [options] Override http request option.
328
318
  * @throws {RequiredError}
329
319
  */
330
- calendarBatchImportConfirm(options) {
320
+ exportList2(year, language, options) {
331
321
  return __awaiter(this, void 0, void 0, function* () {
332
322
  var _a, _b, _c;
333
- const localVarAxiosArgs = yield localVarAxiosParamCreator.calendarBatchImportConfirm(options);
323
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportList2(year, language, options);
334
324
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
335
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.calendarBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
325
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.exportList2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
336
326
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
337
327
  });
338
328
  },
339
329
  /**
340
330
  *
341
- * @summary 导入-预览
331
+ * @summary 导入-入库
342
332
  * @param {*} [options] Override http request option.
343
333
  * @throws {RequiredError}
344
334
  */
345
- calendarBatchImportPreView(options) {
335
+ exportMysql1(options) {
346
336
  return __awaiter(this, void 0, void 0, function* () {
347
337
  var _a, _b, _c;
348
- const localVarAxiosArgs = yield localVarAxiosParamCreator.calendarBatchImportPreView(options);
338
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportMysql1(options);
349
339
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
350
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.calendarBatchImportPreView']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
340
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.exportMysql1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
351
341
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
352
342
  });
353
343
  },
354
344
  /**
355
345
  *
356
- * @summary 导入-下载模板
357
- * @param {string} [language]
346
+ * @summary 导入结果确认
358
347
  * @param {*} [options] Override http request option.
359
348
  * @throws {RequiredError}
360
349
  */
361
- calendarBatchImportTemplate(language, options) {
350
+ exportRedisList1(options) {
362
351
  return __awaiter(this, void 0, void 0, function* () {
363
352
  var _a, _b, _c;
364
- const localVarAxiosArgs = yield localVarAxiosParamCreator.calendarBatchImportTemplate(language, options);
353
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportRedisList1(options);
365
354
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
366
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.calendarBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
355
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.exportRedisList1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
367
356
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
368
357
  });
369
358
  },
370
359
  /**
371
360
  *
372
- * @summary 导入-上传文件
373
- * @param {number} parkId 园区id
374
- * @param {File} file
375
- * @param {string} [language] 语言
361
+ * @summary 获取日历设置
362
+ * @param {string} date
376
363
  * @param {*} [options] Override http request option.
377
364
  * @throws {RequiredError}
378
365
  */
379
- calendarBatchImportUpload(parkId, file, language, options) {
366
+ getByDate(date, options) {
380
367
  return __awaiter(this, void 0, void 0, function* () {
381
368
  var _a, _b, _c;
382
- const localVarAxiosArgs = yield localVarAxiosParamCreator.calendarBatchImportUpload(parkId, file, language, options);
369
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getByDate(date, options);
383
370
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
384
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.calendarBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
371
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.getByDate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
385
372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
386
373
  });
387
374
  },
388
375
  /**
389
376
  *
390
- * @summary 导出
391
- * @param {number} year
377
+ * @summary 导入redis
392
378
  * @param {string} [language]
379
+ * @param {SaveWaterMeterBatchRequest} [saveWaterMeterBatchRequest]
393
380
  * @param {*} [options] Override http request option.
394
381
  * @throws {RequiredError}
395
382
  */
396
- calendarExport(year, language, options) {
397
- return __awaiter(this, void 0, void 0, function* () {
398
- var _a, _b, _c;
399
- const localVarAxiosArgs = yield localVarAxiosParamCreator.calendarExport(year, language, options);
400
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
401
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.calendarExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
402
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
403
- });
404
- },
405
- /**
406
- *
407
- * @summary 获取日历设置
408
- * @param {string} date
409
- * @param {*} [options] Override http request option.
410
- * @throws {RequiredError}
411
- */
412
- getByDate(date, options) {
383
+ saveBatchExport1(language, saveWaterMeterBatchRequest, options) {
413
384
  return __awaiter(this, void 0, void 0, function* () {
414
385
  var _a, _b, _c;
415
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getByDate(date, options);
386
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.saveBatchExport1(language, saveWaterMeterBatchRequest, options);
416
387
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
417
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.getByDate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
388
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.saveBatchExport1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
418
389
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
419
390
  });
420
391
  },
@@ -451,6 +422,22 @@ export const CalendarApiFp = function (configuration) {
451
422
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
452
423
  });
453
424
  },
425
+ /**
426
+ *
427
+ * @summary 导入模板
428
+ * @param {string} [language]
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ uploadAdd4(language, options) {
433
+ return __awaiter(this, void 0, void 0, function* () {
434
+ var _a, _b, _c;
435
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadAdd4(language, options);
436
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
437
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.uploadAdd4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
438
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
439
+ });
440
+ },
454
441
  };
455
442
  };
456
443
  /**
@@ -462,61 +449,51 @@ export const CalendarApiFactory = function (configuration, basePath, axios) {
462
449
  return {
463
450
  /**
464
451
  *
465
- * @summary 导入-确认
452
+ * @summary 导出
453
+ * @param {CalendarApiExportList2Request} requestParameters Request parameters.
466
454
  * @param {*} [options] Override http request option.
467
455
  * @throws {RequiredError}
468
456
  */
469
- calendarBatchImportConfirm(options) {
470
- return localVarFp.calendarBatchImportConfirm(options).then((request) => request(axios, basePath));
457
+ exportList2(requestParameters, options) {
458
+ return localVarFp.exportList2(requestParameters.year, requestParameters.language, options).then((request) => request(axios, basePath));
471
459
  },
472
460
  /**
473
461
  *
474
- * @summary 导入-预览
462
+ * @summary 导入-入库
475
463
  * @param {*} [options] Override http request option.
476
464
  * @throws {RequiredError}
477
465
  */
478
- calendarBatchImportPreView(options) {
479
- return localVarFp.calendarBatchImportPreView(options).then((request) => request(axios, basePath));
466
+ exportMysql1(options) {
467
+ return localVarFp.exportMysql1(options).then((request) => request(axios, basePath));
480
468
  },
481
469
  /**
482
470
  *
483
- * @summary 导入-下载模板
484
- * @param {CalendarApiCalendarBatchImportTemplateRequest} requestParameters Request parameters.
471
+ * @summary 导入结果确认
485
472
  * @param {*} [options] Override http request option.
486
473
  * @throws {RequiredError}
487
474
  */
488
- calendarBatchImportTemplate(requestParameters = {}, options) {
489
- return localVarFp.calendarBatchImportTemplate(requestParameters.language, options).then((request) => request(axios, basePath));
475
+ exportRedisList1(options) {
476
+ return localVarFp.exportRedisList1(options).then((request) => request(axios, basePath));
490
477
  },
491
478
  /**
492
479
  *
493
- * @summary 导入-上传文件
494
- * @param {CalendarApiCalendarBatchImportUploadRequest} requestParameters Request parameters.
480
+ * @summary 获取日历设置
481
+ * @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
495
482
  * @param {*} [options] Override http request option.
496
483
  * @throws {RequiredError}
497
484
  */
498
- calendarBatchImportUpload(requestParameters, options) {
499
- return localVarFp.calendarBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
485
+ getByDate(requestParameters, options) {
486
+ return localVarFp.getByDate(requestParameters.date, options).then((request) => request(axios, basePath));
500
487
  },
501
488
  /**
502
489
  *
503
- * @summary 导出
504
- * @param {CalendarApiCalendarExportRequest} requestParameters Request parameters.
490
+ * @summary 导入redis
491
+ * @param {CalendarApiSaveBatchExport1Request} requestParameters Request parameters.
505
492
  * @param {*} [options] Override http request option.
506
493
  * @throws {RequiredError}
507
494
  */
508
- calendarExport(requestParameters, options) {
509
- return localVarFp.calendarExport(requestParameters.year, requestParameters.language, options).then((request) => request(axios, basePath));
510
- },
511
- /**
512
- *
513
- * @summary 获取日历设置
514
- * @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
515
- * @param {*} [options] Override http request option.
516
- * @throws {RequiredError}
517
- */
518
- getByDate(requestParameters, options) {
519
- return localVarFp.getByDate(requestParameters.date, options).then((request) => request(axios, basePath));
495
+ saveBatchExport1(requestParameters = {}, options) {
496
+ return localVarFp.saveBatchExport1(requestParameters.language, requestParameters.saveWaterMeterBatchRequest, options).then((request) => request(axios, basePath));
520
497
  },
521
498
  /**
522
499
  *
@@ -538,6 +515,16 @@ export const CalendarApiFactory = function (configuration, basePath, axios) {
538
515
  updateOrAdd(requestParameters, options) {
539
516
  return localVarFp.updateOrAdd(requestParameters.calendarSaveUpdateDto, options).then((request) => request(axios, basePath));
540
517
  },
518
+ /**
519
+ *
520
+ * @summary 导入模板
521
+ * @param {CalendarApiUploadAdd4Request} requestParameters Request parameters.
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ uploadAdd4(requestParameters = {}, options) {
526
+ return localVarFp.uploadAdd4(requestParameters.language, options).then((request) => request(axios, basePath));
527
+ },
541
528
  };
542
529
  };
543
530
  /**
@@ -549,67 +536,56 @@ export const CalendarApiFactory = function (configuration, basePath, axios) {
549
536
  export class CalendarApi extends BaseAPI {
550
537
  /**
551
538
  *
552
- * @summary 导入-确认
553
- * @param {*} [options] Override http request option.
554
- * @throws {RequiredError}
555
- * @memberof CalendarApi
556
- */
557
- calendarBatchImportConfirm(options) {
558
- return CalendarApiFp(this.configuration).calendarBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
559
- }
560
- /**
561
- *
562
- * @summary 导入-预览
539
+ * @summary 导出
540
+ * @param {CalendarApiExportList2Request} requestParameters Request parameters.
563
541
  * @param {*} [options] Override http request option.
564
542
  * @throws {RequiredError}
565
543
  * @memberof CalendarApi
566
544
  */
567
- calendarBatchImportPreView(options) {
568
- return CalendarApiFp(this.configuration).calendarBatchImportPreView(options).then((request) => request(this.axios, this.basePath));
545
+ exportList2(requestParameters, options) {
546
+ return CalendarApiFp(this.configuration).exportList2(requestParameters.year, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
569
547
  }
570
548
  /**
571
549
  *
572
- * @summary 导入-下载模板
573
- * @param {CalendarApiCalendarBatchImportTemplateRequest} requestParameters Request parameters.
550
+ * @summary 导入-入库
574
551
  * @param {*} [options] Override http request option.
575
552
  * @throws {RequiredError}
576
553
  * @memberof CalendarApi
577
554
  */
578
- calendarBatchImportTemplate(requestParameters = {}, options) {
579
- return CalendarApiFp(this.configuration).calendarBatchImportTemplate(requestParameters.language, options).then((request) => request(this.axios, this.basePath));
555
+ exportMysql1(options) {
556
+ return CalendarApiFp(this.configuration).exportMysql1(options).then((request) => request(this.axios, this.basePath));
580
557
  }
581
558
  /**
582
559
  *
583
- * @summary 导入-上传文件
584
- * @param {CalendarApiCalendarBatchImportUploadRequest} requestParameters Request parameters.
560
+ * @summary 导入结果确认
585
561
  * @param {*} [options] Override http request option.
586
562
  * @throws {RequiredError}
587
563
  * @memberof CalendarApi
588
564
  */
589
- calendarBatchImportUpload(requestParameters, options) {
590
- return CalendarApiFp(this.configuration).calendarBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
565
+ exportRedisList1(options) {
566
+ return CalendarApiFp(this.configuration).exportRedisList1(options).then((request) => request(this.axios, this.basePath));
591
567
  }
592
568
  /**
593
569
  *
594
- * @summary 导出
595
- * @param {CalendarApiCalendarExportRequest} requestParameters Request parameters.
570
+ * @summary 获取日历设置
571
+ * @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
596
572
  * @param {*} [options] Override http request option.
597
573
  * @throws {RequiredError}
598
574
  * @memberof CalendarApi
599
575
  */
600
- calendarExport(requestParameters, options) {
601
- return CalendarApiFp(this.configuration).calendarExport(requestParameters.year, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
576
+ getByDate(requestParameters, options) {
577
+ return CalendarApiFp(this.configuration).getByDate(requestParameters.date, options).then((request) => request(this.axios, this.basePath));
602
578
  }
603
579
  /**
604
580
  *
605
- * @summary 获取日历设置
606
- * @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
581
+ * @summary 导入redis
582
+ * @param {CalendarApiSaveBatchExport1Request} requestParameters Request parameters.
607
583
  * @param {*} [options] Override http request option.
608
584
  * @throws {RequiredError}
609
585
  * @memberof CalendarApi
610
586
  */
611
- getByDate(requestParameters, options) {
612
- return CalendarApiFp(this.configuration).getByDate(requestParameters.date, options).then((request) => request(this.axios, this.basePath));
587
+ saveBatchExport1(requestParameters = {}, options) {
588
+ return CalendarApiFp(this.configuration).saveBatchExport1(requestParameters.language, requestParameters.saveWaterMeterBatchRequest, options).then((request) => request(this.axios, this.basePath));
613
589
  }
614
590
  /**
615
591
  *
@@ -633,4 +609,15 @@ export class CalendarApi extends BaseAPI {
633
609
  updateOrAdd(requestParameters, options) {
634
610
  return CalendarApiFp(this.configuration).updateOrAdd(requestParameters.calendarSaveUpdateDto, options).then((request) => request(this.axios, this.basePath));
635
611
  }
612
+ /**
613
+ *
614
+ * @summary 导入模板
615
+ * @param {CalendarApiUploadAdd4Request} requestParameters Request parameters.
616
+ * @param {*} [options] Override http request option.
617
+ * @throws {RequiredError}
618
+ * @memberof CalendarApi
619
+ */
620
+ uploadAdd4(requestParameters = {}, options) {
621
+ return CalendarApiFp(this.configuration).uploadAdd4(requestParameters.language, options).then((request) => request(this.axios, this.basePath));
622
+ }
636
623
  }