@larksuiteoapi/node-sdk 1.49.0 → 1.50.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 +151 -10
- package/lib/index.js +151 -10
- package/package.json +1 -1
- package/types/index.d.ts +534 -24
package/es/index.js
CHANGED
|
@@ -1317,7 +1317,7 @@ class Client$15 extends Client$16 {
|
|
|
1317
1317
|
constructor() {
|
|
1318
1318
|
super(...arguments);
|
|
1319
1319
|
/**
|
|
1320
|
-
*
|
|
1320
|
+
* 管理后台-企业勋章
|
|
1321
1321
|
*/
|
|
1322
1322
|
this.admin = {
|
|
1323
1323
|
/**
|
|
@@ -4613,7 +4613,7 @@ class Client$12 extends Client$13 {
|
|
|
4613
4613
|
}),
|
|
4614
4614
|
},
|
|
4615
4615
|
/**
|
|
4616
|
-
*
|
|
4616
|
+
* 应用管理
|
|
4617
4617
|
*/
|
|
4618
4618
|
application: {
|
|
4619
4619
|
/**
|
|
@@ -5467,7 +5467,7 @@ class Client$12 extends Client$13 {
|
|
|
5467
5467
|
}),
|
|
5468
5468
|
},
|
|
5469
5469
|
/**
|
|
5470
|
-
*
|
|
5470
|
+
* 应用管理
|
|
5471
5471
|
*/
|
|
5472
5472
|
application: {
|
|
5473
5473
|
/**
|
|
@@ -6206,7 +6206,7 @@ class Client$11 extends Client$12 {
|
|
|
6206
6206
|
}),
|
|
6207
6207
|
},
|
|
6208
6208
|
/**
|
|
6209
|
-
*
|
|
6209
|
+
* 审批查询
|
|
6210
6210
|
*/
|
|
6211
6211
|
instance: {
|
|
6212
6212
|
/**
|
|
@@ -7211,7 +7211,7 @@ class Client$11 extends Client$12 {
|
|
|
7211
7211
|
}),
|
|
7212
7212
|
},
|
|
7213
7213
|
/**
|
|
7214
|
-
*
|
|
7214
|
+
* 审批查询
|
|
7215
7215
|
*/
|
|
7216
7216
|
instance: {
|
|
7217
7217
|
/**
|
|
@@ -12146,7 +12146,7 @@ class Client$W extends Client$X {
|
|
|
12146
12146
|
constructor() {
|
|
12147
12147
|
super(...arguments);
|
|
12148
12148
|
/**
|
|
12149
|
-
*
|
|
12149
|
+
* 云文档-电子表格
|
|
12150
12150
|
*/
|
|
12151
12151
|
this.bitable = {
|
|
12152
12152
|
/**
|
|
@@ -32637,6 +32637,147 @@ class Client$M extends Client$N {
|
|
|
32637
32637
|
});
|
|
32638
32638
|
}),
|
|
32639
32639
|
},
|
|
32640
|
+
/**
|
|
32641
|
+
* employees.international_assignment
|
|
32642
|
+
*/
|
|
32643
|
+
employeesInternationalAssignment: {
|
|
32644
|
+
/**
|
|
32645
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=create&version=v2 click to debug }
|
|
32646
|
+
*
|
|
32647
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32648
|
+
*/
|
|
32649
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32650
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32651
|
+
return this.httpInstance
|
|
32652
|
+
.request({
|
|
32653
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments`, path),
|
|
32654
|
+
method: "POST",
|
|
32655
|
+
data,
|
|
32656
|
+
params,
|
|
32657
|
+
headers,
|
|
32658
|
+
paramsSerializer: (params) => stringify(params, { arrayFormat: "repeat" }),
|
|
32659
|
+
})
|
|
32660
|
+
.catch((e) => {
|
|
32661
|
+
this.logger.error(formatErrors(e));
|
|
32662
|
+
throw e;
|
|
32663
|
+
});
|
|
32664
|
+
}),
|
|
32665
|
+
/**
|
|
32666
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=delete&version=v2 click to debug }
|
|
32667
|
+
*
|
|
32668
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32669
|
+
*/
|
|
32670
|
+
delete: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32671
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32672
|
+
return this.httpInstance
|
|
32673
|
+
.request({
|
|
32674
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments/:international_assignment_id`, path),
|
|
32675
|
+
method: "DELETE",
|
|
32676
|
+
data,
|
|
32677
|
+
params,
|
|
32678
|
+
headers,
|
|
32679
|
+
paramsSerializer: (params) => stringify(params, { arrayFormat: "repeat" }),
|
|
32680
|
+
})
|
|
32681
|
+
.catch((e) => {
|
|
32682
|
+
this.logger.error(formatErrors(e));
|
|
32683
|
+
throw e;
|
|
32684
|
+
});
|
|
32685
|
+
}),
|
|
32686
|
+
listWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32687
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32688
|
+
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
32689
|
+
const res = yield this.httpInstance
|
|
32690
|
+
.request({
|
|
32691
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments`, path),
|
|
32692
|
+
method: "GET",
|
|
32693
|
+
headers: pickBy(innerPayload.headers, identity),
|
|
32694
|
+
params: pickBy(innerPayload.params, identity),
|
|
32695
|
+
data,
|
|
32696
|
+
paramsSerializer: (params) => stringify(params, {
|
|
32697
|
+
arrayFormat: "repeat",
|
|
32698
|
+
}),
|
|
32699
|
+
})
|
|
32700
|
+
.catch((e) => {
|
|
32701
|
+
this.logger.error(formatErrors(e));
|
|
32702
|
+
});
|
|
32703
|
+
return res;
|
|
32704
|
+
});
|
|
32705
|
+
const Iterable = {
|
|
32706
|
+
[Symbol.asyncIterator]() {
|
|
32707
|
+
return __asyncGenerator(this, arguments, function* _a() {
|
|
32708
|
+
let hasMore = true;
|
|
32709
|
+
let pageToken;
|
|
32710
|
+
while (hasMore) {
|
|
32711
|
+
try {
|
|
32712
|
+
const res = yield __await(sendRequest({
|
|
32713
|
+
headers,
|
|
32714
|
+
params: Object.assign(Object.assign({}, params), { page_token: pageToken }),
|
|
32715
|
+
data,
|
|
32716
|
+
}));
|
|
32717
|
+
const _b = (res === null || res === void 0 ? void 0 : res.data) || {}, {
|
|
32718
|
+
// @ts-ignore
|
|
32719
|
+
has_more,
|
|
32720
|
+
// @ts-ignore
|
|
32721
|
+
page_token,
|
|
32722
|
+
// @ts-ignore
|
|
32723
|
+
next_page_token } = _b, rest = __rest(_b, ["has_more", "page_token", "next_page_token"]);
|
|
32724
|
+
yield yield __await(rest);
|
|
32725
|
+
hasMore = Boolean(has_more);
|
|
32726
|
+
pageToken = page_token || next_page_token;
|
|
32727
|
+
}
|
|
32728
|
+
catch (e) {
|
|
32729
|
+
yield yield __await(null);
|
|
32730
|
+
break;
|
|
32731
|
+
}
|
|
32732
|
+
}
|
|
32733
|
+
});
|
|
32734
|
+
},
|
|
32735
|
+
};
|
|
32736
|
+
return Iterable;
|
|
32737
|
+
}),
|
|
32738
|
+
/**
|
|
32739
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=list&version=v2 click to debug }
|
|
32740
|
+
*
|
|
32741
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32742
|
+
*/
|
|
32743
|
+
list: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32744
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32745
|
+
return this.httpInstance
|
|
32746
|
+
.request({
|
|
32747
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments`, path),
|
|
32748
|
+
method: "GET",
|
|
32749
|
+
data,
|
|
32750
|
+
params,
|
|
32751
|
+
headers,
|
|
32752
|
+
paramsSerializer: (params) => stringify(params, { arrayFormat: "repeat" }),
|
|
32753
|
+
})
|
|
32754
|
+
.catch((e) => {
|
|
32755
|
+
this.logger.error(formatErrors(e));
|
|
32756
|
+
throw e;
|
|
32757
|
+
});
|
|
32758
|
+
}),
|
|
32759
|
+
/**
|
|
32760
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=patch&version=v2 click to debug }
|
|
32761
|
+
*
|
|
32762
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32763
|
+
*/
|
|
32764
|
+
patch: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32765
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32766
|
+
return this.httpInstance
|
|
32767
|
+
.request({
|
|
32768
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments/:international_assignment_id`, path),
|
|
32769
|
+
method: "PATCH",
|
|
32770
|
+
data,
|
|
32771
|
+
params,
|
|
32772
|
+
headers,
|
|
32773
|
+
paramsSerializer: (params) => stringify(params, { arrayFormat: "repeat" }),
|
|
32774
|
+
})
|
|
32775
|
+
.catch((e) => {
|
|
32776
|
+
this.logger.error(formatErrors(e));
|
|
32777
|
+
throw e;
|
|
32778
|
+
});
|
|
32779
|
+
}),
|
|
32780
|
+
},
|
|
32640
32781
|
/**
|
|
32641
32782
|
* employees.job_data
|
|
32642
32783
|
*/
|
|
@@ -37687,7 +37828,7 @@ class Client$G extends Client$H {
|
|
|
37687
37828
|
}),
|
|
37688
37829
|
},
|
|
37689
37830
|
/**
|
|
37690
|
-
*
|
|
37831
|
+
* 文件
|
|
37691
37832
|
*/
|
|
37692
37833
|
file: {
|
|
37693
37834
|
/**
|
|
@@ -39507,7 +39648,7 @@ class Client$G extends Client$H {
|
|
|
39507
39648
|
}),
|
|
39508
39649
|
},
|
|
39509
39650
|
/**
|
|
39510
|
-
*
|
|
39651
|
+
* 文件
|
|
39511
39652
|
*/
|
|
39512
39653
|
file: {
|
|
39513
39654
|
/**
|
|
@@ -71157,7 +71298,7 @@ class Client$c extends Client$d {
|
|
|
71157
71298
|
}),
|
|
71158
71299
|
},
|
|
71159
71300
|
/**
|
|
71160
|
-
*
|
|
71301
|
+
* 单元格
|
|
71161
71302
|
*/
|
|
71162
71303
|
spreadsheetSheet: {
|
|
71163
71304
|
/**
|
|
@@ -71887,7 +72028,7 @@ class Client$c extends Client$d {
|
|
|
71887
72028
|
}),
|
|
71888
72029
|
},
|
|
71889
72030
|
/**
|
|
71890
|
-
*
|
|
72031
|
+
* 单元格
|
|
71891
72032
|
*/
|
|
71892
72033
|
spreadsheetSheet: {
|
|
71893
72034
|
/**
|
package/lib/index.js
CHANGED
|
@@ -1332,7 +1332,7 @@ class Client$15 extends Client$16 {
|
|
|
1332
1332
|
constructor() {
|
|
1333
1333
|
super(...arguments);
|
|
1334
1334
|
/**
|
|
1335
|
-
*
|
|
1335
|
+
* 管理后台-企业勋章
|
|
1336
1336
|
*/
|
|
1337
1337
|
this.admin = {
|
|
1338
1338
|
/**
|
|
@@ -4628,7 +4628,7 @@ class Client$12 extends Client$13 {
|
|
|
4628
4628
|
}),
|
|
4629
4629
|
},
|
|
4630
4630
|
/**
|
|
4631
|
-
*
|
|
4631
|
+
* 应用管理
|
|
4632
4632
|
*/
|
|
4633
4633
|
application: {
|
|
4634
4634
|
/**
|
|
@@ -5482,7 +5482,7 @@ class Client$12 extends Client$13 {
|
|
|
5482
5482
|
}),
|
|
5483
5483
|
},
|
|
5484
5484
|
/**
|
|
5485
|
-
*
|
|
5485
|
+
* 应用管理
|
|
5486
5486
|
*/
|
|
5487
5487
|
application: {
|
|
5488
5488
|
/**
|
|
@@ -6221,7 +6221,7 @@ class Client$11 extends Client$12 {
|
|
|
6221
6221
|
}),
|
|
6222
6222
|
},
|
|
6223
6223
|
/**
|
|
6224
|
-
*
|
|
6224
|
+
* 审批查询
|
|
6225
6225
|
*/
|
|
6226
6226
|
instance: {
|
|
6227
6227
|
/**
|
|
@@ -7226,7 +7226,7 @@ class Client$11 extends Client$12 {
|
|
|
7226
7226
|
}),
|
|
7227
7227
|
},
|
|
7228
7228
|
/**
|
|
7229
|
-
*
|
|
7229
|
+
* 审批查询
|
|
7230
7230
|
*/
|
|
7231
7231
|
instance: {
|
|
7232
7232
|
/**
|
|
@@ -12161,7 +12161,7 @@ class Client$W extends Client$X {
|
|
|
12161
12161
|
constructor() {
|
|
12162
12162
|
super(...arguments);
|
|
12163
12163
|
/**
|
|
12164
|
-
*
|
|
12164
|
+
* 云文档-电子表格
|
|
12165
12165
|
*/
|
|
12166
12166
|
this.bitable = {
|
|
12167
12167
|
/**
|
|
@@ -32652,6 +32652,147 @@ class Client$M extends Client$N {
|
|
|
32652
32652
|
});
|
|
32653
32653
|
}),
|
|
32654
32654
|
},
|
|
32655
|
+
/**
|
|
32656
|
+
* employees.international_assignment
|
|
32657
|
+
*/
|
|
32658
|
+
employeesInternationalAssignment: {
|
|
32659
|
+
/**
|
|
32660
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=create&version=v2 click to debug }
|
|
32661
|
+
*
|
|
32662
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32663
|
+
*/
|
|
32664
|
+
create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32665
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32666
|
+
return this.httpInstance
|
|
32667
|
+
.request({
|
|
32668
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments`, path),
|
|
32669
|
+
method: "POST",
|
|
32670
|
+
data,
|
|
32671
|
+
params,
|
|
32672
|
+
headers,
|
|
32673
|
+
paramsSerializer: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
|
|
32674
|
+
})
|
|
32675
|
+
.catch((e) => {
|
|
32676
|
+
this.logger.error(formatErrors(e));
|
|
32677
|
+
throw e;
|
|
32678
|
+
});
|
|
32679
|
+
}),
|
|
32680
|
+
/**
|
|
32681
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=delete&version=v2 click to debug }
|
|
32682
|
+
*
|
|
32683
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32684
|
+
*/
|
|
32685
|
+
delete: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32686
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32687
|
+
return this.httpInstance
|
|
32688
|
+
.request({
|
|
32689
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments/:international_assignment_id`, path),
|
|
32690
|
+
method: "DELETE",
|
|
32691
|
+
data,
|
|
32692
|
+
params,
|
|
32693
|
+
headers,
|
|
32694
|
+
paramsSerializer: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
|
|
32695
|
+
})
|
|
32696
|
+
.catch((e) => {
|
|
32697
|
+
this.logger.error(formatErrors(e));
|
|
32698
|
+
throw e;
|
|
32699
|
+
});
|
|
32700
|
+
}),
|
|
32701
|
+
listWithIterator: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32702
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32703
|
+
const sendRequest = (innerPayload) => __awaiter(this, void 0, void 0, function* () {
|
|
32704
|
+
const res = yield this.httpInstance
|
|
32705
|
+
.request({
|
|
32706
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments`, path),
|
|
32707
|
+
method: "GET",
|
|
32708
|
+
headers: pickBy__default["default"](innerPayload.headers, identity__default["default"]),
|
|
32709
|
+
params: pickBy__default["default"](innerPayload.params, identity__default["default"]),
|
|
32710
|
+
data,
|
|
32711
|
+
paramsSerializer: (params) => qs.stringify(params, {
|
|
32712
|
+
arrayFormat: "repeat",
|
|
32713
|
+
}),
|
|
32714
|
+
})
|
|
32715
|
+
.catch((e) => {
|
|
32716
|
+
this.logger.error(formatErrors(e));
|
|
32717
|
+
});
|
|
32718
|
+
return res;
|
|
32719
|
+
});
|
|
32720
|
+
const Iterable = {
|
|
32721
|
+
[Symbol.asyncIterator]() {
|
|
32722
|
+
return __asyncGenerator(this, arguments, function* _a() {
|
|
32723
|
+
let hasMore = true;
|
|
32724
|
+
let pageToken;
|
|
32725
|
+
while (hasMore) {
|
|
32726
|
+
try {
|
|
32727
|
+
const res = yield __await(sendRequest({
|
|
32728
|
+
headers,
|
|
32729
|
+
params: Object.assign(Object.assign({}, params), { page_token: pageToken }),
|
|
32730
|
+
data,
|
|
32731
|
+
}));
|
|
32732
|
+
const _b = (res === null || res === void 0 ? void 0 : res.data) || {}, {
|
|
32733
|
+
// @ts-ignore
|
|
32734
|
+
has_more,
|
|
32735
|
+
// @ts-ignore
|
|
32736
|
+
page_token,
|
|
32737
|
+
// @ts-ignore
|
|
32738
|
+
next_page_token } = _b, rest = __rest(_b, ["has_more", "page_token", "next_page_token"]);
|
|
32739
|
+
yield yield __await(rest);
|
|
32740
|
+
hasMore = Boolean(has_more);
|
|
32741
|
+
pageToken = page_token || next_page_token;
|
|
32742
|
+
}
|
|
32743
|
+
catch (e) {
|
|
32744
|
+
yield yield __await(null);
|
|
32745
|
+
break;
|
|
32746
|
+
}
|
|
32747
|
+
}
|
|
32748
|
+
});
|
|
32749
|
+
},
|
|
32750
|
+
};
|
|
32751
|
+
return Iterable;
|
|
32752
|
+
}),
|
|
32753
|
+
/**
|
|
32754
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=list&version=v2 click to debug }
|
|
32755
|
+
*
|
|
32756
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32757
|
+
*/
|
|
32758
|
+
list: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32759
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32760
|
+
return this.httpInstance
|
|
32761
|
+
.request({
|
|
32762
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments`, path),
|
|
32763
|
+
method: "GET",
|
|
32764
|
+
data,
|
|
32765
|
+
params,
|
|
32766
|
+
headers,
|
|
32767
|
+
paramsSerializer: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
|
|
32768
|
+
})
|
|
32769
|
+
.catch((e) => {
|
|
32770
|
+
this.logger.error(formatErrors(e));
|
|
32771
|
+
throw e;
|
|
32772
|
+
});
|
|
32773
|
+
}),
|
|
32774
|
+
/**
|
|
32775
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=patch&version=v2 click to debug }
|
|
32776
|
+
*
|
|
32777
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
32778
|
+
*/
|
|
32779
|
+
patch: (payload, options) => __awaiter(this, void 0, void 0, function* () {
|
|
32780
|
+
const { headers, params, data, path } = yield this.formatPayload(payload, options);
|
|
32781
|
+
return this.httpInstance
|
|
32782
|
+
.request({
|
|
32783
|
+
url: fillApiPath(`${this.domain}/open-apis/corehr/v2/employees/international_assignments/:international_assignment_id`, path),
|
|
32784
|
+
method: "PATCH",
|
|
32785
|
+
data,
|
|
32786
|
+
params,
|
|
32787
|
+
headers,
|
|
32788
|
+
paramsSerializer: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
|
|
32789
|
+
})
|
|
32790
|
+
.catch((e) => {
|
|
32791
|
+
this.logger.error(formatErrors(e));
|
|
32792
|
+
throw e;
|
|
32793
|
+
});
|
|
32794
|
+
}),
|
|
32795
|
+
},
|
|
32655
32796
|
/**
|
|
32656
32797
|
* employees.job_data
|
|
32657
32798
|
*/
|
|
@@ -37702,7 +37843,7 @@ class Client$G extends Client$H {
|
|
|
37702
37843
|
}),
|
|
37703
37844
|
},
|
|
37704
37845
|
/**
|
|
37705
|
-
*
|
|
37846
|
+
* 文件
|
|
37706
37847
|
*/
|
|
37707
37848
|
file: {
|
|
37708
37849
|
/**
|
|
@@ -39522,7 +39663,7 @@ class Client$G extends Client$H {
|
|
|
39522
39663
|
}),
|
|
39523
39664
|
},
|
|
39524
39665
|
/**
|
|
39525
|
-
*
|
|
39666
|
+
* 文件
|
|
39526
39667
|
*/
|
|
39527
39668
|
file: {
|
|
39528
39669
|
/**
|
|
@@ -71172,7 +71313,7 @@ class Client$c extends Client$d {
|
|
|
71172
71313
|
}),
|
|
71173
71314
|
},
|
|
71174
71315
|
/**
|
|
71175
|
-
*
|
|
71316
|
+
* 单元格
|
|
71176
71317
|
*/
|
|
71177
71318
|
spreadsheetSheet: {
|
|
71178
71319
|
/**
|
|
@@ -71902,7 +72043,7 @@ class Client$c extends Client$d {
|
|
|
71902
72043
|
}),
|
|
71903
72044
|
},
|
|
71904
72045
|
/**
|
|
71905
|
-
*
|
|
72046
|
+
* 单元格
|
|
71906
72047
|
*/
|
|
71907
72048
|
spreadsheetSheet: {
|
|
71908
72049
|
/**
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1074,7 +1074,7 @@ declare abstract class Client$15 extends Client$16 {
|
|
|
1074
1074
|
httpInstance: HttpInstance;
|
|
1075
1075
|
abstract formatPayload(payload?: IPayload, options?: IRequestOptions$1): Promise<Required<IPayload>>;
|
|
1076
1076
|
/**
|
|
1077
|
-
*
|
|
1077
|
+
* 管理后台-企业勋章
|
|
1078
1078
|
*/
|
|
1079
1079
|
admin: {
|
|
1080
1080
|
/**
|
|
@@ -6420,7 +6420,7 @@ declare abstract class Client$12 extends Client$13 {
|
|
|
6420
6420
|
}>;
|
|
6421
6421
|
};
|
|
6422
6422
|
/**
|
|
6423
|
-
*
|
|
6423
|
+
* 应用管理
|
|
6424
6424
|
*/
|
|
6425
6425
|
application: {
|
|
6426
6426
|
/**
|
|
@@ -7941,7 +7941,7 @@ declare abstract class Client$12 extends Client$13 {
|
|
|
7941
7941
|
}>;
|
|
7942
7942
|
};
|
|
7943
7943
|
/**
|
|
7944
|
-
*
|
|
7944
|
+
* 应用管理
|
|
7945
7945
|
*/
|
|
7946
7946
|
application: {
|
|
7947
7947
|
/**
|
|
@@ -9236,7 +9236,7 @@ declare abstract class Client$11 extends Client$12 {
|
|
|
9236
9236
|
}>;
|
|
9237
9237
|
};
|
|
9238
9238
|
/**
|
|
9239
|
-
*
|
|
9239
|
+
* 审批查询
|
|
9240
9240
|
*/
|
|
9241
9241
|
instance: {
|
|
9242
9242
|
/**
|
|
@@ -10774,7 +10774,7 @@ declare abstract class Client$11 extends Client$12 {
|
|
|
10774
10774
|
}>;
|
|
10775
10775
|
};
|
|
10776
10776
|
/**
|
|
10777
|
-
*
|
|
10777
|
+
* 审批查询
|
|
10778
10778
|
*/
|
|
10779
10779
|
instance: {
|
|
10780
10780
|
/**
|
|
@@ -19898,7 +19898,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
19898
19898
|
conditions?: Array<{
|
|
19899
19899
|
field_name: string;
|
|
19900
19900
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
19901
|
-
|
|
19901
|
+
value?: Array<string>;
|
|
19902
19902
|
}>;
|
|
19903
19903
|
conjunction?: "and" | "or";
|
|
19904
19904
|
other_perm?: number;
|
|
@@ -19907,7 +19907,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
19907
19907
|
conditions?: Array<{
|
|
19908
19908
|
field_name: string;
|
|
19909
19909
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
19910
|
-
|
|
19910
|
+
value?: Array<string>;
|
|
19911
19911
|
}>;
|
|
19912
19912
|
conjunction?: "and" | "or";
|
|
19913
19913
|
};
|
|
@@ -19941,7 +19941,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
19941
19941
|
conditions?: Array<{
|
|
19942
19942
|
field_name: string;
|
|
19943
19943
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
19944
|
-
|
|
19944
|
+
value?: Array<string>;
|
|
19945
19945
|
field_type?: number;
|
|
19946
19946
|
}>;
|
|
19947
19947
|
conjunction?: "and" | "or";
|
|
@@ -19952,7 +19952,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
19952
19952
|
conditions?: Array<{
|
|
19953
19953
|
field_name: string;
|
|
19954
19954
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
19955
|
-
|
|
19955
|
+
value?: Array<string>;
|
|
19956
19956
|
field_type?: number;
|
|
19957
19957
|
}>;
|
|
19958
19958
|
conjunction?: "and" | "or";
|
|
@@ -19995,7 +19995,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
19995
19995
|
conditions?: Array<{
|
|
19996
19996
|
field_name: string;
|
|
19997
19997
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
19998
|
-
|
|
19998
|
+
value?: Array<string>;
|
|
19999
19999
|
field_type?: number;
|
|
20000
20000
|
}>;
|
|
20001
20001
|
conjunction?: "and" | "or";
|
|
@@ -20006,7 +20006,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20006
20006
|
conditions?: Array<{
|
|
20007
20007
|
field_name: string;
|
|
20008
20008
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20009
|
-
|
|
20009
|
+
value?: Array<string>;
|
|
20010
20010
|
field_type?: number;
|
|
20011
20011
|
}>;
|
|
20012
20012
|
conjunction?: "and" | "or";
|
|
@@ -20059,7 +20059,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20059
20059
|
conditions?: Array<{
|
|
20060
20060
|
field_name: string;
|
|
20061
20061
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20062
|
-
|
|
20062
|
+
value?: Array<string>;
|
|
20063
20063
|
field_type?: number;
|
|
20064
20064
|
}>;
|
|
20065
20065
|
conjunction?: "and" | "or";
|
|
@@ -20070,7 +20070,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20070
20070
|
conditions?: Array<{
|
|
20071
20071
|
field_name: string;
|
|
20072
20072
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20073
|
-
|
|
20073
|
+
value?: Array<string>;
|
|
20074
20074
|
field_type?: number;
|
|
20075
20075
|
}>;
|
|
20076
20076
|
conjunction?: "and" | "or";
|
|
@@ -20114,7 +20114,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20114
20114
|
conditions?: Array<{
|
|
20115
20115
|
field_name: string;
|
|
20116
20116
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20117
|
-
|
|
20117
|
+
value?: Array<string>;
|
|
20118
20118
|
}>;
|
|
20119
20119
|
conjunction?: "and" | "or";
|
|
20120
20120
|
other_perm?: number;
|
|
@@ -20123,7 +20123,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20123
20123
|
conditions?: Array<{
|
|
20124
20124
|
field_name: string;
|
|
20125
20125
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20126
|
-
|
|
20126
|
+
value?: Array<string>;
|
|
20127
20127
|
}>;
|
|
20128
20128
|
conjunction?: "and" | "or";
|
|
20129
20129
|
};
|
|
@@ -20158,7 +20158,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20158
20158
|
conditions?: Array<{
|
|
20159
20159
|
field_name: string;
|
|
20160
20160
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20161
|
-
|
|
20161
|
+
value?: Array<string>;
|
|
20162
20162
|
field_type?: number;
|
|
20163
20163
|
}>;
|
|
20164
20164
|
conjunction?: "and" | "or";
|
|
@@ -20169,7 +20169,7 @@ declare abstract class Client$X extends Client$Y {
|
|
|
20169
20169
|
conditions?: Array<{
|
|
20170
20170
|
field_name: string;
|
|
20171
20171
|
operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
|
|
20172
|
-
|
|
20172
|
+
value?: Array<string>;
|
|
20173
20173
|
field_type?: number;
|
|
20174
20174
|
}>;
|
|
20175
20175
|
conjunction?: "and" | "or";
|
|
@@ -20204,7 +20204,7 @@ declare abstract class Client$W extends Client$X {
|
|
|
20204
20204
|
httpInstance: HttpInstance;
|
|
20205
20205
|
abstract formatPayload(payload?: IPayload, options?: IRequestOptions$1): Promise<Required<IPayload>>;
|
|
20206
20206
|
/**
|
|
20207
|
-
*
|
|
20207
|
+
* 云文档-电子表格
|
|
20208
20208
|
*/
|
|
20209
20209
|
bitable: {
|
|
20210
20210
|
/**
|
|
@@ -65359,6 +65359,418 @@ declare abstract class Client$M extends Client$N {
|
|
|
65359
65359
|
} | undefined;
|
|
65360
65360
|
}>;
|
|
65361
65361
|
};
|
|
65362
|
+
/**
|
|
65363
|
+
* employees.international_assignment
|
|
65364
|
+
*/
|
|
65365
|
+
employeesInternationalAssignment: {
|
|
65366
|
+
/**
|
|
65367
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=create&version=v2 click to debug }
|
|
65368
|
+
*
|
|
65369
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
65370
|
+
*/
|
|
65371
|
+
create: (payload?: {
|
|
65372
|
+
data: {
|
|
65373
|
+
work_location_id: string;
|
|
65374
|
+
service_company?: string;
|
|
65375
|
+
work_shift?: string;
|
|
65376
|
+
weekly_working_hours_v2?: number;
|
|
65377
|
+
working_hours_type_id?: string;
|
|
65378
|
+
employee_type_id?: string;
|
|
65379
|
+
department_id?: string;
|
|
65380
|
+
job_id?: string;
|
|
65381
|
+
job_family_id?: string;
|
|
65382
|
+
job_level_id?: string;
|
|
65383
|
+
job_grade_id?: string;
|
|
65384
|
+
compensation_type?: string;
|
|
65385
|
+
direct_manager_id?: string;
|
|
65386
|
+
dotted_line_manager_id?: string;
|
|
65387
|
+
work_calendar_id?: string;
|
|
65388
|
+
position_id?: string;
|
|
65389
|
+
employment_id: string;
|
|
65390
|
+
custom_fields?: Array<{
|
|
65391
|
+
field_name: string;
|
|
65392
|
+
value: string;
|
|
65393
|
+
}>;
|
|
65394
|
+
international_assignment_reason?: string;
|
|
65395
|
+
description?: string;
|
|
65396
|
+
international_assignment_expected_end_date?: string;
|
|
65397
|
+
international_assignment_type: string;
|
|
65398
|
+
effective_time: string;
|
|
65399
|
+
expiration_time?: string;
|
|
65400
|
+
};
|
|
65401
|
+
params?: {
|
|
65402
|
+
client_token?: string;
|
|
65403
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
65404
|
+
department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
|
|
65405
|
+
};
|
|
65406
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
65407
|
+
code?: number | undefined;
|
|
65408
|
+
msg?: string | undefined;
|
|
65409
|
+
data?: {
|
|
65410
|
+
international_assignment?: {
|
|
65411
|
+
work_location_id?: string | undefined;
|
|
65412
|
+
service_company?: string | undefined;
|
|
65413
|
+
work_shift?: {
|
|
65414
|
+
enum_name: string;
|
|
65415
|
+
display?: {
|
|
65416
|
+
lang: string;
|
|
65417
|
+
value: string;
|
|
65418
|
+
}[] | undefined;
|
|
65419
|
+
} | undefined;
|
|
65420
|
+
working_hours_type_id?: string | undefined;
|
|
65421
|
+
employee_type_id?: string | undefined;
|
|
65422
|
+
weekly_working_hours_v2?: number | undefined;
|
|
65423
|
+
department_id?: string | undefined;
|
|
65424
|
+
job_id?: string | undefined;
|
|
65425
|
+
job_family_id?: string | undefined;
|
|
65426
|
+
job_level_id?: string | undefined;
|
|
65427
|
+
job_grade_id?: string | undefined;
|
|
65428
|
+
compensation_type?: {
|
|
65429
|
+
enum_name: string;
|
|
65430
|
+
display?: {
|
|
65431
|
+
lang: string;
|
|
65432
|
+
value: string;
|
|
65433
|
+
}[] | undefined;
|
|
65434
|
+
} | undefined;
|
|
65435
|
+
direct_manager_id?: string | undefined;
|
|
65436
|
+
dotted_line_manager_id?: string | undefined;
|
|
65437
|
+
work_calendar_id?: string | undefined;
|
|
65438
|
+
position_id?: string | undefined;
|
|
65439
|
+
employment_id?: string | undefined;
|
|
65440
|
+
custom_fields?: {
|
|
65441
|
+
field_name: string;
|
|
65442
|
+
value: string;
|
|
65443
|
+
}[] | undefined;
|
|
65444
|
+
international_assignment_reason?: string | undefined;
|
|
65445
|
+
description?: string | undefined;
|
|
65446
|
+
international_assignment_expected_end_date?: string | undefined;
|
|
65447
|
+
international_assignment_status?: {
|
|
65448
|
+
enum_name: string;
|
|
65449
|
+
display?: {
|
|
65450
|
+
lang: string;
|
|
65451
|
+
value: string;
|
|
65452
|
+
}[] | undefined;
|
|
65453
|
+
} | undefined;
|
|
65454
|
+
international_assignment_type?: {
|
|
65455
|
+
enum_name: string;
|
|
65456
|
+
display?: {
|
|
65457
|
+
lang: string;
|
|
65458
|
+
value: string;
|
|
65459
|
+
}[] | undefined;
|
|
65460
|
+
} | undefined;
|
|
65461
|
+
effective_time?: string | undefined;
|
|
65462
|
+
expiration_time?: string | undefined;
|
|
65463
|
+
id?: string | undefined;
|
|
65464
|
+
} | undefined;
|
|
65465
|
+
} | undefined;
|
|
65466
|
+
}>;
|
|
65467
|
+
/**
|
|
65468
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=delete&version=v2 click to debug }
|
|
65469
|
+
*
|
|
65470
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
65471
|
+
*/
|
|
65472
|
+
delete: (payload?: {
|
|
65473
|
+
path: {
|
|
65474
|
+
international_assignment_id: string;
|
|
65475
|
+
};
|
|
65476
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
65477
|
+
code?: number | undefined;
|
|
65478
|
+
msg?: string | undefined;
|
|
65479
|
+
data?: {} | undefined;
|
|
65480
|
+
}>;
|
|
65481
|
+
listWithIterator: (payload?: {
|
|
65482
|
+
params?: {
|
|
65483
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
65484
|
+
department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
|
|
65485
|
+
page_size?: number;
|
|
65486
|
+
page_token?: string;
|
|
65487
|
+
employment_ids?: Array<string>;
|
|
65488
|
+
international_assignment_ids?: Array<string>;
|
|
65489
|
+
effective_time?: string;
|
|
65490
|
+
expiration_time?: string;
|
|
65491
|
+
employment_status_list?: Array<string>;
|
|
65492
|
+
work_location_id_list?: Array<string>;
|
|
65493
|
+
department_id_list?: Array<string>;
|
|
65494
|
+
direct_manager_id_list?: Array<string>;
|
|
65495
|
+
dotted_line_manager_id_list?: Array<string>;
|
|
65496
|
+
position_id_list?: Array<string>;
|
|
65497
|
+
job_id_list?: Array<string>;
|
|
65498
|
+
job_family_id_list?: Array<string>;
|
|
65499
|
+
job_level_id_list?: Array<string>;
|
|
65500
|
+
job_grade_id_list?: Array<string>;
|
|
65501
|
+
working_hours_type_id_list?: Array<string>;
|
|
65502
|
+
service_company_list?: Array<string>;
|
|
65503
|
+
weekly_working_hours_v2?: number;
|
|
65504
|
+
work_shift_list?: Array<string>;
|
|
65505
|
+
compensation_type_list?: Array<string>;
|
|
65506
|
+
international_assignment_expected_end_date?: string;
|
|
65507
|
+
international_assignment_status_list?: Array<string>;
|
|
65508
|
+
international_assignment_type_list?: Array<string>;
|
|
65509
|
+
work_calendar_id_list?: Array<string>;
|
|
65510
|
+
};
|
|
65511
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
65512
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
65513
|
+
items?: {
|
|
65514
|
+
work_location_id?: string | undefined;
|
|
65515
|
+
service_company?: string | undefined;
|
|
65516
|
+
work_shift?: {
|
|
65517
|
+
enum_name: string;
|
|
65518
|
+
display?: {
|
|
65519
|
+
lang: string;
|
|
65520
|
+
value: string;
|
|
65521
|
+
}[] | undefined;
|
|
65522
|
+
} | undefined;
|
|
65523
|
+
working_hours_type_id?: string | undefined;
|
|
65524
|
+
employee_type_id?: string | undefined;
|
|
65525
|
+
weekly_working_hours_v2?: number | undefined;
|
|
65526
|
+
department_id?: string | undefined;
|
|
65527
|
+
job_id?: string | undefined;
|
|
65528
|
+
job_family_id?: string | undefined;
|
|
65529
|
+
job_level_id?: string | undefined;
|
|
65530
|
+
job_grade_id?: string | undefined;
|
|
65531
|
+
compensation_type?: {
|
|
65532
|
+
enum_name: string;
|
|
65533
|
+
display?: {
|
|
65534
|
+
lang: string;
|
|
65535
|
+
value: string;
|
|
65536
|
+
}[] | undefined;
|
|
65537
|
+
} | undefined;
|
|
65538
|
+
direct_manager_id?: string | undefined;
|
|
65539
|
+
dotted_line_manager_id?: string | undefined;
|
|
65540
|
+
work_calendar_id?: string | undefined;
|
|
65541
|
+
position_id?: string | undefined;
|
|
65542
|
+
employment_id?: string | undefined;
|
|
65543
|
+
custom_fields?: {
|
|
65544
|
+
field_name: string;
|
|
65545
|
+
value: string;
|
|
65546
|
+
}[] | undefined;
|
|
65547
|
+
international_assignment_reason?: string | undefined;
|
|
65548
|
+
description?: string | undefined;
|
|
65549
|
+
international_assignment_expected_end_date?: string | undefined;
|
|
65550
|
+
international_assignment_status?: {
|
|
65551
|
+
enum_name: string;
|
|
65552
|
+
display?: {
|
|
65553
|
+
lang: string;
|
|
65554
|
+
value: string;
|
|
65555
|
+
}[] | undefined;
|
|
65556
|
+
} | undefined;
|
|
65557
|
+
international_assignment_type?: {
|
|
65558
|
+
enum_name: string;
|
|
65559
|
+
display?: {
|
|
65560
|
+
lang: string;
|
|
65561
|
+
value: string;
|
|
65562
|
+
}[] | undefined;
|
|
65563
|
+
} | undefined;
|
|
65564
|
+
effective_time?: string | undefined;
|
|
65565
|
+
expiration_time?: string | undefined;
|
|
65566
|
+
id?: string | undefined;
|
|
65567
|
+
}[] | undefined;
|
|
65568
|
+
no_authority_ids?: string[] | undefined;
|
|
65569
|
+
} | null, void, unknown>;
|
|
65570
|
+
}>;
|
|
65571
|
+
/**
|
|
65572
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=list&version=v2 click to debug }
|
|
65573
|
+
*
|
|
65574
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
65575
|
+
*/
|
|
65576
|
+
list: (payload?: {
|
|
65577
|
+
params?: {
|
|
65578
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
65579
|
+
department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
|
|
65580
|
+
page_size?: number;
|
|
65581
|
+
page_token?: string;
|
|
65582
|
+
employment_ids?: Array<string>;
|
|
65583
|
+
international_assignment_ids?: Array<string>;
|
|
65584
|
+
effective_time?: string;
|
|
65585
|
+
expiration_time?: string;
|
|
65586
|
+
employment_status_list?: Array<string>;
|
|
65587
|
+
work_location_id_list?: Array<string>;
|
|
65588
|
+
department_id_list?: Array<string>;
|
|
65589
|
+
direct_manager_id_list?: Array<string>;
|
|
65590
|
+
dotted_line_manager_id_list?: Array<string>;
|
|
65591
|
+
position_id_list?: Array<string>;
|
|
65592
|
+
job_id_list?: Array<string>;
|
|
65593
|
+
job_family_id_list?: Array<string>;
|
|
65594
|
+
job_level_id_list?: Array<string>;
|
|
65595
|
+
job_grade_id_list?: Array<string>;
|
|
65596
|
+
working_hours_type_id_list?: Array<string>;
|
|
65597
|
+
service_company_list?: Array<string>;
|
|
65598
|
+
weekly_working_hours_v2?: number;
|
|
65599
|
+
work_shift_list?: Array<string>;
|
|
65600
|
+
compensation_type_list?: Array<string>;
|
|
65601
|
+
international_assignment_expected_end_date?: string;
|
|
65602
|
+
international_assignment_status_list?: Array<string>;
|
|
65603
|
+
international_assignment_type_list?: Array<string>;
|
|
65604
|
+
work_calendar_id_list?: Array<string>;
|
|
65605
|
+
};
|
|
65606
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
65607
|
+
code?: number | undefined;
|
|
65608
|
+
msg?: string | undefined;
|
|
65609
|
+
data?: {
|
|
65610
|
+
items?: {
|
|
65611
|
+
work_location_id?: string | undefined;
|
|
65612
|
+
service_company?: string | undefined;
|
|
65613
|
+
work_shift?: {
|
|
65614
|
+
enum_name: string;
|
|
65615
|
+
display?: {
|
|
65616
|
+
lang: string;
|
|
65617
|
+
value: string;
|
|
65618
|
+
}[] | undefined;
|
|
65619
|
+
} | undefined;
|
|
65620
|
+
working_hours_type_id?: string | undefined;
|
|
65621
|
+
employee_type_id?: string | undefined;
|
|
65622
|
+
weekly_working_hours_v2?: number | undefined;
|
|
65623
|
+
department_id?: string | undefined;
|
|
65624
|
+
job_id?: string | undefined;
|
|
65625
|
+
job_family_id?: string | undefined;
|
|
65626
|
+
job_level_id?: string | undefined;
|
|
65627
|
+
job_grade_id?: string | undefined;
|
|
65628
|
+
compensation_type?: {
|
|
65629
|
+
enum_name: string;
|
|
65630
|
+
display?: {
|
|
65631
|
+
lang: string;
|
|
65632
|
+
value: string;
|
|
65633
|
+
}[] | undefined;
|
|
65634
|
+
} | undefined;
|
|
65635
|
+
direct_manager_id?: string | undefined;
|
|
65636
|
+
dotted_line_manager_id?: string | undefined;
|
|
65637
|
+
work_calendar_id?: string | undefined;
|
|
65638
|
+
position_id?: string | undefined;
|
|
65639
|
+
employment_id?: string | undefined;
|
|
65640
|
+
custom_fields?: {
|
|
65641
|
+
field_name: string;
|
|
65642
|
+
value: string;
|
|
65643
|
+
}[] | undefined;
|
|
65644
|
+
international_assignment_reason?: string | undefined;
|
|
65645
|
+
description?: string | undefined;
|
|
65646
|
+
international_assignment_expected_end_date?: string | undefined;
|
|
65647
|
+
international_assignment_status?: {
|
|
65648
|
+
enum_name: string;
|
|
65649
|
+
display?: {
|
|
65650
|
+
lang: string;
|
|
65651
|
+
value: string;
|
|
65652
|
+
}[] | undefined;
|
|
65653
|
+
} | undefined;
|
|
65654
|
+
international_assignment_type?: {
|
|
65655
|
+
enum_name: string;
|
|
65656
|
+
display?: {
|
|
65657
|
+
lang: string;
|
|
65658
|
+
value: string;
|
|
65659
|
+
}[] | undefined;
|
|
65660
|
+
} | undefined;
|
|
65661
|
+
effective_time?: string | undefined;
|
|
65662
|
+
expiration_time?: string | undefined;
|
|
65663
|
+
id?: string | undefined;
|
|
65664
|
+
}[] | undefined;
|
|
65665
|
+
no_authority_ids?: string[] | undefined;
|
|
65666
|
+
page_token?: string | undefined;
|
|
65667
|
+
has_more?: boolean | undefined;
|
|
65668
|
+
} | undefined;
|
|
65669
|
+
}>;
|
|
65670
|
+
/**
|
|
65671
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.international_assignment&apiName=patch&version=v2 click to debug }
|
|
65672
|
+
*
|
|
65673
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=employees.international_assignment&version=v2 document }
|
|
65674
|
+
*/
|
|
65675
|
+
patch: (payload?: {
|
|
65676
|
+
data?: {
|
|
65677
|
+
work_location_id?: string;
|
|
65678
|
+
service_company?: string;
|
|
65679
|
+
work_shift?: string;
|
|
65680
|
+
weekly_working_hours_v2?: number;
|
|
65681
|
+
working_hours_type_id?: string;
|
|
65682
|
+
employee_type_id?: string;
|
|
65683
|
+
department_id?: string;
|
|
65684
|
+
job_id?: string;
|
|
65685
|
+
job_family_id?: string;
|
|
65686
|
+
job_level_id?: string;
|
|
65687
|
+
job_grade_id?: string;
|
|
65688
|
+
compensation_type?: string;
|
|
65689
|
+
direct_manager_id?: string;
|
|
65690
|
+
dotted_line_manager_id?: string;
|
|
65691
|
+
work_calendar_id?: string;
|
|
65692
|
+
position_id?: string;
|
|
65693
|
+
custom_fields?: Array<{
|
|
65694
|
+
field_name: string;
|
|
65695
|
+
value: string;
|
|
65696
|
+
}>;
|
|
65697
|
+
international_assignment_reason?: string;
|
|
65698
|
+
description?: string;
|
|
65699
|
+
international_assignment_expected_end_date?: string;
|
|
65700
|
+
international_assignment_type?: string;
|
|
65701
|
+
effective_time?: string;
|
|
65702
|
+
expiration_time?: string;
|
|
65703
|
+
};
|
|
65704
|
+
params?: {
|
|
65705
|
+
client_token?: string;
|
|
65706
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
65707
|
+
department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
|
|
65708
|
+
};
|
|
65709
|
+
path: {
|
|
65710
|
+
international_assignment_id: string;
|
|
65711
|
+
};
|
|
65712
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
65713
|
+
code?: number | undefined;
|
|
65714
|
+
msg?: string | undefined;
|
|
65715
|
+
data?: {
|
|
65716
|
+
international_assignment?: {
|
|
65717
|
+
work_location_id?: string | undefined;
|
|
65718
|
+
service_company?: string | undefined;
|
|
65719
|
+
work_shift?: {
|
|
65720
|
+
enum_name: string;
|
|
65721
|
+
display?: {
|
|
65722
|
+
lang: string;
|
|
65723
|
+
value: string;
|
|
65724
|
+
}[] | undefined;
|
|
65725
|
+
} | undefined;
|
|
65726
|
+
working_hours_type_id?: string | undefined;
|
|
65727
|
+
employee_type_id?: string | undefined;
|
|
65728
|
+
weekly_working_hours_v2?: number | undefined;
|
|
65729
|
+
department_id?: string | undefined;
|
|
65730
|
+
job_id?: string | undefined;
|
|
65731
|
+
job_family_id?: string | undefined;
|
|
65732
|
+
job_level_id?: string | undefined;
|
|
65733
|
+
job_grade_id?: string | undefined;
|
|
65734
|
+
compensation_type?: {
|
|
65735
|
+
enum_name: string;
|
|
65736
|
+
display?: {
|
|
65737
|
+
lang: string;
|
|
65738
|
+
value: string;
|
|
65739
|
+
}[] | undefined;
|
|
65740
|
+
} | undefined;
|
|
65741
|
+
direct_manager_id?: string | undefined;
|
|
65742
|
+
dotted_line_manager_id?: string | undefined;
|
|
65743
|
+
work_calendar_id?: string | undefined;
|
|
65744
|
+
position_id?: string | undefined;
|
|
65745
|
+
employment_id?: string | undefined;
|
|
65746
|
+
custom_fields?: {
|
|
65747
|
+
field_name: string;
|
|
65748
|
+
value: string;
|
|
65749
|
+
}[] | undefined;
|
|
65750
|
+
international_assignment_reason?: string | undefined;
|
|
65751
|
+
description?: string | undefined;
|
|
65752
|
+
international_assignment_expected_end_date?: string | undefined;
|
|
65753
|
+
international_assignment_status?: {
|
|
65754
|
+
enum_name: string;
|
|
65755
|
+
display?: {
|
|
65756
|
+
lang: string;
|
|
65757
|
+
value: string;
|
|
65758
|
+
}[] | undefined;
|
|
65759
|
+
} | undefined;
|
|
65760
|
+
international_assignment_type?: {
|
|
65761
|
+
enum_name: string;
|
|
65762
|
+
display?: {
|
|
65763
|
+
lang: string;
|
|
65764
|
+
value: string;
|
|
65765
|
+
}[] | undefined;
|
|
65766
|
+
} | undefined;
|
|
65767
|
+
effective_time?: string | undefined;
|
|
65768
|
+
expiration_time?: string | undefined;
|
|
65769
|
+
id?: string | undefined;
|
|
65770
|
+
} | undefined;
|
|
65771
|
+
} | undefined;
|
|
65772
|
+
}>;
|
|
65773
|
+
};
|
|
65362
65774
|
/**
|
|
65363
65775
|
* employees.job_data
|
|
65364
65776
|
*/
|
|
@@ -71332,6 +71744,7 @@ declare abstract class Client$M extends Client$N {
|
|
|
71332
71744
|
onboarding_info?: {
|
|
71333
71745
|
offer_id?: string | undefined;
|
|
71334
71746
|
offer_hr_id?: string | undefined;
|
|
71747
|
+
offer_hr_id_v2?: string | undefined;
|
|
71335
71748
|
entry_mode?: string | undefined;
|
|
71336
71749
|
onboarding_date?: string | undefined;
|
|
71337
71750
|
ats_application_id?: string | undefined;
|
|
@@ -72515,6 +72928,7 @@ declare abstract class Client$M extends Client$N {
|
|
|
72515
72928
|
onboarding_info?: {
|
|
72516
72929
|
offer_id?: string | undefined;
|
|
72517
72930
|
offer_hr_id?: string | undefined;
|
|
72931
|
+
offer_hr_id_v2?: string | undefined;
|
|
72518
72932
|
entry_mode?: string | undefined;
|
|
72519
72933
|
onboarding_date?: string | undefined;
|
|
72520
72934
|
ats_application_id?: string | undefined;
|
|
@@ -73724,6 +74138,7 @@ declare abstract class Client$M extends Client$N {
|
|
|
73724
74138
|
onboarding_info?: {
|
|
73725
74139
|
offer_id?: string | undefined;
|
|
73726
74140
|
offer_hr_id?: string | undefined;
|
|
74141
|
+
offer_hr_id_v2?: string | undefined;
|
|
73727
74142
|
entry_mode?: string | undefined;
|
|
73728
74143
|
onboarding_date?: string | undefined;
|
|
73729
74144
|
ats_application_id?: string | undefined;
|
|
@@ -74923,6 +75338,7 @@ declare abstract class Client$M extends Client$N {
|
|
|
74923
75338
|
onboarding_info?: {
|
|
74924
75339
|
offer_id?: string | undefined;
|
|
74925
75340
|
offer_hr_id?: string | undefined;
|
|
75341
|
+
offer_hr_id_v2?: string | undefined;
|
|
74926
75342
|
entry_mode?: string | undefined;
|
|
74927
75343
|
onboarding_date?: string | undefined;
|
|
74928
75344
|
ats_application_id?: string | undefined;
|
|
@@ -186898,7 +187314,7 @@ declare abstract class Client$G extends Client$H {
|
|
|
186898
187314
|
}>;
|
|
186899
187315
|
};
|
|
186900
187316
|
/**
|
|
186901
|
-
*
|
|
187317
|
+
* 文件
|
|
186902
187318
|
*/
|
|
186903
187319
|
file: {
|
|
186904
187320
|
/**
|
|
@@ -188859,7 +189275,7 @@ declare abstract class Client$G extends Client$H {
|
|
|
188859
189275
|
}>;
|
|
188860
189276
|
};
|
|
188861
189277
|
/**
|
|
188862
|
-
*
|
|
189278
|
+
* 文件
|
|
188863
189279
|
*/
|
|
188864
189280
|
file: {
|
|
188865
189281
|
/**
|
|
@@ -195718,6 +196134,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
195718
196134
|
user_id?: string;
|
|
195719
196135
|
resume_source_id?: string;
|
|
195720
196136
|
application_preferred_city_code_list?: Array<string>;
|
|
196137
|
+
delivery_type?: number;
|
|
195721
196138
|
};
|
|
195722
196139
|
params?: {
|
|
195723
196140
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -203931,7 +204348,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
203931
204348
|
job_id?: string | undefined;
|
|
203932
204349
|
job_name?: string | undefined;
|
|
203933
204350
|
} | undefined;
|
|
203934
|
-
create_time?:
|
|
204351
|
+
create_time?: number | undefined;
|
|
203935
204352
|
offer_status?: number | undefined;
|
|
203936
204353
|
offer_type?: number | undefined;
|
|
203937
204354
|
employee_type?: {
|
|
@@ -204136,6 +204553,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
204136
204553
|
need_approve?: boolean | undefined;
|
|
204137
204554
|
is_sensitive?: boolean | undefined;
|
|
204138
204555
|
object_type?: number | undefined;
|
|
204556
|
+
object_type_v2?: number | undefined;
|
|
204139
204557
|
config?: {
|
|
204140
204558
|
options?: {
|
|
204141
204559
|
id?: string | undefined;
|
|
@@ -209647,6 +210065,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
209647
210065
|
user_id?: string;
|
|
209648
210066
|
resume_source_id?: string;
|
|
209649
210067
|
application_preferred_city_code_list?: Array<string>;
|
|
210068
|
+
delivery_type?: number;
|
|
209650
210069
|
};
|
|
209651
210070
|
params?: {
|
|
209652
210071
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -217860,7 +218279,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
217860
218279
|
job_id?: string | undefined;
|
|
217861
218280
|
job_name?: string | undefined;
|
|
217862
218281
|
} | undefined;
|
|
217863
|
-
create_time?:
|
|
218282
|
+
create_time?: number | undefined;
|
|
217864
218283
|
offer_status?: number | undefined;
|
|
217865
218284
|
offer_type?: number | undefined;
|
|
217866
218285
|
employee_type?: {
|
|
@@ -218065,6 +218484,7 @@ declare abstract class Client$x extends Client$y {
|
|
|
218065
218484
|
need_approve?: boolean | undefined;
|
|
218066
218485
|
is_sensitive?: boolean | undefined;
|
|
218067
218486
|
object_type?: number | undefined;
|
|
218487
|
+
object_type_v2?: number | undefined;
|
|
218068
218488
|
config?: {
|
|
218069
218489
|
options?: {
|
|
218070
218490
|
id?: string | undefined;
|
|
@@ -239029,6 +239449,94 @@ declare abstract class Client$i extends Client$j {
|
|
|
239029
239449
|
} | undefined;
|
|
239030
239450
|
} | undefined;
|
|
239031
239451
|
}[] | undefined;
|
|
239452
|
+
user_roles?: {
|
|
239453
|
+
role_id?: string | undefined;
|
|
239454
|
+
name?: {
|
|
239455
|
+
zh_cn?: string | undefined;
|
|
239456
|
+
en_us?: string | undefined;
|
|
239457
|
+
} | undefined;
|
|
239458
|
+
}[] | undefined;
|
|
239459
|
+
underling_roles?: {
|
|
239460
|
+
role_id?: string | undefined;
|
|
239461
|
+
name?: {
|
|
239462
|
+
zh_cn?: string | undefined;
|
|
239463
|
+
en_us?: string | undefined;
|
|
239464
|
+
} | undefined;
|
|
239465
|
+
}[] | undefined;
|
|
239466
|
+
}[] | undefined;
|
|
239467
|
+
review_depend_projects?: {
|
|
239468
|
+
id?: string | undefined;
|
|
239469
|
+
name?: {
|
|
239470
|
+
zh_cn?: string | undefined;
|
|
239471
|
+
en_us?: string | undefined;
|
|
239472
|
+
} | undefined;
|
|
239473
|
+
roles?: {
|
|
239474
|
+
reviewer_role?: {
|
|
239475
|
+
role_id?: string | undefined;
|
|
239476
|
+
name?: {
|
|
239477
|
+
zh_cn?: string | undefined;
|
|
239478
|
+
en_us?: string | undefined;
|
|
239479
|
+
} | undefined;
|
|
239480
|
+
} | undefined;
|
|
239481
|
+
reviewee_role?: {
|
|
239482
|
+
role_id?: string | undefined;
|
|
239483
|
+
name?: {
|
|
239484
|
+
zh_cn?: string | undefined;
|
|
239485
|
+
en_us?: string | undefined;
|
|
239486
|
+
} | undefined;
|
|
239487
|
+
} | undefined;
|
|
239488
|
+
}[] | undefined;
|
|
239489
|
+
user_roles?: {
|
|
239490
|
+
role_id?: string | undefined;
|
|
239491
|
+
name?: {
|
|
239492
|
+
zh_cn?: string | undefined;
|
|
239493
|
+
en_us?: string | undefined;
|
|
239494
|
+
} | undefined;
|
|
239495
|
+
}[] | undefined;
|
|
239496
|
+
underling_roles?: {
|
|
239497
|
+
role_id?: string | undefined;
|
|
239498
|
+
name?: {
|
|
239499
|
+
zh_cn?: string | undefined;
|
|
239500
|
+
en_us?: string | undefined;
|
|
239501
|
+
} | undefined;
|
|
239502
|
+
}[] | undefined;
|
|
239503
|
+
}[] | undefined;
|
|
239504
|
+
participated_projects?: {
|
|
239505
|
+
id?: string | undefined;
|
|
239506
|
+
name?: {
|
|
239507
|
+
zh_cn?: string | undefined;
|
|
239508
|
+
en_us?: string | undefined;
|
|
239509
|
+
} | undefined;
|
|
239510
|
+
roles?: {
|
|
239511
|
+
reviewer_role?: {
|
|
239512
|
+
role_id?: string | undefined;
|
|
239513
|
+
name?: {
|
|
239514
|
+
zh_cn?: string | undefined;
|
|
239515
|
+
en_us?: string | undefined;
|
|
239516
|
+
} | undefined;
|
|
239517
|
+
} | undefined;
|
|
239518
|
+
reviewee_role?: {
|
|
239519
|
+
role_id?: string | undefined;
|
|
239520
|
+
name?: {
|
|
239521
|
+
zh_cn?: string | undefined;
|
|
239522
|
+
en_us?: string | undefined;
|
|
239523
|
+
} | undefined;
|
|
239524
|
+
} | undefined;
|
|
239525
|
+
}[] | undefined;
|
|
239526
|
+
user_roles?: {
|
|
239527
|
+
role_id?: string | undefined;
|
|
239528
|
+
name?: {
|
|
239529
|
+
zh_cn?: string | undefined;
|
|
239530
|
+
en_us?: string | undefined;
|
|
239531
|
+
} | undefined;
|
|
239532
|
+
}[] | undefined;
|
|
239533
|
+
underling_roles?: {
|
|
239534
|
+
role_id?: string | undefined;
|
|
239535
|
+
name?: {
|
|
239536
|
+
zh_cn?: string | undefined;
|
|
239537
|
+
en_us?: string | undefined;
|
|
239538
|
+
} | undefined;
|
|
239539
|
+
}[] | undefined;
|
|
239032
239540
|
}[] | undefined;
|
|
239033
239541
|
} | undefined;
|
|
239034
239542
|
record_id?: string | undefined;
|
|
@@ -239086,6 +239594,7 @@ declare abstract class Client$i extends Client$j {
|
|
|
239086
239594
|
en_us?: string | undefined;
|
|
239087
239595
|
} | undefined;
|
|
239088
239596
|
parent_field_id?: string | undefined;
|
|
239597
|
+
kpi_template_id?: string | undefined;
|
|
239089
239598
|
}[] | undefined;
|
|
239090
239599
|
}[] | undefined;
|
|
239091
239600
|
review_template_id?: string | undefined;
|
|
@@ -239153,6 +239662,7 @@ declare abstract class Client$i extends Client$j {
|
|
|
239153
239662
|
en_us?: string | undefined;
|
|
239154
239663
|
} | undefined;
|
|
239155
239664
|
parent_field_id?: string | undefined;
|
|
239665
|
+
kpi_template_id?: string | undefined;
|
|
239156
239666
|
}[] | undefined;
|
|
239157
239667
|
}[] | undefined;
|
|
239158
239668
|
review_template_id?: string | undefined;
|
|
@@ -242441,7 +242951,7 @@ declare abstract class Client$c extends Client$d {
|
|
|
242441
242951
|
}>;
|
|
242442
242952
|
};
|
|
242443
242953
|
/**
|
|
242444
|
-
*
|
|
242954
|
+
* 单元格
|
|
242445
242955
|
*/
|
|
242446
242956
|
spreadsheetSheet: {
|
|
242447
242957
|
/**
|
|
@@ -243282,7 +243792,7 @@ declare abstract class Client$c extends Client$d {
|
|
|
243282
243792
|
}>;
|
|
243283
243793
|
};
|
|
243284
243794
|
/**
|
|
243285
|
-
*
|
|
243795
|
+
* 单元格
|
|
243286
243796
|
*/
|
|
243287
243797
|
spreadsheetSheet: {
|
|
243288
243798
|
/**
|