@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
package/apis/space-api.ts CHANGED
@@ -36,6 +36,8 @@ import type { JsonResultListSpaceUrlDTO } from '../models';
36
36
  // @ts-ignore
37
37
  import type { JsonResultSpaceAddRedisListDTO } from '../models';
38
38
  // @ts-ignore
39
+ import type { JsonResultSpaceEditBeforeAndAfterDTO } from '../models';
40
+ // @ts-ignore
39
41
  import type { JsonResultSpaceImageDetailDTO } from '../models';
40
42
  // @ts-ignore
41
43
  import type { SpaceAddPlanVo } from '../models';
@@ -383,6 +385,47 @@ export const SpaceApiAxiosParamCreator = function (configuration?: Configuration
383
385
  options: localVarRequestOptions,
384
386
  };
385
387
  },
388
+ /**
389
+ *
390
+ * @summary 查询修改前后数据
391
+ * @param {number} parkId
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ */
395
+ spaceEditBeforeAndAfter: async (parkId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
396
+ // verify required parameter 'parkId' is not null or undefined
397
+ assertParamExists('spaceEditBeforeAndAfter', 'parkId', parkId)
398
+ const localVarPath = `/gizone/space/get-edit-before-and-after`;
399
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
400
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
401
+ let baseOptions;
402
+ if (configuration) {
403
+ baseOptions = configuration.baseOptions;
404
+ }
405
+
406
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
407
+ const localVarHeaderParameter = {} as any;
408
+ const localVarQueryParameter = {} as any;
409
+
410
+ // authentication tokenScheme required
411
+ // http bearer authentication required
412
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
413
+
414
+ if (parkId !== undefined) {
415
+ localVarQueryParameter['parkId'] = parkId;
416
+ }
417
+
418
+
419
+
420
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
422
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
423
+
424
+ return {
425
+ url: toPathString(localVarUrlObj),
426
+ options: localVarRequestOptions,
427
+ };
428
+ },
386
429
  /**
387
430
  *
388
431
  * @summary /导出修改Excel模板
@@ -434,6 +477,122 @@ export const SpaceApiAxiosParamCreator = function (configuration?: Configuration
434
477
  options: localVarRequestOptions,
435
478
  };
436
479
  },
480
+ /**
481
+ *
482
+ * @summary /修改excel入数据库
483
+ * @param {*} [options] Override http request option.
484
+ * @throws {RequiredError}
485
+ */
486
+ spaceEditImportConfirm: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
487
+ const localVarPath = `/gizone/space/editImport`;
488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
490
+ let baseOptions;
491
+ if (configuration) {
492
+ baseOptions = configuration.baseOptions;
493
+ }
494
+
495
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
496
+ const localVarHeaderParameter = {} as any;
497
+ const localVarQueryParameter = {} as any;
498
+
499
+ // authentication tokenScheme required
500
+ // http bearer authentication required
501
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
502
+
503
+
504
+
505
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
507
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
508
+
509
+ return {
510
+ url: toPathString(localVarUrlObj),
511
+ options: localVarRequestOptions,
512
+ };
513
+ },
514
+ /**
515
+ *
516
+ * @summary 修改---结果确认
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ */
520
+ spaceEditImportPreview: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
521
+ const localVarPath = `/gizone/space/editRedisList`;
522
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
523
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
524
+ let baseOptions;
525
+ if (configuration) {
526
+ baseOptions = configuration.baseOptions;
527
+ }
528
+
529
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
530
+ const localVarHeaderParameter = {} as any;
531
+ const localVarQueryParameter = {} as any;
532
+
533
+ // authentication tokenScheme required
534
+ // http bearer authentication required
535
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
536
+
537
+
538
+
539
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
541
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
542
+
543
+ return {
544
+ url: toPathString(localVarUrlObj),
545
+ options: localVarRequestOptions,
546
+ };
547
+ },
548
+ /**
549
+ *
550
+ * @summary 修改---上传文件
551
+ * @param {string} [language]
552
+ * @param {File} [file]
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ */
556
+ spaceEditImportUpload: async (language?: string, file?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
557
+ const localVarPath = `/gizone/space/editSpaceFileToRedis`;
558
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
559
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
560
+ let baseOptions;
561
+ if (configuration) {
562
+ baseOptions = configuration.baseOptions;
563
+ }
564
+
565
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
566
+ const localVarHeaderParameter = {} as any;
567
+ const localVarQueryParameter = {} as any;
568
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
569
+
570
+ // authentication tokenScheme required
571
+ // http bearer authentication required
572
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
573
+
574
+ if (language !== undefined) {
575
+ localVarQueryParameter['language'] = language;
576
+ }
577
+
578
+
579
+ if (file !== undefined) {
580
+ localVarFormParams.append('file', file as any);
581
+ }
582
+
583
+
584
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
585
+
586
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
587
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
588
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
589
+ localVarRequestOptions.data = localVarFormParams;
590
+
591
+ return {
592
+ url: toPathString(localVarUrlObj),
593
+ options: localVarRequestOptions,
594
+ };
595
+ },
437
596
  /**
438
597
  *
439
598
  * @summary 编辑平面图
@@ -1026,6 +1185,19 @@ export const SpaceApiFp = function(configuration?: Configuration) {
1026
1185
  const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEdit']?.[localVarOperationServerIndex]?.url;
1027
1186
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1028
1187
  },
1188
+ /**
1189
+ *
1190
+ * @summary 查询修改前后数据
1191
+ * @param {number} parkId
1192
+ * @param {*} [options] Override http request option.
1193
+ * @throws {RequiredError}
1194
+ */
1195
+ async spaceEditBeforeAndAfter(parkId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSpaceEditBeforeAndAfterDTO>> {
1196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditBeforeAndAfter(parkId, options);
1197
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1198
+ const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditBeforeAndAfter']?.[localVarOperationServerIndex]?.url;
1199
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1200
+ },
1029
1201
  /**
1030
1202
  *
1031
1203
  * @summary /导出修改Excel模板
@@ -1041,6 +1213,44 @@ export const SpaceApiFp = function(configuration?: Configuration) {
1041
1213
  const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditExportTemplate']?.[localVarOperationServerIndex]?.url;
1042
1214
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1043
1215
  },
1216
+ /**
1217
+ *
1218
+ * @summary /修改excel入数据库
1219
+ * @param {*} [options] Override http request option.
1220
+ * @throws {RequiredError}
1221
+ */
1222
+ async spaceEditImportConfirm(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
1223
+ const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditImportConfirm(options);
1224
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1225
+ const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditImportConfirm']?.[localVarOperationServerIndex]?.url;
1226
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1227
+ },
1228
+ /**
1229
+ *
1230
+ * @summary 修改---结果确认
1231
+ * @param {*} [options] Override http request option.
1232
+ * @throws {RequiredError}
1233
+ */
1234
+ async spaceEditImportPreview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
1235
+ const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditImportPreview(options);
1236
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1237
+ const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditImportPreview']?.[localVarOperationServerIndex]?.url;
1238
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1239
+ },
1240
+ /**
1241
+ *
1242
+ * @summary 修改---上传文件
1243
+ * @param {string} [language]
1244
+ * @param {File} [file]
1245
+ * @param {*} [options] Override http request option.
1246
+ * @throws {RequiredError}
1247
+ */
1248
+ async spaceEditImportUpload(language?: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
1249
+ const localVarAxiosArgs = await localVarAxiosParamCreator.spaceEditImportUpload(language, file, options);
1250
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1251
+ const localVarOperationServerBasePath = operationServerMap['SpaceApi.spaceEditImportUpload']?.[localVarOperationServerIndex]?.url;
1252
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1253
+ },
1044
1254
  /**
1045
1255
  *
1046
1256
  * @summary 编辑平面图
@@ -1286,6 +1496,16 @@ export const SpaceApiFactory = function (configuration?: Configuration, basePath
1286
1496
  spaceEdit(requestParameters: SpaceApiSpaceEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
1287
1497
  return localVarFp.spaceEdit(requestParameters.spaceEditVO, options).then((request) => request(axios, basePath));
1288
1498
  },
1499
+ /**
1500
+ *
1501
+ * @summary 查询修改前后数据
1502
+ * @param {SpaceApiSpaceEditBeforeAndAfterRequest} requestParameters Request parameters.
1503
+ * @param {*} [options] Override http request option.
1504
+ * @throws {RequiredError}
1505
+ */
1506
+ spaceEditBeforeAndAfter(requestParameters: SpaceApiSpaceEditBeforeAndAfterRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSpaceEditBeforeAndAfterDTO> {
1507
+ return localVarFp.spaceEditBeforeAndAfter(requestParameters.parkId, options).then((request) => request(axios, basePath));
1508
+ },
1289
1509
  /**
1290
1510
  *
1291
1511
  * @summary /导出修改Excel模板
@@ -1296,6 +1516,34 @@ export const SpaceApiFactory = function (configuration?: Configuration, basePath
1296
1516
  spaceEditExportTemplate(requestParameters: SpaceApiSpaceEditExportTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1297
1517
  return localVarFp.spaceEditExportTemplate(requestParameters.parkId, requestParameters.spaceIds, requestParameters.language, options).then((request) => request(axios, basePath));
1298
1518
  },
1519
+ /**
1520
+ *
1521
+ * @summary /修改excel入数据库
1522
+ * @param {*} [options] Override http request option.
1523
+ * @throws {RequiredError}
1524
+ */
1525
+ spaceEditImportConfirm(options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
1526
+ return localVarFp.spaceEditImportConfirm(options).then((request) => request(axios, basePath));
1527
+ },
1528
+ /**
1529
+ *
1530
+ * @summary 修改---结果确认
1531
+ * @param {*} [options] Override http request option.
1532
+ * @throws {RequiredError}
1533
+ */
1534
+ spaceEditImportPreview(options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
1535
+ return localVarFp.spaceEditImportPreview(options).then((request) => request(axios, basePath));
1536
+ },
1537
+ /**
1538
+ *
1539
+ * @summary 修改---上传文件
1540
+ * @param {SpaceApiSpaceEditImportUploadRequest} requestParameters Request parameters.
1541
+ * @param {*} [options] Override http request option.
1542
+ * @throws {RequiredError}
1543
+ */
1544
+ spaceEditImportUpload(requestParameters: SpaceApiSpaceEditImportUploadRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
1545
+ return localVarFp.spaceEditImportUpload(requestParameters.language, requestParameters.file, options).then((request) => request(axios, basePath));
1546
+ },
1299
1547
  /**
1300
1548
  *
1301
1549
  * @summary 编辑平面图
@@ -1524,6 +1772,20 @@ export interface SpaceApiSpaceEditRequest {
1524
1772
  readonly spaceEditVO: SpaceEditVO
1525
1773
  }
1526
1774
 
1775
+ /**
1776
+ * Request parameters for spaceEditBeforeAndAfter operation in SpaceApi.
1777
+ * @export
1778
+ * @interface SpaceApiSpaceEditBeforeAndAfterRequest
1779
+ */
1780
+ export interface SpaceApiSpaceEditBeforeAndAfterRequest {
1781
+ /**
1782
+ *
1783
+ * @type {number}
1784
+ * @memberof SpaceApiSpaceEditBeforeAndAfter
1785
+ */
1786
+ readonly parkId: number
1787
+ }
1788
+
1527
1789
  /**
1528
1790
  * Request parameters for spaceEditExportTemplate operation in SpaceApi.
1529
1791
  * @export
@@ -1552,6 +1814,27 @@ export interface SpaceApiSpaceEditExportTemplateRequest {
1552
1814
  readonly language?: string
1553
1815
  }
1554
1816
 
1817
+ /**
1818
+ * Request parameters for spaceEditImportUpload operation in SpaceApi.
1819
+ * @export
1820
+ * @interface SpaceApiSpaceEditImportUploadRequest
1821
+ */
1822
+ export interface SpaceApiSpaceEditImportUploadRequest {
1823
+ /**
1824
+ *
1825
+ * @type {string}
1826
+ * @memberof SpaceApiSpaceEditImportUpload
1827
+ */
1828
+ readonly language?: string
1829
+
1830
+ /**
1831
+ *
1832
+ * @type {File}
1833
+ * @memberof SpaceApiSpaceEditImportUpload
1834
+ */
1835
+ readonly file?: File
1836
+ }
1837
+
1555
1838
  /**
1556
1839
  * Request parameters for spaceEditSpacePlanUrl operation in SpaceApi.
1557
1840
  * @export
@@ -1822,6 +2105,18 @@ export class SpaceApi extends BaseAPI {
1822
2105
  return SpaceApiFp(this.configuration).spaceEdit(requestParameters.spaceEditVO, options).then((request) => request(this.axios, this.basePath));
1823
2106
  }
1824
2107
 
2108
+ /**
2109
+ *
2110
+ * @summary 查询修改前后数据
2111
+ * @param {SpaceApiSpaceEditBeforeAndAfterRequest} requestParameters Request parameters.
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ * @memberof SpaceApi
2115
+ */
2116
+ public spaceEditBeforeAndAfter(requestParameters: SpaceApiSpaceEditBeforeAndAfterRequest, options?: RawAxiosRequestConfig) {
2117
+ return SpaceApiFp(this.configuration).spaceEditBeforeAndAfter(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
2118
+ }
2119
+
1825
2120
  /**
1826
2121
  *
1827
2122
  * @summary /导出修改Excel模板
@@ -1834,6 +2129,40 @@ export class SpaceApi extends BaseAPI {
1834
2129
  return SpaceApiFp(this.configuration).spaceEditExportTemplate(requestParameters.parkId, requestParameters.spaceIds, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
1835
2130
  }
1836
2131
 
2132
+ /**
2133
+ *
2134
+ * @summary /修改excel入数据库
2135
+ * @param {*} [options] Override http request option.
2136
+ * @throws {RequiredError}
2137
+ * @memberof SpaceApi
2138
+ */
2139
+ public spaceEditImportConfirm(options?: RawAxiosRequestConfig) {
2140
+ return SpaceApiFp(this.configuration).spaceEditImportConfirm(options).then((request) => request(this.axios, this.basePath));
2141
+ }
2142
+
2143
+ /**
2144
+ *
2145
+ * @summary 修改---结果确认
2146
+ * @param {*} [options] Override http request option.
2147
+ * @throws {RequiredError}
2148
+ * @memberof SpaceApi
2149
+ */
2150
+ public spaceEditImportPreview(options?: RawAxiosRequestConfig) {
2151
+ return SpaceApiFp(this.configuration).spaceEditImportPreview(options).then((request) => request(this.axios, this.basePath));
2152
+ }
2153
+
2154
+ /**
2155
+ *
2156
+ * @summary 修改---上传文件
2157
+ * @param {SpaceApiSpaceEditImportUploadRequest} requestParameters Request parameters.
2158
+ * @param {*} [options] Override http request option.
2159
+ * @throws {RequiredError}
2160
+ * @memberof SpaceApi
2161
+ */
2162
+ public spaceEditImportUpload(requestParameters: SpaceApiSpaceEditImportUploadRequest = {}, options?: RawAxiosRequestConfig) {
2163
+ return SpaceApiFp(this.configuration).spaceEditImportUpload(requestParameters.language, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
2164
+ }
2165
+
1837
2166
  /**
1838
2167
  *
1839
2168
  * @summary 编辑平面图