@gct-paas/api 6.0.0-dev.1 → 6.0.0-dev.10
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.
- package/dist/index.esm.min.js +1 -1
- package/es/apaas/service/api-config.mjs +99 -123
- package/es/apaas/service/apis/ai.service.d.ts +129 -0
- package/es/apaas/service/apis/alex-test.service.d.ts +16 -0
- package/es/apaas/service/apis/api.service.d.ts +35 -0
- package/es/apaas/service/apis/app-global-settings.service.d.ts +8 -0
- package/es/apaas/service/apis/app-granted-user.service.d.ts +21 -0
- package/es/apaas/service/apis/category.service.d.ts +8 -0
- package/es/apaas/service/apis/dhr.service.d.ts +4 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +8 -0
- package/es/apaas/service/apis/field-meta.service.d.ts +8 -0
- package/es/apaas/service/apis/online-form-instance.service.d.ts +16 -45
- package/es/apaas/service/apis/online-form.service.d.ts +18 -0
- package/es/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/es/apaas/service/entities.d.ts +1215 -131
- package/es/apaas/service/index.d.ts +4 -4
- package/es/ipaas/service/api-config.mjs +381 -0
- package/es/ipaas/service/apis/app.service.d.ts +26 -0
- package/es/ipaas/service/apis/bff.service.d.ts +15 -0
- package/es/ipaas/service/apis/categories.service.d.ts +9 -0
- package/es/ipaas/service/apis/category.service.d.ts +33 -1
- package/es/ipaas/service/apis/file.service.d.ts +17 -0
- package/es/ipaas/service/apis/flow.service.d.ts +234 -1
- package/es/ipaas/service/apis/knowledge.service.d.ts +196 -0
- package/es/ipaas/service/apis/variable-def.service.d.ts +87 -0
- package/es/ipaas/service/apis/variable-inst.service.d.ts +63 -0
- package/es/ipaas/service/entities.d.ts +1386 -37
- package/es/ipaas/service/index.d.ts +14 -0
- package/es/platform/service/api-config.mjs +96 -4
- package/es/platform/service/apis/api.service.d.ts +94 -1
- package/es/platform/service/apis/app.service.d.ts +26 -0
- package/es/platform/service/apis/dashboard.service.d.ts +4 -0
- package/es/platform/service/apis/license.service.d.ts +10 -1
- package/es/platform/service/apis/org.service.d.ts +4 -0
- package/es/platform/service/apis/tenant.service.d.ts +4 -0
- package/es/platform/service/apis/third-party-app.service.d.ts +110 -0
- package/es/platform/service/entities.d.ts +387 -1
- package/es/platform/service/index.d.ts +2 -0
- package/es/service/api-service.interface.d.ts +9 -0
- package/es/service/http.error.mjs +3 -0
- package/es/service/index.mjs +2 -0
- package/package.json +5 -5
- package/es/apaas/service/apis/med-pro.service.d.ts +0 -76
- package/es/apaas/service/apis/medPro.service.d.ts +0 -184
- package/es/apaas/service/apis/ss.service.d.ts +0 -42
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
3
|
-
modelDataAssociationRequest,
|
|
4
|
-
ModelAssociationResponse,
|
|
5
|
-
ProcessApproveRequest,
|
|
6
|
-
ProcessReassign4InterfereRequest,
|
|
7
|
-
ProcessReturn4InterfereRequest,
|
|
8
|
-
DhrProcessJumpRequest,
|
|
9
|
-
ProcessReassignRequest,
|
|
10
|
-
ProcessReturnRequest,
|
|
11
|
-
OnlineFormInstance,
|
|
12
|
-
DhrProcessApproveRequest,
|
|
13
|
-
DhrProcessReassign4InterfereRequest,
|
|
14
|
-
DhrProcessReturn4InterfereRequest,
|
|
15
|
-
DhrProcessReassignRequest,
|
|
16
|
-
DhrProcessReturnRequest,
|
|
17
|
-
} from '../entities';
|
|
18
|
-
|
|
19
|
-
export interface getModelMetaGetSysConfigQuery extends IObject {
|
|
20
|
-
/**
|
|
21
|
-
* key
|
|
22
|
-
*/
|
|
23
|
-
key: string;
|
|
24
|
-
}
|
|
25
|
-
export interface getModelMetaHasDataAssociationQuery extends IObject {
|
|
26
|
-
/**
|
|
27
|
-
* id
|
|
28
|
-
*/
|
|
29
|
-
id: string;
|
|
30
|
-
/**
|
|
31
|
-
* modelKey
|
|
32
|
-
*/
|
|
33
|
-
modelKey: string;
|
|
34
|
-
}
|
|
35
|
-
export interface getModelMetaModelDataAssociationQuery extends IObject {
|
|
36
|
-
/**
|
|
37
|
-
* id
|
|
38
|
-
*/
|
|
39
|
-
id: string;
|
|
40
|
-
/**
|
|
41
|
-
* modelKey
|
|
42
|
-
*/
|
|
43
|
-
modelKey: string;
|
|
44
|
-
}
|
|
45
|
-
export interface getEdhrAttachmentGetEdhrAttachmentQuery extends IObject {
|
|
46
|
-
/**
|
|
47
|
-
* materialNo
|
|
48
|
-
*/
|
|
49
|
-
materialNo: string;
|
|
50
|
-
}
|
|
51
|
-
export interface postFileUnzipQuery extends IObject {
|
|
52
|
-
/**
|
|
53
|
-
* url
|
|
54
|
-
*/
|
|
55
|
-
url: string;
|
|
56
|
-
}
|
|
57
|
-
export interface MedProService {
|
|
58
|
-
/**
|
|
59
|
-
* 关联模型数据查询
|
|
60
|
-
*/
|
|
61
|
-
postModelMetaDataAssociation(
|
|
62
|
-
data: modelDataAssociationRequest,
|
|
63
|
-
config?: Partial<AxiosRequestConfig>,
|
|
64
|
-
): Promise<object>;
|
|
65
|
-
/**
|
|
66
|
-
* 获取系统配置
|
|
67
|
-
*/
|
|
68
|
-
getModelMetaGetSysConfig(
|
|
69
|
-
query: getModelMetaGetSysConfigQuery,
|
|
70
|
-
config?: Partial<AxiosRequestConfig>,
|
|
71
|
-
): Promise<boolean>;
|
|
72
|
-
/**
|
|
73
|
-
* 存在关联数据
|
|
74
|
-
*/
|
|
75
|
-
getModelMetaHasDataAssociation(
|
|
76
|
-
query: getModelMetaHasDataAssociationQuery,
|
|
77
|
-
config?: Partial<AxiosRequestConfig>,
|
|
78
|
-
): Promise<boolean>;
|
|
79
|
-
/**
|
|
80
|
-
* 关联数据信息列表
|
|
81
|
-
*/
|
|
82
|
-
getModelMetaModelDataAssociation(
|
|
83
|
-
query: getModelMetaModelDataAssociationQuery,
|
|
84
|
-
config?: Partial<AxiosRequestConfig>,
|
|
85
|
-
): Promise<ModelAssociationResponse[]>;
|
|
86
|
-
/**
|
|
87
|
-
* 审核
|
|
88
|
-
*/
|
|
89
|
-
postApproveProcessApprove(
|
|
90
|
-
data: ProcessApproveRequest,
|
|
91
|
-
config?: Partial<AxiosRequestConfig>,
|
|
92
|
-
): Promise<string>;
|
|
93
|
-
/**
|
|
94
|
-
* 流程干预转办
|
|
95
|
-
*/
|
|
96
|
-
postApproveProcessInterfereReassign(
|
|
97
|
-
data: ProcessReassign4InterfereRequest,
|
|
98
|
-
config?: Partial<AxiosRequestConfig>,
|
|
99
|
-
): Promise<string>;
|
|
100
|
-
/**
|
|
101
|
-
* 流程干预退回
|
|
102
|
-
*/
|
|
103
|
-
postApproveProcessInterfereReturn(
|
|
104
|
-
data: ProcessReturn4InterfereRequest,
|
|
105
|
-
config?: Partial<AxiosRequestConfig>,
|
|
106
|
-
): Promise<string>;
|
|
107
|
-
/**
|
|
108
|
-
* 根据按钮key跳转流程节点
|
|
109
|
-
*/
|
|
110
|
-
postApproveProcessJump(
|
|
111
|
-
data: DhrProcessJumpRequest,
|
|
112
|
-
config?: Partial<AxiosRequestConfig>,
|
|
113
|
-
): Promise<string>;
|
|
114
|
-
/**
|
|
115
|
-
* 转办
|
|
116
|
-
*/
|
|
117
|
-
postApproveProcessReassign(
|
|
118
|
-
data: ProcessReassignRequest,
|
|
119
|
-
config?: Partial<AxiosRequestConfig>,
|
|
120
|
-
): Promise<string>;
|
|
121
|
-
/**
|
|
122
|
-
* 退回
|
|
123
|
-
*/
|
|
124
|
-
postApproveProcessReturn(
|
|
125
|
-
data: ProcessReturnRequest,
|
|
126
|
-
config?: Partial<AxiosRequestConfig>,
|
|
127
|
-
): Promise<string>;
|
|
128
|
-
/**
|
|
129
|
-
* 获取Edhr附录接口
|
|
130
|
-
*/
|
|
131
|
-
getEdhrAttachmentGetEdhrAttachment(
|
|
132
|
-
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
133
|
-
config?: Partial<AxiosRequestConfig>,
|
|
134
|
-
): Promise<OnlineFormInstance[]>;
|
|
135
|
-
/**
|
|
136
|
-
* 解压出pdf
|
|
137
|
-
*/
|
|
138
|
-
postFileUnzip(
|
|
139
|
-
query: postFileUnzipQuery,
|
|
140
|
-
config?: Partial<AxiosRequestConfig>,
|
|
141
|
-
): Promise<string>;
|
|
142
|
-
/**
|
|
143
|
-
* 审核
|
|
144
|
-
*/
|
|
145
|
-
postFormChangeProcessApprove(
|
|
146
|
-
data: DhrProcessApproveRequest,
|
|
147
|
-
config?: Partial<AxiosRequestConfig>,
|
|
148
|
-
): Promise<string>;
|
|
149
|
-
/**
|
|
150
|
-
* 流程干预转办
|
|
151
|
-
*/
|
|
152
|
-
postFormChangeProcessInterfereReassign(
|
|
153
|
-
data: DhrProcessReassign4InterfereRequest,
|
|
154
|
-
config?: Partial<AxiosRequestConfig>,
|
|
155
|
-
): Promise<string>;
|
|
156
|
-
/**
|
|
157
|
-
* 流程干预退回
|
|
158
|
-
*/
|
|
159
|
-
postFormChangeProcessInterfereReturn(
|
|
160
|
-
data: DhrProcessReturn4InterfereRequest,
|
|
161
|
-
config?: Partial<AxiosRequestConfig>,
|
|
162
|
-
): Promise<string>;
|
|
163
|
-
/**
|
|
164
|
-
* 根据按钮key跳转流程节点
|
|
165
|
-
*/
|
|
166
|
-
postFormChangeProcessJump(
|
|
167
|
-
data: DhrProcessJumpRequest,
|
|
168
|
-
config?: Partial<AxiosRequestConfig>,
|
|
169
|
-
): Promise<string>;
|
|
170
|
-
/**
|
|
171
|
-
* 转办
|
|
172
|
-
*/
|
|
173
|
-
postFormChangeProcessReassign(
|
|
174
|
-
data: DhrProcessReassignRequest,
|
|
175
|
-
config?: Partial<AxiosRequestConfig>,
|
|
176
|
-
): Promise<string>;
|
|
177
|
-
/**
|
|
178
|
-
* 退回
|
|
179
|
-
*/
|
|
180
|
-
postFormChangeProcessReturn(
|
|
181
|
-
data: DhrProcessReturnRequest,
|
|
182
|
-
config?: Partial<AxiosRequestConfig>,
|
|
183
|
-
): Promise<string>;
|
|
184
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import type { AxiosRequestConfig } from 'axios';
|
|
3
|
-
import type { ExcelValidateResponse } from '../entities';
|
|
4
|
-
|
|
5
|
-
export interface postUploadExcelQuery extends IObject {
|
|
6
|
-
/**
|
|
7
|
-
* headerRowIndex
|
|
8
|
-
*/
|
|
9
|
-
headerRowIndex?: number;
|
|
10
|
-
/**
|
|
11
|
-
* saveAttachment
|
|
12
|
-
*/
|
|
13
|
-
saveAttachment?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* startRowIndex
|
|
16
|
-
*/
|
|
17
|
-
startRowIndex?: number;
|
|
18
|
-
}
|
|
19
|
-
export interface SsService {
|
|
20
|
-
/**
|
|
21
|
-
* excel上传解析
|
|
22
|
-
*/
|
|
23
|
-
postUploadExcel(
|
|
24
|
-
query: postUploadExcelQuery,
|
|
25
|
-
data: UploadFileData,
|
|
26
|
-
config?: Partial<AxiosRequestConfig>,
|
|
27
|
-
): Promise<any>;
|
|
28
|
-
/**
|
|
29
|
-
* 串行工作流导入
|
|
30
|
-
*/
|
|
31
|
-
postUploadImportSerialWorkflow(
|
|
32
|
-
data: UploadFileData,
|
|
33
|
-
config?: Partial<AxiosRequestConfig>,
|
|
34
|
-
): Promise<IHttpResponse<object>>;
|
|
35
|
-
/**
|
|
36
|
-
* zip上传解析
|
|
37
|
-
*/
|
|
38
|
-
postUploadZip(
|
|
39
|
-
data: UploadFileData,
|
|
40
|
-
config?: Partial<AxiosRequestConfig>,
|
|
41
|
-
): Promise<IHttpResponse<ExcelValidateResponse>>;
|
|
42
|
-
}
|