@tapd/tapd-node-sdk 1.57.0 → 1.57.1-alpha.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/node-sdk/src/index.js +64 -0
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -8513,6 +8513,70 @@ module.exports = class API extends SDK {
|
|
|
8513
8513
|
);
|
|
8514
8514
|
}
|
|
8515
8515
|
|
|
8516
|
+
/**
|
|
8517
|
+
* @description 获取项目报告
|
|
8518
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/report/get_workspace_reports.html
|
|
8519
|
+
* @scope report#r
|
|
8520
|
+
|
|
8521
|
+
*/
|
|
8522
|
+
getWorkspaceReports(...args) {
|
|
8523
|
+
return this.oAuthRequest.apply(
|
|
8524
|
+
this, [
|
|
8525
|
+
'/workspace_reports',
|
|
8526
|
+
'GET',
|
|
8527
|
+
...args
|
|
8528
|
+
]
|
|
8529
|
+
);
|
|
8530
|
+
}
|
|
8531
|
+
|
|
8532
|
+
/**
|
|
8533
|
+
* @description 获取已发送项目报告详情
|
|
8534
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/report/get_report_detail_html.html
|
|
8535
|
+
* @scope report#r
|
|
8536
|
+
|
|
8537
|
+
*/
|
|
8538
|
+
getReportDetailHtml(...args) {
|
|
8539
|
+
return this.oAuthRequest.apply(
|
|
8540
|
+
this, [
|
|
8541
|
+
'/workspace_reports/get_detail_html',
|
|
8542
|
+
'GET',
|
|
8543
|
+
...args
|
|
8544
|
+
]
|
|
8545
|
+
);
|
|
8546
|
+
}
|
|
8547
|
+
|
|
8548
|
+
/**
|
|
8549
|
+
* @description 获取新统计图表预览(表格)详情
|
|
8550
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/report/get_stat_table_data.html
|
|
8551
|
+
* @scope report#r
|
|
8552
|
+
|
|
8553
|
+
*/
|
|
8554
|
+
getStatTableData(...args) {
|
|
8555
|
+
return this.oAuthRequest.apply(
|
|
8556
|
+
this, [
|
|
8557
|
+
'/stat/get_stat_table_data',
|
|
8558
|
+
'GET',
|
|
8559
|
+
...args
|
|
8560
|
+
]
|
|
8561
|
+
);
|
|
8562
|
+
}
|
|
8563
|
+
|
|
8564
|
+
/**
|
|
8565
|
+
* @description 获取新统计图表预览图片下载链接
|
|
8566
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/report/get_stat_export_url.html
|
|
8567
|
+
* @scope report#r
|
|
8568
|
+
|
|
8569
|
+
*/
|
|
8570
|
+
getStatExportUrl(...args) {
|
|
8571
|
+
return this.oAuthRequest.apply(
|
|
8572
|
+
this, [
|
|
8573
|
+
'/stat/export',
|
|
8574
|
+
'GET',
|
|
8575
|
+
...args
|
|
8576
|
+
]
|
|
8577
|
+
);
|
|
8578
|
+
}
|
|
8579
|
+
|
|
8516
8580
|
|
|
8517
8581
|
}
|
|
8518
8582
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.57.0",
|
|
3
|
+
"version": "1.57.1-alpha.0",
|
|
4
4
|
"description": "node sdk for open tapd ",
|
|
5
5
|
"main": "node-sdk/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"directories": {
|
|
45
45
|
"test": "test"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "b01807fc1780c457b56c0d769c8d089b77984135"
|
|
48
48
|
}
|