@gizone/rrs-client 4.2.8-alpha.468 → 4.2.8-alpha.470

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 (224) hide show
  1. package/.openapi-generator/FILES +37 -0
  2. package/api.ts +1 -0
  3. package/apis/common-api.ts +286 -0
  4. package/apis/dashboard-api.ts +1878 -0
  5. package/apis/work-order-api.ts +164 -10
  6. package/dist/api.d.ts +1 -0
  7. package/dist/api.js +1 -0
  8. package/dist/apis/common-api.d.ts +149 -0
  9. package/dist/apis/common-api.js +215 -0
  10. package/dist/apis/dashboard-api.d.ts +979 -0
  11. package/dist/apis/dashboard-api.js +1469 -0
  12. package/dist/apis/work-order-api.d.ts +91 -4
  13. package/dist/apis/work-order-api.js +104 -10
  14. package/dist/esm/api.d.ts +1 -0
  15. package/dist/esm/api.js +1 -0
  16. package/dist/esm/apis/common-api.d.ts +149 -0
  17. package/dist/esm/apis/common-api.js +215 -0
  18. package/dist/esm/apis/dashboard-api.d.ts +979 -0
  19. package/dist/esm/apis/dashboard-api.js +1462 -0
  20. package/dist/esm/apis/work-order-api.d.ts +91 -4
  21. package/dist/esm/apis/work-order-api.js +104 -10
  22. package/dist/esm/models/access-appointment-source-enum.d.ts +1 -0
  23. package/dist/esm/models/access-appointment-source-enum.js +2 -1
  24. package/dist/esm/models/access-record-details-dto.d.ts +7 -0
  25. package/dist/esm/models/dashboard-access-park-group-stats-vo.d.ts +96 -0
  26. package/dist/esm/models/dashboard-access-park-group-stats-vo.js +14 -0
  27. package/dist/esm/models/dashboard-access-search-dto.d.ts +75 -0
  28. package/dist/esm/models/dashboard-access-search-dto.js +14 -0
  29. package/dist/esm/models/dashboard-access-source-group-stats-vo.d.ts +61 -0
  30. package/dist/esm/models/dashboard-access-source-group-stats-vo.js +14 -0
  31. package/dist/esm/models/dashboard-base-search-dto.d.ts +54 -0
  32. package/dist/esm/models/dashboard-base-search-dto.js +14 -0
  33. package/dist/esm/models/dashboard-equipment-park-group-stats-vo.d.ts +43 -0
  34. package/dist/esm/models/dashboard-equipment-park-group-stats-vo.js +14 -0
  35. package/dist/esm/models/dashboard-equipment-search-dto.d.ts +60 -0
  36. package/dist/esm/models/dashboard-equipment-search-dto.js +14 -0
  37. package/dist/esm/models/dashboard-equipment-system-group-stats-vo.d.ts +49 -0
  38. package/dist/esm/models/dashboard-equipment-system-group-stats-vo.js +14 -0
  39. package/dist/esm/models/dashboard-series-stats-base-vo.d.ts +30 -0
  40. package/dist/esm/models/dashboard-series-stats-base-vo.js +14 -0
  41. package/dist/esm/models/dashboard-surveillance-functional-area-group-stats-vo.d.ts +55 -0
  42. package/dist/esm/models/dashboard-surveillance-functional-area-group-stats-vo.js +14 -0
  43. package/dist/esm/models/dashboard-surveillance-park-group-stats-vo.d.ts +96 -0
  44. package/dist/esm/models/dashboard-surveillance-park-group-stats-vo.js +14 -0
  45. package/dist/esm/models/dashboard-surveillance-search-dto.d.ts +67 -0
  46. package/dist/esm/models/dashboard-surveillance-search-dto.js +14 -0
  47. package/dist/esm/models/dashboard-work-order-by-park-search-dto.d.ts +87 -0
  48. package/dist/esm/models/dashboard-work-order-by-park-search-dto.js +14 -0
  49. package/dist/esm/models/dashboard-work-order-by-work-order-type-search-dto.d.ts +74 -0
  50. package/dist/esm/models/dashboard-work-order-by-work-order-type-search-dto.js +14 -0
  51. package/dist/esm/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.d.ts +61 -0
  52. package/dist/esm/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.js +14 -0
  53. package/dist/esm/models/dashboard-work-order-issue-type-group-stats-vo.d.ts +55 -0
  54. package/dist/esm/models/dashboard-work-order-issue-type-group-stats-vo.js +14 -0
  55. package/dist/esm/models/dashboard-work-order-list-search-dto.d.ts +124 -0
  56. package/dist/esm/models/dashboard-work-order-list-search-dto.js +18 -0
  57. package/dist/esm/models/dashboard-work-order-park-group-stats-vo.d.ts +102 -0
  58. package/dist/esm/models/dashboard-work-order-park-group-stats-vo.js +14 -0
  59. package/dist/esm/models/dashboard-work-order-type-group-stats-vo.d.ts +68 -0
  60. package/dist/esm/models/dashboard-work-order-type-group-stats-vo.js +14 -0
  61. package/dist/esm/models/dashboard-work-order-type-subcategory-group-stats-vo.d.ts +67 -0
  62. package/dist/esm/models/dashboard-work-order-type-subcategory-group-stats-vo.js +14 -0
  63. package/dist/esm/models/dept-relation-dto.d.ts +24 -0
  64. package/dist/esm/models/equipment-status-stats-vo.d.ts +31 -0
  65. package/dist/esm/models/equipment-status-stats-vo.js +14 -0
  66. package/dist/esm/models/index.d.ts +36 -0
  67. package/dist/esm/models/index.js +36 -0
  68. package/dist/esm/models/json-result-list-dashboard-access-park-group-stats-vo.d.ts +62 -0
  69. package/dist/esm/models/json-result-list-dashboard-access-park-group-stats-vo.js +14 -0
  70. package/dist/esm/models/json-result-list-dashboard-access-source-group-stats-vo.d.ts +62 -0
  71. package/dist/esm/models/json-result-list-dashboard-access-source-group-stats-vo.js +14 -0
  72. package/dist/esm/models/json-result-list-dashboard-equipment-park-group-stats-vo.d.ts +62 -0
  73. package/dist/esm/models/json-result-list-dashboard-equipment-park-group-stats-vo.js +14 -0
  74. package/dist/esm/models/json-result-list-dashboard-equipment-system-group-stats-vo.d.ts +62 -0
  75. package/dist/esm/models/json-result-list-dashboard-equipment-system-group-stats-vo.js +14 -0
  76. package/dist/esm/models/json-result-list-dashboard-series-stats-base-vo.d.ts +62 -0
  77. package/dist/esm/models/json-result-list-dashboard-series-stats-base-vo.js +14 -0
  78. package/dist/esm/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.d.ts +62 -0
  79. package/dist/esm/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.js +14 -0
  80. package/dist/esm/models/json-result-list-dashboard-surveillance-park-group-stats-vo.d.ts +62 -0
  81. package/dist/esm/models/json-result-list-dashboard-surveillance-park-group-stats-vo.js +14 -0
  82. package/dist/esm/models/json-result-list-dashboard-work-order-park-group-stats-vo.d.ts +62 -0
  83. package/dist/esm/models/json-result-list-dashboard-work-order-park-group-stats-vo.js +14 -0
  84. package/dist/esm/models/json-result-list-dashboard-work-order-type-group-stats-vo.d.ts +62 -0
  85. package/dist/esm/models/json-result-list-dashboard-work-order-type-group-stats-vo.js +14 -0
  86. package/dist/esm/models/json-result-list-dashboard-work-order-type-subcategory-group-stats-vo.d.ts +62 -0
  87. package/dist/esm/models/json-result-list-dashboard-work-order-type-subcategory-group-stats-vo.js +14 -0
  88. package/dist/esm/models/json-result-list-inspection-point.d.ts +62 -0
  89. package/dist/esm/models/json-result-list-inspection-point.js +14 -0
  90. package/dist/esm/models/json-result-list-srm-center-vo.d.ts +62 -0
  91. package/dist/esm/models/json-result-list-srm-center-vo.js +14 -0
  92. package/dist/esm/models/json-result-srm-center-entity.d.ts +62 -0
  93. package/dist/esm/models/json-result-srm-center-entity.js +14 -0
  94. package/dist/esm/models/park-list-dto.d.ts +24 -0
  95. package/dist/esm/models/srm-center-entity.d.ts +61 -0
  96. package/dist/esm/models/srm-center-entity.js +14 -0
  97. package/dist/esm/models/srm-center-vo.d.ts +61 -0
  98. package/dist/esm/models/srm-center-vo.js +14 -0
  99. package/dist/esm/models/srm-level-add-dto.d.ts +55 -0
  100. package/dist/esm/models/srm-level-add-dto.js +14 -0
  101. package/dist/esm/models/work-order-search-dto.d.ts +36 -0
  102. package/dist/models/access-appointment-source-enum.d.ts +1 -0
  103. package/dist/models/access-appointment-source-enum.js +2 -1
  104. package/dist/models/access-record-details-dto.d.ts +7 -0
  105. package/dist/models/dashboard-access-park-group-stats-vo.d.ts +96 -0
  106. package/dist/models/dashboard-access-park-group-stats-vo.js +15 -0
  107. package/dist/models/dashboard-access-search-dto.d.ts +75 -0
  108. package/dist/models/dashboard-access-search-dto.js +15 -0
  109. package/dist/models/dashboard-access-source-group-stats-vo.d.ts +61 -0
  110. package/dist/models/dashboard-access-source-group-stats-vo.js +15 -0
  111. package/dist/models/dashboard-base-search-dto.d.ts +54 -0
  112. package/dist/models/dashboard-base-search-dto.js +15 -0
  113. package/dist/models/dashboard-equipment-park-group-stats-vo.d.ts +43 -0
  114. package/dist/models/dashboard-equipment-park-group-stats-vo.js +15 -0
  115. package/dist/models/dashboard-equipment-search-dto.d.ts +60 -0
  116. package/dist/models/dashboard-equipment-search-dto.js +15 -0
  117. package/dist/models/dashboard-equipment-system-group-stats-vo.d.ts +49 -0
  118. package/dist/models/dashboard-equipment-system-group-stats-vo.js +15 -0
  119. package/dist/models/dashboard-series-stats-base-vo.d.ts +30 -0
  120. package/dist/models/dashboard-series-stats-base-vo.js +15 -0
  121. package/dist/models/dashboard-surveillance-functional-area-group-stats-vo.d.ts +55 -0
  122. package/dist/models/dashboard-surveillance-functional-area-group-stats-vo.js +15 -0
  123. package/dist/models/dashboard-surveillance-park-group-stats-vo.d.ts +96 -0
  124. package/dist/models/dashboard-surveillance-park-group-stats-vo.js +15 -0
  125. package/dist/models/dashboard-surveillance-search-dto.d.ts +67 -0
  126. package/dist/models/dashboard-surveillance-search-dto.js +15 -0
  127. package/dist/models/dashboard-work-order-by-park-search-dto.d.ts +87 -0
  128. package/dist/models/dashboard-work-order-by-park-search-dto.js +15 -0
  129. package/dist/models/dashboard-work-order-by-work-order-type-search-dto.d.ts +74 -0
  130. package/dist/models/dashboard-work-order-by-work-order-type-search-dto.js +15 -0
  131. package/dist/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.d.ts +61 -0
  132. package/dist/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.js +15 -0
  133. package/dist/models/dashboard-work-order-issue-type-group-stats-vo.d.ts +55 -0
  134. package/dist/models/dashboard-work-order-issue-type-group-stats-vo.js +15 -0
  135. package/dist/models/dashboard-work-order-list-search-dto.d.ts +124 -0
  136. package/dist/models/dashboard-work-order-list-search-dto.js +21 -0
  137. package/dist/models/dashboard-work-order-park-group-stats-vo.d.ts +102 -0
  138. package/dist/models/dashboard-work-order-park-group-stats-vo.js +15 -0
  139. package/dist/models/dashboard-work-order-type-group-stats-vo.d.ts +68 -0
  140. package/dist/models/dashboard-work-order-type-group-stats-vo.js +15 -0
  141. package/dist/models/dashboard-work-order-type-subcategory-group-stats-vo.d.ts +67 -0
  142. package/dist/models/dashboard-work-order-type-subcategory-group-stats-vo.js +15 -0
  143. package/dist/models/dept-relation-dto.d.ts +24 -0
  144. package/dist/models/equipment-status-stats-vo.d.ts +31 -0
  145. package/dist/models/equipment-status-stats-vo.js +15 -0
  146. package/dist/models/index.d.ts +36 -0
  147. package/dist/models/index.js +36 -0
  148. package/dist/models/json-result-list-dashboard-access-park-group-stats-vo.d.ts +62 -0
  149. package/dist/models/json-result-list-dashboard-access-park-group-stats-vo.js +15 -0
  150. package/dist/models/json-result-list-dashboard-access-source-group-stats-vo.d.ts +62 -0
  151. package/dist/models/json-result-list-dashboard-access-source-group-stats-vo.js +15 -0
  152. package/dist/models/json-result-list-dashboard-equipment-park-group-stats-vo.d.ts +62 -0
  153. package/dist/models/json-result-list-dashboard-equipment-park-group-stats-vo.js +15 -0
  154. package/dist/models/json-result-list-dashboard-equipment-system-group-stats-vo.d.ts +62 -0
  155. package/dist/models/json-result-list-dashboard-equipment-system-group-stats-vo.js +15 -0
  156. package/dist/models/json-result-list-dashboard-series-stats-base-vo.d.ts +62 -0
  157. package/dist/models/json-result-list-dashboard-series-stats-base-vo.js +15 -0
  158. package/dist/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.d.ts +62 -0
  159. package/dist/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.js +15 -0
  160. package/dist/models/json-result-list-dashboard-surveillance-park-group-stats-vo.d.ts +62 -0
  161. package/dist/models/json-result-list-dashboard-surveillance-park-group-stats-vo.js +15 -0
  162. package/dist/models/json-result-list-dashboard-work-order-park-group-stats-vo.d.ts +62 -0
  163. package/dist/models/json-result-list-dashboard-work-order-park-group-stats-vo.js +15 -0
  164. package/dist/models/json-result-list-dashboard-work-order-type-group-stats-vo.d.ts +62 -0
  165. package/dist/models/json-result-list-dashboard-work-order-type-group-stats-vo.js +15 -0
  166. package/dist/models/json-result-list-dashboard-work-order-type-subcategory-group-stats-vo.d.ts +62 -0
  167. package/dist/models/json-result-list-dashboard-work-order-type-subcategory-group-stats-vo.js +15 -0
  168. package/dist/models/json-result-list-inspection-point.d.ts +62 -0
  169. package/dist/models/json-result-list-inspection-point.js +15 -0
  170. package/dist/models/json-result-list-srm-center-vo.d.ts +62 -0
  171. package/dist/models/json-result-list-srm-center-vo.js +15 -0
  172. package/dist/models/json-result-srm-center-entity.d.ts +62 -0
  173. package/dist/models/json-result-srm-center-entity.js +15 -0
  174. package/dist/models/park-list-dto.d.ts +24 -0
  175. package/dist/models/srm-center-entity.d.ts +61 -0
  176. package/dist/models/srm-center-entity.js +15 -0
  177. package/dist/models/srm-center-vo.d.ts +61 -0
  178. package/dist/models/srm-center-vo.js +15 -0
  179. package/dist/models/srm-level-add-dto.d.ts +55 -0
  180. package/dist/models/srm-level-add-dto.js +15 -0
  181. package/dist/models/work-order-search-dto.d.ts +36 -0
  182. package/models/access-appointment-source-enum.ts +2 -1
  183. package/models/access-record-details-dto.ts +9 -0
  184. package/models/dashboard-access-park-group-stats-vo.ts +102 -0
  185. package/models/dashboard-access-search-dto.ts +89 -0
  186. package/models/dashboard-access-source-group-stats-vo.ts +71 -0
  187. package/models/dashboard-base-search-dto.ts +60 -0
  188. package/models/dashboard-equipment-park-group-stats-vo.ts +51 -0
  189. package/models/dashboard-equipment-search-dto.ts +66 -0
  190. package/models/dashboard-equipment-system-group-stats-vo.ts +57 -0
  191. package/models/dashboard-series-stats-base-vo.ts +36 -0
  192. package/models/dashboard-surveillance-functional-area-group-stats-vo.ts +65 -0
  193. package/models/dashboard-surveillance-park-group-stats-vo.ts +102 -0
  194. package/models/dashboard-surveillance-search-dto.ts +75 -0
  195. package/models/dashboard-work-order-by-park-search-dto.ts +99 -0
  196. package/models/dashboard-work-order-by-work-order-type-search-dto.ts +84 -0
  197. package/models/dashboard-work-order-by-work-order-type-subcategory-search-dto.ts +69 -0
  198. package/models/dashboard-work-order-issue-type-group-stats-vo.ts +65 -0
  199. package/models/dashboard-work-order-list-search-dto.ts +141 -0
  200. package/models/dashboard-work-order-park-group-stats-vo.ts +108 -0
  201. package/models/dashboard-work-order-type-group-stats-vo.ts +80 -0
  202. package/models/dashboard-work-order-type-subcategory-group-stats-vo.ts +77 -0
  203. package/models/dept-relation-dto.ts +24 -0
  204. package/models/equipment-status-stats-vo.ts +41 -0
  205. package/models/index.ts +36 -0
  206. package/models/json-result-list-dashboard-access-park-group-stats-vo.ts +72 -0
  207. package/models/json-result-list-dashboard-access-source-group-stats-vo.ts +72 -0
  208. package/models/json-result-list-dashboard-equipment-park-group-stats-vo.ts +72 -0
  209. package/models/json-result-list-dashboard-equipment-system-group-stats-vo.ts +72 -0
  210. package/models/json-result-list-dashboard-series-stats-base-vo.ts +72 -0
  211. package/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.ts +72 -0
  212. package/models/json-result-list-dashboard-surveillance-park-group-stats-vo.ts +72 -0
  213. package/models/json-result-list-dashboard-work-order-park-group-stats-vo.ts +72 -0
  214. package/models/json-result-list-dashboard-work-order-type-group-stats-vo.ts +72 -0
  215. package/models/json-result-list-dashboard-work-order-type-subcategory-group-stats-vo.ts +72 -0
  216. package/models/json-result-list-inspection-point.ts +72 -0
  217. package/models/json-result-list-srm-center-vo.ts +72 -0
  218. package/models/json-result-srm-center-entity.ts +72 -0
  219. package/models/park-list-dto.ts +24 -0
  220. package/models/srm-center-entity.ts +71 -0
  221. package/models/srm-center-vo.ts +71 -0
  222. package/models/srm-level-add-dto.ts +65 -0
  223. package/models/work-order-search-dto.ts +36 -0
  224. package/package.json +1 -1
