@gct-paas/api 0.1.0-dev.1 → 0.1.0-dev.3
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/gct-api.esm.min.js +25 -0
- package/dist/gct-api.system.min.js +25 -0
- package/es/apaas/service/api-config.mjs +676 -20
- package/es/apaas/service/apis/api.service.d.ts +10 -0
- package/es/apaas/service/apis/app-global-settings.service.d.ts +1 -0
- package/es/apaas/service/apis/app-granted-user.service.d.ts +1 -0
- package/es/apaas/service/apis/app-org.service.d.ts +1 -0
- package/es/apaas/service/apis/audit-log.service.d.ts +2 -5
- package/es/apaas/service/apis/control-config.service.d.ts +4 -0
- package/es/apaas/service/apis/designer-common.service.d.ts +4 -0
- package/es/apaas/service/apis/dhr.service.d.ts +46 -0
- package/es/apaas/service/apis/doc-outline.service.d.ts +1 -1
- package/es/apaas/service/apis/document.service.d.ts +4 -0
- package/es/apaas/service/apis/edhr-category.service.d.ts +57 -0
- package/es/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +60 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +7 -0
- package/es/apaas/service/apis/edhr-tmpl.service.d.ts +5 -2
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/es/apaas/service/apis/file.service.d.ts +10 -0
- package/es/apaas/service/apis/form.service.d.ts +41 -0
- package/es/apaas/service/apis/label.service.d.ts +41 -1
- package/es/apaas/service/apis/message-record.service.d.ts +2 -0
- package/es/apaas/service/apis/model-meta.service.d.ts +25 -0
- package/es/apaas/service/apis/model-permission-relation.service.d.ts +50 -0
- package/es/apaas/service/apis/online-form-category.service.d.ts +57 -0
- package/es/apaas/service/apis/online-form-instance.service.d.ts +75 -6
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +6 -1
- package/es/apaas/service/apis/online-form.service.d.ts +0 -5
- package/es/apaas/service/apis/online-user-summary.service.d.ts +50 -0
- package/es/apaas/service/apis/online.service.d.ts +15 -1
- package/es/apaas/service/apis/pad-page.service.d.ts +70 -0
- package/es/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/es/apaas/service/apis/pm-process-definition.service.d.ts +1 -0
- package/es/apaas/service/apis/print.service.d.ts +5 -0
- package/es/apaas/service/apis/process-definition-version.service.d.ts +8 -0
- package/es/apaas/service/apis/process-path.service.d.ts +8 -0
- package/es/apaas/service/apis/process-task-done.service.d.ts +10 -0
- package/es/apaas/service/apis/process-task-todo.service.d.ts +20 -0
- package/es/apaas/service/apis/product-release.service.d.ts +9 -0
- package/es/apaas/service/apis/report-data-set.service.d.ts +10 -0
- package/es/apaas/service/apis/sandbox-config.service.d.ts +74 -0
- package/es/apaas/service/apis/ss.service.d.ts +12 -0
- package/es/apaas/service/apis/trace-log.service.d.ts +1 -0
- package/es/apaas/service/entities.d.ts +9809 -6335
- package/es/apaas/service/index.d.ts +18 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/ipaas/service/api-config.mjs +28 -0
- package/es/ipaas/service/apis/auth.service.d.ts +1 -1
- package/es/ipaas/service/apis/camel.service.d.ts +8 -0
- package/es/ipaas/service/apis/flow-ext.service.d.ts +13 -1
- package/es/ipaas/service/apis/flow.service.d.ts +10 -1
- package/es/ipaas/service/entities.d.ts +74 -2
- package/es/platform/service/api-config.mjs +320 -16
- package/es/platform/service/apis/api.service.d.ts +63 -30
- package/es/platform/service/apis/app-member.service.d.ts +0 -4
- package/es/platform/service/apis/bi-app.service.d.ts +6 -0
- package/es/platform/service/apis/dashboard.service.d.ts +1 -0
- package/es/platform/service/apis/database.service.d.ts +24 -0
- package/es/platform/service/apis/dataset.service.d.ts +19 -0
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +58 -0
- package/es/platform/service/apis/device-interconnection.service.d.ts +63 -0
- package/es/platform/service/apis/device-param-ref.service.d.ts +25 -0
- package/es/platform/service/apis/file-task.service.d.ts +1 -0
- package/es/platform/service/apis/file.service.d.ts +4 -0
- package/es/platform/service/apis/license.service.d.ts +8 -0
- package/es/platform/service/apis/login.service.d.ts +1 -0
- package/es/platform/service/apis/org.service.d.ts +1 -0
- package/es/platform/service/apis/plat.service.d.ts +17 -0
- package/es/platform/service/apis/seal-management.service.d.ts +1 -1
- package/es/platform/service/apis/tenant.service.d.ts +1 -0
- package/es/platform/service/entities.d.ts +768 -72
- package/es/platform/service/index.d.ts +8 -0
- package/es/service/api-manage.d.ts +26 -0
- package/es/service/api-manage.mjs +29 -0
- package/es/service/api-service.d.ts +96 -0
- package/es/service/api-service.interface.d.ts +159 -0
- package/es/service/api-service.interface.mjs +0 -0
- package/es/service/api-service.mjs +169 -0
- package/es/service/http.enum.d.ts +76 -0
- package/es/service/http.enum.mjs +60 -0
- package/es/service/http.util.d.ts +113 -0
- package/es/service/http.util.mjs +155 -0
- package/es/service/index.d.ts +8 -0
- package/es/service/index.mjs +14 -0
- package/es/types/index.d.ts +2 -0
- package/es/utils/index.d.ts +10 -0
- package/es/utils/index.mjs +14 -0
- package/lib/apaas/service/api-config.cjs +566 -14
- package/lib/apaas/service/apis/api.service.d.ts +10 -0
- package/lib/apaas/service/apis/app-global-settings.service.d.ts +1 -0
- package/lib/apaas/service/apis/app-granted-user.service.d.ts +1 -0
- package/lib/apaas/service/apis/app-org.service.d.ts +1 -0
- package/lib/apaas/service/apis/audit-log.service.d.ts +2 -5
- package/lib/apaas/service/apis/control-config.service.d.ts +4 -0
- package/lib/apaas/service/apis/designer-common.service.d.ts +4 -0
- package/lib/apaas/service/apis/dhr.service.d.ts +46 -0
- package/lib/apaas/service/apis/doc-outline.service.d.ts +1 -1
- package/lib/apaas/service/apis/document.service.d.ts +4 -0
- package/lib/apaas/service/apis/edhr-category.service.d.ts +57 -0
- package/lib/apaas/service/apis/edhr-circulationFormRelateModel.service.d.ts +60 -0
- package/lib/apaas/service/apis/edhr-instance.service.d.ts +7 -0
- package/lib/apaas/service/apis/edhr-tmpl.service.d.ts +5 -2
- package/lib/apaas/service/apis/file-resource.service.d.ts +1 -0
- package/lib/apaas/service/apis/file.service.d.ts +10 -0
- package/lib/apaas/service/apis/form.service.d.ts +41 -0
- package/lib/apaas/service/apis/label.service.d.ts +41 -1
- package/lib/apaas/service/apis/message-record.service.d.ts +2 -0
- package/lib/apaas/service/apis/model-meta.service.d.ts +25 -0
- package/lib/apaas/service/apis/model-permission-relation.service.d.ts +50 -0
- package/lib/apaas/service/apis/online-form-category.service.d.ts +57 -0
- package/lib/apaas/service/apis/online-form-instance.service.d.ts +75 -6
- package/lib/apaas/service/apis/online-form-tmpl.service.d.ts +6 -1
- package/lib/apaas/service/apis/online-form.service.d.ts +0 -5
- package/lib/apaas/service/apis/online-user-summary.service.d.ts +50 -0
- package/lib/apaas/service/apis/online.service.d.ts +15 -1
- package/lib/apaas/service/apis/pad-page.service.d.ts +70 -0
- package/lib/apaas/service/apis/page-designer-log.service.d.ts +1 -1
- package/lib/apaas/service/apis/pm-process-definition.service.d.ts +1 -0
- package/lib/apaas/service/apis/print.service.d.ts +5 -0
- package/lib/apaas/service/apis/process-definition-version.service.d.ts +8 -0
- package/lib/apaas/service/apis/process-path.service.d.ts +8 -0
- package/lib/apaas/service/apis/process-task-done.service.d.ts +10 -0
- package/lib/apaas/service/apis/process-task-todo.service.d.ts +20 -0
- package/lib/apaas/service/apis/product-release.service.d.ts +9 -0
- package/lib/apaas/service/apis/report-data-set.service.d.ts +10 -0
- package/lib/apaas/service/apis/sandbox-config.service.d.ts +74 -0
- package/lib/apaas/service/apis/ss.service.d.ts +12 -0
- package/lib/apaas/service/apis/trace-log.service.d.ts +1 -0
- package/lib/apaas/service/entities.d.ts +9809 -6335
- package/lib/apaas/service/index.d.ts +18 -0
- package/lib/index.cjs +16 -0
- package/lib/ipaas/service/api-config.cjs +24 -0
- package/lib/ipaas/service/apis/auth.service.d.ts +1 -1
- package/lib/ipaas/service/apis/camel.service.d.ts +8 -0
- package/lib/ipaas/service/apis/flow-ext.service.d.ts +13 -1
- package/lib/ipaas/service/apis/flow.service.d.ts +10 -1
- package/lib/ipaas/service/entities.d.ts +74 -2
- package/lib/platform/service/api-config.cjs +271 -15
- package/lib/platform/service/apis/api.service.d.ts +63 -30
- package/lib/platform/service/apis/app-member.service.d.ts +0 -4
- package/lib/platform/service/apis/bi-app.service.d.ts +6 -0
- package/lib/platform/service/apis/dashboard.service.d.ts +1 -0
- package/lib/platform/service/apis/database.service.d.ts +24 -0
- package/lib/platform/service/apis/dataset.service.d.ts +19 -0
- package/lib/platform/service/apis/device-interconnection-param.service.d.ts +58 -0
- package/lib/platform/service/apis/device-interconnection.service.d.ts +63 -0
- package/lib/platform/service/apis/device-param-ref.service.d.ts +25 -0
- package/lib/platform/service/apis/file-task.service.d.ts +1 -0
- package/lib/platform/service/apis/file.service.d.ts +4 -0
- package/lib/platform/service/apis/license.service.d.ts +8 -0
- package/lib/platform/service/apis/login.service.d.ts +1 -0
- package/lib/platform/service/apis/org.service.d.ts +1 -0
- package/lib/platform/service/apis/plat.service.d.ts +17 -0
- package/lib/platform/service/apis/seal-management.service.d.ts +1 -1
- package/lib/platform/service/apis/tenant.service.d.ts +1 -0
- package/lib/platform/service/entities.d.ts +768 -72
- package/lib/platform/service/index.d.ts +8 -0
- package/lib/service/api-manage.cjs +34 -0
- package/lib/service/api-service.cjs +142 -0
- package/lib/service/api-service.interface.cjs +1 -0
- package/lib/service/http.enum.cjs +66 -0
- package/lib/service/http.util.cjs +181 -0
- package/lib/service/index.cjs +45 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/utils/index.cjs +16 -0
- package/package.json +38 -38
- package/dist/api-apaas.system.js +0 -1
- package/dist/api-ipaas.system.js +0 -1
- package/dist/api-platform.system.js +0 -1
|
@@ -30,6 +30,7 @@ import type { DesignerCommonService } from './apis/designer-common.service';
|
|
|
30
30
|
import type { DesignerLockService } from './apis/designer-lock.service';
|
|
31
31
|
import type { DesignerOperateLogService } from './apis/designer-operate-log.service';
|
|
32
32
|
import type { DevopsService } from './apis/devops.service';
|
|
33
|
+
import type { DhrService } from './apis/dhr.service';
|
|
33
34
|
import type { DifyChatService } from './apis/dify-chat.service';
|
|
34
35
|
import type { DocControlStartedService } from './apis/doc-control-started.service';
|
|
35
36
|
import type { DocControlTaskDoneService } from './apis/doc-control-task-done.service';
|
|
@@ -37,6 +38,8 @@ import type { DocControlTaskTodoService } from './apis/doc-control-task-todo.ser
|
|
|
37
38
|
import type { DocControlService } from './apis/doc-control.service';
|
|
38
39
|
import type { DocOutlineService } from './apis/doc-outline.service';
|
|
39
40
|
import type { DocumentService } from './apis/document.service';
|
|
41
|
+
import type { EdhrCategoryService } from './apis/edhr-category.service';
|
|
42
|
+
import type { EdhrCirculationFormRelateModelService } from './apis/edhr-circulationFormRelateModel.service';
|
|
40
43
|
import type { EdhrInstanceService } from './apis/edhr-instance.service';
|
|
41
44
|
import type { EdhrInstanceRelationService } from './apis/edhr-instance-relation.service';
|
|
42
45
|
import type { EdhrInstanceSearchHistoryService } from './apis/edhr-instance-search-history.service';
|
|
@@ -66,6 +69,7 @@ import type { LabelService } from './apis/label.service';
|
|
|
66
69
|
import type { LabelLogService } from './apis/label-log.service';
|
|
67
70
|
import type { LoginLogService } from './apis/login-log.service';
|
|
68
71
|
import type { MedProService } from './apis/medPro.service';
|
|
72
|
+
import type { MedproService } from './apis/medpro.service';
|
|
69
73
|
import type { MenuConfigService } from './apis/menu-config.service';
|
|
70
74
|
import type { MergeLogService } from './apis/merge-log.service';
|
|
71
75
|
import type { MessageRecordService } from './apis/message-record.service';
|
|
@@ -77,15 +81,19 @@ import type { ModelComprehensiveService } from './apis/model-comprehensive.servi
|
|
|
77
81
|
import type { ModelDataService } from './apis/model-data.service';
|
|
78
82
|
import type { ModelMetaService } from './apis/model-meta.service';
|
|
79
83
|
import type { ModelMethodService } from './apis/model-method.service';
|
|
84
|
+
import type { ModelPermissionRelationService } from './apis/model-permission-relation.service';
|
|
80
85
|
import type { ModelService } from './apis/model.service';
|
|
86
|
+
import type { OnlineFormCategoryService } from './apis/online-form-category.service';
|
|
81
87
|
import type { OnlineFormChangeHistoryService } from './apis/online-form-change-history.service';
|
|
82
88
|
import type { OnlineFormInstanceService } from './apis/online-form-instance.service';
|
|
83
89
|
import type { OnlineFormLogService } from './apis/online-form-log.service';
|
|
84
90
|
import type { OnlineFormTmplLogService } from './apis/online-form-tmpl-log.service';
|
|
85
91
|
import type { OnlineFormTmplService } from './apis/online-form-tmpl.service';
|
|
86
92
|
import type { OnlineFormService } from './apis/online-form.service';
|
|
93
|
+
import type { OnlineUserSummaryService } from './apis/online-user-summary.service';
|
|
87
94
|
import type { OnlineService } from './apis/online.service';
|
|
88
95
|
import type { OpenapiService } from './apis/openapi.service';
|
|
96
|
+
import type { PadPageService } from './apis/pad-page.service';
|
|
89
97
|
import type { PageDesignerLogService } from './apis/page-designer-log.service';
|
|
90
98
|
import type { PermissionService } from './apis/permission.service';
|
|
91
99
|
import type { PlatService } from './apis/plat.service';
|
|
@@ -121,6 +129,7 @@ import type { ReportDataSetService } from './apis/report-data-set.service';
|
|
|
121
129
|
import type { ReportDataService } from './apis/report-data.service';
|
|
122
130
|
import type { RoleService } from './apis/role.service';
|
|
123
131
|
import type { RolePermissionService } from './apis/role-permission.service';
|
|
132
|
+
import type { SandboxConfigService } from './apis/sandbox-config.service';
|
|
124
133
|
import type { ScriptService } from './apis/script.service';
|
|
125
134
|
import type { ScriptAssistantService } from './apis/script-assistant.service';
|
|
126
135
|
import type { ScriptVersionService } from './apis/script-version.service';
|
|
@@ -182,6 +191,7 @@ export interface ApiManage {
|
|
|
182
191
|
readonly designerLock: DesignerLockService;
|
|
183
192
|
readonly designerOperateLog: DesignerOperateLogService;
|
|
184
193
|
readonly devops: DevopsService;
|
|
194
|
+
readonly dhr: DhrService;
|
|
185
195
|
readonly difyChat: DifyChatService;
|
|
186
196
|
readonly docControlStarted: DocControlStartedService;
|
|
187
197
|
readonly docControlTaskDone: DocControlTaskDoneService;
|
|
@@ -189,6 +199,8 @@ export interface ApiManage {
|
|
|
189
199
|
readonly docControl: DocControlService;
|
|
190
200
|
readonly docOutline: DocOutlineService;
|
|
191
201
|
readonly document: DocumentService;
|
|
202
|
+
readonly edhrCategory: EdhrCategoryService;
|
|
203
|
+
readonly edhrCirculationFormRelateModel: EdhrCirculationFormRelateModelService;
|
|
192
204
|
readonly edhrInstance: EdhrInstanceService;
|
|
193
205
|
readonly edhrInstanceRelation: EdhrInstanceRelationService;
|
|
194
206
|
readonly edhrInstanceSearchHistory: EdhrInstanceSearchHistoryService;
|
|
@@ -218,6 +230,7 @@ export interface ApiManage {
|
|
|
218
230
|
readonly labelLog: LabelLogService;
|
|
219
231
|
readonly loginLog: LoginLogService;
|
|
220
232
|
readonly medPro: MedProService;
|
|
233
|
+
readonly medpro: MedproService;
|
|
221
234
|
readonly menuConfig: MenuConfigService;
|
|
222
235
|
readonly mergeLog: MergeLogService;
|
|
223
236
|
readonly messageRecord: MessageRecordService;
|
|
@@ -229,15 +242,19 @@ export interface ApiManage {
|
|
|
229
242
|
readonly modelData: ModelDataService;
|
|
230
243
|
readonly modelMeta: ModelMetaService;
|
|
231
244
|
readonly modelMethod: ModelMethodService;
|
|
245
|
+
readonly modelPermissionRelation: ModelPermissionRelationService;
|
|
232
246
|
readonly model: ModelService;
|
|
247
|
+
readonly onlineFormCategory: OnlineFormCategoryService;
|
|
233
248
|
readonly onlineFormChangeHistory: OnlineFormChangeHistoryService;
|
|
234
249
|
readonly onlineFormInstance: OnlineFormInstanceService;
|
|
235
250
|
readonly onlineFormLog: OnlineFormLogService;
|
|
236
251
|
readonly onlineFormTmplLog: OnlineFormTmplLogService;
|
|
237
252
|
readonly onlineFormTmpl: OnlineFormTmplService;
|
|
238
253
|
readonly onlineForm: OnlineFormService;
|
|
254
|
+
readonly onlineUserSummary: OnlineUserSummaryService;
|
|
239
255
|
readonly online: OnlineService;
|
|
240
256
|
readonly openapi: OpenapiService;
|
|
257
|
+
readonly padPage: PadPageService;
|
|
241
258
|
readonly pageDesignerLog: PageDesignerLogService;
|
|
242
259
|
readonly permission: PermissionService;
|
|
243
260
|
readonly plat: PlatService;
|
|
@@ -273,6 +290,7 @@ export interface ApiManage {
|
|
|
273
290
|
readonly reportData: ReportDataService;
|
|
274
291
|
readonly role: RoleService;
|
|
275
292
|
readonly rolePermission: RolePermissionService;
|
|
293
|
+
readonly sandboxConfig: SandboxConfigService;
|
|
276
294
|
readonly script: ScriptService;
|
|
277
295
|
readonly scriptAssistant: ScriptAssistantService;
|
|
278
296
|
readonly scriptVersion: ScriptVersionService;
|
package/lib/index.cjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _service = require("./service/index.cjs");
|
|
7
|
+
Object.keys(_service).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _service[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _service[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -53,6 +53,18 @@ const apiConfig = exports.apiConfig = [{
|
|
|
53
53
|
path: "fetchMissingParams",
|
|
54
54
|
hasQuery: true,
|
|
55
55
|
hasData: false
|
|
56
|
+
}, {
|
|
57
|
+
mode: "post",
|
|
58
|
+
method: "postLoad",
|
|
59
|
+
path: "load",
|
|
60
|
+
hasQuery: false,
|
|
61
|
+
hasData: false
|
|
62
|
+
}, {
|
|
63
|
+
mode: "get",
|
|
64
|
+
method: "getRoutes",
|
|
65
|
+
path: "routes",
|
|
66
|
+
hasQuery: false,
|
|
67
|
+
hasData: false
|
|
56
68
|
}, {
|
|
57
69
|
mode: "get",
|
|
58
70
|
method: "getSchema",
|
|
@@ -293,6 +305,12 @@ const apiConfig = exports.apiConfig = [{
|
|
|
293
305
|
path: "page/list",
|
|
294
306
|
hasQuery: true,
|
|
295
307
|
hasData: false
|
|
308
|
+
}, {
|
|
309
|
+
mode: "get",
|
|
310
|
+
method: "getValidCron",
|
|
311
|
+
path: "validCron",
|
|
312
|
+
hasQuery: true,
|
|
313
|
+
hasData: false
|
|
296
314
|
}, {
|
|
297
315
|
mode: "put",
|
|
298
316
|
method: "putId",
|
|
@@ -309,6 +327,12 @@ const apiConfig = exports.apiConfig = [{
|
|
|
309
327
|
path: "export",
|
|
310
328
|
hasQuery: false,
|
|
311
329
|
hasData: false
|
|
330
|
+
}, {
|
|
331
|
+
mode: "get",
|
|
332
|
+
method: "getFlowCategoryTree",
|
|
333
|
+
path: "flowCategoryTree",
|
|
334
|
+
hasQuery: false,
|
|
335
|
+
hasData: false
|
|
312
336
|
}, {
|
|
313
337
|
mode: "post",
|
|
314
338
|
method: "postImport",
|
|
@@ -12,7 +12,7 @@ export interface AuthService {
|
|
|
12
12
|
postTestConnect(
|
|
13
13
|
data: ConnectorConfigRequest,
|
|
14
14
|
config?: Record<string, string>,
|
|
15
|
-
): Promise<IHttpResponse<
|
|
15
|
+
): Promise<IHttpResponse<object>>;
|
|
16
16
|
// 根据连接配置id测试连接
|
|
17
17
|
getTestConnectOnce(
|
|
18
18
|
query: getTestConnectOnceQuery,
|
|
@@ -27,6 +27,14 @@ export interface CamelService {
|
|
|
27
27
|
query: postFetchMissingParamsQuery,
|
|
28
28
|
config?: Record<string, string>,
|
|
29
29
|
): Promise<IHttpResponse<ResponseEntity>>;
|
|
30
|
+
// 同步调试
|
|
31
|
+
postLoad(
|
|
32
|
+
config?: Record<string, string>,
|
|
33
|
+
): Promise<IHttpResponse<ResponseEntity>>;
|
|
34
|
+
// 获取所有的路由定义
|
|
35
|
+
getRoutes(
|
|
36
|
+
config?: Record<string, string>,
|
|
37
|
+
): Promise<IHttpResponse<ResponseEntity>>;
|
|
30
38
|
// schema转换
|
|
31
39
|
getSchema(
|
|
32
40
|
query: getSchemaQuery,
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
FlowExtRequest,
|
|
3
|
+
FlowExtResponse,
|
|
4
|
+
ValidCronResponse,
|
|
5
|
+
} from '../entities';
|
|
2
6
|
|
|
3
7
|
export interface deleteQuery {
|
|
4
8
|
ids: string; // 删除的id,多个按','分割
|
|
@@ -13,6 +17,9 @@ export interface getPageListQuery {
|
|
|
13
17
|
pageNo?: number; // 页码
|
|
14
18
|
pageSize?: number; // 每页数据条数
|
|
15
19
|
}
|
|
20
|
+
export interface getValidCronQuery {
|
|
21
|
+
cron: string; // cron
|
|
22
|
+
}
|
|
16
23
|
export interface putIdQuery {
|
|
17
24
|
id: string; // 数据主键
|
|
18
25
|
}
|
|
@@ -46,6 +53,11 @@ export interface FlowExtService {
|
|
|
46
53
|
query: getPageListQuery,
|
|
47
54
|
config?: Record<string, string>,
|
|
48
55
|
): Promise<IHttpResponse<IPage<FlowExtResponse>>>;
|
|
56
|
+
// 校验cron表达式
|
|
57
|
+
getValidCron(
|
|
58
|
+
query: getValidCronQuery,
|
|
59
|
+
config?: Record<string, string>,
|
|
60
|
+
): Promise<IHttpResponse<ValidCronResponse>>;
|
|
49
61
|
// 修改
|
|
50
62
|
putId(
|
|
51
63
|
query: putIdQuery,
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ResponseEntity,
|
|
3
|
+
FlowCategoryTree,
|
|
4
|
+
FlowMainResp,
|
|
5
|
+
FlowUpdateReq,
|
|
6
|
+
} from '../entities';
|
|
2
7
|
|
|
3
8
|
export interface postImportQuery {
|
|
4
9
|
categoryId: string; // 分类id
|
|
@@ -23,6 +28,10 @@ export interface FlowService {
|
|
|
23
28
|
postExport(
|
|
24
29
|
config?: Record<string, string>,
|
|
25
30
|
): Promise<IHttpResponse<ResponseEntity>>;
|
|
31
|
+
// 流程和分类关联树
|
|
32
|
+
getFlowCategoryTree(
|
|
33
|
+
config?: Record<string, string>,
|
|
34
|
+
): Promise<IHttpResponse<FlowCategoryTree[]>>;
|
|
26
35
|
// 导入
|
|
27
36
|
postImport(
|
|
28
37
|
query: postImportQuery,
|
|
@@ -102,7 +102,7 @@ export interface AppConnectorResp {
|
|
|
102
102
|
*/
|
|
103
103
|
appName?: string;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 鉴权方式(请求参数: DIRECT_ACCESS,获取token: ACCESS_TOKEN,无需鉴权:NONE,自定义: CUSTOM,AD域:AD)
|
|
106
106
|
*
|
|
107
107
|
* @type string
|
|
108
108
|
*/
|
|
@@ -192,6 +192,20 @@ export interface AppConnectorResp {
|
|
|
192
192
|
*/
|
|
193
193
|
version?: string;
|
|
194
194
|
}
|
|
195
|
+
export interface AuthFormConfig {
|
|
196
|
+
/**
|
|
197
|
+
* 字段key:例如账号:account
|
|
198
|
+
*
|
|
199
|
+
* @type string
|
|
200
|
+
*/
|
|
201
|
+
key?: string;
|
|
202
|
+
/**
|
|
203
|
+
* 输入框的值
|
|
204
|
+
*
|
|
205
|
+
* @type string
|
|
206
|
+
*/
|
|
207
|
+
value?: string;
|
|
208
|
+
}
|
|
195
209
|
export interface CategoryCompleteResponse {
|
|
196
210
|
/**
|
|
197
211
|
*
|
|
@@ -275,6 +289,12 @@ export interface CategoryDragRequest {
|
|
|
275
289
|
targetSortNum?: number;
|
|
276
290
|
}
|
|
277
291
|
export interface ConnectorConfigRequest {
|
|
292
|
+
/**
|
|
293
|
+
* 鉴权配置动态表单
|
|
294
|
+
*
|
|
295
|
+
* @type AuthFormConfig[]
|
|
296
|
+
*/
|
|
297
|
+
authFormConfig?: AuthFormConfig[];
|
|
278
298
|
/**
|
|
279
299
|
* 是否鉴权(请求参数: DIRECT_ACCESS,获取token: ACCESS_TOKEN,无需鉴权:NONE)
|
|
280
300
|
*
|
|
@@ -356,7 +376,13 @@ export interface ConnectorConfigRequest {
|
|
|
356
376
|
}
|
|
357
377
|
export interface ConnectorConfigResponse {
|
|
358
378
|
/**
|
|
359
|
-
*
|
|
379
|
+
* 鉴权配置动态表单
|
|
380
|
+
*
|
|
381
|
+
* @type AuthFormConfig[]
|
|
382
|
+
*/
|
|
383
|
+
authFormConfig?: AuthFormConfig[];
|
|
384
|
+
/**
|
|
385
|
+
* 鉴权方式(请求参数: DIRECT_ACCESS,获取token: ACCESS_TOKEN,无:NONE,AD域:AD)
|
|
360
386
|
*
|
|
361
387
|
* @type string
|
|
362
388
|
*/
|
|
@@ -1074,6 +1100,32 @@ export interface FlowCategoryResponse {
|
|
|
1074
1100
|
*/
|
|
1075
1101
|
sysBuiltin?: number;
|
|
1076
1102
|
}
|
|
1103
|
+
export interface FlowCategoryTree {
|
|
1104
|
+
/**
|
|
1105
|
+
* 子节点
|
|
1106
|
+
*
|
|
1107
|
+
* @type FlowCategoryTree[]
|
|
1108
|
+
*/
|
|
1109
|
+
child?: FlowCategoryTree[];
|
|
1110
|
+
/**
|
|
1111
|
+
* 数据id
|
|
1112
|
+
*
|
|
1113
|
+
* @type string
|
|
1114
|
+
*/
|
|
1115
|
+
id?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* 名称
|
|
1118
|
+
*
|
|
1119
|
+
* @type string
|
|
1120
|
+
*/
|
|
1121
|
+
name?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* 类型:flow 流程、category 分类
|
|
1124
|
+
*
|
|
1125
|
+
* @type string
|
|
1126
|
+
*/
|
|
1127
|
+
type?: string;
|
|
1128
|
+
}
|
|
1077
1129
|
export interface FlowCreateWithCategoryReq {
|
|
1078
1130
|
/**
|
|
1079
1131
|
* 分类id
|
|
@@ -1547,6 +1599,12 @@ export interface Relation {
|
|
|
1547
1599
|
sysBuiltin?: number;
|
|
1548
1600
|
}
|
|
1549
1601
|
export interface RequestBizServiceConfig {
|
|
1602
|
+
/**
|
|
1603
|
+
* 鉴权配置动态表单
|
|
1604
|
+
*
|
|
1605
|
+
* @type AuthFormConfig[]
|
|
1606
|
+
*/
|
|
1607
|
+
authFormConfig?: AuthFormConfig[];
|
|
1550
1608
|
/**
|
|
1551
1609
|
* 是否鉴权(请求参数: DIRECT_ACCESS,获取token: ACCESS_TOKEN,无需鉴权:NONE)
|
|
1552
1610
|
*
|
|
@@ -1714,3 +1772,17 @@ export interface SchemaObject {
|
|
|
1714
1772
|
*/
|
|
1715
1773
|
type?: string;
|
|
1716
1774
|
}
|
|
1775
|
+
export interface ValidCronResponse {
|
|
1776
|
+
/**
|
|
1777
|
+
* 错误信息(若有)
|
|
1778
|
+
*
|
|
1779
|
+
* @type string
|
|
1780
|
+
*/
|
|
1781
|
+
errorMsg?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* 校验结果: true成功、false失败
|
|
1784
|
+
*
|
|
1785
|
+
* @type boolean
|
|
1786
|
+
*/
|
|
1787
|
+
result?: boolean;
|
|
1788
|
+
}
|