@gct-paas/api 6.0.0-dev.1 → 6.0.0-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.
- package/dist/index.esm.min.js +1 -1
- package/es/apaas/service/api-config.mjs +106 -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 +12 -0
- package/es/apaas/service/apis/excel.service.d.ts +0 -12
- 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/apis/transaction.service.d.ts +11 -0
- package/es/apaas/service/entities.d.ts +1526 -328
- 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 +145 -4
- package/es/platform/service/apis/api.service.d.ts +98 -1
- package/es/platform/service/apis/app.service.d.ts +26 -0
- package/es/platform/service/apis/license.service.d.ts +10 -1
- package/es/platform/service/apis/ocr-model.service.d.ts +87 -0
- package/es/platform/service/apis/third-party-app.service.d.ts +110 -0
- package/es/platform/service/entities.d.ts +529 -1
- package/es/platform/service/index.d.ts +4 -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,4 +1,5 @@
|
|
|
1
1
|
import { type ApiManage as APaasApiManage } from '../apaas';
|
|
2
|
+
import { type ApiManage as IpaasApiManage } from '../ipaas';
|
|
2
3
|
import { type ApiManage as PlatformApiManage } from '../platform';
|
|
3
4
|
/**
|
|
4
5
|
* HTTP 响应接口
|
|
@@ -156,6 +157,14 @@ export interface ApiMap {
|
|
|
156
157
|
* @type {APaasApiManage}
|
|
157
158
|
*/
|
|
158
159
|
apaas: APaasApiManage;
|
|
160
|
+
/**
|
|
161
|
+
* IPaas 平台 API 管理
|
|
162
|
+
*
|
|
163
|
+
* @author chitanda
|
|
164
|
+
* @date 2025-08-21 17:08:53
|
|
165
|
+
* @type {IpaasApiManage}
|
|
166
|
+
*/
|
|
167
|
+
ipaas: IpaasApiManage;
|
|
159
168
|
/**
|
|
160
169
|
* 平台 API 管理
|
|
161
170
|
*
|
package/es/service/index.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { apiConfig as aPaasConfig } from "../apaas/index.mjs";
|
|
2
|
+
import { apiConfig as ipaasConfig } from "../ipaas/index.mjs";
|
|
2
3
|
import { apiConfig as platformConfig } from "../platform/index.mjs";
|
|
3
4
|
import { ApiManage } from "./api-manage.mjs";
|
|
4
5
|
export const api = {
|
|
5
6
|
apaas: new ApiManage("/gct-apaas/api", aPaasConfig),
|
|
7
|
+
ipaas: new ApiManage("/gct-ipaas/api", ipaasConfig),
|
|
6
8
|
platform: new ApiManage("/gct-platform/api", platformConfig)
|
|
7
9
|
};
|
|
8
10
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/api",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.11",
|
|
4
4
|
"description": "paas 平台底包",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"publish:beta": "npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
|
|
74
74
|
"publish:npm": "npm publish --access public --registry=https://registry.npmjs.org/",
|
|
75
75
|
"gen-api:alpha": "./script/gen-api.sh http://paas.alpha.gct-paas.com",
|
|
76
|
-
"gen-api:dev": "./script/gen-api.sh http://paas.
|
|
77
|
-
"gen-api:test": "./script/gen-api.sh"
|
|
76
|
+
"gen-api:dev": "./script/gen-api.sh http://paas.paasdevsix.gct-paas.com",
|
|
77
|
+
"gen-api:test": "./script/gen-api.sh http://paas.paastestsix.gct-paas.com"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"axios": "^1.16.0",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@babel/preset-env": "^7.29.5",
|
|
89
89
|
"@commitlint/cli": "^20.5.3",
|
|
90
|
-
"@gct-paas/build": "^0.1.
|
|
91
|
-
"@gct-paas/cli": "^0.
|
|
90
|
+
"@gct-paas/build": "^0.1.23",
|
|
91
|
+
"@gct-paas/cli": "^0.2.0",
|
|
92
92
|
"@types/fs-extra": "^11.0.4",
|
|
93
93
|
"@types/lodash-es": "^4.17.12",
|
|
94
94
|
"@types/node": "^25.6.2",
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
3
|
-
modelDataAssociationRequest,
|
|
4
|
-
ModelAssociationResponse,
|
|
5
|
-
OnlineFormInstance,
|
|
6
|
-
} from '../entities';
|
|
7
|
-
|
|
8
|
-
export interface getModelMetaGetSysConfigQuery {
|
|
9
|
-
/**
|
|
10
|
-
* key
|
|
11
|
-
*/
|
|
12
|
-
key: string;
|
|
13
|
-
}
|
|
14
|
-
export interface getModelMetaHasDataAssociationQuery {
|
|
15
|
-
/**
|
|
16
|
-
* id
|
|
17
|
-
*/
|
|
18
|
-
id: string;
|
|
19
|
-
/**
|
|
20
|
-
* modelKey
|
|
21
|
-
*/
|
|
22
|
-
modelKey: string;
|
|
23
|
-
}
|
|
24
|
-
export interface getModelMetaModelDataAssociationQuery {
|
|
25
|
-
/**
|
|
26
|
-
* id
|
|
27
|
-
*/
|
|
28
|
-
id: string;
|
|
29
|
-
/**
|
|
30
|
-
* modelKey
|
|
31
|
-
*/
|
|
32
|
-
modelKey: string;
|
|
33
|
-
}
|
|
34
|
-
export interface getEdhrAttachmentGetEdhrAttachmentQuery {
|
|
35
|
-
/**
|
|
36
|
-
* materialNo
|
|
37
|
-
*/
|
|
38
|
-
materialNo: string;
|
|
39
|
-
}
|
|
40
|
-
export interface MedProService {
|
|
41
|
-
/**
|
|
42
|
-
* 关联模型数据查询
|
|
43
|
-
*/
|
|
44
|
-
postModelMetaDataAssociation(
|
|
45
|
-
data: modelDataAssociationRequest,
|
|
46
|
-
config?: Partial<AxiosRequestConfig>,
|
|
47
|
-
): Promise<object>;
|
|
48
|
-
/**
|
|
49
|
-
* 获取系统配置
|
|
50
|
-
*/
|
|
51
|
-
getModelMetaGetSysConfig(
|
|
52
|
-
query: getModelMetaGetSysConfigQuery,
|
|
53
|
-
config?: Partial<AxiosRequestConfig>,
|
|
54
|
-
): Promise<boolean>;
|
|
55
|
-
/**
|
|
56
|
-
* 存在关联数据
|
|
57
|
-
*/
|
|
58
|
-
getModelMetaHasDataAssociation(
|
|
59
|
-
query: getModelMetaHasDataAssociationQuery,
|
|
60
|
-
config?: Partial<AxiosRequestConfig>,
|
|
61
|
-
): Promise<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* 关联数据信息列表
|
|
64
|
-
*/
|
|
65
|
-
getModelMetaModelDataAssociation(
|
|
66
|
-
query: getModelMetaModelDataAssociationQuery,
|
|
67
|
-
config?: Partial<AxiosRequestConfig>,
|
|
68
|
-
): Promise<ModelAssociationResponse[]>;
|
|
69
|
-
/**
|
|
70
|
-
* 获取Edhr附录接口
|
|
71
|
-
*/
|
|
72
|
-
getEdhrAttachmentGetEdhrAttachment(
|
|
73
|
-
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
74
|
-
config?: Partial<AxiosRequestConfig>,
|
|
75
|
-
): Promise<OnlineFormInstance[]>;
|
|
76
|
-
}
|
|
@@ -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
|
-
}
|