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

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