@gct-paas/core 0.0.1-dev.10 → 0.0.1-dev.11

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 (197) hide show
  1. package/dist/index.min.cjs +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/es/index.mjs +2 -2
  4. package/es/service/base/base.service.d.ts +5 -5
  5. package/es/service/gct-apaas/api.service.d.ts +13 -13
  6. package/es/service/gct-apaas/app-branch.service.d.ts +7 -7
  7. package/es/service/gct-apaas/app-global-settings.service.d.ts +6 -6
  8. package/es/service/gct-apaas/app-granted-user.service.d.ts +8 -8
  9. package/es/service/gct-apaas/app-org.service.d.ts +10 -10
  10. package/es/service/gct-apaas/app-publish-log.service.d.ts +7 -7
  11. package/es/service/gct-apaas/app-state.service.d.ts +2 -2
  12. package/es/service/gct-apaas/app-user.service.d.ts +9 -9
  13. package/es/service/gct-apaas/approval-log.service.d.ts +7 -7
  14. package/es/service/gct-apaas/audit-log.service.d.ts +8 -8
  15. package/es/service/gct-apaas/basic-config.service.d.ts +6 -6
  16. package/es/service/gct-apaas/biz-event.service.d.ts +7 -7
  17. package/es/service/gct-apaas/biz-process-definition-version.service.d.ts +9 -9
  18. package/es/service/gct-apaas/biz-process-definition.service.d.ts +7 -7
  19. package/es/service/gct-apaas/biz-service-crud.service.d.ts +10 -10
  20. package/es/service/gct-apaas/biz-service.service.d.ts +5 -5
  21. package/es/service/gct-apaas/bom.service.d.ts +2 -2
  22. package/es/service/gct-apaas/category-relation.service.d.ts +8 -8
  23. package/es/service/gct-apaas/category.service.d.ts +10 -10
  24. package/es/service/gct-apaas/code-ts.service.d.ts +2 -2
  25. package/es/service/gct-apaas/commit-log.service.d.ts +14 -14
  26. package/es/service/gct-apaas/data-model.service.d.ts +11 -11
  27. package/es/service/gct-apaas/designer-common.service.d.ts +14 -14
  28. package/es/service/gct-apaas/designer-lock.service.d.ts +6 -6
  29. package/es/service/gct-apaas/designer-operate-log.service.d.ts +2 -2
  30. package/es/service/gct-apaas/devops.service.d.ts +3 -3
  31. package/es/service/gct-apaas/doc-outline.service.d.ts +13 -13
  32. package/es/service/gct-apaas/document.service.d.ts +15 -15
  33. package/es/service/gct-apaas/edhr-instance-relation.service.d.ts +4 -4
  34. package/es/service/gct-apaas/edhr-instance.service.d.ts +8 -8
  35. package/es/service/gct-apaas/edhr-tmpl.service.d.ts +11 -11
  36. package/es/service/gct-apaas/ele-search.service.d.ts +2 -2
  37. package/es/service/gct-apaas/enum-model-field.service.d.ts +8 -8
  38. package/es/service/gct-apaas/enum-model.service.d.ts +9 -9
  39. package/es/service/gct-apaas/event-log.service.d.ts +5 -5
  40. package/es/service/gct-apaas/event.service.d.ts +7 -7
  41. package/es/service/gct-apaas/excel-tmpl.service.d.ts +13 -13
  42. package/es/service/gct-apaas/excel.service.d.ts +3 -3
  43. package/es/service/gct-apaas/field-meta.service.d.ts +15 -15
  44. package/es/service/gct-apaas/field.service.d.ts +2 -2
  45. package/es/service/gct-apaas/file-resource.service.d.ts +4 -4
  46. package/es/service/gct-apaas/file.service.d.ts +2 -2
  47. package/es/service/gct-apaas/formRelate.service.d.ts +10 -10
  48. package/es/service/gct-apaas/front-operate-log.service.d.ts +2 -2
  49. package/es/service/gct-apaas/global-method.service.d.ts +7 -7
  50. package/es/service/gct-apaas/i18n-info.service.d.ts +7 -7
  51. package/es/service/gct-apaas/job-log.service.d.ts +4 -4
  52. package/es/service/gct-apaas/job.service.d.ts +10 -10
  53. package/es/service/gct-apaas/js-engine.service.d.ts +3 -3
  54. package/es/service/gct-apaas/label-log.service.d.ts +7 -7
  55. package/es/service/gct-apaas/label.service.d.ts +20 -20
  56. package/es/service/gct-apaas/medPro.service.d.ts +3 -3
  57. package/es/service/gct-apaas/menu-config.service.d.ts +9 -9
  58. package/es/service/gct-apaas/merge-log.service.d.ts +6 -6
  59. package/es/service/gct-apaas/message-record.service.d.ts +6 -6
  60. package/es/service/gct-apaas/message-setting.service.d.ts +3 -3
  61. package/es/service/gct-apaas/message-tmpl.service.d.ts +10 -10
  62. package/es/service/gct-apaas/mobile-homepage.service.d.ts +10 -10
  63. package/es/service/gct-apaas/mobile-page.service.d.ts +9 -9
  64. package/es/service/gct-apaas/model-comprehensive.service.d.ts +23 -23
  65. package/es/service/gct-apaas/model-data.service.d.ts +6 -6
  66. package/es/service/gct-apaas/model-meta.service.d.ts +24 -24
  67. package/es/service/gct-apaas/model-method.service.d.ts +9 -9
  68. package/es/service/gct-apaas/model.service.d.ts +2 -2
  69. package/es/service/gct-apaas/online-form-change-history.service.d.ts +3 -3
  70. package/es/service/gct-apaas/online-form-instance.service.d.ts +16 -16
  71. package/es/service/gct-apaas/online-form-log.service.d.ts +2 -2
  72. package/es/service/gct-apaas/online-form-tmpl-log.service.d.ts +7 -7
  73. package/es/service/gct-apaas/online-form-tmpl.service.d.ts +18 -18
  74. package/es/service/gct-apaas/online-form.service.d.ts +5 -5
  75. package/es/service/gct-apaas/online.service.d.ts +4 -4
  76. package/es/service/gct-apaas/openapi.service.d.ts +9 -9
  77. package/es/service/gct-apaas/page-designer-log.service.d.ts +7 -7
  78. package/es/service/gct-apaas/permission.service.d.ts +7 -7
  79. package/es/service/gct-apaas/pm-process-definition-version.service.d.ts +10 -10
  80. package/es/service/gct-apaas/pm-process-definition.service.d.ts +7 -7
  81. package/es/service/gct-apaas/pm-process-engine.service.d.ts +18 -18
  82. package/es/service/gct-apaas/print-designer.service.d.ts +5 -5
  83. package/es/service/gct-apaas/print-log.service.d.ts +3 -3
  84. package/es/service/gct-apaas/print.service.d.ts +5 -5
  85. package/es/service/gct-apaas/process-approval-log.service.d.ts +8 -8
  86. package/es/service/gct-apaas/process-approve-user.service.d.ts +7 -7
  87. package/es/service/gct-apaas/process-definition-version.service.d.ts +9 -9
  88. package/es/service/gct-apaas/process-definition.service.d.ts +7 -7
  89. package/es/service/gct-apaas/process-engine.service.d.ts +7 -7
  90. package/es/service/gct-apaas/process-event.service.d.ts +7 -7
  91. package/es/service/gct-apaas/process-graph.service.d.ts +2 -2
  92. package/es/service/gct-apaas/process-instance.service.d.ts +7 -7
  93. package/es/service/gct-apaas/process-message-user.service.d.ts +7 -7
  94. package/es/service/gct-apaas/process-node-definition.service.d.ts +7 -7
  95. package/es/service/gct-apaas/process-path-user.service.d.ts +7 -7
  96. package/es/service/gct-apaas/process-path.service.d.ts +2 -2
  97. package/es/service/gct-apaas/process-task-done.service.d.ts +2 -2
  98. package/es/service/gct-apaas/process-task-todo.service.d.ts +3 -3
  99. package/es/service/gct-apaas/process-version.service.d.ts +7 -7
  100. package/es/service/gct-apaas/process.service.d.ts +6 -6
  101. package/es/service/gct-apaas/processTest.service.d.ts +8 -8
  102. package/es/service/gct-apaas/product-release.service.d.ts +3 -3
  103. package/es/service/gct-apaas/publish-log.service.d.ts +10 -10
  104. package/es/service/gct-apaas/regexp.service.d.ts +7 -7
  105. package/es/service/gct-apaas/role-permission.service.d.ts +5 -5
  106. package/es/service/gct-apaas/role.service.d.ts +7 -7
  107. package/es/service/gct-apaas/script-version-log.service.d.ts +5 -5
  108. package/es/service/gct-apaas/script-version.service.d.ts +8 -8
  109. package/es/service/gct-apaas/script.service.d.ts +8 -8
  110. package/es/service/gct-apaas/service-orchestration-version-log.service.d.ts +6 -6
  111. package/es/service/gct-apaas/service-orchestration-version.service.d.ts +8 -8
  112. package/es/service/gct-apaas/service-orchestration.service.d.ts +8 -8
  113. package/es/service/gct-apaas/sign-history.service.d.ts +7 -7
  114. package/es/service/gct-apaas/signature.service.d.ts +2 -2
  115. package/es/service/gct-apaas/sql-view-model.service.d.ts +6 -6
  116. package/es/service/gct-apaas/sql-view.service.d.ts +2 -2
  117. package/es/service/gct-apaas/stash.service.d.ts +6 -6
  118. package/es/service/gct-apaas/sub-model-process.service.d.ts +2 -2
  119. package/es/service/gct-apaas/sys-config.service.d.ts +7 -7
  120. package/es/service/gct-apaas/system-var.service.d.ts +10 -10
  121. package/es/service/gct-apaas/trace-log-details.service.d.ts +9 -9
  122. package/es/service/gct-apaas/trace-log.service.d.ts +8 -8
  123. package/es/service/gct-apaas/trace-mainline-ext.service.d.ts +7 -7
  124. package/es/service/gct-apaas/trace-mainline.service.d.ts +7 -7
  125. package/es/service/gct-apaas/trace-setting.service.d.ts +5 -5
  126. package/es/service/gct-apaas/user-group-relation.service.d.ts +5 -5
  127. package/es/service/gct-apaas/user-group.service.d.ts +9 -9
  128. package/es/service/gct-apaas/view-model.service.d.ts +14 -14
  129. package/es/service/gct-apaas/wash.service.d.ts +3 -3
  130. package/es/service/gct-apaas/webpage.service.d.ts +14 -14
  131. package/es/service/gct-platform/api.service.d.ts +31 -31
  132. package/es/service/gct-platform/apk.service.d.ts +9 -9
  133. package/es/service/gct-platform/app-member.service.d.ts +8 -8
  134. package/es/service/gct-platform/app-setting.service.d.ts +9 -9
  135. package/es/service/gct-platform/app.service.d.ts +31 -31
  136. package/es/service/gct-platform/assets.service.d.ts +7 -7
  137. package/es/service/gct-platform/audit-log.service.d.ts +7 -7
  138. package/es/service/gct-platform/category.service.d.ts +8 -8
  139. package/es/service/gct-platform/data-source.service.d.ts +10 -10
  140. package/es/service/gct-platform/datasource-devops.service.d.ts +7 -7
  141. package/es/service/gct-platform/datasource-move-data.service.d.ts +7 -7
  142. package/es/service/gct-platform/datasource-move-detail.service.d.ts +7 -7
  143. package/es/service/gct-platform/datasource-move.service.d.ts +8 -8
  144. package/es/service/gct-platform/external-message.service.d.ts +7 -7
  145. package/es/service/gct-platform/file.service.d.ts +2 -2
  146. package/es/service/gct-platform/i18n-config.service.d.ts +3 -3
  147. package/es/service/gct-platform/i18n-info.service.d.ts +7 -7
  148. package/es/service/gct-platform/internal-message.service.d.ts +7 -7
  149. package/es/service/gct-platform/invoke-log.service.d.ts +4 -4
  150. package/es/service/gct-platform/ldap.service.d.ts +2 -2
  151. package/es/service/gct-platform/license-unbind-log.service.d.ts +2 -2
  152. package/es/service/gct-platform/license.service.d.ts +12 -12
  153. package/es/service/gct-platform/login-log.service.d.ts +2 -2
  154. package/es/service/gct-platform/login.service.d.ts +6 -6
  155. package/es/service/gct-platform/manager.service.d.ts +3 -3
  156. package/es/service/gct-platform/message-setting.service.d.ts +11 -11
  157. package/es/service/gct-platform/nav-menu.service.d.ts +10 -10
  158. package/es/service/gct-platform/nav-page.service.d.ts +8 -8
  159. package/es/service/gct-platform/openapi-group.service.d.ts +7 -7
  160. package/es/service/gct-platform/openapi-key-grant.service.d.ts +8 -8
  161. package/es/service/gct-platform/org-user-picker.service.d.ts +3 -3
  162. package/es/service/gct-platform/org.service.d.ts +12 -12
  163. package/es/service/gct-platform/permission.service.d.ts +6 -6
  164. package/es/service/gct-platform/plat.service.d.ts +17 -17
  165. package/es/service/gct-platform/plugin-version.service.d.ts +7 -7
  166. package/es/service/gct-platform/plugin.service.d.ts +8 -8
  167. package/es/service/gct-platform/pm-process-delegate-detail.service.d.ts +7 -7
  168. package/es/service/gct-platform/pm-process-delegate.service.d.ts +7 -7
  169. package/es/service/gct-platform/pm-process-instance.service.d.ts +8 -8
  170. package/es/service/gct-platform/pm-task-done.service.d.ts +8 -8
  171. package/es/service/gct-platform/pm-task-todo.service.d.ts +8 -8
  172. package/es/service/gct-platform/print-log.service.d.ts +5 -5
  173. package/es/service/gct-platform/print-resource.service.d.ts +12 -12
  174. package/es/service/gct-platform/regexp.service.d.ts +7 -7
  175. package/es/service/gct-platform/released.service.d.ts +4 -4
  176. package/es/service/gct-platform/role-permission.service.d.ts +5 -5
  177. package/es/service/gct-platform/role.service.d.ts +10 -10
  178. package/es/service/gct-platform/seat-message.service.d.ts +2 -2
  179. package/es/service/gct-platform/seat.service.d.ts +6 -6
  180. package/es/service/gct-platform/shortcut.service.d.ts +5 -5
  181. package/es/service/gct-platform/sms.service.d.ts +3 -3
  182. package/es/service/gct-platform/started-process.service.d.ts +5 -5
  183. package/es/service/gct-platform/task-delegate.service.d.ts +9 -9
  184. package/es/service/gct-platform/task-done.service.d.ts +5 -5
  185. package/es/service/gct-platform/task-todo.service.d.ts +5 -5
  186. package/es/service/gct-platform/tenant-developer.service.d.ts +9 -9
  187. package/es/service/gct-platform/tenant.service.d.ts +16 -16
  188. package/es/service/gct-platform/user-extra.service.d.ts +7 -7
  189. package/es/service/gct-platform/user-info-log.service.d.ts +7 -7
  190. package/es/service/gct-platform/user-password-history.service.d.ts +7 -7
  191. package/es/service/gct-platform/user.service.d.ts +15 -15
  192. package/es/service/gct-platform/workbench-component-relation.service.d.ts +10 -10
  193. package/es/service/gct-platform/workbench-component.service.d.ts +7 -7
  194. package/es/types/index.d.ts +2 -2
  195. package/es/utils/axios/interceptors.mjs +4 -4
  196. package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +1 -1
  197. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { DataSourceMainRequest, DataSourceIsEnableRequest, DataSourceMainResponse, TableColumnDTO, ColumnInformationSchema, DataSource } from './entities';
