@larksuiteoapi/node-sdk 1.16.1 → 1.17.1
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 +8 -0
- package/README.zh.md +8 -0
- package/es/index.js +378 -6
- package/lib/index.js +378 -6
- package/package.json +1 -1
- package/types/index.d.ts +752 -17
package/types/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import fs from 'fs';
|
|
14
15
|
|
|
15
16
|
declare const defaultHttpInstance: AxiosInstance;
|
|
16
17
|
|
|
@@ -268,7 +269,7 @@ declare abstract class Client$1 {
|
|
|
268
269
|
*/
|
|
269
270
|
update: (payload?: {
|
|
270
271
|
data: {
|
|
271
|
-
files: Buffer;
|
|
272
|
+
files: Buffer | fs.ReadStream;
|
|
272
273
|
file_type: string;
|
|
273
274
|
file_name: string;
|
|
274
275
|
};
|
|
@@ -393,7 +394,7 @@ declare abstract class Client$1 {
|
|
|
393
394
|
};
|
|
394
395
|
};
|
|
395
396
|
/**
|
|
396
|
-
*
|
|
397
|
+
* 管理后台-企业勋章
|
|
397
398
|
*/
|
|
398
399
|
admin: {
|
|
399
400
|
/**
|
|
@@ -1001,7 +1002,7 @@ declare abstract class Client$1 {
|
|
|
1001
1002
|
*/
|
|
1002
1003
|
create: (payload?: {
|
|
1003
1004
|
data: {
|
|
1004
|
-
image_file: Buffer;
|
|
1005
|
+
image_file: Buffer | fs.ReadStream;
|
|
1005
1006
|
image_type: number;
|
|
1006
1007
|
};
|
|
1007
1008
|
}, options?: IRequestOptions$1) => Promise<{
|
|
@@ -2341,6 +2342,11 @@ declare abstract class Client$1 {
|
|
|
2341
2342
|
action_callback_url?: string;
|
|
2342
2343
|
pull_business_data_url?: string;
|
|
2343
2344
|
};
|
|
2345
|
+
trusteeship_cache_config?: {
|
|
2346
|
+
form_policy?: "DISABLE" | "IMMUTABLE" | "BY_NODE" | "BY_USER";
|
|
2347
|
+
form_vary_with_locale?: boolean;
|
|
2348
|
+
form_version?: string;
|
|
2349
|
+
};
|
|
2344
2350
|
};
|
|
2345
2351
|
}, options?: IRequestOptions$1) => Promise<{
|
|
2346
2352
|
code?: number | undefined;
|
|
@@ -2429,6 +2435,11 @@ declare abstract class Client$1 {
|
|
|
2429
2435
|
action_callback_url?: string | undefined;
|
|
2430
2436
|
pull_business_data_url?: string | undefined;
|
|
2431
2437
|
} | undefined;
|
|
2438
|
+
trusteeship_cache_config?: {
|
|
2439
|
+
form_policy?: "DISABLE" | "IMMUTABLE" | "BY_NODE" | "BY_USER" | undefined;
|
|
2440
|
+
form_vary_with_locale?: boolean | undefined;
|
|
2441
|
+
form_version?: string | undefined;
|
|
2442
|
+
} | undefined;
|
|
2432
2443
|
} | undefined;
|
|
2433
2444
|
} | undefined;
|
|
2434
2445
|
}>;
|
|
@@ -3501,7 +3512,7 @@ declare abstract class Client$1 {
|
|
|
3501
3512
|
*/
|
|
3502
3513
|
upload: (payload?: {
|
|
3503
3514
|
data?: {
|
|
3504
|
-
file?: Buffer;
|
|
3515
|
+
file?: Buffer | fs.ReadStream;
|
|
3505
3516
|
};
|
|
3506
3517
|
params: {
|
|
3507
3518
|
file_name: string;
|
|
@@ -4731,6 +4742,7 @@ declare abstract class Client$1 {
|
|
|
4731
4742
|
title?: string | undefined;
|
|
4732
4743
|
}[] | undefined;
|
|
4733
4744
|
}[] | undefined;
|
|
4745
|
+
invalid_user_list?: string[] | undefined;
|
|
4734
4746
|
} | undefined;
|
|
4735
4747
|
}>;
|
|
4736
4748
|
};
|
|
@@ -6579,7 +6591,7 @@ declare abstract class Client$1 {
|
|
|
6579
6591
|
upload: (payload?: {
|
|
6580
6592
|
data: {
|
|
6581
6593
|
name: string;
|
|
6582
|
-
file: Buffer;
|
|
6594
|
+
file: Buffer | fs.ReadStream;
|
|
6583
6595
|
};
|
|
6584
6596
|
}, options?: IRequestOptions$1) => Promise<{
|
|
6585
6597
|
file_token?: string | undefined;
|
|
@@ -38878,7 +38890,7 @@ declare abstract class Client$1 {
|
|
|
38878
38890
|
}>;
|
|
38879
38891
|
};
|
|
38880
38892
|
/**
|
|
38881
|
-
*
|
|
38893
|
+
* 异步任务状态
|
|
38882
38894
|
*/
|
|
38883
38895
|
file: {
|
|
38884
38896
|
/**
|
|
@@ -39161,7 +39173,7 @@ declare abstract class Client$1 {
|
|
|
39161
39173
|
parent_node: string;
|
|
39162
39174
|
size: number;
|
|
39163
39175
|
checksum?: string;
|
|
39164
|
-
file: Buffer;
|
|
39176
|
+
file: Buffer | fs.ReadStream;
|
|
39165
39177
|
};
|
|
39166
39178
|
}, options?: IRequestOptions$1) => Promise<{
|
|
39167
39179
|
file_token?: string | undefined;
|
|
@@ -39206,7 +39218,7 @@ declare abstract class Client$1 {
|
|
|
39206
39218
|
seq: number;
|
|
39207
39219
|
size: number;
|
|
39208
39220
|
checksum?: string;
|
|
39209
|
-
file: Buffer;
|
|
39221
|
+
file: Buffer | fs.ReadStream;
|
|
39210
39222
|
};
|
|
39211
39223
|
}, options?: IRequestOptions$1) => Promise<{} | null>;
|
|
39212
39224
|
/**
|
|
@@ -39631,7 +39643,7 @@ declare abstract class Client$1 {
|
|
|
39631
39643
|
}>;
|
|
39632
39644
|
};
|
|
39633
39645
|
/**
|
|
39634
|
-
*
|
|
39646
|
+
* 素材
|
|
39635
39647
|
*/
|
|
39636
39648
|
media: {
|
|
39637
39649
|
/**
|
|
@@ -39702,7 +39714,7 @@ declare abstract class Client$1 {
|
|
|
39702
39714
|
size: number;
|
|
39703
39715
|
checksum?: string;
|
|
39704
39716
|
extra?: string;
|
|
39705
|
-
file: Buffer;
|
|
39717
|
+
file: Buffer | fs.ReadStream;
|
|
39706
39718
|
};
|
|
39707
39719
|
}, options?: IRequestOptions$1) => Promise<{
|
|
39708
39720
|
file_token?: string | undefined;
|
|
@@ -39747,7 +39759,7 @@ declare abstract class Client$1 {
|
|
|
39747
39759
|
seq: number;
|
|
39748
39760
|
size: number;
|
|
39749
39761
|
checksum?: string;
|
|
39750
|
-
file: Buffer;
|
|
39762
|
+
file: Buffer | fs.ReadStream;
|
|
39751
39763
|
};
|
|
39752
39764
|
}, options?: IRequestOptions$1) => Promise<{} | null>;
|
|
39753
39765
|
/**
|
|
@@ -42692,7 +42704,7 @@ declare abstract class Client$1 {
|
|
|
42692
42704
|
*/
|
|
42693
42705
|
hire: {
|
|
42694
42706
|
/**
|
|
42695
|
-
*
|
|
42707
|
+
* 入职
|
|
42696
42708
|
*/
|
|
42697
42709
|
application: {
|
|
42698
42710
|
/**
|
|
@@ -43337,6 +43349,74 @@ declare abstract class Client$1 {
|
|
|
43337
43349
|
} | undefined;
|
|
43338
43350
|
}>;
|
|
43339
43351
|
};
|
|
43352
|
+
/**
|
|
43353
|
+
* 评估(灰度租户可见)
|
|
43354
|
+
*/
|
|
43355
|
+
evaluation: {
|
|
43356
|
+
listWithIterator: (payload?: {
|
|
43357
|
+
params?: {
|
|
43358
|
+
page_token?: string;
|
|
43359
|
+
page_size?: number;
|
|
43360
|
+
application_id?: string;
|
|
43361
|
+
update_start_time?: string;
|
|
43362
|
+
update_end_time?: string;
|
|
43363
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
43364
|
+
};
|
|
43365
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
43366
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
43367
|
+
items?: {
|
|
43368
|
+
id?: string | undefined;
|
|
43369
|
+
application_id?: string | undefined;
|
|
43370
|
+
stage_id?: string | undefined;
|
|
43371
|
+
creator_id?: string | undefined;
|
|
43372
|
+
evaluator_id?: string | undefined;
|
|
43373
|
+
commit_status?: number | undefined;
|
|
43374
|
+
conclusion?: number | undefined;
|
|
43375
|
+
content?: string | undefined;
|
|
43376
|
+
create_time?: string | undefined;
|
|
43377
|
+
update_time?: string | undefined;
|
|
43378
|
+
}[] | undefined;
|
|
43379
|
+
} | null, void, unknown>;
|
|
43380
|
+
}>;
|
|
43381
|
+
/**
|
|
43382
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=evaluation&apiName=list&version=v1 click to debug }
|
|
43383
|
+
*
|
|
43384
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/evaluation/list document }
|
|
43385
|
+
*
|
|
43386
|
+
* 获取简历评估信息
|
|
43387
|
+
*
|
|
43388
|
+
* 获取简历评估信息
|
|
43389
|
+
*/
|
|
43390
|
+
list: (payload?: {
|
|
43391
|
+
params?: {
|
|
43392
|
+
page_token?: string;
|
|
43393
|
+
page_size?: number;
|
|
43394
|
+
application_id?: string;
|
|
43395
|
+
update_start_time?: string;
|
|
43396
|
+
update_end_time?: string;
|
|
43397
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
43398
|
+
};
|
|
43399
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
43400
|
+
code?: number | undefined;
|
|
43401
|
+
msg?: string | undefined;
|
|
43402
|
+
data?: {
|
|
43403
|
+
has_more?: boolean | undefined;
|
|
43404
|
+
page_token?: string | undefined;
|
|
43405
|
+
items?: {
|
|
43406
|
+
id?: string | undefined;
|
|
43407
|
+
application_id?: string | undefined;
|
|
43408
|
+
stage_id?: string | undefined;
|
|
43409
|
+
creator_id?: string | undefined;
|
|
43410
|
+
evaluator_id?: string | undefined;
|
|
43411
|
+
commit_status?: number | undefined;
|
|
43412
|
+
conclusion?: number | undefined;
|
|
43413
|
+
content?: string | undefined;
|
|
43414
|
+
create_time?: string | undefined;
|
|
43415
|
+
update_time?: string | undefined;
|
|
43416
|
+
}[] | undefined;
|
|
43417
|
+
} | undefined;
|
|
43418
|
+
}>;
|
|
43419
|
+
};
|
|
43340
43420
|
/**
|
|
43341
43421
|
* 导入外部系统信息(灰度租户可见)
|
|
43342
43422
|
*/
|
|
@@ -44498,6 +44578,405 @@ declare abstract class Client$1 {
|
|
|
44498
44578
|
} | undefined;
|
|
44499
44579
|
}>;
|
|
44500
44580
|
};
|
|
44581
|
+
/**
|
|
44582
|
+
* Offer
|
|
44583
|
+
*/
|
|
44584
|
+
offer: {
|
|
44585
|
+
/**
|
|
44586
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer&apiName=create&version=v1 click to debug }
|
|
44587
|
+
*
|
|
44588
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer/create document }
|
|
44589
|
+
*
|
|
44590
|
+
* 创建 Offer
|
|
44591
|
+
*
|
|
44592
|
+
* 创建 Offer 时,需传入本文档中标注为必传的参数,其余参数是否必传参考「获取 Offer 申请表模板信息」的参数定义
|
|
44593
|
+
*/
|
|
44594
|
+
create: (payload?: {
|
|
44595
|
+
data: {
|
|
44596
|
+
application_id: string;
|
|
44597
|
+
schema_id: string;
|
|
44598
|
+
offer_type?: number;
|
|
44599
|
+
basic_info: {
|
|
44600
|
+
department_id: string;
|
|
44601
|
+
leader_user_id: string;
|
|
44602
|
+
employment_job_id?: string;
|
|
44603
|
+
employee_type_id?: string;
|
|
44604
|
+
job_family_id?: string;
|
|
44605
|
+
job_level_id?: string;
|
|
44606
|
+
probation_month?: number;
|
|
44607
|
+
contract_year?: number;
|
|
44608
|
+
expected_onboard_date?: string;
|
|
44609
|
+
onboard_address_id?: string;
|
|
44610
|
+
work_address_id?: string;
|
|
44611
|
+
owner_user_id: string;
|
|
44612
|
+
recommended_words?: string;
|
|
44613
|
+
job_requirement_id?: string;
|
|
44614
|
+
job_process_type_id?: number;
|
|
44615
|
+
attachment_id_list?: Array<string>;
|
|
44616
|
+
attachment_description?: string;
|
|
44617
|
+
operator_user_id: string;
|
|
44618
|
+
};
|
|
44619
|
+
salary_info?: {
|
|
44620
|
+
currency?: string;
|
|
44621
|
+
basic_salary?: string;
|
|
44622
|
+
probation_salary_percentage?: string;
|
|
44623
|
+
award_salary_multiple?: string;
|
|
44624
|
+
option_shares?: string;
|
|
44625
|
+
quarterly_bonus?: string;
|
|
44626
|
+
half_year_bonus?: string;
|
|
44627
|
+
};
|
|
44628
|
+
customized_info_list?: Array<{
|
|
44629
|
+
id?: string;
|
|
44630
|
+
value?: string;
|
|
44631
|
+
}>;
|
|
44632
|
+
};
|
|
44633
|
+
params?: {
|
|
44634
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
44635
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
44636
|
+
};
|
|
44637
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
44638
|
+
code?: number | undefined;
|
|
44639
|
+
msg?: string | undefined;
|
|
44640
|
+
data?: {
|
|
44641
|
+
offer_id?: string | undefined;
|
|
44642
|
+
application_id?: string | undefined;
|
|
44643
|
+
schema_id?: string | undefined;
|
|
44644
|
+
offer_type?: number | undefined;
|
|
44645
|
+
basic_info?: {
|
|
44646
|
+
department_id?: string | undefined;
|
|
44647
|
+
leader_user_id?: string | undefined;
|
|
44648
|
+
employment_job_id?: string | undefined;
|
|
44649
|
+
employee_type_id?: string | undefined;
|
|
44650
|
+
job_family_id?: string | undefined;
|
|
44651
|
+
job_level_id?: string | undefined;
|
|
44652
|
+
probation_month?: number | undefined;
|
|
44653
|
+
contract_year?: number | undefined;
|
|
44654
|
+
expected_onboard_date?: string | undefined;
|
|
44655
|
+
onboard_address_id?: string | undefined;
|
|
44656
|
+
work_address_id?: string | undefined;
|
|
44657
|
+
owner_user_id?: string | undefined;
|
|
44658
|
+
recommended_words?: string | undefined;
|
|
44659
|
+
job_requirement_id?: string | undefined;
|
|
44660
|
+
job_process_type_id?: number | undefined;
|
|
44661
|
+
attachment_id_list?: string[] | undefined;
|
|
44662
|
+
attachment_description?: string | undefined;
|
|
44663
|
+
operator_user_id: string;
|
|
44664
|
+
} | undefined;
|
|
44665
|
+
salary_info?: {
|
|
44666
|
+
currency?: string | undefined;
|
|
44667
|
+
basic_salary?: string | undefined;
|
|
44668
|
+
probation_salary_percentage?: string | undefined;
|
|
44669
|
+
award_salary_multiple?: string | undefined;
|
|
44670
|
+
option_shares?: string | undefined;
|
|
44671
|
+
quarterly_bonus?: string | undefined;
|
|
44672
|
+
half_year_bonus?: string | undefined;
|
|
44673
|
+
} | undefined;
|
|
44674
|
+
customized_info_list?: {
|
|
44675
|
+
id?: string | undefined;
|
|
44676
|
+
value?: string | undefined;
|
|
44677
|
+
}[] | undefined;
|
|
44678
|
+
} | undefined;
|
|
44679
|
+
}>;
|
|
44680
|
+
/**
|
|
44681
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer&apiName=get&version=v1 click to debug }
|
|
44682
|
+
*
|
|
44683
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer/get document }
|
|
44684
|
+
*
|
|
44685
|
+
* 获取 Offer 详情
|
|
44686
|
+
*
|
|
44687
|
+
* 根据 Offer ID 获取 Offer 详细信息
|
|
44688
|
+
*/
|
|
44689
|
+
get: (payload?: {
|
|
44690
|
+
params?: {
|
|
44691
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
44692
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
44693
|
+
};
|
|
44694
|
+
path?: {
|
|
44695
|
+
offer_id?: string;
|
|
44696
|
+
};
|
|
44697
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
44698
|
+
code?: number | undefined;
|
|
44699
|
+
msg?: string | undefined;
|
|
44700
|
+
data?: {
|
|
44701
|
+
offer?: {
|
|
44702
|
+
id?: string | undefined;
|
|
44703
|
+
application_id?: string | undefined;
|
|
44704
|
+
basic_info?: {
|
|
44705
|
+
offer_type?: number | undefined;
|
|
44706
|
+
remark?: string | undefined;
|
|
44707
|
+
expire_time?: number | undefined;
|
|
44708
|
+
owner_user_id?: string | undefined;
|
|
44709
|
+
creator_user_id?: string | undefined;
|
|
44710
|
+
employee_type?: {
|
|
44711
|
+
id?: string | undefined;
|
|
44712
|
+
zh_name?: string | undefined;
|
|
44713
|
+
en_name?: string | undefined;
|
|
44714
|
+
} | undefined;
|
|
44715
|
+
create_time?: string | undefined;
|
|
44716
|
+
leader_user_id?: string | undefined;
|
|
44717
|
+
onboard_date?: string | undefined;
|
|
44718
|
+
department_id?: string | undefined;
|
|
44719
|
+
probation_month?: number | undefined;
|
|
44720
|
+
contract_year?: number | undefined;
|
|
44721
|
+
recruitment_type?: {
|
|
44722
|
+
id?: string | undefined;
|
|
44723
|
+
zh_name?: string | undefined;
|
|
44724
|
+
en_name?: string | undefined;
|
|
44725
|
+
} | undefined;
|
|
44726
|
+
sequence?: {
|
|
44727
|
+
id?: string | undefined;
|
|
44728
|
+
zh_name?: string | undefined;
|
|
44729
|
+
en_name?: string | undefined;
|
|
44730
|
+
} | undefined;
|
|
44731
|
+
level?: {
|
|
44732
|
+
id?: string | undefined;
|
|
44733
|
+
zh_name?: string | undefined;
|
|
44734
|
+
en_name?: string | undefined;
|
|
44735
|
+
} | undefined;
|
|
44736
|
+
onboard_address?: {
|
|
44737
|
+
id?: string | undefined;
|
|
44738
|
+
zh_name?: string | undefined;
|
|
44739
|
+
en_name?: string | undefined;
|
|
44740
|
+
district?: {
|
|
44741
|
+
zh_name?: string | undefined;
|
|
44742
|
+
en_name?: string | undefined;
|
|
44743
|
+
code?: string | undefined;
|
|
44744
|
+
location_type?: number | undefined;
|
|
44745
|
+
} | undefined;
|
|
44746
|
+
city?: {
|
|
44747
|
+
zh_name?: string | undefined;
|
|
44748
|
+
en_name?: string | undefined;
|
|
44749
|
+
code?: string | undefined;
|
|
44750
|
+
location_type?: number | undefined;
|
|
44751
|
+
} | undefined;
|
|
44752
|
+
state?: {
|
|
44753
|
+
zh_name?: string | undefined;
|
|
44754
|
+
en_name?: string | undefined;
|
|
44755
|
+
code?: string | undefined;
|
|
44756
|
+
location_type?: number | undefined;
|
|
44757
|
+
} | undefined;
|
|
44758
|
+
country?: {
|
|
44759
|
+
zh_name?: string | undefined;
|
|
44760
|
+
en_name?: string | undefined;
|
|
44761
|
+
code?: string | undefined;
|
|
44762
|
+
location_type?: number | undefined;
|
|
44763
|
+
} | undefined;
|
|
44764
|
+
} | undefined;
|
|
44765
|
+
work_address?: {
|
|
44766
|
+
id?: string | undefined;
|
|
44767
|
+
zh_name?: string | undefined;
|
|
44768
|
+
en_name?: string | undefined;
|
|
44769
|
+
district?: {
|
|
44770
|
+
zh_name?: string | undefined;
|
|
44771
|
+
en_name?: string | undefined;
|
|
44772
|
+
code?: string | undefined;
|
|
44773
|
+
location_type?: number | undefined;
|
|
44774
|
+
} | undefined;
|
|
44775
|
+
city?: {
|
|
44776
|
+
zh_name?: string | undefined;
|
|
44777
|
+
en_name?: string | undefined;
|
|
44778
|
+
code?: string | undefined;
|
|
44779
|
+
location_type?: number | undefined;
|
|
44780
|
+
} | undefined;
|
|
44781
|
+
state?: {
|
|
44782
|
+
zh_name?: string | undefined;
|
|
44783
|
+
en_name?: string | undefined;
|
|
44784
|
+
code?: string | undefined;
|
|
44785
|
+
location_type?: number | undefined;
|
|
44786
|
+
} | undefined;
|
|
44787
|
+
country?: {
|
|
44788
|
+
zh_name?: string | undefined;
|
|
44789
|
+
en_name?: string | undefined;
|
|
44790
|
+
code?: string | undefined;
|
|
44791
|
+
location_type?: number | undefined;
|
|
44792
|
+
} | undefined;
|
|
44793
|
+
} | undefined;
|
|
44794
|
+
customize_info_list?: {
|
|
44795
|
+
object_id?: string | undefined;
|
|
44796
|
+
customize_value?: string | undefined;
|
|
44797
|
+
}[] | undefined;
|
|
44798
|
+
} | undefined;
|
|
44799
|
+
salary_plan?: {
|
|
44800
|
+
currency?: string | undefined;
|
|
44801
|
+
basic_salary?: string | undefined;
|
|
44802
|
+
probation_salary_percentage?: string | undefined;
|
|
44803
|
+
award_salary_multiple?: string | undefined;
|
|
44804
|
+
option_shares?: string | undefined;
|
|
44805
|
+
quarterly_bonus?: string | undefined;
|
|
44806
|
+
half_year_bonus?: string | undefined;
|
|
44807
|
+
total_annual_cash?: string | undefined;
|
|
44808
|
+
customize_info_list?: {
|
|
44809
|
+
object_id?: string | undefined;
|
|
44810
|
+
customize_value?: string | undefined;
|
|
44811
|
+
}[] | undefined;
|
|
44812
|
+
} | undefined;
|
|
44813
|
+
schema_id?: string | undefined;
|
|
44814
|
+
offer_status?: number | undefined;
|
|
44815
|
+
offer_type?: number | undefined;
|
|
44816
|
+
job_info?: {
|
|
44817
|
+
job_id?: string | undefined;
|
|
44818
|
+
job_name?: string | undefined;
|
|
44819
|
+
} | undefined;
|
|
44820
|
+
} | undefined;
|
|
44821
|
+
} | undefined;
|
|
44822
|
+
}>;
|
|
44823
|
+
/**
|
|
44824
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer&apiName=intern_offer_status&version=v1 click to debug }
|
|
44825
|
+
*
|
|
44826
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer/intern_offer_status document }
|
|
44827
|
+
*
|
|
44828
|
+
* 更新实习 Offer 入/离职状态
|
|
44829
|
+
*
|
|
44830
|
+
* 对「实习待入职」状态的实习 Offer 确认入职、放弃入职,或对「实习已入职」状态的实习 Offer 操作离职
|
|
44831
|
+
*/
|
|
44832
|
+
internOfferStatus: (payload?: {
|
|
44833
|
+
data: {
|
|
44834
|
+
operation: "confirm_onboarding" | "cancel_onboarding" | "offboard";
|
|
44835
|
+
onboarding_info?: {
|
|
44836
|
+
actual_onboarding_date: string;
|
|
44837
|
+
};
|
|
44838
|
+
offboarding_info?: {
|
|
44839
|
+
actual_offboarding_date: string;
|
|
44840
|
+
notes?: string;
|
|
44841
|
+
};
|
|
44842
|
+
};
|
|
44843
|
+
path?: {
|
|
44844
|
+
offer_id?: string;
|
|
44845
|
+
};
|
|
44846
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
44847
|
+
code?: number | undefined;
|
|
44848
|
+
msg?: string | undefined;
|
|
44849
|
+
data?: {
|
|
44850
|
+
offer_id?: string | undefined;
|
|
44851
|
+
operation: "confirm_onboarding" | "cancel_onboarding" | "offboard";
|
|
44852
|
+
onboarding_info?: {
|
|
44853
|
+
actual_onboarding_date: string;
|
|
44854
|
+
} | undefined;
|
|
44855
|
+
offboarding_info?: {
|
|
44856
|
+
actual_offboarding_date: string;
|
|
44857
|
+
notes?: string | undefined;
|
|
44858
|
+
} | undefined;
|
|
44859
|
+
} | undefined;
|
|
44860
|
+
}>;
|
|
44861
|
+
/**
|
|
44862
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer&apiName=list&version=v1 click to debug }
|
|
44863
|
+
*
|
|
44864
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer/list document }
|
|
44865
|
+
*
|
|
44866
|
+
* 获取 Offer 列表
|
|
44867
|
+
*
|
|
44868
|
+
* 根据人才 ID 获取 Offer 列表
|
|
44869
|
+
*/
|
|
44870
|
+
list: (payload?: {
|
|
44871
|
+
params: {
|
|
44872
|
+
page_token?: string;
|
|
44873
|
+
page_size?: number;
|
|
44874
|
+
talent_id: string;
|
|
44875
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
44876
|
+
};
|
|
44877
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
44878
|
+
code?: number | undefined;
|
|
44879
|
+
msg?: string | undefined;
|
|
44880
|
+
data?: {
|
|
44881
|
+
has_more?: boolean | undefined;
|
|
44882
|
+
page_token?: string | undefined;
|
|
44883
|
+
items?: {
|
|
44884
|
+
id?: string | undefined;
|
|
44885
|
+
job_info?: {
|
|
44886
|
+
job_id?: string | undefined;
|
|
44887
|
+
job_name?: string | undefined;
|
|
44888
|
+
} | undefined;
|
|
44889
|
+
create_time?: string | undefined;
|
|
44890
|
+
offer_status?: number | undefined;
|
|
44891
|
+
offer_type?: number | undefined;
|
|
44892
|
+
employee_type?: {
|
|
44893
|
+
id?: string | undefined;
|
|
44894
|
+
zh_name?: string | undefined;
|
|
44895
|
+
en_name?: string | undefined;
|
|
44896
|
+
} | undefined;
|
|
44897
|
+
application_id?: string | undefined;
|
|
44898
|
+
}[] | undefined;
|
|
44899
|
+
} | undefined;
|
|
44900
|
+
}>;
|
|
44901
|
+
/**
|
|
44902
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer&apiName=offer_status&version=v1 click to debug }
|
|
44903
|
+
*
|
|
44904
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=offer_status&project=hire&resource=offer&version=v1 document }
|
|
44905
|
+
*/
|
|
44906
|
+
offerStatus: (payload?: {
|
|
44907
|
+
data: {
|
|
44908
|
+
offer_status: number;
|
|
44909
|
+
expiration_date?: string;
|
|
44910
|
+
termination_reason_id_list?: Array<string>;
|
|
44911
|
+
termination_reason_note?: string;
|
|
44912
|
+
};
|
|
44913
|
+
path?: {
|
|
44914
|
+
offer_id?: string;
|
|
44915
|
+
};
|
|
44916
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
44917
|
+
code?: number | undefined;
|
|
44918
|
+
msg?: string | undefined;
|
|
44919
|
+
data?: {} | undefined;
|
|
44920
|
+
}>;
|
|
44921
|
+
/**
|
|
44922
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer&apiName=update&version=v1 click to debug }
|
|
44923
|
+
*
|
|
44924
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer/update document }
|
|
44925
|
+
*
|
|
44926
|
+
* 更新 Offer 信息
|
|
44927
|
+
*
|
|
44928
|
+
* 1. 更新 Offer 时,需传入本文档中标注为必传的参数,其余参数是否必传参考「获取 Offer 申请表模板信息」的参数定义;;2. 对系统中已存在的 offer 进行更新的,若更新 offer 中含有「修改需审批」的字段,更新后原 Offer 的审批会自动撤回,需要重新发起审批
|
|
44929
|
+
*/
|
|
44930
|
+
update: (payload?: {
|
|
44931
|
+
data: {
|
|
44932
|
+
schema_id: string;
|
|
44933
|
+
basic_info: {
|
|
44934
|
+
department_id: string;
|
|
44935
|
+
leader_user_id: string;
|
|
44936
|
+
employment_job_id?: string;
|
|
44937
|
+
employee_type_id?: string;
|
|
44938
|
+
job_family_id?: string;
|
|
44939
|
+
job_level_id?: string;
|
|
44940
|
+
probation_month?: number;
|
|
44941
|
+
contract_year?: number;
|
|
44942
|
+
expected_onboard_date?: string;
|
|
44943
|
+
onboard_address_id?: string;
|
|
44944
|
+
work_address_id?: string;
|
|
44945
|
+
owner_user_id: string;
|
|
44946
|
+
recommended_words?: string;
|
|
44947
|
+
job_requirement_id?: string;
|
|
44948
|
+
job_process_type_id?: number;
|
|
44949
|
+
attachment_id_list?: Array<string>;
|
|
44950
|
+
attachment_description?: string;
|
|
44951
|
+
operator_user_id: string;
|
|
44952
|
+
};
|
|
44953
|
+
salary_info?: {
|
|
44954
|
+
currency?: string;
|
|
44955
|
+
basic_salary?: string;
|
|
44956
|
+
probation_salary_percentage?: string;
|
|
44957
|
+
award_salary_multiple?: string;
|
|
44958
|
+
option_shares?: string;
|
|
44959
|
+
quarterly_bonus?: string;
|
|
44960
|
+
half_year_bonus?: string;
|
|
44961
|
+
};
|
|
44962
|
+
customized_info_list?: Array<{
|
|
44963
|
+
id?: string;
|
|
44964
|
+
value?: string;
|
|
44965
|
+
}>;
|
|
44966
|
+
};
|
|
44967
|
+
params?: {
|
|
44968
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
44969
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
44970
|
+
};
|
|
44971
|
+
path?: {
|
|
44972
|
+
offer_id?: string;
|
|
44973
|
+
};
|
|
44974
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
44975
|
+
code?: number | undefined;
|
|
44976
|
+
msg?: string | undefined;
|
|
44977
|
+
data?: {} | undefined;
|
|
44978
|
+
}>;
|
|
44979
|
+
};
|
|
44501
44980
|
/**
|
|
44502
44981
|
* offer_schema
|
|
44503
44982
|
*/
|
|
@@ -44538,6 +45017,70 @@ declare abstract class Client$1 {
|
|
|
44538
45017
|
} | undefined;
|
|
44539
45018
|
}>;
|
|
44540
45019
|
};
|
|
45020
|
+
/**
|
|
45021
|
+
* 问卷(灰度租户可见)
|
|
45022
|
+
*/
|
|
45023
|
+
questionnaire: {
|
|
45024
|
+
/**
|
|
45025
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=questionnaire&apiName=list&version=v1 click to debug }
|
|
45026
|
+
*
|
|
45027
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/questionnaire/list document }
|
|
45028
|
+
*
|
|
45029
|
+
* 获取面试满意度问卷列表
|
|
45030
|
+
*
|
|
45031
|
+
* 获取面试满意度问卷列表
|
|
45032
|
+
*/
|
|
45033
|
+
list: (payload?: {
|
|
45034
|
+
params?: {
|
|
45035
|
+
page_token?: string;
|
|
45036
|
+
page_size?: number;
|
|
45037
|
+
application_id?: string;
|
|
45038
|
+
interview_id?: string;
|
|
45039
|
+
update_start_time?: string;
|
|
45040
|
+
update_end_time?: string;
|
|
45041
|
+
};
|
|
45042
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45043
|
+
code?: number | undefined;
|
|
45044
|
+
msg?: string | undefined;
|
|
45045
|
+
data?: {
|
|
45046
|
+
has_more?: boolean | undefined;
|
|
45047
|
+
page_token?: string | undefined;
|
|
45048
|
+
items?: {
|
|
45049
|
+
questionnaire_id?: string | undefined;
|
|
45050
|
+
application_id?: string | undefined;
|
|
45051
|
+
interview_id?: string | undefined;
|
|
45052
|
+
version?: number | undefined;
|
|
45053
|
+
questions?: {
|
|
45054
|
+
question_id?: string | undefined;
|
|
45055
|
+
question_name?: string | undefined;
|
|
45056
|
+
question_en_name?: string | undefined;
|
|
45057
|
+
question_desc?: string | undefined;
|
|
45058
|
+
question_en_desc?: string | undefined;
|
|
45059
|
+
question_type?: number | undefined;
|
|
45060
|
+
is_required?: boolean | undefined;
|
|
45061
|
+
select_option_result_list?: {
|
|
45062
|
+
option_id?: string | undefined;
|
|
45063
|
+
option_name?: string | undefined;
|
|
45064
|
+
option_en_name?: string | undefined;
|
|
45065
|
+
option_desc?: string | undefined;
|
|
45066
|
+
option_en_desc?: string | undefined;
|
|
45067
|
+
is_selected?: boolean | undefined;
|
|
45068
|
+
}[] | undefined;
|
|
45069
|
+
five_start_scoring_result?: {
|
|
45070
|
+
highest_score_desc?: string | undefined;
|
|
45071
|
+
highest_score_en_desc?: string | undefined;
|
|
45072
|
+
lowest_score_desc?: string | undefined;
|
|
45073
|
+
lowest_score_en_desc?: string | undefined;
|
|
45074
|
+
score_result?: number | undefined;
|
|
45075
|
+
} | undefined;
|
|
45076
|
+
description_result?: string | undefined;
|
|
45077
|
+
}[] | undefined;
|
|
45078
|
+
has_answers?: boolean | undefined;
|
|
45079
|
+
update_time?: string | undefined;
|
|
45080
|
+
}[] | undefined;
|
|
45081
|
+
} | undefined;
|
|
45082
|
+
}>;
|
|
45083
|
+
};
|
|
44541
45084
|
/**
|
|
44542
45085
|
* 内推
|
|
44543
45086
|
*/
|
|
@@ -46716,7 +47259,7 @@ declare abstract class Client$1 {
|
|
|
46716
47259
|
file_type: "opus" | "mp4" | "pdf" | "doc" | "xls" | "ppt" | "stream";
|
|
46717
47260
|
file_name: string;
|
|
46718
47261
|
duration?: number;
|
|
46719
|
-
file: Buffer;
|
|
47262
|
+
file: Buffer | fs.ReadStream;
|
|
46720
47263
|
};
|
|
46721
47264
|
}, options?: IRequestOptions$1) => Promise<{
|
|
46722
47265
|
file_key?: string | undefined;
|
|
@@ -46758,7 +47301,7 @@ declare abstract class Client$1 {
|
|
|
46758
47301
|
create: (payload?: {
|
|
46759
47302
|
data: {
|
|
46760
47303
|
image_type: "message" | "avatar";
|
|
46761
|
-
image: Buffer;
|
|
47304
|
+
image: Buffer | fs.ReadStream;
|
|
46762
47305
|
};
|
|
46763
47306
|
}, options?: IRequestOptions$1) => Promise<{
|
|
46764
47307
|
image_key?: string | undefined;
|
|
@@ -46783,7 +47326,7 @@ declare abstract class Client$1 {
|
|
|
46783
47326
|
}>;
|
|
46784
47327
|
};
|
|
46785
47328
|
/**
|
|
46786
|
-
*
|
|
47329
|
+
* 消息
|
|
46787
47330
|
*/
|
|
46788
47331
|
message: {
|
|
46789
47332
|
/**
|
|
@@ -46859,6 +47402,56 @@ declare abstract class Client$1 {
|
|
|
46859
47402
|
msg?: string | undefined;
|
|
46860
47403
|
data?: {} | undefined;
|
|
46861
47404
|
}>;
|
|
47405
|
+
/**
|
|
47406
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=forward&version=v1 click to debug }
|
|
47407
|
+
*
|
|
47408
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=forward&project=im&resource=message&version=v1 document }
|
|
47409
|
+
*
|
|
47410
|
+
* 转发一条消息
|
|
47411
|
+
*/
|
|
47412
|
+
forward: (payload?: {
|
|
47413
|
+
data: {
|
|
47414
|
+
receive_id: string;
|
|
47415
|
+
};
|
|
47416
|
+
params: {
|
|
47417
|
+
receive_id_type: "open_id" | "user_id" | "union_id" | "email" | "chat_id";
|
|
47418
|
+
uuid?: string;
|
|
47419
|
+
};
|
|
47420
|
+
path: {
|
|
47421
|
+
message_id: string;
|
|
47422
|
+
};
|
|
47423
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
47424
|
+
code?: number | undefined;
|
|
47425
|
+
msg?: string | undefined;
|
|
47426
|
+
data?: {
|
|
47427
|
+
message_id?: string | undefined;
|
|
47428
|
+
root_id?: string | undefined;
|
|
47429
|
+
parent_id?: string | undefined;
|
|
47430
|
+
msg_type?: string | undefined;
|
|
47431
|
+
create_time?: string | undefined;
|
|
47432
|
+
update_time?: string | undefined;
|
|
47433
|
+
deleted?: boolean | undefined;
|
|
47434
|
+
updated?: boolean | undefined;
|
|
47435
|
+
chat_id?: string | undefined;
|
|
47436
|
+
sender?: {
|
|
47437
|
+
id: string;
|
|
47438
|
+
id_type: string;
|
|
47439
|
+
sender_type: string;
|
|
47440
|
+
tenant_key?: string | undefined;
|
|
47441
|
+
} | undefined;
|
|
47442
|
+
body?: {
|
|
47443
|
+
content: string;
|
|
47444
|
+
} | undefined;
|
|
47445
|
+
mentions?: {
|
|
47446
|
+
key: string;
|
|
47447
|
+
id: string;
|
|
47448
|
+
id_type: string;
|
|
47449
|
+
name: string;
|
|
47450
|
+
tenant_key?: string | undefined;
|
|
47451
|
+
}[] | undefined;
|
|
47452
|
+
upper_message_id?: string | undefined;
|
|
47453
|
+
} | undefined;
|
|
47454
|
+
}>;
|
|
46862
47455
|
/**
|
|
46863
47456
|
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=get&version=v1 click to debug }
|
|
46864
47457
|
*
|
|
@@ -47007,6 +47600,57 @@ declare abstract class Client$1 {
|
|
|
47007
47600
|
}[] | undefined;
|
|
47008
47601
|
} | undefined;
|
|
47009
47602
|
}>;
|
|
47603
|
+
/**
|
|
47604
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=merge_forward&version=v1 click to debug }
|
|
47605
|
+
*
|
|
47606
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=merge_forward&project=im&resource=message&version=v1 document }
|
|
47607
|
+
*
|
|
47608
|
+
* 合并转发多条消息
|
|
47609
|
+
*/
|
|
47610
|
+
mergeForward: (payload?: {
|
|
47611
|
+
data: {
|
|
47612
|
+
receive_id: string;
|
|
47613
|
+
message_id_list: Array<string>;
|
|
47614
|
+
};
|
|
47615
|
+
params: {
|
|
47616
|
+
receive_id_type: "open_id" | "user_id" | "union_id" | "email" | "chat_id";
|
|
47617
|
+
uuid?: string;
|
|
47618
|
+
};
|
|
47619
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
47620
|
+
code?: number | undefined;
|
|
47621
|
+
msg?: string | undefined;
|
|
47622
|
+
data?: {
|
|
47623
|
+
message?: {
|
|
47624
|
+
message_id?: string | undefined;
|
|
47625
|
+
root_id?: string | undefined;
|
|
47626
|
+
parent_id?: string | undefined;
|
|
47627
|
+
msg_type?: string | undefined;
|
|
47628
|
+
create_time?: string | undefined;
|
|
47629
|
+
update_time?: string | undefined;
|
|
47630
|
+
deleted?: boolean | undefined;
|
|
47631
|
+
updated?: boolean | undefined;
|
|
47632
|
+
chat_id?: string | undefined;
|
|
47633
|
+
sender?: {
|
|
47634
|
+
id: string;
|
|
47635
|
+
id_type: string;
|
|
47636
|
+
sender_type: string;
|
|
47637
|
+
tenant_key?: string | undefined;
|
|
47638
|
+
} | undefined;
|
|
47639
|
+
body?: {
|
|
47640
|
+
content: string;
|
|
47641
|
+
} | undefined;
|
|
47642
|
+
mentions?: {
|
|
47643
|
+
key: string;
|
|
47644
|
+
id: string;
|
|
47645
|
+
id_type: string;
|
|
47646
|
+
name: string;
|
|
47647
|
+
tenant_key?: string | undefined;
|
|
47648
|
+
}[] | undefined;
|
|
47649
|
+
upper_message_id?: string | undefined;
|
|
47650
|
+
} | undefined;
|
|
47651
|
+
invalid_message_id_list?: string[] | undefined;
|
|
47652
|
+
} | undefined;
|
|
47653
|
+
}>;
|
|
47010
47654
|
/**
|
|
47011
47655
|
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=patch&version=v1 click to debug }
|
|
47012
47656
|
*
|
|
@@ -48839,7 +49483,7 @@ declare abstract class Client$1 {
|
|
|
48839
49483
|
*/
|
|
48840
49484
|
upload: (payload?: {
|
|
48841
49485
|
data: {
|
|
48842
|
-
data: Buffer;
|
|
49486
|
+
data: Buffer | fs.ReadStream;
|
|
48843
49487
|
target_id: string;
|
|
48844
49488
|
target_type: number;
|
|
48845
49489
|
};
|
|
@@ -50973,7 +51617,7 @@ declare abstract class Client$1 {
|
|
|
50973
51617
|
}>;
|
|
50974
51618
|
};
|
|
50975
51619
|
/**
|
|
50976
|
-
*
|
|
51620
|
+
* 单元格
|
|
50977
51621
|
*/
|
|
50978
51622
|
spreadsheetSheet: {
|
|
50979
51623
|
/**
|
|
@@ -52489,6 +53133,78 @@ declare abstract class Client$1 {
|
|
|
52489
53133
|
* 视频会议
|
|
52490
53134
|
*/
|
|
52491
53135
|
vc: {
|
|
53136
|
+
/**
|
|
53137
|
+
* 告警中心
|
|
53138
|
+
*/
|
|
53139
|
+
alert: {
|
|
53140
|
+
listWithIterator: (payload?: {
|
|
53141
|
+
params: {
|
|
53142
|
+
start_time: string;
|
|
53143
|
+
end_time: string;
|
|
53144
|
+
query_type?: number;
|
|
53145
|
+
query_value?: string;
|
|
53146
|
+
page_size?: number;
|
|
53147
|
+
page_token?: string;
|
|
53148
|
+
};
|
|
53149
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
53150
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
53151
|
+
items?: {
|
|
53152
|
+
alert_id?: string | undefined;
|
|
53153
|
+
resource_scope?: string | undefined;
|
|
53154
|
+
monitor_target?: number | undefined;
|
|
53155
|
+
alert_strategy?: string | undefined;
|
|
53156
|
+
alert_time?: string | undefined;
|
|
53157
|
+
alert_level?: number | undefined;
|
|
53158
|
+
contacts?: {
|
|
53159
|
+
contact_type?: number | undefined;
|
|
53160
|
+
contact_name?: string | undefined;
|
|
53161
|
+
}[] | undefined;
|
|
53162
|
+
notifyMethods?: number[] | undefined;
|
|
53163
|
+
alertRule?: string | undefined;
|
|
53164
|
+
}[] | undefined;
|
|
53165
|
+
} | null, void, unknown>;
|
|
53166
|
+
}>;
|
|
53167
|
+
/**
|
|
53168
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=alert&apiName=list&version=v1 click to debug }
|
|
53169
|
+
*
|
|
53170
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/alert/list document }
|
|
53171
|
+
*
|
|
53172
|
+
* 获取告警记录
|
|
53173
|
+
*
|
|
53174
|
+
* 获取特定条件下租户的设备告警记录
|
|
53175
|
+
*/
|
|
53176
|
+
list: (payload?: {
|
|
53177
|
+
params: {
|
|
53178
|
+
start_time: string;
|
|
53179
|
+
end_time: string;
|
|
53180
|
+
query_type?: number;
|
|
53181
|
+
query_value?: string;
|
|
53182
|
+
page_size?: number;
|
|
53183
|
+
page_token?: string;
|
|
53184
|
+
};
|
|
53185
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
53186
|
+
code?: number | undefined;
|
|
53187
|
+
msg?: string | undefined;
|
|
53188
|
+
data?: {
|
|
53189
|
+
has_more?: boolean | undefined;
|
|
53190
|
+
page_token?: string | undefined;
|
|
53191
|
+
items?: {
|
|
53192
|
+
alert_id?: string | undefined;
|
|
53193
|
+
resource_scope?: string | undefined;
|
|
53194
|
+
monitor_target?: number | undefined;
|
|
53195
|
+
alert_strategy?: string | undefined;
|
|
53196
|
+
alert_time?: string | undefined;
|
|
53197
|
+
alert_level?: number | undefined;
|
|
53198
|
+
contacts?: {
|
|
53199
|
+
contact_type?: number | undefined;
|
|
53200
|
+
contact_name?: string | undefined;
|
|
53201
|
+
}[] | undefined;
|
|
53202
|
+
notifyMethods?: number[] | undefined;
|
|
53203
|
+
alertRule?: string | undefined;
|
|
53204
|
+
}[] | undefined;
|
|
53205
|
+
} | undefined;
|
|
53206
|
+
}>;
|
|
53207
|
+
};
|
|
52492
53208
|
/**
|
|
52493
53209
|
* 导出
|
|
52494
53210
|
*/
|
|
@@ -58154,6 +58870,25 @@ interface IHandles extends IOtherEventHandles {
|
|
|
58154
58870
|
target_stage_id?: string;
|
|
58155
58871
|
update_time?: number;
|
|
58156
58872
|
}) => Promise<any> | any;
|
|
58873
|
+
/**
|
|
58874
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer/events/status_changed document }
|
|
58875
|
+
*
|
|
58876
|
+
* Offer 状态变更
|
|
58877
|
+
*
|
|
58878
|
+
* 当 Offer 状态发生变更时将触发该事件。
|
|
58879
|
+
*/
|
|
58880
|
+
"hire.offer.status_changed_v1"?: (data: {
|
|
58881
|
+
event_id?: string;
|
|
58882
|
+
token?: string;
|
|
58883
|
+
create_time?: string;
|
|
58884
|
+
event_type?: string;
|
|
58885
|
+
tenant_key?: string;
|
|
58886
|
+
ts?: string;
|
|
58887
|
+
uuid?: string;
|
|
58888
|
+
type?: string;
|
|
58889
|
+
app_id?: string;
|
|
58890
|
+
offer_id?: string;
|
|
58891
|
+
}) => Promise<any> | any;
|
|
58157
58892
|
/**
|
|
58158
58893
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/disbanded document }
|
|
58159
58894
|
*
|