@gct-paas/api 0.1.4-dev.3 → 0.1.4-dev.4

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 (38) hide show
  1. package/dist/index.esm.min.js +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/es/apaas/service/api-config.mjs +15 -2
  4. package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
  5. package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
  6. package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
  7. package/es/apaas/service/apis/file.service.d.ts +1 -1
  8. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
  9. package/es/apaas/service/apis/label.service.d.ts +1 -1
  10. package/es/apaas/service/apis/model-method.service.d.ts +19 -1
  11. package/es/apaas/service/apis/office.service.d.ts +1 -1
  12. package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
  13. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
  14. package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
  15. package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
  16. package/es/apaas/service/entities.d.ts +14 -0
  17. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
  18. package/es/ipaas/service/apis/flow.service.d.ts +1 -1
  19. package/es/platform/service/api-config.mjs +16 -0
  20. package/es/platform/service/apis/api.service.d.ts +5 -0
  21. package/es/platform/service/apis/apk.service.d.ts +1 -1
  22. package/es/platform/service/apis/app.service.d.ts +5 -1
  23. package/es/platform/service/apis/assets.service.d.ts +1 -1
  24. package/es/platform/service/apis/bi-file.service.d.ts +1 -1
  25. package/es/platform/service/apis/dashboard.service.d.ts +4 -0
  26. package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
  27. package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
  28. package/es/platform/service/apis/file.service.d.ts +3 -3
  29. package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
  30. package/es/platform/service/apis/ldap.service.d.ts +1 -1
  31. package/es/platform/service/apis/login-log.service.d.ts +13 -0
  32. package/es/platform/service/apis/org.service.d.ts +4 -0
  33. package/es/platform/service/apis/plat.service.d.ts +8 -1
  34. package/es/platform/service/apis/pn-project.service.d.ts +1 -1
  35. package/es/platform/service/apis/tenant.service.d.ts +4 -0
  36. package/es/platform/service/apis/user.service.d.ts +6 -6
  37. package/es/platform/service/entities.d.ts +357 -4
  38. package/package.json +3 -3
@@ -2343,6 +2343,12 @@ export const apiConfig = [
2343
2343
  path: "page/list",
2344
2344
  hasQuery: true
2345
2345
  },
