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

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 (48) hide show
  1. package/dist/index.esm.min.js +4 -1
  2. package/dist/index.system.min.js +4 -1
  3. package/es/apaas/service/api-config.mjs +15 -2
  4. package/es/apaas/service/apis/audit-log.service.d.ts +1 -1
  5. package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
  6. package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
  7. package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
  8. package/es/apaas/service/apis/file.service.d.ts +1 -1
  9. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
  10. package/es/apaas/service/apis/label.service.d.ts +1 -1
  11. package/es/apaas/service/apis/model-method.service.d.ts +19 -1
  12. package/es/apaas/service/apis/office.service.d.ts +1 -1
  13. package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
  14. package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
  15. package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
  16. package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
  17. package/es/apaas/service/entities.d.ts +105 -1
  18. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
  19. package/es/ipaas/service/apis/flow.service.d.ts +1 -1
  20. package/es/platform/service/api-config.mjs +22 -0
  21. package/es/platform/service/apis/api.service.d.ts +21 -1
  22. package/es/platform/service/apis/apk.service.d.ts +1 -1
  23. package/es/platform/service/apis/app.service.d.ts +5 -1
  24. package/es/platform/service/apis/assets.service.d.ts +1 -1
  25. package/es/platform/service/apis/bi-file.service.d.ts +1 -1
  26. package/es/platform/service/apis/dashboard.service.d.ts +4 -0
  27. package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
  28. package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
  29. package/es/platform/service/apis/file.service.d.ts +3 -3
  30. package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
  31. package/es/platform/service/apis/ldap.service.d.ts +1 -1
  32. package/es/platform/service/apis/login-log.service.d.ts +13 -0
  33. package/es/platform/service/apis/org.service.d.ts +4 -0
  34. package/es/platform/service/apis/plat.service.d.ts +8 -1
  35. package/es/platform/service/apis/pn-project.service.d.ts +1 -1
  36. package/es/platform/service/apis/tenant.service.d.ts +4 -0
  37. package/es/platform/service/apis/user.service.d.ts +6 -6
  38. package/es/platform/service/entities.d.ts +393 -4
  39. package/es/service/http.util.d.ts +7 -0
  40. package/es/service/http.util.mjs +8 -1
  41. package/es/service/index.mjs +2 -0
  42. package/es/service/request.client.d.ts +6 -0
  43. package/es/service/request.client.mjs +35 -0
  44. package/es/utils/index.d.ts +1 -0
  45. package/es/utils/index.mjs +1 -0
  46. package/es/utils/native-http/native-http.d.ts +6 -0
  47. package/es/utils/native-http/native-http.mjs +63 -0
  48. package/package.json +4 -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",
@@ -17,7 +17,7 @@ export interface getOperateTypesQuery {
17
17
  /**
18
18
  * 功能模块
19
19
  */
20
- module: string;
20
+ moduleType: string;
21
21
  }
