@tapd/tapd-node-sdk 1.45.1-alpha.4 → 1.45.1-alpha.5
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 +81 -1
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -3863,7 +3863,7 @@ module.exports = class API extends SDK {
|
|
|
3863
3863
|
return this.oAuthRequest.apply(
|
|
3864
3864
|
this, [
|
|
3865
3865
|
'/workspaces/get_create_project_oa_progress',
|
|
3866
|
-
'
|
|
3866
|
+
'GET',
|
|
3867
3867
|
...args
|
|
3868
3868
|
]
|
|
3869
3869
|
);
|
|
@@ -7831,12 +7831,92 @@ module.exports = class API extends SDK {
|
|
|
7831
7831
|
return this.oAuthRequest.apply(
|
|
7832
7832
|
this, [
|
|
7833
7833
|
'/workspaces/get_mini_project_list_with_permission',
|
|
7834
|
+
'GET',
|
|
7835
|
+
...args
|
|
7836
|
+
]
|
|
7837
|
+
);
|
|
7838
|
+
}
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* @description 获取任务所有字段信息
|
|
7842
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/task/get_task_fields_info.html
|
|
7843
|
+
* @scope task#r
|
|
7844
|
+
|
|
7845
|
+
*/
|
|
7846
|
+
getTaskFieldsInfo(...args) {
|
|
7847
|
+
return this.oAuthRequest.apply(
|
|
7848
|
+
this, [
|
|
7849
|
+
'/tasks/get_fields_info',
|
|
7850
|
+
'GET',
|
|
7851
|
+
...args
|
|
7852
|
+
]
|
|
7853
|
+
);
|
|
7854
|
+
}
|
|
7855
|
+
|
|
7856
|
+
/**
|
|
7857
|
+
* @description 更新项目基本信息
|
|
7858
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/update_workspace_info.html
|
|
7859
|
+
* @scope workspace#w
|
|
7860
|
+
|
|
7861
|
+
*/
|
|
7862
|
+
updateWorkspaceInfo(...args) {
|
|
7863
|
+
return this.oAuthRequest.apply(
|
|
7864
|
+
this, [
|
|
7865
|
+
'/workspaces/update_workspace_info',
|
|
7866
|
+
'POST',
|
|
7867
|
+
...args
|
|
7868
|
+
]
|
|
7869
|
+
);
|
|
7870
|
+
}
|
|
7871
|
+
|
|
7872
|
+
/**
|
|
7873
|
+
* @description 获取需求各个分类的数量
|
|
7874
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/story/count_story_by_categories.html
|
|
7875
|
+
* @scope story#r
|
|
7876
|
+
|
|
7877
|
+
*/
|
|
7878
|
+
countStoryByCategories(...args) {
|
|
7879
|
+
return this.oAuthRequest.apply(
|
|
7880
|
+
this, [
|
|
7881
|
+
'/stories/count_by_categories',
|
|
7882
|
+
'GET',
|
|
7883
|
+
...args
|
|
7884
|
+
]
|
|
7885
|
+
);
|
|
7886
|
+
}
|
|
7887
|
+
|
|
7888
|
+
/**
|
|
7889
|
+
* @description 更新级联自定义字段侯选值
|
|
7890
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/setting/update_cascade_field_options.html
|
|
7891
|
+
* @scope setting#w
|
|
7892
|
+
|
|
7893
|
+
*/
|
|
7894
|
+
updateCascadeFieldOptions(...args) {
|
|
7895
|
+
return this.oAuthRequest.apply(
|
|
7896
|
+
this, [
|
|
7897
|
+
'/custom_field_configs/update_cascade_field_options',
|
|
7834
7898
|
'POST',
|
|
7835
7899
|
...args
|
|
7836
7900
|
]
|
|
7837
7901
|
);
|
|
7838
7902
|
}
|
|
7839
7903
|
|
|
7904
|
+
/**
|
|
7905
|
+
* @description 获取用户参与项目
|
|
7906
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/user_participant_projects.html
|
|
7907
|
+
* @scope workspace#r
|
|
7908
|
+
|
|
7909
|
+
*/
|
|
7910
|
+
userParticipantProjects(...args) {
|
|
7911
|
+
return this.oAuthRequest.apply(
|
|
7912
|
+
this, [
|
|
7913
|
+
'/workspaces/user_participant_projects',
|
|
7914
|
+
'GET',
|
|
7915
|
+
...args
|
|
7916
|
+
]
|
|
7917
|
+
);
|
|
7918
|
+
}
|
|
7919
|
+
|
|
7840
7920
|
|
|
7841
7921
|
}
|
|
7842
7922
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.45.1-alpha.
|
|
3
|
+
"version": "1.45.1-alpha.5",
|
|
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": "f892da46fb568129ae3efe2cb0e2bebcffb356e3"
|
|
48
48
|
}
|