2346
+ {
2347
+ mode: "post",
2348
+ method: "postSort",
2349
+ path: "sort",
2350
+ hasData: true
2351
+ },
2346
2352
  {
2347
2353
  mode: "put",
2348
2354
  method: "putId",
@@ -4160,7 +4166,8 @@ export const apiConfig = [
4160
4166
  {
4161
4167
  mode: "get",
4162
4168
  method: "getDataModelList",
4163
- path: "data-model/list"
4169
+ path: "data-model/list",
4170
+ hasQuery: true
4164
4171
  },
4165
4172
  {
4166
4173
  mode: "get",
@@ -4183,7 +4190,8 @@ export const apiConfig = [
4183
4190
  {
4184
4191
  mode: "get",
4185
4192
  method: "getViewModelList",
4186
- path: "view-model/list"
4193
+ path: "view-model/list",
4194
+ hasQuery: true
4187
4195
  },
4188
4196
  {
4189
4197
  mode: "put",
@@ -4750,6 +4758,11 @@ export const apiConfig = [
4750
4758
  path: "infos",
4751
4759
  hasData: true
4752
4760
  },
4761
+ {
4762
+ mode: "get",
4763
+ method: "getIsOcrGranted",
4764
+ path: "isOcrGranted"
4765
+ },
4753
4766
  {
4754
4767
  mode: "get",
4755
4768
  method: "getListBaseAndProcessForm",
@@ -435,14 +435,14 @@ export interface DesignerCommonService {
435
435
  query: postUploadFileQuery,
436
436
  data: UploadFileData,
437
437
  config?: Partial<AxiosRequestConfig>,
438
- ): Promise<string>;
438
+ ): Promise<IHttpResponse<string>>;
439
439
  /**
440
440
  * 上传标签图片
441
441
  */
442
442
  postUploadLabelImage(
443
443
  data: UploadFileData,
444
444
  config?: Partial<AxiosRequestConfig>,
445
- ): Promise<string>;
445
+ ): Promise<IHttpResponse<string>>;
446
446
  /**
447
447
  * 获取用户角色权限组
448
448
  */
@@ -3,6 +3,7 @@ import type {
3
3
  EnumModelFieldRequest,
4
4
  EnumModelFieldDragRequest,
5
5
  EnumModelFieldResponse,
6
+ EnumModelFieldSortReq,
6
7
  } from '../entities';
7
8
 
8
9
  export interface deleteQuery {
@@ -113,6 +114,13 @@ export interface EnumModelFieldService {
113
114
  query: getPageListQuery,
114
115
  config?: Partial<AxiosRequestConfig>,
115
116
  ): Promise<IPage<EnumModelFieldResponse>>;
117
+ /**
118
+ * 拖拽排序
119
+ */
120
+ postSort(
121
+ data: EnumModelFieldSortReq,
122
+ config?: Partial<AxiosRequestConfig>,
123
+ ): Promise<string>;
116
124
  /**
117
125
  * 修改
118
126
  */
@@ -37,5 +37,5 @@ export interface FileResourceService {
37
37
  query: postUploadQuery,
38
38
  data: UploadFileData,
39
39
  config?: Partial<AxiosRequestConfig>,
40
- ): Promise<string>;
40
+ ): Promise<IHttpResponse<string>>;
41
41
  }
@@ -45,5 +45,5 @@ export interface FileService {
45
45
  query: postUploadImageQuery,
46
46
  data: UploadFileData,
47
47
  config?: Partial<AxiosRequestConfig>,
48
- ): Promise<string>;
48
+ ): Promise<IHttpResponse<string>>;
49
49
  }
@@ -66,7 +66,7 @@ export interface I18NInfoService {
66
66
  query: postLangUploadQuery,
67
67
  data: UploadFileData,
68
68
  config?: Partial<AxiosRequestConfig>,
69
- ): Promise<object>;
69
+ ): Promise<IHttpResponse<object>>;
70
70
  /**
71
71
  * 分页列表
72
72
  */
@@ -262,7 +262,7 @@ export interface LabelService {
262
262
  postImport(
263
263
  data: UploadFileData,
264
264
  config?: Partial<AxiosRequestConfig>,
265
- ): Promise<LabelResponse>;
265
+ ): Promise<IHttpResponse<LabelResponse>>;
266
266
  /**
267
267
  * 标签和分类树
268
268
  */
@@ -7,6 +7,12 @@ export interface deleteQuery {
7
7
  */
8
8
  ids: string;
9
9
  }
10
+ export interface getDataModelListQuery {
11
+ /**
12
+ * 搜索关键字
13
+ */
14
+ keyword?: string;
15
+ }
10
16
  export interface getInfoQuery {
11
17
  /**
12
18
  * id
@@ -15,7 +21,11 @@ export interface getInfoQuery {
15
21
  }
16
22
  export interface getListQuery {
17
23
  /**
18
- * modelKey
24
+ * 搜索关键字
25
+ */
26
+ keyword?: string;
27
+ /**
28
+ * 模型key
19
29
  */
20
30
  modelKey: string;
21
31
  }
@@ -29,6 +39,12 @@ export interface getPageListQuery {
29
39
  */
30
40
  pageSize?: number;
31
41
  }
42
+ export interface getViewModelListQuery {
43
+ /**
44
+ * 搜索关键字
45
+ */
46
+ keyword?: string;
47
+ }
32
48
  export interface putIdPathParams {
33
49
  id: string;
34
50
  }