@@ -35,6 +35,39 @@ const base_1 = require("../base");
35
35
  */
36
36
  const CommonApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
+ /**
39
+ *
40
+ * @summary 新增srmLevel
41
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ addSrmLevel: (srmLevelAddDTO_1, ...args_1) => __awaiter(this, [srmLevelAddDTO_1, ...args_1], void 0, function* (srmLevelAddDTO, options = {}) {
46
+ // verify required parameter 'srmLevelAddDTO' is not null or undefined
47
+ (0, common_1.assertParamExists)('addSrmLevel', 'srmLevelAddDTO', srmLevelAddDTO);
48
+ const localVarPath = `/srm/level`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication tokenScheme required
59
+ // http bearer authentication required
60
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(srmLevelAddDTO, localVarRequestOptions, configuration);
66
+ return {
67
+ url: (0, common_1.toPathString)(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
38
71
  /**
39
72
  *
40
73
  * @param {number} pid
@@ -1295,6 +1328,76 @@ const CommonApiAxiosParamCreator = function (configuration) {
1295
1328
  options: localVarRequestOptions,
1296
1329
  };
1297
1330
  }),
1331
+ /**
1332
+ *
1333
+ * @summary 通过权限标识查询用户所有园区
1334
+ * @param {string} permission 权限标识
1335
+ * @param {*} [options] Override http request option.
1336
+ * @throws {RequiredError}
1337
+ */
1338
+ selectParkListByPermission: (permission_1, ...args_1) => __awaiter(this, [permission_1, ...args_1], void 0, function* (permission, options = {}) {
1339
+ // verify required parameter 'permission' is not null or undefined
1340
+ (0, common_1.assertParamExists)('selectParkListByPermission', 'permission', permission);
1341
+ const localVarPath = `/system/dept/park/permission`;
1342
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1343
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1344
+ let baseOptions;
1345
+ if (configuration) {
1346
+ baseOptions = configuration.baseOptions;
1347
+ }
1348
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1349
+ const localVarHeaderParameter = {};
1350
+ const localVarQueryParameter = {};
1351
+ // authentication tokenScheme required
1352
+ // http bearer authentication required
1353
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1354
+ if (permission !== undefined) {
1355
+ localVarQueryParameter['permission'] = permission;
1356
+ }
1357
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1358
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1359
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1360
+ return {
1361
+ url: (0, common_1.toPathString)(localVarUrlObj),
1362
+ options: localVarRequestOptions,
1363
+ };
1364
+ }),
1365
+ /**
1366
+ *
1367
+ * @summary 查询srmLevel
1368
+ * @param {string} [parentCode] 上级编码
1369
+ * @param {number} [level] 要查询的level
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ */
1373
+ selectSrmLevel: (parentCode_1, level_1, ...args_1) => __awaiter(this, [parentCode_1, level_1, ...args_1], void 0, function* (parentCode, level, options = {}) {
1374
+ const localVarPath = `/srm/level`;
1375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1376
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1377
+ let baseOptions;
1378
+ if (configuration) {
1379
+ baseOptions = configuration.baseOptions;
1380
+ }
1381
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1382
+ const localVarHeaderParameter = {};
1383
+ const localVarQueryParameter = {};
1384
+ // authentication tokenScheme required
1385
+ // http bearer authentication required
1386
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1387
+ if (parentCode !== undefined) {
1388
+ localVarQueryParameter['parentCode'] = parentCode;
1389
+ }
1390
+ if (level !== undefined) {
1391
+ localVarQueryParameter['level'] = level;
1392
+ }
1393
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1394
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1395
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1396
+ return {
1397
+ url: (0, common_1.toPathString)(localVarUrlObj),
1398
+ options: localVarRequestOptions,
1399
+ };
1400
+ }),
1298
1401
  /**
1299
1402
  *
1300
1403
  * @param {string} host 目标主机地址
@@ -1580,6 +1683,22 @@ exports.CommonApiAxiosParamCreator = CommonApiAxiosParamCreator;
1580
1683
  const CommonApiFp = function (configuration) {
1581
1684
  const localVarAxiosParamCreator = (0, exports.CommonApiAxiosParamCreator)(configuration);
1582
1685
  return {
1686
+ /**
1687
+ *
1688
+ * @summary 新增srmLevel
1689
+ * @param {SrmLevelAddDTO} srmLevelAddDTO
1690
+ * @param {*} [options] Override http request option.
1691
+ * @throws {RequiredError}
1692
+ */
1693
+ addSrmLevel(srmLevelAddDTO, options) {
1694
+ return __awaiter(this, void 0, void 0, function* () {
1695
+ var _a, _b, _c;
1696
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addSrmLevel(srmLevelAddDTO, options);
1697
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1698
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.addSrmLevel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1699
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1700
+ });
1701
+ },
1583
1702
  /**
1584
1703
  *
1585
1704
  * @param {number} pid
@@ -2168,6 +2287,39 @@ const CommonApiFp = function (configuration) {
2168
2287
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2169
2288
  });
2170
2289
  },
2290
+ /**
2291
+ *
2292
+ * @summary 通过权限标识查询用户所有园区
2293
+ * @param {string} permission 权限标识
2294
+ * @param {*} [options] Override http request option.
2295
+ * @throws {RequiredError}
2296
+ */
2297
+ selectParkListByPermission(permission, options) {
2298
+ return __awaiter(this, void 0, void 0, function* () {
2299
+ var _a, _b, _c;
2300
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.selectParkListByPermission(permission, options);
2301
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2302
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.selectParkListByPermission']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2303
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2304
+ });
2305
+ },
2306
+ /**
2307
+ *
2308
+ * @summary 查询srmLevel
2309
+ * @param {string} [parentCode] 上级编码
2310
+ * @param {number} [level] 要查询的level
2311
+ * @param {*} [options] Override http request option.
2312
+ * @throws {RequiredError}
2313
+ */
2314
+ selectSrmLevel(parentCode, level, options) {
2315
+ return __awaiter(this, void 0, void 0, function* () {
2316
+ var _a, _b, _c;
2317
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.selectSrmLevel(parentCode, level, options);
2318
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2319
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.selectSrmLevel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2320
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2321
+ });
2322
+ },
2171
2323
  /**
2172
2324
  *
2173
2325
  * @param {string} host 目标主机地址
@@ -2303,6 +2455,16 @@ exports.CommonApiFp = CommonApiFp;
2303
2455
  const CommonApiFactory = function (configuration, basePath, axios) {
2304
2456
  const localVarFp = (0, exports.CommonApiFp)(configuration);
2305
2457
  return {
2458
+ /**
2459
+ *
2460
+ * @summary 新增srmLevel
2461
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
2462
+ * @param {*} [options] Override http request option.
2463
+ * @throws {RequiredError}
2464
+ */
2465
+ addSrmLevel(requestParameters, options) {
2466
+ return localVarFp.addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(axios, basePath));
2467
+ },
2306
2468
  /**
2307
2469
  *
2308
2470
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -2658,6 +2820,26 @@ const CommonApiFactory = function (configuration, basePath, axios) {
2658
2820
  selectParkList(requestParameters = {}, options) {
2659
2821
  return localVarFp.selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(axios, basePath));
2660
2822
  },
2823
+ /**
2824
+ *
2825
+ * @summary 通过权限标识查询用户所有园区
2826
+ * @param {CommonApiSelectParkListByPermissionRequest} requestParameters Request parameters.
2827
+ * @param {*} [options] Override http request option.
2828
+ * @throws {RequiredError}
2829
+ */
2830
+ selectParkListByPermission(requestParameters, options) {
2831
+ return localVarFp.selectParkListByPermission(requestParameters.permission, options).then((request) => request(axios, basePath));
2832
+ },
2833
+ /**
2834
+ *
2835
+ * @summary 查询srmLevel
2836
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
2837
+ * @param {*} [options] Override http request option.
2838
+ * @throws {RequiredError}
2839
+ */
2840
+ selectSrmLevel(requestParameters = {}, options) {
2841
+ return localVarFp.selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(axios, basePath));
2842
+ },
2661
2843
  /**
2662
2844
  *
2663
2845
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.
@@ -2743,6 +2925,17 @@ exports.CommonApiFactory = CommonApiFactory;
2743
2925
  * @extends {BaseAPI}
2744
2926
  */
