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