@@ -51,6 +67,7 @@ export interface ModelMethodService {
51
67
  * 数据模型方法列表
52
68
  */
53
69
  getDataModelList(
70
+ query: getDataModelListQuery,
54
71
  config?: Partial<AxiosRequestConfig>,
55
72
  ): Promise<ModelMethodResponse[]>;
56
73
  /**
@@ -78,6 +95,7 @@ export interface ModelMethodService {
78
95
  * 视图模型方法列表
79
96
  */
80
97
  getViewModelList(
98
+ query: getViewModelListQuery,
81
99
  config?: Partial<AxiosRequestConfig>,
82
100
  ): Promise<ModelMethodResponse[]>;
83
101
  /**
@@ -6,5 +6,5 @@ export interface OfficeService {
6
6
  postDocxJson(
7
7
  data: UploadFileData,
8
8
  config?: Partial<AxiosRequestConfig>,
9
- ): Promise<string>;
9
+ ): Promise<IHttpResponse<string>>;
10
10
  }
@@ -26,5 +26,5 @@ export interface OnlineFormTmplExportService {
26
26
  query: postImportJsonlQuery,
27
27
  data: UploadFileData,
28
28
  config?: Partial<AxiosRequestConfig>,
29
- ): Promise<ImportResponse>;
29
+ ): Promise<IHttpResponse<ImportResponse>>;
30
30
  }
@@ -203,6 +203,10 @@ export interface OnlineFormTmplService {
203
203
  data: DocumentInfo4Req,
204
204
  config?: Partial<AxiosRequestConfig>,
205
205
  ): Promise<OnlineFormTmplResponse[]>;
206
+ /**
207
+ * 是否包含OCR模块权限
208
+ */
209
+ getIsOcrGranted(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
206
210
  /**
207
211
  * 获取所有基础表单和流程表单
208
212
  */
@@ -118,6 +118,10 @@ export interface getPageListQuery {
118
118
  * 任务类型
119
119
  */
120
120
  taskType?: string;
121
+ /**
122
+ *
123
+ */
124
+ taskTypeList?: string[];
121
125
  /**
122
126
  * 表单任务名称
123
127
  */
@@ -118,6 +118,10 @@ export interface getAllUserPageListQuery {
118
118
  * 任务类型
119
119
  */
120
120
  taskType?: string;
121
+ /**
122
+ *
123
+ */
124
+ taskTypeList?: string[];
121
125
  /**
122
126
  * 表单任务名称
123
127
  */
@@ -236,6 +240,10 @@ export interface getPageListQuery {
236
240
  * 任务类型
237
241
  */
238
242
  taskType?: string;
243
+ /**
244
+ *
245
+ */
246
+ taskTypeList?: string[];
239
247
  /**
240
248
  * 表单任务名称
241
249
  */
@@ -8069,6 +8069,20 @@ export interface EnumModelFieldResponse {
8069
8069
  */
8070
8070
  value?: string;
8071
8071
  }
8072
+ export interface EnumModelFieldSortReq {
8073
+ /**
8074
+ * 枚举模型id
8075
+ *
8076
+ * @type string
8077
+ */
8078
+ enumModelId?: string;
8079
+ /**
8080
+ *
8081
+ *
8082
+ * @type string[]
8083
+ */
8084
+ ids?: string[];
8085
+ }
8072
8086
  export interface EnumModelRequest {
8073
8087
  /**
8074
8088
  * 分类id
@@ -90,7 +90,7 @@ export interface ConnectorConfigService {
90
90
  query: postImportQuery,
91
91
  data: UploadFileData,
92
92
  config?: Partial<AxiosRequestConfig>,
93
- ): Promise<string>;
93
+ ): Promise<IHttpResponse<string>>;
94
94
  /**
95
95
  * 详情
96
96
  */
@@ -126,7 +126,7 @@ export interface FlowService {
126
126
  query: postImportQuery,
127
127
  data: UploadFileData,
128
128
  config?: Partial<AxiosRequestConfig>,
129
- ): Promise<boolean>;
129
+ ): Promise<IHttpResponse<boolean>>;
130
130
  /**
131
131
  * 分类下的已上线的连接流 - 只返回触发类型为webhook的
132
132
  */
@@ -2062,6 +2062,12 @@ export const apiConfig = [
2062
2062
  method: "getPageList",
2063
2063
  path: "page/list",
2064
2064
  hasQuery: true
2065
+ },
2066
+ {
2067
+ mode: "get",
2068
+ method: "getTenantLog",
2069
+ path: "tenant/log",
2070
+ hasQuery: true
2065
2071
  }
2066
2072
  ]
2067
2073
  },
@@ -2710,6 +2716,11 @@ export const apiConfig = [
2710
2716
  path: "base",
2711
2717
  hasData: true
2712
2718
  },
2719
+ {
2720
+ mode: "get",
2721
+ method: "getCardLoginCfg",
2722
+ path: "card/login/cfg"
2723
+ },
2713
2724
  {
2714
2725
  mode: "post",
2715
2726
  method: "postDingtalk",
@@ -5497,6 +5508,11 @@ export const apiConfig = [
5497
5508
  hasPathParams: true,
5498
5509
  hasData: true
5499
5510
  },
5511
+ {
5512
+ mode: "get",
5513
+ method: "getCallbackLogin",
5514
+ path: "callback/login"
5515
+ },
5500
5516
  {
5501
5517
  mode: "get",
5502
5518
  method: "getDataSourceExecuteSelect",
@@ -28,6 +28,7 @@ import type {
28
28
  TenantUserSearchRequest,
29
29
  UserWithUserExtraDTO,
30
30
  UserIdsDTO,
31
+ RedirectView,
31
32
  DataSourceUpdateRequest,
32
33
  DatasourceExtDTO,
33
34
  DataSourcePageRequest,
@@ -1149,6 +1150,10 @@ export interface ApiService {
1149
1150
  data: UserSaveRequest,
1150
1151
  config?: Partial<AxiosRequestConfig>,
1151
1152
  ): Promise<string>;
1153
+ /**
1154
+ * 重定向到微软登录页
1155
+ */
1156
+ getCallbackLogin(config?: Partial<AxiosRequestConfig>): Promise<RedirectView>;
1152
1157
  /**
1153
1158
  * 查询数据-iPaaS
1154
1159
  */
@@ -53,7 +53,7 @@ export interface ApkService {
53
53
  postUploadApk(
54
54
  data: UploadFileData,
55
55
  config?: Partial<AxiosRequestConfig>,
56
- ): Promise<string>;
56
+ ): Promise<IHttpResponse<string>>;
57
57
  /**
58
58
  * 激活版本
59
59
  */
@@ -203,6 +203,10 @@ export interface getModelMetaListQuery {
203
203
  *
204
204
  */
205
205
  modifyUserName?: string;
206
+ /**
207
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
208
+ */
209
+ module?: string;
206
210
  /**
207
211
  *
208
212
  */
@@ -714,7 +718,7 @@ export interface AppService {
714
718
  postUploadAppPkg(
715
719
  data: UploadFileData,
716
720
  config?: Partial<AxiosRequestConfig>,
717
- ): Promise<string>;
721
+ ): Promise<IHttpResponse<string>>;
718
722
  /**
719
723
  * 修改
720
724
  */
@@ -99,5 +99,5 @@ export interface AssetsService {
99
99
  path: postUploadCategoryIdPathParams,
100
100
  data: UploadFileData,
101
101
  config?: Partial<AxiosRequestConfig>,
102
- ): Promise<string>;
102
+ ): Promise<IHttpResponse<string>>;
103
103
  }
@@ -17,5 +17,5 @@ export interface BiFileService {
17
17
  query: postUploadQuery,
18
18
  data: UploadFileData,
19
19
  config?: Partial<AxiosRequestConfig>,
20
- ): Promise<string>;
20
+ ): Promise<IHttpResponse<string>>;
21
21
  }
@@ -32,6 +32,10 @@ export interface getPageListQuery {
32
32
  * 每页数据条数
33
33
  */
34
34
  pageSize?: number;
35
+ /**
36
+ * 仪表盘来源
37
+ */
38
+ source?: number;
35
39
  }
36
40
  export interface putIdPathParams {
37
41
  id: string;
@@ -59,7 +59,7 @@ export interface DeviceInterconnectionParamService {
59
59
  postImport(
60
60
  data: UploadFileData,
61
61
  config?: Partial<AxiosRequestConfig>,
62
- ): Promise<string>;
62
+ ): Promise<IHttpResponse<string>>;
63
63
  /**
64
64
  * 详情
65
65
  */
@@ -72,7 +72,7 @@ export interface DeviceInterconnectionService {
72
72
  postImport(
73
73
  data: UploadFileData,
74
74
  config?: Partial<AxiosRequestConfig>,
75
- ): Promise<string>;
75
+ ): Promise<IHttpResponse<string>>;
76
76
  /**
77
77
  * 详情
78
78
  */
@@ -28,14 +28,14 @@ export interface FileService {
28
28
  query: postUploadCommonQuery,
29
29
  data: UploadFileData,
30
30
  config?: Partial<AxiosRequestConfig>,
31
- ): Promise<string>;
31
+ ): Promise<IHttpResponse<string>>;
32
32
  /**
33
33
  * 文件上传minio用作数据集
34
34
  */
35
35
  postUploadDataset(
36
36
  data: UploadFileData,
37
37
  config?: Partial<AxiosRequestConfig>,
38
- ): Promise<object>;
38
+ ): Promise<IHttpResponse<object>>;
39
39
  /**
40
40
  * 文件上传minio
41
41
  */
@@ -43,5 +43,5 @@ export interface FileService {
43
43
  query: postUploadImageQuery,
44
44
  data: UploadFileData,
45
45
  config?: Partial<AxiosRequestConfig>,
46
- ): Promise<string>;
46
+ ): Promise<IHttpResponse<string>>;
47
47
  }
