@gct-paas/api 0.1.0 → 0.1.1

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 (81) hide show
  1. package/dist/gct-api.esm.min.js +1 -1
  2. package/dist/gct-api.system.min.js +1 -1
  3. package/es/apaas/service/api-config.mjs +41 -8
  4. package/es/apaas/service/apis/app-global-settings.service.d.ts +4 -0
  5. package/es/apaas/service/apis/category.service.d.ts +0 -16
  6. package/es/apaas/service/apis/designer-common.service.d.ts +5 -1
  7. package/es/apaas/service/apis/doc-control-started.service.d.ts +76 -1
  8. package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
  9. package/es/apaas/service/apis/file-resource.service.d.ts +1 -0
  10. package/es/apaas/service/apis/file.service.d.ts +1 -0
  11. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -0
  12. package/es/apaas/service/apis/label.service.d.ts +4 -1
  13. package/es/apaas/service/apis/office.service.d.ts +4 -1
  14. package/es/apaas/service/apis/process-task-done.service.d.ts +24 -1
  15. package/es/apaas/service/apis/process-task-todo.service.d.ts +36 -1
  16. package/es/apaas/service/apis/ss.service.d.ts +1 -0
  17. package/es/apaas/service/entities.d.ts +1665 -91
  18. package/es/ipaas/service/api-config.mjs +16 -2
  19. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -0
  20. package/es/ipaas/service/apis/flow.service.d.ts +66 -0
  21. package/es/ipaas/service/entities.d.ts +136 -0
  22. package/es/platform/service/api-config.mjs +58 -21
  23. package/es/platform/service/apis/api.service.d.ts +31 -0
  24. package/es/platform/service/apis/apk.service.d.ts +4 -1
  25. package/es/platform/service/apis/app.service.d.ts +4 -1
  26. package/es/platform/service/apis/assets.service.d.ts +1 -0
  27. package/es/platform/service/apis/bi-app.service.d.ts +4 -3
  28. package/es/platform/service/apis/bi-file.service.d.ts +1 -0
  29. package/es/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
  30. package/es/platform/service/apis/device-interconnection.service.d.ts +4 -1
  31. package/es/platform/service/apis/file.service.d.ts +6 -1
  32. package/es/platform/service/apis/i18n-info.service.d.ts +1 -0
  33. package/es/platform/service/apis/invoke-log.service.d.ts +17 -1
  34. package/es/platform/service/apis/ldap.service.d.ts +4 -1
  35. package/es/platform/service/apis/license.service.d.ts +18 -0
  36. package/es/platform/service/apis/org.service.d.ts +0 -4
  37. package/es/platform/service/apis/plat.service.d.ts +4 -1
  38. package/es/platform/service/apis/pn-project.service.d.ts +1 -0
  39. package/es/platform/service/apis/tenant.service.d.ts +0 -4
  40. package/es/platform/service/apis/user.service.d.ts +15 -3
  41. package/es/platform/service/entities.d.ts +94 -0
  42. package/lib/apaas/service/api-config.cjs +37 -8
  43. package/lib/apaas/service/apis/app-global-settings.service.d.ts +4 -0
  44. package/lib/apaas/service/apis/category.service.d.ts +0 -16
  45. package/lib/apaas/service/apis/designer-common.service.d.ts +5 -1
  46. package/lib/apaas/service/apis/doc-control-started.service.d.ts +76 -1
  47. package/lib/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
  48. package/lib/apaas/service/apis/file-resource.service.d.ts +1 -0
  49. package/lib/apaas/service/apis/file.service.d.ts +1 -0
  50. package/lib/apaas/service/apis/i18n-info.service.d.ts +1 -0
  51. package/lib/apaas/service/apis/label.service.d.ts +4 -1
  52. package/lib/apaas/service/apis/office.service.d.ts +4 -1
  53. package/lib/apaas/service/apis/process-task-done.service.d.ts +24 -1
  54. package/lib/apaas/service/apis/process-task-todo.service.d.ts +36 -1
  55. package/lib/apaas/service/apis/ss.service.d.ts +1 -0
  56. package/lib/apaas/service/entities.d.ts +1665 -91
  57. package/lib/ipaas/service/api-config.cjs +14 -2
  58. package/lib/ipaas/service/apis/connector-config.service.d.ts +1 -0
  59. package/lib/ipaas/service/apis/flow.service.d.ts +66 -0
  60. package/lib/ipaas/service/entities.d.ts +136 -0
  61. package/lib/platform/service/api-config.cjs +55 -21
  62. package/lib/platform/service/apis/api.service.d.ts +31 -0
  63. package/lib/platform/service/apis/apk.service.d.ts +4 -1
  64. package/lib/platform/service/apis/app.service.d.ts +4 -1
  65. package/lib/platform/service/apis/assets.service.d.ts +1 -0
  66. package/lib/platform/service/apis/bi-app.service.d.ts +4 -3
  67. package/lib/platform/service/apis/bi-file.service.d.ts +1 -0
  68. package/lib/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
  69. package/lib/platform/service/apis/device-interconnection.service.d.ts +4 -1
  70. package/lib/platform/service/apis/file.service.d.ts +6 -1
  71. package/lib/platform/service/apis/i18n-info.service.d.ts +1 -0
  72. package/lib/platform/service/apis/invoke-log.service.d.ts +17 -1
  73. package/lib/platform/service/apis/ldap.service.d.ts +4 -1
  74. package/lib/platform/service/apis/license.service.d.ts +18 -0
  75. package/lib/platform/service/apis/org.service.d.ts +0 -4
  76. package/lib/platform/service/apis/plat.service.d.ts +4 -1
  77. package/lib/platform/service/apis/pn-project.service.d.ts +1 -0
  78. package/lib/platform/service/apis/tenant.service.d.ts +0 -4
  79. package/lib/platform/service/apis/user.service.d.ts +15 -3
  80. package/lib/platform/service/entities.d.ts +94 -0
  81. package/package.json +2 -2