2745
2927
  class CommonApi extends base_1.BaseAPI {
2928
+ /**
2929
+ *
2930
+ * @summary 新增srmLevel
2931
+ * @param {CommonApiAddSrmLevelRequest} requestParameters Request parameters.
2932
+ * @param {*} [options] Override http request option.
2933
+ * @throws {RequiredError}
2934
+ * @memberof CommonApi
2935
+ */
2936
+ addSrmLevel(requestParameters, options) {
2937
+ return (0, exports.CommonApiFp)(this.configuration).addSrmLevel(requestParameters.srmLevelAddDTO, options).then((request) => request(this.axios, this.basePath));
2938
+ }
2746
2939
  /**
2747
2940
  *
2748
2941
  * @param {CommonApiAddressRegionListRequest} requestParameters Request parameters.
@@ -3136,6 +3329,28 @@ class CommonApi extends base_1.BaseAPI {
3136
3329
  selectParkList(requestParameters = {}, options) {
3137
3330
  return (0, exports.CommonApiFp)(this.configuration).selectParkList(requestParameters.centerCode, requestParameters.isSrm, requestParameters.parkCenterAttribute, options).then((request) => request(this.axios, this.basePath));
3138
3331
  }
3332
+ /**
3333
+ *
3334
+ * @summary 通过权限标识查询用户所有园区
3335
+ * @param {CommonApiSelectParkListByPermissionRequest} requestParameters Request parameters.
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ * @memberof CommonApi
3339
+ */
3340
+ selectParkListByPermission(requestParameters, options) {
3341
+ return (0, exports.CommonApiFp)(this.configuration).selectParkListByPermission(requestParameters.permission, options).then((request) => request(this.axios, this.basePath));
3342
+ }
3343
+ /**
3344
+ *
3345
+ * @summary 查询srmLevel
3346
+ * @param {CommonApiSelectSrmLevelRequest} requestParameters Request parameters.
3347
+ * @param {*} [options] Override http request option.
3348
+ * @throws {RequiredError}
3349
+ * @memberof CommonApi
3350
+ */
3351
+ selectSrmLevel(requestParameters = {}, options) {
3352
+ return (0, exports.CommonApiFp)(this.configuration).selectSrmLevel(requestParameters.parentCode, requestParameters.level, options).then((request) => request(this.axios, this.basePath));
3353
+ }
3139
3354
  /**
3140
3355
  *
3141
3356
  * @param {CommonApiTcpConnectRequest} requestParameters Request parameters.