@@ -97,7 +97,7 @@ export interface I18NInfoService {
97
97
  query: postLangUploadQuery,
98
98
  data: UploadFileData,
99
99
  config?: Partial<AxiosRequestConfig>,
100
- ): Promise<object>;
100
+ ): Promise<IHttpResponse<object>>;
101
101
  /**
102
102
  * 分页列表
103
103
  */
@@ -6,5 +6,5 @@ export interface LdapService {
6
6
  postUploadCertificate(
7
7
  data: UploadFileData,
8
8
  config?: Partial<AxiosRequestConfig>,
9
- ): Promise<string>;
9
+ ): Promise<IHttpResponse<string>>;
10
10
  }
@@ -27,6 +27,12 @@ export interface getPageListQuery {
27
27
  */
28
28
  startTime?: string;
29
29
  }
30
+ export interface getTenantLogQuery {
31
+ /**
32
+ * 租户ID
33
+ */
34
+ tenantId: string;
35
+ }
30
36
  export interface LoginLogService {
31
37
  /**
32
38
  * 登录足迹分页列表
@@ -35,4 +41,11 @@ export interface LoginLogService {
35
41
  query: getPageListQuery,
36
42
  config?: Partial<AxiosRequestConfig>,
37
43
  ): Promise<IPage<LoginLogResponse>>;
44
+ /**
45
+ * 最近登录租户
46
+ */
47
+ getTenantLog(
48
+ query: getTenantLogQuery,
49
+ config?: Partial<AxiosRequestConfig>,
50
+ ): Promise<string>;
38
51
  }
