zentao-api 0.8.5 → 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 +368 -0
- package/dist/modules/generated.js +421 -53
- package/dist/modules/object-props.js +212 -36
- package/dist/modules/override.js +93 -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,7 +2674,7 @@ 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",
|
|
@@ -2678,6 +2732,7 @@ export const BUILTIN_MODULES = [
|
|
|
2678
2732
|
method: 'get',
|
|
2679
2733
|
path: '/stories/{storyID}',
|
|
2680
2734
|
resultType: 'object',
|
|
2735
|
+
resultObjectType: 'story',
|
|
2681
2736
|
resultGetter: 'story',
|
|
2682
2737
|
pathParams: {
|
|
2683
2738
|
storyID: '需求ID',
|
|
@@ -2690,6 +2745,7 @@ export const BUILTIN_MODULES = [
|
|
|
2690
2745
|
method: 'put',
|
|
2691
2746
|
path: '/stories/{storyID}',
|
|
2692
2747
|
resultType: 'object',
|
|
2748
|
+
resultObjectType: 'story',
|
|
2693
2749
|
pathParams: {
|
|
2694
2750
|
storyID: '需求ID',
|
|
2695
2751
|
},
|
|
@@ -2759,6 +2815,7 @@ export const BUILTIN_MODULES = [
|
|
|
2759
2815
|
method: 'put',
|
|
2760
2816
|
path: '/story/modules/{moduleID}',
|
|
2761
2817
|
resultType: 'object',
|
|
2818
|
+
resultObjectType: null,
|
|
2762
2819
|
pathParams: {
|
|
2763
2820
|
moduleID: '模块ID',
|
|
2764
2821
|
},
|
|
@@ -2792,6 +2849,7 @@ export const BUILTIN_MODULES = [
|
|
|
2792
2849
|
method: 'delete',
|
|
2793
2850
|
path: '/stories/{storyID}',
|
|
2794
2851
|
resultType: 'text',
|
|
2852
|
+
resultObjectType: null,
|
|
2795
2853
|
pathParams: {
|
|
2796
2854
|
storyID: '需求ID',
|
|
2797
2855
|
},
|
|
@@ -2803,6 +2861,7 @@ export const BUILTIN_MODULES = [
|
|
|
2803
2861
|
method: 'delete',
|
|
2804
2862
|
path: '/story/modules/{moduleID}',
|
|
2805
2863
|
resultType: 'text',
|
|
2864
|
+
resultObjectType: null,
|
|
2806
2865
|
pathParams: {
|
|
2807
2866
|
moduleID: '模块ID',
|
|
2808
2867
|
},
|
|
@@ -2814,6 +2873,7 @@ export const BUILTIN_MODULES = [
|
|
|
2814
2873
|
method: 'put',
|
|
2815
2874
|
path: '/stories/{storyID}/activate',
|
|
2816
2875
|
resultType: 'text',
|
|
2876
|
+
resultObjectType: null,
|
|
2817
2877
|
pathParams: {
|
|
2818
2878
|
storyID: '需求ID',
|
|
2819
2879
|
},
|
|
@@ -2845,6 +2905,7 @@ export const BUILTIN_MODULES = [
|
|
|
2845
2905
|
method: 'put',
|
|
2846
2906
|
path: '/stories/{storyID}/change',
|
|
2847
2907
|
resultType: 'text',
|
|
2908
|
+
resultObjectType: 'story',
|
|
2848
2909
|
pathParams: {
|
|
2849
2910
|
storyID: '需求ID',
|
|
2850
2911
|
},
|
|
@@ -2871,11 +2932,11 @@ export const BUILTIN_MODULES = [
|
|
|
2871
2932
|
},
|
|
2872
2933
|
"spec": {
|
|
2873
2934
|
"type": "string",
|
|
2874
|
-
"description": "需求描述"
|
|
2935
|
+
"description": "需求描述 (HTML)"
|
|
2875
2936
|
},
|
|
2876
2937
|
"verify": {
|
|
2877
2938
|
"type": "string",
|
|
2878
|
-
"description": "验收标准"
|
|
2939
|
+
"description": "验收标准 (HTML)"
|
|
2879
2940
|
}
|
|
2880
2941
|
},
|
|
2881
2942
|
"required": [
|
|
@@ -2899,6 +2960,7 @@ export const BUILTIN_MODULES = [
|
|
|
2899
2960
|
method: 'put',
|
|
2900
2961
|
path: '/stories/{storyID}/close',
|
|
2901
2962
|
resultType: 'text',
|
|
2963
|
+
resultObjectType: 'story',
|
|
2902
2964
|
pathParams: {
|
|
2903
2965
|
storyID: '需求ID',
|
|
2904
2966
|
},
|
|
@@ -2942,6 +3004,7 @@ export const BUILTIN_MODULES = [
|
|
|
2942
3004
|
method: 'get',
|
|
2943
3005
|
path: '/products/{productID}/epics',
|
|
2944
3006
|
resultType: 'list',
|
|
3007
|
+
resultObjectType: 'epic',
|
|
2945
3008
|
pagerGetter: 'pager',
|
|
2946
3009
|
resultGetter: 'epics',
|
|
2947
3010
|
pathParams: {
|
|
@@ -3015,6 +3078,7 @@ export const BUILTIN_MODULES = [
|
|
|
3015
3078
|
method: 'post',
|
|
3016
3079
|
path: '/epics',
|
|
3017
3080
|
resultType: 'object',
|
|
3081
|
+
resultObjectType: 'epic',
|
|
3018
3082
|
requestBody: {
|
|
3019
3083
|
required: true,
|
|
3020
3084
|
type: 'object',
|
|
@@ -3051,7 +3115,7 @@ export const BUILTIN_MODULES = [
|
|
|
3051
3115
|
},
|
|
3052
3116
|
"spec": {
|
|
3053
3117
|
"type": "string",
|
|
3054
|
-
"description": "业务需求描述"
|
|
3118
|
+
"description": "业务需求描述 (HTML)"
|
|
3055
3119
|
},
|
|
3056
3120
|
"category": {
|
|
3057
3121
|
"type": "integer",
|
|
@@ -3064,7 +3128,7 @@ export const BUILTIN_MODULES = [
|
|
|
3064
3128
|
},
|
|
3065
3129
|
"verify": {
|
|
3066
3130
|
"type": "string",
|
|
3067
|
-
"description": "验收标准"
|
|
3131
|
+
"description": "验收标准 (HTML)"
|
|
3068
3132
|
},
|
|
3069
3133
|
"assignedTo": {
|
|
3070
3134
|
"type": "string",
|
|
@@ -3110,6 +3174,7 @@ export const BUILTIN_MODULES = [
|
|
|
3110
3174
|
method: 'get',
|
|
3111
3175
|
path: '/epics/{storyID}',
|
|
3112
3176
|
resultType: 'object',
|
|
3177
|
+
resultObjectType: 'epic',
|
|
3113
3178
|
pathParams: {
|
|
3114
3179
|
storyID: '需求ID',
|
|
3115
3180
|
},
|
|
@@ -3122,6 +3187,7 @@ export const BUILTIN_MODULES = [
|
|
|
3122
3187
|
method: 'put',
|
|
3123
3188
|
path: '/epics/{storyID}',
|
|
3124
3189
|
resultType: 'object',
|
|
3190
|
+
resultObjectType: 'epic',
|
|
3125
3191
|
pathParams: {
|
|
3126
3192
|
storyID: '需求ID',
|
|
3127
3193
|
},
|
|
@@ -3192,6 +3258,7 @@ export const BUILTIN_MODULES = [
|
|
|
3192
3258
|
method: 'delete',
|
|
3193
3259
|
path: '/epics/{storyID}',
|
|
3194
3260
|
resultType: 'text',
|
|
3261
|
+
resultObjectType: null,
|
|
3195
3262
|
pathParams: {
|
|
3196
3263
|
storyID: '需求ID',
|
|
3197
3264
|
},
|
|
@@ -3203,6 +3270,7 @@ export const BUILTIN_MODULES = [
|
|
|
3203
3270
|
method: 'put',
|
|
3204
3271
|
path: '/epics/{storyID}/activate',
|
|
3205
3272
|
resultType: 'text',
|
|
3273
|
+
resultObjectType: null,
|
|
3206
3274
|
pathParams: {
|
|
3207
3275
|
storyID: '需求ID',
|
|
3208
3276
|
},
|
|
@@ -3234,6 +3302,7 @@ export const BUILTIN_MODULES = [
|
|
|
3234
3302
|
method: 'put',
|
|
3235
3303
|
path: '/epics/{storyID}/change',
|
|
3236
3304
|
resultType: 'text',
|
|
3305
|
+
resultObjectType: 'epic',
|
|
3237
3306
|
pathParams: {
|
|
3238
3307
|
storyID: '需求ID',
|
|
3239
3308
|
},
|
|
@@ -3260,11 +3329,11 @@ export const BUILTIN_MODULES = [
|
|
|
3260
3329
|
},
|
|
3261
3330
|
"spec": {
|
|
3262
3331
|
"type": "string",
|
|
3263
|
-
"description": "需求描述"
|
|
3332
|
+
"description": "需求描述 (HTML)"
|
|
3264
3333
|
},
|
|
3265
3334
|
"verify": {
|
|
3266
3335
|
"type": "string",
|
|
3267
|
-
"description": "验收标准"
|
|
3336
|
+
"description": "验收标准 (HTML)"
|
|
3268
3337
|
}
|
|
3269
3338
|
},
|
|
3270
3339
|
"required": [
|
|
@@ -3288,6 +3357,7 @@ export const BUILTIN_MODULES = [
|
|
|
3288
3357
|
method: 'put',
|
|
3289
3358
|
path: '/epics/{storyID}/close',
|
|
3290
3359
|
resultType: 'text',
|
|
3360
|
+
resultObjectType: 'epic',
|
|
3291
3361
|
pathParams: {
|
|
3292
3362
|
storyID: '需求ID',
|
|
3293
3363
|
},
|
|
@@ -3331,6 +3401,7 @@ export const BUILTIN_MODULES = [
|
|
|
3331
3401
|
method: 'get',
|
|
3332
3402
|
path: '/products/{productID}/requirements',
|
|
3333
3403
|
resultType: 'list',
|
|
3404
|
+
resultObjectType: 'requirement',
|
|
3334
3405
|
pagerGetter: 'pager',
|
|
3335
3406
|
resultGetter: 'requirements',
|
|
3336
3407
|
pathParams: {
|
|
@@ -3404,6 +3475,7 @@ export const BUILTIN_MODULES = [
|
|
|
3404
3475
|
method: 'post',
|
|
3405
3476
|
path: '/requirements',
|
|
3406
3477
|
resultType: 'object',
|
|
3478
|
+
resultObjectType: 'requirement',
|
|
3407
3479
|
requestBody: {
|
|
3408
3480
|
required: true,
|
|
3409
3481
|
type: 'object',
|
|
@@ -3440,7 +3512,7 @@ export const BUILTIN_MODULES = [
|
|
|
3440
3512
|
},
|
|
3441
3513
|
"spec": {
|
|
3442
3514
|
"type": "string",
|
|
3443
|
-
"description": "用户需求描述"
|
|
3515
|
+
"description": "用户需求描述 (HTML)"
|
|
3444
3516
|
},
|
|
3445
3517
|
"category": {
|
|
3446
3518
|
"type": "integer",
|
|
@@ -3453,7 +3525,7 @@ export const BUILTIN_MODULES = [
|
|
|
3453
3525
|
},
|
|
3454
3526
|
"verify": {
|
|
3455
3527
|
"type": "string",
|
|
3456
|
-
"description": "验收标准"
|
|
3528
|
+
"description": "验收标准 (HTML)"
|
|
3457
3529
|
},
|
|
3458
3530
|
"assignedTo": {
|
|
3459
3531
|
"type": "string",
|
|
@@ -3499,6 +3571,7 @@ export const BUILTIN_MODULES = [
|
|
|
3499
3571
|
method: 'get',
|
|
3500
3572
|
path: '/requirements/{storyID}',
|
|
3501
3573
|
resultType: 'object',
|
|
3574
|
+
resultObjectType: 'requirement',
|
|
3502
3575
|
pathParams: {
|
|
3503
3576
|
storyID: '需求ID',
|
|
3504
3577
|
},
|
|
@@ -3511,6 +3584,7 @@ export const BUILTIN_MODULES = [
|
|
|
3511
3584
|
method: 'put',
|
|
3512
3585
|
path: '/requirements/{storyID}',
|
|
3513
3586
|
resultType: 'object',
|
|
3587
|
+
resultObjectType: 'requirement',
|
|
3514
3588
|
pathParams: {
|
|
3515
3589
|
storyID: '需求ID',
|
|
3516
3590
|
},
|
|
@@ -3580,6 +3654,7 @@ export const BUILTIN_MODULES = [
|
|
|
3580
3654
|
method: 'delete',
|
|
3581
3655
|
path: '/requirements/{storyID}',
|
|
3582
3656
|
resultType: 'text',
|
|
3657
|
+
resultObjectType: null,
|
|
3583
3658
|
pathParams: {
|
|
3584
3659
|
storyID: '需求ID',
|
|
3585
3660
|
},
|
|
@@ -3591,6 +3666,7 @@ export const BUILTIN_MODULES = [
|
|
|
3591
3666
|
method: 'put',
|
|
3592
3667
|
path: '/requirements/{storyID}/activate',
|
|
3593
3668
|
resultType: 'text',
|
|
3669
|
+
resultObjectType: null,
|
|
3594
3670
|
pathParams: {
|
|
3595
3671
|
storyID: '需求ID',
|
|
3596
3672
|
},
|
|
@@ -3622,6 +3698,7 @@ export const BUILTIN_MODULES = [
|
|
|
3622
3698
|
method: 'put',
|
|
3623
3699
|
path: '/requirements/{storyID}/change',
|
|
3624
3700
|
resultType: 'text',
|
|
3701
|
+
resultObjectType: 'requirement',
|
|
3625
3702
|
pathParams: {
|
|
3626
3703
|
storyID: '需求ID',
|
|
3627
3704
|
},
|
|
@@ -3637,11 +3714,11 @@ export const BUILTIN_MODULES = [
|
|
|
3637
3714
|
},
|
|
3638
3715
|
"spec": {
|
|
3639
3716
|
"type": "string",
|
|
3640
|
-
"description": "需求描述"
|
|
3717
|
+
"description": "需求描述 (HTML)"
|
|
3641
3718
|
},
|
|
3642
3719
|
"verify": {
|
|
3643
3720
|
"type": "string",
|
|
3644
|
-
"description": "验收标准"
|
|
3721
|
+
"description": "验收标准 (HTML)"
|
|
3645
3722
|
},
|
|
3646
3723
|
"status": {
|
|
3647
3724
|
"type": "string",
|
|
@@ -3673,6 +3750,7 @@ export const BUILTIN_MODULES = [
|
|
|
3673
3750
|
method: 'put',
|
|
3674
3751
|
path: '/requirements/{storyID}/close',
|
|
3675
3752
|
resultType: 'text',
|
|
3753
|
+
resultObjectType: 'requirement',
|
|
3676
3754
|
pathParams: {
|
|
3677
3755
|
storyID: '需求ID',
|
|
3678
3756
|
},
|
|
@@ -3716,6 +3794,7 @@ export const BUILTIN_MODULES = [
|
|
|
3716
3794
|
method: 'get',
|
|
3717
3795
|
path: '/{scope}/{scopeID}/bugs',
|
|
3718
3796
|
resultType: 'list',
|
|
3797
|
+
resultObjectType: 'bug',
|
|
3719
3798
|
pagerGetter: 'pager',
|
|
3720
3799
|
resultGetter: 'bugs',
|
|
3721
3800
|
pathParams: {
|
|
@@ -3782,6 +3861,7 @@ export const BUILTIN_MODULES = [
|
|
|
3782
3861
|
method: 'get',
|
|
3783
3862
|
path: '/products/{productID}/bug/modules',
|
|
3784
3863
|
resultType: 'list',
|
|
3864
|
+
resultObjectType: 'module',
|
|
3785
3865
|
pathParams: {
|
|
3786
3866
|
productID: '产品ID',
|
|
3787
3867
|
},
|
|
@@ -3794,6 +3874,7 @@ export const BUILTIN_MODULES = [
|
|
|
3794
3874
|
method: 'post',
|
|
3795
3875
|
path: '/bugs',
|
|
3796
3876
|
resultType: 'object',
|
|
3877
|
+
resultObjectType: 'bug',
|
|
3797
3878
|
requestBody: {
|
|
3798
3879
|
required: true,
|
|
3799
3880
|
type: 'object',
|
|
@@ -3842,7 +3923,7 @@ export const BUILTIN_MODULES = [
|
|
|
3842
3923
|
},
|
|
3843
3924
|
"steps": {
|
|
3844
3925
|
"type": "string",
|
|
3845
|
-
"description": "重现步骤"
|
|
3926
|
+
"description": "重现步骤 (HTML)"
|
|
3846
3927
|
},
|
|
3847
3928
|
"story": {
|
|
3848
3929
|
"type": "integer",
|
|
@@ -3884,6 +3965,7 @@ export const BUILTIN_MODULES = [
|
|
|
3884
3965
|
method: 'get',
|
|
3885
3966
|
path: '/bugs/{bugID}',
|
|
3886
3967
|
resultType: 'object',
|
|
3968
|
+
resultObjectType: 'bug',
|
|
3887
3969
|
resultGetter: 'bug',
|
|
3888
3970
|
pathParams: {
|
|
3889
3971
|
bugID: 'Bug ID',
|
|
@@ -3896,6 +3978,7 @@ export const BUILTIN_MODULES = [
|
|
|
3896
3978
|
method: 'put',
|
|
3897
3979
|
path: '/bugs/{bugID}',
|
|
3898
3980
|
resultType: 'object',
|
|
3981
|
+
resultObjectType: 'bug',
|
|
3899
3982
|
pathParams: {
|
|
3900
3983
|
bugID: 'Bug ID',
|
|
3901
3984
|
},
|
|
@@ -3932,7 +4015,7 @@ export const BUILTIN_MODULES = [
|
|
|
3932
4015
|
},
|
|
3933
4016
|
"steps": {
|
|
3934
4017
|
"type": "string",
|
|
3935
|
-
"description": "重现步骤"
|
|
4018
|
+
"description": "重现步骤 (HTML)"
|
|
3936
4019
|
},
|
|
3937
4020
|
"project": {
|
|
3938
4021
|
"type": "integer",
|
|
@@ -3978,6 +4061,7 @@ export const BUILTIN_MODULES = [
|
|
|
3978
4061
|
method: 'put',
|
|
3979
4062
|
path: '/bug/modules/{moduleID}',
|
|
3980
4063
|
resultType: 'object',
|
|
4064
|
+
resultObjectType: null,
|
|
3981
4065
|
pathParams: {
|
|
3982
4066
|
moduleID: '模块ID',
|
|
3983
4067
|
},
|
|
@@ -4011,6 +4095,7 @@ export const BUILTIN_MODULES = [
|
|
|
4011
4095
|
method: 'delete',
|
|
4012
4096
|
path: '/bugs/{bugID}',
|
|
4013
4097
|
resultType: 'text',
|
|
4098
|
+
resultObjectType: null,
|
|
4014
4099
|
pathParams: {
|
|
4015
4100
|
bugID: 'Bug ID',
|
|
4016
4101
|
},
|
|
@@ -4022,6 +4107,7 @@ export const BUILTIN_MODULES = [
|
|
|
4022
4107
|
method: 'delete',
|
|
4023
4108
|
path: '/bug/modules/{moduleID}',
|
|
4024
4109
|
resultType: 'text',
|
|
4110
|
+
resultObjectType: null,
|
|
4025
4111
|
pathParams: {
|
|
4026
4112
|
moduleID: '模块ID',
|
|
4027
4113
|
},
|
|
@@ -4033,6 +4119,7 @@ export const BUILTIN_MODULES = [
|
|
|
4033
4119
|
method: 'put',
|
|
4034
4120
|
path: '/bugs/{bugID}/activate',
|
|
4035
4121
|
resultType: 'text',
|
|
4122
|
+
resultObjectType: 'bug',
|
|
4036
4123
|
pathParams: {
|
|
4037
4124
|
bugID: 'Bug ID',
|
|
4038
4125
|
},
|
|
@@ -4074,6 +4161,7 @@ export const BUILTIN_MODULES = [
|
|
|
4074
4161
|
method: 'put',
|
|
4075
4162
|
path: '/bugs/{bugID}/close',
|
|
4076
4163
|
resultType: 'text',
|
|
4164
|
+
resultObjectType: 'bug',
|
|
4077
4165
|
pathParams: {
|
|
4078
4166
|
bugID: 'Bug ID',
|
|
4079
4167
|
},
|
|
@@ -4098,6 +4186,7 @@ export const BUILTIN_MODULES = [
|
|
|
4098
4186
|
method: 'put',
|
|
4099
4187
|
path: '/bugs/{bugID}/confirm',
|
|
4100
4188
|
resultType: 'text',
|
|
4189
|
+
resultObjectType: 'bug',
|
|
4101
4190
|
pathParams: {
|
|
4102
4191
|
bugID: 'Bug ID',
|
|
4103
4192
|
},
|
|
@@ -4159,6 +4248,7 @@ export const BUILTIN_MODULES = [
|
|
|
4159
4248
|
method: 'put',
|
|
4160
4249
|
path: '/bugs/{bugID}/resolve',
|
|
4161
4250
|
resultType: 'text',
|
|
4251
|
+
resultObjectType: 'bug',
|
|
4162
4252
|
pathParams: {
|
|
4163
4253
|
bugID: 'Bug ID',
|
|
4164
4254
|
},
|
|
@@ -4217,6 +4307,7 @@ export const BUILTIN_MODULES = [
|
|
|
4217
4307
|
method: 'get',
|
|
4218
4308
|
path: '/{scope}/{scopeID}/testcases',
|
|
4219
4309
|
resultType: 'list',
|
|
4310
|
+
resultObjectType: 'testcase',
|
|
4220
4311
|
pagerGetter: 'pager',
|
|
4221
4312
|
resultGetter: 'testcases',
|
|
4222
4313
|
pathParams: {
|
|
@@ -4281,6 +4372,7 @@ export const BUILTIN_MODULES = [
|
|
|
4281
4372
|
method: 'get',
|
|
4282
4373
|
path: '/products/{productID}/testcase/modules',
|
|
4283
4374
|
resultType: 'list',
|
|
4375
|
+
resultObjectType: 'module',
|
|
4284
4376
|
pathParams: {
|
|
4285
4377
|
productID: '产品ID',
|
|
4286
4378
|
},
|
|
@@ -4293,6 +4385,7 @@ export const BUILTIN_MODULES = [
|
|
|
4293
4385
|
method: 'post',
|
|
4294
4386
|
path: '/testcases',
|
|
4295
4387
|
resultType: 'object',
|
|
4388
|
+
resultObjectType: 'testcase',
|
|
4296
4389
|
requestBody: {
|
|
4297
4390
|
required: true,
|
|
4298
4391
|
type: 'object',
|
|
@@ -4399,6 +4492,7 @@ export const BUILTIN_MODULES = [
|
|
|
4399
4492
|
method: 'get',
|
|
4400
4493
|
path: '/testcases/{caseID}',
|
|
4401
4494
|
resultType: 'object',
|
|
4495
|
+
resultObjectType: 'testcase',
|
|
4402
4496
|
resultGetter: 'testcase',
|
|
4403
4497
|
pathParams: {
|
|
4404
4498
|
caseID: '测试用例ID',
|
|
@@ -4411,6 +4505,7 @@ export const BUILTIN_MODULES = [
|
|
|
4411
4505
|
method: 'put',
|
|
4412
4506
|
path: '/testcases/{caseID}',
|
|
4413
4507
|
resultType: 'object',
|
|
4508
|
+
resultObjectType: 'testcase',
|
|
4414
4509
|
pathParams: {
|
|
4415
4510
|
caseID: '测试用例ID',
|
|
4416
4511
|
},
|
|
@@ -4501,6 +4596,7 @@ export const BUILTIN_MODULES = [
|
|
|
4501
4596
|
method: 'put',
|
|
4502
4597
|
path: '/testcase/modules/{moduleID}',
|
|
4503
4598
|
resultType: 'object',
|
|
4599
|
+
resultObjectType: null,
|
|
4504
4600
|
pathParams: {
|
|
4505
4601
|
moduleID: '模块ID',
|
|
4506
4602
|
},
|
|
@@ -4534,6 +4630,7 @@ export const BUILTIN_MODULES = [
|
|
|
4534
4630
|
method: 'delete',
|
|
4535
4631
|
path: '/testcases/{caseID}',
|
|
4536
4632
|
resultType: 'text',
|
|
4633
|
+
resultObjectType: null,
|
|
4537
4634
|
pathParams: {
|
|
4538
4635
|
caseID: '测试用例ID',
|
|
4539
4636
|
},
|
|
@@ -4545,6 +4642,7 @@ export const BUILTIN_MODULES = [
|
|
|
4545
4642
|
method: 'delete',
|
|
4546
4643
|
path: '/testcase/modules/{moduleID}',
|
|
4547
4644
|
resultType: 'text',
|
|
4645
|
+
resultObjectType: null,
|
|
4548
4646
|
pathParams: {
|
|
4549
4647
|
moduleID: '模块ID',
|
|
4550
4648
|
},
|
|
@@ -4565,6 +4663,7 @@ export const BUILTIN_MODULES = [
|
|
|
4565
4663
|
method: 'get',
|
|
4566
4664
|
path: '/executions/{executionID}/tasks',
|
|
4567
4665
|
resultType: 'list',
|
|
4666
|
+
resultObjectType: 'task',
|
|
4568
4667
|
pagerGetter: 'pager',
|
|
4569
4668
|
resultGetter: 'tasks',
|
|
4570
4669
|
pathParams: {
|
|
@@ -4621,6 +4720,7 @@ export const BUILTIN_MODULES = [
|
|
|
4621
4720
|
method: 'get',
|
|
4622
4721
|
path: '/executions/{executionID}/task/modules',
|
|
4623
4722
|
resultType: 'list',
|
|
4723
|
+
resultObjectType: 'module',
|
|
4624
4724
|
pathParams: {
|
|
4625
4725
|
executionID: '执行ID',
|
|
4626
4726
|
},
|
|
@@ -4633,6 +4733,7 @@ export const BUILTIN_MODULES = [
|
|
|
4633
4733
|
method: 'post',
|
|
4634
4734
|
path: '/tasks',
|
|
4635
4735
|
resultType: 'object',
|
|
4736
|
+
resultObjectType: 'task',
|
|
4636
4737
|
requestBody: {
|
|
4637
4738
|
required: true,
|
|
4638
4739
|
type: 'object',
|
|
@@ -4686,7 +4787,7 @@ export const BUILTIN_MODULES = [
|
|
|
4686
4787
|
},
|
|
4687
4788
|
"desc": {
|
|
4688
4789
|
"type": "string",
|
|
4689
|
-
"description": "任务描述"
|
|
4790
|
+
"description": "任务描述 (HTML)"
|
|
4690
4791
|
}
|
|
4691
4792
|
},
|
|
4692
4793
|
"required": [
|
|
@@ -4715,6 +4816,7 @@ export const BUILTIN_MODULES = [
|
|
|
4715
4816
|
method: 'get',
|
|
4716
4817
|
path: '/tasks/{taskID}',
|
|
4717
4818
|
resultType: 'object',
|
|
4819
|
+
resultObjectType: 'task',
|
|
4718
4820
|
pathParams: {
|
|
4719
4821
|
taskID: '任务ID',
|
|
4720
4822
|
},
|
|
@@ -4727,6 +4829,7 @@ export const BUILTIN_MODULES = [
|
|
|
4727
4829
|
method: 'put',
|
|
4728
4830
|
path: '/tasks/{taskID}',
|
|
4729
4831
|
resultType: 'object',
|
|
4832
|
+
resultObjectType: 'task',
|
|
4730
4833
|
pathParams: {
|
|
4731
4834
|
taskID: '任务ID',
|
|
4732
4835
|
},
|
|
@@ -4778,7 +4881,7 @@ export const BUILTIN_MODULES = [
|
|
|
4778
4881
|
},
|
|
4779
4882
|
"desc": {
|
|
4780
4883
|
"type": "string",
|
|
4781
|
-
"description": "任务描述"
|
|
4884
|
+
"description": "任务描述 (HTML)"
|
|
4782
4885
|
}
|
|
4783
4886
|
}
|
|
4784
4887
|
},
|
|
@@ -4802,6 +4905,7 @@ export const BUILTIN_MODULES = [
|
|
|
4802
4905
|
method: 'put',
|
|
4803
4906
|
path: '/task/modules/{moduleID}',
|
|
4804
4907
|
resultType: 'object',
|
|
4908
|
+
resultObjectType: null,
|
|
4805
4909
|
pathParams: {
|
|
4806
4910
|
moduleID: '模块ID',
|
|
4807
4911
|
},
|
|
@@ -4835,6 +4939,7 @@ export const BUILTIN_MODULES = [
|
|
|
4835
4939
|
method: 'delete',
|
|
4836
4940
|
path: '/tasks/{taskID}',
|
|
4837
4941
|
resultType: 'text',
|
|
4942
|
+
resultObjectType: null,
|
|
4838
4943
|
pathParams: {
|
|
4839
4944
|
taskID: '任务ID',
|
|
4840
4945
|
},
|
|
@@ -4846,6 +4951,7 @@ export const BUILTIN_MODULES = [
|
|
|
4846
4951
|
method: 'delete',
|
|
4847
4952
|
path: '/task/modules/{moduleID}',
|
|
4848
4953
|
resultType: 'text',
|
|
4954
|
+
resultObjectType: null,
|
|
4849
4955
|
pathParams: {
|
|
4850
4956
|
moduleID: '模块ID',
|
|
4851
4957
|
},
|
|
@@ -4857,6 +4963,7 @@ export const BUILTIN_MODULES = [
|
|
|
4857
4963
|
method: 'put',
|
|
4858
4964
|
path: '/tasks/{taskID}/activate',
|
|
4859
4965
|
resultType: 'text',
|
|
4966
|
+
resultObjectType: null,
|
|
4860
4967
|
pathParams: {
|
|
4861
4968
|
taskID: '任务ID',
|
|
4862
4969
|
},
|
|
@@ -4894,6 +5001,7 @@ export const BUILTIN_MODULES = [
|
|
|
4894
5001
|
method: 'put',
|
|
4895
5002
|
path: '/tasks/{taskID}/close',
|
|
4896
5003
|
resultType: 'text',
|
|
5004
|
+
resultObjectType: null,
|
|
4897
5005
|
pathParams: {
|
|
4898
5006
|
taskID: '任务ID',
|
|
4899
5007
|
},
|
|
@@ -4918,6 +5026,7 @@ export const BUILTIN_MODULES = [
|
|
|
4918
5026
|
method: 'put',
|
|
4919
5027
|
path: '/tasks/{taskID}/finish',
|
|
4920
5028
|
resultType: 'text',
|
|
5029
|
+
resultObjectType: null,
|
|
4921
5030
|
pathParams: {
|
|
4922
5031
|
taskID: '任务ID',
|
|
4923
5032
|
},
|
|
@@ -4976,6 +5085,7 @@ export const BUILTIN_MODULES = [
|
|
|
4976
5085
|
method: 'put',
|
|
4977
5086
|
path: '/tasks/{taskID}/start',
|
|
4978
5087
|
resultType: 'text',
|
|
5088
|
+
resultObjectType: null,
|
|
4979
5089
|
pathParams: {
|
|
4980
5090
|
taskID: '任务ID',
|
|
4981
5091
|
},
|
|
@@ -5036,6 +5146,7 @@ export const BUILTIN_MODULES = [
|
|
|
5036
5146
|
method: 'get',
|
|
5037
5147
|
path: '/issues',
|
|
5038
5148
|
resultType: 'list',
|
|
5149
|
+
resultObjectType: 'issue',
|
|
5039
5150
|
pagerGetter: 'pager',
|
|
5040
5151
|
resultGetter: 'issues',
|
|
5041
5152
|
params: [
|
|
@@ -5110,6 +5221,7 @@ export const BUILTIN_MODULES = [
|
|
|
5110
5221
|
method: 'get',
|
|
5111
5222
|
path: '/projects/{projectID}/issues',
|
|
5112
5223
|
resultType: 'list',
|
|
5224
|
+
resultObjectType: 'issue',
|
|
5113
5225
|
pagerGetter: 'pager',
|
|
5114
5226
|
resultGetter: 'issues',
|
|
5115
5227
|
pathParams: {
|
|
@@ -5187,6 +5299,7 @@ export const BUILTIN_MODULES = [
|
|
|
5187
5299
|
method: 'get',
|
|
5188
5300
|
path: '/executions/{executionID}/issues',
|
|
5189
5301
|
resultType: 'list',
|
|
5302
|
+
resultObjectType: 'issue',
|
|
5190
5303
|
pagerGetter: 'pager',
|
|
5191
5304
|
resultGetter: 'issues',
|
|
5192
5305
|
pathParams: {
|
|
@@ -5264,6 +5377,7 @@ export const BUILTIN_MODULES = [
|
|
|
5264
5377
|
method: 'post',
|
|
5265
5378
|
path: '/issues',
|
|
5266
5379
|
resultType: 'object',
|
|
5380
|
+
resultObjectType: 'issue',
|
|
5267
5381
|
requestBody: {
|
|
5268
5382
|
required: true,
|
|
5269
5383
|
type: 'object',
|
|
@@ -5317,7 +5431,7 @@ export const BUILTIN_MODULES = [
|
|
|
5317
5431
|
},
|
|
5318
5432
|
"desc": {
|
|
5319
5433
|
"type": "string",
|
|
5320
|
-
"description": "描述"
|
|
5434
|
+
"description": "描述 (HTML)"
|
|
5321
5435
|
}
|
|
5322
5436
|
},
|
|
5323
5437
|
"required": [
|
|
@@ -5348,6 +5462,7 @@ export const BUILTIN_MODULES = [
|
|
|
5348
5462
|
method: 'get',
|
|
5349
5463
|
path: '/issues/{issueID}',
|
|
5350
5464
|
resultType: 'object',
|
|
5465
|
+
resultObjectType: 'issue',
|
|
5351
5466
|
resultGetter: 'issue',
|
|
5352
5467
|
pathParams: {
|
|
5353
5468
|
issueID: '问题ID',
|
|
@@ -5369,6 +5484,7 @@ export const BUILTIN_MODULES = [
|
|
|
5369
5484
|
method: 'get',
|
|
5370
5485
|
path: '/risks',
|
|
5371
5486
|
resultType: 'list',
|
|
5487
|
+
resultObjectType: 'risk',
|
|
5372
5488
|
pagerGetter: 'pager',
|
|
5373
5489
|
resultGetter: 'risks',
|
|
5374
5490
|
params: [
|
|
@@ -5443,6 +5559,7 @@ export const BUILTIN_MODULES = [
|
|
|
5443
5559
|
method: 'get',
|
|
5444
5560
|
path: '/projects/{projectID}/risks',
|
|
5445
5561
|
resultType: 'list',
|
|
5562
|
+
resultObjectType: 'risk',
|
|
5446
5563
|
pagerGetter: 'pager',
|
|
5447
5564
|
resultGetter: 'risks',
|
|
5448
5565
|
pathParams: {
|
|
@@ -5520,6 +5637,7 @@ export const BUILTIN_MODULES = [
|
|
|
5520
5637
|
method: 'get',
|
|
5521
5638
|
path: '/executions/{executionID}/risks',
|
|
5522
5639
|
resultType: 'list',
|
|
5640
|
+
resultObjectType: 'risk',
|
|
5523
5641
|
pagerGetter: 'pager',
|
|
5524
5642
|
resultGetter: 'risks',
|
|
5525
5643
|
pathParams: {
|
|
@@ -5597,6 +5715,7 @@ export const BUILTIN_MODULES = [
|
|
|
5597
5715
|
method: 'post',
|
|
5598
5716
|
path: '/risks',
|
|
5599
5717
|
resultType: 'object',
|
|
5718
|
+
resultObjectType: 'risk',
|
|
5600
5719
|
requestBody: {
|
|
5601
5720
|
required: true,
|
|
5602
5721
|
type: 'object',
|
|
@@ -5663,11 +5782,11 @@ export const BUILTIN_MODULES = [
|
|
|
5663
5782
|
},
|
|
5664
5783
|
"prevention": {
|
|
5665
5784
|
"type": "string",
|
|
5666
|
-
"description": "应对措施"
|
|
5785
|
+
"description": "应对措施 (HTML)"
|
|
5667
5786
|
},
|
|
5668
5787
|
"remedy": {
|
|
5669
5788
|
"type": "string",
|
|
5670
|
-
"description": "响应措施"
|
|
5789
|
+
"description": "响应措施 (HTML)"
|
|
5671
5790
|
}
|
|
5672
5791
|
},
|
|
5673
5792
|
"required": [
|
|
@@ -5702,6 +5821,7 @@ export const BUILTIN_MODULES = [
|
|
|
5702
5821
|
method: 'get',
|
|
5703
5822
|
path: '/risks/{riskID}',
|
|
5704
5823
|
resultType: 'object',
|
|
5824
|
+
resultObjectType: 'risk',
|
|
5705
5825
|
resultGetter: 'risk',
|
|
5706
5826
|
pathParams: {
|
|
5707
5827
|
riskID: '风险ID',
|
|
@@ -5714,6 +5834,7 @@ export const BUILTIN_MODULES = [
|
|
|
5714
5834
|
method: 'put',
|
|
5715
5835
|
path: '/risks/{riskID}',
|
|
5716
5836
|
resultType: 'object',
|
|
5837
|
+
resultObjectType: null,
|
|
5717
5838
|
pathParams: {
|
|
5718
5839
|
riskID: '风险ID',
|
|
5719
5840
|
},
|
|
@@ -5773,15 +5894,15 @@ export const BUILTIN_MODULES = [
|
|
|
5773
5894
|
},
|
|
5774
5895
|
"prevention": {
|
|
5775
5896
|
"type": "string",
|
|
5776
|
-
"description": "应对措施"
|
|
5897
|
+
"description": "应对措施 (HTML)"
|
|
5777
5898
|
},
|
|
5778
5899
|
"remedy": {
|
|
5779
5900
|
"type": "string",
|
|
5780
|
-
"description": "响应措施"
|
|
5901
|
+
"description": "响应措施 (HTML)"
|
|
5781
5902
|
},
|
|
5782
5903
|
"resolution": {
|
|
5783
5904
|
"type": "string",
|
|
5784
|
-
"description": "解决措施"
|
|
5905
|
+
"description": "解决措施 (HTML)"
|
|
5785
5906
|
}
|
|
5786
5907
|
},
|
|
5787
5908
|
"required": [
|
|
@@ -5819,6 +5940,7 @@ export const BUILTIN_MODULES = [
|
|
|
5819
5940
|
method: 'get',
|
|
5820
5941
|
path: '/meetings',
|
|
5821
5942
|
resultType: 'list',
|
|
5943
|
+
resultObjectType: 'meeting',
|
|
5822
5944
|
pagerGetter: 'pager',
|
|
5823
5945
|
resultGetter: 'meetings',
|
|
5824
5946
|
params: [
|
|
@@ -5887,6 +6009,7 @@ export const BUILTIN_MODULES = [
|
|
|
5887
6009
|
method: 'get',
|
|
5888
6010
|
path: '/projects/{projectID}/meetings',
|
|
5889
6011
|
resultType: 'list',
|
|
6012
|
+
resultObjectType: 'meeting',
|
|
5890
6013
|
pagerGetter: 'pager',
|
|
5891
6014
|
resultGetter: 'meetings',
|
|
5892
6015
|
pathParams: {
|
|
@@ -5958,6 +6081,7 @@ export const BUILTIN_MODULES = [
|
|
|
5958
6081
|
method: 'get',
|
|
5959
6082
|
path: '/executions/{executionID}/meetings',
|
|
5960
6083
|
resultType: 'list',
|
|
6084
|
+
resultObjectType: 'meeting',
|
|
5961
6085
|
pagerGetter: 'pager',
|
|
5962
6086
|
resultGetter: 'meetings',
|
|
5963
6087
|
pathParams: {
|
|
@@ -6029,6 +6153,7 @@ export const BUILTIN_MODULES = [
|
|
|
6029
6153
|
method: 'post',
|
|
6030
6154
|
path: '/meetings',
|
|
6031
6155
|
resultType: 'object',
|
|
6156
|
+
resultObjectType: 'meeting',
|
|
6032
6157
|
requestBody: {
|
|
6033
6158
|
required: true,
|
|
6034
6159
|
type: 'object',
|
|
@@ -6126,6 +6251,7 @@ export const BUILTIN_MODULES = [
|
|
|
6126
6251
|
method: 'get',
|
|
6127
6252
|
path: '/meetings/{meetingID}',
|
|
6128
6253
|
resultType: 'object',
|
|
6254
|
+
resultObjectType: 'meeting',
|
|
6129
6255
|
resultGetter: 'meeting',
|
|
6130
6256
|
pathParams: {
|
|
6131
6257
|
meetingID: '会议ID',
|
|
@@ -6138,6 +6264,7 @@ export const BUILTIN_MODULES = [
|
|
|
6138
6264
|
method: 'put',
|
|
6139
6265
|
path: '/meetings/{meetingID}',
|
|
6140
6266
|
resultType: 'object',
|
|
6267
|
+
resultObjectType: null,
|
|
6141
6268
|
pathParams: {
|
|
6142
6269
|
meetingID: '会议ID',
|
|
6143
6270
|
},
|
|
@@ -6225,6 +6352,7 @@ export const BUILTIN_MODULES = [
|
|
|
6225
6352
|
method: 'delete',
|
|
6226
6353
|
path: '/meetings/{meetingID}',
|
|
6227
6354
|
resultType: 'text',
|
|
6355
|
+
resultObjectType: null,
|
|
6228
6356
|
pathParams: {
|
|
6229
6357
|
meetingID: '会议ID',
|
|
6230
6358
|
},
|
|
@@ -6236,6 +6364,7 @@ export const BUILTIN_MODULES = [
|
|
|
6236
6364
|
method: 'put',
|
|
6237
6365
|
path: '/meetings/{meetingID}/minutes',
|
|
6238
6366
|
resultType: 'text',
|
|
6367
|
+
resultObjectType: null,
|
|
6239
6368
|
pathParams: {
|
|
6240
6369
|
meetingID: '会议ID',
|
|
6241
6370
|
},
|
|
@@ -6247,7 +6376,7 @@ export const BUILTIN_MODULES = [
|
|
|
6247
6376
|
"properties": {
|
|
6248
6377
|
"minutes": {
|
|
6249
6378
|
"type": "string",
|
|
6250
|
-
"description": "会议纪要"
|
|
6379
|
+
"description": "会议纪要 (HTML)"
|
|
6251
6380
|
}
|
|
6252
6381
|
}
|
|
6253
6382
|
},
|
|
@@ -6272,6 +6401,7 @@ export const BUILTIN_MODULES = [
|
|
|
6272
6401
|
method: 'get',
|
|
6273
6402
|
path: '/products/{productID}/feedbacks',
|
|
6274
6403
|
resultType: 'list',
|
|
6404
|
+
resultObjectType: 'feedback',
|
|
6275
6405
|
pagerGetter: 'pager',
|
|
6276
6406
|
resultGetter: 'feedbacks',
|
|
6277
6407
|
pathParams: {
|
|
@@ -6347,6 +6477,7 @@ export const BUILTIN_MODULES = [
|
|
|
6347
6477
|
method: 'post',
|
|
6348
6478
|
path: '/feedbacks',
|
|
6349
6479
|
resultType: 'object',
|
|
6480
|
+
resultObjectType: 'feedback',
|
|
6350
6481
|
requestBody: {
|
|
6351
6482
|
required: true,
|
|
6352
6483
|
type: 'object',
|
|
@@ -6373,7 +6504,7 @@ export const BUILTIN_MODULES = [
|
|
|
6373
6504
|
},
|
|
6374
6505
|
"desc": {
|
|
6375
6506
|
"type": "string",
|
|
6376
|
-
"description": "描述"
|
|
6507
|
+
"description": "描述 (HTML)"
|
|
6377
6508
|
},
|
|
6378
6509
|
"feedbackBy": {
|
|
6379
6510
|
"type": "string",
|
|
@@ -6407,6 +6538,7 @@ export const BUILTIN_MODULES = [
|
|
|
6407
6538
|
method: 'post',
|
|
6408
6539
|
path: '/feedbacks/{feedbackID}/bugs',
|
|
6409
6540
|
resultType: 'object',
|
|
6541
|
+
resultObjectType: 'bug',
|
|
6410
6542
|
pathParams: {
|
|
6411
6543
|
feedbackID: '反馈ID',
|
|
6412
6544
|
},
|
|
@@ -6477,6 +6609,7 @@ export const BUILTIN_MODULES = [
|
|
|
6477
6609
|
method: 'post',
|
|
6478
6610
|
path: '/feedbacks/{feedbackID}/tickets',
|
|
6479
6611
|
resultType: 'object',
|
|
6612
|
+
resultObjectType: 'ticket',
|
|
6480
6613
|
pathParams: {
|
|
6481
6614
|
feedbackID: '反馈ID',
|
|
6482
6615
|
},
|
|
@@ -6506,7 +6639,7 @@ export const BUILTIN_MODULES = [
|
|
|
6506
6639
|
},
|
|
6507
6640
|
"desc": {
|
|
6508
6641
|
"type": "string",
|
|
6509
|
-
"description": "工单描述"
|
|
6642
|
+
"description": "工单描述 (HTML)"
|
|
6510
6643
|
}
|
|
6511
6644
|
},
|
|
6512
6645
|
"required": [
|
|
@@ -6531,6 +6664,7 @@ export const BUILTIN_MODULES = [
|
|
|
6531
6664
|
method: 'post',
|
|
6532
6665
|
path: '/feedbacks/{feedbackID}/todos',
|
|
6533
6666
|
resultType: 'object',
|
|
6667
|
+
resultObjectType: null,
|
|
6534
6668
|
pathParams: {
|
|
6535
6669
|
feedbackID: '反馈ID',
|
|
6536
6670
|
},
|
|
@@ -6567,6 +6701,7 @@ export const BUILTIN_MODULES = [
|
|
|
6567
6701
|
method: 'post',
|
|
6568
6702
|
path: '/feedbacks/{feedbackID}/stories',
|
|
6569
6703
|
resultType: 'object',
|
|
6704
|
+
resultObjectType: 'story',
|
|
6570
6705
|
pathParams: {
|
|
6571
6706
|
feedbackID: '反馈ID',
|
|
6572
6707
|
},
|
|
@@ -6620,6 +6755,7 @@ export const BUILTIN_MODULES = [
|
|
|
6620
6755
|
method: 'post',
|
|
6621
6756
|
path: '/feedbacks/{feedbackID}/tasks',
|
|
6622
6757
|
resultType: 'object',
|
|
6758
|
+
resultObjectType: 'task',
|
|
6623
6759
|
pathParams: {
|
|
6624
6760
|
feedbackID: '反馈ID',
|
|
6625
6761
|
},
|
|
@@ -6656,7 +6792,7 @@ export const BUILTIN_MODULES = [
|
|
|
6656
6792
|
},
|
|
6657
6793
|
"desc": {
|
|
6658
6794
|
"type": "string",
|
|
6659
|
-
"description": "任务描述"
|
|
6795
|
+
"description": "任务描述 (HTML)"
|
|
6660
6796
|
}
|
|
6661
6797
|
},
|
|
6662
6798
|
"required": [
|
|
@@ -6682,6 +6818,7 @@ export const BUILTIN_MODULES = [
|
|
|
6682
6818
|
method: 'get',
|
|
6683
6819
|
path: '/feedbacks/{feedbackID}',
|
|
6684
6820
|
resultType: 'object',
|
|
6821
|
+
resultObjectType: 'feedback',
|
|
6685
6822
|
resultGetter: 'feedback',
|
|
6686
6823
|
pathParams: {
|
|
6687
6824
|
feedbackID: '反馈ID',
|
|
@@ -6694,6 +6831,7 @@ export const BUILTIN_MODULES = [
|
|
|
6694
6831
|
method: 'put',
|
|
6695
6832
|
path: '/feedbacks/{feedbackID}',
|
|
6696
6833
|
resultType: 'object',
|
|
6834
|
+
resultObjectType: 'feedback',
|
|
6697
6835
|
pathParams: {
|
|
6698
6836
|
feedbackID: '反馈ID',
|
|
6699
6837
|
},
|
|
@@ -6723,7 +6861,7 @@ export const BUILTIN_MODULES = [
|
|
|
6723
6861
|
},
|
|
6724
6862
|
"desc": {
|
|
6725
6863
|
"type": "string",
|
|
6726
|
-
"description": "描述"
|
|
6864
|
+
"description": "描述 (HTML)"
|
|
6727
6865
|
},
|
|
6728
6866
|
"feedbackBy": {
|
|
6729
6867
|
"type": "string",
|
|
@@ -6757,6 +6895,7 @@ export const BUILTIN_MODULES = [
|
|
|
6757
6895
|
method: 'delete',
|
|
6758
6896
|
path: '/feedbacks/{feedbackID}',
|
|
6759
6897
|
resultType: 'text',
|
|
6898
|
+
resultObjectType: null,
|
|
6760
6899
|
pathParams: {
|
|
6761
6900
|
feedbackID: '反馈ID',
|
|
6762
6901
|
},
|
|
@@ -6768,6 +6907,7 @@ export const BUILTIN_MODULES = [
|
|
|
6768
6907
|
method: 'put',
|
|
6769
6908
|
path: '/feedbacks/{feedbackID}/activate',
|
|
6770
6909
|
resultType: 'text',
|
|
6910
|
+
resultObjectType: null,
|
|
6771
6911
|
pathParams: {
|
|
6772
6912
|
feedbackID: '反馈ID',
|
|
6773
6913
|
},
|
|
@@ -6799,6 +6939,7 @@ export const BUILTIN_MODULES = [
|
|
|
6799
6939
|
method: 'put',
|
|
6800
6940
|
path: '/feedbacks/{feedbackID}/close',
|
|
6801
6941
|
resultType: 'text',
|
|
6942
|
+
resultObjectType: null,
|
|
6802
6943
|
pathParams: {
|
|
6803
6944
|
feedbackID: '反馈ID',
|
|
6804
6945
|
},
|
|
@@ -6847,6 +6988,7 @@ export const BUILTIN_MODULES = [
|
|
|
6847
6988
|
method: 'get',
|
|
6848
6989
|
path: '/products/{productID}/tickets',
|
|
6849
6990
|
resultType: 'list',
|
|
6991
|
+
resultObjectType: 'ticket',
|
|
6850
6992
|
pagerGetter: 'pager',
|
|
6851
6993
|
resultGetter: 'tickets',
|
|
6852
6994
|
pathParams: {
|
|
@@ -6923,6 +7065,7 @@ export const BUILTIN_MODULES = [
|
|
|
6923
7065
|
method: 'post',
|
|
6924
7066
|
path: '/tickets',
|
|
6925
7067
|
resultType: 'object',
|
|
7068
|
+
resultObjectType: 'ticket',
|
|
6926
7069
|
requestBody: {
|
|
6927
7070
|
required: true,
|
|
6928
7071
|
type: 'object',
|
|
@@ -6949,7 +7092,7 @@ export const BUILTIN_MODULES = [
|
|
|
6949
7092
|
},
|
|
6950
7093
|
"desc": {
|
|
6951
7094
|
"type": "string",
|
|
6952
|
-
"description": "描述"
|
|
7095
|
+
"description": "描述 (HTML)"
|
|
6953
7096
|
},
|
|
6954
7097
|
"assignedTo": {
|
|
6955
7098
|
"type": "string",
|
|
@@ -6993,6 +7136,7 @@ export const BUILTIN_MODULES = [
|
|
|
6993
7136
|
method: 'post',
|
|
6994
7137
|
path: '/tickets/{ticketID}/stories',
|
|
6995
7138
|
resultType: 'object',
|
|
7139
|
+
resultObjectType: 'story',
|
|
6996
7140
|
pathParams: {
|
|
6997
7141
|
ticketID: '工单ID',
|
|
6998
7142
|
},
|
|
@@ -7046,6 +7190,7 @@ export const BUILTIN_MODULES = [
|
|
|
7046
7190
|
method: 'post',
|
|
7047
7191
|
path: '/tickets/{ticketID}/bugs',
|
|
7048
7192
|
resultType: 'object',
|
|
7193
|
+
resultObjectType: 'bug',
|
|
7049
7194
|
pathParams: {
|
|
7050
7195
|
ticketID: '工单ID',
|
|
7051
7196
|
},
|
|
@@ -7116,6 +7261,7 @@ export const BUILTIN_MODULES = [
|
|
|
7116
7261
|
method: 'get',
|
|
7117
7262
|
path: '/tickets/{ticketID}',
|
|
7118
7263
|
resultType: 'object',
|
|
7264
|
+
resultObjectType: 'ticket',
|
|
7119
7265
|
resultGetter: 'ticket',
|
|
7120
7266
|
pathParams: {
|
|
7121
7267
|
ticketID: '工单ID',
|
|
@@ -7128,6 +7274,7 @@ export const BUILTIN_MODULES = [
|
|
|
7128
7274
|
method: 'put',
|
|
7129
7275
|
path: '/tickets/{ticketID}',
|
|
7130
7276
|
resultType: 'object',
|
|
7277
|
+
resultObjectType: null,
|
|
7131
7278
|
pathParams: {
|
|
7132
7279
|
ticketID: '工单ID',
|
|
7133
7280
|
},
|
|
@@ -7157,7 +7304,7 @@ export const BUILTIN_MODULES = [
|
|
|
7157
7304
|
},
|
|
7158
7305
|
"desc": {
|
|
7159
7306
|
"type": "string",
|
|
7160
|
-
"description": "描述"
|
|
7307
|
+
"description": "描述 (HTML)"
|
|
7161
7308
|
},
|
|
7162
7309
|
"assignedTo": {
|
|
7163
7310
|
"type": "string",
|
|
@@ -7197,6 +7344,7 @@ export const BUILTIN_MODULES = [
|
|
|
7197
7344
|
method: 'delete',
|
|
7198
7345
|
path: '/tickets/{ticketID}',
|
|
7199
7346
|
resultType: 'text',
|
|
7347
|
+
resultObjectType: null,
|
|
7200
7348
|
pathParams: {
|
|
7201
7349
|
ticketID: '工单ID',
|
|
7202
7350
|
},
|
|
@@ -7208,6 +7356,7 @@ export const BUILTIN_MODULES = [
|
|
|
7208
7356
|
method: 'put',
|
|
7209
7357
|
path: '/tickets/{ticketID}/activate',
|
|
7210
7358
|
resultType: 'text',
|
|
7359
|
+
resultObjectType: null,
|
|
7211
7360
|
pathParams: {
|
|
7212
7361
|
ticketID: '工单ID',
|
|
7213
7362
|
},
|
|
@@ -7239,6 +7388,7 @@ export const BUILTIN_MODULES = [
|
|
|
7239
7388
|
method: 'put',
|
|
7240
7389
|
path: '/tickets/{ticketID}/close',
|
|
7241
7390
|
resultType: 'text',
|
|
7391
|
+
resultObjectType: null,
|
|
7242
7392
|
pathParams: {
|
|
7243
7393
|
ticketID: '工单ID',
|
|
7244
7394
|
},
|
|
@@ -7283,6 +7433,7 @@ export const BUILTIN_MODULES = [
|
|
|
7283
7433
|
method: 'get',
|
|
7284
7434
|
path: '/products/{productID}/systems',
|
|
7285
7435
|
resultType: 'list',
|
|
7436
|
+
resultObjectType: 'system',
|
|
7286
7437
|
pagerGetter: 'pager',
|
|
7287
7438
|
pathParams: {
|
|
7288
7439
|
productID: '所属产品ID',
|
|
@@ -7324,6 +7475,7 @@ export const BUILTIN_MODULES = [
|
|
|
7324
7475
|
method: 'post',
|
|
7325
7476
|
path: '/systems',
|
|
7326
7477
|
resultType: 'object',
|
|
7478
|
+
resultObjectType: null,
|
|
7327
7479
|
requestBody: {
|
|
7328
7480
|
required: true,
|
|
7329
7481
|
type: 'object',
|
|
@@ -7379,6 +7531,7 @@ export const BUILTIN_MODULES = [
|
|
|
7379
7531
|
method: 'put',
|
|
7380
7532
|
path: '/systems/{systemID}',
|
|
7381
7533
|
resultType: 'object',
|
|
7534
|
+
resultObjectType: null,
|
|
7382
7535
|
pathParams: {
|
|
7383
7536
|
systemID: '应用ID',
|
|
7384
7537
|
},
|
|
@@ -7432,6 +7585,7 @@ export const BUILTIN_MODULES = [
|
|
|
7432
7585
|
method: 'get',
|
|
7433
7586
|
path: '/{scope}/{scopeID}/builds',
|
|
7434
7587
|
resultType: 'list',
|
|
7588
|
+
resultObjectType: 'build',
|
|
7435
7589
|
pagerGetter: 'pager',
|
|
7436
7590
|
resultGetter: 'builds',
|
|
7437
7591
|
pathParams: {
|
|
@@ -7504,6 +7658,7 @@ export const BUILTIN_MODULES = [
|
|
|
7504
7658
|
method: 'post',
|
|
7505
7659
|
path: '/builds',
|
|
7506
7660
|
resultType: 'object',
|
|
7661
|
+
resultObjectType: 'build',
|
|
7507
7662
|
requestBody: {
|
|
7508
7663
|
required: true,
|
|
7509
7664
|
type: 'object',
|
|
@@ -7547,7 +7702,7 @@ export const BUILTIN_MODULES = [
|
|
|
7547
7702
|
},
|
|
7548
7703
|
"desc": {
|
|
7549
7704
|
"type": "string",
|
|
7550
|
-
"description": "描述"
|
|
7705
|
+
"description": "描述 (HTML)"
|
|
7551
7706
|
}
|
|
7552
7707
|
},
|
|
7553
7708
|
"required": [
|
|
@@ -7579,6 +7734,7 @@ export const BUILTIN_MODULES = [
|
|
|
7579
7734
|
method: 'put',
|
|
7580
7735
|
path: '/builds/{buildID}',
|
|
7581
7736
|
resultType: 'object',
|
|
7737
|
+
resultObjectType: null,
|
|
7582
7738
|
pathParams: {
|
|
7583
7739
|
buildID: '版本ID',
|
|
7584
7740
|
},
|
|
@@ -7625,7 +7781,7 @@ export const BUILTIN_MODULES = [
|
|
|
7625
7781
|
},
|
|
7626
7782
|
"desc": {
|
|
7627
7783
|
"type": "string",
|
|
7628
|
-
"description": "描述"
|
|
7784
|
+
"description": "描述 (HTML)"
|
|
7629
7785
|
}
|
|
7630
7786
|
},
|
|
7631
7787
|
"required": [
|
|
@@ -7657,6 +7813,7 @@ export const BUILTIN_MODULES = [
|
|
|
7657
7813
|
method: 'delete',
|
|
7658
7814
|
path: '/builds/{buildID}',
|
|
7659
7815
|
resultType: 'text',
|
|
7816
|
+
resultObjectType: null,
|
|
7660
7817
|
pathParams: {
|
|
7661
7818
|
buildID: '版本ID',
|
|
7662
7819
|
},
|
|
@@ -7677,6 +7834,7 @@ export const BUILTIN_MODULES = [
|
|
|
7677
7834
|
method: 'get',
|
|
7678
7835
|
path: '/{scope}/{scopeID}/testtasks',
|
|
7679
7836
|
resultType: 'list',
|
|
7837
|
+
resultObjectType: 'testtask',
|
|
7680
7838
|
pagerGetter: 'pager',
|
|
7681
7839
|
resultGetter: 'testtasks',
|
|
7682
7840
|
pathParams: {
|
|
@@ -7733,6 +7891,7 @@ export const BUILTIN_MODULES = [
|
|
|
7733
7891
|
method: 'post',
|
|
7734
7892
|
path: '/testtasks',
|
|
7735
7893
|
resultType: 'object',
|
|
7894
|
+
resultObjectType: 'testtask',
|
|
7736
7895
|
requestBody: {
|
|
7737
7896
|
required: true,
|
|
7738
7897
|
type: 'object',
|
|
@@ -7783,7 +7942,7 @@ export const BUILTIN_MODULES = [
|
|
|
7783
7942
|
},
|
|
7784
7943
|
"desc": {
|
|
7785
7944
|
"type": "string",
|
|
7786
|
-
"description": "描述"
|
|
7945
|
+
"description": "描述 (HTML)"
|
|
7787
7946
|
}
|
|
7788
7947
|
},
|
|
7789
7948
|
"required": [
|
|
@@ -7817,6 +7976,7 @@ export const BUILTIN_MODULES = [
|
|
|
7817
7976
|
method: 'put',
|
|
7818
7977
|
path: '/testtasks/{testtaskID}',
|
|
7819
7978
|
resultType: 'object',
|
|
7979
|
+
resultObjectType: null,
|
|
7820
7980
|
pathParams: {
|
|
7821
7981
|
testtaskID: '测试单ID',
|
|
7822
7982
|
},
|
|
@@ -7865,7 +8025,7 @@ export const BUILTIN_MODULES = [
|
|
|
7865
8025
|
},
|
|
7866
8026
|
"desc": {
|
|
7867
8027
|
"type": "string",
|
|
7868
|
-
"description": "描述"
|
|
8028
|
+
"description": "描述 (HTML)"
|
|
7869
8029
|
}
|
|
7870
8030
|
},
|
|
7871
8031
|
"required": [
|
|
@@ -7897,6 +8057,7 @@ export const BUILTIN_MODULES = [
|
|
|
7897
8057
|
method: 'delete',
|
|
7898
8058
|
path: '/testtasks/{testtaskID}',
|
|
7899
8059
|
resultType: 'text',
|
|
8060
|
+
resultObjectType: null,
|
|
7900
8061
|
pathParams: {
|
|
7901
8062
|
testtaskID: '测试单ID',
|
|
7902
8063
|
},
|
|
@@ -7917,6 +8078,7 @@ export const BUILTIN_MODULES = [
|
|
|
7917
8078
|
method: 'get',
|
|
7918
8079
|
path: '/products/{productID}/releases',
|
|
7919
8080
|
resultType: 'list',
|
|
8081
|
+
resultObjectType: 'release',
|
|
7920
8082
|
pagerGetter: 'pager',
|
|
7921
8083
|
resultGetter: 'releases',
|
|
7922
8084
|
pathParams: {
|
|
@@ -7992,6 +8154,7 @@ export const BUILTIN_MODULES = [
|
|
|
7992
8154
|
method: 'post',
|
|
7993
8155
|
path: '/releases',
|
|
7994
8156
|
resultType: 'object',
|
|
8157
|
+
resultObjectType: 'release',
|
|
7995
8158
|
requestBody: {
|
|
7996
8159
|
required: true,
|
|
7997
8160
|
type: 'object',
|
|
@@ -8029,7 +8192,7 @@ export const BUILTIN_MODULES = [
|
|
|
8029
8192
|
},
|
|
8030
8193
|
"desc": {
|
|
8031
8194
|
"type": "string",
|
|
8032
|
-
"description": "描述"
|
|
8195
|
+
"description": "描述 (HTML)"
|
|
8033
8196
|
}
|
|
8034
8197
|
},
|
|
8035
8198
|
"required": [
|
|
@@ -8060,6 +8223,7 @@ export const BUILTIN_MODULES = [
|
|
|
8060
8223
|
method: 'put',
|
|
8061
8224
|
path: '/releases/{releaseID}',
|
|
8062
8225
|
resultType: 'object',
|
|
8226
|
+
resultObjectType: null,
|
|
8063
8227
|
pathParams: {
|
|
8064
8228
|
releaseID: '发布ID',
|
|
8065
8229
|
},
|
|
@@ -8095,7 +8259,7 @@ export const BUILTIN_MODULES = [
|
|
|
8095
8259
|
},
|
|
8096
8260
|
"desc": {
|
|
8097
8261
|
"type": "string",
|
|
8098
|
-
"description": "描述"
|
|
8262
|
+
"description": "描述 (HTML)"
|
|
8099
8263
|
}
|
|
8100
8264
|
},
|
|
8101
8265
|
"required": [
|
|
@@ -8124,6 +8288,7 @@ export const BUILTIN_MODULES = [
|
|
|
8124
8288
|
method: 'delete',
|
|
8125
8289
|
path: '/releases/{releaseID}',
|
|
8126
8290
|
resultType: 'text',
|
|
8291
|
+
resultObjectType: null,
|
|
8127
8292
|
pathParams: {
|
|
8128
8293
|
releaseID: '发布ID',
|
|
8129
8294
|
},
|
|
@@ -8144,6 +8309,7 @@ export const BUILTIN_MODULES = [
|
|
|
8144
8309
|
method: 'post',
|
|
8145
8310
|
path: '/files',
|
|
8146
8311
|
resultType: 'object',
|
|
8312
|
+
resultObjectType: 'file',
|
|
8147
8313
|
requestBody: {
|
|
8148
8314
|
required: true,
|
|
8149
8315
|
type: 'object',
|
|
@@ -8176,6 +8342,14 @@ export const BUILTIN_MODULES = [
|
|
|
8176
8342
|
"objectID": 1
|
|
8177
8343
|
},
|
|
8178
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
|
+
],
|
|
8179
8353
|
}, {
|
|
8180
8354
|
name: 'update',
|
|
8181
8355
|
minVersion: ['22.5', 'biz13.5', 'max8.5', 'ipd5.5'],
|
|
@@ -8184,6 +8358,7 @@ export const BUILTIN_MODULES = [
|
|
|
8184
8358
|
method: 'put',
|
|
8185
8359
|
path: '/files/{fileID}',
|
|
8186
8360
|
resultType: 'object',
|
|
8361
|
+
resultObjectType: 'file',
|
|
8187
8362
|
pathParams: {
|
|
8188
8363
|
fileID: '附件ID',
|
|
8189
8364
|
},
|
|
@@ -8214,6 +8389,7 @@ export const BUILTIN_MODULES = [
|
|
|
8214
8389
|
method: 'delete',
|
|
8215
8390
|
path: '/files/{fileID}',
|
|
8216
8391
|
resultType: 'text',
|
|
8392
|
+
resultObjectType: null,
|
|
8217
8393
|
pathParams: {
|
|
8218
8394
|
fileID: '附件ID',
|
|
8219
8395
|
},
|
|
@@ -8234,6 +8410,7 @@ export const BUILTIN_MODULES = [
|
|
|
8234
8410
|
method: 'get',
|
|
8235
8411
|
path: '/workflow/contract',
|
|
8236
8412
|
resultType: 'list',
|
|
8413
|
+
resultObjectType: 'workflow_contract',
|
|
8237
8414
|
pagerGetter: 'pager',
|
|
8238
8415
|
resultGetter: 'dataList',
|
|
8239
8416
|
}, {
|
|
@@ -8244,6 +8421,7 @@ export const BUILTIN_MODULES = [
|
|
|
8244
8421
|
method: 'get',
|
|
8245
8422
|
path: '/workflow/contract/1',
|
|
8246
8423
|
resultType: 'object',
|
|
8424
|
+
resultObjectType: 'workflow_contract',
|
|
8247
8425
|
resultGetter: 'data',
|
|
8248
8426
|
}, {
|
|
8249
8427
|
name: 'flows',
|
|
@@ -8253,6 +8431,7 @@ export const BUILTIN_MODULES = [
|
|
|
8253
8431
|
method: 'get',
|
|
8254
8432
|
path: '/workflows',
|
|
8255
8433
|
resultType: 'list',
|
|
8434
|
+
resultObjectType: 'workflow',
|
|
8256
8435
|
pagerGetter: 'pager',
|
|
8257
8436
|
resultGetter: 'flows',
|
|
8258
8437
|
params: [
|
|
@@ -8331,6 +8510,7 @@ export const BUILTIN_MODULES = [
|
|
|
8331
8510
|
method: 'get',
|
|
8332
8511
|
path: '/workflows/{module}/fields',
|
|
8333
8512
|
resultType: 'list',
|
|
8513
|
+
resultObjectType: 'workflowfield',
|
|
8334
8514
|
resultGetter: 'fields',
|
|
8335
8515
|
pathParams: {
|
|
8336
8516
|
module: 'module',
|
|
@@ -8343,6 +8523,7 @@ export const BUILTIN_MODULES = [
|
|
|
8343
8523
|
method: 'get',
|
|
8344
8524
|
path: '/workflows/{module}/actions',
|
|
8345
8525
|
resultType: 'list',
|
|
8526
|
+
resultObjectType: 'workflowaction',
|
|
8346
8527
|
resultGetter: 'actions',
|
|
8347
8528
|
pathParams: {
|
|
8348
8529
|
module: 'module',
|
|
@@ -8355,6 +8536,7 @@ export const BUILTIN_MODULES = [
|
|
|
8355
8536
|
method: 'get',
|
|
8356
8537
|
path: '/workflows/{module}/labels',
|
|
8357
8538
|
resultType: 'list',
|
|
8539
|
+
resultObjectType: 'workflowlabel',
|
|
8358
8540
|
resultGetter: 'labels',
|
|
8359
8541
|
pathParams: {
|
|
8360
8542
|
module: 'module',
|
|
@@ -8367,6 +8549,7 @@ export const BUILTIN_MODULES = [
|
|
|
8367
8549
|
method: 'get',
|
|
8368
8550
|
path: '/workflows/{module}/tables',
|
|
8369
8551
|
resultType: 'list',
|
|
8552
|
+
resultObjectType: 'workflow',
|
|
8370
8553
|
resultGetter: 'tables',
|
|
8371
8554
|
pathParams: {
|
|
8372
8555
|
module: 'module',
|
|
@@ -8379,6 +8562,7 @@ export const BUILTIN_MODULES = [
|
|
|
8379
8562
|
method: 'get',
|
|
8380
8563
|
path: '/workflowdatasources',
|
|
8381
8564
|
resultType: 'list',
|
|
8565
|
+
resultObjectType: 'workflowdatasource',
|
|
8382
8566
|
pagerGetter: 'pager',
|
|
8383
8567
|
resultGetter: 'datasources',
|
|
8384
8568
|
}, {
|
|
@@ -8389,6 +8573,7 @@ export const BUILTIN_MODULES = [
|
|
|
8389
8573
|
method: 'get',
|
|
8390
8574
|
path: '/workflowrules',
|
|
8391
8575
|
resultType: 'list',
|
|
8576
|
+
resultObjectType: 'workflowrule',
|
|
8392
8577
|
pagerGetter: 'pager',
|
|
8393
8578
|
resultGetter: 'rules',
|
|
8394
8579
|
}, {
|
|
@@ -8399,6 +8584,7 @@ export const BUILTIN_MODULES = [
|
|
|
8399
8584
|
method: 'post',
|
|
8400
8585
|
path: '/workflow/contract',
|
|
8401
8586
|
resultType: 'object',
|
|
8587
|
+
resultObjectType: 'workflow_contract',
|
|
8402
8588
|
requestBody: {
|
|
8403
8589
|
required: true,
|
|
8404
8590
|
type: 'object',
|
|
@@ -8426,6 +8612,7 @@ export const BUILTIN_MODULES = [
|
|
|
8426
8612
|
method: 'post',
|
|
8427
8613
|
path: '/workflows',
|
|
8428
8614
|
resultType: 'object',
|
|
8615
|
+
resultObjectType: 'workflow',
|
|
8429
8616
|
requestBody: {
|
|
8430
8617
|
required: true,
|
|
8431
8618
|
type: 'object',
|
|
@@ -8464,6 +8651,7 @@ export const BUILTIN_MODULES = [
|
|
|
8464
8651
|
method: 'post',
|
|
8465
8652
|
path: '/workflows/{flowID}/copy',
|
|
8466
8653
|
resultType: 'object',
|
|
8654
|
+
resultObjectType: 'workflow',
|
|
8467
8655
|
pathParams: {
|
|
8468
8656
|
flowID: 'flowID',
|
|
8469
8657
|
},
|
|
@@ -8510,6 +8698,7 @@ export const BUILTIN_MODULES = [
|
|
|
8510
8698
|
method: 'post',
|
|
8511
8699
|
path: '/workflows/{module}/fields',
|
|
8512
8700
|
resultType: 'object',
|
|
8701
|
+
resultObjectType: 'workflowfield',
|
|
8513
8702
|
pathParams: {
|
|
8514
8703
|
module: 'module',
|
|
8515
8704
|
},
|
|
@@ -8562,6 +8751,7 @@ export const BUILTIN_MODULES = [
|
|
|
8562
8751
|
method: 'post',
|
|
8563
8752
|
path: '/workflows/{module}/actions',
|
|
8564
8753
|
resultType: 'object',
|
|
8754
|
+
resultObjectType: 'workflowaction',
|
|
8565
8755
|
pathParams: {
|
|
8566
8756
|
module: 'module',
|
|
8567
8757
|
},
|
|
@@ -8609,6 +8799,7 @@ export const BUILTIN_MODULES = [
|
|
|
8609
8799
|
method: 'post',
|
|
8610
8800
|
path: '/workflows/{module}/labels',
|
|
8611
8801
|
resultType: 'object',
|
|
8802
|
+
resultObjectType: 'workflowlabel',
|
|
8612
8803
|
pathParams: {
|
|
8613
8804
|
module: 'module',
|
|
8614
8805
|
},
|
|
@@ -8690,6 +8881,7 @@ export const BUILTIN_MODULES = [
|
|
|
8690
8881
|
method: 'post',
|
|
8691
8882
|
path: '/workflows/{module}/tables',
|
|
8692
8883
|
resultType: 'object',
|
|
8884
|
+
resultObjectType: 'workflow',
|
|
8693
8885
|
pathParams: {
|
|
8694
8886
|
module: 'module',
|
|
8695
8887
|
},
|
|
@@ -8726,6 +8918,7 @@ export const BUILTIN_MODULES = [
|
|
|
8726
8918
|
method: 'post',
|
|
8727
8919
|
path: '/workflowdatasources',
|
|
8728
8920
|
resultType: 'object',
|
|
8921
|
+
resultObjectType: 'workflowdatasource',
|
|
8729
8922
|
requestBody: {
|
|
8730
8923
|
required: true,
|
|
8731
8924
|
type: 'object',
|
|
@@ -8779,6 +8972,7 @@ export const BUILTIN_MODULES = [
|
|
|
8779
8972
|
method: 'post',
|
|
8780
8973
|
path: '/workflowrules',
|
|
8781
8974
|
resultType: 'object',
|
|
8975
|
+
resultObjectType: 'workflowrule',
|
|
8782
8976
|
requestBody: {
|
|
8783
8977
|
required: true,
|
|
8784
8978
|
type: 'object',
|
|
@@ -8818,6 +9012,7 @@ export const BUILTIN_MODULES = [
|
|
|
8818
9012
|
method: 'get',
|
|
8819
9013
|
path: '/workflows/{flowID}',
|
|
8820
9014
|
resultType: 'object',
|
|
9015
|
+
resultObjectType: 'workflow',
|
|
8821
9016
|
resultGetter: 'flow',
|
|
8822
9017
|
pathParams: {
|
|
8823
9018
|
flowID: 'flowID',
|
|
@@ -8830,6 +9025,7 @@ export const BUILTIN_MODULES = [
|
|
|
8830
9025
|
method: 'get',
|
|
8831
9026
|
path: '/workflowfields/{fieldID}',
|
|
8832
9027
|
resultType: 'object',
|
|
9028
|
+
resultObjectType: 'workflowfield',
|
|
8833
9029
|
resultGetter: 'field',
|
|
8834
9030
|
pathParams: {
|
|
8835
9031
|
fieldID: 'fieldID',
|
|
@@ -8842,6 +9038,7 @@ export const BUILTIN_MODULES = [
|
|
|
8842
9038
|
method: 'get',
|
|
8843
9039
|
path: '/workflowactions/{actionID}',
|
|
8844
9040
|
resultType: 'object',
|
|
9041
|
+
resultObjectType: 'workflowaction',
|
|
8845
9042
|
resultGetter: 'action',
|
|
8846
9043
|
pathParams: {
|
|
8847
9044
|
actionID: 'actionID',
|
|
@@ -8854,6 +9051,7 @@ export const BUILTIN_MODULES = [
|
|
|
8854
9051
|
method: 'get',
|
|
8855
9052
|
path: '/workflowlabels/{labelID}',
|
|
8856
9053
|
resultType: 'object',
|
|
9054
|
+
resultObjectType: 'workflowlabel',
|
|
8857
9055
|
resultGetter: 'label',
|
|
8858
9056
|
pathParams: {
|
|
8859
9057
|
labelID: 'labelID',
|
|
@@ -8866,6 +9064,7 @@ export const BUILTIN_MODULES = [
|
|
|
8866
9064
|
method: 'get',
|
|
8867
9065
|
path: '/workflowtables/{tableID}',
|
|
8868
9066
|
resultType: 'object',
|
|
9067
|
+
resultObjectType: 'workflow',
|
|
8869
9068
|
resultGetter: 'flow',
|
|
8870
9069
|
pathParams: {
|
|
8871
9070
|
tableID: 'tableID',
|
|
@@ -8878,6 +9077,7 @@ export const BUILTIN_MODULES = [
|
|
|
8878
9077
|
method: 'get',
|
|
8879
9078
|
path: '/workflowdatasources/{datasourceID}',
|
|
8880
9079
|
resultType: 'object',
|
|
9080
|
+
resultObjectType: 'workflowdatasource',
|
|
8881
9081
|
resultGetter: 'datasource',
|
|
8882
9082
|
pathParams: {
|
|
8883
9083
|
datasourceID: 'datasourceID',
|
|
@@ -8890,6 +9090,7 @@ export const BUILTIN_MODULES = [
|
|
|
8890
9090
|
method: 'get',
|
|
8891
9091
|
path: '/workflowrules/{ruleID}',
|
|
8892
9092
|
resultType: 'object',
|
|
9093
|
+
resultObjectType: 'workflowrule',
|
|
8893
9094
|
resultGetter: 'rule',
|
|
8894
9095
|
pathParams: {
|
|
8895
9096
|
ruleID: 'ruleID',
|
|
@@ -8902,6 +9103,7 @@ export const BUILTIN_MODULES = [
|
|
|
8902
9103
|
method: 'put',
|
|
8903
9104
|
path: '/workflow/contract/{contractID}',
|
|
8904
9105
|
resultType: 'object',
|
|
9106
|
+
resultObjectType: 'workflow_contract',
|
|
8905
9107
|
pathParams: {
|
|
8906
9108
|
contractID: '合同ID',
|
|
8907
9109
|
},
|
|
@@ -8932,6 +9134,7 @@ export const BUILTIN_MODULES = [
|
|
|
8932
9134
|
method: 'put',
|
|
8933
9135
|
path: '/workflows/{flowID}',
|
|
8934
9136
|
resultType: 'object',
|
|
9137
|
+
resultObjectType: 'workflow',
|
|
8935
9138
|
pathParams: {
|
|
8936
9139
|
flowID: 'flowID',
|
|
8937
9140
|
},
|
|
@@ -8976,6 +9179,7 @@ export const BUILTIN_MODULES = [
|
|
|
8976
9179
|
method: 'put',
|
|
8977
9180
|
path: '/workflowfields/{fieldID}',
|
|
8978
9181
|
resultType: 'object',
|
|
9182
|
+
resultObjectType: 'workflowfield',
|
|
8979
9183
|
pathParams: {
|
|
8980
9184
|
fieldID: 'fieldID',
|
|
8981
9185
|
},
|
|
@@ -9012,6 +9216,7 @@ export const BUILTIN_MODULES = [
|
|
|
9012
9216
|
method: 'put',
|
|
9013
9217
|
path: '/workflowactions/{actionID}',
|
|
9014
9218
|
resultType: 'object',
|
|
9219
|
+
resultObjectType: 'workflowaction',
|
|
9015
9220
|
pathParams: {
|
|
9016
9221
|
actionID: 'actionID',
|
|
9017
9222
|
},
|
|
@@ -9048,6 +9253,7 @@ export const BUILTIN_MODULES = [
|
|
|
9048
9253
|
method: 'put',
|
|
9049
9254
|
path: '/workflowlabels/{labelID}',
|
|
9050
9255
|
resultType: 'object',
|
|
9256
|
+
resultObjectType: 'workflowlabel',
|
|
9051
9257
|
pathParams: {
|
|
9052
9258
|
labelID: 'labelID',
|
|
9053
9259
|
},
|
|
@@ -9110,6 +9316,7 @@ export const BUILTIN_MODULES = [
|
|
|
9110
9316
|
method: 'put',
|
|
9111
9317
|
path: '/workflowtables/{tableID}',
|
|
9112
9318
|
resultType: 'object',
|
|
9319
|
+
resultObjectType: 'workflow',
|
|
9113
9320
|
pathParams: {
|
|
9114
9321
|
tableID: 'tableID',
|
|
9115
9322
|
},
|
|
@@ -9140,6 +9347,7 @@ export const BUILTIN_MODULES = [
|
|
|
9140
9347
|
method: 'put',
|
|
9141
9348
|
path: '/workflowdatasources/{datasourceID}',
|
|
9142
9349
|
resultType: 'object',
|
|
9350
|
+
resultObjectType: 'workflowdatasource',
|
|
9143
9351
|
pathParams: {
|
|
9144
9352
|
datasourceID: 'datasourceID',
|
|
9145
9353
|
},
|
|
@@ -9196,6 +9404,7 @@ export const BUILTIN_MODULES = [
|
|
|
9196
9404
|
method: 'put',
|
|
9197
9405
|
path: '/workflowrules/{ruleID}',
|
|
9198
9406
|
resultType: 'object',
|
|
9407
|
+
resultObjectType: 'workflowrule',
|
|
9199
9408
|
pathParams: {
|
|
9200
9409
|
ruleID: 'ruleID',
|
|
9201
9410
|
},
|
|
@@ -9238,6 +9447,7 @@ export const BUILTIN_MODULES = [
|
|
|
9238
9447
|
method: 'delete',
|
|
9239
9448
|
path: '/workflow/contract/{contractID}',
|
|
9240
9449
|
resultType: 'text',
|
|
9450
|
+
resultObjectType: null,
|
|
9241
9451
|
pathParams: {
|
|
9242
9452
|
contractID: '合同ID',
|
|
9243
9453
|
},
|
|
@@ -9249,6 +9459,7 @@ export const BUILTIN_MODULES = [
|
|
|
9249
9459
|
method: 'delete',
|
|
9250
9460
|
path: '/workflows/{flowID}',
|
|
9251
9461
|
resultType: 'text',
|
|
9462
|
+
resultObjectType: 'workflow',
|
|
9252
9463
|
pathParams: {
|
|
9253
9464
|
flowID: 'flowID',
|
|
9254
9465
|
},
|
|
@@ -9260,6 +9471,7 @@ export const BUILTIN_MODULES = [
|
|
|
9260
9471
|
method: 'delete',
|
|
9261
9472
|
path: '/workflowfields/{fieldID}',
|
|
9262
9473
|
resultType: 'text',
|
|
9474
|
+
resultObjectType: 'workflowfield',
|
|
9263
9475
|
pathParams: {
|
|
9264
9476
|
fieldID: 'fieldID',
|
|
9265
9477
|
},
|
|
@@ -9271,6 +9483,7 @@ export const BUILTIN_MODULES = [
|
|
|
9271
9483
|
method: 'delete',
|
|
9272
9484
|
path: '/workflowactions/{actionID}',
|
|
9273
9485
|
resultType: 'text',
|
|
9486
|
+
resultObjectType: 'workflowaction',
|
|
9274
9487
|
pathParams: {
|
|
9275
9488
|
actionID: 'actionID',
|
|
9276
9489
|
},
|
|
@@ -9282,6 +9495,7 @@ export const BUILTIN_MODULES = [
|
|
|
9282
9495
|
method: 'delete',
|
|
9283
9496
|
path: '/workflowlabels/{labelID}',
|
|
9284
9497
|
resultType: 'text',
|
|
9498
|
+
resultObjectType: 'workflowlabel',
|
|
9285
9499
|
pathParams: {
|
|
9286
9500
|
labelID: 'labelID',
|
|
9287
9501
|
},
|
|
@@ -9293,6 +9507,7 @@ export const BUILTIN_MODULES = [
|
|
|
9293
9507
|
method: 'delete',
|
|
9294
9508
|
path: '/workflowtables/{tableID}',
|
|
9295
9509
|
resultType: 'text',
|
|
9510
|
+
resultObjectType: 'workflow',
|
|
9296
9511
|
pathParams: {
|
|
9297
9512
|
tableID: 'tableID',
|
|
9298
9513
|
},
|
|
@@ -9304,6 +9519,7 @@ export const BUILTIN_MODULES = [
|
|
|
9304
9519
|
method: 'delete',
|
|
9305
9520
|
path: '/workflowdatasources/{datasourceID}',
|
|
9306
9521
|
resultType: 'text',
|
|
9522
|
+
resultObjectType: 'workflowdatasource',
|
|
9307
9523
|
pathParams: {
|
|
9308
9524
|
datasourceID: 'datasourceID',
|
|
9309
9525
|
},
|
|
@@ -9315,6 +9531,7 @@ export const BUILTIN_MODULES = [
|
|
|
9315
9531
|
method: 'delete',
|
|
9316
9532
|
path: '/workflowrules/{ruleID}',
|
|
9317
9533
|
resultType: 'text',
|
|
9534
|
+
resultObjectType: 'workflowrule',
|
|
9318
9535
|
pathParams: {
|
|
9319
9536
|
ruleID: 'ruleID',
|
|
9320
9537
|
},
|
|
@@ -9326,6 +9543,7 @@ export const BUILTIN_MODULES = [
|
|
|
9326
9543
|
method: 'put',
|
|
9327
9544
|
path: '/workflows/{flowID}/activate',
|
|
9328
9545
|
resultType: 'text',
|
|
9546
|
+
resultObjectType: 'workflow',
|
|
9329
9547
|
pathParams: {
|
|
9330
9548
|
flowID: 'flowID',
|
|
9331
9549
|
},
|
|
@@ -9337,6 +9555,7 @@ export const BUILTIN_MODULES = [
|
|
|
9337
9555
|
method: 'put',
|
|
9338
9556
|
path: '/workflows/{flowID}/deactivate',
|
|
9339
9557
|
resultType: 'text',
|
|
9558
|
+
resultObjectType: 'workflow',
|
|
9340
9559
|
pathParams: {
|
|
9341
9560
|
flowID: 'flowID',
|
|
9342
9561
|
},
|
|
@@ -9348,6 +9567,7 @@ export const BUILTIN_MODULES = [
|
|
|
9348
9567
|
method: 'put',
|
|
9349
9568
|
path: '/workflows/{flowID}/release',
|
|
9350
9569
|
resultType: 'text',
|
|
9570
|
+
resultObjectType: 'workflow',
|
|
9351
9571
|
pathParams: {
|
|
9352
9572
|
flowID: 'flowID',
|
|
9353
9573
|
},
|
|
@@ -9388,6 +9608,7 @@ export const BUILTIN_MODULES = [
|
|
|
9388
9608
|
method: 'put',
|
|
9389
9609
|
path: '/workflows/{module}/setApproval',
|
|
9390
9610
|
resultType: 'text',
|
|
9611
|
+
resultObjectType: null,
|
|
9391
9612
|
pathParams: {
|
|
9392
9613
|
module: 'module',
|
|
9393
9614
|
},
|
|
@@ -9418,6 +9639,7 @@ export const BUILTIN_MODULES = [
|
|
|
9418
9639
|
method: 'put',
|
|
9419
9640
|
path: '/workflowactions/{actionID}/setCSS',
|
|
9420
9641
|
resultType: 'text',
|
|
9642
|
+
resultObjectType: 'workflowaction',
|
|
9421
9643
|
pathParams: {
|
|
9422
9644
|
actionID: 'actionID',
|
|
9423
9645
|
},
|
|
@@ -9445,6 +9667,7 @@ export const BUILTIN_MODULES = [
|
|
|
9445
9667
|
method: 'put',
|
|
9446
9668
|
path: '/workflows/{flowID}/setCSS',
|
|
9447
9669
|
resultType: 'text',
|
|
9670
|
+
resultObjectType: 'workflow',
|
|
9448
9671
|
pathParams: {
|
|
9449
9672
|
flowID: 'flowID',
|
|
9450
9673
|
},
|
|
@@ -9472,6 +9695,7 @@ export const BUILTIN_MODULES = [
|
|
|
9472
9695
|
method: 'put',
|
|
9473
9696
|
path: '/workflows/{module}/setExport',
|
|
9474
9697
|
resultType: 'text',
|
|
9698
|
+
resultObjectType: null,
|
|
9475
9699
|
pathParams: {
|
|
9476
9700
|
module: 'module',
|
|
9477
9701
|
},
|
|
@@ -9517,6 +9741,7 @@ export const BUILTIN_MODULES = [
|
|
|
9517
9741
|
method: 'put',
|
|
9518
9742
|
path: '/workflows/{flowID}/setFulltextSearch',
|
|
9519
9743
|
resultType: 'text',
|
|
9744
|
+
resultObjectType: 'workflow',
|
|
9520
9745
|
pathParams: {
|
|
9521
9746
|
flowID: 'flowID',
|
|
9522
9747
|
},
|
|
@@ -9549,6 +9774,7 @@ export const BUILTIN_MODULES = [
|
|
|
9549
9774
|
method: 'put',
|
|
9550
9775
|
path: '/workflowactions/{actionID}/setJS',
|
|
9551
9776
|
resultType: 'text',
|
|
9777
|
+
resultObjectType: 'workflowaction',
|
|
9552
9778
|
pathParams: {
|
|
9553
9779
|
actionID: 'actionID',
|
|
9554
9780
|
},
|
|
@@ -9576,6 +9802,7 @@ export const BUILTIN_MODULES = [
|
|
|
9576
9802
|
method: 'put',
|
|
9577
9803
|
path: '/workflows/{flowID}/setJS',
|
|
9578
9804
|
resultType: 'text',
|
|
9805
|
+
resultObjectType: 'workflow',
|
|
9579
9806
|
pathParams: {
|
|
9580
9807
|
flowID: 'flowID',
|
|
9581
9808
|
},
|
|
@@ -9603,6 +9830,7 @@ export const BUILTIN_MODULES = [
|
|
|
9603
9830
|
method: 'put',
|
|
9604
9831
|
path: '/workflowactions/{actionID}/setNotice',
|
|
9605
9832
|
resultType: 'text',
|
|
9833
|
+
resultObjectType: 'workflowaction',
|
|
9606
9834
|
pathParams: {
|
|
9607
9835
|
actionID: 'actionID',
|
|
9608
9836
|
},
|
|
@@ -9638,6 +9866,7 @@ export const BUILTIN_MODULES = [
|
|
|
9638
9866
|
method: 'put',
|
|
9639
9867
|
path: '/workflows/{module}/setSearch',
|
|
9640
9868
|
resultType: 'text',
|
|
9869
|
+
resultObjectType: null,
|
|
9641
9870
|
pathParams: {
|
|
9642
9871
|
module: 'module',
|
|
9643
9872
|
},
|
|
@@ -9683,6 +9912,7 @@ export const BUILTIN_MODULES = [
|
|
|
9683
9912
|
method: 'put',
|
|
9684
9913
|
path: '/workflows/{module}/setValue',
|
|
9685
9914
|
resultType: 'text',
|
|
9915
|
+
resultObjectType: null,
|
|
9686
9916
|
pathParams: {
|
|
9687
9917
|
module: 'module',
|
|
9688
9918
|
},
|
|
@@ -9728,6 +9958,7 @@ export const BUILTIN_MODULES = [
|
|
|
9728
9958
|
method: 'put',
|
|
9729
9959
|
path: '/workflowactions/{actionID}/setVerification',
|
|
9730
9960
|
resultType: 'text',
|
|
9961
|
+
resultObjectType: 'workflowaction',
|
|
9731
9962
|
pathParams: {
|
|
9732
9963
|
actionID: 'actionID',
|
|
9733
9964
|
},
|
|
@@ -9788,6 +10019,7 @@ export const BUILTIN_MODULES = [
|
|
|
9788
10019
|
method: 'get',
|
|
9789
10020
|
path: '/doc/my/spaces',
|
|
9790
10021
|
resultType: 'list',
|
|
10022
|
+
resultObjectType: 'docspace',
|
|
9791
10023
|
resultGetter: 'spaces',
|
|
9792
10024
|
}, {
|
|
9793
10025
|
name: 'teamSpaces',
|
|
@@ -9797,6 +10029,7 @@ export const BUILTIN_MODULES = [
|
|
|
9797
10029
|
method: 'get',
|
|
9798
10030
|
path: '/doc/team/spaces',
|
|
9799
10031
|
resultType: 'list',
|
|
10032
|
+
resultObjectType: 'docspace',
|
|
9800
10033
|
resultGetter: 'spaces',
|
|
9801
10034
|
}, {
|
|
9802
10035
|
name: 'productSpaces',
|
|
@@ -9806,6 +10039,7 @@ export const BUILTIN_MODULES = [
|
|
|
9806
10039
|
method: 'get',
|
|
9807
10040
|
path: '/doc/product/spaces',
|
|
9808
10041
|
resultType: 'list',
|
|
10042
|
+
resultObjectType: 'docspace',
|
|
9809
10043
|
resultGetter: 'spaces',
|
|
9810
10044
|
}, {
|
|
9811
10045
|
name: 'projectSpaces',
|
|
@@ -9815,6 +10049,7 @@ export const BUILTIN_MODULES = [
|
|
|
9815
10049
|
method: 'get',
|
|
9816
10050
|
path: '/doc/project/spaces',
|
|
9817
10051
|
resultType: 'list',
|
|
10052
|
+
resultObjectType: 'docspace',
|
|
9818
10053
|
resultGetter: 'spaces',
|
|
9819
10054
|
}, {
|
|
9820
10055
|
name: 'myLibs',
|
|
@@ -9824,6 +10059,7 @@ export const BUILTIN_MODULES = [
|
|
|
9824
10059
|
method: 'get',
|
|
9825
10060
|
path: '/doc/my/spaces/{spaceID}/libs',
|
|
9826
10061
|
resultType: 'list',
|
|
10062
|
+
resultObjectType: 'doclib',
|
|
9827
10063
|
resultGetter: 'libs',
|
|
9828
10064
|
pathParams: {
|
|
9829
10065
|
spaceID: '空间ID',
|
|
@@ -9836,6 +10072,7 @@ export const BUILTIN_MODULES = [
|
|
|
9836
10072
|
method: 'get',
|
|
9837
10073
|
path: '/doc/team/spaces/{spaceID}/libs',
|
|
9838
10074
|
resultType: 'list',
|
|
10075
|
+
resultObjectType: 'doclib',
|
|
9839
10076
|
resultGetter: 'libs',
|
|
9840
10077
|
pathParams: {
|
|
9841
10078
|
spaceID: '空间ID',
|
|
@@ -9848,6 +10085,7 @@ export const BUILTIN_MODULES = [
|
|
|
9848
10085
|
method: 'get',
|
|
9849
10086
|
path: '/doc/product/spaces/{productID}/libs',
|
|
9850
10087
|
resultType: 'list',
|
|
10088
|
+
resultObjectType: 'doclib',
|
|
9851
10089
|
resultGetter: 'libs',
|
|
9852
10090
|
pathParams: {
|
|
9853
10091
|
productID: '产品ID',
|
|
@@ -9860,6 +10098,7 @@ export const BUILTIN_MODULES = [
|
|
|
9860
10098
|
method: 'get',
|
|
9861
10099
|
path: '/doc/project/spaces/{projectID}/libs',
|
|
9862
10100
|
resultType: 'list',
|
|
10101
|
+
resultObjectType: 'doclib',
|
|
9863
10102
|
resultGetter: 'libs',
|
|
9864
10103
|
pathParams: {
|
|
9865
10104
|
projectID: '项目ID',
|
|
@@ -9872,6 +10111,7 @@ export const BUILTIN_MODULES = [
|
|
|
9872
10111
|
method: 'get',
|
|
9873
10112
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/docs',
|
|
9874
10113
|
resultType: 'list',
|
|
10114
|
+
resultObjectType: 'doc',
|
|
9875
10115
|
pathParams: {
|
|
9876
10116
|
spaceID: '空间ID',
|
|
9877
10117
|
libID: '文档库ID',
|
|
@@ -9885,6 +10125,7 @@ export const BUILTIN_MODULES = [
|
|
|
9885
10125
|
method: 'get',
|
|
9886
10126
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/docs',
|
|
9887
10127
|
resultType: 'list',
|
|
10128
|
+
resultObjectType: 'doc',
|
|
9888
10129
|
resultGetter: 'docs',
|
|
9889
10130
|
pathParams: {
|
|
9890
10131
|
spaceID: '空间ID',
|
|
@@ -9898,6 +10139,7 @@ export const BUILTIN_MODULES = [
|
|
|
9898
10139
|
method: 'get',
|
|
9899
10140
|
path: '/doc/product/spaces/{productID}/libs/{libID}/docs',
|
|
9900
10141
|
resultType: 'list',
|
|
10142
|
+
resultObjectType: 'doc',
|
|
9901
10143
|
pathParams: {
|
|
9902
10144
|
productID: '产品ID',
|
|
9903
10145
|
libID: '文档库ID',
|
|
@@ -9911,6 +10153,7 @@ export const BUILTIN_MODULES = [
|
|
|
9911
10153
|
method: 'get',
|
|
9912
10154
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/docs',
|
|
9913
10155
|
resultType: 'list',
|
|
10156
|
+
resultObjectType: 'doc',
|
|
9914
10157
|
pathParams: {
|
|
9915
10158
|
projectID: '项目ID',
|
|
9916
10159
|
libID: '文档库ID',
|
|
@@ -9924,6 +10167,7 @@ export const BUILTIN_MODULES = [
|
|
|
9924
10167
|
method: 'get',
|
|
9925
10168
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/modules',
|
|
9926
10169
|
resultType: 'list',
|
|
10170
|
+
resultObjectType: 'module',
|
|
9927
10171
|
resultGetter: 'modules',
|
|
9928
10172
|
pathParams: {
|
|
9929
10173
|
spaceID: '空间ID',
|
|
@@ -9937,6 +10181,7 @@ export const BUILTIN_MODULES = [
|
|
|
9937
10181
|
method: 'get',
|
|
9938
10182
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/modules',
|
|
9939
10183
|
resultType: 'list',
|
|
10184
|
+
resultObjectType: 'module',
|
|
9940
10185
|
resultGetter: 'modules',
|
|
9941
10186
|
pathParams: {
|
|
9942
10187
|
spaceID: '空间ID',
|
|
@@ -9950,6 +10195,7 @@ export const BUILTIN_MODULES = [
|
|
|
9950
10195
|
method: 'get',
|
|
9951
10196
|
path: '/doc/product/spaces/{productID}/libs/{libID}/modules',
|
|
9952
10197
|
resultType: 'list',
|
|
10198
|
+
resultObjectType: 'module',
|
|
9953
10199
|
resultGetter: 'modules',
|
|
9954
10200
|
pathParams: {
|
|
9955
10201
|
productID: '产品ID',
|
|
@@ -9963,6 +10209,7 @@ export const BUILTIN_MODULES = [
|
|
|
9963
10209
|
method: 'get',
|
|
9964
10210
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/modules',
|
|
9965
10211
|
resultType: 'list',
|
|
10212
|
+
resultObjectType: 'module',
|
|
9966
10213
|
resultGetter: 'modules',
|
|
9967
10214
|
pathParams: {
|
|
9968
10215
|
projectID: '项目ID',
|
|
@@ -9976,6 +10223,7 @@ export const BUILTIN_MODULES = [
|
|
|
9976
10223
|
method: 'post',
|
|
9977
10224
|
path: '/doc/my/spaces',
|
|
9978
10225
|
resultType: 'object',
|
|
10226
|
+
resultObjectType: 'docspace',
|
|
9979
10227
|
requestBody: {
|
|
9980
10228
|
required: true,
|
|
9981
10229
|
type: 'object',
|
|
@@ -10003,6 +10251,7 @@ export const BUILTIN_MODULES = [
|
|
|
10003
10251
|
method: 'post',
|
|
10004
10252
|
path: '/doc/team/spaces',
|
|
10005
10253
|
resultType: 'object',
|
|
10254
|
+
resultObjectType: 'docspace',
|
|
10006
10255
|
requestBody: {
|
|
10007
10256
|
required: true,
|
|
10008
10257
|
type: 'object',
|
|
@@ -10030,6 +10279,7 @@ export const BUILTIN_MODULES = [
|
|
|
10030
10279
|
method: 'post',
|
|
10031
10280
|
path: '/doc/my/spaces/{spaceID}/libs',
|
|
10032
10281
|
resultType: 'object',
|
|
10282
|
+
resultObjectType: 'doclib',
|
|
10033
10283
|
pathParams: {
|
|
10034
10284
|
spaceID: '空间ID',
|
|
10035
10285
|
},
|
|
@@ -10060,6 +10310,7 @@ export const BUILTIN_MODULES = [
|
|
|
10060
10310
|
method: 'post',
|
|
10061
10311
|
path: '/doc/team/spaces/{spaceID}/libs',
|
|
10062
10312
|
resultType: 'object',
|
|
10313
|
+
resultObjectType: 'doclib',
|
|
10063
10314
|
pathParams: {
|
|
10064
10315
|
spaceID: '空间ID',
|
|
10065
10316
|
},
|
|
@@ -10115,6 +10366,7 @@ export const BUILTIN_MODULES = [
|
|
|
10115
10366
|
method: 'post',
|
|
10116
10367
|
path: '/doc/product/spaces/{productID}/libs',
|
|
10117
10368
|
resultType: 'object',
|
|
10369
|
+
resultObjectType: 'doclib',
|
|
10118
10370
|
pathParams: {
|
|
10119
10371
|
productID: '产品ID',
|
|
10120
10372
|
},
|
|
@@ -10170,6 +10422,7 @@ export const BUILTIN_MODULES = [
|
|
|
10170
10422
|
method: 'post',
|
|
10171
10423
|
path: '/doc/project/spaces/{projectID}/libs',
|
|
10172
10424
|
resultType: 'object',
|
|
10425
|
+
resultObjectType: 'doclib',
|
|
10173
10426
|
pathParams: {
|
|
10174
10427
|
projectID: '项目ID',
|
|
10175
10428
|
},
|
|
@@ -10225,6 +10478,7 @@ export const BUILTIN_MODULES = [
|
|
|
10225
10478
|
method: 'post',
|
|
10226
10479
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/docs',
|
|
10227
10480
|
resultType: 'object',
|
|
10481
|
+
resultObjectType: 'doc',
|
|
10228
10482
|
pathParams: {
|
|
10229
10483
|
spaceID: '空间ID',
|
|
10230
10484
|
libID: '文档库ID',
|
|
@@ -10246,7 +10500,7 @@ export const BUILTIN_MODULES = [
|
|
|
10246
10500
|
},
|
|
10247
10501
|
"content": {
|
|
10248
10502
|
"type": "string",
|
|
10249
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10503
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10250
10504
|
},
|
|
10251
10505
|
"contentType": {
|
|
10252
10506
|
"type": "string",
|
|
@@ -10273,6 +10527,7 @@ export const BUILTIN_MODULES = [
|
|
|
10273
10527
|
method: 'post',
|
|
10274
10528
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/docs',
|
|
10275
10529
|
resultType: 'object',
|
|
10530
|
+
resultObjectType: 'doc',
|
|
10276
10531
|
pathParams: {
|
|
10277
10532
|
spaceID: '空间ID',
|
|
10278
10533
|
libID: '文档库ID',
|
|
@@ -10294,7 +10549,7 @@ export const BUILTIN_MODULES = [
|
|
|
10294
10549
|
},
|
|
10295
10550
|
"content": {
|
|
10296
10551
|
"type": "string",
|
|
10297
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10552
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10298
10553
|
},
|
|
10299
10554
|
"contentType": {
|
|
10300
10555
|
"type": "string",
|
|
@@ -10321,6 +10576,7 @@ export const BUILTIN_MODULES = [
|
|
|
10321
10576
|
method: 'post',
|
|
10322
10577
|
path: '/doc/product/spaces/{productID}/libs/{libID}/docs',
|
|
10323
10578
|
resultType: 'object',
|
|
10579
|
+
resultObjectType: 'doc',
|
|
10324
10580
|
pathParams: {
|
|
10325
10581
|
productID: '产品ID',
|
|
10326
10582
|
libID: '文档库ID',
|
|
@@ -10342,7 +10598,7 @@ export const BUILTIN_MODULES = [
|
|
|
10342
10598
|
},
|
|
10343
10599
|
"content": {
|
|
10344
10600
|
"type": "string",
|
|
10345
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10601
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10346
10602
|
},
|
|
10347
10603
|
"contentType": {
|
|
10348
10604
|
"type": "string",
|
|
@@ -10369,6 +10625,7 @@ export const BUILTIN_MODULES = [
|
|
|
10369
10625
|
method: 'post',
|
|
10370
10626
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/docs',
|
|
10371
10627
|
resultType: 'object',
|
|
10628
|
+
resultObjectType: 'doc',
|
|
10372
10629
|
pathParams: {
|
|
10373
10630
|
projectID: '项目ID',
|
|
10374
10631
|
libID: '文档库ID',
|
|
@@ -10390,7 +10647,7 @@ export const BUILTIN_MODULES = [
|
|
|
10390
10647
|
},
|
|
10391
10648
|
"content": {
|
|
10392
10649
|
"type": "string",
|
|
10393
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10650
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10394
10651
|
},
|
|
10395
10652
|
"contentType": {
|
|
10396
10653
|
"type": "string",
|
|
@@ -10417,6 +10674,7 @@ export const BUILTIN_MODULES = [
|
|
|
10417
10674
|
method: 'post',
|
|
10418
10675
|
path: '/doc/my/spaces/{spaceID}/libs/{libID}/modules',
|
|
10419
10676
|
resultType: 'object',
|
|
10677
|
+
resultObjectType: 'module',
|
|
10420
10678
|
pathParams: {
|
|
10421
10679
|
spaceID: '空间ID',
|
|
10422
10680
|
libID: '文档库ID',
|
|
@@ -10454,6 +10712,7 @@ export const BUILTIN_MODULES = [
|
|
|
10454
10712
|
method: 'post',
|
|
10455
10713
|
path: '/doc/team/spaces/{spaceID}/libs/{libID}/modules',
|
|
10456
10714
|
resultType: 'object',
|
|
10715
|
+
resultObjectType: 'module',
|
|
10457
10716
|
pathParams: {
|
|
10458
10717
|
spaceID: '空间ID',
|
|
10459
10718
|
libID: '文档库ID',
|
|
@@ -10491,6 +10750,7 @@ export const BUILTIN_MODULES = [
|
|
|
10491
10750
|
method: 'post',
|
|
10492
10751
|
path: '/doc/product/spaces/{productID}/libs/{libID}/modules',
|
|
10493
10752
|
resultType: 'object',
|
|
10753
|
+
resultObjectType: 'module',
|
|
10494
10754
|
pathParams: {
|
|
10495
10755
|
productID: '产品ID',
|
|
10496
10756
|
libID: '文档库ID',
|
|
@@ -10528,6 +10788,7 @@ export const BUILTIN_MODULES = [
|
|
|
10528
10788
|
method: 'post',
|
|
10529
10789
|
path: '/doc/project/spaces/{projectID}/libs/{libID}/modules',
|
|
10530
10790
|
resultType: 'object',
|
|
10791
|
+
resultObjectType: 'module',
|
|
10531
10792
|
pathParams: {
|
|
10532
10793
|
projectID: '项目ID',
|
|
10533
10794
|
libID: '文档库ID',
|
|
@@ -10565,6 +10826,7 @@ export const BUILTIN_MODULES = [
|
|
|
10565
10826
|
method: 'get',
|
|
10566
10827
|
path: '/doc/spaces/{spaceID}',
|
|
10567
10828
|
resultType: 'object',
|
|
10829
|
+
resultObjectType: 'docspace',
|
|
10568
10830
|
resultGetter: 'space',
|
|
10569
10831
|
pathParams: {
|
|
10570
10832
|
spaceID: '空间ID',
|
|
@@ -10577,6 +10839,7 @@ export const BUILTIN_MODULES = [
|
|
|
10577
10839
|
method: 'get',
|
|
10578
10840
|
path: '/doc/libs/{libID}',
|
|
10579
10841
|
resultType: 'object',
|
|
10842
|
+
resultObjectType: 'doclib',
|
|
10580
10843
|
resultGetter: 'lib',
|
|
10581
10844
|
pathParams: {
|
|
10582
10845
|
libID: '文档库ID',
|
|
@@ -10589,6 +10852,7 @@ export const BUILTIN_MODULES = [
|
|
|
10589
10852
|
method: 'get',
|
|
10590
10853
|
path: '/doc/docs/{docID}',
|
|
10591
10854
|
resultType: 'object',
|
|
10855
|
+
resultObjectType: 'doc',
|
|
10592
10856
|
resultGetter: 'doc',
|
|
10593
10857
|
pathParams: {
|
|
10594
10858
|
docID: '文档ID',
|
|
@@ -10601,6 +10865,7 @@ export const BUILTIN_MODULES = [
|
|
|
10601
10865
|
method: 'put',
|
|
10602
10866
|
path: '/doc/spaces/{spaceID}',
|
|
10603
10867
|
resultType: 'object',
|
|
10868
|
+
resultObjectType: null,
|
|
10604
10869
|
pathParams: {
|
|
10605
10870
|
spaceID: '空间ID',
|
|
10606
10871
|
},
|
|
@@ -10631,6 +10896,7 @@ export const BUILTIN_MODULES = [
|
|
|
10631
10896
|
method: 'put',
|
|
10632
10897
|
path: '/doc/libs/{libID}',
|
|
10633
10898
|
resultType: 'object',
|
|
10899
|
+
resultObjectType: null,
|
|
10634
10900
|
pathParams: {
|
|
10635
10901
|
libID: '文档库ID',
|
|
10636
10902
|
},
|
|
@@ -10686,6 +10952,7 @@ export const BUILTIN_MODULES = [
|
|
|
10686
10952
|
method: 'put',
|
|
10687
10953
|
path: '/doc/docs/{docID}',
|
|
10688
10954
|
resultType: 'object',
|
|
10955
|
+
resultObjectType: 'doc',
|
|
10689
10956
|
pathParams: {
|
|
10690
10957
|
docID: '文档ID',
|
|
10691
10958
|
},
|
|
@@ -10706,7 +10973,7 @@ export const BUILTIN_MODULES = [
|
|
|
10706
10973
|
},
|
|
10707
10974
|
"content": {
|
|
10708
10975
|
"type": "string",
|
|
10709
|
-
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照"
|
|
10976
|
+
"description": "文档正文,使用Markdown格式;系统会转换为块编辑器内容并生成HTML快照 (HTML)"
|
|
10710
10977
|
},
|
|
10711
10978
|
"contentType": {
|
|
10712
10979
|
"type": "string",
|
|
@@ -10733,6 +11000,7 @@ export const BUILTIN_MODULES = [
|
|
|
10733
11000
|
method: 'put',
|
|
10734
11001
|
path: '/doc/modules/{moduleID}',
|
|
10735
11002
|
resultType: 'object',
|
|
11003
|
+
resultObjectType: null,
|
|
10736
11004
|
pathParams: {
|
|
10737
11005
|
moduleID: '模块ID',
|
|
10738
11006
|
},
|
|
@@ -10763,6 +11031,7 @@ export const BUILTIN_MODULES = [
|
|
|
10763
11031
|
method: 'delete',
|
|
10764
11032
|
path: '/doc/spaces/{spaceID}',
|
|
10765
11033
|
resultType: 'text',
|
|
11034
|
+
resultObjectType: null,
|
|
10766
11035
|
pathParams: {
|
|
10767
11036
|
spaceID: '空间ID',
|
|
10768
11037
|
},
|
|
@@ -10774,6 +11043,7 @@ export const BUILTIN_MODULES = [
|
|
|
10774
11043
|
method: 'delete',
|
|
10775
11044
|
path: '/doc/libs/{libID}',
|
|
10776
11045
|
resultType: 'text',
|
|
11046
|
+
resultObjectType: null,
|
|
10777
11047
|
pathParams: {
|
|
10778
11048
|
libID: '文档库ID',
|
|
10779
11049
|
},
|
|
@@ -10785,6 +11055,7 @@ export const BUILTIN_MODULES = [
|
|
|
10785
11055
|
method: 'delete',
|
|
10786
11056
|
path: '/doc/docs/{docID}',
|
|
10787
11057
|
resultType: 'text',
|
|
11058
|
+
resultObjectType: null,
|
|
10788
11059
|
pathParams: {
|
|
10789
11060
|
docID: '文档ID',
|
|
10790
11061
|
},
|
|
@@ -10796,6 +11067,7 @@ export const BUILTIN_MODULES = [
|
|
|
10796
11067
|
method: 'delete',
|
|
10797
11068
|
path: '/doc/modules/{moduleID}',
|
|
10798
11069
|
resultType: 'text',
|
|
11070
|
+
resultObjectType: null,
|
|
10799
11071
|
pathParams: {
|
|
10800
11072
|
moduleID: '模块ID',
|
|
10801
11073
|
},
|
|
@@ -10816,6 +11088,7 @@ export const BUILTIN_MODULES = [
|
|
|
10816
11088
|
method: 'post',
|
|
10817
11089
|
path: '/todos',
|
|
10818
11090
|
resultType: 'object',
|
|
11091
|
+
resultObjectType: 'todo',
|
|
10819
11092
|
requestBody: {
|
|
10820
11093
|
required: true,
|
|
10821
11094
|
type: 'object',
|
|
@@ -10853,7 +11126,7 @@ export const BUILTIN_MODULES = [
|
|
|
10853
11126
|
},
|
|
10854
11127
|
"desc": {
|
|
10855
11128
|
"type": "string",
|
|
10856
|
-
"description": "待办详情"
|
|
11129
|
+
"description": "待办详情 (HTML)"
|
|
10857
11130
|
}
|
|
10858
11131
|
},
|
|
10859
11132
|
"required": [
|
|
@@ -10879,6 +11152,7 @@ export const BUILTIN_MODULES = [
|
|
|
10879
11152
|
method: 'get',
|
|
10880
11153
|
path: '/todos/{todoID}',
|
|
10881
11154
|
resultType: 'object',
|
|
11155
|
+
resultObjectType: 'todo',
|
|
10882
11156
|
resultGetter: 'todo',
|
|
10883
11157
|
pathParams: {
|
|
10884
11158
|
todoID: '待办ID',
|
|
@@ -10891,6 +11165,7 @@ export const BUILTIN_MODULES = [
|
|
|
10891
11165
|
method: 'put',
|
|
10892
11166
|
path: '/todos/{todoID}',
|
|
10893
11167
|
resultType: 'object',
|
|
11168
|
+
resultObjectType: null,
|
|
10894
11169
|
pathParams: {
|
|
10895
11170
|
todoID: '待办ID',
|
|
10896
11171
|
},
|
|
@@ -10931,7 +11206,7 @@ export const BUILTIN_MODULES = [
|
|
|
10931
11206
|
},
|
|
10932
11207
|
"desc": {
|
|
10933
11208
|
"type": "string",
|
|
10934
|
-
"description": "待办详情"
|
|
11209
|
+
"description": "待办详情 (HTML)"
|
|
10935
11210
|
}
|
|
10936
11211
|
},
|
|
10937
11212
|
"required": [
|
|
@@ -10957,6 +11232,7 @@ export const BUILTIN_MODULES = [
|
|
|
10957
11232
|
method: 'delete',
|
|
10958
11233
|
path: '/todos/{todoID}',
|
|
10959
11234
|
resultType: 'text',
|
|
11235
|
+
resultObjectType: null,
|
|
10960
11236
|
pathParams: {
|
|
10961
11237
|
todoID: '待办ID',
|
|
10962
11238
|
},
|
|
@@ -10977,6 +11253,7 @@ export const BUILTIN_MODULES = [
|
|
|
10977
11253
|
method: 'get',
|
|
10978
11254
|
path: '/my/todos',
|
|
10979
11255
|
resultType: 'list',
|
|
11256
|
+
resultObjectType: 'todo',
|
|
10980
11257
|
pagerGetter: 'pager',
|
|
10981
11258
|
resultGetter: 'todos',
|
|
10982
11259
|
params: [
|
|
@@ -11054,6 +11331,7 @@ export const BUILTIN_MODULES = [
|
|
|
11054
11331
|
method: 'get',
|
|
11055
11332
|
path: '/my/tasks',
|
|
11056
11333
|
resultType: 'list',
|
|
11334
|
+
resultObjectType: 'task',
|
|
11057
11335
|
pagerGetter: 'pager',
|
|
11058
11336
|
resultGetter: 'tasks',
|
|
11059
11337
|
params: [
|
|
@@ -11189,6 +11467,7 @@ export const BUILTIN_MODULES = [
|
|
|
11189
11467
|
method: 'get',
|
|
11190
11468
|
path: '/my/bugs',
|
|
11191
11469
|
resultType: 'list',
|
|
11470
|
+
resultObjectType: 'bug',
|
|
11192
11471
|
pagerGetter: 'pager',
|
|
11193
11472
|
resultGetter: 'bugs',
|
|
11194
11473
|
params: [
|
|
@@ -11316,6 +11595,7 @@ export const BUILTIN_MODULES = [
|
|
|
11316
11595
|
method: 'get',
|
|
11317
11596
|
path: '/my/stories',
|
|
11318
11597
|
resultType: 'list',
|
|
11598
|
+
resultObjectType: 'story',
|
|
11319
11599
|
pagerGetter: 'pager',
|
|
11320
11600
|
resultGetter: 'stories',
|
|
11321
11601
|
params: [
|
|
@@ -11443,6 +11723,7 @@ export const BUILTIN_MODULES = [
|
|
|
11443
11723
|
method: 'get',
|
|
11444
11724
|
path: '/my/epics',
|
|
11445
11725
|
resultType: 'list',
|
|
11726
|
+
resultObjectType: 'epic',
|
|
11446
11727
|
pagerGetter: 'pager',
|
|
11447
11728
|
resultGetter: 'epics',
|
|
11448
11729
|
params: [
|
|
@@ -11570,6 +11851,7 @@ export const BUILTIN_MODULES = [
|
|
|
11570
11851
|
method: 'get',
|
|
11571
11852
|
path: '/my/requirements',
|
|
11572
11853
|
resultType: 'list',
|
|
11854
|
+
resultObjectType: 'requirement',
|
|
11573
11855
|
pagerGetter: 'pager',
|
|
11574
11856
|
resultGetter: 'requirements',
|
|
11575
11857
|
params: [
|
|
@@ -11697,6 +11979,7 @@ export const BUILTIN_MODULES = [
|
|
|
11697
11979
|
method: 'get',
|
|
11698
11980
|
path: '/my/testtasks',
|
|
11699
11981
|
resultType: 'list',
|
|
11982
|
+
resultObjectType: 'testtask',
|
|
11700
11983
|
pagerGetter: 'pager',
|
|
11701
11984
|
resultGetter: 'testtasks',
|
|
11702
11985
|
params: [
|
|
@@ -11776,6 +12059,7 @@ export const BUILTIN_MODULES = [
|
|
|
11776
12059
|
method: 'get',
|
|
11777
12060
|
path: '/my/projects',
|
|
11778
12061
|
resultType: 'list',
|
|
12062
|
+
resultObjectType: 'project',
|
|
11779
12063
|
pagerGetter: 'pager',
|
|
11780
12064
|
resultGetter: 'projects',
|
|
11781
12065
|
params: [
|
|
@@ -11832,6 +12116,7 @@ export const BUILTIN_MODULES = [
|
|
|
11832
12116
|
method: 'get',
|
|
11833
12117
|
path: '/my/feedbacks',
|
|
11834
12118
|
resultType: 'list',
|
|
12119
|
+
resultObjectType: 'feedback',
|
|
11835
12120
|
pagerGetter: 'pager',
|
|
11836
12121
|
resultGetter: 'feedbacks',
|
|
11837
12122
|
params: [
|
|
@@ -11906,6 +12191,7 @@ export const BUILTIN_MODULES = [
|
|
|
11906
12191
|
method: 'get',
|
|
11907
12192
|
path: '/my/tickets',
|
|
11908
12193
|
resultType: 'list',
|
|
12194
|
+
resultObjectType: 'ticket',
|
|
11909
12195
|
pagerGetter: 'pager',
|
|
11910
12196
|
resultGetter: 'tickets',
|
|
11911
12197
|
params: [
|
|
@@ -11981,6 +12267,7 @@ export const BUILTIN_MODULES = [
|
|
|
11981
12267
|
method: 'get',
|
|
11982
12268
|
path: '/my/testcases',
|
|
11983
12269
|
resultType: 'list',
|
|
12270
|
+
resultObjectType: 'testcase',
|
|
11984
12271
|
pagerGetter: 'pager',
|
|
11985
12272
|
resultGetter: 'testcases',
|
|
11986
12273
|
params: [
|
|
@@ -12088,6 +12375,7 @@ export const BUILTIN_MODULES = [
|
|
|
12088
12375
|
method: 'get',
|
|
12089
12376
|
path: '/my/meetings',
|
|
12090
12377
|
resultType: 'list',
|
|
12378
|
+
resultObjectType: 'meeting',
|
|
12091
12379
|
pagerGetter: 'pager',
|
|
12092
12380
|
resultGetter: 'meetings',
|
|
12093
12381
|
params: [
|
|
@@ -12139,6 +12427,7 @@ export const BUILTIN_MODULES = [
|
|
|
12139
12427
|
method: 'get',
|
|
12140
12428
|
path: '/my/issues',
|
|
12141
12429
|
resultType: 'list',
|
|
12430
|
+
resultObjectType: 'issue',
|
|
12142
12431
|
pagerGetter: 'pager',
|
|
12143
12432
|
resultGetter: 'issues',
|
|
12144
12433
|
params: [
|
|
@@ -12242,6 +12531,7 @@ export const BUILTIN_MODULES = [
|
|
|
12242
12531
|
method: 'get',
|
|
12243
12532
|
path: '/my/risks',
|
|
12244
12533
|
resultType: 'list',
|
|
12534
|
+
resultObjectType: 'risk',
|
|
12245
12535
|
pagerGetter: 'pager',
|
|
12246
12536
|
resultGetter: 'risks',
|
|
12247
12537
|
params: [
|
|
@@ -12365,6 +12655,7 @@ export const BUILTIN_MODULES = [
|
|
|
12365
12655
|
method: 'get',
|
|
12366
12656
|
path: '/my/activity/tasks',
|
|
12367
12657
|
resultType: 'list',
|
|
12658
|
+
resultObjectType: 'task',
|
|
12368
12659
|
pagerGetter: 'pager',
|
|
12369
12660
|
resultGetter: 'tasks',
|
|
12370
12661
|
params: [
|
|
@@ -12419,6 +12710,7 @@ export const BUILTIN_MODULES = [
|
|
|
12419
12710
|
method: 'get',
|
|
12420
12711
|
path: '/my/activity/bugs',
|
|
12421
12712
|
resultType: 'list',
|
|
12713
|
+
resultObjectType: 'bug',
|
|
12422
12714
|
pagerGetter: 'pager',
|
|
12423
12715
|
resultGetter: 'bugs',
|
|
12424
12716
|
params: [
|
|
@@ -12473,6 +12765,7 @@ export const BUILTIN_MODULES = [
|
|
|
12473
12765
|
method: 'get',
|
|
12474
12766
|
path: '/my/activity/stories',
|
|
12475
12767
|
resultType: 'list',
|
|
12768
|
+
resultObjectType: 'story',
|
|
12476
12769
|
pagerGetter: 'pager',
|
|
12477
12770
|
resultGetter: 'stories',
|
|
12478
12771
|
params: [
|
|
@@ -12527,6 +12820,7 @@ export const BUILTIN_MODULES = [
|
|
|
12527
12820
|
method: 'get',
|
|
12528
12821
|
path: '/my/activity/epics',
|
|
12529
12822
|
resultType: 'list',
|
|
12823
|
+
resultObjectType: 'epic',
|
|
12530
12824
|
pagerGetter: 'pager',
|
|
12531
12825
|
resultGetter: 'epics',
|
|
12532
12826
|
params: [
|
|
@@ -12581,6 +12875,7 @@ export const BUILTIN_MODULES = [
|
|
|
12581
12875
|
method: 'get',
|
|
12582
12876
|
path: '/my/activity/requirements',
|
|
12583
12877
|
resultType: 'list',
|
|
12878
|
+
resultObjectType: 'requirement',
|
|
12584
12879
|
pagerGetter: 'pager',
|
|
12585
12880
|
resultGetter: 'requirements',
|
|
12586
12881
|
params: [
|
|
@@ -12635,6 +12930,7 @@ export const BUILTIN_MODULES = [
|
|
|
12635
12930
|
method: 'get',
|
|
12636
12931
|
path: '/my/activity/testtasks',
|
|
12637
12932
|
resultType: 'list',
|
|
12933
|
+
resultObjectType: 'testtask',
|
|
12638
12934
|
pagerGetter: 'pager',
|
|
12639
12935
|
resultGetter: 'testtasks',
|
|
12640
12936
|
params: [
|
|
@@ -12671,6 +12967,7 @@ export const BUILTIN_MODULES = [
|
|
|
12671
12967
|
method: 'get',
|
|
12672
12968
|
path: '/my/activity/testcases',
|
|
12673
12969
|
resultType: 'list',
|
|
12970
|
+
resultObjectType: 'testcase',
|
|
12674
12971
|
pagerGetter: 'pager',
|
|
12675
12972
|
resultGetter: 'testcases',
|
|
12676
12973
|
params: [
|
|
@@ -12725,6 +13022,7 @@ export const BUILTIN_MODULES = [
|
|
|
12725
13022
|
method: 'get',
|
|
12726
13023
|
path: '/my/activity/docs',
|
|
12727
13024
|
resultType: 'list',
|
|
13025
|
+
resultObjectType: 'doc',
|
|
12728
13026
|
pagerGetter: 'pager',
|
|
12729
13027
|
resultGetter: 'docs',
|
|
12730
13028
|
params: [
|
|
@@ -12761,6 +13059,7 @@ export const BUILTIN_MODULES = [
|
|
|
12761
13059
|
method: 'get',
|
|
12762
13060
|
path: '/my/activity/issues',
|
|
12763
13061
|
resultType: 'list',
|
|
13062
|
+
resultObjectType: 'issue',
|
|
12764
13063
|
pagerGetter: 'pager',
|
|
12765
13064
|
resultGetter: 'issues',
|
|
12766
13065
|
params: [
|
|
@@ -12797,6 +13096,7 @@ export const BUILTIN_MODULES = [
|
|
|
12797
13096
|
method: 'get',
|
|
12798
13097
|
path: '/my/activity/risks',
|
|
12799
13098
|
resultType: 'list',
|
|
13099
|
+
resultObjectType: 'risk',
|
|
12800
13100
|
pagerGetter: 'pager',
|
|
12801
13101
|
resultGetter: 'risks',
|
|
12802
13102
|
params: [
|
|
@@ -12851,6 +13151,7 @@ export const BUILTIN_MODULES = [
|
|
|
12851
13151
|
method: 'get',
|
|
12852
13152
|
path: '/my/activity/reviewissues',
|
|
12853
13153
|
resultType: 'list',
|
|
13154
|
+
resultObjectType: 'reviewissue',
|
|
12854
13155
|
pagerGetter: 'pager',
|
|
12855
13156
|
resultGetter: 'reviewissues',
|
|
12856
13157
|
params: [
|
|
@@ -12905,6 +13206,7 @@ export const BUILTIN_MODULES = [
|
|
|
12905
13206
|
method: 'get',
|
|
12906
13207
|
path: '/my/activity/feedbacks',
|
|
12907
13208
|
resultType: 'list',
|
|
13209
|
+
resultObjectType: 'feedback',
|
|
12908
13210
|
pagerGetter: 'pager',
|
|
12909
13211
|
resultGetter: 'feedbacks',
|
|
12910
13212
|
params: [
|
|
@@ -12959,6 +13261,7 @@ export const BUILTIN_MODULES = [
|
|
|
12959
13261
|
method: 'get',
|
|
12960
13262
|
path: '/my/activity/audits',
|
|
12961
13263
|
resultType: 'list',
|
|
13264
|
+
resultObjectType: 'audit',
|
|
12962
13265
|
pagerGetter: 'pager',
|
|
12963
13266
|
resultGetter: 'audits',
|
|
12964
13267
|
params: [
|
|
@@ -12995,6 +13298,7 @@ export const BUILTIN_MODULES = [
|
|
|
12995
13298
|
method: 'get',
|
|
12996
13299
|
path: '/my/reviewissues',
|
|
12997
13300
|
resultType: 'list',
|
|
13301
|
+
resultObjectType: 'reviewissue',
|
|
12998
13302
|
pagerGetter: 'pager',
|
|
12999
13303
|
resultGetter: 'reviewissues',
|
|
13000
13304
|
params: [
|
|
@@ -13084,6 +13388,7 @@ export const BUILTIN_MODULES = [
|
|
|
13084
13388
|
method: 'get',
|
|
13085
13389
|
path: '/my/audits',
|
|
13086
13390
|
resultType: 'list',
|
|
13391
|
+
resultObjectType: 'audit',
|
|
13087
13392
|
pagerGetter: 'pager',
|
|
13088
13393
|
resultGetter: 'audits',
|
|
13089
13394
|
params: [
|
|
@@ -13133,6 +13438,7 @@ export const BUILTIN_MODULES = [
|
|
|
13133
13438
|
method: 'get',
|
|
13134
13439
|
path: '/my/auditplans',
|
|
13135
13440
|
resultType: 'list',
|
|
13441
|
+
resultObjectType: 'auditplan',
|
|
13136
13442
|
pagerGetter: 'pager',
|
|
13137
13443
|
resultGetter: 'auditplans',
|
|
13138
13444
|
params: [
|
|
@@ -13180,6 +13486,7 @@ export const BUILTIN_MODULES = [
|
|
|
13180
13486
|
method: 'get',
|
|
13181
13487
|
path: '/my/ncs',
|
|
13182
13488
|
resultType: 'list',
|
|
13489
|
+
resultObjectType: 'nc',
|
|
13183
13490
|
pagerGetter: 'pager',
|
|
13184
13491
|
resultGetter: 'ncs',
|
|
13185
13492
|
params: [
|
|
@@ -13233,6 +13540,7 @@ export const BUILTIN_MODULES = [
|
|
|
13233
13540
|
method: 'get',
|
|
13234
13541
|
path: '/{scope}/{scopeID}/processes',
|
|
13235
13542
|
resultType: 'list',
|
|
13543
|
+
resultObjectType: 'process',
|
|
13236
13544
|
resultGetter: 'processList',
|
|
13237
13545
|
pathParams: {
|
|
13238
13546
|
scope: { description: '过程裁剪所属范围', options: [{ value: 'projects', label: '项目' }, { value: 'executions', label: '执行' }] },
|
|
@@ -13267,6 +13575,7 @@ export const BUILTIN_MODULES = [
|
|
|
13267
13575
|
method: 'post',
|
|
13268
13576
|
path: '/projects/{projectID}/processes',
|
|
13269
13577
|
resultType: 'text',
|
|
13578
|
+
resultObjectType: null,
|
|
13270
13579
|
pathParams: {
|
|
13271
13580
|
projectID: '项目ID',
|
|
13272
13581
|
},
|
|
@@ -13306,6 +13615,7 @@ export const BUILTIN_MODULES = [
|
|
|
13306
13615
|
method: 'post',
|
|
13307
13616
|
path: '/executions/{executionID}/processes',
|
|
13308
13617
|
resultType: 'text',
|
|
13618
|
+
resultObjectType: null,
|
|
13309
13619
|
pathParams: {
|
|
13310
13620
|
executionID: '执行ID',
|
|
13311
13621
|
},
|
|
@@ -13354,6 +13664,7 @@ export const BUILTIN_MODULES = [
|
|
|
13354
13664
|
method: 'get',
|
|
13355
13665
|
path: '/{scope}/{scopeID}/auditplans',
|
|
13356
13666
|
resultType: 'list',
|
|
13667
|
+
resultObjectType: 'auditplan',
|
|
13357
13668
|
pagerGetter: 'pager',
|
|
13358
13669
|
resultGetter: 'auditplans',
|
|
13359
13670
|
pathParams: {
|
|
@@ -13436,6 +13747,7 @@ export const BUILTIN_MODULES = [
|
|
|
13436
13747
|
method: 'post',
|
|
13437
13748
|
path: '/auditplans',
|
|
13438
13749
|
resultType: 'object',
|
|
13750
|
+
resultObjectType: 'auditplan',
|
|
13439
13751
|
requestBody: {
|
|
13440
13752
|
required: true,
|
|
13441
13753
|
type: 'object',
|
|
@@ -13520,6 +13832,7 @@ export const BUILTIN_MODULES = [
|
|
|
13520
13832
|
method: 'post',
|
|
13521
13833
|
path: '/auditplans/{auditplanID}/check',
|
|
13522
13834
|
resultType: 'text',
|
|
13835
|
+
resultObjectType: null,
|
|
13523
13836
|
pathParams: {
|
|
13524
13837
|
auditplanID: 'auditplanID',
|
|
13525
13838
|
},
|
|
@@ -13576,6 +13889,7 @@ export const BUILTIN_MODULES = [
|
|
|
13576
13889
|
method: 'post',
|
|
13577
13890
|
path: '/projects/{projectID}/auditplans/batch',
|
|
13578
13891
|
resultType: 'text',
|
|
13892
|
+
resultObjectType: 'auditplan',
|
|
13579
13893
|
pathParams: {
|
|
13580
13894
|
projectID: '项目ID',
|
|
13581
13895
|
},
|
|
@@ -13673,6 +13987,7 @@ export const BUILTIN_MODULES = [
|
|
|
13673
13987
|
method: 'get',
|
|
13674
13988
|
path: '/auditplans/{auditplanID}',
|
|
13675
13989
|
resultType: 'object',
|
|
13990
|
+
resultObjectType: 'auditplan',
|
|
13676
13991
|
resultGetter: 'auditplan',
|
|
13677
13992
|
pathParams: {
|
|
13678
13993
|
auditplanID: 'auditplanID',
|
|
@@ -13685,6 +14000,7 @@ export const BUILTIN_MODULES = [
|
|
|
13685
14000
|
method: 'put',
|
|
13686
14001
|
path: '/auditplans/{auditplanID}',
|
|
13687
14002
|
resultType: 'object',
|
|
14003
|
+
resultObjectType: 'auditplan',
|
|
13688
14004
|
pathParams: {
|
|
13689
14005
|
auditplanID: 'auditplanID',
|
|
13690
14006
|
},
|
|
@@ -13745,6 +14061,7 @@ export const BUILTIN_MODULES = [
|
|
|
13745
14061
|
method: 'delete',
|
|
13746
14062
|
path: '/auditplans/{auditplanID}',
|
|
13747
14063
|
resultType: 'text',
|
|
14064
|
+
resultObjectType: null,
|
|
13748
14065
|
pathParams: {
|
|
13749
14066
|
auditplanID: 'auditplanID',
|
|
13750
14067
|
},
|
|
@@ -13765,6 +14082,7 @@ export const BUILTIN_MODULES = [
|
|
|
13765
14082
|
method: 'get',
|
|
13766
14083
|
path: '/{scope}/{scopeID}/ncs',
|
|
13767
14084
|
resultType: 'list',
|
|
14085
|
+
resultObjectType: 'nc',
|
|
13768
14086
|
pagerGetter: 'pager',
|
|
13769
14087
|
resultGetter: 'ncs',
|
|
13770
14088
|
pathParams: {
|
|
@@ -13822,6 +14140,7 @@ export const BUILTIN_MODULES = [
|
|
|
13822
14140
|
method: 'post',
|
|
13823
14141
|
path: '/projects/{projectID}/ncs',
|
|
13824
14142
|
resultType: 'object',
|
|
14143
|
+
resultObjectType: 'nc',
|
|
13825
14144
|
pathParams: {
|
|
13826
14145
|
projectID: '项目ID',
|
|
13827
14146
|
},
|
|
@@ -13888,6 +14207,7 @@ export const BUILTIN_MODULES = [
|
|
|
13888
14207
|
method: 'post',
|
|
13889
14208
|
path: '/executions/{executionID}/ncs',
|
|
13890
14209
|
resultType: 'object',
|
|
14210
|
+
resultObjectType: 'nc',
|
|
13891
14211
|
pathParams: {
|
|
13892
14212
|
executionID: '执行ID',
|
|
13893
14213
|
},
|
|
@@ -13948,6 +14268,7 @@ export const BUILTIN_MODULES = [
|
|
|
13948
14268
|
method: 'get',
|
|
13949
14269
|
path: '/ncs/{ncID}',
|
|
13950
14270
|
resultType: 'object',
|
|
14271
|
+
resultObjectType: 'nc',
|
|
13951
14272
|
resultGetter: 'nc',
|
|
13952
14273
|
pathParams: {
|
|
13953
14274
|
ncID: 'ncID',
|
|
@@ -13960,6 +14281,7 @@ export const BUILTIN_MODULES = [
|
|
|
13960
14281
|
method: 'put',
|
|
13961
14282
|
path: '/ncs/{ncID}',
|
|
13962
14283
|
resultType: 'object',
|
|
14284
|
+
resultObjectType: 'nc',
|
|
13963
14285
|
pathParams: {
|
|
13964
14286
|
ncID: 'ncID',
|
|
13965
14287
|
},
|
|
@@ -14035,6 +14357,7 @@ export const BUILTIN_MODULES = [
|
|
|
14035
14357
|
method: 'delete',
|
|
14036
14358
|
path: '/ncs/{ncID}',
|
|
14037
14359
|
resultType: 'text',
|
|
14360
|
+
resultObjectType: null,
|
|
14038
14361
|
pathParams: {
|
|
14039
14362
|
ncID: 'ncID',
|
|
14040
14363
|
},
|
|
@@ -14055,6 +14378,7 @@ export const BUILTIN_MODULES = [
|
|
|
14055
14378
|
method: 'get',
|
|
14056
14379
|
path: '/{scope}/{scopeID}/opportunities',
|
|
14057
14380
|
resultType: 'list',
|
|
14381
|
+
resultObjectType: 'opportunity',
|
|
14058
14382
|
pagerGetter: 'pager',
|
|
14059
14383
|
resultGetter: 'opportunities',
|
|
14060
14384
|
pathParams: {
|
|
@@ -14133,6 +14457,7 @@ export const BUILTIN_MODULES = [
|
|
|
14133
14457
|
method: 'post',
|
|
14134
14458
|
path: '/projects/{projectID}/opportunities',
|
|
14135
14459
|
resultType: 'object',
|
|
14460
|
+
resultObjectType: 'opportunity',
|
|
14136
14461
|
pathParams: {
|
|
14137
14462
|
projectID: '项目ID',
|
|
14138
14463
|
},
|
|
@@ -14233,6 +14558,7 @@ export const BUILTIN_MODULES = [
|
|
|
14233
14558
|
method: 'post',
|
|
14234
14559
|
path: '/projects/{projectID}/opportunities/batch',
|
|
14235
14560
|
resultType: 'text',
|
|
14561
|
+
resultObjectType: 'opportunity',
|
|
14236
14562
|
pathParams: {
|
|
14237
14563
|
projectID: '项目ID',
|
|
14238
14564
|
},
|
|
@@ -14335,6 +14661,7 @@ export const BUILTIN_MODULES = [
|
|
|
14335
14661
|
method: 'get',
|
|
14336
14662
|
path: '/opportunities/{opportunityID}',
|
|
14337
14663
|
resultType: 'object',
|
|
14664
|
+
resultObjectType: 'opportunity',
|
|
14338
14665
|
resultGetter: 'opportunity',
|
|
14339
14666
|
pathParams: {
|
|
14340
14667
|
opportunityID: 'opportunityID',
|
|
@@ -14347,6 +14674,7 @@ export const BUILTIN_MODULES = [
|
|
|
14347
14674
|
method: 'put',
|
|
14348
14675
|
path: '/opportunities/{opportunityID}',
|
|
14349
14676
|
resultType: 'object',
|
|
14677
|
+
resultObjectType: 'opportunity',
|
|
14350
14678
|
pathParams: {
|
|
14351
14679
|
opportunityID: 'opportunityID',
|
|
14352
14680
|
},
|
|
@@ -14433,6 +14761,7 @@ export const BUILTIN_MODULES = [
|
|
|
14433
14761
|
method: 'delete',
|
|
14434
14762
|
path: '/opportunities/{opportunityID}',
|
|
14435
14763
|
resultType: 'text',
|
|
14764
|
+
resultObjectType: null,
|
|
14436
14765
|
pathParams: {
|
|
14437
14766
|
opportunityID: 'opportunityID',
|
|
14438
14767
|
},
|
|
@@ -14453,6 +14782,7 @@ export const BUILTIN_MODULES = [
|
|
|
14453
14782
|
method: 'get',
|
|
14454
14783
|
path: '/projects/{projectID}/deliverables',
|
|
14455
14784
|
resultType: 'list',
|
|
14785
|
+
resultObjectType: 'deliverable',
|
|
14456
14786
|
pagerGetter: 'pager',
|
|
14457
14787
|
resultGetter: 'deliverables',
|
|
14458
14788
|
pathParams: {
|
|
@@ -14516,6 +14846,7 @@ export const BUILTIN_MODULES = [
|
|
|
14516
14846
|
method: 'get',
|
|
14517
14847
|
path: '/projects/{projectID}/deliverable-options',
|
|
14518
14848
|
resultType: 'object',
|
|
14849
|
+
resultObjectType: null,
|
|
14519
14850
|
resultGetter: 'deliverables',
|
|
14520
14851
|
pathParams: {
|
|
14521
14852
|
projectID: '项目ID',
|
|
@@ -14529,6 +14860,7 @@ export const BUILTIN_MODULES = [
|
|
|
14529
14860
|
method: 'post',
|
|
14530
14861
|
path: '/projects/{projectID}/deliverables',
|
|
14531
14862
|
resultType: 'object',
|
|
14863
|
+
resultObjectType: null,
|
|
14532
14864
|
pathParams: {
|
|
14533
14865
|
projectID: '项目ID',
|
|
14534
14866
|
},
|
|
@@ -14592,6 +14924,7 @@ export const BUILTIN_MODULES = [
|
|
|
14592
14924
|
method: 'get',
|
|
14593
14925
|
path: '/deliverables/{deliverableID}',
|
|
14594
14926
|
resultType: 'object',
|
|
14927
|
+
resultObjectType: 'deliverable',
|
|
14595
14928
|
resultGetter: 'deliverable',
|
|
14596
14929
|
pathParams: {
|
|
14597
14930
|
deliverableID: 'deliverableID',
|
|
@@ -14604,6 +14937,7 @@ export const BUILTIN_MODULES = [
|
|
|
14604
14937
|
method: 'delete',
|
|
14605
14938
|
path: '/deliverables/{deliverableID}',
|
|
14606
14939
|
resultType: 'text',
|
|
14940
|
+
resultObjectType: null,
|
|
14607
14941
|
pathParams: {
|
|
14608
14942
|
deliverableID: 'deliverableID',
|
|
14609
14943
|
},
|
|
@@ -14624,6 +14958,7 @@ export const BUILTIN_MODULES = [
|
|
|
14624
14958
|
method: 'get',
|
|
14625
14959
|
path: '/projects/{projectID}/baselines',
|
|
14626
14960
|
resultType: 'list',
|
|
14961
|
+
resultObjectType: 'baseline',
|
|
14627
14962
|
pagerGetter: 'pager',
|
|
14628
14963
|
resultGetter: 'baselines',
|
|
14629
14964
|
pathParams: {
|
|
@@ -14674,6 +15009,7 @@ export const BUILTIN_MODULES = [
|
|
|
14674
15009
|
method: 'post',
|
|
14675
15010
|
path: '/projects/{projectID}/baselines',
|
|
14676
15011
|
resultType: 'object',
|
|
15012
|
+
resultObjectType: null,
|
|
14677
15013
|
pathParams: {
|
|
14678
15014
|
projectID: '项目ID',
|
|
14679
15015
|
},
|
|
@@ -14731,6 +15067,7 @@ export const BUILTIN_MODULES = [
|
|
|
14731
15067
|
method: 'get',
|
|
14732
15068
|
path: '/baselines/{baselineID}',
|
|
14733
15069
|
resultType: 'object',
|
|
15070
|
+
resultObjectType: 'baseline',
|
|
14734
15071
|
resultGetter: 'baseline',
|
|
14735
15072
|
pathParams: {
|
|
14736
15073
|
baselineID: 'baselineID',
|
|
@@ -14743,6 +15080,7 @@ export const BUILTIN_MODULES = [
|
|
|
14743
15080
|
method: 'put',
|
|
14744
15081
|
path: '/baselines/{baselineID}',
|
|
14745
15082
|
resultType: 'object',
|
|
15083
|
+
resultObjectType: null,
|
|
14746
15084
|
pathParams: {
|
|
14747
15085
|
baselineID: 'baselineID',
|
|
14748
15086
|
},
|
|
@@ -14795,6 +15133,7 @@ export const BUILTIN_MODULES = [
|
|
|
14795
15133
|
method: 'delete',
|
|
14796
15134
|
path: '/baselines/{baselineID}',
|
|
14797
15135
|
resultType: 'text',
|
|
15136
|
+
resultObjectType: null,
|
|
14798
15137
|
pathParams: {
|
|
14799
15138
|
baselineID: 'baselineID',
|
|
14800
15139
|
},
|
|
@@ -14815,6 +15154,7 @@ export const BUILTIN_MODULES = [
|
|
|
14815
15154
|
method: 'get',
|
|
14816
15155
|
path: '/projects/{projectID}/changes',
|
|
14817
15156
|
resultType: 'list',
|
|
15157
|
+
resultObjectType: 'change',
|
|
14818
15158
|
pagerGetter: 'pager',
|
|
14819
15159
|
resultGetter: 'projectchanges',
|
|
14820
15160
|
pathParams: {
|
|
@@ -14866,6 +15206,7 @@ export const BUILTIN_MODULES = [
|
|
|
14866
15206
|
method: 'post',
|
|
14867
15207
|
path: '/projects/{projectID}/changes',
|
|
14868
15208
|
resultType: 'object',
|
|
15209
|
+
resultObjectType: null,
|
|
14869
15210
|
pathParams: {
|
|
14870
15211
|
projectID: '项目ID',
|
|
14871
15212
|
},
|
|
@@ -14926,6 +15267,7 @@ export const BUILTIN_MODULES = [
|
|
|
14926
15267
|
method: 'get',
|
|
14927
15268
|
path: '/changes/{changeID}',
|
|
14928
15269
|
resultType: 'object',
|
|
15270
|
+
resultObjectType: 'change',
|
|
14929
15271
|
resultGetter: 'projectchange',
|
|
14930
15272
|
pathParams: {
|
|
14931
15273
|
changeID: 'changeID',
|
|
@@ -14938,6 +15280,7 @@ export const BUILTIN_MODULES = [
|
|
|
14938
15280
|
method: 'put',
|
|
14939
15281
|
path: '/changes/{changeID}',
|
|
14940
15282
|
resultType: 'object',
|
|
15283
|
+
resultObjectType: null,
|
|
14941
15284
|
pathParams: {
|
|
14942
15285
|
changeID: 'changeID',
|
|
14943
15286
|
},
|
|
@@ -14998,6 +15341,7 @@ export const BUILTIN_MODULES = [
|
|
|
14998
15341
|
method: 'delete',
|
|
14999
15342
|
path: '/changes/{changeID}',
|
|
15000
15343
|
resultType: 'text',
|
|
15344
|
+
resultObjectType: null,
|
|
15001
15345
|
pathParams: {
|
|
15002
15346
|
changeID: 'changeID',
|
|
15003
15347
|
},
|
|
@@ -15018,6 +15362,7 @@ export const BUILTIN_MODULES = [
|
|
|
15018
15362
|
method: 'post',
|
|
15019
15363
|
path: '/relations/{objectType}/{objectID}/{relatedObjectType}',
|
|
15020
15364
|
resultType: 'text',
|
|
15365
|
+
resultObjectType: null,
|
|
15021
15366
|
pathParams: {
|
|
15022
15367
|
objectType: 'objectType',
|
|
15023
15368
|
objectID: 'objectID',
|
|
@@ -15055,6 +15400,12 @@ export const BUILTIN_MODULES = [
|
|
|
15055
15400
|
method: 'get',
|
|
15056
15401
|
path: '/relations/{objectType}/{objectID}/candidates/{relatedObjectType}',
|
|
15057
15402
|
resultType: 'list',
|
|
15403
|
+
resultObjectType: {
|
|
15404
|
+
"param": "relatedObjectType",
|
|
15405
|
+
"map": {
|
|
15406
|
+
"projectdeliverable": "deliverable"
|
|
15407
|
+
}
|
|
15408
|
+
},
|
|
15058
15409
|
pagerGetter: 'pager',
|
|
15059
15410
|
resultGetter: 'objects',
|
|
15060
15411
|
pathParams: {
|
|
@@ -15096,6 +15447,7 @@ export const BUILTIN_MODULES = [
|
|
|
15096
15447
|
method: 'get',
|
|
15097
15448
|
path: '/relations/{objectType}/{objectID}',
|
|
15098
15449
|
resultType: 'list',
|
|
15450
|
+
resultObjectType: null,
|
|
15099
15451
|
resultGetter: 'relations',
|
|
15100
15452
|
pathParams: {
|
|
15101
15453
|
objectType: 'objectType',
|
|
@@ -15109,6 +15461,7 @@ export const BUILTIN_MODULES = [
|
|
|
15109
15461
|
method: 'delete',
|
|
15110
15462
|
path: '/relations/{relationID}',
|
|
15111
15463
|
resultType: 'text',
|
|
15464
|
+
resultObjectType: null,
|
|
15112
15465
|
pathParams: {
|
|
15113
15466
|
relationID: 'relationID',
|
|
15114
15467
|
},
|
|
@@ -15130,6 +15483,7 @@ export const BUILTIN_MODULES = [
|
|
|
15130
15483
|
method: 'get',
|
|
15131
15484
|
path: '/workflowgroups',
|
|
15132
15485
|
resultType: 'list',
|
|
15486
|
+
resultObjectType: 'workflowgroup',
|
|
15133
15487
|
pagerGetter: 'pager',
|
|
15134
15488
|
resultGetter: 'groups',
|
|
15135
15489
|
params: [
|
|
@@ -15181,6 +15535,7 @@ export const BUILTIN_MODULES = [
|
|
|
15181
15535
|
method: 'get',
|
|
15182
15536
|
path: '/resourcecalendars',
|
|
15183
15537
|
resultType: 'object',
|
|
15538
|
+
resultObjectType: null,
|
|
15184
15539
|
resultGetter: 'resourceCalendars',
|
|
15185
15540
|
params: [
|
|
15186
15541
|
{
|
|
@@ -15241,6 +15596,7 @@ export const BUILTIN_MODULES = [
|
|
|
15241
15596
|
method: 'get',
|
|
15242
15597
|
path: '/weeklies',
|
|
15243
15598
|
resultType: 'list',
|
|
15599
|
+
resultObjectType: 'weekly',
|
|
15244
15600
|
pagerGetter: 'pager',
|
|
15245
15601
|
resultGetter: 'reports',
|
|
15246
15602
|
params: [
|
|
@@ -15295,6 +15651,7 @@ export const BUILTIN_MODULES = [
|
|
|
15295
15651
|
method: 'post',
|
|
15296
15652
|
path: '/weeklies',
|
|
15297
15653
|
resultType: 'object',
|
|
15654
|
+
resultObjectType: 'weekly',
|
|
15298
15655
|
requestBody: {
|
|
15299
15656
|
required: true,
|
|
15300
15657
|
type: 'object',
|
|
@@ -15354,6 +15711,7 @@ export const BUILTIN_MODULES = [
|
|
|
15354
15711
|
method: 'get',
|
|
15355
15712
|
path: '/weeklies/{reportID}',
|
|
15356
15713
|
resultType: 'object',
|
|
15714
|
+
resultObjectType: 'weekly',
|
|
15357
15715
|
resultGetter: 'report',
|
|
15358
15716
|
pathParams: {
|
|
15359
15717
|
reportID: 'reportID',
|
|
@@ -15366,6 +15724,7 @@ export const BUILTIN_MODULES = [
|
|
|
15366
15724
|
method: 'put',
|
|
15367
15725
|
path: '/weeklies/{reportID}',
|
|
15368
15726
|
resultType: 'object',
|
|
15727
|
+
resultObjectType: null,
|
|
15369
15728
|
pathParams: {
|
|
15370
15729
|
reportID: 'reportID',
|
|
15371
15730
|
},
|
|
@@ -15422,6 +15781,7 @@ export const BUILTIN_MODULES = [
|
|
|
15422
15781
|
method: 'delete',
|
|
15423
15782
|
path: '/weeklies/{reportID}',
|
|
15424
15783
|
resultType: 'text',
|
|
15784
|
+
resultObjectType: null,
|
|
15425
15785
|
pathParams: {
|
|
15426
15786
|
reportID: 'reportID',
|
|
15427
15787
|
},
|
|
@@ -15442,6 +15802,7 @@ export const BUILTIN_MODULES = [
|
|
|
15442
15802
|
method: 'get',
|
|
15443
15803
|
path: '/db/tables',
|
|
15444
15804
|
resultType: 'list',
|
|
15805
|
+
resultObjectType: null,
|
|
15445
15806
|
resultGetter: 'tables',
|
|
15446
15807
|
}, {
|
|
15447
15808
|
name: 'query',
|
|
@@ -15451,6 +15812,7 @@ export const BUILTIN_MODULES = [
|
|
|
15451
15812
|
method: 'post',
|
|
15452
15813
|
path: '/db/query',
|
|
15453
15814
|
resultType: 'list',
|
|
15815
|
+
resultObjectType: null,
|
|
15454
15816
|
resultGetter: 'rows',
|
|
15455
15817
|
requestBody: {
|
|
15456
15818
|
required: true,
|
|
@@ -15502,6 +15864,7 @@ export const BUILTIN_MODULES = [
|
|
|
15502
15864
|
method: 'get',
|
|
15503
15865
|
path: '/db/tables/{table}',
|
|
15504
15866
|
resultType: 'object',
|
|
15867
|
+
resultObjectType: null,
|
|
15505
15868
|
resultGetter: 'table',
|
|
15506
15869
|
pathParams: {
|
|
15507
15870
|
"table": "数据库表名,例如 zt_config"
|
|
@@ -15542,6 +15905,7 @@ export const BUILTIN_MODULES = [
|
|
|
15542
15905
|
method: 'get',
|
|
15543
15906
|
path: '/ai/knowledgelibs',
|
|
15544
15907
|
resultType: 'list',
|
|
15908
|
+
resultObjectType: 'knowledgelib',
|
|
15545
15909
|
pagerGetter: 'pager',
|
|
15546
15910
|
resultGetter: 'data',
|
|
15547
15911
|
params: [
|
|
@@ -15595,6 +15959,7 @@ export const BUILTIN_MODULES = [
|
|
|
15595
15959
|
method: 'get',
|
|
15596
15960
|
path: '/ai/knowledgelibs/{libID}/knowledges',
|
|
15597
15961
|
resultType: 'list',
|
|
15962
|
+
resultObjectType: 'knowledge',
|
|
15598
15963
|
pagerGetter: 'pager',
|
|
15599
15964
|
resultGetter: 'data',
|
|
15600
15965
|
pathParams: {
|
|
@@ -15705,6 +16070,7 @@ export const BUILTIN_MODULES = [
|
|
|
15705
16070
|
method: 'post',
|
|
15706
16071
|
path: '/ai/knowledges/embeddingssearch',
|
|
15707
16072
|
resultType: 'list',
|
|
16073
|
+
resultObjectType: null,
|
|
15708
16074
|
resultGetter: 'data',
|
|
15709
16075
|
requestBody: {
|
|
15710
16076
|
"required": true,
|
|
@@ -15845,6 +16211,7 @@ export const BUILTIN_MODULES = [
|
|
|
15845
16211
|
method: 'post',
|
|
15846
16212
|
path: '/ai/knowledges/search',
|
|
15847
16213
|
resultType: 'list',
|
|
16214
|
+
resultObjectType: 'knowledge',
|
|
15848
16215
|
pagerGetter: 'pager',
|
|
15849
16216
|
resultGetter: 'data',
|
|
15850
16217
|
requestBody: {
|
|
@@ -16008,6 +16375,7 @@ export const BUILTIN_MODULES = [
|
|
|
16008
16375
|
method: 'get',
|
|
16009
16376
|
path: '/ai/knowledges/{knowledgeID}',
|
|
16010
16377
|
resultType: 'object',
|
|
16378
|
+
resultObjectType: 'knowledge',
|
|
16011
16379
|
resultGetter: 'data',
|
|
16012
16380
|
pathParams: {
|
|
16013
16381
|
"knowledgeID": "本地知识条目 ID,正整数;不可使用 chunkID 或来源对象 objectID"
|