@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
|
-
import type {
|
|
1
|
+
import type { AiService } from './apis/ai.service';
|
|
2
|
+
import type { AlexTestService } from './apis/alex-test.service';
|
|
2
3
|
import type { AppBranchService } from './apis/app-branch.service';
|
|
3
4
|
import type { AppGlobalSettingsService } from './apis/app-global-settings.service';
|
|
4
5
|
import type { AppGrantedUserService } from './apis/app-granted-user.service';
|
|
@@ -150,7 +151,6 @@ import type { SignLogService } from './apis/sign-log.service';
|
|
|
150
151
|
import type { SignatureService } from './apis/signature.service';
|
|
151
152
|
import type { SqlViewModelService } from './apis/sql-view-model.service';
|
|
152
153
|
import type { SqlViewService } from './apis/sql-view.service';
|
|
153
|
-
import type { SsService } from './apis/ss.service';
|
|
154
154
|
import type { StashService } from './apis/stash.service';
|
|
155
155
|
import type { SubModelProcessService } from './apis/sub-model-process.service';
|
|
156
156
|
import type { SysConfigService } from './apis/sys-config.service';
|
|
@@ -170,7 +170,8 @@ import type { WebpageService } from './apis/webpage.service';
|
|
|
170
170
|
import type { ApiService } from './apis/api.service';
|
|
171
171
|
|
|
172
172
|
export interface ApiManage {
|
|
173
|
-
readonly
|
|
173
|
+
readonly ai: AiService;
|
|
174
|
+
readonly alexTest: AlexTestService;
|
|
174
175
|
readonly appBranch: AppBranchService;
|
|
175
176
|
readonly appGlobalSettings: AppGlobalSettingsService;
|
|
176
177
|
readonly appGrantedUser: AppGrantedUserService;
|
|
@@ -322,7 +323,6 @@ export interface ApiManage {
|
|
|
322
323
|
readonly signature: SignatureService;
|
|
323
324
|
readonly sqlViewModel: SqlViewModelService;
|
|
324
325
|
readonly sqlView: SqlViewService;
|
|
325
|
-
readonly ss: SsService;
|
|
326
326
|
readonly stash: StashService;
|
|
327
327
|
readonly subModelProcess: SubModelProcessService;
|
|
328
328
|
readonly sysConfig: SysConfigService;
|
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
export const apiConfig = [
|
|
2
|
+
{
|
|
3
|
+
name: "app",
|
|
4
|
+
entityName: "app",
|
|
5
|
+
apis: [
|
|
6
|
+
{
|
|
7
|
+
mode: "put",
|
|
8
|
+
method: "putAid",
|
|
9
|
+
path: "{aid}",
|
|
10
|
+
hasPathParams: true,
|
|
11
|
+
hasData: true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
mode: "delete",
|
|
15
|
+
method: "deleteAid",
|
|
16
|
+
path: "{aid}",
|
|
17
|
+
hasPathParams: true
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
2
21
|
{
|
|
3
22
|
name: "auth",
|
|
4
23
|
entityName: "auth",
|
|
@@ -23,6 +42,18 @@ export const apiConfig = [
|
|
|
23
42
|
}
|
|
24
43
|
]
|
|
25
44
|
},
|
|
45
|
+
{
|
|
46
|
+
name: "bff",
|
|
47
|
+
entityName: "bff",
|
|
48
|
+
apis: [
|
|
49
|
+
{
|
|
50
|
+
mode: "get",
|
|
51
|
+
method: "getFlowFuuid",
|
|
52
|
+
path: "flow/{fuuid}",
|
|
53
|
+
hasPathParams: true
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
26
57
|
{
|
|
27
58
|
name: "camel",
|
|
28
59
|
entityName: "camel",
|
|
@@ -69,15 +100,49 @@ export const apiConfig = [
|
|
|
69
100
|
}
|
|
70
101
|
]
|
|
71
102
|
},
|
|
103
|
+
{
|
|
104
|
+
name: "categories",
|
|
105
|
+
entityName: "categories",
|
|
106
|
+
apis: [
|
|
107
|
+
{
|
|
108
|
+
mode: "get",
|
|
109
|
+
method: "get",
|
|
110
|
+
path: ""
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
72
114
|
{
|
|
73
115
|
name: "category",
|
|
74
116
|
entityName: "category",
|
|
75
117
|
apis: [
|
|
118
|
+
{
|
|
119
|
+
mode: "post",
|
|
120
|
+
method: "postApp",
|
|
121
|
+
path: "app",
|
|
122
|
+
hasData: true
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
mode: "get",
|
|
126
|
+
method: "getApps",
|
|
127
|
+
path: "apps"
|
|
128
|
+
},
|
|
76
129
|
{
|
|
77
130
|
mode: "post",
|
|
78
131
|
method: "postFlow",
|
|
79
132
|
path: "flow",
|
|
80
133
|
hasData: true
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
mode: "get",
|
|
137
|
+
method: "getTree",
|
|
138
|
+
path: "tree"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
mode: "put",
|
|
142
|
+
method: "putCidDrag",
|
|
143
|
+
path: "{cid}/drag",
|
|
144
|
+
hasPathParams: true,
|
|
145
|
+
hasData: true
|
|
81
146
|
}
|
|
82
147
|
]
|
|
83
148
|
},
|
|
@@ -177,6 +242,20 @@ export const apiConfig = [
|
|
|
177
242
|
}
|
|
178
243
|
]
|
|
179
244
|
},
|
|
245
|
+
{
|
|
246
|
+
name: "file",
|
|
247
|
+
entityName: "file",
|
|
248
|
+
apis: [
|
|
249
|
+
{
|
|
250
|
+
mode: "post",
|
|
251
|
+
method: "postUpload",
|
|
252
|
+
path: "upload",
|
|
253
|
+
hasUpload: true,
|
|
254
|
+
hasQuery: true,
|
|
255
|
+
hasData: true
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
180
259
|
{
|
|
181
260
|
name: "flowApp",
|
|
182
261
|
entityName: "flow-app",
|
|
@@ -332,6 +411,29 @@ export const apiConfig = [
|
|
|
332
411
|
name: "flow",
|
|
333
412
|
entityName: "flow",
|
|
334
413
|
apis: [
|
|
414
|
+
{
|
|
415
|
+
mode: "post",
|
|
416
|
+
method: "postDef",
|
|
417
|
+
path: "def"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
mode: "post",
|
|
421
|
+
method: "postDefCopy",
|
|
422
|
+
path: "def/copy",
|
|
423
|
+
hasData: true
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
mode: "put",
|
|
427
|
+
method: "putDefFuuid",
|
|
428
|
+
path: "def/{fuuid}",
|
|
429
|
+
hasPathParams: true
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
mode: "get",
|
|
433
|
+
method: "getDefFuuidVersion",
|
|
434
|
+
path: "def/{fuuid}/{version}",
|
|
435
|
+
hasPathParams: true
|
|
436
|
+
},
|
|
335
437
|
{
|
|
336
438
|
mode: "post",
|
|
337
439
|
method: "postExport",
|
|
@@ -350,6 +452,22 @@ export const apiConfig = [
|
|
|
350
452
|
hasQuery: true,
|
|
351
453
|
hasData: true
|
|
352
454
|
},
|
|
455
|
+
{
|
|
456
|
+
mode: "get",
|
|
457
|
+
method: "getInvokeMethods",
|
|
458
|
+
path: "invoke/methods"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
mode: "get",
|
|
462
|
+
method: "getInvokeStatus",
|
|
463
|
+
path: "invoke/status"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
mode: "get",
|
|
467
|
+
method: "getList",
|
|
468
|
+
path: "list",
|
|
469
|
+
hasQuery: true
|
|
470
|
+
},
|
|
353
471
|
{
|
|
354
472
|
mode: "get",
|
|
355
473
|
method: "getListCategoryOnline",
|
|
@@ -362,30 +480,226 @@ export const apiConfig = [
|
|
|
362
480
|
path: "list/online",
|
|
363
481
|
hasQuery: true
|
|
364
482
|
},
|
|
483
|
+
{
|
|
484
|
+
mode: "get",
|
|
485
|
+
method: "getLogExport",
|
|
486
|
+
path: "log/export",
|
|
487
|
+
hasQuery: true
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
mode: "get",
|
|
491
|
+
method: "getLogPageList",
|
|
492
|
+
path: "log/page/list",
|
|
493
|
+
hasQuery: true
|
|
494
|
+
},
|
|
365
495
|
{
|
|
366
496
|
mode: "get",
|
|
367
497
|
method: "getLogPageSearch",
|
|
368
498
|
path: "log/page/search",
|
|
369
499
|
hasQuery: true
|
|
370
500
|
},
|
|
501
|
+
{
|
|
502
|
+
mode: "post",
|
|
503
|
+
method: "postNodeLog",
|
|
504
|
+
path: "node/log",
|
|
505
|
+
hasData: true
|
|
506
|
+
},
|
|
371
507
|
{
|
|
372
508
|
mode: "get",
|
|
373
509
|
method: "getNodeLogReqId",
|
|
374
510
|
path: "node/log/{reqId}",
|
|
375
511
|
hasPathParams: true
|
|
376
512
|
},
|
|
513
|
+
{
|
|
514
|
+
mode: "put",
|
|
515
|
+
method: "putOffline",
|
|
516
|
+
path: "offline",
|
|
517
|
+
hasData: true
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
mode: "put",
|
|
521
|
+
method: "putOnline",
|
|
522
|
+
path: "online",
|
|
523
|
+
hasData: true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
mode: "get",
|
|
527
|
+
method: "getOnlineFuuid",
|
|
528
|
+
path: "online/{fuuid}",
|
|
529
|
+
hasPathParams: true,
|
|
530
|
+
hasQuery: true
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
mode: "put",
|
|
534
|
+
method: "putOnofflineFuuid",
|
|
535
|
+
path: "onoffline/{fuuid}",
|
|
536
|
+
hasPathParams: true
|
|
537
|
+
},
|
|
377
538
|
{
|
|
378
539
|
mode: "get",
|
|
379
540
|
method: "getPageList",
|
|
380
541
|
path: "page/list",
|
|
381
542
|
hasQuery: true
|
|
382
543
|
},
|
|
544
|
+
{
|
|
545
|
+
mode: "put",
|
|
546
|
+
method: "putPublish",
|
|
547
|
+
path: "publish",
|
|
548
|
+
hasData: true
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
mode: "get",
|
|
552
|
+
method: "getFuuid",
|
|
553
|
+
path: "{fuuid}",
|
|
554
|
+
hasPathParams: true
|
|
555
|
+
},
|
|
383
556
|
{
|
|
384
557
|
mode: "put",
|
|
385
558
|
method: "putFuuid",
|
|
386
559
|
path: "{fuuid}",
|
|
387
560
|
hasPathParams: true,
|
|
388
561
|
hasData: true
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
mode: "delete",
|
|
565
|
+
method: "deleteFuuid",
|
|
566
|
+
path: "{fuuid}",
|
|
567
|
+
hasPathParams: true
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
mode: "delete",
|
|
571
|
+
method: "deleteFuuidVersionVersion",
|
|
572
|
+
path: "{fuuid}/version/{version}",
|
|
573
|
+
hasPathParams: true
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: "knowledge",
|
|
579
|
+
entityName: "knowledge",
|
|
580
|
+
apis: [
|
|
581
|
+
{
|
|
582
|
+
mode: "post",
|
|
583
|
+
method: "postApp",
|
|
584
|
+
path: "app",
|
|
585
|
+
hasData: true
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
mode: "post",
|
|
589
|
+
method: "postBizinterface",
|
|
590
|
+
path: "bizinterface",
|
|
591
|
+
hasData: true
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
mode: "put",
|
|
595
|
+
method: "putBizinterface",
|
|
596
|
+
path: "bizinterface",
|
|
597
|
+
hasData: true
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
mode: "post",
|
|
601
|
+
method: "postBizinterfaceSearch",
|
|
602
|
+
path: "bizinterface/search",
|
|
603
|
+
hasQuery: true,
|
|
604
|
+
hasData: true
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
mode: "get",
|
|
608
|
+
method: "getBizinterfaceId",
|
|
609
|
+
path: "bizinterface/{id}",
|
|
610
|
+
hasPathParams: true
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
mode: "delete",
|
|
614
|
+
method: "deleteBizinterfaceId",
|
|
615
|
+
path: "bizinterface/{id}",
|
|
616
|
+
hasPathParams: true
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
mode: "post",
|
|
620
|
+
method: "postBrand",
|
|
621
|
+
path: "brand",
|
|
622
|
+
hasData: true
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
mode: "get",
|
|
626
|
+
method: "getCategoriesApps",
|
|
627
|
+
path: "categories/apps"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
mode: "get",
|
|
631
|
+
method: "getCategoriesCategory",
|
|
632
|
+
path: "categories/category"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
mode: "get",
|
|
636
|
+
method: "getCategoriesList",
|
|
637
|
+
path: "categories/list"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
mode: "get",
|
|
641
|
+
method: "getCategoriesTree",
|
|
642
|
+
path: "categories/tree"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
mode: "post",
|
|
646
|
+
method: "postCategory",
|
|
647
|
+
path: "category",
|
|
648
|
+
hasData: true
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
mode: "post",
|
|
652
|
+
method: "postCategorySearch",
|
|
653
|
+
path: "category/search",
|
|
654
|
+
hasQuery: true,
|
|
655
|
+
hasData: true
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
mode: "get",
|
|
659
|
+
method: "getCategoryVersionVid",
|
|
660
|
+
path: "category/version/{vid}",
|
|
661
|
+
hasPathParams: true
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
mode: "post",
|
|
665
|
+
method: "postDesc",
|
|
666
|
+
path: "desc",
|
|
667
|
+
hasData: true
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
mode: "delete",
|
|
671
|
+
method: "deleteDescCid",
|
|
672
|
+
path: "desc/{cid}",
|
|
673
|
+
hasPathParams: true
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
mode: "delete",
|
|
677
|
+
method: "deletePicCid",
|
|
678
|
+
path: "pic/{cid}",
|
|
679
|
+
hasPathParams: true
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
mode: "post",
|
|
683
|
+
method: "postTag",
|
|
684
|
+
path: "tag",
|
|
685
|
+
hasData: true
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
mode: "delete",
|
|
689
|
+
method: "deleteTag",
|
|
690
|
+
path: "tag",
|
|
691
|
+
hasData: true
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
mode: "get",
|
|
695
|
+
method: "getTags",
|
|
696
|
+
path: "tags"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
mode: "post",
|
|
700
|
+
method: "postVersion",
|
|
701
|
+
path: "version",
|
|
702
|
+
hasData: true
|
|
389
703
|
}
|
|
390
704
|
]
|
|
391
705
|
},
|
|
@@ -417,5 +731,72 @@ export const apiConfig = [
|
|
|
417
731
|
hasData: true
|
|
418
732
|
}
|
|
419
733
|
]
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: "variableDef",
|
|
737
|
+
entityName: "variable-def",
|
|
738
|
+
apis: [
|
|
739
|
+
{
|
|
740
|
+
mode: "post",
|
|
741
|
+
method: "post",
|
|
742
|
+
path: "",
|
|
743
|
+
hasData: true
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
mode: "delete",
|
|
747
|
+
method: "delete",
|
|
748
|
+
path: "",
|
|
749
|
+
hasQuery: true
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
mode: "get",
|
|
753
|
+
method: "getInfo",
|
|
754
|
+
path: "info",
|
|
755
|
+
hasQuery: true
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
mode: "get",
|
|
759
|
+
method: "getInstanceCount",
|
|
760
|
+
path: "instance-count",
|
|
761
|
+
hasQuery: true
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
mode: "get",
|
|
765
|
+
method: "getPageList",
|
|
766
|
+
path: "page/list",
|
|
767
|
+
hasQuery: true
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
mode: "put",
|
|
771
|
+
method: "putId",
|
|
772
|
+
path: "{id}",
|
|
773
|
+
hasPathParams: true,
|
|
774
|
+
hasData: true
|
|
775
|
+
}
|
|
776
|
+
]
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
name: "variableInst",
|
|
780
|
+
entityName: "variable-inst",
|
|
781
|
+
apis: [
|
|
782
|
+
{
|
|
783
|
+
mode: "delete",
|
|
784
|
+
method: "delete",
|
|
785
|
+
path: "",
|
|
786
|
+
hasQuery: true
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
mode: "get",
|
|
790
|
+
method: "getInfo",
|
|
791
|
+
path: "info",
|
|
792
|
+
hasQuery: true
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
mode: "get",
|
|
796
|
+
method: "getPageList",
|
|
797
|
+
path: "page/list",
|
|
798
|
+
hasQuery: true
|
|
799
|
+
}
|
|
800
|
+
]
|
|
420
801
|
}
|
|
421
802
|
];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { FlowAppUpdateReq } from '../entities';
|
|
3
|
+
|
|
4
|
+
export interface putAidPathParams {
|
|
5
|
+
aid: string;
|
|
6
|
+
}
|
|
7
|
+
export interface deleteAidPathParams {
|
|
8
|
+
aid: string;
|
|
9
|
+
}
|
|
10
|
+
export interface AppService {
|
|
11
|
+
/**
|
|
12
|
+
* 更新应用
|
|
13
|
+
*/
|
|
14
|
+
putAid(
|
|
15
|
+
path: putAidPathParams,
|
|
16
|
+
data: FlowAppUpdateReq,
|
|
17
|
+
config?: Partial<AxiosRequestConfig>,
|
|
18
|
+
): Promise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* 删除应用
|
|
21
|
+
*/
|
|
22
|
+
deleteAid(
|
|
23
|
+
path: deleteAidPathParams,
|
|
24
|
+
config?: Partial<AxiosRequestConfig>,
|
|
25
|
+
): Promise<string>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { BizFlowMainResp } from '../entities';
|
|
3
|
+
|
|
4
|
+
export interface getFlowFuuidPathParams {
|
|
5
|
+
fuuid: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BffService {
|
|
8
|
+
/**
|
|
9
|
+
* 获取流程
|
|
10
|
+
*/
|
|
11
|
+
getFlowFuuid(
|
|
12
|
+
path: getFlowFuuidPathParams,
|
|
13
|
+
config?: Partial<AxiosRequestConfig>,
|
|
14
|
+
): Promise<BizFlowMainResp>;
|
|
15
|
+
}
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
FlowAppReq,
|
|
4
|
+
FlowAppResp,
|
|
5
|
+
FlowCreateWithCategoryReq,
|
|
6
|
+
CategoryTreeResp,
|
|
7
|
+
FlowCategoryDragReq,
|
|
8
|
+
} from '../entities';
|
|
3
9
|
|
|
10
|
+
export interface putCidDragPathParams {
|
|
11
|
+
cid: string;
|
|
12
|
+
}
|
|
4
13
|
export interface CategoryService {
|
|
14
|
+
/**
|
|
15
|
+
* 新建应用
|
|
16
|
+
*/
|
|
17
|
+
postApp(
|
|
18
|
+
data: FlowAppReq,
|
|
19
|
+
config?: Partial<AxiosRequestConfig>,
|
|
20
|
+
): Promise<string>;
|
|
21
|
+
/**
|
|
22
|
+
* 获取应用列表
|
|
23
|
+
*/
|
|
24
|
+
getApps(config?: Partial<AxiosRequestConfig>): Promise<FlowAppResp[]>;
|
|
5
25
|
/**
|
|
6
26
|
* 新建数据流
|
|
7
27
|
*/
|
|
@@ -9,4 +29,16 @@ export interface CategoryService {
|
|
|
9
29
|
data: FlowCreateWithCategoryReq,
|
|
10
30
|
config?: Partial<AxiosRequestConfig>,
|
|
11
31
|
): Promise<string>;
|
|
32
|
+
/**
|
|
33
|
+
* 获取分类树
|
|
34
|
+
*/
|
|
35
|
+
getTree(config?: Partial<AxiosRequestConfig>): Promise<CategoryTreeResp[]>;
|
|
36
|
+
/**
|
|
37
|
+
* 分类拖拽
|
|
38
|
+
*/
|
|
39
|
+
putCidDrag(
|
|
40
|
+
path: putCidDragPathParams,
|
|
41
|
+
data: FlowCategoryDragReq,
|
|
42
|
+
config?: Partial<AxiosRequestConfig>,
|
|
43
|
+
): Promise<string>;
|
|
12
44
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
export interface postUploadQuery extends IObject {
|
|
3
|
+
/**
|
|
4
|
+
* args
|
|
5
|
+
*/
|
|
6
|
+
args: string;
|
|
7
|
+
}
|
|
8
|
+
export interface FileService {
|
|
9
|
+
/**
|
|
10
|
+
* 上传
|
|
11
|
+
*/
|
|
12
|
+
postUpload(
|
|
13
|
+
query: postUploadQuery,
|
|
14
|
+
data: UploadFileData,
|
|
15
|
+
config?: Partial<AxiosRequestConfig>,
|
|
16
|
+
): Promise<IHttpResponse<string>>;
|
|
17
|
+
}
|