@@ -81,6 +81,10 @@ export interface getUserPageListQuery {
81
81
  * 排序方式:ASC/DESC, 不传默认 ASC
82
82
  */
83
83
  sortType?: string;
84
+ /**
85
+ * 参数来源,0企业后台管理、1租户后台管理
86
+ */
87
+ source?: number;
84
88
  /**
85
89
  * 创建开始时间
86
90
  */
@@ -3,6 +3,7 @@ import type {
3
3
  SysConfigResponse,
4
4
  SysConfigRequest,
5
5
  PlatformBaseConfig,
6
+ CardLoginConfig,
6
7
  DingTalkConfig,
7
8
  MailConfig,
8
9
  FeiShuConfig,
@@ -63,6 +64,12 @@ export interface PlatService {
63
64
  data: PlatformBaseConfig,
64
65
  config?: Partial<AxiosRequestConfig>,
65
66
  ): Promise<string>;
67
+ /**
68
+ * 查询刷卡登录是否启用
69
+ */
70
+ getCardLoginCfg(
71
+ config?: Partial<AxiosRequestConfig>,
72
+ ): Promise<CardLoginConfig>;
66
73
  /**
67
74
  * 钉钉设置 保存/更新
68
75
  */
@@ -146,7 +153,7 @@ export interface PlatService {
146
153
  postUploadCertFile(
147
154
  data: UploadFileData,
148
155
  config?: Partial<AxiosRequestConfig>,
149
- ): Promise<string>;
156
+ ): Promise<IHttpResponse<string>>;
150
157
  /**
151
158
  * (平台管理)添加管理员 保存
152
159
  */
@@ -123,7 +123,7 @@ export interface PnProjectService {
123
123
  query: postImportQuery,
124
124
  data: UploadFileData,
125
125
  config?: Partial<AxiosRequestConfig>,
126
- ): Promise<string>;
126
+ ): Promise<IHttpResponse<string>>;
127
127
  /**
128
128
  * 详情
129
129
  */
@@ -131,6 +131,10 @@ export interface getManagementOrgUserPageListQuery {
131
131
  * 排序方式:ASC/DESC, 不传默认 ASC
132
132
  */
133
133
  sortType?: string;
134
+ /**
135
+ * 参数来源,0企业后台管理、1租户后台管理
136
+ */
137
+ source?: number;
134
138
  /**
135
139
  * 创建开始时间
136
140
  */
@@ -160,7 +160,7 @@ export interface UserService {
160
160
  query: postOrgPlatImportQuery,
161
161
  data: UploadFileData,
162
162
  config?: Partial<AxiosRequestConfig>,
163
- ): Promise<object>;
163
+ ): Promise<IHttpResponse<object>>;
164
164
  /**
165
165
  * (平台管理)组织成员 导出部门人员
166
166
  */
@@ -175,7 +175,7 @@ export interface UserService {
175
175
  query: postOrgTenantImportQuery,
176
176
  data: UploadFileData,
177
177
  config?: Partial<AxiosRequestConfig>,
178
- ): Promise<object>;
178
+ ): Promise<IHttpResponse<object>>;
179
179
  /**
180
180
  * (租户管理后台)组织成员 导入人员
181
181
  */
