zentao-api 0.8.4 → 0.9.0
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/README.md +48 -2
- package/dist/browser/zentao-api.global.js +28 -28
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +10 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/misc/errors.d.ts +4 -0
- package/dist/misc/errors.js +4 -0
- package/dist/misc/zentao-version.d.ts +3 -0
- package/dist/misc/zentao-version.js +9 -0
- package/dist/modules/define.d.ts +1 -0
- package/dist/modules/define.js +3 -2
- package/dist/modules/generated.d.ts +402 -0
- package/dist/modules/generated.js +447 -55
- package/dist/modules/object-props.js +212 -36
- package/dist/modules/override.js +101 -9
- package/dist/modules/query.d.ts +2 -0
- package/dist/modules/query.js +6 -0
- package/dist/modules/registry-store.d.ts +4 -4
- package/dist/modules/registry-store.js +15 -8
- package/dist/modules/result-object-type.d.ts +7 -0
- package/dist/modules/result-object-type.js +35 -0
- package/dist/request/html-file-request.d.ts +34 -0
- package/dist/request/html-file-request.js +366 -0
- package/dist/request/html-files.d.ts +28 -0
- package/dist/request/html-files.js +139 -0
- package/dist/request/index.d.ts +3 -3
- package/dist/request/index.js +78 -26
- package/dist/request/prepare-body.d.ts +2 -0
- package/dist/request/prepare-body.js +2 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/link.d.ts +52 -0
- package/dist/types/link.js +1 -0
- package/dist/types/module.d.ts +18 -0
- package/dist/types/options.d.ts +7 -4
- package/dist/types/response.d.ts +16 -0
- package/dist/types/upload.d.ts +64 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/link.d.ts +30 -0
- package/dist/utils/link.js +225 -0
- package/dist/version.js +2 -2
- package/package.json +5 -2
|
@@ -19,6 +19,7 @@ export const BUILTIN_MODULES = [
|
|
|
19
19
|
method: 'get',
|
|
20
20
|
path: '/users',
|
|
21
21
|
resultType: 'list',
|
|
22
|
+
resultObjectType: 'user',
|
|
22
23
|
pagerGetter: 'pager',
|
|
23
24
|
resultGetter: 'users',
|
|
24
25
|
params: [
|
|
@@ -85,6 +86,7 @@ export const BUILTIN_MODULES = [
|
|
|
85
86
|
method: 'post',
|
|
86
87
|
path: '/users',
|
|
87
88
|
resultType: 'object',
|
|
89
|
+
resultObjectType: 'user',
|
|
88
90
|
requestBody: {
|
|
89
91
|
required: true,
|
|
90
92
|
type: 'object',
|
|
@@ -124,6 +126,7 @@ export const BUILTIN_MODULES = [
|
|
|
124
126
|
method: 'get',
|
|
125
127
|
path: '/users/{userID}',
|
|
126
128
|
resultType: 'object',
|
|
129
|
+
resultObjectType: 'user',
|
|
127
130
|
resultGetter: 'user',
|
|
128
131
|
pathParams: {
|
|
129
132
|
userID: '用户ID',
|
|
@@ -136,6 +139,7 @@ export const BUILTIN_MODULES = [
|
|
|
136
139
|
method: 'put',
|
|
137
140
|
path: '/users/{userID}',
|
|
138
141
|
resultType: 'object',
|
|
142
|
+
resultObjectType: null,
|
|
139
143
|
pathParams: {
|
|
140
144
|
userID: '用户ID',
|
|
141
145
|
},
|
|
@@ -214,6 +218,7 @@ export const BUILTIN_MODULES = [
|
|
|
214
218
|
method: 'delete',
|
|
215
219
|
path: '/users/{userID}',
|
|
216
220
|
resultType: 'text',
|
|
221
|
+
resultObjectType: null,
|
|
217
222
|
pathParams: {
|
|
218
223
|
userID: '用户ID',
|
|
219
224
|
},
|
|
@@ -234,6 +239,7 @@ export const BUILTIN_MODULES = [
|
|
|
234
239
|
method: 'get',
|
|
235
240
|
path: '/programs',
|
|
236
241
|
resultType: 'list',
|
|
242
|
+
resultObjectType: 'program',
|
|
237
243
|
pagerGetter: 'pager',
|
|
238
244
|
resultGetter: 'programs',
|
|
239
245
|
params: [
|
|
@@ -307,6 +313,7 @@ export const BUILTIN_MODULES = [
|
|
|
307
313
|
method: 'post',
|
|
308
314
|
path: '/programs',
|
|
309
315
|
resultType: 'object',
|
|
316
|
+
resultObjectType: 'program',
|
|
310
317
|
requestBody: {
|
|
311
318
|
required: true,
|
|
312
319
|
type: 'object',
|
|
@@ -331,7 +338,7 @@ export const BUILTIN_MODULES = [
|
|
|
331
338
|
},
|
|
332
339
|
"desc": {
|
|
333
340
|
"type": "string",
|
|
334
|
-
"description": "项目集描述"
|
|
341
|
+
"description": "项目集描述 (HTML)"
|
|
335
342
|
}
|
|
336
343
|
},
|
|
337
344
|
"required": [
|
|
@@ -356,6 +363,7 @@ export const BUILTIN_MODULES = [
|
|
|
356
363
|
method: 'get',
|
|
357
364
|
path: '/programs/{programID}',
|
|
358
365
|
resultType: 'object',
|
|
366
|
+
resultObjectType: 'program',
|
|
359
367
|
resultGetter: 'program',
|
|
360
368
|
pathParams: {
|
|
361
369
|
programID: '项目集ID',
|
|
@@ -368,6 +376,7 @@ export const BUILTIN_MODULES = [
|
|
|
368
376
|
method: 'put',
|
|
369
377
|
path: '/programs/{programID}',
|
|
370
378
|
resultType: 'object',
|
|
379
|
+
resultObjectType: null,
|
|
371
380
|
pathParams: {
|
|
372
381
|
programID: '项目集ID',
|
|
373
382
|
},
|
|
@@ -395,7 +404,7 @@ export const BUILTIN_MODULES = [
|
|
|
395
404
|
},
|
|
396
405
|
"desc": {
|
|
397
406
|
"type": "string",
|
|
398
|
-
"description": "项目集描述"
|
|
407
|
+
"description": "项目集描述 (HTML)"
|
|
399
408
|
}
|
|
400
409
|
},
|
|
401
410
|
"required": [
|
|
@@ -420,6 +429,7 @@ export const BUILTIN_MODULES = [
|
|
|
420
429
|
method: 'delete',
|
|
421
430
|
path: '/programs/{programID}',
|
|
422
431
|
resultType: 'text',
|
|
432
|
+
resultObjectType: null,
|
|
423
433
|
pathParams: {
|
|
424
434
|
programID: '项目集ID',
|
|
425
435
|
},
|
|
@@ -440,6 +450,7 @@ export const BUILTIN_MODULES = [
|
|
|
440
450
|
method: 'get',
|
|
441
451
|
path: '/products',
|
|
442
452
|
resultType: 'list',
|
|
453
|
+
resultObjectType: 'product',
|
|
443
454
|
pagerGetter: 'pager',
|
|
444
455
|
resultGetter: 'products',
|
|
445
456
|
params: [
|
|
@@ -491,6 +502,7 @@ export const BUILTIN_MODULES = [
|
|
|
491
502
|
method: 'get',
|
|
492
503
|
path: '/programs/{programID}/products',
|
|
493
504
|
resultType: 'list',
|
|
505
|
+
resultObjectType: 'product',
|
|
494
506
|
pagerGetter: 'pager',
|
|
495
507
|
resultGetter: 'products',
|
|
496
508
|
pathParams: {
|
|
@@ -546,6 +558,7 @@ export const BUILTIN_MODULES = [
|
|
|
546
558
|
method: 'post',
|
|
547
559
|
path: '/products',
|
|
548
560
|
resultType: 'object',
|
|
561
|
+
resultObjectType: 'product',
|
|
549
562
|
requestBody: {
|
|
550
563
|
required: true,
|
|
551
564
|
type: 'object',
|
|
@@ -586,7 +599,7 @@ export const BUILTIN_MODULES = [
|
|
|
586
599
|
"items": {
|
|
587
600
|
"type": "string"
|
|
588
601
|
},
|
|
589
|
-
"description": "产品描述"
|
|
602
|
+
"description": "产品描述 (HTML)"
|
|
590
603
|
},
|
|
591
604
|
"QD": {
|
|
592
605
|
"type": "string",
|
|
@@ -628,6 +641,7 @@ export const BUILTIN_MODULES = [
|
|
|
628
641
|
method: 'post',
|
|
629
642
|
path: '/products/{productID}/close',
|
|
630
643
|
resultType: 'text',
|
|
644
|
+
resultObjectType: null,
|
|
631
645
|
pathParams: {
|
|
632
646
|
productID: '产品ID',
|
|
633
647
|
},
|
|
@@ -652,6 +666,7 @@ export const BUILTIN_MODULES = [
|
|
|
652
666
|
method: 'post',
|
|
653
667
|
path: '/products/{productID}/story/modules',
|
|
654
668
|
resultType: 'object',
|
|
669
|
+
resultObjectType: 'module',
|
|
655
670
|
pathParams: {
|
|
656
671
|
productID: '产品ID',
|
|
657
672
|
},
|
|
@@ -685,6 +700,7 @@ export const BUILTIN_MODULES = [
|
|
|
685
700
|
method: 'post',
|
|
686
701
|
path: '/products/{productID}/bug/modules',
|
|
687
702
|
resultType: 'object',
|
|
703
|
+
resultObjectType: 'module',
|
|
688
704
|
pathParams: {
|
|
689
705
|
productID: '产品ID',
|
|
690
706
|
},
|
|
@@ -718,6 +734,7 @@ export const BUILTIN_MODULES = [
|
|
|
718
734
|
method: 'post',
|
|
719
735
|
path: '/products/{productID}/testcase/modules',
|
|
720
736
|
resultType: 'object',
|
|
737
|
+
resultObjectType: 'module',
|
|
721
738
|
pathParams: {
|
|
722
739
|
productID: '产品ID',
|
|
723
740
|
},
|
|
@@ -751,6 +768,7 @@ export const BUILTIN_MODULES = [
|
|
|
751
768
|
method: 'get',
|
|
752
769
|
path: '/products/{productID}',
|
|
753
770
|
resultType: 'object',
|
|
771
|
+
resultObjectType: 'product',
|
|
754
772
|
resultGetter: 'product',
|
|
755
773
|
pathParams: {
|
|
756
774
|
productID: '产品ID',
|
|
@@ -763,6 +781,7 @@ export const BUILTIN_MODULES = [
|
|
|
763
781
|
method: 'put',
|
|
764
782
|
path: '/products/{productID}',
|
|
765
783
|
resultType: 'object',
|
|
784
|
+
resultObjectType: null,
|
|
766
785
|
pathParams: {
|
|
767
786
|
productID: '产品ID',
|
|
768
787
|
},
|
|
@@ -806,7 +825,7 @@ export const BUILTIN_MODULES = [
|
|
|
806
825
|
"items": {
|
|
807
826
|
"type": "string"
|
|
808
827
|
},
|
|
809
|
-
"description": "产品描述"
|
|
828
|
+
"description": "产品描述 (HTML)"
|
|
810
829
|
},
|
|
811
830
|
"QD": {
|
|
812
831
|
"type": "string",
|
|
@@ -848,6 +867,7 @@ export const BUILTIN_MODULES = [
|
|
|
848
867
|
method: 'delete',
|
|
849
868
|
path: '/products/{productID}',
|
|
850
869
|
resultType: 'text',
|
|
870
|
+
resultObjectType: null,
|
|
851
871
|
pathParams: {
|
|
852
872
|
productID: '产品ID',
|
|
853
873
|
},
|
|
@@ -868,6 +888,7 @@ export const BUILTIN_MODULES = [
|
|
|
868
888
|
method: 'get',
|
|
869
889
|
path: '/projects',
|
|
870
890
|
resultType: 'list',
|
|
891
|
+
resultObjectType: 'project',
|
|
871
892
|
pagerGetter: 'pager',
|
|
872
893
|
resultGetter: 'projects',
|
|
873
894
|
params: [
|
|
@@ -939,6 +960,7 @@ export const BUILTIN_MODULES = [
|
|
|
939
960
|
method: 'get',
|
|
940
961
|
path: '/programs/{programID}/projects',
|
|
941
962
|
resultType: 'list',
|
|
963
|
+
resultObjectType: 'project',
|
|
942
964
|
pagerGetter: 'pager',
|
|
943
965
|
resultGetter: 'projects',
|
|
944
966
|
pathParams: {
|
|
@@ -995,6 +1017,7 @@ export const BUILTIN_MODULES = [
|
|
|
995
1017
|
method: 'get',
|
|
996
1018
|
path: '/projects/team',
|
|
997
1019
|
resultType: 'list',
|
|
1020
|
+
resultObjectType: 'team',
|
|
998
1021
|
resultGetter: 'members',
|
|
999
1022
|
params: [
|
|
1000
1023
|
{
|
|
@@ -1012,6 +1035,7 @@ export const BUILTIN_MODULES = [
|
|
|
1012
1035
|
method: 'get',
|
|
1013
1036
|
path: '/projects/{projectID}/members',
|
|
1014
1037
|
resultType: 'list',
|
|
1038
|
+
resultObjectType: 'team',
|
|
1015
1039
|
resultGetter: 'members',
|
|
1016
1040
|
pathParams: {
|
|
1017
1041
|
projectID: '项目ID',
|
|
@@ -1024,6 +1048,7 @@ export const BUILTIN_MODULES = [
|
|
|
1024
1048
|
method: 'post',
|
|
1025
1049
|
path: '/projects',
|
|
1026
1050
|
resultType: 'object',
|
|
1051
|
+
resultObjectType: 'project',
|
|
1027
1052
|
requestBody: {
|
|
1028
1053
|
required: true,
|
|
1029
1054
|
type: 'object',
|
|
@@ -1097,6 +1122,7 @@ export const BUILTIN_MODULES = [
|
|
|
1097
1122
|
method: 'post',
|
|
1098
1123
|
path: '/projects/{projectID}/close',
|
|
1099
1124
|
resultType: 'text',
|
|
1125
|
+
resultObjectType: null,
|
|
1100
1126
|
pathParams: {
|
|
1101
1127
|
projectID: '项目ID',
|
|
1102
1128
|
},
|
|
@@ -1131,6 +1157,7 @@ export const BUILTIN_MODULES = [
|
|
|
1131
1157
|
method: 'post',
|
|
1132
1158
|
path: '/projects/{projectID}/stories',
|
|
1133
1159
|
resultType: 'object',
|
|
1160
|
+
resultObjectType: 'story',
|
|
1134
1161
|
pathParams: {
|
|
1135
1162
|
projectID: '项目ID',
|
|
1136
1163
|
},
|
|
@@ -1151,7 +1178,7 @@ export const BUILTIN_MODULES = [
|
|
|
1151
1178
|
},
|
|
1152
1179
|
"spec": {
|
|
1153
1180
|
"type": "string",
|
|
1154
|
-
"description": "需求描述"
|
|
1181
|
+
"description": "需求描述 (HTML)"
|
|
1155
1182
|
},
|
|
1156
1183
|
"pri": {
|
|
1157
1184
|
"type": "integer",
|
|
@@ -1193,6 +1220,7 @@ export const BUILTIN_MODULES = [
|
|
|
1193
1220
|
method: 'post',
|
|
1194
1221
|
path: '/projects/{projectID}/bugs',
|
|
1195
1222
|
resultType: 'object',
|
|
1223
|
+
resultObjectType: 'bug',
|
|
1196
1224
|
pathParams: {
|
|
1197
1225
|
projectID: '项目ID',
|
|
1198
1226
|
},
|
|
@@ -1234,7 +1262,7 @@ export const BUILTIN_MODULES = [
|
|
|
1234
1262
|
},
|
|
1235
1263
|
"steps": {
|
|
1236
1264
|
"type": "string",
|
|
1237
|
-
"description": "重现步骤"
|
|
1265
|
+
"description": "重现步骤 (HTML)"
|
|
1238
1266
|
}
|
|
1239
1267
|
},
|
|
1240
1268
|
"required": [
|
|
@@ -1261,6 +1289,7 @@ export const BUILTIN_MODULES = [
|
|
|
1261
1289
|
method: 'post',
|
|
1262
1290
|
path: '/projects/{projectID}/tasks',
|
|
1263
1291
|
resultType: 'object',
|
|
1292
|
+
resultObjectType: 'task',
|
|
1264
1293
|
pathParams: {
|
|
1265
1294
|
projectID: '项目ID',
|
|
1266
1295
|
},
|
|
@@ -1317,7 +1346,7 @@ export const BUILTIN_MODULES = [
|
|
|
1317
1346
|
},
|
|
1318
1347
|
"desc": {
|
|
1319
1348
|
"type": "string",
|
|
1320
|
-
"description": "任务描述"
|
|
1349
|
+
"description": "任务描述 (HTML)"
|
|
1321
1350
|
}
|
|
1322
1351
|
},
|
|
1323
1352
|
"required": [
|
|
@@ -1345,6 +1374,7 @@ export const BUILTIN_MODULES = [
|
|
|
1345
1374
|
method: 'post',
|
|
1346
1375
|
path: '/projects/{projectID}/risks',
|
|
1347
1376
|
resultType: 'object',
|
|
1377
|
+
resultObjectType: 'risk',
|
|
1348
1378
|
pathParams: {
|
|
1349
1379
|
projectID: '项目ID',
|
|
1350
1380
|
},
|
|
@@ -1409,11 +1439,11 @@ export const BUILTIN_MODULES = [
|
|
|
1409
1439
|
},
|
|
1410
1440
|
"prevention": {
|
|
1411
1441
|
"type": "string",
|
|
1412
|
-
"description": "应对措施。"
|
|
1442
|
+
"description": "应对措施。 (HTML)"
|
|
1413
1443
|
},
|
|
1414
1444
|
"remedy": {
|
|
1415
1445
|
"type": "string",
|
|
1416
|
-
"description": "响应措施。"
|
|
1446
|
+
"description": "响应措施。 (HTML)"
|
|
1417
1447
|
}
|
|
1418
1448
|
},
|
|
1419
1449
|
"required": [
|
|
@@ -1445,6 +1475,7 @@ export const BUILTIN_MODULES = [
|
|
|
1445
1475
|
method: 'post',
|
|
1446
1476
|
path: '/projects/{projectID}/stories/link',
|
|
1447
1477
|
resultType: 'text',
|
|
1478
|
+
resultObjectType: null,
|
|
1448
1479
|
pathParams: {
|
|
1449
1480
|
projectID: '项目ID',
|
|
1450
1481
|
},
|
|
@@ -1485,6 +1516,7 @@ export const BUILTIN_MODULES = [
|
|
|
1485
1516
|
method: 'put',
|
|
1486
1517
|
path: '/projects/{projectID}',
|
|
1487
1518
|
resultType: 'object',
|
|
1519
|
+
resultObjectType: null,
|
|
1488
1520
|
pathParams: {
|
|
1489
1521
|
projectID: '项目ID',
|
|
1490
1522
|
},
|
|
@@ -1561,6 +1593,7 @@ export const BUILTIN_MODULES = [
|
|
|
1561
1593
|
method: 'delete',
|
|
1562
1594
|
path: '/projects/{projectID}',
|
|
1563
1595
|
resultType: 'text',
|
|
1596
|
+
resultObjectType: null,
|
|
1564
1597
|
pathParams: {
|
|
1565
1598
|
projectID: '项目ID',
|
|
1566
1599
|
},
|
|
@@ -1572,6 +1605,7 @@ export const BUILTIN_MODULES = [
|
|
|
1572
1605
|
method: 'put',
|
|
1573
1606
|
path: '/projects/{projectID}/members',
|
|
1574
1607
|
resultType: 'text',
|
|
1608
|
+
resultObjectType: null,
|
|
1575
1609
|
pathParams: {
|
|
1576
1610
|
projectID: '项目ID',
|
|
1577
1611
|
},
|
|
@@ -1661,6 +1695,7 @@ export const BUILTIN_MODULES = [
|
|
|
1661
1695
|
method: 'get',
|
|
1662
1696
|
path: '/executions',
|
|
1663
1697
|
resultType: 'list',
|
|
1698
|
+
resultObjectType: 'execution',
|
|
1664
1699
|
pagerGetter: 'pager',
|
|
1665
1700
|
resultGetter: 'executions',
|
|
1666
1701
|
params: [
|
|
@@ -1732,6 +1767,7 @@ export const BUILTIN_MODULES = [
|
|
|
1732
1767
|
method: 'get',
|
|
1733
1768
|
path: '/projects/{projectID}/executions',
|
|
1734
1769
|
resultType: 'list',
|
|
1770
|
+
resultObjectType: 'execution',
|
|
1735
1771
|
pagerGetter: 'pager',
|
|
1736
1772
|
resultGetter: 'executions',
|
|
1737
1773
|
pathParams: {
|
|
@@ -1788,6 +1824,7 @@ export const BUILTIN_MODULES = [
|
|
|
1788
1824
|
method: 'get',
|
|
1789
1825
|
path: '/executions/team',
|
|
1790
1826
|
resultType: 'list',
|
|
1827
|
+
resultObjectType: 'team',
|
|
1791
1828
|
resultGetter: 'members',
|
|
1792
1829
|
params: [
|
|
1793
1830
|
{
|
|
@@ -1805,6 +1842,7 @@ export const BUILTIN_MODULES = [
|
|
|
1805
1842
|
method: 'get',
|
|
1806
1843
|
path: '/executions/{executionID}/members',
|
|
1807
1844
|
resultType: 'list',
|
|
1845
|
+
resultObjectType: 'team',
|
|
1808
1846
|
resultGetter: 'members',
|
|
1809
1847
|
pathParams: {
|
|
1810
1848
|
executionID: '执行ID',
|
|
@@ -1817,6 +1855,7 @@ export const BUILTIN_MODULES = [
|
|
|
1817
1855
|
method: 'post',
|
|
1818
1856
|
path: '/executions',
|
|
1819
1857
|
resultType: 'object',
|
|
1858
|
+
resultObjectType: 'execution',
|
|
1820
1859
|
requestBody: {
|
|
1821
1860
|
required: true,
|
|
1822
1861
|
type: 'object',
|
|
@@ -1936,6 +1975,7 @@ export const BUILTIN_MODULES = [
|
|
|
1936
1975
|
method: 'post',
|
|
1937
1976
|
path: '/executions/{executionID}/close',
|
|
1938
1977
|
resultType: 'text',
|
|
1978
|
+
resultObjectType: null,
|
|
1939
1979
|
pathParams: {
|
|
1940
1980
|
executionID: '执行ID',
|
|
1941
1981
|
},
|
|
@@ -1970,6 +2010,7 @@ export const BUILTIN_MODULES = [
|
|
|
1970
2010
|
method: 'post',
|
|
1971
2011
|
path: '/executions/{executionID}/task/modules',
|
|
1972
2012
|
resultType: 'object',
|
|
2013
|
+
resultObjectType: 'module',
|
|
1973
2014
|
pathParams: {
|
|
1974
2015
|
executionID: '执行ID',
|
|
1975
2016
|
},
|
|
@@ -2003,6 +2044,7 @@ export const BUILTIN_MODULES = [
|
|
|
2003
2044
|
method: 'post',
|
|
2004
2045
|
path: '/executions/{executionID}/stories/link',
|
|
2005
2046
|
resultType: 'text',
|
|
2047
|
+
resultObjectType: null,
|
|
2006
2048
|
pathParams: {
|
|
2007
2049
|
executionID: '执行ID',
|
|
2008
2050
|
},
|
|
@@ -2043,6 +2085,7 @@ export const BUILTIN_MODULES = [
|
|
|
2043
2085
|
method: 'get',
|
|
2044
2086
|
path: '/executions/{executionID}',
|
|
2045
2087
|
resultType: 'object',
|
|
2088
|
+
resultObjectType: 'execution',
|
|
2046
2089
|
resultGetter: 'execution',
|
|
2047
2090
|
pathParams: {
|
|
2048
2091
|
executionID: '执行ID',
|
|
@@ -2055,6 +2098,7 @@ export const BUILTIN_MODULES = [
|
|
|
2055
2098
|
method: 'put',
|
|
2056
2099
|
path: '/executions/{executionID}',
|
|
2057
2100
|
resultType: 'object',
|
|
2101
|
+
resultObjectType: null,
|
|
2058
2102
|
pathParams: {
|
|
2059
2103
|
executionID: '执行ID',
|
|
2060
2104
|
},
|
|
@@ -2161,6 +2205,7 @@ export const BUILTIN_MODULES = [
|
|
|
2161
2205
|
method: 'delete',
|
|
2162
2206
|
path: '/executions/{executionID}',
|
|
2163
2207
|
resultType: 'text',
|
|
2208
|
+
resultObjectType: null,
|
|
2164
2209
|
pathParams: {
|
|
2165
2210
|
executionID: '执行ID',
|
|
2166
2211
|
},
|
|
@@ -2172,6 +2217,7 @@ export const BUILTIN_MODULES = [
|
|
|
2172
2217
|
method: 'put',
|
|
2173
2218
|
path: '/executions/{executionID}/members',
|
|
2174
2219
|
resultType: 'text',
|
|
2220
|
+
resultObjectType: null,
|
|
2175
2221
|
pathParams: {
|
|
2176
2222
|
executionID: '执行ID',
|
|
2177
2223
|
},
|
|
@@ -2261,6 +2307,7 @@ export const BUILTIN_MODULES = [
|
|
|
2261
2307
|
method: 'get',
|
|
2262
2308
|
path: '/products/{productID}/productplans',
|
|
2263
2309
|
resultType: 'list',
|
|
2310
|
+
resultObjectType: 'productplan',
|
|
2264
2311
|
pagerGetter: 'pager',
|
|
2265
2312
|
resultGetter: 'productplans',
|
|
2266
2313
|
pathParams: {
|
|
@@ -2336,6 +2383,7 @@ export const BUILTIN_MODULES = [
|
|
|
2336
2383
|
method: 'post',
|
|
2337
2384
|
path: '/productplans',
|
|
2338
2385
|
resultType: 'object',
|
|
2386
|
+
resultObjectType: 'productplan',
|
|
2339
2387
|
requestBody: {
|
|
2340
2388
|
required: true,
|
|
2341
2389
|
type: 'object',
|
|
@@ -2371,7 +2419,7 @@ export const BUILTIN_MODULES = [
|
|
|
2371
2419
|
},
|
|
2372
2420
|
"desc": {
|
|
2373
2421
|
"type": "string",
|
|
2374
|
-
"description": "计划描述"
|
|
2422
|
+
"description": "计划描述 (HTML)"
|
|
2375
2423
|
}
|
|
2376
2424
|
},
|
|
2377
2425
|
"required": [
|
|
@@ -2397,6 +2445,7 @@ export const BUILTIN_MODULES = [
|
|
|
2397
2445
|
method: 'get',
|
|
2398
2446
|
path: '/productplans/{planID}',
|
|
2399
2447
|
resultType: 'object',
|
|
2448
|
+
resultObjectType: 'productplan',
|
|
2400
2449
|
resultGetter: 'productplan',
|
|
2401
2450
|
pathParams: {
|
|
2402
2451
|
planID: '产品计划ID',
|
|
@@ -2409,6 +2458,7 @@ export const BUILTIN_MODULES = [
|
|
|
2409
2458
|
method: 'put',
|
|
2410
2459
|
path: '/productplans/{planID}',
|
|
2411
2460
|
resultType: 'object',
|
|
2461
|
+
resultObjectType: null,
|
|
2412
2462
|
pathParams: {
|
|
2413
2463
|
planID: '产品计划ID',
|
|
2414
2464
|
},
|
|
@@ -2442,7 +2492,7 @@ export const BUILTIN_MODULES = [
|
|
|
2442
2492
|
},
|
|
2443
2493
|
"desc": {
|
|
2444
2494
|
"type": "string",
|
|
2445
|
-
"description": "计划描述"
|
|
2495
|
+
"description": "计划描述 (HTML)"
|
|
2446
2496
|
}
|
|
2447
2497
|
},
|
|
2448
2498
|
"required": [
|
|
@@ -2466,6 +2516,7 @@ export const BUILTIN_MODULES = [
|
|
|
2466
2516
|
method: 'delete',
|
|
2467
2517
|
path: '/productplans/{planID}',
|
|
2468
2518
|
resultType: 'text',
|
|
2519
|
+
resultObjectType: null,
|
|
2469
2520
|
pathParams: {
|
|
2470
2521
|
planID: '产品计划ID',
|
|
2471
2522
|
},
|
|
@@ -2486,6 +2537,7 @@ export const BUILTIN_MODULES = [
|
|
|
2486
2537
|
method: 'get',
|
|
2487
2538
|
path: '/{scope}/{scopeID}/stories',
|
|
2488
2539
|
resultType: 'list',
|
|
2540
|
+
resultObjectType: 'story',
|
|
2489
2541
|
pagerGetter: 'pager',
|
|
2490
2542
|
resultGetter: 'stories',
|
|
2491
2543
|
pathParams: {
|
|
@@ -2559,6 +2611,7 @@ export const BUILTIN_MODULES = [
|
|
|
2559
2611
|
method: 'get',
|
|
2560
2612
|
path: '/products/{productID}/story/modules',
|
|
2561
2613
|
resultType: 'list',
|
|
2614
|
+
resultObjectType: 'module',
|
|
2562
2615
|
pathParams: {
|
|
2563
2616
|
productID: '产品ID',
|
|
2564
2617
|
},
|
|
@@ -2571,6 +2624,7 @@ export const BUILTIN_MODULES = [
|
|
|
2571
2624
|
method: 'post',
|
|
2572
2625
|
path: '/stories',
|
|
2573
2626
|
resultType: 'object',
|
|
2627
|
+
resultObjectType: 'story',
|
|
2574
2628
|
requestBody: {
|
|
2575
2629
|
required: true,
|
|
2576
2630
|
type: 'object',
|
|
@@ -2607,7 +2661,7 @@ export const BUILTIN_MODULES = [
|
|
|
2607
2661
|
},
|
|
2608
2662
|
"spec": {
|
|
2609
2663
|
"type": "string",
|
|
2610
|
-
"description": "需求描述"
|
|
2664
|
+
"description": "需求描述 (HTML)"
|
|
2611
2665
|
},
|
|
2612
2666
|
"category": {
|
|
2613
2667
|
"type": "integer",
|
|
@@ -2620,12 +2674,16 @@ export const BUILTIN_MODULES = [
|
|
|
2620
2674
|
},
|
|
2621
2675
|
"verify": {
|
|
2622
2676
|
"type": "string",
|
|
2623
|
-
"description": "验收标准"
|
|
2677
|
+
"description": "验收标准 (HTML)"
|
|
2624
2678
|
},
|
|
2625
2679
|
"assignedTo": {
|
|
2626
2680
|
"type": "string",
|
|
2627
2681
|
"description": "指派给"
|
|
2628
2682
|
},
|
|
2683
|
+
"status": {
|
|
2684
|
+
"type": "string",
|
|
2685
|
+
"description": "无有效评审人时默认 active,可显式指定状态;有有效评审人时固定为 reviewing。"
|
|
2686
|
+
},
|
|
2629
2687
|
"reviewer": {
|
|
2630
2688
|
"type": "array",
|
|
2631
2689
|
"items": {
|
|
@@ -2674,6 +2732,7 @@ export const BUILTIN_MODULES = [
|
|
|
2674
2732
|
method: 'get',
|
|
2675
2733
|
path: '/stories/{storyID}',
|
|
2676
2734
|
resultType: 'object',
|
|
2735
|
+
resultObjectType: 'story',
|
|
2677
2736
|
resultGetter: 'story',
|
|
2678
2737
|
pathParams: {
|
|
2679
2738
|
storyID: '需求ID',
|
|
@@ -2686,6 +2745,7 @@ export const BUILTIN_MODULES = [
|
|
|
2686
2745
|
method: 'put',
|
|
2687
2746
|
path: '/stories/{storyID}',
|
|
2688
2747
|
resultType: 'object',
|
|
2748
|
+
resultObjectType: 'story',
|
|
2689
2749
|
pathParams: {
|
|
2690
2750
|
storyID: '需求ID',
|
|
2691
2751
|
},
|
|
@@ -2755,6 +2815,7 @@ export const BUILTIN_MODULES = [
|
|
|
2755
2815
|
method: 'put',
|
|
2756
2816
|
path: '/story/modules/{moduleID}',
|
|
2757
2817
|
resultType: 'object',
|
|
2818
|
+
resultObjectType: null,
|
|
2758
2819
|
pathParams: {
|
|
2759
2820
|
moduleID: '模块ID',
|
|
2760
2821
|
},
|
|
@@ -2788,6 +2849,7 @@ export const BUILTIN_MODULES = [
|
|
|
2788
2849
|
method: 'delete',
|
|
2789
2850
|
path: '/stories/{storyID}',
|
|
2790
2851
|
resultType: 'text',
|
|
2852
|
+
resultObjectType: null,
|
|
2791
2853
|
pathParams: {
|
|
2792
2854
|
storyID: '需求ID',
|
|
2793
2855
|
},
|
|
@@ -2799,6 +2861,7 @@ export const BUILTIN_MODULES = [
|
|
|
2799
2861
|
method: 'delete',
|
|
2800
2862
|
path: '/story/modules/{moduleID}',
|
|
2801
2863
|
resultType: 'text',
|
|
2864
|
+
resultObjectType: null,
|
|
2802
2865
|
pathParams: {
|
|
2803
2866
|
moduleID: '模块ID',
|
|
2804
2867
|
},
|
|
@@ -2810,6 +2873,7 @@ export const BUILTIN_MODULES = [
|
|
|
2810
2873
|
method: 'put',
|
|
2811
2874
|
path: '/stories/{storyID}/activate',
|
|
2812
2875
|
resultType: 'text',
|
|
2876
|
+
resultObjectType: null,
|
|
2813
2877
|
pathParams: {
|
|
2814
2878
|
storyID: '需求ID',
|
|
2815
2879
|
},
|
|
@@ -2841,6 +2905,7 @@ export const BUILTIN_MODULES = [
|
|
|
2841
2905
|
method: 'put',
|
|
2842
2906
|
path: '/stories/{storyID}/change',
|
|
2843
2907
|
resultType: 'text',
|
|
2908
|
+
resultObjectType: 'story',
|
|
2844
2909
|
pathParams: {
|
|
2845
2910
|
storyID: '需求ID',
|
|
2846
2911
|
},
|
|
@@ -2854,6 +2919,10 @@ export const BUILTIN_MODULES = [
|
|
|
2854
2919
|
"type": "string",
|
|
2855
2920
|
"description": "需求名称"
|
|
2856
2921
|
},
|
|
2922
|
+
"status": {
|
|
2923
|
+
"type": "string",
|
|
2924
|
+
"description": "无有效评审人时默认 active,可显式指定状态;有有效评审人时固定为 reviewing。"
|
|
2925
|
+
},
|
|
2857
2926
|
"reviewer": {
|
|
2858
2927
|
"type": "array",
|
|
2859
2928
|
"items": {
|
|
@@ -2863,11 +2932,11 @@ export const BUILTIN_MODULES = [
|
|
|
2863
2932
|
},
|
|
2864
2933
|
"spec": {
|
|
2865
2934
|
"type": "string",
|
|
2866
|
-
"description": "需求描述"
|
|
2935
|
+
"description": "需求描述 (HTML)"
|
|
2867
2936
|
},
|
|
2868
2937
|
"verify": {
|
|
2869
2938
|
"type": "string",
|
|
2870
|
-
"description": "验收标准"
|
|
2939
|
+
"description": "验收标准 (HTML)"
|
|
2871
2940
|
}
|
|
2872
2941
|
},
|
|
2873
2942
|
"required": [
|
|
@@ -2891,6 +2960,7 @@ export const BUILTIN_MODULES = [
|
|
|
2891
2960
|
method: 'put',
|
|
2892
2961
|
path: '/stories/{storyID}/close',
|
|
2893
2962
|
resultType: 'text',
|
|
2963
|
+
resultObjectType: 'story',
|
|
2894
2964
|
pathParams: {
|
|
2895
2965
|
storyID: '需求ID',
|
|
2896
2966
|
},
|
|
@@ -2934,6 +3004,7 @@ export const BUILTIN_MODULES = [
|
|
|
2934
3004
|
method: 'get',
|
|
2935
3005
|
path: '/products/{productID}/epics',
|
|
2936
3006
|
resultType: 'list',
|
|
3007
|
+
resultObjectType: 'epic',
|
|
2937
3008
|
pagerGetter: 'pager',
|
|
2938
3009
|
resultGetter: 'epics',
|
|
2939
3010
|
pathParams: {
|
|
@@ -3007,6 +3078,7 @@ export const BUILTIN_MODULES = [
|
|
|
3007
3078
|
method: 'post',
|
|
3008
3079
|
path: '/epics',
|
|
3009
3080
|
resultType: 'object',
|
|
3081
|
+
resultObjectType: 'epic',
|
|
3010
3082
|
requestBody: {
|
|
3011
3083
|
required: true,
|
|
3012
3084
|
type: 'object',
|
|
@@ -3043,7 +3115,7 @@ export const BUILTIN_MODULES = [
|
|
|
3043
3115
|
},
|
|
3044
3116
|
"spec": {
|
|
3045
3117
|
"type": "string",
|
|
3046
|
-
"description": "业务需求描述"
|
|
3118
|
+
"description": "业务需求描述 (HTML)"
|
|
3047
3119
|
},
|
|
3048
3120
|
"category": {
|
|
3049
3121
|
"type": "integer",
|
|
@@ -3056,12 +3128,16 @@ export const BUILTIN_MODULES = [
|
|
|
3056
3128
|
},
|
|
3057
3129
|
"verify": {
|
|
3058
3130
|
"type": "string",
|
|
3059
|
-
"description": "验收标准"
|
|
3131
|
+
"description": "验收标准 (HTML)"
|
|
3060
3132
|
},
|
|
3061
3133
|
"assignedTo": {
|
|
3062
3134
|
"type": "string",
|
|
3063
3135
|
"description": "指派给"
|
|
3064
3136
|
},
|
|
3137
|
+
"status": {
|
|
3138
|
+
"type": "string",
|
|
3139
|
+
"description": "无有效评审人时默认 active,可显式指定状态;有有效评审人时固定为 reviewing。"
|
|
3140
|
+
},
|
|
3065
3141
|
"reviewer": {
|
|
3066
3142
|
"type": "array",
|
|
3067
3143
|
"items": {
|
|
@@ -3098,6 +3174,7 @@ export const BUILTIN_MODULES = [
|
|
|
3098
3174
|
method: 'get',
|
|
3099
3175
|
path: '/epics/{storyID}',
|
|
3100
3176
|
resultType: 'object',
|
|
3177
|
+
resultObjectType: 'epic',
|
|
3101
3178
|
pathParams: {
|
|
3102
3179
|
storyID: '需求ID',
|
|
3103
3180
|
},
|
|
@@ -3110,6 +3187,7 @@ export const BUILTIN_MODULES = [
|
|
|
3110
3187
|
method: 'put',
|
|
3111
3188
|
path: '/epics/{storyID}',
|
|
3112
3189
|
resultType: 'object',
|
|
3190
|
+
resultObjectType: 'epic',
|
|
3113
3191
|
pathParams: {
|
|
3114
3192
|
storyID: '需求ID',
|
|
3115
3193
|
},
|
|
@@ -3180,6 +3258,7 @@ export const BUILTIN_MODULES = [
|
|
|
3180
3258
|
method: 'delete',
|
|
3181
3259
|
path: '/epics/{storyID}',
|
|
3182
3260
|
resultType: 'text',
|
|
3261
|
+
resultObjectType: null,
|
|
3183
3262
|
pathParams: {
|
|
3184
3263
|
storyID: '需求ID',
|
|
3185
3264
|
},
|
|
@@ -3191,6 +3270,7 @@ export const BUILTIN_MODULES = [
|
|
|
3191
3270
|
method: 'put',
|
|
3192
3271
|
path: '/epics/{storyID}/activate',
|
|
3193
3272
|
resultType: 'text',
|
|
3273
|
+
resultObjectType: null,
|
|
3194
3274
|
pathParams: {
|
|
3195
3275
|
storyID: '需求ID',
|
|
3196
3276
|
},
|
|
@@ -3222,6 +3302,7 @@ export const BUILTIN_MODULES = [
|
|
|
3222
3302
|
method: 'put',
|
|
3223
3303
|
path: '/epics/{storyID}/change',
|
|
3224
3304
|
resultType: 'text',
|
|
3305
|
+
resultObjectType: 'epic',
|
|
3225
3306
|
pathParams: {
|
|
3226
3307
|
storyID: '需求ID',
|
|
3227
3308
|
},
|
|
@@ -3235,6 +3316,10 @@ export const BUILTIN_MODULES = [
|
|
|
3235
3316
|
"type": "string",
|
|
3236
3317
|
"description": "需求名称"
|
|
3237
3318
|
},
|
|
3319
|
+
"status": {
|
|
3320
|
+
"type": "string",
|
|
3321
|
+
"description": "无有效评审人时默认 active,可显式指定状态;有有效评审人时固定为 reviewing。"
|
|
3322
|
+
},
|
|
3238
3323
|
"reviewer": {
|
|
3239
3324
|
"type": "array",
|
|
3240
3325
|
"items": {
|
|
@@ -3244,11 +3329,11 @@ export const BUILTIN_MODULES = [
|
|
|
3244
3329
|
},
|
|
3245
3330
|
"spec": {
|
|
3246
3331
|
"type": "string",
|
|
3247
|
-
"description": "需求描述"
|
|
3332
|
+
"description": "需求描述 (HTML)"
|
|
3248
3333
|
},
|
|
3249
3334
|
"verify": {
|
|
3250
3335
|
"type": "string",
|
|
3251
|
-
"description": "验收标准"
|
|
3336
|
+
"description": "验收标准 (HTML)"
|
|
3252
3337
|
}
|
|
3253
3338
|
},
|
|
3254
3339
|
"required": [
|
|
@@ -3272,6 +3357,7 @@ export const BUILTIN_MODULES = [
|
|
|
3272
3357
|
method: 'put',
|
|
3273
3358
|
path: '/epics/{storyID}/close',
|
|
3274
3359
|
resultType: 'text',
|
|
3360
|
+
resultObjectType: 'epic',
|
|
3275
3361
|
pathParams: {
|
|
3276
3362
|
storyID: '需求ID',
|
|
3277
3363
|
},
|
|
@@ -3315,6 +3401,7 @@ export const BUILTIN_MODULES = [
|
|
|
3315
3401
|
method: 'get',
|
|
3316
3402
|
path: '/products/{productID}/requirements',
|
|
3317
3403
|
resultType: 'list',
|
|
3404
|
+
resultObjectType: 'requirement',
|
|
3318
3405
|
pagerGetter: 'pager',
|
|
3319
3406
|
resultGetter: 'requirements',
|
|
3320
3407
|
pathParams: {
|
|
@@ -3388,6 +3475,7 @@ export const BUILTIN_MODULES = [
|
|
|
3388
3475
|
method: 'post',
|
|
3389
3476
|
path: '/requirements',
|
|
3390
3477
|
resultType: 'object',
|
|
3478
|
+
resultObjectType: 'requirement',
|
|
3391
3479
|
requestBody: {
|
|
3392
3480
|
required: true,
|
|
3393
3481
|
type: 'object',
|
|
@@ -3424,7 +3512,7 @@ export const BUILTIN_MODULES = [
|
|
|
3424
3512
|
},
|
|
3425
3513
|
"spec": {
|
|
3426
3514
|
"type": "string",
|
|
3427
|
-
"description": "用户需求描述"
|
|
3515
|
+
"description": "用户需求描述 (HTML)"
|
|
3428
3516
|
},
|
|
3429
3517
|
"category": {
|
|
3430
3518
|
"type": "integer",
|
|
@@ -3437,12 +3525,16 @@ export const BUILTIN_MODULES = [
|
|
|
3437
3525
|
},
|
|
3438
3526
|
"verify": {
|
|
3439
3527
|
"type": "string",
|
|
3440
|
-
"description": "验收标准"
|
|
3528
|
+
"description": "验收标准 (HTML)"
|
|
3441
3529
|
},
|
|
3442
3530
|
"assignedTo": {
|
|
3443
3531
|
"type": "string",
|
|
3444
3532
|
"description": "指派给"
|
|
3445
3533
|
},
|
|
3534
|
+
"status": {
|
|
3535
|
+
"type": "string",
|
|
3536
|
+
"description": "无有效评审人时默认 active,可显式指定状态;有有效评审人时固定为 reviewing。"
|
|
3537
|
+
},
|
|
3446
3538
|
"reviewer": {
|
|
3447
3539
|
"type": "array",
|
|
3448
3540
|
"items": {
|
|
@@ -3479,6 +3571,7 @@ export const BUILTIN_MODULES = [
|
|
|
3479
3571
|
method: 'get',
|
|
3480
3572
|
path: '/requirements/{storyID}',
|
|
3481
3573
|
resultType: 'object',
|
|
3574
|
+
resultObjectType: 'requirement',
|
|
3482
3575
|
pathParams: {
|
|
3483
3576
|
storyID: '需求ID',
|
|
3484
3577
|
},
|
|
@@ -3491,6 +3584,7 @@ export const BUILTIN_MODULES = [
|
|
|
3491
3584
|
method: 'put',
|
|
3492
3585
|
path: '/requirements/{storyID}',
|
|
3493
3586
|
resultType: 'object',
|
|
3587
|
+
resultObjectType: 'requirement',
|
|
3494
3588
|
pathParams: {
|
|
3495
3589
|
storyID: '需求ID',
|
|
3496
3590
|
},
|
|
@@ -3560,6 +3654,7 @@ export const BUILTIN_MODULES = [
|
|
|
3560
3654
|
method: 'delete',
|
|
3561
3655
|
path: '/requirements/{storyID}',
|
|
3562
3656
|
resultType: 'text',
|
|
3657
|
+
resultObjectType: null,
|
|
3563
3658
|
pathParams: {
|
|
3564
3659
|
storyID: '需求ID',
|
|
3565
3660
|
},
|
|
@@ -3571,6 +3666,7 @@ export const BUILTIN_MODULES = [
|
|
|
3571
3666
|
method: 'put',
|
|
3572
3667
|
path: '/requirements/{storyID}/activate',
|
|
3573
3668
|
resultType: 'text',
|
|
3669
|
+
resultObjectType: null,
|
|
3574
3670
|
pathParams: {
|
|
3575
3671
|
storyID: '需求ID',
|
|
3576
3672
|
},
|
|
@@ -3602,6 +3698,7 @@ export const BUILTIN_MODULES = [
|
|
|
3602
3698
|
method: 'put',
|
|
3603
3699
|
path: '/requirements/{storyID}/change',
|
|
3604
3700
|
resultType: 'text',
|
|
3701
|
+
resultObjectType: 'requirement',
|
|
3605
3702
|
pathParams: {
|
|
3606
3703
|
storyID: '需求ID',
|
|
3607
3704
|
},
|
|
@@ -3617,11 +3714,15 @@ export const BUILTIN_MODULES = [
|
|
|
3617
3714
|
},
|
|
3618
3715
|
"spec": {
|
|
3619
3716
|
"type": "string",
|
|
3620
|
-
"description": "需求描述"
|
|
3717
|
+
"description": "需求描述 (HTML)"
|
|
3621
3718
|
},
|
|
3622
3719
|
"verify": {
|
|
3623
3720
|
"type": "string",
|
|
3624
|
-
"description": "验收标准"
|
|
3721
|
+
"description": "验收标准 (HTML)"
|
|
3722
|
+
},
|
|
3723
|
+
"status": {
|
|
3724
|
+
"type": "string",
|
|
3725
|
+
"description": "无有效评审人时默认 active,可显式指定状态;有有效评审人时固定为 reviewing。"
|
|
3625
3726
|
},
|
|
3626
3727
|
"reviewer": {
|
|
3627
3728
|
"type": "array",
|
|
@@ -3649,6 +3750,7 @@ export const BUILTIN_MODULES = [
|
|
|
3649
3750
|
method: 'put',
|
|
3650
3751
|
path: '/requirements/{storyID}/close',
|
|
3651
3752
|
resultType: 'text',
|
|
3753
|
+
resultObjectType: 'requirement',
|
|
3652
3754
|
pathParams: {
|
|
3653
3755
|
storyID: '需求ID',
|
|
3654
3756
|
},
|
|
@@ -3692,6 +3794,7 @@ export const BUILTIN_MODULES = [
|
|
|
3692
3794
|
method: 'get',
|
|
3693
3795
|
path: '/{scope}/{scopeID}/bugs',
|
|
3694
3796
|
resultType: 'list',
|
|
3797
|
+
resultObjectType: 'bug',
|
|
3695
3798
|
pagerGetter: 'pager',
|
|
3696
3799
|
resultGetter: 'bugs',
|
|
3697
3800
|
pathParams: {
|
|
@@ -3758,6 +3861,7 @@ export const BUILTIN_MODULES = [
|
|
|
3758
3861
|
method: 'get',
|
|
3759
3862
|
path: '/products/{productID}/bug/modules',
|
|
3760
3863
|
resultType: 'list',
|
|
3864
|
+
resultObjectType: 'module',
|
|
3761
3865
|
pathParams: {
|
|
3762
3866
|
productID: '产品ID',
|
|
3763
3867
|
},
|
|
@@ -3770,6 +3874,7 @@ export const BUILTIN_MODULES = [
|
|
|
3770
3874
|
method: 'post',
|
|
3771
3875
|
path: '/bugs',
|
|
3772
3876
|
resultType: 'object',
|
|
3877
|
+
resultObjectType: 'bug',
|
|
3773
3878
|
requestBody: {
|
|
3774
3879
|
required: true,
|
|
3775
3880
|
type: 'object',
|
|
@@ -3818,7 +3923,7 @@ export const BUILTIN_MODULES = [
|
|
|
3818
3923
|
},
|
|
3819
3924
|
"steps": {
|
|
3820
3925
|
"type": "string",
|
|
3821
|
-
"description": "重现步骤"
|
|
3926
|
+
"description": "重现步骤 (HTML)"
|
|
3822
3927
|
},
|
|
3823
3928
|
"story": {
|
|
3824
3929
|
"type": "integer",
|
|
@@ -3860,6 +3965,7 @@ export const BUILTIN_MODULES = [
|
|
|
3860
3965
|
method: 'get',
|
|
3861
3966
|
path: '/bugs/{bugID}',
|
|
3862
3967
|
resultType: 'object',
|
|
3968
|
+
resultObjectType: 'bug',
|
|
3863
3969
|
resultGetter: 'bug',
|
|
3864
3970
|
pathParams: {
|
|
3865
3971
|
bugID: 'Bug ID',
|
|
@@ -3872,6 +3978,7 @@ export const BUILTIN_MODULES = [
|
|
|
3872
3978
|
method: 'put',
|
|
3873
3979
|
path: '/bugs/{bugID}',
|
|
3874
3980
|
resultType: 'object',
|
|
3981
|
+
resultObjectType: 'bug',
|
|
3875
3982
|
pathParams: {
|
|
3876
3983
|
bugID: 'Bug ID',
|
|
3877
3984
|
},
|
|
@@ -3908,7 +4015,7 @@ export const BUILTIN_MODULES = [
|
|
|
3908
4015
|
},
|
|
3909
4016
|
"steps": {
|
|
3910
4017
|
"type": "string",
|
|
3911
|
-
"description": "重现步骤"
|
|
4018
|
+
"description": "重现步骤 (HTML)"
|
|
3912
4019
|
},
|
|
3913
4020
|
"project": {
|
|
3914
4021
|
"type": "integer",
|
|
@@ -3954,6 +4061,7 @@ export const BUILTIN_MODULES = [
|
|
|
3954
4061
|
method: 'put',
|
|
3955
4062
|
path: '/bug/modules/{moduleID}',
|
|
3956
4063
|
resultType: 'object',
|
|
4064
|
+
resultObjectType: null,
|
|
3957
4065
|
pathParams: {
|
|
3958
4066
|
moduleID: '模块ID',
|
|
3959
4067
|
},
|
|
@@ -3987,6 +4095,7 @@ export const BUILTIN_MODULES = [
|
|
|
3987
4095
|
method: 'delete',
|
|
3988
4096
|
path: '/bugs/{bugID}',
|
|
3989
4097
|
resultType: 'text',
|
|
4098
|
+
resultObjectType: null,
|
|
3990
4099
|
pathParams: {
|
|
3991
4100
|
bugID: 'Bug ID',
|
|
3992
4101
|
},
|
|
@@ -3998,6 +4107,7 @@ export const BUILTIN_MODULES = [
|
|
|
3998
4107
|
method: 'delete',
|
|
3999
4108
|
path: '/bug/modules/{moduleID}',
|
|
4000
4109
|
resultType: 'text',
|
|
4110
|
+
resultObjectType: null,
|
|
4001
4111
|
pathParams: {
|
|
4002
4112
|
moduleID: '模块ID',
|
|
4003
4113
|
},
|
|
@@ -4009,6 +4119,7 @@ export const BUILTIN_MODULES = [
|
|
|
4009
4119
|
method: 'put',
|
|
4010
4120
|
path: '/bugs/{bugID}/activate',
|
|
4011
4121
|
resultType: 'text',
|
|
4122
|
+
resultObjectType: 'bug',
|
|
4012
4123
|
pathParams: {
|
|
4013
4124
|
bugID: 'Bug ID',
|
|
4014
4125
|
},
|
|
@@ -4050,6 +4161,7 @@ export const BUILTIN_MODULES = [
|
|
|
4050
4161
|
method: 'put',
|
|
4051
4162
|
path: '/bugs/{bugID}/close',
|
|
4052
4163
|
resultType: 'text',
|
|
4164
|
+
resultObjectType: 'bug',
|
|
4053
4165
|
pathParams: {
|
|
4054
4166
|
bugID: 'Bug ID',
|
|
4055
4167
|
},
|
|
@@ -4074,6 +4186,7 @@ export const BUILTIN_MODULES = [
|
|
|
4074
4186
|
method: 'put',
|
|
4075
4187
|
path: '/bugs/{bugID}/confirm',
|
|
4076
4188
|
resultType: 'text',
|
|
4189
|
+
resultObjectType: 'bug',
|
|
4077
4190
|
pathParams: {
|
|
4078
4191
|
bugID: 'Bug ID',
|
|
4079
4192
|
},
|
|
@@ -4135,6 +4248,7 @@ export const BUILTIN_MODULES = [
|
|
|
4135
4248
|
method: 'put',
|
|
4136
4249
|
path: '/bugs/{bugID}/resolve',
|
|
4137
4250
|
resultType: 'text',
|
|
4251
|
+
resultObjectType: 'bug',
|
|
4138
4252
|
pathParams: {
|
|
4139
4253
|
bugID: 'Bug ID',
|
|
4140
4254
|
},
|
|
@@ -4193,6 +4307,7 @@ export const BUILTIN_MODULES = [
|
|
|
4193
4307
|
method: 'get',
|
|
4194
4308
|
path: '/{scope}/{scopeID}/testcases',
|
|
4195
4309
|
resultType: 'list',
|
|
4310
|
+
resultObjectType: 'testcase',
|
|
4196
4311
|
pagerGetter: 'pager',
|
|
4197
4312
|
resultGetter: 'testcases',
|
|
4198
4313
|
pathParams: {
|
|
@@ -4257,6 +4372,7 @@ export const BUILTIN_MODULES = [
|
|
|
4257
4372
|
method: 'get',
|
|
4258
4373
|
path: '/products/{productID}/testcase/modules',
|
|
4259
4374
|
resultType: 'list',
|
|
4375
|
+
resultObjectType: 'module',
|
|
4260
4376
|
pathParams: {
|
|
4261
4377
|
productID: '产品ID',
|
|
4262
4378
|
},
|
|
@@ -4269,6 +4385,7 @@ export const BUILTIN_MODULES = [
|
|
|
4269
4385
|
method: 'post',
|
|
4270
4386
|
path: '/testcases',
|
|
4271
4387
|
resultType: 'object',
|
|
4388
|
+
resultObjectType: 'testcase',
|
|
4272
4389
|
requestBody: {
|
|
4273
4390
|
required: true,
|
|
4274
4391
|
type: 'object',
|
|
@@ -4375,6 +4492,7 @@ export const BUILTIN_MODULES = [
|
|
|
4375
4492
|
method: 'get',
|
|
4376
4493
|
path: '/testcases/{caseID}',
|
|
4377
4494
|
resultType: 'object',
|
|
4495
|
+
resultObjectType: 'testcase',
|
|
4378
4496
|
resultGetter: 'testcase',
|
|
4379
4497
|
pathParams: {
|
|
4380
4498
|
caseID: '测试用例ID',
|
|
@@ -4387,6 +4505,7 @@ export const BUILTIN_MODULES = [
|
|
|
4387
4505
|
method: 'put',
|
|
4388
4506
|
path: '/testcases/{caseID}',
|
|
4389
4507
|
resultType: 'object',
|
|
4508
|
+
resultObjectType: 'testcase',
|
|
4390
4509
|
pathParams: {
|
|
4391
4510
|
caseID: '测试用例ID',
|
|
4392
4511
|
},
|
|
@@ -4477,6 +4596,7 @@ export const BUILTIN_MODULES = [
|
|
|
4477
4596
|
method: 'put',
|
|
4478
4597
|
path: '/testcase/modules/{moduleID}',
|
|
4479
4598
|
resultType: 'object',
|
|
4599
|
+
resultObjectType: null,
|
|
4480
4600
|
pathParams: {
|
|
4481
4601
|
moduleID: '模块ID',
|
|
4482
4602
|
},
|
|
@@ -4510,6 +4630,7 @@ export const BUILTIN_MODULES = [
|
|
|
4510
4630
|
method: 'delete',
|
|
4511
4631
|
path: '/testcases/{caseID}',
|
|
4512
4632
|
resultType: 'text',
|
|
4633
|
+
resultObjectType: null,
|
|
4513
4634
|
pathParams: {
|
|
4514
4635
|
caseID: '测试用例ID',
|
|
4515
4636
|
},
|
|
@@ -4521,6 +4642,7 @@ export const BUILTIN_MODULES = [
|
|
|
4521
4642
|
method: 'delete',
|
|
4522
4643
|
path: '/testcase/modules/{moduleID}',
|
|
4523
4644
|
resultType: 'text',
|
|
4645
|
+
resultObjectType: null,
|
|
4524
4646
|
pathParams: {
|
|
4525
4647
|
moduleID: '模块ID',
|
|
4526
4648
|
},
|
|
@@ -4541,6 +4663,7 @@ export const BUILTIN_MODULES = [
|
|
|
4541
4663
|
method: 'get',
|
|
4542
4664
|
path: '/executions/{executionID}/tasks',
|
|
4543
4665
|
resultType: 'list',
|
|
4666
|
+
resultObjectType: 'task',
|
|
4544
4667
|
pagerGetter: 'pager',
|
|
4545
4668
|
resultGetter: 'tasks',
|
|
4546
4669
|
pathParams: {
|
|
@@ -4597,6 +4720,7 @@ export const BUILTIN_MODULES = [
|
|
|
4597
4720
|
method: 'get',
|
|
4598
4721
|
path: '/executions/{executionID}/task/modules',
|
|
4599
4722
|
resultType: 'list',
|
|
4723
|
+
resultObjectType: 'module',
|
|
4600
4724
|
pathParams: {
|
|
4601
4725
|
executionID: '执行ID',
|
|
4602
4726
|
},
|
|
@@ -4609,6 +4733,7 @@ export const BUILTIN_MODULES = [
|
|
|
4609
4733
|
method: 'post',
|
|
4610
4734
|
path: '/tasks',
|
|
4611
4735
|
resultType: 'object',
|
|
4736
|
+
resultObjectType: 'task',
|
|
4612
4737
|
requestBody: {
|
|
4613
4738
|
required: true,
|
|
4614
4739
|
type: 'object',
|
|
@@ -4662,7 +4787,7 @@ export const BUILTIN_MODULES = [
|
|
|
4662
4787
|
},
|
|
4663
4788
|
"desc": {
|
|
4664
4789
|
"type": "string",
|
|
4665
|
-
"description": "任务描述"
|
|
4790
|
+
"description": "任务描述 (HTML)"
|
|
4666
4791
|
}
|
|
4667
4792
|
},
|
|
4668
4793
|
"required": [
|
|
@@ -4691,6 +4816,7 @@ export const BUILTIN_MODULES = [
|
|
|
4691
4816
|
method: 'get',
|
|
4692
4817
|
path: '/tasks/{taskID}',
|
|
4693
4818
|
resultType: 'object',
|
|
4819
|
+
resultObjectType: 'task',
|
|
4694
4820
|
pathParams: {
|
|
4695
4821
|
taskID: '任务ID',
|
|
4696
4822
|
},
|
|
@@ -4703,6 +4829,7 @@ export const BUILTIN_MODULES = [
|
|
|
4703
4829
|
method: 'put',
|
|
4704
4830
|
path: '/tasks/{taskID}',
|
|
4705
4831
|
resultType: 'object',
|
|
4832
|
+
resultObjectType: 'task',
|
|
4706
4833
|
pathParams: {
|
|
4707
4834
|
taskID: '任务ID',
|
|
4708
4835
|
},
|
|
@@ -4754,7 +4881,7 @@ export const BUILTIN_MODULES = [
|
|
|
4754
4881
|
},
|
|
4755
4882
|
"desc": {
|
|
4756
4883
|
"type": "string",
|
|
4757
|
-
"description": "任务描述"
|
|
4884
|
+
"description": "任务描述 (HTML)"
|
|
4758
4885
|
}
|
|
4759
4886
|
}
|
|
4760
4887
|
},
|
|
@@ -4778,6 +4905,7 @@ export const BUILTIN_MODULES = [
|
|
|
4778
4905
|
method: 'put',
|
|
4779
4906
|
path: '/task/modules/{moduleID}',
|
|
4780
4907
|
resultType: 'object',
|
|
4908
|
+
resultObjectType: null,
|
|
4781
4909
|
pathParams: {
|
|
4782
4910
|
moduleID: '模块ID',
|
|
4783
4911
|
},
|
|
@@ -4811,6 +4939,7 @@ export const BUILTIN_MODULES = [
|
|
|
4811
4939
|
method: 'delete',
|
|
4812
4940
|
path: '/tasks/{taskID}',
|
|
4813
4941
|
resultType: 'text',
|
|
4942
|
+
resultObjectType: null,
|
|
4814
4943
|
pathParams: {
|
|
4815
4944
|
taskID: '任务ID',
|
|
4816
4945
|
},
|
|
@@ -4822,6 +4951,7 @@ export const BUILTIN_MODULES = [
|
|
|
4822
4951
|
method: 'delete',
|
|
4823
4952
|
path: '/task/modules/{moduleID}',
|
|
4824
4953
|
resultType: 'text',
|
|
4954
|
+
resultObjectType: null,
|
|
4825
4955
|
pathParams: {
|
|
4826
4956
|
moduleID: '模块ID',
|
|
4827
4957
|
},
|
|
@@ -4833,6 +4963,7 @@ export const BUILTIN_MODULES = [
|
|
|
4833
4963
|
method: 'put',
|
|
4834
4964
|
path: '/tasks/{taskID}/activate',
|
|
4835
4965
|
resultType: 'text',
|
|
4966
|
+
resultObjectType: null,
|
|
4836
4967
|
pathParams: {
|
|
4837
4968
|
taskID: '任务ID',
|
|
4838
4969
|
},
|
|
@@ -4870,6 +5001,7 @@ export const BUILTIN_MODULES = [
|
|
|
4870
5001
|
method: 'put',
|
|
4871
5002
|
path: '/tasks/{taskID}/close',
|
|
4872
5003
|
resultType: 'text',
|
|
5004
|
+
resultObjectType: null,
|
|
4873
5005
|
pathParams: {
|
|
4874
5006
|
taskID: '任务ID',
|
|
4875
5007
|
},
|
|
@@ -4894,6 +5026,7 @@ export const BUILTIN_MODULES = [
|
|
|
4894
5026
|
method: 'put',
|
|
4895
5027
|
path: '/tasks/{taskID}/finish',
|
|
4896
5028
|
resultType: 'text',
|
|
5029
|
+
resultObjectType: null,
|
|
4897
5030
|
pathParams: {
|
|
4898
5031
|
taskID: '任务ID',
|
|
4899
5032
|
},
|
|
@@ -4952,6 +5085,7 @@ export const BUILTIN_MODULES = [
|
|
|
4952
5085
|
method: 'put',
|
|
4953
5086
|
path: '/tasks/{taskID}/start',
|
|
4954
5087
|
resultType: 'text',
|
|
5088
|
+
resultObjectType: null,
|
|
4955
5089
|
pathParams: {
|
|
4956
5090
|
taskID: '任务ID',
|
|
4957
5091
|
},
|
|
@@ -5012,6 +5146,7 @@ export const BUILTIN_MODULES = [
|
|
|
5012
5146
|
method: 'get',
|
|
5013
5147
|
path: '/issues',
|
|
5014
5148
|
resultType: 'list',
|
|
5149
|
+
resultObjectType: 'issue',
|
|
5015
5150
|
pagerGetter: 'pager',
|
|
5016
5151
|
resultGetter: 'issues',
|
|
5017
5152
|
params: [
|
|
@@ -5086,6 +5221,7 @@ export const BUILTIN_MODULES = [
|
|
|
5086
5221
|
method: 'get',
|
|
5087
5222
|
path: '/projects/{projectID}/issues',
|
|
5088
5223
|
resultType: 'list',
|
|
5224
|
+
resultObjectType: 'issue',
|
|
5089
5225
|
pagerGetter: 'pager',
|
|
5090
5226
|
resultGetter: 'issues',
|
|
5091
5227
|
pathParams: {
|
|
@@ -5163,6 +5299,7 @@ export const BUILTIN_MODULES = [
|
|
|
5163
5299
|
method: 'get',
|
|
5164
5300
|
path: '/executions/{executionID}/issues',
|
|
5165
5301
|
resultType: 'list',
|
|
5302
|
+
resultObjectType: 'issue',
|
|
5166
5303
|
pagerGetter: 'pager',
|
|
5167
5304
|
resultGetter: 'issues',
|
|
5168
5305
|
pathParams: {
|
|
@@ -5240,6 +5377,7 @@ export const BUILTIN_MODULES = [
|
|
|
5240
5377
|
method: 'post',
|
|
5241
5378
|
path: '/issues',
|
|
5242
5379
|
resultType: 'object',
|
|
5380
|
+
resultObjectType: 'issue',
|
|
5243
5381
|
requestBody: {
|
|
5244
5382
|
required: true,
|
|
5245
5383
|
type: 'object',
|
|
@@ -5293,7 +5431,7 @@ export const BUILTIN_MODULES = [
|
|
|
5293
5431
|
},
|
|
5294
5432
|
"desc": {
|
|
5295
5433
|
"type": "string",
|
|
5296
|
-
"description": "描述"
|
|
5434
|
+
"description": "描述 (HTML)"
|
|
5297
5435
|
}
|
|
5298
5436
|
},
|
|
5299
5437
|
"required": [
|
|
@@ -5324,6 +5462,7 @@ export const BUILTIN_MODULES = [
|
|
|
5324
5462
|
method: 'get',
|
|
5325
5463
|
path: '/issues/{issueID}',
|
|
5326
5464
|
resultType: 'object',
|
|
5465
|
+
resultObjectType: 'issue',
|
|
5327
5466
|
resultGetter: 'issue',
|
|
5328
5467
|
pathParams: {
|
|
5329
5468
|
issueID: '问题ID',
|
|
@@ -5345,6 +5484,7 @@ export const BUILTIN_MODULES = [
|
|
|
5345
5484
|
method: 'get',
|
|
5346
5485
|
path: '/risks',
|
|
5347
5486
|
resultType: 'list',
|
|
5487
|
+
resultObjectType: 'risk',
|
|
5348
5488
|
pagerGetter: 'pager',
|
|
5349
5489
|
resultGetter: 'risks',
|
|
5350
5490
|
params: [
|
|
@@ -5419,6 +5559,7 @@ export const BUILTIN_MODULES = [
|
|
|
5419
5559
|
method: 'get',
|
|
5420
5560
|
path: '/projects/{projectID}/risks',
|
|
5421
5561
|
resultType: 'list',
|
|
5562
|
+
resultObjectType: 'risk',
|
|
5422
5563
|
pagerGetter: 'pager',
|
|
5423
5564
|
resultGetter: 'risks',
|
|
5424
5565
|
pathParams: {
|
|
@@ -5496,6 +5637,7 @@ export const BUILTIN_MODULES = [
|
|
|
5496
5637
|
method: 'get',
|
|
5497
5638
|
path: '/executions/{executionID}/risks',
|
|
5498
5639
|
resultType: 'list',
|
|
5640
|
+
resultObjectType: 'risk',
|
|
5499
5641
|
pagerGetter: 'pager',
|
|
5500
5642
|
resultGetter: 'risks',
|
|
5501
5643
|
pathParams: {
|
|
@@ -5573,6 +5715,7 @@ export const BUILTIN_MODULES = [
|
|
|
5573
5715
|
method: 'post',
|
|
5574
5716
|
path: '/risks',
|
|
5575
5717
|
resultType: 'object',
|
|
5718
|
+
resultObjectType: 'risk',
|
|
5576
5719
|
requestBody: {
|
|
5577
5720
|
required: true,
|
|
5578
5721
|
type: 'object',
|
|
@@ -5639,11 +5782,11 @@ export const BUILTIN_MODULES = [
|
|
|
5639
5782
|
},
|
|
5640
5783
|
"prevention": {
|
|
5641
5784
|
"type": "string",
|
|
5642
|
-
"description": "应对措施"
|
|
5785
|
+
"description": "应对措施 (HTML)"
|
|
5643
5786
|
},
|
|
5644
5787
|
"remedy": {
|
|
5645
5788
|
"type": "string",
|
|
5646
|
-
"description": "响应措施"
|
|
5789
|
+
"description": "响应措施 (HTML)"
|
|
5647
5790
|
}
|
|
5648
5791
|
},
|
|
5649
5792
|
"required": [
|
|
@@ -5678,6 +5821,7 @@ export const BUILTIN_MODULES = [
|
|
|
5678
5821
|
method: 'get',
|
|
5679
5822
|
path: '/risks/{riskID}',
|
|
5680
5823
|
resultType: 'object',
|
|
5824
|
+
resultObjectType: 'risk',
|
|
5681
5825
|
resultGetter: 'risk',
|
|
5682
5826
|
pathParams: {
|
|
5683
5827
|
riskID: '风险ID',
|
|
@@ -5690,6 +5834,7 @@ export const BUILTIN_MODULES = [
|
|
|
5690
5834
|
method: 'put',
|
|
5691
5835
|
path: '/risks/{riskID}',
|
|
5692
5836
|
resultType: 'object',
|
|
5837
|
+
resultObjectType: null,
|
|
5693
5838
|
pathParams: {
|
|
5694
5839
|
riskID: '风险ID',
|
|
5695
5840
|
},
|
|
@@ -5749,15 +5894,15 @@ export const BUILTIN_MODULES = [
|
|
|
5749
5894
|
},
|
|
5750
5895
|
"prevention": {
|
|
5751
5896
|
"type": "string",
|
|
5752
|
-
"description": "应对措施"
|
|
5897
|
+
"description": "应对措施 (HTML)"
|
|
5753
5898
|
},
|
|
5754
5899
|
"remedy": {
|
|
5755
5900
|
"type": "string",
|
|
5756
|
-
"description": "响应措施"
|
|
5901
|
+
"description": "响应措施 (HTML)"
|
|
5757
5902
|
},
|
|
5758
5903
|
"resolution": {
|
|
5759
5904
|
"type": "string",
|
|
5760
|
-
"description": "解决措施"
|
|
5905
|
+
"description": "解决措施 (HTML)"
|
|
5761
5906
|
}
|
|
5762
5907
|
},
|
|
5763
5908
|
"required": [
|
|
@@ -5795,6 +5940,7 @@ export const BUILTIN_MODULES = [
|
|
|
5795
5940
|
method: 'get',
|
|
5796
5941
|
path: '/meetings',
|
|
5797
5942
|
resultType: 'list',
|
|
5943
|
+
resultObjectType: 'meeting',
|
|
5798
5944
|
pagerGetter: 'pager',
|
|
5799
5945
|
resultGetter: 'meetings',
|
|
5800
5946
|
params: [
|
|
@@ -5863,6 +6009,7 @@ export const BUILTIN_MODULES = [
|
|
|
5863
6009
|
method: 'get',
|
|
5864
6010
|
path: '/projects/{projectID}/meetings',
|
|
5865
6011
|
resultType: 'list',
|
|
6012
|
+
resultObjectType: 'meeting',
|
|
5866
6013
|
pagerGetter: 'pager',
|
|
5867
6014
|
resultGetter: 'meetings',
|
|
5868
6015
|
pathParams: {
|
|
@@ -5934,6 +6081,7 @@ export const BUILTIN_MODULES = [
|
|
|
5934
6081
|
method: 'get',
|
|
5935
6082
|
path: '/executions/{executionID}/meetings',
|
|
5936
6083
|
resultType: 'list',
|
|
6084
|
+
resultObjectType: 'meeting',
|
|
5937
6085
|
pagerGetter: 'pager',
|
|
5938
6086
|
resultGetter: 'meetings',
|
|
5939
6087
|
pathParams: {
|
|
@@ -6005,6 +6153,7 @@ export const BUILTIN_MODULES = [
|
|
|
6005
6153
|
method: 'post',
|
|
6006
6154
|
path: '/meetings',
|
|
6007
6155
|
resultType: 'object',
|
|
6156
|
+
resultObjectType: 'meeting',
|
|
6008
6157
|
requestBody: {
|
|
6009
6158
|
required: true,
|
|
6010
6159
|
type: 'object',
|
|
@@ -6102,6 +6251,7 @@ export const BUILTIN_MODULES = [
|
|
|
6102
6251
|
method: 'get',
|
|
6103
6252
|
path: '/meetings/{meetingID}',
|
|
6104
6253
|
resultType: 'object',
|
|
6254
|
+
resultObjectType: 'meeting',
|
|
6105
6255
|
resultGetter: 'meeting',
|
|
6106
6256
|
pathParams: {
|
|
6107
6257
|
meetingID: '会议ID',
|
|
@@ -6114,6 +6264,7 @@ export const BUILTIN_MODULES = [
|
|
|
6114
6264
|
method: 'put',
|
|
6115
6265
|
path: '/meetings/{meetingID}',
|
|
6116
6266
|
resultType: 'object',
|
|
6267
|
+
resultObjectType: null,
|
|
6117
6268
|
pathParams: {
|
|
6118
6269
|
meetingID: '会议ID',
|
|
6119
6270
|
},
|
|
@@ -6201,6 +6352,7 @@ export const BUILTIN_MODULES = [
|
|
|
6201
6352
|
method: 'delete',
|
|
6202
6353
|
path: '/meetings/{meetingID}',
|
|
6203
6354
|
resultType: 'text',
|
|
6355
|
+
resultObjectType: null,
|
|
6204
6356
|
pathParams: {
|
|
6205
6357
|
meetingID: '会议ID',
|
|
6206
6358
|
},
|
|
@@ -6212,6 +6364,7 @@ export const BUILTIN_MODULES = [
|
|
|
6212
6364
|
method: 'put',
|
|
6213
6365
|
path: '/meetings/{meetingID}/minutes',
|
|
6214
6366
|
resultType: 'text',
|
|
6367
|
+
resultObjectType: null,
|
|
6215
6368
|
pathParams: {
|
|
6216
6369
|
meetingID: '会议ID',
|
|
6217
6370
|
},
|
|
@@ -6223,7 +6376,7 @@ export const BUILTIN_MODULES = [
|
|
|
6223
6376
|
"properties": {
|
|
6224
6377
|
"minutes": {
|
|
6225
6378
|
"type": "string",
|
|
6226
|
-
"description": "会议纪要"
|
|
6379
|
+
"description": "会议纪要 (HTML)"
|
|
6227
6380
|
}
|
|
6228
6381
|
}
|
|
6229
6382
|
},
|
|
@@ -6248,6 +6401,7 @@ export const BUILTIN_MODULES = [
|
|
|
6248
6401
|
method: 'get',
|
|
6249
6402
|
path: '/products/{productID}/feedbacks',
|
|
6250
6403
|
resultType: 'list',
|
|
6404
|
+
resultObjectType: 'feedback',
|
|
6251
6405
|
pagerGetter: 'pager',
|
|
6252
6406
|
resultGetter: 'feedbacks',
|
|
6253
6407
|
pathParams: {
|
|
@@ -6323,6 +6477,7 @@ export const BUILTIN_MODULES = [
|
|
|
6323
6477
|
method: 'post',
|
|
6324
6478
|
path: '/feedbacks',
|
|
6325
6479
|
resultType: 'object',
|
|
6480
|
+
resultObjectType: 'feedback',
|
|
6326
6481
|
requestBody: {
|
|
6327
6482
|
required: true,
|
|
6328
6483
|
type: 'object',
|
|
@@ -6349,7 +6504,7 @@ export const BUILTIN_MODULES = [
|
|
|
6349
6504
|
},
|
|
6350
6505
|
"desc": {
|
|
6351
6506
|
"type": "string",
|
|
6352
|
-
"description": "描述"
|
|
6507
|
+
"description": "描述 (HTML)"
|
|
6353
6508
|
},
|
|
6354
6509
|
"feedbackBy": {
|
|
6355
6510
|
"type": "string",
|
|
@@ -6383,6 +6538,7 @@ export const BUILTIN_MODULES = [
|
|
|
6383
6538
|
method: 'post',
|
|
6384
6539
|
path: '/feedbacks/{feedbackID}/bugs',
|
|
6385
6540
|
resultType: 'object',
|
|
6541
|
+
resultObjectType: 'bug',
|
|
6386
6542
|
pathParams: {
|
|
6387
6543
|
feedbackID: '反馈ID',
|
|
6388
6544
|
},
|
|
@@ -6453,6 +6609,7 @@ export const BUILTIN_MODULES = [
|
|
|
6453
6609
|
method: 'post',
|
|
6454
6610
|
path: '/feedbacks/{feedbackID}/tickets',
|
|
6455
6611
|
resultType: 'object',
|
|
6612
|
+
resultObjectType: 'ticket',
|
|
6456
6613
|
pathParams: {
|
|
6457
6614
|
feedbackID: '反馈ID',
|
|
6458
6615
|
},
|
|
@@ -6482,7 +6639,7 @@ export const BUILTIN_MODULES = [
|
|
|
6482
6639
|
},
|
|
6483
6640
|
"desc": {
|
|
6484
6641
|
"type": "string",
|
|
6485
|
-
"description": "工单描述"
|
|
6642
|
+
"description": "工单描述 (HTML)"
|
|
6486
6643
|
}
|
|
6487
6644
|
},
|
|
6488
6645
|
"required": [
|
|
@@ -6507,6 +6664,7 @@ export const BUILTIN_MODULES = [
|
|
|
6507
6664
|
method: 'post',
|
|
6508
6665
|
path: '/feedbacks/{feedbackID}/todos',
|
|
6509
6666
|
resultType: 'object',
|
|
6667
|
+
resultObjectType: null,
|
|
6510
6668
|
pathParams: {
|
|
6511
6669
|
feedbackID: '反馈ID',
|
|
6512
6670
|
},
|
|
@@ -6543,6 +6701,7 @@ export const BUILTIN_MODULES = [
|
|
|
6543
6701
|
method: 'post',
|
|
6544
6702
|
path: '/feedbacks/{feedbackID}/stories',
|
|
6545
6703
|
resultType: 'object',
|
|
6704
|
+
resultObjectType: 'story',
|
|
6546
6705
|
pathParams: {
|
|
6547
6706
|
feedbackID: '反馈ID',
|
|
6548
6707
|
},
|
|
@@ -6596,6 +6755,7 @@ export const BUILTIN_MODULES = [
|
|
|
6596
6755
|
method: 'post',
|
|
6597
6756
|
path: '/feedbacks/{feedbackID}/tasks',
|
|
6598
6757
|
resultType: 'object',
|
|
6758
|
+
resultObjectType: 'task',
|
|
6599
6759
|
pathParams: {
|
|
6600
6760
|
feedbackID: '反馈ID',
|
|
6601
6761
|
},
|
|
@@ -6632,7 +6792,7 @@ export const BUILTIN_MODULES = [
|
|
|
6632
6792
|
},
|
|
6633
6793
|
"desc": {
|
|
6634
6794
|
"type": "string",
|
|
6635
|
-
"description": "任务描述"
|
|
6795
|
+
"description": "任务描述 (HTML)"
|
|
6636
6796
|
}
|
|
6637
6797
|
},
|
|
6638
6798
|
"required": [
|
|
@@ -6658,6 +6818,7 @@ export const BUILTIN_MODULES = [
|
|
|
6658
6818
|
method: 'get',
|
|
6659
6819
|
path: '/feedbacks/{feedbackID}',
|
|
6660
6820
|
resultType: 'object',
|
|
6821
|
+
resultObjectType: 'feedback',
|
|
6661
6822
|
resultGetter: 'feedback',
|
|
6662
6823
|
pathParams: {
|
|
6663
6824
|
feedbackID: '反馈ID',
|
|
@@ -6670,6 +6831,7 @@ export const BUILTIN_MODULES = [
|
|
|
6670
6831
|
method: 'put',
|
|
6671
6832
|
path: '/feedbacks/{feedbackID}',
|
|
6672
6833
|
resultType: 'object',
|
|
6834
|
+
resultObjectType: 'feedback',
|
|
6673
6835
|
pathParams: {
|
|
6674
6836
|
feedbackID: '反馈ID',
|
|
6675
6837
|
},
|
|
@@ -6699,7 +6861,7 @@ export const BUILTIN_MODULES = [
|
|
|
6699
6861
|
},
|
|
6700
6862
|
"desc": {
|
|
6701
6863
|
"type": "string",
|
|
6702
|
-
"description": "描述"
|
|
6864
|
+
"description": "描述 (HTML)"
|
|
6703
6865
|
},
|
|
6704
6866
|
"feedbackBy": {
|
|
6705
6867
|
"type": "string",
|
|
@@ -6733,6 +6895,7 @@ export const BUILTIN_MODULES = [
|
|
|
6733
6895
|
method: 'delete',
|
|
6734
6896
|
path: '/feedbacks/{feedbackID}',
|
|
6735
6897
|
resultType: 'text',
|
|
6898
|
+
resultObjectType: null,
|
|
6736
6899
|
pathParams: {
|
|
6737
6900
|
feedbackID: '反馈ID',
|
|
6738
6901
|
},
|
|
@@ -6744,6 +6907,7 @@ export const BUILTIN_MODULES = [
|
|
|
6744
6907
|
method: 'put',
|
|
6745
6908
|
path: '/feedbacks/{feedbackID}/activate',
|
|
6746
6909
|
resultType: 'text',
|
|
6910
|
+
resultObjectType: null,
|
|
6747
6911
|
pathParams: {
|
|
6748
6912
|
feedbackID: '反馈ID',
|
|
6749
6913
|
},
|
|
@@ -6775,6 +6939,7 @@ export const BUILTIN_MODULES = [
|
|
|
6775
6939
|
method: 'put',
|
|
6776
6940
|
path: '/feedbacks/{feedbackID}/close',
|
|
6777
6941
|
resultType: 'text',
|
|
6942
|
+
resultObjectType: null,
|
|
6778
6943
|
pathParams: {
|
|
6779
6944
|
feedbackID: '反馈ID',
|
|
6780
6945
|
},
|
|
@@ -6823,6 +6988,7 @@ export const BUILTIN_MODULES = [
|
|
|
6823
6988
|
method: 'get',
|
|
6824
6989
|
path: '/products/{productID}/tickets',
|
|
6825
6990
|
resultType: 'list',
|
|
6991
|
+
resultObjectType: 'ticket',
|
|
6826
6992
|
pagerGetter: 'pager',
|
|
6827
6993
|
resultGetter: 'tickets',
|
|
6828
6994
|
pathParams: {
|
|
@@ -6899,6 +7065,7 @@ export const BUILTIN_MODULES = [
|
|
|
6899
7065
|
method: 'post',
|
|
6900
7066
|
path: '/tickets',
|
|
6901
7067
|
resultType: 'object',
|
|
7068
|
+
resultObjectType: 'ticket',
|
|
6902
7069
|
requestBody: {
|
|
6903
7070
|
required: true,
|
|
6904
7071
|
type: 'object',
|
|
@@ -6925,7 +7092,7 @@ export const BUILTIN_MODULES = [
|
|
|
6925
7092
|
},
|
|
6926
7093
|
"desc": {
|
|
6927
7094
|
"type": "string",
|
|
6928
|
-
"description": "描述"
|
|
7095
|
+
"description": "描述 (HTML)"
|
|
6929
7096
|
},
|
|
6930
7097
|
"assignedTo": {
|
|
6931
7098
|
"type": "string",
|
|
@@ -6969,6 +7136,7 @@ export const BUILTIN_MODULES = [
|
|
|
6969
7136
|
method: 'post',
|
|
6970
7137
|
path: '/tickets/{ticketID}/stories',
|
|
6971
7138
|
resultType: 'object',
|
|
7139
|
+
resultObjectType: 'story',
|
|
6972
7140
|
pathParams: {
|
|
6973
7141
|
ticketID: '工单ID',
|
|
6974
7142
|
},
|
|
@@ -7022,6 +7190,7 @@ export const BUILTIN_MODULES = [
|
|
|
7022
7190
|
method: 'post',
|
|
7023
7191
|
path: '/tickets/{ticketID}/bugs',
|
|
7024
7192
|
resultType: 'object',
|
|
7193
|
+
resultObjectType: 'bug',
|
|
7025
7194
|
pathParams: {
|
|
7026
7195
|
ticketID: '工单ID',
|
|
7027
7196
|
},
|
|
@@ -7092,6 +7261,7 @@ export const BUILTIN_MODULES = [
|
|
|
7092
7261
|
method: 'get',
|
|
7093
7262
|
path: '/tickets/{ticketID}',
|
|
7094
7263
|
resultType: 'object',
|
|
7264
|
+
resultObjectType: 'ticket',
|
|
7095
7265
|
resultGetter: 'ticket',
|
|
7096
7266
|
pathParams: {
|
|
7097
7267
|
ticketID: '工单ID',
|
|
@@ -7104,6 +7274,7 @@ export const BUILTIN_MODULES = [
|
|
|
7104
7274
|
method: 'put',
|
|
7105
7275
|
path: '/tickets/{ticketID}',
|
|
7106
7276
|
resultType: 'object',
|
|
7277
|
+
resultObjectType: null,
|
|
7107
7278
|
pathParams: {
|
|
7108
7279
|
ticketID: '工单ID',
|
|
7109
7280
|
},
|
|
@@ -7133,7 +7304,7 @@ export const BUILTIN_MODULES = [
|
|
|
7133
7304
|
},
|
|
7134
7305
|
"desc": {
|
|
7135
7306
|
"type": "string",
|
|
7136
|
-
"description": "描述"
|
|
7307
|
+
"description": "描述 (HTML)"
|
|
7137
7308
|
},
|
|
7138
7309
|
"assignedTo": {
|
|
7139
7310
|
"type": "string",
|
|
@@ -7173,6 +7344,7 @@ export const BUILTIN_MODULES = [
|
|
|
7173
7344
|
method: 'delete',
|
|
7174
7345
|
path: '/tickets/{ticketID}',
|
|
7175
7346
|
resultType: 'text',
|
|
7347
|
+
resultObjectType: null,
|
|
7176
7348
|
pathParams: {
|
|
7177
7349
|
ticketID: '工单ID',
|
|
7178
7350
|
},
|
|
@@ -7184,6 +7356,7 @@ export const BUILTIN_MODULES = [
|
|
|
7184
7356
|
method: 'put',
|
|
7185
7357
|
path: '/tickets/{ticketID}/activate',
|
|
7186
7358
|
resultType: 'text',
|
|
7359
|
+
resultObjectType: null,
|
|
7187
7360
|
pathParams: {
|
|
7188
7361
|
ticketID: '工单ID',
|
|
7189
7362
|
},
|
|
@@ -7215,6 +7388,7 @@ export const BUILTIN_MODULES = [
|
|
|
7215
7388
|
method: 'put',
|
|
7216
7389
|
path: '/tickets/{ticketID}/close',
|
|
7217
7390
|
resultType: 'text',
|
|
7391
|
+
resultObjectType: null,
|
|
7218
7392
|
pathParams: {
|
|
7219
7393
|
ticketID: '工单ID',
|
|
7220
7394
|
},
|
|
@@ -7259,6 +7433,7 @@ export const BUILTIN_MODULES = [
|
|
|
7259
7433
|
method: 'get',
|
|
7260
7434
|
path: '/products/{productID}/systems',
|
|
7261
7435
|
resultType: 'list',
|
|
7436
|
+
resultObjectType: 'system',
|
|
7262
7437
|
pagerGetter: 'pager',
|
|
7263
7438
|
pathParams: {
|
|
7264
7439
|
productID: '所属产品ID',
|
|
@@ -7300,6 +7475,7 @@ export const BUILTIN_MODULES = [
|
|
|
7300
7475
|
method: 'post',
|
|
7301
7476
|
path: '/systems',
|
|
7302
7477
|
resultType: 'object',
|
|
7478
|
+
resultObjectType: null,
|
|
7303
7479
|
requestBody: {
|
|
7304
7480
|
required: true,
|
|
7305
7481
|
type: 'object',
|
|
@@ -7355,6 +7531,7 @@ export const BUILTIN_MODULES = [
|
|
|
7355
7531
|
method: 'put',
|
|
7356
7532
|
path: '/systems/{systemID}',
|
|
7357
7533
|
resultType: 'object',
|
|
7534
|
+
resultObjectType: null,
|
|
7358
7535
|
pathParams: {
|
|
7359
7536
|
systemID: '应用ID',
|
|
7360
7537
|
},
|
|
@@ -7408,6 +7585,7 @@ export const BUILTIN_MODULES = [
|
|
|
7408
7585
|
method: 'get',
|
|
7409
7586
|
path: '/{scope}/{scopeID}/builds',
|
|
7410
7587
|
resultType: 'list',
|
|
7588
|
+
resultObjectType: 'build',
|
|
7411
7589
|
pagerGetter: 'pager',
|
|
7412
7590
|
resultGetter: 'builds',
|
|
7413
7591
|
pathParams: {
|
|
@@ -7480,6 +7658,7 @@ export const BUILTIN_MODULES = [
|
|
|
7480
7658
|
method: 'post',
|
|
7481
7659
|
path: '/builds',
|
|
7482
7660
|
resultType: 'object',
|
|
7661
|
+
resultObjectType: 'build',
|
|
7483
7662
|
requestBody: {
|
|
7484
7663
|
required: true,
|
|
7485
7664
|
type: 'object',
|
|
@@ -7523,7 +7702,7 @@ export const BUILTIN_MODULES = [
|
|
|
7523
7702
|
},
|
|
7524
7703
|
"desc": {
|
|
7525
7704
|
"type": "string",
|
|
7526
|
-
"description": "描述"
|
|
7705
|
+
"description": "描述 (HTML)"
|
|
7527
7706
|
}
|
|
7528
7707
|
},
|
|
7529
7708
|
"required": [
|
|
@@ -7555,6 +7734,7 @@ export const BUILTIN_MODULES = [
|
|
|
7555
7734
|
method: 'put',
|
|
7556
7735
|
path: '/builds/{buildID}',
|
|
7557
7736
|
resultType: 'object',
|
|
7737
|
+
resultObjectType: null,
|
|
7558
7738
|
pathParams: {
|
|
7559
7739
|
buildID: '版本ID',
|
|
7560
7740
|
},
|
|
@@ -7601,7 +7781,7 @@ export const BUILTIN_MODULES = [
|
|
|
7601
7781
|
},
|
|
7602
7782
|
"desc": {
|
|
7603
7783
|
"type": "string",
|
|
7604
|
-
"description": "描述"
|
|
7784
|
+
"description": "描述 (HTML)"
|
|
7605
7785
|
}
|
|
7606
7786
|
},
|
|
7607
7787
|
"required": [
|
|
@@ -7633,6 +7813,7 @@ export const BUILTIN_MODULES = [
|
|
|
7633
7813
|
method: 'delete',
|
|
7634
7814
|
path: '/builds/{buildID}',
|
|
7635
7815
|
resultType: 'text',
|
|
7816
|
+
resultObjectType: null,
|
|
7636
7817
|
pathParams: {
|
|
7637
7818
|
buildID: '版本ID',
|
|
7638
7819
|
},
|
|
@@ -7653,6 +7834,7 @@ export const BUILTIN_MODULES = [
|
|
|
7653
7834
|
method: 'get',
|
|
7654
7835
|
path: '/{scope}/{scopeID}/testtasks',
|
|
7655
7836
|
resultType: 'list',
|
|
7837
|
+
resultObjectType: 'testtask',
|
|
7656
7838
|
pagerGetter: 'pager',
|
|
7657
7839
|
resultGetter: 'testtasks',
|
|
7658
7840
|
pathParams: {
|
|
@@ -7709,6 +7891,7 @@ export const BUILTIN_MODULES = [
|
|
|
7709
7891
|
method: 'post',
|
|
7710
7892
|
path: '/testtasks',
|
|
7711
7893
|
resultType: 'object',
|
|
7894
|
+
resultObjectType: 'testtask',
|
|
7712
7895
|
requestBody: {
|
|
7713
7896
|
required: true,
|
|
7714
7897
|
type: 'object',
|
|
@@ -7759,7 +7942,7 @@ export const BUILTIN_MODULES = [
|
|
|
7759
7942
|
},
|
|
7760
7943
|
"desc": {
|
|
7761
7944
|
"type": "string",
|
|
7762
|
-
"description": "描述"
|
|
7945
|
+
"description": "描述 (HTML)"
|
|
7763
7946
|
}
|
|
7764
7947
|
},
|
|
7765
7948
|
"required": [
|
|
@@ -7793,6 +7976,7 @@ export const BUILTIN_MODULES = [
|
|
|
7793
7976
|
method: 'put',
|
|
7794
7977
|
path: '/testtasks/{testtaskID}',
|
|
7795
7978
|
resultType: 'object',
|
|
7979
|
+
resultObjectType: null,
|
|
7796
7980
|
pathParams: {
|
|
7797
7981
|
testtaskID: '测试单ID',
|
|
7798
7982
|
},
|
|
@@ -7841,7 +8025,7 @@ export const BUILTIN_MODULES = [
|
|
|
7841
8025
|
},
|
|
7842
8026
|
"desc": {
|
|
7843
8027
|
"type": "string",
|
|
7844
|
-
"description": "描述"
|
|
8028
|
+
"description": "描述 (HTML)"
|
|
7845
8029
|
}
|
|
7846
8030
|
},
|
|
7847
8031
|
"required": [
|
|
@@ -7873,6 +8057,7 @@ export const BUILTIN_MODULES = [
|
|
|
7873
8057
|
method: 'delete',
|
|
7874
8058
|
path: '/testtasks/{testtaskID}',
|
|
7875
8059
|
resultType: 'text',
|
|
8060
|
+
resultObjectType: null,
|
|
7876
8061
|
pathParams: {
|
|
7877
8062
|
testtaskID: '测试单ID',
|
|
7878
8063
|
},
|
|
@@ -7893,6 +8078,7 @@ export const BUILTIN_MODULES = [
|
|
|
7893
8078
|
method: 'get',
|
|
7894
8079
|
path: '/products/{productID}/releases',
|
|
7895
8080
|
resultType: 'list',
|
|
8081
|
+
resultObjectType: 'release',
|
|
7896
8082
|
pagerGetter: 'pager',
|
|
7897
8083
|
resultGetter: 'releases',
|
|
7898
8084
|
pathParams: {
|
|
@@ -7968,6 +8154,7 @@ export const BUILTIN_MODULES = [
|
|
|
7968
8154
|
method: 'post',
|
|
7969
8155
|
path: '/releases',
|
|
7970
8156
|
resultType: 'object',
|
|
8157
|
+
resultObjectType: 'release',
|
|
7971
8158
|
requestBody: {
|
|
7972
8159
|
required: true,
|
|
7973
8160
|
type: 'object',
|
|
@@ -8005,7 +8192,7 @@ export const BUILTIN_MODULES = [
|
|
|
8005
8192
|
},
|
|
8006
8193
|
"desc": {
|
|
8007
8194
|
"type": "string",
|
|
8008
|
-
"description": "描述"
|
|
8195
|
+
"description": "描述 (HTML)"
|
|
8009
8196
|
}
|
|
8010
8197
|
},
|
|
8011
8198
|
"required": [
|
|
@@ -8036,6 +8223,7 @@ export const BUILTIN_MODULES = [
|
|
|
8036
8223
|
method: 'put',
|
|
8037
8224
|
path: '/releases/{releaseID}',
|
|
8038
8225
|
resultType: 'object',
|
|
8226
|
+
resultObjectType: null,
|
|
8039
8227
|
pathParams: {
|
|
8040
8228
|
releaseID: '发布ID',
|
|
8041
8229
|
},
|
|
@@ -8071,7 +8259,7 @@ export const BUILTIN_MODULES = [
|
|
|
8071
8259
|
},
|
|
8072
8260
|
"desc": {
|
|
8073
8261
|
"type": "string",
|
|
8074
|
-
"description": "描述"
|
|
8262
|
+
"description": "描述 (HTML)"
|
|
8075
8263
|
}
|
|
8076
8264
|
},
|
|
8077
8265
|
"required": [
|
|
@@ -8100,6 +8288,7 @@ export const BUILTIN_MODULES = [
|
|
|
8100
8288
|
method: 'delete',
|
|
8101
8289
|
path: '/releases/{releaseID}',
|
|
8102
8290
|
resultType: 'text',
|
|
8291
|
+
resultObjectType: null,
|
|
8103
8292
|
pathParams: {
|
|
8104
8293
|
releaseID: '发布ID',
|
|
8105
8294
|
},
|
|
@@ -8120,6 +8309,7 @@ export const BUILTIN_MODULES = [
|
|
|
8120
8309
|
method: 'post',
|
|
8121
8310
|
path: '/files',
|
|
8122
8311
|
resultType: 'object',
|
|
8312
|
+
resultObjectType: 'file',
|
|
8123
8313
|
requestBody: {
|
|
8124
8314
|
required: true,
|
|
8125
8315
|
type: 'object',
|
|
@@ -8152,6 +8342,14 @@ export const BUILTIN_MODULES = [
|
|
|
8152
8342
|
"objectID": 1
|
|
8153
8343
|
},
|
|
8154
8344
|
},
|
|
8345
|
+
params: [
|
|
8346
|
+
{
|
|
8347
|
+
"name": "uid",
|
|
8348
|
+
"type": "string",
|
|
8349
|
+
"required": false,
|
|
8350
|
+
"description": "本次对象保存的唯一上传批次,以同一 Token 和 uid 保存对象时绑定图片。需 23.0 / biz14.0 / max9.0 / ipd6.0 或更新版本并支持客户端 uid。"
|
|
8351
|
+
}
|
|
8352
|
+
],
|
|
8155
8353
|
}, {
|
|
8156
8354
|
name: 'update',
|
|
8157
8355
|
minVersion: ['22.5', 'biz13.5', 'max8.5', 'ipd5.5'],
|
|
@@ -8160,6 +8358,7 @@ export const BUILTIN_MODULES = [
|
|
|
8160
8358
|
method: 'put',
|
|
8161
8359
|
path: '/files/{fileID}',
|
|
8162
8360
|
resultType: 'object',
|
|
8361
|
+
resultObjectType: 'file',
|
|
8163
8362
|
pathParams: {
|
|
8164
8363
|
fileID: '附件ID',
|
|
8165
8364
|
},
|
|
@@ -8190,6 +8389,7 @@ export const BUILTIN_MODULES = [
|
|
|
8190
8389
|
method: 'delete',
|
|
8191
8390
|
path: '/files/{fileID}',
|
|
8192
8391
|
resultType: 'text',
|
|
8392
|
+
resultObjectType: null,
|
|
8193
8393
|
pathParams: {
|
|
8194
8394
|
fileID: '附件ID',
|
|
8195
8395
|
},
|
|
@@ -8210,6 +8410,7 @@ export const BUILTIN_MODULES = [
|
|
|
8210
8410
|
method: 'get',
|
|
8211
8411
|
path: '/workflow/contract',
|
|
8212
8412
|
resultType: 'list',
|
|
8413
|
+
resultObjectType: 'workflow_contract',
|
|
8213
8414
|
pagerGetter: 'pager',
|
|
8214
8415
|
resultGetter: 'dataList',
|
|
8215
8416
|
}, {
|
|
@@ -8220,6 +8421,7 @@ export const BUILTIN_MODULES = [
|
|
|
8220
8421
|
method: 'get',
|
|
8221
8422
|
path: '/workflow/contract/1',
|
|
8222
8423
|
resultType: 'object',
|
|
8424
|
+
resultObjectType: 'workflow_contract',
|
|
8223
8425
|
resultGetter: 'data',
|
|
8224
8426
|
}, {
|
|
8225
8427
|
name: 'flows',
|
|
@@ -8229,6 +8431,7 @@ export const BUILTIN_MODULES = [
|
|
|
8229
8431
|
method: 'get',
|
|
8230
8432
|
path: '/workflows',
|
|
8231
8433
|
resultType: 'list',
|
|
8434
|
+
resultObjectType: 'workflow',
|
|
8232
8435
|
pagerGetter: 'pager',
|
|
8233
8436
|
resultGetter: 'flows',
|
|
8234
8437
|
params: [
|
|
@@ -8307,6 +8510,7 @@ export const BUILTIN_MODULES = [
|
|
|
8307
8510
|
method: 'get',
|
|
8308
8511
|
path: '/workflows/{module}/fields',
|
|
8309
8512
|
resultType: 'list',
|
|
8513
|
+
resultObjectType: 'workflowfield',
|
|
8310
8514
|
resultGetter: 'fields',
|
|
8311
8515
|
pathParams: {
|
|
8312
8516
|
module: 'module',
|
|
@@ -8319,6 +8523,7 @@ export const BUILTIN_MODULES = [
|
|
|
8319
8523
|
method: 'get',
|
|
8320
8524
|
path: '/workflows/{module}/actions',
|
|
8321
8525
|
resultType: 'list',
|
|
8526
|
+
resultObjectType: 'workflowaction',
|
|
8322
8527
|
resultGetter: 'actions',
|
|
8323
8528
|
pathParams: {
|
|
8324
8529
|
module: 'module',
|
|
@@ -8331,6 +8536,7 @@ export const BUILTIN_MODULES = [
|
|
|
8331
8536
|
method: 'get',
|
|
8332
8537
|
path: '/workflows/{module}/labels',
|
|
8333
8538
|
resultType: 'list',
|
|
8539
|
+
resultObjectType: 'workflowlabel',
|
|
8334
8540
|
resultGetter: 'labels',
|
|
8335
8541
|
pathParams: {
|
|
8336
8542
|
module: 'module',
|
|
@@ -8343,6 +8549,7 @@ export const BUILTIN_MODULES = [
|
|
|
8343
8549
|
method: 'get',
|
|
8344
8550
|
path: '/workflows/{module}/tables',
|
|
8345
8551
|
resultType: 'list',
|
|
8552
|
+
resultObjectType: 'workflow',
|
|
8346
8553
|
resultGetter: 'tables',
|
|
8347
8554
|
pathParams: {
|
|
8348
8555
|
module: 'module',
|
|
@@ -8355,6 +8562,7 @@ export const BUILTIN_MODULES = [
|
|
|
8355
8562
|
method: 'get',
|
|
8356
8563
|
path: '/workflowdatasources',
|
|
8357
8564
|
resultType: 'list',
|
|
8565
|
+
resultObjectType: 'workflowdatasource',
|
|
8358
8566
|
pagerGetter: 'pager',
|
|
8359
8567
|
resultGetter: 'datasources',
|
|
8360
8568
|
}, {
|
|
@@ -8365,6 +8573,7 @@ export const BUILTIN_MODULES = [
|
|
|
8365
8573
|
method: 'get',
|
|
8366
8574
|
path: '/workflowrules',
|
|
8367
8575
|
resultType: 'list',
|
|
8576
|
+
resultObjectType: 'workflowrule',
|
|
8368
8577
|
pagerGetter: 'pager',
|
|
8369
8578
|
resultGetter: 'rules',
|
|
8370
8579
|
}, {
|
|
@@ -8375,6 +8584,7 @@ export const BUILTIN_MODULES = [
|
|
|
8375
8584
|
method: 'post',
|
|
8376
8585
|
path: '/workflow/contract',
|
|
8377
8586
|
resultType: 'object',
|
|
8587
|
+
resultObjectType: 'workflow_contract',
|
|
8378
8588
|
requestBody: {
|
|
8379
8589
|
required: true,
|
|
8380
8590
|
type: 'object',
|
|
@@ -8402,6 +8612,7 @@ export const BUILTIN_MODULES = [
|
|
|
8402
8612
|
method: 'post',
|
|
8403
8613
|
path: '/workflows',
|
|
8404
8614
|
resultType: 'object',
|
|
8615
|
+
resultObjectType: 'workflow',
|
|
8405
8616
|
requestBody: {
|
|
8406
8617
|
required: true,
|
|
8407
8618
|
type: 'object',
|
|
@@ -8440,6 +8651,7 @@ export const BUILTIN_MODULES = [
|
|
|
8440
8651
|
method: 'post',
|
|
8441
8652
|
path: '/workflows/{flowID}/copy',
|
|
8442
8653
|
resultType: 'object',
|
|
8654
|
+
resultObjectType: 'workflow',
|
|
8443
8655
|
pathParams: {
|
|
8444
8656
|
flowID: 'flowID',
|
|
8445
8657
|
},
|
|
@@ -8486,6 +8698,7 @@ export const BUILTIN_MODULES = [
|
|
|
8486
8698
|
method: 'post',
|
|
8487
8699
|
path: '/workflows/{module}/fields',
|
|
8488
8700
|
resultType: 'object',
|
|
8701
|
+
resultObjectType: 'workflowfield',
|
|
8489
8702
|
pathParams: {
|
|
8490
8703
|
module: 'module',
|
|
8491
8704
|
},
|
|
@@ -8538,6 +8751,7 @@ export const BUILTIN_MODULES = [
|
|
|
8538
8751
|
method: 'post',
|
|
8539
8752
|
path: '/workflows/{module}/actions',
|
|
8540
8753
|
resultType: 'object',
|
|
8754
|
+
resultObjectType: 'workflowaction',
|
|
8541
8755
|
pathParams: {
|
|
8542
8756
|
module: 'module',
|
|
8543
8757
|
},
|
|
@@ -8585,6 +8799,7 @@ export const BUILTIN_MODULES = [
|
|
|
8585
8799
|
method: 'post',
|
|
8586
8800
|
path: '/workflows/{module}/labels',
|
|
8587
8801
|
resultType: 'object',
|
|
8802
|
+
resultObjectType: 'workflowlabel',
|
|
8588
8803
|
pathParams: {
|
|
8589
8804
|
module: 'module',
|
|
8590
8805
|
},
|
|
@@ -8666,6 +8881,7 @@ export const BUILTIN_MODULES = [
|
|
|
8666
8881
|
method: 'post',
|
|
8667
8882
|
path: '/workflows/{module}/tables',
|
|
8668
8883
|
resultType: 'object',
|
|
8884
|
+
resultObjectType: 'workflow',
|
|
8669
8885
|
pathParams: {
|
|
8670
8886
|
module: 'module',
|
|
8671
8887
|
},
|
|
@@ -8702,6 +8918,7 @@ export const BUILTIN_MODULES = [
|
|
|
8702
8918
|
method: 'post',
|
|
8703
8919
|
path: '/workflowdatasources',
|
|
8704
8920
|
resultType: 'object',
|
|
8921
|
+
resultObjectType: 'workflowdatasource',
|
|
8705
8922
|
requestBody: {
|
|
8706
8923
|
required: true,
|
|
8707
8924
|
type: 'object',
|
|
@@ -8755,6 +8972,7 @@ export const BUILTIN_MODULES = [
|
|
|
8755
8972
|
method: 'post',
|
|
8756
8973
|
path: '/workflowrules',
|
|
8757
8974
|
resultType: 'object',
|
|
8975
|
+
resultObjectType: 'workflowrule',
|
|
8758
8976
|
requestBody: {
|
|
8759
8977
|
required: true,
|
|
8760
8978
|
type: 'object',
|
|
@@ -8794,6 +9012,7 @@ export const BUILTIN_MODULES = [
|
|
|
8794
9012
|
method: 'get',
|
|
8795
9013
|
path: '/workflows/{flowID}',
|
|
8796
9014
|
resultType: 'object',
|
|
9015
|
+
resultObjectType: 'workflow',
|
|
8797
9016
|
resultGetter: 'flow',
|
|
8798
9017
|
pathParams: {
|
|
8799
9018
|
flowID: 'flowID',
|
|
@@ -8806,6 +9025,7 @@ export const BUILTIN_MODULES = [
|
|
|
8806
9025
|
method: 'get',
|
|
8807
9026
|
path: '/workflowfields/{fieldID}',
|
|
8808
9027
|
resultType: 'object',
|
|
9028
|
+
resultObjectType: 'workflowfield',
|
|
8809
9029
|
resultGetter: 'field',
|
|
8810
9030
|
pathParams: {
|
|
8811
9031
|
fieldID: 'fieldID',
|
|
@@ -8818,6 +9038,7 @@ export const BUILTIN_MODULES = [
|
|
|
8818
9038
|
method: 'get',
|
|
8819
9039
|
path: '/workflowactions/{actionID}',
|
|
8820
9040
|
resultType: 'object',
|
|
9041
|
+
resultObjectType: 'workflowaction',
|
|
8821
9042
|
resultGetter: 'action',
|
|
8822
9043
|
pathParams: {
|
|
8823
9044
|
actionID: 'actionID',
|
|
@@ -8830,6 +9051,7 @@ export const BUILTIN_MODULES = [
|
|
|
8830
9051
|
method: 'get',
|
|
8831
9052
|
path: '/workflowlabels/{labelID}',
|
|
8832
9053
|
resultType: 'object',
|
|
9054
|
+
resultObjectType: 'workflowlabel',
|
|
8833
9055
|
resultGetter: 'label',
|
|
8834
9056
|
pathParams: {
|
|
8835
9057
|
labelID: 'labelID',
|
|
@@ -8842,6 +9064,7 @@ export const BUILTIN_MODULES = [
|
|
|
8842
9064
|
method: 'get',
|
|
8843
9065
|
path: '/workflowtables/{tableID}',
|
|
8844
9066
|
resultType: 'object',
|
|
9067
|
+
resultObjectType: 'workflow',
|
|
8845
9068
|
resultGetter: 'flow',
|
|
8846
9069
|
pathParams: {
|
|
8847
9070
|
tableID: 'tableID',
|
|
@@ -8854,6 +9077,7 @@ export const BUILTIN_MODULES = [
|
|
|
8854
9077
|
method: 'get',
|
|
8855
9078
|
path: '/workflowdatasources/{datasourceID}',
|
|
8856
9079
|
resultType: 'object',
|
|
9080
|
+
resultObjectType: 'workflowdatasource',
|
|
8857
9081
|
resultGetter: 'datasource',
|
|
8858
9082
|
pathParams: {
|
|
8859
9083
|
datasourceID: 'datasourceID',
|
|
@@ -8866,6 +9090,7 @@ export const BUILTIN_MODULES = [
|
|
|
8866
9090
|
method: 'get',
|
|
8867
9091
|
path: '/workflowrules/{ruleID}',
|
|
8868
9092
|
resultType: 'object',
|
|
9093
|
+
resultObjectType: 'workflowrule',
|
|
8869
9094
|
resultGetter: 'rule',
|
|
8870
9095
|
pathParams: {
|
|
8871
9096
|
ruleID: 'ruleID',
|
|
@@ -8878,6 +9103,7 @@ export const BUILTIN_MODULES = [
|
|
|
8878
9103
|
method: 'put',
|
|
8879
9104
|
path: '/workflow/contract/{contractID}',
|
|
8880
9105
|
resultType: 'object',
|
|
9106
|
+
resultObjectType: 'workflow_contract',
|
|
8881
9107
|
pathParams: {
|
|
8882
9108
|
contractID: '合同ID',
|
|
8883
9109
|
},
|
|
@@ -8908,6 +9134,7 @@ export const BUILTIN_MODULES = [
|
|
|
8908
9134
|
method: 'put',
|
|
8909
9135
|
path: '/workflows/{flowID}',
|
|
8910
9136
|
resultType: 'object',
|
|
9137
|
+
resultObjectType: 'workflow',
|
|
8911
9138
|
pathParams: {
|
|
8912
9139
|
flowID: 'flowID',
|
|
8913
9140
|
},
|
|
@@ -8952,6 +9179,7 @@ export const BUILTIN_MODULES = [
|
|
|
8952
9179
|
method: 'put',
|
|
8953
9180
|
path: '/workflowfields/{fieldID}',
|
|
8954
9181
|
resultType: 'object',
|
|
9182
|
+
resultObjectType: 'workflowfield',
|
|
8955
9183
|
pathParams: {
|
|
8956
9184
|
fieldID: 'fieldID',
|
|
8957
9185
|
},
|
|
@@ -8988,6 +9216,7 @@ export const BUILTIN_MODULES = [
|
|
|
8988
9216
|
method: 'put',
|
|
8989
9217
|
path: '/workflowactions/{actionID}',
|
|
8990
9218
|
resultType: 'object',
|
|
9219
|
+
resultObjectType: 'workflowaction',
|
|
8991
9220
|
pathParams: {
|
|
8992
9221
|
actionID: 'actionID',
|
|
8993
9222
|
},
|
|
@@ -9024,6 +9253,7 @@ export const BUILTIN_MODULES = [
|
|
|
9024
9253
|
method: 'put',
|
|
9025
9254
|
path: '/workflowlabels/{labelID}',
|
|
9026
9255
|
resultType: 'object',
|
|
9256
|
+
resultObjectType: 'workflowlabel',
|
|
9027
9257
|
pathParams: {
|
|
9028
9258
|
labelID: 'labelID',
|
|
9029
9259
|
},
|
|
@@ -9086,6 +9316,7 @@ export const BUILTIN_MODULES = [
|
|
|
9086
9316
|
method: 'put',
|
|
9087
9317
|
path: '/workflowtables/{tableID}',
|
|
9088
9318
|
resultType: 'object',
|
|
9319
|
+
resultObjectType: 'workflow',
|
|
9089
9320
|
pathParams: {
|
|
9090
9321
|
tableID: 'tableID',
|
|
9091
9322
|
},
|
|
@@ -9116,6 +9347,7 @@ export const BUILTIN_MODULES = [
|
|
|
9116
9347
|
method: 'put',
|
|
9117
9348
|
path: '/workflowdatasources/{datasourceID}',
|
|
9118
9349
|
resultType: 'object',
|
|
9350
|
+
resultObjectType: 'workflowdatasource',
|
|
9119
9351
|
pathParams: {
|
|
9120
9352
|
datasourceID: 'datasourceID',
|
|
9121
9353
|
},
|
|
@@ -9172,6 +9404,7 @@ export const BUILTIN_MODULES = [
|
|
|
9172
9404
|
method: 'put',
|
|
9173
9405
|
path: '/workflowrules/{ruleID}',
|
|
9174
9406
|
resultType: 'object',
|
|
9407
|
+
resultObjectType: 'workflowrule',
|
|
9175
9408
|
pathParams: {
|
|
9176
9409
|
ruleID: 'ruleID',
|
|
9177
9410
|
},
|
|
@@ -9214,6 +9447,7 @@ export const BUILTIN_MODULES = [
|
|
|
9214
9447
|
method: 'delete',
|
|
9215
9448
|
path: '/workflow/contract/{contractID}',
|
|
9216
9449
|
resultType: 'text',
|
|
9450
|
+
resultObjectType: null,
|
|
9217
9451
|
pathParams: {
|
|
9218
9452
|
contractID: '合同ID',
|
|
9219
9453
|
},
|
|
@@ -9225,6 +9459,7 @@ export const BUILTIN_MODULES = [
|
|
|
9225
9459
|
method: 'delete',
|
|
9226
9460
|
path: '/workflows/{flowID}',
|
|
9227
9461
|
resultType: 'text',
|
|
9462
|
+
resultObjectType: 'workflow',
|
|
9228
9463
|
pathParams: {
|
|
9229
9464
|
flowID: 'flowID',
|
|
9230
9465
|
},
|
|
@@ -9236,6 +9471,7 @@ export const BUILTIN_MODULES = [
|
|
|
9236
9471
|
method: 'delete',
|
|
9237
9472
|
path: '/workflowfields/{fieldID}',
|
|
9238
9473
|
resultType: 'text',
|
|
9474
|
+
resultObjectType: 'workflowfield',
|
|
9239
9475
|
pathParams: {
|
|
9240
9476
|
fieldID: 'fieldID',
|
|
9241
9477
|
},
|
|
@@ -9247,6 +9483,7 @@ export const BUILTIN_MODULES = [
|
|
|
9247
9483
|
method: 'delete',
|
|
9248
9484
|
path: '/workflowactions/{actionID}',
|
|
9249
9485
|
resultType: 'text',
|
|
9486
|
+
resultObjectType: 'workflowaction',
|
|
9250
9487
|
pathParams: {
|
|
9251
9488
|
actionID: 'actionID',
|
|
9252
9489
|
},
|
|
@@ -9258,6 +9495,7 @@ export const BUILTIN_MODULES = [
|
|
|
9258
9495
|
method: 'delete',
|
|
9259
9496
|
path: '/workflowlabels/{labelID}',
|
|
9260
9497
|
resultType: 'text',
|
|
9498
|
+
resultObjectType: 'workflowlabel',
|
|
9261
9499
|
pathParams: {
|
|
9262
9500
|
labelID: 'labelID',
|
|
9263
9501
|
},
|
|
@@ -9269,6 +9507,7 @@ export const BUILTIN_MODULES = [
|
|
|
9269
9507
|
method: 'delete',
|
|
9270
9508
|
path: '/workflowtables/{tableID}',
|
|
9271
9509
|
resultType: 'text',
|
|
9510
|
+
resultObjectType: 'workflow',
|
|
9272
9511
|
pathParams: {
|
|
9273
9512
|
tableID: 'tableID',
|
|
9274
9513
|
},
|
|
@@ -9280,6 +9519,7 @@ export const BUILTIN_MODULES = [
|
|
|
9280
9519
|
method: 'delete',
|
|
9281
9520
|
path: '/workflowdatasources/{datasourceID}',
|
|
9282
9521
|
resultType: 'text',
|
|
9522
|
+
resultObjectType: 'workflowdatasource',
|
|
9283
9523
|
pathParams: {
|
|
9284
9524
|
datasourceID: 'datasourceID',
|
|
9285
9525
|
},
|
|
@@ -9291,6 +9531,7 @@ export const BUILTIN_MODULES = [
|
|
|
9291
9531
|
method: 'delete',
|
|
9292
9532
|
path: '/workflowrules/{ruleID}',
|
|
9293
9533
|
resultType: 'text',
|
|
9534
|
+
resultObjectType: 'workflowrule',
|
|
9294
9535
|
pathParams: {
|
|
9295
9536
|
ruleID: 'ruleID',
|
|
9296
9537
|
},
|
|
@@ -9302,6 +9543,7 @@ export const BUILTIN_MODULES = [
|
|
|
9302
9543
|
method: 'put',
|
|
9303
9544
|
path: '/workflows/{flowID}/activate',
|
|
9304
9545
|
resultType: 'text',
|
|
9546
|
+
resultObjectType: 'workflow',
|
|
9305
9547
|
pathParams: {
|
|
9306
9548
|
flowID: 'flowID',
|
|
9307
9549
|
},
|
|
@@ -9313,6 +9555,7 @@ export const BUILTIN_MODULES = [
|
|
|
9313
9555
|
method: 'put',
|
|
9314
9556
|
path: '/workflows/{flowID}/deactivate',
|
|
9315
9557
|
resultType: 'text',
|
|
9558
|
+
resultObjectType: 'workflow',
|
|
9316
9559
|
pathParams: {
|
|
9317
9560
|
flowID: 'flowID',
|
|
9318
9561
|
},
|
|
@@ -9324,6 +9567,7 @@ export const BUILTIN_MODULES = [
|
|
|
9324
9567
|
method: 'put',
|
|
9325
9568
|
path: '/workflows/{flowID}/release',
|
|
9326
9569
|
resultType: 'text',
|
|
9570
|
+
resultObjectType: 'workflow',
|
|
9327
9571
|
pathParams: {
|
|
9328
9572
|
flowID: 'flowID',
|
|
9329
9573
|
},
|
|
@@ -9364,6 +9608,7 @@ export const BUILTIN_MODULES = [
|
|
|
9364
9608
|
method: 'put',
|
|
9365
9609
|
path: '/workflows/{module}/setApproval',
|
|
9366
9610
|
resultType: 'text',
|
|
9611
|
+
resultObjectType: null,
|
|
9367
9612
|
pathParams: {
|
|
9368
9613
|
module: 'module',
|
|
9369
9614
|
},
|
|
@@ -9394,6 +9639,7 @@ export const BUILTIN_MODULES = [
|
|
|
9394
9639
|
method: 'put',
|
|
9395
9640
|
path: '/workflowactions/{actionID}/setCSS',
|
|
9396
9641
|
resultType: 'text',
|
|
9642
|
+
resultObjectType: 'workflowaction',
|
|
9397
9643
|
pathParams: {
|
|
9398
9644
|
actionID: 'actionID',
|
|
9399
9645
|
},
|
|
@@ -9421,6 +9667,7 @@ export const BUILTIN_MODULES = [
|
|
|
9421
9667
|
method: 'put',
|
|
9422
9668
|
path: '/workflows/{flowID}/setCSS',
|
|
9423
9669
|
resultType: 'text',
|
|
9670
|
+
resultObjectType: 'workflow',
|
|
9424
9671
|
pathParams: {
|
|
9425
9672
|
flowID: 'flowID',
|
|
9426
9673
|
},
|
|
@@ -9448,6 +9695,7 @@ export const BUILTIN_MODULES = [
|
|
|
9448
9695
|
method: 'put',
|
|
9449
9696
|
path: '/workflows/{module}/setExport',
|
|
9450
9697
|
resultType: 'text',
|
|
9698
|
+
resultObjectType: null,
|
|
9451
9699
|
pathParams: {
|
|
9452
9700
|
module: 'module',
|
|
9453
9701
|
},
|
|
@@ -9493,6 +9741,7 @@ export const BUILTIN_MODULES = [
|
|
|
9493
9741
|
method: 'put',
|
|
9494
9742
|
path: '/workflows/{flowID}/setFulltextSearch',
|
|
9495
9743
|
resultType: 'text',
|
|
9744
|
+
resultObjectType: 'workflow',
|
|
9496
9745
|
pathParams: {
|
|
9497
9746
|
flowID: 'flowID',
|
|
9498
9747
|
},
|
|
@@ -9525,6 +9774,7 @@ export const BUILTIN_MODULES = [
|
|
|
9525
9774
|
method: 'put',
|
|
9526
9775
|
path: '/workflowactions/{actionID}/setJS',
|
|
9527
9776
|
resultType: 'text',
|
|
9777
|
+
resultObjectType: 'workflowaction',
|
|
9528
9778
|
pathParams: {
|
|
9529
9779
|
actionID: 'actionID',
|
|
9530
9780
|
},
|
|
@@ -9552,6 +9802,7 @@ export const BUILTIN_MODULES = [
|
|
|
9552
9802
|
method: 'put',
|
|
9553
9803
|
path: '/workflows/{flowID}/setJS',
|
|
9554
9804
|
resultType: 'text',
|
|
9805
|
+
resultObjectType: 'workflow',
|
|
9555
9806
|
pathParams: {
|
|
9556
9807
|
flowID: 'flowID',
|
|
9557
9808
|
},
|
|
@@ -9579,6 +9830,7 @@ export const BUILTIN_MODULES = [
|
|
|
9579
9830
|
method: 'put',
|
|
9580
9831
|
path: '/workflowactions/{actionID}/setNotice',
|
|
9581
9832
|
resultType: 'text',
|
|
9833
|
+
resultObjectType: 'workflowaction',
|
|
9582
9834
|
pathParams: {
|
|
9583
9835
|
actionID: 'actionID',
|
|
9584
9836
|
},
|
|
@@ -9614,6 +9866,7 @@ export const BUILTIN_MODULES = [
|
|
|
9614
9866
|
method: 'put',
|
|
9615
9867
|
path: '/workflows/{module}/setSearch',
|
|
9616
9868
|
resultType: 'text',
|
|
9869
|
+
resultObjectType: null,
|
|
9617
9870
|
pathParams: {
|
|
9618
9871
|
module: 'module',
|
|
9619
9872
|
},
|
|
@@ -9659,6 +9912,7 @@ export const BUILTIN_MODULES = [
|
|
|
9659
9912
|
method: 'put',
|
|
9660
9913
|
path: '/workflows/{module}/setValue',
|
|
9661
9914
|
resultType: 'text',
|
|
9915
|
+
resultObjectType: null,
|
|
9662
9916
|
pathParams: {
|
|
9663
9917
|
module: 'module',
|
|
9664
9918
|
},
|
|
@@ -9704,6 +9958,7 @@ export const BUILTIN_MODULES = [
|
|
|
9704
9958
|
method: 'put',
|
|
9705
9959
|
path: '/workflowactions/{actionID}/setVerification',
|
|
9706
9960
|
resultType: 'text',
|
|
9961
|
+
resultObjectType: 'workflowaction',
|
|
9707
9962
|
pathParams: {
|
|
9708
9963
|
actionID: 'actionID',
|
|
9709
9964
|
},
|
|
@@ -9764,6 +10019,7 @@ export const BUILTIN_MODULES = [
|
|
|
9764
10019
|
method: 'get',
|
|
9765
10020
|
path: '/doc/my/spaces',
|
|
9766
10021
|
resultType: 'list',
|
|
10022
|
+
resultObjectType: 'docspace',
|
|
9767
10023
|
resultGetter: 'spaces',
|
|
9768
10024
|
}, {
|
|
9769
10025
|
name: 'teamSpaces',
|
|
@@ -9773,6 +10029,7 @@ export const BUILTIN_MODULES = [
|
|
|
9773
10029
|
method: 'get',
|
|
9774
10030
|
path: '/doc/team/spaces',
|
|
9775
10031
|
resultType: 'list',
|
|
10032
|
+
resultObjectType: 'docspace',
|
|
9776
10033
|
resultGetter: 'spaces',
|
|
9777
10034
|
}, {
|
|
9778
10035
|
name: 'productSpaces',
|
|
@@ -9782,6 +10039,7 @@ export const BUILTIN_MODULES = [
|
|
|
9782
10039
|
method: 'get',
|
|
9783
10040
|
path: '/doc/product/spaces',
|
|
9784
10041
|
resultType: 'list',
|
|
10042
|
+
resultObjectType: 'docspace',
|
|
9785
10043
|
resultGetter: 'spaces',
|
|
9786
10044
|
}, {
|
|
9787
10045
|
name: 'projectSpaces',
|
|
@@ -9791,6 +10049,7 @@ export const BUILTIN_MODULES = [
|
|
|
9791
10049
|
method: 'get',
|
|
9792
10050
|
path: '/doc/project/spaces',
|
|
9793
10051
|
resultType: 'list',
|
|
10052
|
+
resultObjectType: 'docspace',
|
|
9794
10053
|
resultGetter: 'spaces',
|
|
9795
10054
|
}, {
|
|
9796
10055
|
name: 'myLibs',
|
|
@@ -9800,6 +10059,7 @@ export const BUILTIN_MODULES = [
|
|
|
9800
10059
|
method: 'get',
|
|
9801
10060
|
path: '/doc/my/spaces/{spaceID}/libs',
|
|
9802
10061
|
resultType: 'list',
|
|
10062
|
+
resultObjectType: 'doclib',
|
|
9803
10063
|
resultGetter: 'libs',
|
|
9804
10064
|
pathParams: {
|
|
9805
10065
|
spaceID: '空间ID',
|
|
@@ -9812,6 +10072,7 @@ export const BUILTIN_MODULES = [
|
|
|
9812
10072
|
method: 'get',
|
|
9813
10073
|
path: '/doc/team/spaces/{spaceID}/libs',
|
|
9814
10074
|
resultType: 'list',
|
|
10075
|
+
resultObjectType: 'doclib',
|
|
9815
10076
|
resultGetter: 'libs',
|
|
9816
10077
|
pathParams: {
|
|
9817
10078
|
spaceID: '空间ID',
|
|
@@ -9824,6 +10085,7 @@ export const BUILTIN_MODULES = [
|
|
|
9824
10085
|
method: 'get',
|
|
9825
10086
|
path: '/doc/product/spaces/{productID}/libs',
|
|
9826
10087
|
resultType: 'list',
|
|
10088
|
+
resultObjectType: 'doclib',
|
|
9827
10089
|
resultGetter: 'libs',
|
|
9828
10090
|
pathParams: {
|
|
9829
10091
|
productID: '产品ID',
|
|
@@ -9836,6 +10098,7 @@ export const BUILTIN_MODULES = [
|
|
|
9836
10098
|
method: 'get',
|
|
9837
10099
|
path: '/doc/project/spaces/{projectID}/libs',
|
|
9838
10100
|
resultType: 'list',
|
|
10101
|
+
resultObjectType: 'doclib',
|
|
9839
10102
|
resultGetter: 'libs',
|
|
9840
10103
|
pathParams: {
|
|
9841
10104
|
projectID: '项目ID',
|
|
@@ -9848,6 +10111,7 @@ export const BUILTIN_MODULES = [
|
|
|
9848
10111
|
method: 'get',
|
|
9849
10112
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/docs',
|
|
9850
10113
|
resultType: 'list',
|
|
10114
|
+
resultObjectType: 'doc',
|
|
9851
10115
|
pathParams: {
|
|
9852
10116
|
spaceID: '空间ID',
|
|
9853
10117
|
libID: '文档库ID',
|
|
@@ -9861,6 +10125,7 @@ export const BUILTIN_MODULES = [
|
|
|
9861
10125
|
method: 'get',
|
|
9862
10126
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/docs',
|
|
9863
10127
|
resultType: 'list',
|
|
10128
|
+
resultObjectType: 'doc',
|
|
9864
10129
|
resultGetter: 'docs',
|
|
9865
10130
|
pathParams: {
|
|
9866
10131
|
spaceID: '空间ID',
|
|
@@ -9874,6 +10139,7 @@ export const BUILTIN_MODULES = [
|
|
|
9874
10139
|
method: 'get',
|
|
9875
10140
|
path: '/doc/product/spaces/{productID}/libs/{libID}/docs',
|
|
9876
10141
|
resultType: 'list',
|
|
10142
|
+
resultObjectType: 'doc',
|
|
9877
10143
|
pathParams: {
|
|
9878
10144
|
productID: '产品ID',
|
|
9879
10145
|
libID: '文档库ID',
|
|
@@ -9887,6 +10153,7 @@ export const BUILTIN_MODULES = [
|
|
|
9887
10153
|
method: 'get',
|
|
9888
10154
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/docs',
|
|
9889
10155
|
resultType: 'list',
|
|
10156
|
+
resultObjectType: 'doc',
|
|
9890
10157
|
pathParams: {
|
|
9891
10158
|
projectID: '项目ID',
|
|
9892
10159
|
libID: '文档库ID',
|
|
@@ -9900,6 +10167,7 @@ export const BUILTIN_MODULES = [
|
|
|
9900
10167
|
method: 'get',
|
|
9901
10168
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/modules',
|
|
9902
10169
|
resultType: 'list',
|
|
10170
|
+
resultObjectType: 'module',
|
|
9903
10171
|
resultGetter: 'modules',
|
|
9904
10172
|
pathParams: {
|
|
9905
10173
|
spaceID: '空间ID',
|
|
@@ -9913,6 +10181,7 @@ export const BUILTIN_MODULES = [
|
|
|
9913
10181
|
method: 'get',
|
|
9914
10182
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/modules',
|
|
9915
10183
|
resultType: 'list',
|
|
10184
|
+
resultObjectType: 'module',
|
|
9916
10185
|
resultGetter: 'modules',
|
|
9917
10186
|
pathParams: {
|
|
9918
10187
|
spaceID: '空间ID',
|
|
@@ -9926,6 +10195,7 @@ export const BUILTIN_MODULES = [
|
|
|
9926
10195
|
method: 'get',
|
|
9927
10196
|
path: '/doc/product/spaces/{productID}/libs/{libID}/modules',
|
|
9928
10197
|
resultType: 'list',
|
|
10198
|
+
resultObjectType: 'module',
|
|
9929
10199
|
resultGetter: 'modules',
|
|
9930
10200
|
pathParams: {
|
|
9931
10201
|
productID: '产品ID',
|
|
@@ -9939,6 +10209,7 @@ export const BUILTIN_MODULES = [
|
|
|
9939
10209
|
method: 'get',
|
|
9940
10210
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/modules',
|
|
9941
10211
|
resultType: 'list',
|
|
10212
|
+
resultObjectType: 'module',
|
|
9942
10213
|
resultGetter: 'modules',
|
|
9943
10214
|
pathParams: {
|
|
9944
10215
|
projectID: '项目ID',
|
|
@@ -9952,6 +10223,7 @@ export const BUILTIN_MODULES = [
|
|
|
9952
10223
|
method: 'post',
|
|
9953
10224
|
path: '/doc/my/spaces',
|
|
9954
10225
|
resultType: 'object',
|
|
10226
|
+
resultObjectType: 'docspace',
|
|
9955
10227
|
requestBody: {
|
|
9956
10228
|
required: true,
|
|
9957
10229
|
type: 'object',
|
|
@@ -9979,6 +10251,7 @@ export const BUILTIN_MODULES = [
|
|
|
9979
10251
|
method: 'post',
|
|
9980
10252
|
path: '/doc/team/spaces',
|
|
9981
10253
|
resultType: 'object',
|
|
10254
|
+
resultObjectType: 'docspace',
|
|
9982
10255
|
requestBody: {
|
|
9983
10256
|
required: true,
|
|
9984
10257
|
type: 'object',
|
|
@@ -10006,6 +10279,7 @@ export const BUILTIN_MODULES = [
|
|
|
10006
10279
|
method: 'post',
|
|
10007
10280
|
path: '/doc/my/spaces/{spaceID}/libs',
|
|
10008
10281
|
resultType: 'object',
|
|
10282
|
+
resultObjectType: 'doclib',
|
|
10009
10283
|
pathParams: {
|
|
10010
10284
|
spaceID: '空间ID',
|
|
10011
10285
|
},
|
|
@@ -10036,6 +10310,7 @@ export const BUILTIN_MODULES = [
|
|
|
10036
10310
|
method: 'post',
|
|
10037
10311
|
path: '/doc/team/spaces/{spaceID}/libs',
|
|
10038
10312
|
resultType: 'object',
|
|
10313
|
+
resultObjectType: 'doclib',
|
|
10039
10314
|
pathParams: {
|
|
10040
10315
|
spaceID: '空间ID',
|
|
10041
10316
|
},
|
|
@@ -10091,6 +10366,7 @@ export const BUILTIN_MODULES = [
|
|
|
10091
10366
|
method: 'post',
|
|
10092
10367
|
path: '/doc/product/spaces/{productID}/libs',
|
|
10093
10368
|
resultType: 'object',
|
|
10369
|
+
resultObjectType: 'doclib',
|
|
10094
10370
|
pathParams: {
|
|
10095
10371
|
productID: '产品ID',
|
|
10096
10372
|
},
|
|
@@ -10146,6 +10422,7 @@ export const BUILTIN_MODULES = [
|
|
|
10146
10422
|
method: 'post',
|
|
10147
10423
|
path: '/doc/project/spaces/{projectID}/libs',
|
|
10148
10424
|
resultType: 'object',
|
|
10425
|
+
resultObjectType: 'doclib',
|
|
10149
10426
|
pathParams: {
|
|
10150
10427
|
projectID: '项目ID',
|
|
10151
10428
|
},
|
|
@@ -10201,6 +10478,7 @@ export const BUILTIN_MODULES = [
|
|
|
10201
10478
|
method: 'post',
|
|
10202
10479
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/docs',
|
|
10203
10480
|
resultType: 'object',
|
|
10481
|
+
resultObjectType: 'doc',
|
|
10204
10482
|
pathParams: {
|
|
10205
10483
|
spaceID: '空间ID',
|
|
10206
10484
|
libID: '文档库ID',
|
|
@@ -10222,7 +10500,7 @@ export const BUILTIN_MODULES = [
|
|
|
10222
10500
|
},
|
|
10223
10501
|
"content": {
|
|
10224
10502
|
"type": "string",
|
|
10225
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10503
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10226
10504
|
},
|
|
10227
10505
|
"contentType": {
|
|
10228
10506
|
"type": "string",
|
|
@@ -10249,6 +10527,7 @@ export const BUILTIN_MODULES = [
|
|
|
10249
10527
|
method: 'post',
|
|
10250
10528
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/docs',
|
|
10251
10529
|
resultType: 'object',
|
|
10530
|
+
resultObjectType: 'doc',
|
|
10252
10531
|
pathParams: {
|
|
10253
10532
|
spaceID: '空间ID',
|
|
10254
10533
|
libID: '文档库ID',
|
|
@@ -10270,7 +10549,7 @@ export const BUILTIN_MODULES = [
|
|
|
10270
10549
|
},
|
|
10271
10550
|
"content": {
|
|
10272
10551
|
"type": "string",
|
|
10273
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10552
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10274
10553
|
},
|
|
10275
10554
|
"contentType": {
|
|
10276
10555
|
"type": "string",
|
|
@@ -10297,6 +10576,7 @@ export const BUILTIN_MODULES = [
|
|
|
10297
10576
|
method: 'post',
|
|
10298
10577
|
path: '/doc/product/spaces/{productID}/libs/{libID}/docs',
|
|
10299
10578
|
resultType: 'object',
|
|
10579
|
+
resultObjectType: 'doc',
|
|
10300
10580
|
pathParams: {
|
|
10301
10581
|
productID: '产品ID',
|
|
10302
10582
|
libID: '文档库ID',
|
|
@@ -10318,7 +10598,7 @@ export const BUILTIN_MODULES = [
|
|
|
10318
10598
|
},
|
|
10319
10599
|
"content": {
|
|
10320
10600
|
"type": "string",
|
|
10321
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10601
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10322
10602
|
},
|
|
10323
10603
|
"contentType": {
|
|
10324
10604
|
"type": "string",
|
|
@@ -10345,6 +10625,7 @@ export const BUILTIN_MODULES = [
|
|
|
10345
10625
|
method: 'post',
|
|
10346
10626
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/docs',
|
|
10347
10627
|
resultType: 'object',
|
|
10628
|
+
resultObjectType: 'doc',
|
|
10348
10629
|
pathParams: {
|
|
10349
10630
|
projectID: '项目ID',
|
|
10350
10631
|
libID: '文档库ID',
|
|
@@ -10366,7 +10647,7 @@ export const BUILTIN_MODULES = [
|
|
|
10366
10647
|
},
|
|
10367
10648
|
"content": {
|
|
10368
10649
|
"type": "string",
|
|
10369
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10650
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10370
10651
|
},
|
|
10371
10652
|
"contentType": {
|
|
10372
10653
|
"type": "string",
|
|
@@ -10393,6 +10674,7 @@ export const BUILTIN_MODULES = [
|
|
|
10393
10674
|
method: 'post',
|
|
10394
10675
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/modules',
|
|
10395
10676
|
resultType: 'object',
|
|
10677
|
+
resultObjectType: 'module',
|
|
10396
10678
|
pathParams: {
|
|
10397
10679
|
spaceID: '空间ID',
|
|
10398
10680
|
libID: '文档库ID',
|
|
@@ -10430,6 +10712,7 @@ export const BUILTIN_MODULES = [
|
|
|
10430
10712
|
method: 'post',
|
|
10431
10713
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/modules',
|
|
10432
10714
|
resultType: 'object',
|
|
10715
|
+
resultObjectType: 'module',
|
|
10433
10716
|
pathParams: {
|
|
10434
10717
|
spaceID: '空间ID',
|
|
10435
10718
|
libID: '文档库ID',
|
|
@@ -10467,6 +10750,7 @@ export const BUILTIN_MODULES = [
|
|
|
10467
10750
|
method: 'post',
|
|
10468
10751
|
path: '/doc/product/spaces/{productID}/libs/{libID}/modules',
|
|
10469
10752
|
resultType: 'object',
|
|
10753
|
+
resultObjectType: 'module',
|
|
10470
10754
|
pathParams: {
|
|
10471
10755
|
productID: '产品ID',
|
|
10472
10756
|
libID: '文档库ID',
|
|
@@ -10504,6 +10788,7 @@ export const BUILTIN_MODULES = [
|
|
|
10504
10788
|
method: 'post',
|
|
10505
10789
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/modules',
|
|
10506
10790
|
resultType: 'object',
|
|
10791
|
+
resultObjectType: 'module',
|
|
10507
10792
|
pathParams: {
|
|
10508
10793
|
projectID: '项目ID',
|
|
10509
10794
|
libID: '文档库ID',
|
|
@@ -10541,6 +10826,7 @@ export const BUILTIN_MODULES = [
|
|
|
10541
10826
|
method: 'get',
|
|
10542
10827
|
path: '/doc/spaces/{spaceID}',
|
|
10543
10828
|
resultType: 'object',
|
|
10829
|
+
resultObjectType: 'docspace',
|
|
10544
10830
|
resultGetter: 'space',
|
|
10545
10831
|
pathParams: {
|
|
10546
10832
|
spaceID: '空间ID',
|
|
@@ -10553,6 +10839,7 @@ export const BUILTIN_MODULES = [
|
|
|
10553
10839
|
method: 'get',
|
|
10554
10840
|
path: '/doc/libs/{libID}',
|
|
10555
10841
|
resultType: 'object',
|
|
10842
|
+
resultObjectType: 'doclib',
|
|
10556
10843
|
resultGetter: 'lib',
|
|
10557
10844
|
pathParams: {
|
|
10558
10845
|
libID: '文档库ID',
|
|
@@ -10565,6 +10852,7 @@ export const BUILTIN_MODULES = [
|
|
|
10565
10852
|
method: 'get',
|
|
10566
10853
|
path: '/doc/docs/{docID}',
|
|
10567
10854
|
resultType: 'object',
|
|
10855
|
+
resultObjectType: 'doc',
|
|
10568
10856
|
resultGetter: 'doc',
|
|
10569
10857
|
pathParams: {
|
|
10570
10858
|
docID: '文档ID',
|
|
@@ -10577,6 +10865,7 @@ export const BUILTIN_MODULES = [
|
|
|
10577
10865
|
method: 'put',
|
|
10578
10866
|
path: '/doc/spaces/{spaceID}',
|
|
10579
10867
|
resultType: 'object',
|
|
10868
|
+
resultObjectType: null,
|
|
10580
10869
|
pathParams: {
|
|
10581
10870
|
spaceID: '空间ID',
|
|
10582
10871
|
},
|
|
@@ -10607,6 +10896,7 @@ export const BUILTIN_MODULES = [
|
|
|
10607
10896
|
method: 'put',
|
|
10608
10897
|
path: '/doc/libs/{libID}',
|
|
10609
10898
|
resultType: 'object',
|
|
10899
|
+
resultObjectType: null,
|
|
10610
10900
|
pathParams: {
|
|
10611
10901
|
libID: '文档库ID',
|
|
10612
10902
|
},
|
|
@@ -10662,6 +10952,7 @@ export const BUILTIN_MODULES = [
|
|
|
10662
10952
|
method: 'put',
|
|
10663
10953
|
path: '/doc/docs/{docID}',
|
|
10664
10954
|
resultType: 'object',
|
|
10955
|
+
resultObjectType: 'doc',
|
|
10665
10956
|
pathParams: {
|
|
10666
10957
|
docID: '文档ID',
|
|
10667
10958
|
},
|
|
@@ -10682,7 +10973,7 @@ export const BUILTIN_MODULES = [
|
|
|
10682
10973
|
},
|
|
10683
10974
|
"content": {
|
|
10684
10975
|
"type": "string",
|
|
10685
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10976
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10686
10977
|
},
|
|
10687
10978
|
"contentType": {
|
|
10688
10979
|
"type": "string",
|
|
@@ -10709,6 +11000,7 @@ export const BUILTIN_MODULES = [
|
|
|
10709
11000
|
method: 'put',
|
|
10710
11001
|
path: '/doc/modules/{moduleID}',
|
|
10711
11002
|
resultType: 'object',
|
|
11003
|
+
resultObjectType: null,
|
|
10712
11004
|
pathParams: {
|
|
10713
11005
|
moduleID: '模块ID',
|
|
10714
11006
|
},
|
|
@@ -10739,6 +11031,7 @@ export const BUILTIN_MODULES = [
|
|
|
10739
11031
|
method: 'delete',
|
|
10740
11032
|
path: '/doc/spaces/{spaceID}',
|
|
10741
11033
|
resultType: 'text',
|
|
11034
|
+
resultObjectType: null,
|
|
10742
11035
|
pathParams: {
|
|
10743
11036
|
spaceID: '空间ID',
|
|
10744
11037
|
},
|
|
@@ -10750,6 +11043,7 @@ export const BUILTIN_MODULES = [
|
|
|
10750
11043
|
method: 'delete',
|
|
10751
11044
|
path: '/doc/libs/{libID}',
|
|
10752
11045
|
resultType: 'text',
|
|
11046
|
+
resultObjectType: null,
|
|
10753
11047
|
pathParams: {
|
|
10754
11048
|
libID: '文档库ID',
|
|
10755
11049
|
},
|
|
@@ -10761,6 +11055,7 @@ export const BUILTIN_MODULES = [
|
|
|
10761
11055
|
method: 'delete',
|
|
10762
11056
|
path: '/doc/docs/{docID}',
|
|
10763
11057
|
resultType: 'text',
|
|
11058
|
+
resultObjectType: null,
|
|
10764
11059
|
pathParams: {
|
|
10765
11060
|
docID: '文档ID',
|
|
10766
11061
|
},
|
|
@@ -10772,6 +11067,7 @@ export const BUILTIN_MODULES = [
|
|
|
10772
11067
|
method: 'delete',
|
|
10773
11068
|
path: '/doc/modules/{moduleID}',
|
|
10774
11069
|
resultType: 'text',
|
|
11070
|
+
resultObjectType: null,
|
|
10775
11071
|
pathParams: {
|
|
10776
11072
|
moduleID: '模块ID',
|
|
10777
11073
|
},
|
|
@@ -10792,6 +11088,7 @@ export const BUILTIN_MODULES = [
|
|
|
10792
11088
|
method: 'post',
|
|
10793
11089
|
path: '/todos',
|
|
10794
11090
|
resultType: 'object',
|
|
11091
|
+
resultObjectType: 'todo',
|
|
10795
11092
|
requestBody: {
|
|
10796
11093
|
required: true,
|
|
10797
11094
|
type: 'object',
|
|
@@ -10829,7 +11126,7 @@ export const BUILTIN_MODULES = [
|
|
|
10829
11126
|
},
|
|
10830
11127
|
"desc": {
|
|
10831
11128
|
"type": "string",
|
|
10832
|
-
"description": "待办详情"
|
|
11129
|
+
"description": "待办详情 (HTML)"
|
|
10833
11130
|
}
|
|
10834
11131
|
},
|
|
10835
11132
|
"required": [
|
|
@@ -10855,6 +11152,7 @@ export const BUILTIN_MODULES = [
|
|
|
10855
11152
|
method: 'get',
|
|
10856
11153
|
path: '/todos/{todoID}',
|
|
10857
11154
|
resultType: 'object',
|
|
11155
|
+
resultObjectType: 'todo',
|
|
10858
11156
|
resultGetter: 'todo',
|
|
10859
11157
|
pathParams: {
|
|
10860
11158
|
todoID: '待办ID',
|
|
@@ -10867,6 +11165,7 @@ export const BUILTIN_MODULES = [
|
|
|
10867
11165
|
method: 'put',
|
|
10868
11166
|
path: '/todos/{todoID}',
|
|
10869
11167
|
resultType: 'object',
|
|
11168
|
+
resultObjectType: null,
|
|
10870
11169
|
pathParams: {
|
|
10871
11170
|
todoID: '待办ID',
|
|
10872
11171
|
},
|
|
@@ -10907,7 +11206,7 @@ export const BUILTIN_MODULES = [
|
|
|
10907
11206
|
},
|
|
10908
11207
|
"desc": {
|
|
10909
11208
|
"type": "string",
|
|
10910
|
-
"description": "待办详情"
|
|
11209
|
+
"description": "待办详情 (HTML)"
|
|
10911
11210
|
}
|
|
10912
11211
|
},
|
|
10913
11212
|
"required": [
|
|
@@ -10933,6 +11232,7 @@ export const BUILTIN_MODULES = [
|
|
|
10933
11232
|
method: 'delete',
|
|
10934
11233
|
path: '/todos/{todoID}',
|
|
10935
11234
|
resultType: 'text',
|
|
11235
|
+
resultObjectType: null,
|
|
10936
11236
|
pathParams: {
|
|
10937
11237
|
todoID: '待办ID',
|
|
10938
11238
|
},
|
|
@@ -10953,6 +11253,7 @@ export const BUILTIN_MODULES = [
|
|
|
10953
11253
|
method: 'get',
|
|
10954
11254
|
path: '/my/todos',
|
|
10955
11255
|
resultType: 'list',
|
|
11256
|
+
resultObjectType: 'todo',
|
|
10956
11257
|
pagerGetter: 'pager',
|
|
10957
11258
|
resultGetter: 'todos',
|
|
10958
11259
|
params: [
|
|
@@ -11030,6 +11331,7 @@ export const BUILTIN_MODULES = [
|
|
|
11030
11331
|
method: 'get',
|
|
11031
11332
|
path: '/my/tasks',
|
|
11032
11333
|
resultType: 'list',
|
|
11334
|
+
resultObjectType: 'task',
|
|
11033
11335
|
pagerGetter: 'pager',
|
|
11034
11336
|
resultGetter: 'tasks',
|
|
11035
11337
|
params: [
|
|
@@ -11165,6 +11467,7 @@ export const BUILTIN_MODULES = [
|
|
|
11165
11467
|
method: 'get',
|
|
11166
11468
|
path: '/my/bugs',
|
|
11167
11469
|
resultType: 'list',
|
|
11470
|
+
resultObjectType: 'bug',
|
|
11168
11471
|
pagerGetter: 'pager',
|
|
11169
11472
|
resultGetter: 'bugs',
|
|
11170
11473
|
params: [
|
|
@@ -11292,6 +11595,7 @@ export const BUILTIN_MODULES = [
|
|
|
11292
11595
|
method: 'get',
|
|
11293
11596
|
path: '/my/stories',
|
|
11294
11597
|
resultType: 'list',
|
|
11598
|
+
resultObjectType: 'story',
|
|
11295
11599
|
pagerGetter: 'pager',
|
|
11296
11600
|
resultGetter: 'stories',
|
|
11297
11601
|
params: [
|
|
@@ -11419,6 +11723,7 @@ export const BUILTIN_MODULES = [
|
|
|
11419
11723
|
method: 'get',
|
|
11420
11724
|
path: '/my/epics',
|
|
11421
11725
|
resultType: 'list',
|
|
11726
|
+
resultObjectType: 'epic',
|
|
11422
11727
|
pagerGetter: 'pager',
|
|
11423
11728
|
resultGetter: 'epics',
|
|
11424
11729
|
params: [
|
|
@@ -11546,6 +11851,7 @@ export const BUILTIN_MODULES = [
|
|
|
11546
11851
|
method: 'get',
|
|
11547
11852
|
path: '/my/requirements',
|
|
11548
11853
|
resultType: 'list',
|
|
11854
|
+
resultObjectType: 'requirement',
|
|
11549
11855
|
pagerGetter: 'pager',
|
|
11550
11856
|
resultGetter: 'requirements',
|
|
11551
11857
|
params: [
|
|
@@ -11673,6 +11979,7 @@ export const BUILTIN_MODULES = [
|
|
|
11673
11979
|
method: 'get',
|
|
11674
11980
|
path: '/my/testtasks',
|
|
11675
11981
|
resultType: 'list',
|
|
11982
|
+
resultObjectType: 'testtask',
|
|
11676
11983
|
pagerGetter: 'pager',
|
|
11677
11984
|
resultGetter: 'testtasks',
|
|
11678
11985
|
params: [
|
|
@@ -11752,6 +12059,7 @@ export const BUILTIN_MODULES = [
|
|
|
11752
12059
|
method: 'get',
|
|
11753
12060
|
path: '/my/projects',
|
|
11754
12061
|
resultType: 'list',
|
|
12062
|
+
resultObjectType: 'project',
|
|
11755
12063
|
pagerGetter: 'pager',
|
|
11756
12064
|
resultGetter: 'projects',
|
|
11757
12065
|
params: [
|
|
@@ -11808,6 +12116,7 @@ export const BUILTIN_MODULES = [
|
|
|
11808
12116
|
method: 'get',
|
|
11809
12117
|
path: '/my/feedbacks',
|
|
11810
12118
|
resultType: 'list',
|
|
12119
|
+
resultObjectType: 'feedback',
|
|
11811
12120
|
pagerGetter: 'pager',
|
|
11812
12121
|
resultGetter: 'feedbacks',
|
|
11813
12122
|
params: [
|
|
@@ -11882,6 +12191,7 @@ export const BUILTIN_MODULES = [
|
|
|
11882
12191
|
method: 'get',
|
|
11883
12192
|
path: '/my/tickets',
|
|
11884
12193
|
resultType: 'list',
|
|
12194
|
+
resultObjectType: 'ticket',
|
|
11885
12195
|
pagerGetter: 'pager',
|
|
11886
12196
|
resultGetter: 'tickets',
|
|
11887
12197
|
params: [
|
|
@@ -11957,6 +12267,7 @@ export const BUILTIN_MODULES = [
|
|
|
11957
12267
|
method: 'get',
|
|
11958
12268
|
path: '/my/testcases',
|
|
11959
12269
|
resultType: 'list',
|
|
12270
|
+
resultObjectType: 'testcase',
|
|
11960
12271
|
pagerGetter: 'pager',
|
|
11961
12272
|
resultGetter: 'testcases',
|
|
11962
12273
|
params: [
|
|
@@ -12064,6 +12375,7 @@ export const BUILTIN_MODULES = [
|
|
|
12064
12375
|
method: 'get',
|
|
12065
12376
|
path: '/my/meetings',
|
|
12066
12377
|
resultType: 'list',
|
|
12378
|
+
resultObjectType: 'meeting',
|
|
12067
12379
|
pagerGetter: 'pager',
|
|
12068
12380
|
resultGetter: 'meetings',
|
|
12069
12381
|
params: [
|
|
@@ -12115,6 +12427,7 @@ export const BUILTIN_MODULES = [
|
|
|
12115
12427
|
method: 'get',
|
|
12116
12428
|
path: '/my/issues',
|
|
12117
12429
|
resultType: 'list',
|
|
12430
|
+
resultObjectType: 'issue',
|
|
12118
12431
|
pagerGetter: 'pager',
|
|
12119
12432
|
resultGetter: 'issues',
|
|
12120
12433
|
params: [
|
|
@@ -12218,6 +12531,7 @@ export const BUILTIN_MODULES = [
|
|
|
12218
12531
|
method: 'get',
|
|
12219
12532
|
path: '/my/risks',
|
|
12220
12533
|
resultType: 'list',
|
|
12534
|
+
resultObjectType: 'risk',
|
|
12221
12535
|
pagerGetter: 'pager',
|
|
12222
12536
|
resultGetter: 'risks',
|
|
12223
12537
|
params: [
|
|
@@ -12341,6 +12655,7 @@ export const BUILTIN_MODULES = [
|
|
|
12341
12655
|
method: 'get',
|
|
12342
12656
|
path: '/my/activity/tasks',
|
|
12343
12657
|
resultType: 'list',
|
|
12658
|
+
resultObjectType: 'task',
|
|
12344
12659
|
pagerGetter: 'pager',
|
|
12345
12660
|
resultGetter: 'tasks',
|
|
12346
12661
|
params: [
|
|
@@ -12395,6 +12710,7 @@ export const BUILTIN_MODULES = [
|
|
|
12395
12710
|
method: 'get',
|
|
12396
12711
|
path: '/my/activity/bugs',
|
|
12397
12712
|
resultType: 'list',
|
|
12713
|
+
resultObjectType: 'bug',
|
|
12398
12714
|
pagerGetter: 'pager',
|
|
12399
12715
|
resultGetter: 'bugs',
|
|
12400
12716
|
params: [
|
|
@@ -12449,6 +12765,7 @@ export const BUILTIN_MODULES = [
|
|
|
12449
12765
|
method: 'get',
|
|
12450
12766
|
path: '/my/activity/stories',
|
|
12451
12767
|
resultType: 'list',
|
|
12768
|
+
resultObjectType: 'story',
|
|
12452
12769
|
pagerGetter: 'pager',
|
|
12453
12770
|
resultGetter: 'stories',
|
|
12454
12771
|
params: [
|
|
@@ -12503,6 +12820,7 @@ export const BUILTIN_MODULES = [
|
|
|
12503
12820
|
method: 'get',
|
|
12504
12821
|
path: '/my/activity/epics',
|
|
12505
12822
|
resultType: 'list',
|
|
12823
|
+
resultObjectType: 'epic',
|
|
12506
12824
|
pagerGetter: 'pager',
|
|
12507
12825
|
resultGetter: 'epics',
|
|
12508
12826
|
params: [
|
|
@@ -12557,6 +12875,7 @@ export const BUILTIN_MODULES = [
|
|
|
12557
12875
|
method: 'get',
|
|
12558
12876
|
path: '/my/activity/requirements',
|
|
12559
12877
|
resultType: 'list',
|
|
12878
|
+
resultObjectType: 'requirement',
|
|
12560
12879
|
pagerGetter: 'pager',
|
|
12561
12880
|
resultGetter: 'requirements',
|
|
12562
12881
|
params: [
|
|
@@ -12611,6 +12930,7 @@ export const BUILTIN_MODULES = [
|
|
|
12611
12930
|
method: 'get',
|
|
12612
12931
|
path: '/my/activity/testtasks',
|
|
12613
12932
|
resultType: 'list',
|
|
12933
|
+
resultObjectType: 'testtask',
|
|
12614
12934
|
pagerGetter: 'pager',
|
|
12615
12935
|
resultGetter: 'testtasks',
|
|
12616
12936
|
params: [
|
|
@@ -12647,6 +12967,7 @@ export const BUILTIN_MODULES = [
|
|
|
12647
12967
|
method: 'get',
|
|
12648
12968
|
path: '/my/activity/testcases',
|
|
12649
12969
|
resultType: 'list',
|
|
12970
|
+
resultObjectType: 'testcase',
|
|
12650
12971
|
pagerGetter: 'pager',
|
|
12651
12972
|
resultGetter: 'testcases',
|
|
12652
12973
|
params: [
|
|
@@ -12701,6 +13022,7 @@ export const BUILTIN_MODULES = [
|
|
|
12701
13022
|
method: 'get',
|
|
12702
13023
|
path: '/my/activity/docs',
|
|
12703
13024
|
resultType: 'list',
|
|
13025
|
+
resultObjectType: 'doc',
|
|
12704
13026
|
pagerGetter: 'pager',
|
|
12705
13027
|
resultGetter: 'docs',
|
|
12706
13028
|
params: [
|
|
@@ -12737,6 +13059,7 @@ export const BUILTIN_MODULES = [
|
|
|
12737
13059
|
method: 'get',
|
|
12738
13060
|
path: '/my/activity/issues',
|
|
12739
13061
|
resultType: 'list',
|
|
13062
|
+
resultObjectType: 'issue',
|
|
12740
13063
|
pagerGetter: 'pager',
|
|
12741
13064
|
resultGetter: 'issues',
|
|
12742
13065
|
params: [
|
|
@@ -12773,6 +13096,7 @@ export const BUILTIN_MODULES = [
|
|
|
12773
13096
|
method: 'get',
|
|
12774
13097
|
path: '/my/activity/risks',
|
|
12775
13098
|
resultType: 'list',
|
|
13099
|
+
resultObjectType: 'risk',
|
|
12776
13100
|
pagerGetter: 'pager',
|
|
12777
13101
|
resultGetter: 'risks',
|
|
12778
13102
|
params: [
|
|
@@ -12827,6 +13151,7 @@ export const BUILTIN_MODULES = [
|
|
|
12827
13151
|
method: 'get',
|
|
12828
13152
|
path: '/my/activity/reviewissues',
|
|
12829
13153
|
resultType: 'list',
|
|
13154
|
+
resultObjectType: 'reviewissue',
|
|
12830
13155
|
pagerGetter: 'pager',
|
|
12831
13156
|
resultGetter: 'reviewissues',
|
|
12832
13157
|
params: [
|
|
@@ -12881,6 +13206,7 @@ export const BUILTIN_MODULES = [
|
|
|
12881
13206
|
method: 'get',
|
|
12882
13207
|
path: '/my/activity/feedbacks',
|
|
12883
13208
|
resultType: 'list',
|
|
13209
|
+
resultObjectType: 'feedback',
|
|
12884
13210
|
pagerGetter: 'pager',
|
|
12885
13211
|
resultGetter: 'feedbacks',
|
|
12886
13212
|
params: [
|
|
@@ -12935,6 +13261,7 @@ export const BUILTIN_MODULES = [
|
|
|
12935
13261
|
method: 'get',
|
|
12936
13262
|
path: '/my/activity/audits',
|
|
12937
13263
|
resultType: 'list',
|
|
13264
|
+
resultObjectType: 'audit',
|
|
12938
13265
|
pagerGetter: 'pager',
|
|
12939
13266
|
resultGetter: 'audits',
|
|
12940
13267
|
params: [
|
|
@@ -12971,6 +13298,7 @@ export const BUILTIN_MODULES = [
|
|
|
12971
13298
|
method: 'get',
|
|
12972
13299
|
path: '/my/reviewissues',
|
|
12973
13300
|
resultType: 'list',
|
|
13301
|
+
resultObjectType: 'reviewissue',
|
|
12974
13302
|
pagerGetter: 'pager',
|
|
12975
13303
|
resultGetter: 'reviewissues',
|
|
12976
13304
|
params: [
|
|
@@ -13060,6 +13388,7 @@ export const BUILTIN_MODULES = [
|
|
|
13060
13388
|
method: 'get',
|
|
13061
13389
|
path: '/my/audits',
|
|
13062
13390
|
resultType: 'list',
|
|
13391
|
+
resultObjectType: 'audit',
|
|
13063
13392
|
pagerGetter: 'pager',
|
|
13064
13393
|
resultGetter: 'audits',
|
|
13065
13394
|
params: [
|
|
@@ -13109,6 +13438,7 @@ export const BUILTIN_MODULES = [
|
|
|
13109
13438
|
method: 'get',
|
|
13110
13439
|
path: '/my/auditplans',
|
|
13111
13440
|
resultType: 'list',
|
|
13441
|
+
resultObjectType: 'auditplan',
|
|
13112
13442
|
pagerGetter: 'pager',
|
|
13113
13443
|
resultGetter: 'auditplans',
|
|
13114
13444
|
params: [
|
|
@@ -13116,8 +13446,8 @@ export const BUILTIN_MODULES = [
|
|
|
13116
13446
|
name: 'browseType',
|
|
13117
13447
|
required: false,
|
|
13118
13448
|
type: 'string',
|
|
13119
|
-
description: '待处理筛选类型,默认
|
|
13120
|
-
defaultValue: '
|
|
13449
|
+
description: '待处理筛选类型,默认 mychecking,取值不区分大小写',
|
|
13450
|
+
defaultValue: 'mychecking',
|
|
13121
13451
|
options: [
|
|
13122
13452
|
{ value: 'mychecking', label: '待我检查' },
|
|
13123
13453
|
{ value: 'checked', label: '已检查' },
|
|
@@ -13156,6 +13486,7 @@ export const BUILTIN_MODULES = [
|
|
|
13156
13486
|
method: 'get',
|
|
13157
13487
|
path: '/my/ncs',
|
|
13158
13488
|
resultType: 'list',
|
|
13489
|
+
resultObjectType: 'nc',
|
|
13159
13490
|
pagerGetter: 'pager',
|
|
13160
13491
|
resultGetter: 'ncs',
|
|
13161
13492
|
params: [
|
|
@@ -13209,6 +13540,7 @@ export const BUILTIN_MODULES = [
|
|
|
13209
13540
|
method: 'get',
|
|
13210
13541
|
path: '/{scope}/{scopeID}/processes',
|
|
13211
13542
|
resultType: 'list',
|
|
13543
|
+
resultObjectType: 'process',
|
|
13212
13544
|
resultGetter: 'processList',
|
|
13213
13545
|
pathParams: {
|
|
13214
13546
|
scope: { description: '过程裁剪所属范围', options: [{ value: 'projects', label: '项目' }, { value: 'executions', label: '执行' }] },
|
|
@@ -13243,6 +13575,7 @@ export const BUILTIN_MODULES = [
|
|
|
13243
13575
|
method: 'post',
|
|
13244
13576
|
path: '/projects/{projectID}/processes',
|
|
13245
13577
|
resultType: 'text',
|
|
13578
|
+
resultObjectType: null,
|
|
13246
13579
|
pathParams: {
|
|
13247
13580
|
projectID: '项目ID',
|
|
13248
13581
|
},
|
|
@@ -13282,6 +13615,7 @@ export const BUILTIN_MODULES = [
|
|
|
13282
13615
|
method: 'post',
|
|
13283
13616
|
path: '/executions/{executionID}/processes',
|
|
13284
13617
|
resultType: 'text',
|
|
13618
|
+
resultObjectType: null,
|
|
13285
13619
|
pathParams: {
|
|
13286
13620
|
executionID: '执行ID',
|
|
13287
13621
|
},
|
|
@@ -13330,6 +13664,7 @@ export const BUILTIN_MODULES = [
|
|
|
13330
13664
|
method: 'get',
|
|
13331
13665
|
path: '/{scope}/{scopeID}/auditplans',
|
|
13332
13666
|
resultType: 'list',
|
|
13667
|
+
resultObjectType: 'auditplan',
|
|
13333
13668
|
pagerGetter: 'pager',
|
|
13334
13669
|
resultGetter: 'auditplans',
|
|
13335
13670
|
pathParams: {
|
|
@@ -13412,6 +13747,7 @@ export const BUILTIN_MODULES = [
|
|
|
13412
13747
|
method: 'post',
|
|
13413
13748
|
path: '/auditplans',
|
|
13414
13749
|
resultType: 'object',
|
|
13750
|
+
resultObjectType: 'auditplan',
|
|
13415
13751
|
requestBody: {
|
|
13416
13752
|
required: true,
|
|
13417
13753
|
type: 'object',
|
|
@@ -13496,6 +13832,7 @@ export const BUILTIN_MODULES = [
|
|
|
13496
13832
|
method: 'post',
|
|
13497
13833
|
path: '/auditplans/{auditplanID}/check',
|
|
13498
13834
|
resultType: 'text',
|
|
13835
|
+
resultObjectType: null,
|
|
13499
13836
|
pathParams: {
|
|
13500
13837
|
auditplanID: 'auditplanID',
|
|
13501
13838
|
},
|
|
@@ -13552,6 +13889,7 @@ export const BUILTIN_MODULES = [
|
|
|
13552
13889
|
method: 'post',
|
|
13553
13890
|
path: '/projects/{projectID}/auditplans/batch',
|
|
13554
13891
|
resultType: 'text',
|
|
13892
|
+
resultObjectType: 'auditplan',
|
|
13555
13893
|
pathParams: {
|
|
13556
13894
|
projectID: '项目ID',
|
|
13557
13895
|
},
|
|
@@ -13649,6 +13987,7 @@ export const BUILTIN_MODULES = [
|
|
|
13649
13987
|
method: 'get',
|
|
13650
13988
|
path: '/auditplans/{auditplanID}',
|
|
13651
13989
|
resultType: 'object',
|
|
13990
|
+
resultObjectType: 'auditplan',
|
|
13652
13991
|
resultGetter: 'auditplan',
|
|
13653
13992
|
pathParams: {
|
|
13654
13993
|
auditplanID: 'auditplanID',
|
|
@@ -13661,6 +14000,7 @@ export const BUILTIN_MODULES = [
|
|
|
13661
14000
|
method: 'put',
|
|
13662
14001
|
path: '/auditplans/{auditplanID}',
|
|
13663
14002
|
resultType: 'object',
|
|
14003
|
+
resultObjectType: 'auditplan',
|
|
13664
14004
|
pathParams: {
|
|
13665
14005
|
auditplanID: 'auditplanID',
|
|
13666
14006
|
},
|
|
@@ -13721,6 +14061,7 @@ export const BUILTIN_MODULES = [
|
|
|
13721
14061
|
method: 'delete',
|
|
13722
14062
|
path: '/auditplans/{auditplanID}',
|
|
13723
14063
|
resultType: 'text',
|
|
14064
|
+
resultObjectType: null,
|
|
13724
14065
|
pathParams: {
|
|
13725
14066
|
auditplanID: 'auditplanID',
|
|
13726
14067
|
},
|
|
@@ -13741,6 +14082,7 @@ export const BUILTIN_MODULES = [
|
|
|
13741
14082
|
method: 'get',
|
|
13742
14083
|
path: '/{scope}/{scopeID}/ncs',
|
|
13743
14084
|
resultType: 'list',
|
|
14085
|
+
resultObjectType: 'nc',
|
|
13744
14086
|
pagerGetter: 'pager',
|
|
13745
14087
|
resultGetter: 'ncs',
|
|
13746
14088
|
pathParams: {
|
|
@@ -13798,6 +14140,7 @@ export const BUILTIN_MODULES = [
|
|
|
13798
14140
|
method: 'post',
|
|
13799
14141
|
path: '/projects/{projectID}/ncs',
|
|
13800
14142
|
resultType: 'object',
|
|
14143
|
+
resultObjectType: 'nc',
|
|
13801
14144
|
pathParams: {
|
|
13802
14145
|
projectID: '项目ID',
|
|
13803
14146
|
},
|
|
@@ -13864,6 +14207,7 @@ export const BUILTIN_MODULES = [
|
|
|
13864
14207
|
method: 'post',
|
|
13865
14208
|
path: '/executions/{executionID}/ncs',
|
|
13866
14209
|
resultType: 'object',
|
|
14210
|
+
resultObjectType: 'nc',
|
|
13867
14211
|
pathParams: {
|
|
13868
14212
|
executionID: '执行ID',
|
|
13869
14213
|
},
|
|
@@ -13924,6 +14268,7 @@ export const BUILTIN_MODULES = [
|
|
|
13924
14268
|
method: 'get',
|
|
13925
14269
|
path: '/ncs/{ncID}',
|
|
13926
14270
|
resultType: 'object',
|
|
14271
|
+
resultObjectType: 'nc',
|
|
13927
14272
|
resultGetter: 'nc',
|
|
13928
14273
|
pathParams: {
|
|
13929
14274
|
ncID: 'ncID',
|
|
@@ -13936,6 +14281,7 @@ export const BUILTIN_MODULES = [
|
|
|
13936
14281
|
method: 'put',
|
|
13937
14282
|
path: '/ncs/{ncID}',
|
|
13938
14283
|
resultType: 'object',
|
|
14284
|
+
resultObjectType: 'nc',
|
|
13939
14285
|
pathParams: {
|
|
13940
14286
|
ncID: 'ncID',
|
|
13941
14287
|
},
|
|
@@ -14011,6 +14357,7 @@ export const BUILTIN_MODULES = [
|
|
|
14011
14357
|
method: 'delete',
|
|
14012
14358
|
path: '/ncs/{ncID}',
|
|
14013
14359
|
resultType: 'text',
|
|
14360
|
+
resultObjectType: null,
|
|
14014
14361
|
pathParams: {
|
|
14015
14362
|
ncID: 'ncID',
|
|
14016
14363
|
},
|
|
@@ -14031,6 +14378,7 @@ export const BUILTIN_MODULES = [
|
|
|
14031
14378
|
method: 'get',
|
|
14032
14379
|
path: '/{scope}/{scopeID}/opportunities',
|
|
14033
14380
|
resultType: 'list',
|
|
14381
|
+
resultObjectType: 'opportunity',
|
|
14034
14382
|
pagerGetter: 'pager',
|
|
14035
14383
|
resultGetter: 'opportunities',
|
|
14036
14384
|
pathParams: {
|
|
@@ -14109,6 +14457,7 @@ export const BUILTIN_MODULES = [
|
|
|
14109
14457
|
method: 'post',
|
|
14110
14458
|
path: '/projects/{projectID}/opportunities',
|
|
14111
14459
|
resultType: 'object',
|
|
14460
|
+
resultObjectType: 'opportunity',
|
|
14112
14461
|
pathParams: {
|
|
14113
14462
|
projectID: '项目ID',
|
|
14114
14463
|
},
|
|
@@ -14209,6 +14558,7 @@ export const BUILTIN_MODULES = [
|
|
|
14209
14558
|
method: 'post',
|
|
14210
14559
|
path: '/projects/{projectID}/opportunities/batch',
|
|
14211
14560
|
resultType: 'text',
|
|
14561
|
+
resultObjectType: 'opportunity',
|
|
14212
14562
|
pathParams: {
|
|
14213
14563
|
projectID: '项目ID',
|
|
14214
14564
|
},
|
|
@@ -14311,6 +14661,7 @@ export const BUILTIN_MODULES = [
|
|
|
14311
14661
|
method: 'get',
|
|
14312
14662
|
path: '/opportunities/{opportunityID}',
|
|
14313
14663
|
resultType: 'object',
|
|
14664
|
+
resultObjectType: 'opportunity',
|
|
14314
14665
|
resultGetter: 'opportunity',
|
|
14315
14666
|
pathParams: {
|
|
14316
14667
|
opportunityID: 'opportunityID',
|
|
@@ -14323,6 +14674,7 @@ export const BUILTIN_MODULES = [
|
|
|
14323
14674
|
method: 'put',
|
|
14324
14675
|
path: '/opportunities/{opportunityID}',
|
|
14325
14676
|
resultType: 'object',
|
|
14677
|
+
resultObjectType: 'opportunity',
|
|
14326
14678
|
pathParams: {
|
|
14327
14679
|
opportunityID: 'opportunityID',
|
|
14328
14680
|
},
|
|
@@ -14409,6 +14761,7 @@ export const BUILTIN_MODULES = [
|
|
|
14409
14761
|
method: 'delete',
|
|
14410
14762
|
path: '/opportunities/{opportunityID}',
|
|
14411
14763
|
resultType: 'text',
|
|
14764
|
+
resultObjectType: null,
|
|
14412
14765
|
pathParams: {
|
|
14413
14766
|
opportunityID: 'opportunityID',
|
|
14414
14767
|
},
|
|
@@ -14429,6 +14782,7 @@ export const BUILTIN_MODULES = [
|
|
|
14429
14782
|
method: 'get',
|
|
14430
14783
|
path: '/projects/{projectID}/deliverables',
|
|
14431
14784
|
resultType: 'list',
|
|
14785
|
+
resultObjectType: 'deliverable',
|
|
14432
14786
|
pagerGetter: 'pager',
|
|
14433
14787
|
resultGetter: 'deliverables',
|
|
14434
14788
|
pathParams: {
|
|
@@ -14492,6 +14846,7 @@ export const BUILTIN_MODULES = [
|
|
|
14492
14846
|
method: 'get',
|
|
14493
14847
|
path: '/projects/{projectID}/deliverable-options',
|
|
14494
14848
|
resultType: 'object',
|
|
14849
|
+
resultObjectType: null,
|
|
14495
14850
|
resultGetter: 'deliverables',
|
|
14496
14851
|
pathParams: {
|
|
14497
14852
|
projectID: '项目ID',
|
|
@@ -14505,6 +14860,7 @@ export const BUILTIN_MODULES = [
|
|
|
14505
14860
|
method: 'post',
|
|
14506
14861
|
path: '/projects/{projectID}/deliverables',
|
|
14507
14862
|
resultType: 'object',
|
|
14863
|
+
resultObjectType: null,
|
|
14508
14864
|
pathParams: {
|
|
14509
14865
|
projectID: '项目ID',
|
|
14510
14866
|
},
|
|
@@ -14568,6 +14924,7 @@ export const BUILTIN_MODULES = [
|
|
|
14568
14924
|
method: 'get',
|
|
14569
14925
|
path: '/deliverables/{deliverableID}',
|
|
14570
14926
|
resultType: 'object',
|
|
14927
|
+
resultObjectType: 'deliverable',
|
|
14571
14928
|
resultGetter: 'deliverable',
|
|
14572
14929
|
pathParams: {
|
|
14573
14930
|
deliverableID: 'deliverableID',
|
|
@@ -14580,6 +14937,7 @@ export const BUILTIN_MODULES = [
|
|
|
14580
14937
|
method: 'delete',
|
|
14581
14938
|
path: '/deliverables/{deliverableID}',
|
|
14582
14939
|
resultType: 'text',
|
|
14940
|
+
resultObjectType: null,
|
|
14583
14941
|
pathParams: {
|
|
14584
14942
|
deliverableID: 'deliverableID',
|
|
14585
14943
|
},
|
|
@@ -14600,6 +14958,7 @@ export const BUILTIN_MODULES = [
|
|
|
14600
14958
|
method: 'get',
|
|
14601
14959
|
path: '/projects/{projectID}/baselines',
|
|
14602
14960
|
resultType: 'list',
|
|
14961
|
+
resultObjectType: 'baseline',
|
|
14603
14962
|
pagerGetter: 'pager',
|
|
14604
14963
|
resultGetter: 'baselines',
|
|
14605
14964
|
pathParams: {
|
|
@@ -14650,6 +15009,7 @@ export const BUILTIN_MODULES = [
|
|
|
14650
15009
|
method: 'post',
|
|
14651
15010
|
path: '/projects/{projectID}/baselines',
|
|
14652
15011
|
resultType: 'object',
|
|
15012
|
+
resultObjectType: null,
|
|
14653
15013
|
pathParams: {
|
|
14654
15014
|
projectID: '项目ID',
|
|
14655
15015
|
},
|
|
@@ -14707,6 +15067,7 @@ export const BUILTIN_MODULES = [
|
|
|
14707
15067
|
method: 'get',
|
|
14708
15068
|
path: '/baselines/{baselineID}',
|
|
14709
15069
|
resultType: 'object',
|
|
15070
|
+
resultObjectType: 'baseline',
|
|
14710
15071
|
resultGetter: 'baseline',
|
|
14711
15072
|
pathParams: {
|
|
14712
15073
|
baselineID: 'baselineID',
|
|
@@ -14719,6 +15080,7 @@ export const BUILTIN_MODULES = [
|
|
|
14719
15080
|
method: 'put',
|
|
14720
15081
|
path: '/baselines/{baselineID}',
|
|
14721
15082
|
resultType: 'object',
|
|
15083
|
+
resultObjectType: null,
|
|
14722
15084
|
pathParams: {
|
|
14723
15085
|
baselineID: 'baselineID',
|
|
14724
15086
|
},
|
|
@@ -14771,6 +15133,7 @@ export const BUILTIN_MODULES = [
|
|
|
14771
15133
|
method: 'delete',
|
|
14772
15134
|
path: '/baselines/{baselineID}',
|
|
14773
15135
|
resultType: 'text',
|
|
15136
|
+
resultObjectType: null,
|
|
14774
15137
|
pathParams: {
|
|
14775
15138
|
baselineID: 'baselineID',
|
|
14776
15139
|
},
|
|
@@ -14791,6 +15154,7 @@ export const BUILTIN_MODULES = [
|
|
|
14791
15154
|
method: 'get',
|
|
14792
15155
|
path: '/projects/{projectID}/changes',
|
|
14793
15156
|
resultType: 'list',
|
|
15157
|
+
resultObjectType: 'change',
|
|
14794
15158
|
pagerGetter: 'pager',
|
|
14795
15159
|
resultGetter: 'projectchanges',
|
|
14796
15160
|
pathParams: {
|
|
@@ -14842,6 +15206,7 @@ export const BUILTIN_MODULES = [
|
|
|
14842
15206
|
method: 'post',
|
|
14843
15207
|
path: '/projects/{projectID}/changes',
|
|
14844
15208
|
resultType: 'object',
|
|
15209
|
+
resultObjectType: null,
|
|
14845
15210
|
pathParams: {
|
|
14846
15211
|
projectID: '项目ID',
|
|
14847
15212
|
},
|
|
@@ -14902,6 +15267,7 @@ export const BUILTIN_MODULES = [
|
|
|
14902
15267
|
method: 'get',
|
|
14903
15268
|
path: '/changes/{changeID}',
|
|
14904
15269
|
resultType: 'object',
|
|
15270
|
+
resultObjectType: 'change',
|
|
14905
15271
|
resultGetter: 'projectchange',
|
|
14906
15272
|
pathParams: {
|
|
14907
15273
|
changeID: 'changeID',
|
|
@@ -14914,6 +15280,7 @@ export const BUILTIN_MODULES = [
|
|
|
14914
15280
|
method: 'put',
|
|
14915
15281
|
path: '/changes/{changeID}',
|
|
14916
15282
|
resultType: 'object',
|
|
15283
|
+
resultObjectType: null,
|
|
14917
15284
|
pathParams: {
|
|
14918
15285
|
changeID: 'changeID',
|
|
14919
15286
|
},
|
|
@@ -14974,6 +15341,7 @@ export const BUILTIN_MODULES = [
|
|
|
14974
15341
|
method: 'delete',
|
|
14975
15342
|
path: '/changes/{changeID}',
|
|
14976
15343
|
resultType: 'text',
|
|
15344
|
+
resultObjectType: null,
|
|
14977
15345
|
pathParams: {
|
|
14978
15346
|
changeID: 'changeID',
|
|
14979
15347
|
},
|
|
@@ -14994,6 +15362,7 @@ export const BUILTIN_MODULES = [
|
|
|
14994
15362
|
method: 'post',
|
|
14995
15363
|
path: '/relations/{objectType}/{objectID}/{relatedObjectType}',
|
|
14996
15364
|
resultType: 'text',
|
|
15365
|
+
resultObjectType: null,
|
|
14997
15366
|
pathParams: {
|
|
14998
15367
|
objectType: 'objectType',
|
|
14999
15368
|
objectID: 'objectID',
|
|
@@ -15031,6 +15400,12 @@ export const BUILTIN_MODULES = [
|
|
|
15031
15400
|
method: 'get',
|
|
15032
15401
|
path: '/relations/{objectType}/{objectID}/candidates/{relatedObjectType}',
|
|
15033
15402
|
resultType: 'list',
|
|
15403
|
+
resultObjectType: {
|
|
15404
|
+
"param": "relatedObjectType",
|
|
15405
|
+
"map": {
|
|
15406
|
+
"projectdeliverable": "deliverable"
|
|
15407
|
+
}
|
|
15408
|
+
},
|
|
15034
15409
|
pagerGetter: 'pager',
|
|
15035
15410
|
resultGetter: 'objects',
|
|
15036
15411
|
pathParams: {
|
|
@@ -15072,6 +15447,7 @@ export const BUILTIN_MODULES = [
|
|
|
15072
15447
|
method: 'get',
|
|
15073
15448
|
path: '/relations/{objectType}/{objectID}',
|
|
15074
15449
|
resultType: 'list',
|
|
15450
|
+
resultObjectType: null,
|
|
15075
15451
|
resultGetter: 'relations',
|
|
15076
15452
|
pathParams: {
|
|
15077
15453
|
objectType: 'objectType',
|
|
@@ -15085,6 +15461,7 @@ export const BUILTIN_MODULES = [
|
|
|
15085
15461
|
method: 'delete',
|
|
15086
15462
|
path: '/relations/{relationID}',
|
|
15087
15463
|
resultType: 'text',
|
|
15464
|
+
resultObjectType: null,
|
|
15088
15465
|
pathParams: {
|
|
15089
15466
|
relationID: 'relationID',
|
|
15090
15467
|
},
|
|
@@ -15106,6 +15483,7 @@ export const BUILTIN_MODULES = [
|
|
|
15106
15483
|
method: 'get',
|
|
15107
15484
|
path: '/workflowgroups',
|
|
15108
15485
|
resultType: 'list',
|
|
15486
|
+
resultObjectType: 'workflowgroup',
|
|
15109
15487
|
pagerGetter: 'pager',
|
|
15110
15488
|
resultGetter: 'groups',
|
|
15111
15489
|
params: [
|
|
@@ -15157,6 +15535,7 @@ export const BUILTIN_MODULES = [
|
|
|
15157
15535
|
method: 'get',
|
|
15158
15536
|
path: '/resourcecalendars',
|
|
15159
15537
|
resultType: 'object',
|
|
15538
|
+
resultObjectType: null,
|
|
15160
15539
|
resultGetter: 'resourceCalendars',
|
|
15161
15540
|
params: [
|
|
15162
15541
|
{
|
|
@@ -15217,6 +15596,7 @@ export const BUILTIN_MODULES = [
|
|
|
15217
15596
|
method: 'get',
|
|
15218
15597
|
path: '/weeklies',
|
|
15219
15598
|
resultType: 'list',
|
|
15599
|
+
resultObjectType: 'weekly',
|
|
15220
15600
|
pagerGetter: 'pager',
|
|
15221
15601
|
resultGetter: 'reports',
|
|
15222
15602
|
params: [
|
|
@@ -15271,6 +15651,7 @@ export const BUILTIN_MODULES = [
|
|
|
15271
15651
|
method: 'post',
|
|
15272
15652
|
path: '/weeklies',
|
|
15273
15653
|
resultType: 'object',
|
|
15654
|
+
resultObjectType: 'weekly',
|
|
15274
15655
|
requestBody: {
|
|
15275
15656
|
required: true,
|
|
15276
15657
|
type: 'object',
|
|
@@ -15330,6 +15711,7 @@ export const BUILTIN_MODULES = [
|
|
|
15330
15711
|
method: 'get',
|
|
15331
15712
|
path: '/weeklies/{reportID}',
|
|
15332
15713
|
resultType: 'object',
|
|
15714
|
+
resultObjectType: 'weekly',
|
|
15333
15715
|
resultGetter: 'report',
|
|
15334
15716
|
pathParams: {
|
|
15335
15717
|
reportID: 'reportID',
|
|
@@ -15342,6 +15724,7 @@ export const BUILTIN_MODULES = [
|
|
|
15342
15724
|
method: 'put',
|
|
15343
15725
|
path: '/weeklies/{reportID}',
|
|
15344
15726
|
resultType: 'object',
|
|
15727
|
+
resultObjectType: null,
|
|
15345
15728
|
pathParams: {
|
|
15346
15729
|
reportID: 'reportID',
|
|
15347
15730
|
},
|
|
@@ -15398,6 +15781,7 @@ export const BUILTIN_MODULES = [
|
|
|
15398
15781
|
method: 'delete',
|
|
15399
15782
|
path: '/weeklies/{reportID}',
|
|
15400
15783
|
resultType: 'text',
|
|
15784
|
+
resultObjectType: null,
|
|
15401
15785
|
pathParams: {
|
|
15402
15786
|
reportID: 'reportID',
|
|
15403
15787
|
},
|
|
@@ -15418,6 +15802,7 @@ export const BUILTIN_MODULES = [
|
|
|
15418
15802
|
method: 'get',
|
|
15419
15803
|
path: '/db/tables',
|
|
15420
15804
|
resultType: 'list',
|
|
15805
|
+
resultObjectType: null,
|
|
15421
15806
|
resultGetter: 'tables',
|
|
15422
15807
|
}, {
|
|
15423
15808
|
name: 'query',
|
|
@@ -15427,6 +15812,7 @@ export const BUILTIN_MODULES = [
|
|
|
15427
15812
|
method: 'post',
|
|
15428
15813
|
path: '/db/query',
|
|
15429
15814
|
resultType: 'list',
|
|
15815
|
+
resultObjectType: null,
|
|
15430
15816
|
resultGetter: 'rows',
|
|
15431
15817
|
requestBody: {
|
|
15432
15818
|
required: true,
|
|
@@ -15478,6 +15864,7 @@ export const BUILTIN_MODULES = [
|
|
|
15478
15864
|
method: 'get',
|
|
15479
15865
|
path: '/db/tables/{table}',
|
|
15480
15866
|
resultType: 'object',
|
|
15867
|
+
resultObjectType: null,
|
|
15481
15868
|
resultGetter: 'table',
|
|
15482
15869
|
pathParams: {
|
|
15483
15870
|
"table": "数据库表名,例如 zt_config"
|
|
@@ -15518,6 +15905,7 @@ export const BUILTIN_MODULES = [
|
|
|
15518
15905
|
method: 'get',
|
|
15519
15906
|
path: '/ai/knowledgelibs',
|
|
15520
15907
|
resultType: 'list',
|
|
15908
|
+
resultObjectType: 'knowledgelib',
|
|
15521
15909
|
pagerGetter: 'pager',
|
|
15522
15910
|
resultGetter: 'data',
|
|
15523
15911
|
params: [
|
|
@@ -15571,6 +15959,7 @@ export const BUILTIN_MODULES = [
|
|
|
15571
15959
|
method: 'get',
|
|
15572
15960
|
path: '/ai/knowledgelibs/{libID}/knowledges',
|
|
15573
15961
|
resultType: 'list',
|
|
15962
|
+
resultObjectType: 'knowledge',
|
|
15574
15963
|
pagerGetter: 'pager',
|
|
15575
15964
|
resultGetter: 'data',
|
|
15576
15965
|
pathParams: {
|
|
@@ -15681,6 +16070,7 @@ export const BUILTIN_MODULES = [
|
|
|
15681
16070
|
method: 'post',
|
|
15682
16071
|
path: '/ai/knowledges/embeddingssearch',
|
|
15683
16072
|
resultType: 'list',
|
|
16073
|
+
resultObjectType: null,
|
|
15684
16074
|
resultGetter: 'data',
|
|
15685
16075
|
requestBody: {
|
|
15686
16076
|
"required": true,
|
|
@@ -15821,6 +16211,7 @@ export const BUILTIN_MODULES = [
|
|
|
15821
16211
|
method: 'post',
|
|
15822
16212
|
path: '/ai/knowledges/search',
|
|
15823
16213
|
resultType: 'list',
|
|
16214
|
+
resultObjectType: 'knowledge',
|
|
15824
16215
|
pagerGetter: 'pager',
|
|
15825
16216
|
resultGetter: 'data',
|
|
15826
16217
|
requestBody: {
|
|
@@ -15984,6 +16375,7 @@ export const BUILTIN_MODULES = [
|
|
|
15984
16375
|
method: 'get',
|
|
15985
16376
|
path: '/ai/knowledges/{knowledgeID}',
|
|
15986
16377
|
resultType: 'object',
|
|
16378
|
+
resultObjectType: 'knowledge',
|
|
15987
16379
|
resultGetter: 'data',
|
|
15988
16380
|
pathParams: {
|
|
15989
16381
|
"knowledgeID": "本地知识条目 ID,正整数;不可使用 chunkID 或来源对象 objectID"
|