@@ -19,6 +19,10 @@ export interface getPageListQuery {
19
19
  * 调用时间起
20
20
  */
21
21
  beginTime?: string;
22
+ /**
23
+ * 请求体
24
+ */
25
+ body?: string;
22
26
  /**
23
27
  * 调用时间止
24
28
  */
@@ -40,13 +44,25 @@ export interface getPageListQuery {
40
44
  */
41
45
  pageNo?: number;
42
46
  /**
43
- * 每页数据条数
47
+ * 分页大小
44
48
  */
45
49
  pageSize?: number;
50
+ /**
51
+ * 响应体
52
+ */
53
+ response?: string;
46
54
  /**
47
55
  * 调用结果
48
56
  */
49
57
  result?: number;
58
+ /**
59
+ * 排序字段
60
+ */
61
+ sortField?: string;
62
+ /**
63
+ * 排序方式:ASC/DESC, 不传默认 ASC
64
+ */
65
+ sortType?: string;
50
66
  }
51
67
  export interface InvokeLogService {
52
68
  /**
@@ -3,5 +3,8 @@ export interface LdapService {
3
3
  /**
4
4
  * 文件上传minio
5
5
  */
6
- postUploadCertificate(config?: Partial<AxiosRequestConfig>): Promise<string>;
6
+ postUploadCertificate(
7
+ data: FormData,
8
+ config?: Partial<AxiosRequestConfig>,
9
+ ): Promise<string>;
7
10
  }
@@ -2,6 +2,7 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
3
  ClientsDto,
4
4
  AuthBasicInfo,
5
+ AppEffectiveLicense,
5
6
  LicenseExpireMsg,
6
7
  LicenseLimitResponse,
7
8
  AcLicenseResponse,
@@ -57,6 +58,16 @@ export interface getGetAppBasicInfoQuery {
57
58
  */
58
59
  appId?: string;
59
60
  }
61
+ export interface getGetAppEffectiveLicenseQuery {
62
+ /**
63
+ * 应用id
64
+ */
65
+ appId: string;
66
+ /**
67
+ * 环境
68
+ */
69
+ env: string;
70
+ }
60
71
  export interface getGetExpireMsgQuery {
61
72
  /**
62
73
  * 应用id
@@ -181,6 +192,13 @@ export interface LicenseService {
181
192
  query: getGetAppBasicInfoQuery,
182
193
  config?: Partial<AxiosRequestConfig>,
183
194
  ): Promise<AuthBasicInfo>;
195
+ /**
196
+ * 获取应用有效授权
197
+ */
198
+ getGetAppEffectiveLicense(
199
+ query: getGetAppEffectiveLicenseQuery,
200
+ config?: Partial<AxiosRequestConfig>,
201
+ ): Promise<AppEffectiveLicense>;
184
202
  /**
185
203
  * 获取过期提醒
186
204
  */
@@ -81,10 +81,6 @@ export interface getUserPageListQuery {
81
81
  * 排序方式:ASC/DESC, 不传默认 ASC
82
82
  */
83
83
  sortType?: string;
84
- /**
85
- * 参数来源,0企业后台管理、1租户后台管理
86
- */
87
- source?: number;
88
84
  /**
89
85
  * 创建开始时间
90
86
  */
@@ -143,7 +143,10 @@ export interface PlatService {
143
143
  /**
144
144
  * 企微证书文件上传
145
145
  */
146
- postUploadCertFile(config?: Partial<AxiosRequestConfig>): Promise<string>;
146
+ postUploadCertFile(
147
+ data: FormData,
148
+ config?: Partial<AxiosRequestConfig>,
149
+ ): Promise<string>;
147
150
  /**
148
151
  * (平台管理)添加管理员 保存
149
152
  */
@@ -121,6 +121,7 @@ export interface PnProjectService {
121
121
  */
122
122
  postImport(
123
123
  query: postImportQuery,
124
+ data: FormData,
124
125
  config?: Partial<AxiosRequestConfig>,
125
126
  ): Promise<string>;
126
127
  /**
@@ -131,10 +131,6 @@ export interface getManagementOrgUserPageListQuery {
131
131
  * 排序方式:ASC/DESC, 不传默认 ASC
132
132
  */
133
133
  sortType?: string;
134
- /**
135
- * 参数来源,0企业后台管理、1租户后台管理
136
- */
137
- source?: number;
138
134
  /**
139
135
  * 创建开始时间
140
136
  */
@@ -158,6 +158,7 @@ export interface UserService {
158
158
  */
159
159
  postOrgPlatImport(
160
160
  query: postOrgPlatImportQuery,
161
+ data: FormData,
161
162
  config?: Partial<AxiosRequestConfig>,
162
163
  ): Promise<object>;
163
164
  /**
@@ -172,6 +173,7 @@ export interface UserService {
172
173
  */
173
174
  postOrgTenantImport(
174
175
  query: postOrgTenantImportQuery,
176
+ data: FormData,
175
177
  config?: Partial<AxiosRequestConfig>,
176
178
  ): Promise<object>;
177
179
  /**
@@ -179,6 +181,7 @@ export interface UserService {
179
181
  */
180
182
  postOrgTenantImport4App(
181
183
  query: postOrgTenantImport4AppQuery,
184
+ data: FormData,
182
185
  config?: Partial<AxiosRequestConfig>,
183
186
  ): Promise<object>;
184
187
  /**
@@ -205,7 +208,10 @@ export interface UserService {
205
208
  /**
206
209
  * (平台管理)用户管理 导入(平台/公司)人员
207
210
  */
208
- postPlatImport(config?: Partial<AxiosRequestConfig>): Promise<object>;
211
+ postPlatImport(
212
+ data: FormData,
213
+ config?: Partial<AxiosRequestConfig>,
214
+ ): Promise<object>;
209
215
  /**
210
216
  * (平台管理)用户管理 导出人员
211
217
  */
@@ -251,11 +257,17 @@ export interface UserService {
251
257
  /**
252
258
  * (租户管理后台)用户管理 导入(平台/公司)人员
253
259
  */
254
- postTenantImport(config?: Partial<AxiosRequestConfig>): Promise<object>;
260
+ postTenantImport(
261
+ data: FormData,
262
+ config?: Partial<AxiosRequestConfig>,
263
+ ): Promise<object>;
255
264
  /**
256
265
  * (租户管理后台)用户管理 导入(平台/公司)人员
257
266
  */
258
- postTenantImport4App(config?: Partial<AxiosRequestConfig>): Promise<object>;
267
+ postTenantImport4App(
268
+ data: FormData,
269
+ config?: Partial<AxiosRequestConfig>,
270
+ ): Promise<object>;
259
271
  /**
260
272
  * (租户管理后台)用户管理 导出人员
261
273
  */
@@ -36,6 +36,62 @@ export interface APIDatasetConfigDTO {
36
36
  */
37
37
  taskFreqValue?: number;
38
38
  }
39
+ export interface AcLicense {
40
+ /**
41
+ *
42
+ *
43
+ * @type string
44
+ */
45
+ appId?: string;
46
+ /**
47
+ *
48
+ *
49
+ * @type string
50
+ */
51
+ category?: string;
52
+ /**
53
+ *
54
+ *
55
+ * @type string
56
+ */
57
+ customerName?: string;
58
+ /**
59
+ *
60
+ *
61
+ * @type string
62
+ */
63
+ effectiveDate?: string;
64
+ /**
65
+ *
66
+ *
67
+ * @type string
68
+ */
69
+ env?: string;
70
+ /**
71
+ *
72
+ *
73
+ * @type string
74
+ */
75
+ expirationDate?: string;
76
+ /**
77
+ *
78
+ *
79
+ * @type string
80
+ */
81
+ id?: string;
82
+ /**
83
+ *
84
+ *
85
+ * @type string
86
+ */
87
+ productName?: string;
88
+ /**
89
+ *
90
+ *
91
+ * @type number
92
+ */
93
+ state?: number;
94
+ }
39
95
  export interface AcLicenseResponse {
40
96
  /**
41
97
  * 授权类别 系统授权:system 增购:additional
@@ -1118,6 +1174,20 @@ export interface AppDataRequest {
1118
1174
  */
1119
1175
  type?: string;
1120
1176
  }
1177
+ export interface AppEffectiveLicense {
1178
+ /**
1179
+ * 是否校验license
1180
+ *
1181
+ * @type boolean
1182
+ */
1183
+ licenseCheck?: boolean;
1184
+ /**
1185
+ * license列表
1186
+ *
1187
+ * @type AcLicense[]
1188
+ */
1189
+ licenseList?: AcLicense[];
1190
+ }
1121
1191
  export interface AppGrantedStatisticDTO {
1122
1192
  /**
1123
1193
  * 剩余
@@ -3587,6 +3657,12 @@ export interface BtwNodeVO {
3587
3657
  * @type string
3588
3658
  */
3589
3659
  name?: string;
3660
+ /**
3661
+ * btw模板路径类型:local本地选择、common网络共享
3662
+ *
3663
+ * @type string
3664
+ */
3665
+ pathType?: string;
3590
3666
  /**
3591
3667
  *
3592
3668
  *
@@ -6305,6 +6381,12 @@ export interface ExprDTO {
6305
6381
  value?: IObject;
6306
6382
  }
6307
6383
  export interface ExtFieldConfig {
6384
+ /**
6385
+ * 启用密文展示(密文:1 ,明文:0)
6386
+ *
6387
+ * @type number
6388
+ */
6389
+ encrypted?: number;
6308
6390
  /**
6309
6391
  * 字段名称
6310
6392
  *
@@ -15421,6 +15503,12 @@ export interface PrintResourceResponse {
15421
15503
  * @type string
15422
15504
  */
15423
15505
  name?: string;
15506
+ /**
15507
+ * btw模板路径类型:local本地选择、common网络共享
15508
+ *
15509
+ * @type string
15510
+ */
15511
+ pathType?: string;
15424
15512
  /**
15425
15513
  * 打印机IP
15426
15514
  *
@@ -16823,6 +16911,12 @@ export interface SelectItem {
16823
16911
  * @type string
16824
16912
  */
16825
16913
  alias?: string;
16914
+ /**
16915
+ * 保留小数位
16916
+ *
16917
+ * @type number
16918
+ */
16919
+ digit?: number;
16826
16920
  /**
16827
16921
  * 去重
16828
16922
  *
@@ -1143,11 +1143,13 @@ const apiConfig = exports.apiConfig = [{
1143
1143
  mode: "post",
1144
1144
  method: "postUploadFile",
1145
1145
  path: "upload/file",
1146
- hasQuery: true
1146
+ hasQuery: true,
1147
+ hasData: true
1147
1148
  }, {
1148
1149
  mode: "post",
1149
1150
  method: "postUploadLabelImage",
1150
- path: "upload/label/image"
1151
+ path: "upload/label/image",
1152
+ hasData: true
1151
1153
  }, {
1152
1154
  mode: "get",
1153
1155
  method: "getUserInfo",
@@ -1266,6 +1268,17 @@ const apiConfig = exports.apiConfig = [{
1266
1268
  name: "docControlStarted",
1267
1269
  entityName: "doc-control-started",
1268
1270
  apis: [{
1271
+ mode: "get",
1272
+ method: "getAllPageList",
1273
+ path: "all/page/list",
1274
+ hasQuery: true
1275
+ }, {
1276
+ mode: "put",
1277
+ method: "putEffectiveDateId",
1278
+ path: "effectiveDate/{id}",
1279
+ hasPathParams: true,
1280
+ hasData: true
1281
+ }, {
1269
1282
  mode: "get",
1270
1283
  method: "getInfo",
1271
1284
  path: "info",
@@ -2128,7 +2141,8 @@ const apiConfig = exports.apiConfig = [{
2128
2141
  mode: "post",
2129
2142
  method: "postUpload",
2130
2143
  path: "upload",
2131
- hasQuery: true
2144
+ hasQuery: true,
2145
+ hasData: true
2132
2146
  }]
2133
2147
  }, {
2134
2148
  name: "fileTask",
@@ -2165,7 +2179,8 @@ const apiConfig = exports.apiConfig = [{
2165
2179
  mode: "post",
2166
2180
  method: "postUploadImage",
2167
2181
  path: "upload/image",
2168
- hasQuery: true
2182
+ hasQuery: true,
2183
+ hasData: true
2169
2184
  }]
2170
2185
  }, {
2171
2186
  name: "form",
@@ -2335,7 +2350,8 @@ const apiConfig = exports.apiConfig = [{
2335
2350
  mode: "post",
2336
2351
  method: "postLangUpload",
2337
2352
  path: "lang/upload",
2338
- hasQuery: true
2353
+ hasQuery: true,
2354
+ hasData: true
2339
2355
  }, {
2340
2356
  mode: "get",
2341
2357
  method: "getPageList",
@@ -2573,7 +2589,8 @@ const apiConfig = exports.apiConfig = [{
2573
2589
  }, {
2574
2590
  mode: "post",
2575
2591
  method: "postImport",
2576
- path: "import"
2592
+ path: "import",
2593
+ hasData: true
2577
2594
  }, {
2578
2595
  mode: "get",
2579
2596
  method: "getLabelCategoryTree",
@@ -3375,7 +3392,8 @@ const apiConfig = exports.apiConfig = [{
3375
3392
  apis: [{
3376
3393
  mode: "post",
3377
3394
  method: "postDocxJson",
3378
- path: "docx-json"
3395
+ path: "docx-json",
3396
+ hasData: true
3379
3397
  }]
3380
3398
  }, {
3381
3399
  name: "onlineFormCategory",
@@ -4884,6 +4902,11 @@ const apiConfig = exports.apiConfig = [{
4884
4902
  name: "processTaskDone",
4885
4903
  entityName: "process-task-done",
4886
4904
  apis: [{
4905
+ mode: "post",
4906
+ method: "postApproveHisPageList",
4907
+ path: "approve/his/page/list",
4908
+ hasData: true
4909
+ }, {
4887
4910
  mode: "get",
4888
4911
  method: "getPageList",
4889
4912
  path: "page/list",
@@ -4897,6 +4920,11 @@ const apiConfig = exports.apiConfig = [{
4897
4920
  method: "getAllUserPageList",
4898
4921
  path: "all-user/page/list",
4899
4922
  hasQuery: true
4923
+ }, {
4924
+ mode: "post",
4925
+ method: "postApproveHisPageList",
4926
+ path: "approve/his/page/list",
4927
+ hasData: true
4900
4928
  }, {
4901
4929
  mode: "get",
4902
4930
  method: "getPageList",
@@ -5689,7 +5717,8 @@ const apiConfig = exports.apiConfig = [{
5689
5717
  mode: "post",
5690
5718
  method: "postUploadExcel",
5691
5719
  path: "upload/excel",
5692
- hasQuery: true
5720
+ hasQuery: true,
5721
+ hasData: true
5693
5722
  }]
5694
5723
  }, {
5695
5724
  name: "stash",
@@ -29,6 +29,10 @@ export interface getListQuery {
29
29
  * 查询全量信息时传 true,否则只查询简要信息
30
30
  */
31
31
  fullInfo?: boolean;
32
+ /**
33
+ * 来源
34
+ */
35
+ source?: string;
32
36
  /**
33
37
  * 类型
34
38
  */
@@ -34,10 +34,6 @@ export interface getListQuery {
34
34
  * 结束时间
35
35
  */
36
36
  endTime?: string;
37
- /**
38
- * 所属模块(实体、枚举、web页面)
39
- */
40
- module?: string;
41
37
  /**
42
38
  * 应用名称
43
39
  */
@@ -108,10 +104,6 @@ export interface getListCompleteQuery {
108
104
  *
109
105
  */
110
106
  modifyUserName?: string;
111
- /**
112
- * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
113
- */
114
- module?: string;
115
107
  /**
116
108
  *
117
109
  */
@@ -182,10 +174,6 @@ export interface getPageQuery {
182
174
  *
183
175
  */
184
176
  modifyUserName?: string;
185
- /**
186
- * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
187
- */
188
- module?: string;
189
177
  /**
190
178
  *
191
179
  */
@@ -224,10 +212,6 @@ export interface getPageListQuery {
224
212
  * 结束时间
225
213
  */
226
214
  endTime?: string;
227
- /**
228
- * 所属模块(实体、枚举、web页面)
229
- */
230
- module?: string;
231
215
  /**
232
216
  * 应用名称
233
217
  */
@@ -433,12 +433,16 @@ export interface DesignerCommonService {
433
433
  */
434
434
  postUploadFile(
435
435
  query: postUploadFileQuery,
436
+ data: FormData,
436
437
  config?: Partial<AxiosRequestConfig>,
437
438
  ): Promise<string>;
438
439
  /**
439
440
  * 上传标签图片
440
441
  */
441
- postUploadLabelImage(config?: Partial<AxiosRequestConfig>): Promise<string>;
442
+ postUploadLabelImage(
443
+ data: FormData,
444
+ config?: Partial<AxiosRequestConfig>,
445
+ ): Promise<string>;
442
446
  /**
443
447
  * 获取用户角色权限组
444
448
  */
@@ -1,6 +1,66 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { DocControlStartedResponse } from '../entities';
2
+ import type {
3
+ DocControlStartedResponse,
4
+ DocControlStartedRequest,
5
+ } from '../entities';
3
6
 
7
+ export interface getAllPageListQuery {
8
+ /**
9
+ * 分类ID
10
+ */
11
+ categoryId?: string;
12
+ /**
13
+ * 分类name
14
+ */
15
+ categoryName?: string;
16
+ /**
17
+ * 文件编码
18
+ */
19
+ code?: string;
20
+ /**
21
+ * 类型(EDHR,在线表单:FORM)
22
+ */
23
+ controlTmplType?: string;
24
+ /**
25
+ * 创建人id
26
+ */
27
+ createUserId?: string;
28
+ /**
29
+ * 创建时间 - 结束
30
+ */
31
+ endCreateTime?: string;
32
+ /**
33
+ * 文件名称
34
+ */
35
+ name?: string;
36
+ /**
37
+ * 页码
38
+ */
39
+ pageNo?: number;
40
+ /**
41
+ * 分页大小
42
+ */
43
+ pageSize?: number;
44
+ /**
45
+ * 排序字段
46
+ */
47
+ sortField?: string;
48
+ /**
49
+ * 排序方式:ASC/DESC, 不传默认 ASC
50
+ */
51
+ sortType?: string;
52
+ /**
53
+ * 创建时间 - 开始
54
+ */
55
+ startCreateTime?: string;
56
+ /**
57
+ * 状态(IN_AUDIT:审核中,ENDED:已退回,FINISHED:已审核)
58
+ */
59
+ status?: string;
60
+ }
61
+ export interface putEffectiveDateIdPathParams {
62
+ id: string;
63
+ }
4
64
  export interface getInfoQuery {
5
65
  /**
6
66
  * id
@@ -52,6 +112,21 @@ export interface getPageListQuery {
52
112
  pageSize?: number;
53
113
  }
54
114
  export interface DocControlStartedService {
115
+ /**
116
+ * 所有数据分页列表
117
+ */
118
+ getAllPageList(
119
+ query: getAllPageListQuery,
120
+ config?: Partial<AxiosRequestConfig>,
121
+ ): Promise<IPage<DocControlStartedResponse>>;
122
+ /**
123
+ * 修改生效日期
124
+ */
125
+ putEffectiveDateId(
126
+ path: putEffectiveDateIdPathParams,
127
+ data: DocControlStartedRequest,
128
+ config?: Partial<AxiosRequestConfig>,
129
+ ): Promise<string>;
55
130
  /**
56
131
  * 详情
57
132
  */
@@ -14,6 +14,14 @@ export interface getAllUserPageListQuery {
14
14
  * 类型(EDHR,在线表单:FORM)
15
15
  */
16
16
  controlTmplType?: string;
17
+ /**
18
+ * 创建人id
19
+ */
20
+ createUserId?: string;
21
+ /**
22
+ * 创建时间 - 结束
23
+ */
24
+ endCreateTime?: string;
17
25
  /**
18
26
  * 文件名称
19
27
  */
@@ -34,6 +42,10 @@ export interface getAllUserPageListQuery {
34
42
  * 排序方式:ASC/DESC, 不传默认 ASC
35
43
  */
36
44
  sortType?: string;
45
+ /**
46
+ * 创建时间 - 开始
47
+ */
48
+ startCreateTime?: string;
37
49
  }
38
50
  export interface getInfoQuery {
39
51
  /**
@@ -35,6 +35,7 @@ export interface FileResourceService {
35
35
  */
36
36
  postUpload(
37
37
  query: postUploadQuery,
38
+ data: FormData,
38
39
  config?: Partial<AxiosRequestConfig>,
39
40
  ): Promise<string>;
40
41
  }
@@ -39,6 +39,7 @@ export interface FileService {
39
39
  */
40
40
  postUploadImage(
41
41
  query: postUploadImageQuery,
42
+ data: FormData,
42
43
  config?: Partial<AxiosRequestConfig>,
43
44
  ): Promise<string>;
44
45
  }
@@ -64,6 +64,7 @@ export interface I18NInfoService {
64
64
  */
65
65
  postLangUpload(
66
66
  query: postLangUploadQuery,
67
+ data: FormData,
67
68
  config?: Partial<AxiosRequestConfig>,
68
69
  ): Promise<object>;
69
70
  /**
@@ -259,7 +259,10 @@ export interface LabelService {
259
259
  /**
260
260
  * 导入
261
261
  */
262
- postImport(config?: Partial<AxiosRequestConfig>): Promise<LabelResponse>;
262
+ postImport(
263
+ data: FormData,
264
+ config?: Partial<AxiosRequestConfig>,
265
+ ): Promise<LabelResponse>;
263
266
  /**
264
267
  * 标签和分类树
265
268
  */
@@ -3,5 +3,8 @@ export interface OfficeService {
3
3
  /**
4
4
  * docx转json
5
5
  */
6
- postDocxJson(config?: Partial<AxiosRequestConfig>): Promise<string>;
6
+ postDocxJson(
7
+ data: FormData,
8
+ config?: Partial<AxiosRequestConfig>,
9
+ ): Promise<string>;
7
10
  }