@@ -183,7 +183,7 @@ export interface UserService {
183
183
  query: postOrgTenantImport4AppQuery,
184
184
  data: UploadFileData,
185
185
  config?: Partial<AxiosRequestConfig>,
186
- ): Promise<object>;
186
+ ): Promise<IHttpResponse<object>>;
187
187
  /**
188
188
  * (租户管理后台)组织成员 导出部门人员
189
189
  */
@@ -211,7 +211,7 @@ export interface UserService {
211
211
  postPlatImport(
212
212
  data: UploadFileData,
213
213
  config?: Partial<AxiosRequestConfig>,
214
- ): Promise<object>;
214
+ ): Promise<IHttpResponse<object>>;
215
215
  /**
216
216
  * (平台管理)用户管理 导出人员
217
217
  */
@@ -260,14 +260,14 @@ export interface UserService {
260
260
  postTenantImport(
261
261
  data: UploadFileData,
262
262
  config?: Partial<AxiosRequestConfig>,
263
- ): Promise<object>;
263
+ ): Promise<IHttpResponse<object>>;
264
264
  /**
265
265
  * (租户管理后台)用户管理 导入(平台/公司)人员
266
266
  */
267
267
  postTenantImport4App(
268
268
  data: UploadFileData,
269
269
  config?: Partial<AxiosRequestConfig>,
270
- ): Promise<object>;
270
+ ): Promise<IHttpResponse<object>>;
271
271
  /**
272
272
  * (租户管理后台)用户管理 导出人员
273
273
  */