4
4
  export interface deleteQuery {
@@ -21,13 +21,13 @@ export interface postQueryDataQuery {
21
21
  }
22
22
  export declare class DataSourceService extends PlatformBaseService {
23
23
  constructor();
24
- post(data: DataSourceMainRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
25
- put(data: DataSourceMainRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
26
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
27
- putEnabled(data: DataSourceIsEnableRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
28
- getList(query: getListQuery, config?: Record<string, string>): Promise<AxiosResponse<DataSourceMainResponse>>;
29
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<DataSourceMainResponse>>;
30
- postQueryData(query: postQueryDataQuery, config?: Record<string, string>): Promise<AxiosResponse<object>>;
31
- postSql(data: TableColumnDTO, config?: Record<string, string>): Promise<AxiosResponse<ColumnInformationSchema>>;
32
- postTestConnect(data: DataSource, config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
24
+ post(data: DataSourceMainRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
25
+ put(data: DataSourceMainRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
26
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
27
+ putEnabled(data: DataSourceIsEnableRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
28
+ getList(query: getListQuery, config?: Record<string, string>): Promise<IHttpResponse<DataSourceMainResponse>>;
29
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<DataSourceMainResponse>>;
30
+ postQueryData(query: postQueryDataQuery, config?: Record<string, string>): Promise<IHttpResponse<IObject>>;
31
+ postSql(data: TableColumnDTO, config?: Record<string, string>): Promise<IHttpResponse<ColumnInformationSchema>>;
32
+ postTestConnect(data: DataSource, config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
33
33
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { DatasourceDevopsRequest, DatasourceDevopsResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -12,10 +12,10 @@ export interface putIdQuery {
12
12
  }
13
13
  export declare class DatasourceDevopsService extends PlatformBaseService {
14
14
  constructor();
15
- post(data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
16
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
17
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceDevopsResponse>>;
18
- postList(data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<AxiosResponse<DatasourceDevopsResponse>>;
19
- postPage(data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<AxiosResponse<DatasourceDevopsResponse>>;
20
- putId(query: putIdQuery, data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
15
+ post(data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
16
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
17
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceDevopsResponse>>;
18
+ postList(data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<IHttpResponse<DatasourceDevopsResponse>>;
19
+ postPage(data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<IHttpResponse<DatasourceDevopsResponse>>;
20
+ putId(query: putIdQuery, data: DatasourceDevopsRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
21
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { DatasourceMoveDataRequest, DatasourceMoveDataResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -16,10 +16,10 @@ export interface putIdQuery {
16
16
  }
17
17
  export declare class DatasourceMoveDataService extends PlatformBaseService {
18
18
  constructor();
19
- post(data: DatasourceMoveDataRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveDataResponse>>;
22
- getList(config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveDataResponse>>;
23
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveDataResponse>>;
24
- putId(query: putIdQuery, data: DatasourceMoveDataRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
+ post(data: DatasourceMoveDataRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveDataResponse>>;
22
+ getList(config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveDataResponse>>;
23
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveDataResponse>>;
24
+ putId(query: putIdQuery, data: DatasourceMoveDataRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
25
25
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { DatasourceMoveDetailRequest, DatasourceMoveDetailResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -16,10 +16,10 @@ export interface putIdQuery {
16
16
  }
17
17
  export declare class DatasourceMoveDetailService extends PlatformBaseService {
18
18
  constructor();
19
- post(data: DatasourceMoveDetailRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveDetailResponse>>;
22
- getList(config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveDetailResponse>>;
23
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveDetailResponse>>;
24
- putId(query: putIdQuery, data: DatasourceMoveDetailRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
+ post(data: DatasourceMoveDetailRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveDetailResponse>>;
22
+ getList(config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveDetailResponse>>;
23
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveDetailResponse>>;
24
+ putId(query: putIdQuery, data: DatasourceMoveDetailRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
25
25
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { DatasourceMoveRequest, DatasourceMoveResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -15,11 +15,11 @@ export interface putIdQuery {
15
15
  }
16
16
  export declare class DatasourceMoveService extends PlatformBaseService {
17
17
  constructor();
18
- post(data: DatasourceMoveRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveResponse>>;
21
- getList(config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveResponse>>;
22
- getMoveData(query: getMoveDataQuery, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveResponse>>;
23
- getPage(data: DatasourceMoveRequest, config?: Record<string, string>): Promise<AxiosResponse<DatasourceMoveResponse>>;
24
- putId(query: putIdQuery, data: DatasourceMoveRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
18
+ post(data: DatasourceMoveRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
19
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveResponse>>;
21
+ getList(config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveResponse>>;
22
+ getMoveData(query: getMoveDataQuery, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveResponse>>;
23
+ getPage(data: DatasourceMoveRequest, config?: Record<string, string>): Promise<IHttpResponse<DatasourceMoveResponse>>;
24
+ putId(query: putIdQuery, data: DatasourceMoveRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
25
25
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { ExternalMessageRequest, ExternalMessageResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -16,10 +16,10 @@ export interface putIdQuery {
16
16
  }
17
17
  export declare class ExternalMessageService extends PlatformBaseService {
18
18
  constructor();
19
- post(data: ExternalMessageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<ExternalMessageResponse>>;
22
- getList(config?: Record<string, string>): Promise<AxiosResponse<ExternalMessageResponse>>;
23
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<ExternalMessageResponse>>;
24
- putId(query: putIdQuery, data: ExternalMessageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
+ post(data: ExternalMessageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<ExternalMessageResponse>>;
22
+ getList(config?: Record<string, string>): Promise<IHttpResponse<ExternalMessageResponse>>;
23
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<ExternalMessageResponse>>;
24
+ putId(query: putIdQuery, data: ExternalMessageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
25
25
  }
@@ -1,9 +1,9 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  export interface postUploadQuery {
4
4
  bucket: string;
5
5
  }
6
6
  export declare class FileService extends PlatformBaseService {
7
7
  constructor();
8
- postUpload(query: postUploadQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
8
+ postUpload(query: postUploadQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { I18nConfigResponse, I18nConfigRequest } from './entities';
4
4
  export interface getListQuery {
@@ -9,6 +9,6 @@ export interface putIdQuery {
9
9
  }
10
10
  export declare class I18NConfigService extends PlatformBaseService {
11
11
  constructor();
12
- getList(query: getListQuery, config?: Record<string, string>): Promise<AxiosResponse<I18nConfigResponse>>;
13
- putId(query: putIdQuery, data: I18nConfigRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
12
+ getList(query: getListQuery, config?: Record<string, string>): Promise<IHttpResponse<I18nConfigResponse>>;
13
+ putId(query: putIdQuery, data: I18nConfigRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
14
14
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { I18nInfoResponse, I18nInfoRequest } from './entities';
4
4
  export interface deleteQuery {
@@ -17,10 +17,10 @@ export interface getPageQuery {
17
17
  }
18
18
  export declare class I18NInfoService extends PlatformBaseService {
19
19
  constructor();
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- postExternal(config?: Record<string, string>): Promise<AxiosResponse<object>>;
22
- getLang(query: getLangQuery, config?: Record<string, string>): Promise<AxiosResponse<unknown>>;
23
- postLang(query: postLangQuery, config?: Record<string, string>): Promise<AxiosResponse<object>>;
24
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<I18nInfoResponse>>;
25
- putKey(data: I18nInfoRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ postExternal(config?: Record<string, string>): Promise<IHttpResponse<object>>;
22
+ getLang(query: getLangQuery, config?: Record<string, string>): Promise<IHttpResponse<unknown>>;
23
+ postLang(query: postLangQuery, config?: Record<string, string>): Promise<IHttpResponse<object>>;
24
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<I18nInfoResponse>>;
25
+ putKey(data: I18nInfoRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
26
26
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { InternalMessageRequest, InternalMessageResponse } from './entities';
4
4
  export interface getInfoQuery {
@@ -18,10 +18,10 @@ export interface getPageQuery {
18
18
  }
19
19
  export declare class InternalMessageService extends PlatformBaseService {
20
20
  constructor();
21
- post(data: InternalMessageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
22
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<InternalMessageResponse>>;
23
- getList(query: getListQuery, config?: Record<string, string>): Promise<AxiosResponse<InternalMessageResponse>>;
24
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<InternalMessageResponse>>;
25
- putRead(config?: Record<string, string>): Promise<AxiosResponse<string>>;
26
- getUnread(config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
+ post(data: InternalMessageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
22
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<InternalMessageResponse>>;
23
+ getList(query: getListQuery, config?: Record<string, string>): Promise<IHttpResponse<InternalMessageResponse>>;
24
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<InternalMessageResponse>>;
25
+ putRead(config?: Record<string, string>): Promise<IHttpResponse<string>>;
26
+ getUnread(config?: Record<string, string>): Promise<IHttpResponse<string>>;
27
27
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { ThirdPartyInvokeLogResponse } from './entities';
4
4
  export interface getExportQuery {
@@ -19,7 +19,7 @@ export interface getPageQuery {
19
19
  }
20
20
  export declare class InvokeLogService extends PlatformBaseService {
21
21
  constructor();
22
- getExport(query: getExportQuery, config?: Record<string, string>): Promise<AxiosResponse<unknown>>;
23
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<ThirdPartyInvokeLogResponse>>;
24
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<ThirdPartyInvokeLogResponse>>;
22
+ getExport(query: getExportQuery, config?: Record<string, string>): Promise<IHttpResponse<unknown>>;
23
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<ThirdPartyInvokeLogResponse>>;
24
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<ThirdPartyInvokeLogResponse>>;
25
25
  }
@@ -1,6 +1,6 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  export declare class LdapService extends PlatformBaseService {
4
4
  constructor();
5
- postUpload(config?: Record<string, string>): Promise<AxiosResponse<string>>;
5
+ postUpload(config?: Record<string, string>): Promise<IHttpResponse<string>>;
6
6
  }
@@ -1,7 +1,7 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { LicenseUnbindLogRequest } from './entities';
4
4
  export declare class LicenseUnbindLogService extends PlatformBaseService {
5
5
  constructor();
6
- post(data: LicenseUnbindLogRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
6
+ post(data: LicenseUnbindLogRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { ClientsDto, AuthBasicInfo, LicenseExpireMsg, LicenseLimitResponse, AcLicenseResponse } from './entities';
4
4
  export interface getActivateQuery {
@@ -43,15 +43,15 @@ export interface getUnbindQuery {
43
43
  }
44
44
  export declare class LicenseService extends PlatformBaseService {
45
45
  constructor();
46
- getActivate(query: getActivateQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
47
- postActivates(config?: Record<string, string>): Promise<AxiosResponse<string>>;
48
- postActivatesOffline(query: postActivatesOfflineQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
49
- getCheckLicense(config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
50
- getClients(query: getClientsQuery, config?: Record<string, string>): Promise<AxiosResponse<ClientsDto>>;
51
- getGetAppBasicInfo(query: getGetAppBasicInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<AuthBasicInfo>>;
52
- getGetExpireMsg(query: getGetExpireMsgQuery, config?: Record<string, string>): Promise<AxiosResponse<LicenseExpireMsg>>;
53
- getGetUsers(query: getGetUsersQuery, config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
54
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<LicenseLimitResponse>>;
55
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<AcLicenseResponse>>;
56
- getUnbind(query: getUnbindQuery, config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
46
+ getActivate(query: getActivateQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
47
+ postActivates(config?: Record<string, string>): Promise<IHttpResponse<string>>;
48
+ postActivatesOffline(query: postActivatesOfflineQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
49
+ getCheckLicense(config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
50
+ getClients(query: getClientsQuery, config?: Record<string, string>): Promise<IHttpResponse<ClientsDto>>;
51
+ getGetAppBasicInfo(query: getGetAppBasicInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<AuthBasicInfo>>;
52
+ getGetExpireMsg(query: getGetExpireMsgQuery, config?: Record<string, string>): Promise<IHttpResponse<LicenseExpireMsg>>;
53
+ getGetUsers(query: getGetUsersQuery, config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
54
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<LicenseLimitResponse>>;
55
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<AcLicenseResponse>>;
56
+ getUnbind(query: getUnbindQuery, config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
57
57
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { LoginLogResponse } from './entities';
4
4
  export interface getPageQuery {
@@ -11,5 +11,5 @@ export interface getPageQuery {
11
11
  }
12
12
  export declare class LoginLogService extends PlatformBaseService {
13
13
  constructor();
14
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<LoginLogResponse>>;
14
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<LoginLogResponse>>;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { ThirdAppConfigReq, SmsDto, UserBaseReq, UserLoginResp } from './entities';
4
4
  export interface getUserAppAuthQuery {
@@ -7,9 +7,9 @@ export interface getUserAppAuthQuery {
7
7
  }
8
8
  export declare class LoginService extends PlatformBaseService {
9
9
  constructor();
10
- postCheckApp(data: ThirdAppConfigReq, config?: Record<string, string>): Promise<AxiosResponse<string>>;
11
- postSendMsg(data: SmsDto, config?: Record<string, string>): Promise<AxiosResponse<string>>;
12
- postSign(data: UserBaseReq, config?: Record<string, string>): Promise<AxiosResponse<UserLoginResp>>;
13
- getSignOut(config?: Record<string, string>): Promise<AxiosResponse<string>>;
14
- getUserAppAuth(query: getUserAppAuthQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
10
+ postCheckApp(data: ThirdAppConfigReq, config?: Record<string, string>): Promise<IHttpResponse<string>>;
11
+ postSendMsg(data: SmsDto, config?: Record<string, string>): Promise<IHttpResponse<string>>;
12
+ postSign(data: UserBaseReq, config?: Record<string, string>): Promise<IHttpResponse<UserLoginResp>>;
13
+ getSignOut(config?: Record<string, string>): Promise<IHttpResponse<string>>;
14
+ getUserAppAuth(query: getUserAppAuthQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { ManagerBean } from './entities';
4
4
  export interface getPlatQuery {
@@ -11,6 +11,6 @@ export interface getTenantQuery {
11
11
  }
12
12
  export declare class ManagerService extends PlatformBaseService {
13
13
  constructor();
14
- getPlat(query: getPlatQuery, config?: Record<string, string>): Promise<AxiosResponse<ManagerBean>>;
15
- getTenant(query: getTenantQuery, config?: Record<string, string>): Promise<AxiosResponse<ManagerBean>>;
14
+ getPlat(query: getPlatQuery, config?: Record<string, string>): Promise<IHttpResponse<ManagerBean>>;
15
+ getTenant(query: getTenantQuery, config?: Record<string, string>): Promise<IHttpResponse<ManagerBean>>;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { MessageSettingRequest, MessageSettingCountResponse, MessageSettingResponse, SendMessageRequest, SendEmailMessageRequest } from './entities';
4
4
  export interface deleteQuery {
@@ -28,14 +28,14 @@ export interface putIdQuery {
28
28
  }
29
29
  export declare class MessageSettingService extends PlatformBaseService {
30
30
  constructor();
31
- post(data: MessageSettingRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
32
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
33
- getGetTypeCount(config?: Record<string, string>): Promise<AxiosResponse<MessageSettingCountResponse>>;
34
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<MessageSettingResponse>>;
35
- getList(query: getListQuery, config?: Record<string, string>): Promise<AxiosResponse<MessageSettingResponse>>;
36
- postMqtt(data: SendMessageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
37
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<MessageSettingResponse>>;
38
- postSendEmailMessage(data: SendEmailMessageRequest, config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
39
- postSendMessage(data: SendMessageRequest, config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
40
- putId(query: putIdQuery, data: MessageSettingRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
31
+ post(data: MessageSettingRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
32
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
33
+ getGetTypeCount(config?: Record<string, string>): Promise<IHttpResponse<MessageSettingCountResponse>>;
34
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<MessageSettingResponse>>;
35
+ getList(query: getListQuery, config?: Record<string, string>): Promise<IHttpResponse<MessageSettingResponse>>;
36
+ postMqtt(data: SendMessageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
37
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<MessageSettingResponse>>;
38
+ postSendEmailMessage(data: SendEmailMessageRequest, config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
39
+ postSendMessage(data: SendMessageRequest, config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
40
+ putId(query: putIdQuery, data: MessageSettingRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
41
41
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { NavMenuRequest, NavMenuResponse, SingleRequest } from './entities';
4
4
  export interface deleteQuery {
@@ -16,13 +16,13 @@ export interface putIdQuery {
16
16
  }
17
17
  export declare class NavMenuService extends PlatformBaseService {
18
18
  constructor();
19
- post(data: NavMenuRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- getGetSelected(config?: Record<string, string>): Promise<AxiosResponse<NavMenuResponse>>;
22
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<NavMenuResponse>>;
23
- getList(config?: Record<string, string>): Promise<AxiosResponse<NavMenuResponse>>;
24
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<NavMenuResponse>>;
25
- postSelect(data: SingleRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
26
- putUpdateDesignerJson(data: NavMenuRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
27
- putId(query: putIdQuery, data: NavMenuRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
+ post(data: NavMenuRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ getGetSelected(config?: Record<string, string>): Promise<IHttpResponse<NavMenuResponse>>;
22
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<NavMenuResponse>>;
23
+ getList(config?: Record<string, string>): Promise<IHttpResponse<NavMenuResponse>>;
24
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<NavMenuResponse>>;
25
+ postSelect(data: SingleRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
26
+ putUpdateDesignerJson(data: NavMenuRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
27
+ putId(query: putIdQuery, data: NavMenuRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
28
28
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { NavPageRequest, NavPageResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -16,11 +16,11 @@ export interface putIdQuery {
16
16
  }
17
17
  export declare class NavPageService extends PlatformBaseService {
18
18
  constructor();
19
- post(data: NavPageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<NavPageResponse>>;
22
- getList(config?: Record<string, string>): Promise<AxiosResponse<NavPageResponse>>;
23
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<NavPageResponse>>;
24
- putUpdateDesignerJson(data: NavPageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
25
- putId(query: putIdQuery, data: NavPageRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
+ post(data: NavPageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<NavPageResponse>>;
22
+ getList(config?: Record<string, string>): Promise<IHttpResponse<NavPageResponse>>;
23
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<NavPageResponse>>;
24
+ putUpdateDesignerJson(data: NavPageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
25
+ putId(query: putIdQuery, data: NavPageRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
26
26
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { OpenapiGroupRequest, OpenapiResponse, OpenapiGroupResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -29,10 +29,10 @@ export interface putIdQuery {
29
29
  }
30
30
  export declare class OpenapiGroupService extends PlatformBaseService {
31
31
  constructor();
32
- post(data: OpenapiGroupRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
33
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
34
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<OpenapiResponse>>;
35
- getList(query: getListQuery, config?: Record<string, string>): Promise<AxiosResponse<unknown>>;
36
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<OpenapiGroupResponse>>;
37
- putId(query: putIdQuery, data: OpenapiGroupRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
32
+ post(data: OpenapiGroupRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
33
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
34
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<OpenapiResponse>>;
35
+ getList(query: getListQuery, config?: Record<string, string>): Promise<IHttpResponse<unknown>>;
36
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<OpenapiGroupResponse>>;
37
+ putId(query: putIdQuery, data: OpenapiGroupRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
38
38
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { OpenapiKeyGrantResponse, OpenapiAggregateResponse, OpenapiAuthorizationSetRequest } from './entities';
4
4
  export interface deleteQuery {
@@ -16,11 +16,11 @@ export interface putIdQuery {
16
16
  }
17
17
  export declare class OpenapiKeyGrantService extends PlatformBaseService {
18
18
  constructor();
19
- post(config?: Record<string, string>): Promise<AxiosResponse<string>>;
20
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
21
- getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<AxiosResponse<OpenapiKeyGrantResponse>>;
22
- getList(config?: Record<string, string>): Promise<AxiosResponse<OpenapiKeyGrantResponse>>;
23
- getOpenapi(config?: Record<string, string>): Promise<AxiosResponse<OpenapiAggregateResponse>>;
24
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<OpenapiKeyGrantResponse>>;
25
- putId(query: putIdQuery, data: OpenapiAuthorizationSetRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
19
+ post(config?: Record<string, string>): Promise<IHttpResponse<string>>;
20
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
+ getInfo(query: getInfoQuery, config?: Record<string, string>): Promise<IHttpResponse<OpenapiKeyGrantResponse>>;
22
+ getList(config?: Record<string, string>): Promise<IHttpResponse<OpenapiKeyGrantResponse>>;
23
+ getOpenapi(config?: Record<string, string>): Promise<IHttpResponse<OpenapiAggregateResponse>>;
24
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<OpenapiKeyGrantResponse>>;
25
+ putId(query: putIdQuery, data: OpenapiAuthorizationSetRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
26
26
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { PickerUserDTO } from './entities';
4
4
  export interface getManagementQuery {
@@ -9,6 +9,6 @@ export interface getTenantQuery {
9
9
  }
10
10
  export declare class OrgUserPickerService extends PlatformBaseService {
11
11
  constructor();
12
- getManagement(query: getManagementQuery, config?: Record<string, string>): Promise<AxiosResponse<PickerUserDTO>>;
13
- getTenant(query: getTenantQuery, config?: Record<string, string>): Promise<AxiosResponse<PickerUserDTO>>;
12
+ getManagement(query: getManagementQuery, config?: Record<string, string>): Promise<IHttpResponse<PickerUserDTO>>;
13
+ getTenant(query: getTenantQuery, config?: Record<string, string>): Promise<IHttpResponse<PickerUserDTO>>;
14
14
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { OrgRequest, OrgDragRequest, OrgResponse, OrgTransferAndDeleteRequest, OrgAddOrUpdateUserRequest, OrgUserResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -24,15 +24,15 @@ export interface putIdQuery {
24
24
  }
25
25
  export declare class OrgService extends PlatformBaseService {
26
26
  constructor();
27
- post(data: OrgRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
28
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
29
- postDrag(data: OrgDragRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
30
- getInfo(config?: Record<string, string>): Promise<AxiosResponse<OrgResponse>>;
31
- postInputCheck(data: OrgRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
32
- getList(config?: Record<string, string>): Promise<AxiosResponse<OrgResponse>>;
33
- postOrgHavePersonCheck(data: OrgRequest, config?: Record<string, string>): Promise<AxiosResponse<boolean>>;
34
- postTransferAndDelete(data: OrgTransferAndDeleteRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
35
- postUser(data: OrgAddOrUpdateUserRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
36
- getUser(query: getUserQuery, config?: Record<string, string>): Promise<AxiosResponse<OrgUserResponse>>;
37
- putId(query: putIdQuery, data: OrgRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
27
+ post(data: OrgRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
28
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
29
+ postDrag(data: OrgDragRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
30
+ getInfo(config?: Record<string, string>): Promise<IHttpResponse<OrgResponse>>;
31
+ postInputCheck(data: OrgRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
32
+ getList(config?: Record<string, string>): Promise<IHttpResponse<OrgResponse>>;
33
+ postOrgHavePersonCheck(data: OrgRequest, config?: Record<string, string>): Promise<IHttpResponse<boolean>>;
34
+ postTransferAndDelete(data: OrgTransferAndDeleteRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
35
+ postUser(data: OrgAddOrUpdateUserRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
36
+ getUser(query: getUserQuery, config?: Record<string, string>): Promise<IHttpResponse<OrgUserResponse>>;
37
+ putId(query: putIdQuery, data: OrgRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
38
38
  }
@@ -1,4 +1,4 @@
1
- import { AxiosResponse } from 'axios';
1
+ import { IHttpResponse } from '../../interface';
2
2
  import { PlatformBaseService } from '../base/platform-base.service';
3
3
  import { PermissionRequest, PermissionResponse } from './entities';
4
4
  export interface deleteQuery {
@@ -13,9 +13,9 @@ export interface putIdQuery {
13
13
  }
14
14
  export declare class PermissionService extends PlatformBaseService {
15
15
  constructor();
16
- post(data: PermissionRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
17
- delete(query: deleteQuery, config?: Record<string, string>): Promise<AxiosResponse<string>>;
18
- getList(config?: Record<string, string>): Promise<AxiosResponse<PermissionResponse>>;
19
- getPage(query: getPageQuery, config?: Record<string, string>): Promise<AxiosResponse<PermissionResponse>>;
20
- putId(query: putIdQuery, data: PermissionRequest, config?: Record<string, string>): Promise<AxiosResponse<string>>;
16
+ post(data: PermissionRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
17
+ delete(query: deleteQuery, config?: Record<string, string>): Promise<IHttpResponse<string>>;
18
+ getList(config?: Record<string, string>): Promise<IHttpResponse<PermissionResponse>>;
19
+ getPage(query: getPageQuery, config?: Record<string, string>): Promise<IHttpResponse<PermissionResponse>>;
20
+ putId(query: putIdQuery, data: PermissionRequest, config?: Record<string, string>): Promise<IHttpResponse<string>>;
21
21
  }