22
22
  export interface AuditLogService {
23
23
  /**
@@ -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
  */
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/no-empty-object-type */
2
2
  export interface AccountConfig {
3
3
  /**
4
- * 应用类型 枚举(钉钉 DINGDING,企微 QIYEWEIXIN,飞书 FEISHU)
4
+ * 应用类型 枚举 (钉钉 DINGDING,企微 QIYEWEIXIN,飞书 FEISHU,微软 MICROSOFT)
5
5
  *
6
6
  * @type string
7
7
  */
@@ -4178,6 +4178,12 @@ export interface DataTraceRequest {
4178
4178
  * @type string
4179
4179
  */
4180
4180
  module?: string;
4181
+ /**
4182
+ * 多个模块
4183
+ *
4184
+ * @type string[]
4185
+ */
4186
+ modules?: string[];
4181
4187
  /**
4182
4188
  * 操作类型
4183
4189
  *
@@ -5670,6 +5676,12 @@ export interface DocControlTaskTodoResponse {
5670
5676
  version?: string;
5671
5677
  }
5672
5678
  export interface DocOutlineBase {
5679
+ /**
5680
+ * 基础单据id(DHR ID)
5681
+ *
5682
+ * @type string
5683
+ */
5684
+ baseId?: string;
5673
5685
  /**
5674
5686
  *
5675
5687
  *
@@ -8069,6 +8081,20 @@ export interface EnumModelFieldResponse {
8069
8081
  */
8070
8082
  value?: string;
8071
8083
  }
8084
+ export interface EnumModelFieldSortReq {
8085
+ /**
8086
+ * 枚举模型id
8087
+ *
8088
+ * @type string
8089
+ */
8090
+ enumModelId?: string;
8091
+ /**
8092
+ *
8093
+ *
8094
+ * @type string[]
8095
+ */
8096
+ ids?: string[];
8097
+ }
8072
8098
  export interface EnumModelRequest {
8073
8099
  /**
8074
8100
  * 分类id
@@ -9466,6 +9492,12 @@ export interface FieldMeta {
9466
9492
  * @type string
9467
9493
  */
9468
9494
  bindInfo?: string;
9495
+ /**
9496
+ * 业务字段类型
9497
+ *
9498
+ * @type string
9499
+ */
9500
+ bizType?: string;
9469
9501
  /**
9470
9502
  *
9471
9503
  *
@@ -9688,6 +9720,12 @@ export interface FieldMetaDTO {
9688
9720
  * @type string
9689
9721
  */
9690
9722
  bindInfo?: string;
9723
+ /**
9724
+ * 业务字段类型
9725
+ *
9726
+ * @type string
9727
+ */
9728
+ bizType?: string;
9691
9729
  /**
9692
9730
  *
9693
9731
  *
@@ -10204,6 +10242,12 @@ export interface FieldMetaVO {
10204
10242
  * @type string
10205
10243
  */
10206
10244
  bindInfo?: string;
10245
+ /**
10246
+ * 业务字段类型
10247
+ *
10248
+ * @type string
10249
+ */
10250
+ bizType?: string;
10207
10251
  /**
10208
10252
  * 默认值
10209
10253
  *
@@ -10368,6 +10412,12 @@ export interface FileResourceResponse {
10368
10412
  url?: string;
10369
10413
  }
10370
10414
  export interface FileTaskDTO {
10415
+ /**
10416
+ * 是否包含半成品批次(当type为EDHR时使用,用于判断打印时是否需要打印半成品批次eDHR)
10417
+ *
10418
+ * @type boolean
10419
+ */
10420
+ includeSemi?: boolean;
10371
10421
  /**
10372
10422
  * 模板实例id
10373
10423
  *
@@ -17282,6 +17332,12 @@ export interface OnlineFormFieldMetaVO {
17282
17332
  * @type string
17283
17333
  */
17284
17334
  bindInfo?: string;
17335
+ /**
17336
+ * 业务字段类型
17337
+ *
17338
+ * @type string
17339
+ */
17340
+ bizType?: string;
17285
17341
  /**
17286
17342
  * 默认值
17287
17343
  *
@@ -18304,6 +18360,12 @@ export interface OnlineFormInstanceResponse {
18304
18360
  * @type string
18305
18361
  */
18306
18362
  designerJson?: string;
18363
+ /**
18364
+ *
18365
+ *
18366
+ * @type string
18367
+ */
18368
+ direction?: string;
18307
18369
  /**
18308
18370
  *
18309
18371
  *
@@ -18376,6 +18438,12 @@ export interface OnlineFormInstanceResponse {
18376
18438
  * @type string
18377
18439
  */
18378
18440
  formType?: string;
18441
+ /**
18442
+ *
18443
+ *
18444
+ * @type number
18445
+ */
18446
+ height?: number;
18379
18447
  /**
18380
18448
  * 主键ID
18381
18449
  *
@@ -18478,6 +18546,12 @@ export interface OnlineFormInstanceResponse {
18478
18546
  * @type string
18479
18547
  */
18480
18548
  operatorRange?: string;
18549
+ /**
18550
+ *
18551
+ *
18552
+ * @type string
18553
+ */
18554
+ paperSize?: string;
18481
18555
  /**
18482
18556
  * 实例参数(业务扩展属性)
18483
18557
  *
@@ -18616,6 +18690,12 @@ export interface OnlineFormInstanceResponse {
18616
18690
  * @type string
18617
18691
  */
18618
18692
  viewType?: string;
18693
+ /**
18694
+ *
18695
+ *
18696
+ * @type number
18697
+ */
18698
+ width?: number;
18619
18699
  }
18620
18700
  export interface OnlineFormInstanceTmplRelationResponse {
18621
18701
  /**
@@ -25964,6 +26044,24 @@ export interface ProcessPathResponse {
25964
26044
  * @type string
25965
26045
  */
25966
26046
  tmplId?: string;
26047
+ /**
26048
+ * 事务定义id
26049
+ *
26050
+ * @type string
26051
+ */
26052
+ txnDefinitionId?: string;
26053
+ /**
26054
+ * 事务实例id
26055
+ *
26056
+ * @type string
26057
+ */
26058
+ txnInstId?: string;
26059
+ /**
26060
+ * 事务实例状态
26061
+ *
26062
+ * @type string
26063
+ */
26064
+ txnInstStatus?: string;
25967
26065
  }
25968
26066
  export interface ProcessPathUserRequest {
25969
26067
  /**
@@ -35814,6 +35912,12 @@ export interface UserTenantDTO {
35814
35912
  * @type string
35815
35913
  */
35816
35914
  id?: string;
35915
+ /**
35916
+ * 是否最后登录租户,0:否 1:是
35917
+ *
35918
+ * @type number
35919
+ */
35920
+ latestLogin?: number;
35817
35921
  /**
35818
35922
  * 直属上级id
35819
35923
  *
@@ -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",
@@ -5592,6 +5608,12 @@ export const apiConfig = [
5592
5608
  path: "login-log/userLoginLogPage",
5593
5609
  hasData: true
5594
5610
  },
5611
+ {
5612
+ mode: "get",
5613
+ method: "getLoginSettingGet",
5614
+ path: "login/setting/get",
5615
+ hasQuery: true
5616
+ },
5595
5617
  {
5596
5618
  mode: "get",
5597
5619
  method: "getLoginSsoOauth2Authorize",
@@ -28,6 +28,8 @@ import type {
28
28
  TenantUserSearchRequest,
29
29
  UserWithUserExtraDTO,
30
30
  UserIdsDTO,
31
+ ResponseEntity,
32
+ RedirectView,
31
33
  DataSourceUpdateRequest,
32
34
  DatasourceExtDTO,
33
35
  DataSourcePageRequest,
@@ -39,6 +41,7 @@ import type {
39
41
  AppEffectiveLicense,
40
42
  UserLoginLogPageRequest,
41
43
  UserLoginLogDTO,
44
+ ThirdPartyLoginConfig,
42
45
  ModelDTO,
43
46
  消息设置VO,
44
47
  SendEmailMessageRequest,
@@ -509,6 +512,12 @@ export interface getLicenseGetAppEffectiveLicenseQuery {
509
512
  */
510
513
  env: string;
511
514
  }
515
+ export interface getLoginSettingGetQuery {
516
+ /**
517
+ * code
518
+ */
519
+ code: string;
520
+ }
512
521
  export interface getLoginSsoOauth2AuthorizeQuery {
513
522
  /**
514
523
  * 授权码
@@ -1140,7 +1149,7 @@ export interface ApiService {
1140
1149
  postAppUserSaveList(
1141
1150
  query: postAppUserSaveListQuery,
1142
1151
  config?: Partial<AxiosRequestConfig>,
1143
- ): Promise<string>;
1152
+ ): Promise<ResponseEntity>;
1144
1153
  /**
1145
1154
  * 修改
1146
1155
  */
@@ -1149,6 +1158,10 @@ export interface ApiService {
1149
1158
  data: UserSaveRequest,
1150
1159
  config?: Partial<AxiosRequestConfig>,
1151
1160
  ): Promise<string>;
1161
+ /**
1162
+ * 重定向到微软登录页
1163
+ */
1164
+ getCallbackLogin(config?: Partial<AxiosRequestConfig>): Promise<RedirectView>;
1152
1165
  /**
1153
1166
  * 查询数据-iPaaS
1154
1167
  */
@@ -1256,6 +1269,13 @@ export interface ApiService {
1256
1269
  data: UserLoginLogPageRequest,
1257
1270
  config?: Partial<AxiosRequestConfig>,
1258
1271
  ): Promise<IPage<UserLoginLogDTO>>;
1272
+ /**
1273
+ * 重定向到微软登录页
1274
+ */
1275
+ getLoginSettingGet(
1276
+ query: getLoginSettingGetQuery,
1277
+ config?: Partial<AxiosRequestConfig>,
1278
+ ): Promise<ThirdPartyLoginConfig>;
1259
1279
  /**
1260
1280
  * 泛微OA认证地址
1261
1281
  */
@@ -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
  }