@larksuiteoapi/node-sdk 1.27.0 → 1.28.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/es/index.js +393 -8
- package/lib/index.js +393 -8
- package/package.json +1 -1
- package/types/index.d.ts +3314 -492
package/es/index.js
CHANGED
|
@@ -1194,7 +1194,7 @@ class Client$Y extends Client$Z {
|
|
|
1194
1194
|
constructor() {
|
|
1195
1195
|
super(...arguments);
|
|
1196
1196
|
/**
|
|
1197
|
-
*
|
|
1197
|
+
* 管理后台-行为审计
|
|
1198
1198
|
*/
|
|
1199
1199
|
this.admin = {
|
|
1200
1200
|
/**
|
|
@@ -25966,6 +25966,76 @@ class Client$I extends Client$J {
|
|
|
25966
25966
|
throw e;
|
|
25967
25967
|
});
|
|
25968
25968
|
}),
|
|
25969
|
+
searchWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
25970
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
25971
|
+
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
25972
|
+
const res = yield this.httpInstance
|
|
25973
|
+
.request({
|
|
25974
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/pre_hires/search`, path),
|
|
25975
|
+
method: "POST",
|
|
25976
|
+
headers: pickBy(innerPayload.headers, identity),
|
|
25977
|
+
params: pickBy(innerPayload.params, identity),
|
|
25978
|
+
})
|
|
25979
|
+
.catch((e) => {
|
|
25980
|
+
this.logger.error(formatErrors(e));
|
|
25981
|
+
});
|
|
25982
|
+
return res;
|
|
25983
|
+
});
|
|
25984
|
+
const Iterable = {
|
|
25985
|
+
[Symbol.asyncIterator]() {
|
|
25986
|
+
return __asyncGenerator(this, arguments, function* _a() {
|
|
25987
|
+
let hasMore = true;
|
|
25988
|
+
let pageToken;
|
|
25989
|
+
while (hasMore) {
|
|
25990
|
+
try {
|
|
25991
|
+
const res = yield __await(sendRequest({
|
|
25992
|
+
headers,
|
|
25993
|
+
params: Object.assign(Object.assign({}, params), { page_token: pageToken }),
|
|
25994
|
+
data,
|
|
25995
|
+
}));
|
|
25996
|
+
const _b = get(res, "data") || {}, {
|
|
25997
|
+
// @ts-ignore
|
|
25998
|
+
has_more,
|
|
25999
|
+
// @ts-ignore
|
|
26000
|
+
page_token,
|
|
26001
|
+
// @ts-ignore
|
|
26002
|
+
next_page_token } = _b, rest = __rest(_b, ["has_more", "page_token", "next_page_token"]);
|
|
26003
|
+
yield yield __await(rest);
|
|
26004
|
+
hasMore = Boolean(has_more);
|
|
26005
|
+
pageToken = page_token || next_page_token;
|
|
26006
|
+
}
|
|
26007
|
+
catch (e) {
|
|
26008
|
+
yield yield __await(null);
|
|
26009
|
+
break;
|
|
26010
|
+
}
|
|
26011
|
+
}
|
|
26012
|
+
});
|
|
26013
|
+
},
|
|
26014
|
+
};
|
|
26015
|
+
return Iterable;
|
|
26016
|
+
}),
|
|
26017
|
+
/**
|
|
26018
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=pre_hire&apiName=search&version=v2 click to debug }
|
|
26019
|
+
*
|
|
26020
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=search&project=corehr&resource=pre_hire&version=v2 document }
|
|
26021
|
+
*
|
|
26022
|
+
* 根据部门 ID,上级部门查询部门列表
|
|
26023
|
+
*/
|
|
26024
|
+
search: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
26025
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
26026
|
+
return this.httpInstance
|
|
26027
|
+
.request({
|
|
26028
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/pre_hires/search`, path),
|
|
26029
|
+
method: "POST",
|
|
26030
|
+
data,
|
|
26031
|
+
params,
|
|
26032
|
+
headers,
|
|
26033
|
+
})
|
|
26034
|
+
.catch((e) => {
|
|
26035
|
+
this.logger.error(formatErrors(e));
|
|
26036
|
+
throw e;
|
|
26037
|
+
});
|
|
26038
|
+
}),
|
|
25969
26039
|
},
|
|
25970
26040
|
/**
|
|
25971
26041
|
* probation.assessment
|
|
@@ -27517,7 +27587,7 @@ class Client$E extends Client$F {
|
|
|
27517
27587
|
constructor() {
|
|
27518
27588
|
super(...arguments);
|
|
27519
27589
|
/**
|
|
27520
|
-
*
|
|
27590
|
+
* 云文档-文件管理
|
|
27521
27591
|
*/
|
|
27522
27592
|
this.drive = {
|
|
27523
27593
|
/**
|
|
@@ -27911,7 +27981,7 @@ class Client$E extends Client$F {
|
|
|
27911
27981
|
}),
|
|
27912
27982
|
},
|
|
27913
27983
|
/**
|
|
27914
|
-
*
|
|
27984
|
+
* 文件
|
|
27915
27985
|
*/
|
|
27916
27986
|
file: {
|
|
27917
27987
|
/**
|
|
@@ -29605,7 +29675,7 @@ class Client$E extends Client$F {
|
|
|
29605
29675
|
}),
|
|
29606
29676
|
},
|
|
29607
29677
|
/**
|
|
29608
|
-
*
|
|
29678
|
+
* 文件
|
|
29609
29679
|
*/
|
|
29610
29680
|
file: {
|
|
29611
29681
|
/**
|
|
@@ -40597,7 +40667,7 @@ class Client$s extends Client$t {
|
|
|
40597
40667
|
}),
|
|
40598
40668
|
},
|
|
40599
40669
|
/**
|
|
40600
|
-
*
|
|
40670
|
+
* 消息 - 消息卡片
|
|
40601
40671
|
*/
|
|
40602
40672
|
message: {
|
|
40603
40673
|
/**
|
|
@@ -42660,7 +42730,7 @@ class Client$s extends Client$t {
|
|
|
42660
42730
|
}),
|
|
42661
42731
|
},
|
|
42662
42732
|
/**
|
|
42663
|
-
*
|
|
42733
|
+
* 消息 - 消息卡片
|
|
42664
42734
|
*/
|
|
42665
42735
|
message: {
|
|
42666
42736
|
/**
|
|
@@ -43476,6 +43546,263 @@ class Client$s extends Client$t {
|
|
|
43476
43546
|
}),
|
|
43477
43547
|
},
|
|
43478
43548
|
},
|
|
43549
|
+
v2: {
|
|
43550
|
+
/**
|
|
43551
|
+
* app_feed_card.batch
|
|
43552
|
+
*/
|
|
43553
|
+
appFeedCardBatch: {
|
|
43554
|
+
/**
|
|
43555
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=app_feed_card.batch&apiName=delete&version=v2 click to debug }
|
|
43556
|
+
*
|
|
43557
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=im&resource=app_feed_card.batch&version=v2 document }
|
|
43558
|
+
*/
|
|
43559
|
+
delete: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43560
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43561
|
+
return this.httpInstance
|
|
43562
|
+
.request({
|
|
43563
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/app_feed_card/batch`, path),
|
|
43564
|
+
method: "DELETE",
|
|
43565
|
+
data,
|
|
43566
|
+
params,
|
|
43567
|
+
headers,
|
|
43568
|
+
})
|
|
43569
|
+
.catch((e) => {
|
|
43570
|
+
this.logger.error(formatErrors(e));
|
|
43571
|
+
throw e;
|
|
43572
|
+
});
|
|
43573
|
+
}),
|
|
43574
|
+
/**
|
|
43575
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=app_feed_card.batch&apiName=update&version=v2 click to debug }
|
|
43576
|
+
*
|
|
43577
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=im&resource=app_feed_card.batch&version=v2 document }
|
|
43578
|
+
*/
|
|
43579
|
+
update: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43580
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43581
|
+
return this.httpInstance
|
|
43582
|
+
.request({
|
|
43583
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/app_feed_card/batch`, path),
|
|
43584
|
+
method: "PUT",
|
|
43585
|
+
data,
|
|
43586
|
+
params,
|
|
43587
|
+
headers,
|
|
43588
|
+
})
|
|
43589
|
+
.catch((e) => {
|
|
43590
|
+
this.logger.error(formatErrors(e));
|
|
43591
|
+
throw e;
|
|
43592
|
+
});
|
|
43593
|
+
}),
|
|
43594
|
+
},
|
|
43595
|
+
/**
|
|
43596
|
+
* app_feed_card
|
|
43597
|
+
*/
|
|
43598
|
+
appFeedCard: {
|
|
43599
|
+
/**
|
|
43600
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=app_feed_card&apiName=create&version=v2 click to debug }
|
|
43601
|
+
*
|
|
43602
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=im&resource=app_feed_card&version=v2 document }
|
|
43603
|
+
*/
|
|
43604
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43605
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43606
|
+
return this.httpInstance
|
|
43607
|
+
.request({
|
|
43608
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/app_feed_card`, path),
|
|
43609
|
+
method: "POST",
|
|
43610
|
+
data,
|
|
43611
|
+
params,
|
|
43612
|
+
headers,
|
|
43613
|
+
})
|
|
43614
|
+
.catch((e) => {
|
|
43615
|
+
this.logger.error(formatErrors(e));
|
|
43616
|
+
throw e;
|
|
43617
|
+
});
|
|
43618
|
+
}),
|
|
43619
|
+
},
|
|
43620
|
+
/**
|
|
43621
|
+
* biz_entity_tag_relation
|
|
43622
|
+
*/
|
|
43623
|
+
bizEntityTagRelation: {
|
|
43624
|
+
/**
|
|
43625
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=biz_entity_tag_relation&apiName=create&version=v2 click to debug }
|
|
43626
|
+
*
|
|
43627
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=im&resource=biz_entity_tag_relation&version=v2 document }
|
|
43628
|
+
*/
|
|
43629
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43630
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43631
|
+
return this.httpInstance
|
|
43632
|
+
.request({
|
|
43633
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/biz_entity_tag_relation`, path),
|
|
43634
|
+
method: "POST",
|
|
43635
|
+
data,
|
|
43636
|
+
params,
|
|
43637
|
+
headers,
|
|
43638
|
+
})
|
|
43639
|
+
.catch((e) => {
|
|
43640
|
+
this.logger.error(formatErrors(e));
|
|
43641
|
+
throw e;
|
|
43642
|
+
});
|
|
43643
|
+
}),
|
|
43644
|
+
/**
|
|
43645
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=biz_entity_tag_relation&apiName=get&version=v2 click to debug }
|
|
43646
|
+
*
|
|
43647
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=im&resource=biz_entity_tag_relation&version=v2 document }
|
|
43648
|
+
*/
|
|
43649
|
+
get: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43650
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43651
|
+
return this.httpInstance
|
|
43652
|
+
.request({
|
|
43653
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/biz_entity_tag_relation`, path),
|
|
43654
|
+
method: "GET",
|
|
43655
|
+
data,
|
|
43656
|
+
params,
|
|
43657
|
+
headers,
|
|
43658
|
+
})
|
|
43659
|
+
.catch((e) => {
|
|
43660
|
+
this.logger.error(formatErrors(e));
|
|
43661
|
+
throw e;
|
|
43662
|
+
});
|
|
43663
|
+
}),
|
|
43664
|
+
/**
|
|
43665
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=biz_entity_tag_relation&apiName=update&version=v2 click to debug }
|
|
43666
|
+
*
|
|
43667
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=im&resource=biz_entity_tag_relation&version=v2 document }
|
|
43668
|
+
*/
|
|
43669
|
+
update: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43670
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43671
|
+
return this.httpInstance
|
|
43672
|
+
.request({
|
|
43673
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/biz_entity_tag_relation`, path),
|
|
43674
|
+
method: "PUT",
|
|
43675
|
+
data,
|
|
43676
|
+
params,
|
|
43677
|
+
headers,
|
|
43678
|
+
})
|
|
43679
|
+
.catch((e) => {
|
|
43680
|
+
this.logger.error(formatErrors(e));
|
|
43681
|
+
throw e;
|
|
43682
|
+
});
|
|
43683
|
+
}),
|
|
43684
|
+
},
|
|
43685
|
+
/**
|
|
43686
|
+
* chat_button
|
|
43687
|
+
*/
|
|
43688
|
+
chatButton: {
|
|
43689
|
+
/**
|
|
43690
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=chat_button&apiName=update&version=v2 click to debug }
|
|
43691
|
+
*
|
|
43692
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=im&resource=chat_button&version=v2 document }
|
|
43693
|
+
*/
|
|
43694
|
+
update: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43695
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43696
|
+
return this.httpInstance
|
|
43697
|
+
.request({
|
|
43698
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/chat_button`, path),
|
|
43699
|
+
method: "PUT",
|
|
43700
|
+
data,
|
|
43701
|
+
params,
|
|
43702
|
+
headers,
|
|
43703
|
+
})
|
|
43704
|
+
.catch((e) => {
|
|
43705
|
+
this.logger.error(formatErrors(e));
|
|
43706
|
+
throw e;
|
|
43707
|
+
});
|
|
43708
|
+
}),
|
|
43709
|
+
},
|
|
43710
|
+
/**
|
|
43711
|
+
* feed_card
|
|
43712
|
+
*/
|
|
43713
|
+
feedCard: {
|
|
43714
|
+
/**
|
|
43715
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=feed_card&apiName=patch&version=v2 click to debug }
|
|
43716
|
+
*
|
|
43717
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=im&resource=feed_card&version=v2 document }
|
|
43718
|
+
*/
|
|
43719
|
+
patch: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43720
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43721
|
+
return this.httpInstance
|
|
43722
|
+
.request({
|
|
43723
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/feed_cards/:feed_card_id`, path),
|
|
43724
|
+
method: "PATCH",
|
|
43725
|
+
data,
|
|
43726
|
+
params,
|
|
43727
|
+
headers,
|
|
43728
|
+
})
|
|
43729
|
+
.catch((e) => {
|
|
43730
|
+
this.logger.error(formatErrors(e));
|
|
43731
|
+
throw e;
|
|
43732
|
+
});
|
|
43733
|
+
}),
|
|
43734
|
+
},
|
|
43735
|
+
/**
|
|
43736
|
+
* tag
|
|
43737
|
+
*/
|
|
43738
|
+
tag: {
|
|
43739
|
+
/**
|
|
43740
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=tag&apiName=create&version=v2 click to debug }
|
|
43741
|
+
*
|
|
43742
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=im&resource=tag&version=v2 document }
|
|
43743
|
+
*/
|
|
43744
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43745
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43746
|
+
return this.httpInstance
|
|
43747
|
+
.request({
|
|
43748
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/tags`, path),
|
|
43749
|
+
method: "POST",
|
|
43750
|
+
data,
|
|
43751
|
+
params,
|
|
43752
|
+
headers,
|
|
43753
|
+
})
|
|
43754
|
+
.catch((e) => {
|
|
43755
|
+
this.logger.error(formatErrors(e));
|
|
43756
|
+
throw e;
|
|
43757
|
+
});
|
|
43758
|
+
}),
|
|
43759
|
+
/**
|
|
43760
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=tag&apiName=patch&version=v2 click to debug }
|
|
43761
|
+
*
|
|
43762
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=im&resource=tag&version=v2 document }
|
|
43763
|
+
*/
|
|
43764
|
+
patch: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43765
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43766
|
+
return this.httpInstance
|
|
43767
|
+
.request({
|
|
43768
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/tags/:tag_id`, path),
|
|
43769
|
+
method: "PATCH",
|
|
43770
|
+
data,
|
|
43771
|
+
params,
|
|
43772
|
+
headers,
|
|
43773
|
+
})
|
|
43774
|
+
.catch((e) => {
|
|
43775
|
+
this.logger.error(formatErrors(e));
|
|
43776
|
+
throw e;
|
|
43777
|
+
});
|
|
43778
|
+
}),
|
|
43779
|
+
},
|
|
43780
|
+
/**
|
|
43781
|
+
* url_preview
|
|
43782
|
+
*/
|
|
43783
|
+
urlPreview: {
|
|
43784
|
+
/**
|
|
43785
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=url_preview&apiName=batch_update&version=v2 click to debug }
|
|
43786
|
+
*
|
|
43787
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_update&project=im&resource=url_preview&version=v2 document }
|
|
43788
|
+
*/
|
|
43789
|
+
batchUpdate: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
43790
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
43791
|
+
return this.httpInstance
|
|
43792
|
+
.request({
|
|
43793
|
+
url: fillApiPath(`${this.domain}/open-apis/im/v2/url_previews/batch_update`, path),
|
|
43794
|
+
method: "POST",
|
|
43795
|
+
data,
|
|
43796
|
+
params,
|
|
43797
|
+
headers,
|
|
43798
|
+
})
|
|
43799
|
+
.catch((e) => {
|
|
43800
|
+
this.logger.error(formatErrors(e));
|
|
43801
|
+
throw e;
|
|
43802
|
+
});
|
|
43803
|
+
}),
|
|
43804
|
+
},
|
|
43805
|
+
},
|
|
43479
43806
|
};
|
|
43480
43807
|
}
|
|
43481
43808
|
}
|
|
@@ -47287,6 +47614,35 @@ class Client$m extends Client$n {
|
|
|
47287
47614
|
});
|
|
47288
47615
|
}),
|
|
47289
47616
|
},
|
|
47617
|
+
/**
|
|
47618
|
+
* 复盘(灰度租户可见)
|
|
47619
|
+
*/
|
|
47620
|
+
review: {
|
|
47621
|
+
/**
|
|
47622
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=review&apiName=query&version=v1 click to debug }
|
|
47623
|
+
*
|
|
47624
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/review/query document }
|
|
47625
|
+
*
|
|
47626
|
+
* 查询复盘信息
|
|
47627
|
+
*
|
|
47628
|
+
* 根据周期和用户查询复盘信息。
|
|
47629
|
+
*/
|
|
47630
|
+
query: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
47631
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
47632
|
+
return this.httpInstance
|
|
47633
|
+
.request({
|
|
47634
|
+
url: fillApiPath(`${this.domain}/open-apis/okr/v1/reviews/query`, path),
|
|
47635
|
+
method: "GET",
|
|
47636
|
+
data,
|
|
47637
|
+
params,
|
|
47638
|
+
headers,
|
|
47639
|
+
})
|
|
47640
|
+
.catch((e) => {
|
|
47641
|
+
this.logger.error(formatErrors(e));
|
|
47642
|
+
throw e;
|
|
47643
|
+
});
|
|
47644
|
+
}),
|
|
47645
|
+
},
|
|
47290
47646
|
/**
|
|
47291
47647
|
* 用户OKR
|
|
47292
47648
|
*/
|
|
@@ -47589,6 +47945,35 @@ class Client$m extends Client$n {
|
|
|
47589
47945
|
});
|
|
47590
47946
|
}),
|
|
47591
47947
|
},
|
|
47948
|
+
/**
|
|
47949
|
+
* 复盘(灰度租户可见)
|
|
47950
|
+
*/
|
|
47951
|
+
review: {
|
|
47952
|
+
/**
|
|
47953
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=review&apiName=query&version=v1 click to debug }
|
|
47954
|
+
*
|
|
47955
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/review/query document }
|
|
47956
|
+
*
|
|
47957
|
+
* 查询复盘信息
|
|
47958
|
+
*
|
|
47959
|
+
* 根据周期和用户查询复盘信息。
|
|
47960
|
+
*/
|
|
47961
|
+
query: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
47962
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
47963
|
+
return this.httpInstance
|
|
47964
|
+
.request({
|
|
47965
|
+
url: fillApiPath(`${this.domain}/open-apis/okr/v1/reviews/query`, path),
|
|
47966
|
+
method: "GET",
|
|
47967
|
+
data,
|
|
47968
|
+
params,
|
|
47969
|
+
headers,
|
|
47970
|
+
})
|
|
47971
|
+
.catch((e) => {
|
|
47972
|
+
this.logger.error(formatErrors(e));
|
|
47973
|
+
throw e;
|
|
47974
|
+
});
|
|
47975
|
+
}),
|
|
47976
|
+
},
|
|
47592
47977
|
/**
|
|
47593
47978
|
* 用户OKR
|
|
47594
47979
|
*/
|
|
@@ -49747,7 +50132,7 @@ class Client$c extends Client$d {
|
|
|
49747
50132
|
}),
|
|
49748
50133
|
},
|
|
49749
50134
|
/**
|
|
49750
|
-
*
|
|
50135
|
+
* 单元格
|
|
49751
50136
|
*/
|
|
49752
50137
|
spreadsheetSheet: {
|
|
49753
50138
|
/**
|
|
@@ -50450,7 +50835,7 @@ class Client$c extends Client$d {
|
|
|
50450
50835
|
}),
|
|
50451
50836
|
},
|
|
50452
50837
|
/**
|
|
50453
|
-
*
|
|
50838
|
+
* 单元格
|
|
50454
50839
|
*/
|
|
50455
50840
|
spreadsheetSheet: {
|
|
50456
50841
|
/**
|