@larksuiteoapi/node-sdk 1.38.0 → 1.39.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
@@ -1074,7 +1074,7 @@ declare abstract class Client$_ extends Client$$ {
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
  /**
@@ -3534,6 +3534,382 @@ declare abstract class Client$Z extends Client$_ {
3534
3534
  } | undefined;
3535
3535
  }>;
3536
3536
  };
3537
+ /**
3538
+ * app.data_asset
3539
+ */
3540
+ appDataAsset: {
3541
+ listWithIterator: (payload?: {
3542
+ params?: {
3543
+ page_size?: number;
3544
+ page_token?: string;
3545
+ keyword?: string;
3546
+ data_asset_ids?: Array<string>;
3547
+ data_asset_tag_ids?: Array<string>;
3548
+ with_data_asset_item?: boolean;
3549
+ with_connect_status?: boolean;
3550
+ with_import_setting?: boolean;
3551
+ };
3552
+ path: {
3553
+ app_id: string;
3554
+ };
3555
+ }, options?: IRequestOptions$1) => Promise<{
3556
+ [Symbol.asyncIterator](): AsyncGenerator<{
3557
+ items?: {
3558
+ data_asset_id?: string | undefined;
3559
+ label?: Record<string, string> | undefined;
3560
+ description?: Record<string, string> | undefined;
3561
+ data_source_type?: "object" | "excel" | "pdf" | "pptx" | "txt" | "docx" | "mysql" | "postgresql" | "larkbase" | "salesforce" | "fenxiangxiaoke" | "qianchuan" | "clickhouse" | "databricks" | "servicedesk" | "larkbiz_wiki" | "larkbiz_doc" | "larkbiz_docs" | "larkbiz_docx" | "larkbiz_pdf" | "larkbiz_word" | "larkbiz_pptx" | "larkbiz_sheets" | "larkbiz_base" | "larkbiz_personalfolder" | "larkbiz_sharedfolder" | undefined;
3562
+ connect_status?: "awaiting" | "syncing" | "successful" | "continuously_syncing" | "partially_successful" | "failed" | undefined;
3563
+ tags?: {
3564
+ data_asset_tag_id?: string | undefined;
3565
+ name?: string | undefined;
3566
+ }[] | undefined;
3567
+ items?: {
3568
+ data_asset_item_id?: string | undefined;
3569
+ api_name?: string | undefined;
3570
+ label?: Record<string, string> | undefined;
3571
+ description?: Record<string, string> | undefined;
3572
+ resources?: {
3573
+ resource_id?: string | undefined;
3574
+ resource_type?: "dataset" | "vector" | undefined;
3575
+ }[] | undefined;
3576
+ }[] | undefined;
3577
+ connect_failed_reason?: string | undefined;
3578
+ import_knowledge_setting?: {
3579
+ chunk_setting?: {
3580
+ rule_type: "separator" | "intelligent";
3581
+ separate_type?: "paragraph" | "title" | undefined;
3582
+ size?: number | undefined;
3583
+ overlap?: number | undefined;
3584
+ } | undefined;
3585
+ file?: {
3586
+ title?: string | undefined;
3587
+ token?: string | undefined;
3588
+ content?: string | undefined;
3589
+ mime_type?: string | undefined;
3590
+ url?: string | undefined;
3591
+ } | undefined;
3592
+ lark_doc?: {
3593
+ type: "doc" | "file" | "wiki" | "docx" | "folder";
3594
+ token: string;
3595
+ with_sub_docs?: boolean | undefined;
3596
+ url?: string | undefined;
3597
+ } | undefined;
3598
+ lark_wiki_space?: {
3599
+ space_id: string;
3600
+ sub_docs?: {
3601
+ type: "wiki";
3602
+ token: string;
3603
+ url?: string | undefined;
3604
+ }[] | undefined;
3605
+ url?: string | undefined;
3606
+ } | undefined;
3607
+ lark_helpdesk?: {
3608
+ helpdesk_id: string;
3609
+ } | undefined;
3610
+ } | undefined;
3611
+ connect_type?: "import" | "direct" | undefined;
3612
+ created_time?: string | undefined;
3613
+ updated_time?: string | undefined;
3614
+ }[] | undefined;
3615
+ } | null, void, unknown>;
3616
+ }>;
3617
+ /**
3618
+ * {@link https://open.feishu.cn/api-explorer?project=aily&resource=app.data_asset&apiName=list&version=v1 click to debug }
3619
+ *
3620
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=aily&resource=app.data_asset&version=v1 document }
3621
+ *
3622
+ * 获取数据与知识列表
3623
+ */
3624
+ list: (payload?: {
3625
+ params?: {
3626
+ page_size?: number;
3627
+ page_token?: string;
3628
+ keyword?: string;
3629
+ data_asset_ids?: Array<string>;
3630
+ data_asset_tag_ids?: Array<string>;
3631
+ with_data_asset_item?: boolean;
3632
+ with_connect_status?: boolean;
3633
+ with_import_setting?: boolean;
3634
+ };
3635
+ path: {
3636
+ app_id: string;
3637
+ };
3638
+ }, options?: IRequestOptions$1) => Promise<{
3639
+ code?: number | undefined;
3640
+ msg?: string | undefined;
3641
+ data?: {
3642
+ items?: {
3643
+ data_asset_id?: string | undefined;
3644
+ label?: Record<string, string> | undefined;
3645
+ description?: Record<string, string> | undefined;
3646
+ data_source_type?: "object" | "excel" | "pdf" | "pptx" | "txt" | "docx" | "mysql" | "postgresql" | "larkbase" | "salesforce" | "fenxiangxiaoke" | "qianchuan" | "clickhouse" | "databricks" | "servicedesk" | "larkbiz_wiki" | "larkbiz_doc" | "larkbiz_docs" | "larkbiz_docx" | "larkbiz_pdf" | "larkbiz_word" | "larkbiz_pptx" | "larkbiz_sheets" | "larkbiz_base" | "larkbiz_personalfolder" | "larkbiz_sharedfolder" | undefined;
3647
+ connect_status?: "awaiting" | "syncing" | "successful" | "continuously_syncing" | "partially_successful" | "failed" | undefined;
3648
+ tags?: {
3649
+ data_asset_tag_id?: string | undefined;
3650
+ name?: string | undefined;
3651
+ }[] | undefined;
3652
+ items?: {
3653
+ data_asset_item_id?: string | undefined;
3654
+ api_name?: string | undefined;
3655
+ label?: Record<string, string> | undefined;
3656
+ description?: Record<string, string> | undefined;
3657
+ resources?: {
3658
+ resource_id?: string | undefined;
3659
+ resource_type?: "dataset" | "vector" | undefined;
3660
+ }[] | undefined;
3661
+ }[] | undefined;
3662
+ connect_failed_reason?: string | undefined;
3663
+ import_knowledge_setting?: {
3664
+ chunk_setting?: {
3665
+ rule_type: "separator" | "intelligent";
3666
+ separate_type?: "paragraph" | "title" | undefined;
3667
+ size?: number | undefined;
3668
+ overlap?: number | undefined;
3669
+ } | undefined;
3670
+ file?: {
3671
+ title?: string | undefined;
3672
+ token?: string | undefined;
3673
+ content?: string | undefined;
3674
+ mime_type?: string | undefined;
3675
+ url?: string | undefined;
3676
+ } | undefined;
3677
+ lark_doc?: {
3678
+ type: "doc" | "file" | "wiki" | "docx" | "folder";
3679
+ token: string;
3680
+ with_sub_docs?: boolean | undefined;
3681
+ url?: string | undefined;
3682
+ } | undefined;
3683
+ lark_wiki_space?: {
3684
+ space_id: string;
3685
+ sub_docs?: {
3686
+ type: "wiki";
3687
+ token: string;
3688
+ url?: string | undefined;
3689
+ }[] | undefined;
3690
+ url?: string | undefined;
3691
+ } | undefined;
3692
+ lark_helpdesk?: {
3693
+ helpdesk_id: string;
3694
+ } | undefined;
3695
+ } | undefined;
3696
+ connect_type?: "import" | "direct" | undefined;
3697
+ created_time?: string | undefined;
3698
+ updated_time?: string | undefined;
3699
+ }[] | undefined;
3700
+ page_token?: string | undefined;
3701
+ has_more?: boolean | undefined;
3702
+ } | undefined;
3703
+ }>;
3704
+ };
3705
+ /**
3706
+ * app.data_asset_tag
3707
+ */
3708
+ appDataAssetTag: {
3709
+ listWithIterator: (payload?: {
3710
+ params?: {
3711
+ page_size?: number;
3712
+ page_token?: string;
3713
+ keyword?: string;
3714
+ data_asset_tag_ids?: Array<string>;
3715
+ };
3716
+ path: {
3717
+ app_id: string;
3718
+ };
3719
+ }, options?: IRequestOptions$1) => Promise<{
3720
+ [Symbol.asyncIterator](): AsyncGenerator<{
3721
+ items?: {
3722
+ data_asset_tag_id?: string | undefined;
3723
+ name?: string | undefined;
3724
+ }[] | undefined;
3725
+ } | null, void, unknown>;
3726
+ }>;
3727
+ /**
3728
+ * {@link https://open.feishu.cn/api-explorer?project=aily&resource=app.data_asset_tag&apiName=list&version=v1 click to debug }
3729
+ *
3730
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=aily&resource=app.data_asset_tag&version=v1 document }
3731
+ *
3732
+ * 获取数据与知识分类列表
3733
+ */
3734
+ list: (payload?: {
3735
+ params?: {
3736
+ page_size?: number;
3737
+ page_token?: string;
3738
+ keyword?: string;
3739
+ data_asset_tag_ids?: Array<string>;
3740
+ };
3741
+ path: {
3742
+ app_id: string;
3743
+ };
3744
+ }, options?: IRequestOptions$1) => Promise<{
3745
+ code?: number | undefined;
3746
+ msg?: string | undefined;
3747
+ data?: {
3748
+ items?: {
3749
+ data_asset_tag_id?: string | undefined;
3750
+ name?: string | undefined;
3751
+ }[] | undefined;
3752
+ page_token?: string | undefined;
3753
+ has_more?: boolean | undefined;
3754
+ } | undefined;
3755
+ }>;
3756
+ };
3757
+ /**
3758
+ * app.knowledge
3759
+ */
3760
+ appKnowledge: {
3761
+ /**
3762
+ * {@link https://open.feishu.cn/api-explorer?project=aily&resource=app.knowledge&apiName=ask&version=v1 click to debug }
3763
+ *
3764
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=ask&project=aily&resource=app.knowledge&version=v1 document }
3765
+ *
3766
+ * 执行一次数据知识问答
3767
+ */
3768
+ ask: (payload?: {
3769
+ data: {
3770
+ message: {
3771
+ content?: string;
3772
+ };
3773
+ data_asset_ids?: Array<string>;
3774
+ data_asset_tag_ids?: Array<string>;
3775
+ };
3776
+ path: {
3777
+ app_id: string;
3778
+ };
3779
+ }, options?: IRequestOptions$1) => Promise<{
3780
+ code?: number | undefined;
3781
+ msg?: string | undefined;
3782
+ data?: {
3783
+ status?: "processing" | "finished" | undefined;
3784
+ finish_type?: "qa" | "faq" | undefined;
3785
+ message?: {
3786
+ content?: string | undefined;
3787
+ } | undefined;
3788
+ process_data?: {
3789
+ chart_dsls?: string[] | undefined;
3790
+ chunks?: string[] | undefined;
3791
+ sql_data?: string[] | undefined;
3792
+ } | undefined;
3793
+ faq_result?: {
3794
+ question?: string | undefined;
3795
+ answer?: string | undefined;
3796
+ } | undefined;
3797
+ has_answer?: boolean | undefined;
3798
+ } | undefined;
3799
+ }>;
3800
+ };
3801
+ /**
3802
+ * app.skill
3803
+ */
3804
+ appSkill: {
3805
+ /**
3806
+ * {@link https://open.feishu.cn/api-explorer?project=aily&resource=app.skill&apiName=get&version=v1 click to debug }
3807
+ *
3808
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=aily&resource=app.skill&version=v1 document }
3809
+ *
3810
+ * 该 API 用于获取某个飞书智能伙伴应用的技能(Skill)的详细信息。
3811
+ */
3812
+ get: (payload?: {
3813
+ path: {
3814
+ app_id: string;
3815
+ skill_id: string;
3816
+ };
3817
+ }, options?: IRequestOptions$1) => Promise<{
3818
+ code?: number | undefined;
3819
+ msg?: string | undefined;
3820
+ data?: {
3821
+ skill?: {
3822
+ id?: string | undefined;
3823
+ label?: string | undefined;
3824
+ description?: string | undefined;
3825
+ samples?: string[] | undefined;
3826
+ input_schema?: string | undefined;
3827
+ output_schema?: string | undefined;
3828
+ } | undefined;
3829
+ } | undefined;
3830
+ }>;
3831
+ listWithIterator: (payload?: {
3832
+ params?: {
3833
+ page_size?: number;
3834
+ page_token?: string;
3835
+ };
3836
+ path: {
3837
+ app_id: string;
3838
+ };
3839
+ }, options?: IRequestOptions$1) => Promise<{
3840
+ [Symbol.asyncIterator](): AsyncGenerator<{
3841
+ skills?: {
3842
+ id?: string | undefined;
3843
+ label?: string | undefined;
3844
+ description?: string | undefined;
3845
+ samples?: string[] | undefined;
3846
+ input_schema?: string | undefined;
3847
+ output_schema?: string | undefined;
3848
+ }[] | undefined;
3849
+ } | null, void, unknown>;
3850
+ }>;
3851
+ /**
3852
+ * {@link https://open.feishu.cn/api-explorer?project=aily&resource=app.skill&apiName=list&version=v1 click to debug }
3853
+ *
3854
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=aily&resource=app.skill&version=v1 document }
3855
+ *
3856
+ * 该 API 用于批量获取飞书智能伙伴应用的技能(Skill)的详细信息
3857
+ */
3858
+ list: (payload?: {
3859
+ params?: {
3860
+ page_size?: number;
3861
+ page_token?: string;
3862
+ };
3863
+ path: {
3864
+ app_id: string;
3865
+ };
3866
+ }, options?: IRequestOptions$1) => Promise<{
3867
+ code?: number | undefined;
3868
+ msg?: string | undefined;
3869
+ data?: {
3870
+ skills?: {
3871
+ id?: string | undefined;
3872
+ label?: string | undefined;
3873
+ description?: string | undefined;
3874
+ samples?: string[] | undefined;
3875
+ input_schema?: string | undefined;
3876
+ output_schema?: string | undefined;
3877
+ }[] | undefined;
3878
+ page_token?: string | undefined;
3879
+ has_more?: boolean | undefined;
3880
+ } | undefined;
3881
+ }>;
3882
+ /**
3883
+ * {@link https://open.feishu.cn/api-explorer?project=aily&resource=app.skill&apiName=start&version=v1 click to debug }
3884
+ *
3885
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=start&project=aily&resource=app.skill&version=v1 document }
3886
+ *
3887
+ * 该 API 用于执行飞书智能伙伴应用的技能(Skill)获取输出
3888
+ */
3889
+ start: (payload?: {
3890
+ data?: {
3891
+ global_variable?: {
3892
+ query?: string;
3893
+ files?: Array<string>;
3894
+ channel?: {
3895
+ variables?: string;
3896
+ };
3897
+ };
3898
+ input?: string;
3899
+ };
3900
+ path: {
3901
+ app_id: string;
3902
+ skill_id: string;
3903
+ };
3904
+ }, options?: IRequestOptions$1) => Promise<{
3905
+ code?: number | undefined;
3906
+ msg?: string | undefined;
3907
+ data?: {
3908
+ output?: string | undefined;
3909
+ status?: string | undefined;
3910
+ } | undefined;
3911
+ }>;
3912
+ };
3537
3913
  };
3538
3914
  };
3539
3915
  }
@@ -5966,7 +6342,7 @@ declare abstract class Client$X extends Client$Y {
5966
6342
  */
5967
6343
  approval: {
5968
6344
  /**
5969
- * 原生审批定义
6345
+ * 事件
5970
6346
  */
5971
6347
  approval: {
5972
6348
  /**
@@ -6359,6 +6735,7 @@ declare abstract class Client$X extends Client$Y {
6359
6735
  exclude_statistics?: boolean;
6360
6736
  node_id?: string;
6361
6737
  node_name?: string;
6738
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT";
6362
6739
  }>;
6363
6740
  cc_list?: Array<{
6364
6741
  cc_id: string;
@@ -6397,6 +6774,7 @@ declare abstract class Client$X extends Client$Y {
6397
6774
  form_vary_with_locale?: boolean;
6398
6775
  form_version?: string;
6399
6776
  };
6777
+ resource_region?: string;
6400
6778
  };
6401
6779
  }, options?: IRequestOptions$1) => Promise<{
6402
6780
  code?: number | undefined;
@@ -6452,6 +6830,7 @@ declare abstract class Client$X extends Client$Y {
6452
6830
  exclude_statistics?: boolean | undefined;
6453
6831
  node_id?: string | undefined;
6454
6832
  node_name?: string | undefined;
6833
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT" | undefined;
6455
6834
  }[] | undefined;
6456
6835
  cc_list?: {
6457
6836
  cc_id: string;
@@ -6490,6 +6869,7 @@ declare abstract class Client$X extends Client$Y {
6490
6869
  form_vary_with_locale?: boolean | undefined;
6491
6870
  form_version?: string | undefined;
6492
6871
  } | undefined;
6872
+ resource_region?: string | undefined;
6493
6873
  } | undefined;
6494
6874
  } | undefined;
6495
6875
  }>;
@@ -6567,7 +6947,7 @@ declare abstract class Client$X extends Client$Y {
6567
6947
  }>;
6568
6948
  };
6569
6949
  /**
6570
- * 审批查询
6950
+ * 原生审批实例
6571
6951
  */
6572
6952
  instance: {
6573
6953
  /**
@@ -7241,7 +7621,7 @@ declare abstract class Client$X extends Client$Y {
7241
7621
  }>;
7242
7622
  };
7243
7623
  /**
7244
- * 原生审批任务
7624
+ * 审批查询
7245
7625
  */
7246
7626
  task: {
7247
7627
  /**
@@ -7499,7 +7879,7 @@ declare abstract class Client$X extends Client$Y {
7499
7879
  };
7500
7880
  v4: {
7501
7881
  /**
7502
- * 原生审批定义
7882
+ * 事件
7503
7883
  */
7504
7884
  approval: {
7505
7885
  /**
@@ -7892,6 +8272,7 @@ declare abstract class Client$X extends Client$Y {
7892
8272
  exclude_statistics?: boolean;
7893
8273
  node_id?: string;
7894
8274
  node_name?: string;
8275
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT";
7895
8276
  }>;
7896
8277
  cc_list?: Array<{
7897
8278
  cc_id: string;
@@ -7930,6 +8311,7 @@ declare abstract class Client$X extends Client$Y {
7930
8311
  form_vary_with_locale?: boolean;
7931
8312
  form_version?: string;
7932
8313
  };
8314
+ resource_region?: string;
7933
8315
  };
7934
8316
  }, options?: IRequestOptions$1) => Promise<{
7935
8317
  code?: number | undefined;
@@ -7985,6 +8367,7 @@ declare abstract class Client$X extends Client$Y {
7985
8367
  exclude_statistics?: boolean | undefined;
7986
8368
  node_id?: string | undefined;
7987
8369
  node_name?: string | undefined;
8370
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT" | undefined;
7988
8371
  }[] | undefined;
7989
8372
  cc_list?: {
7990
8373
  cc_id: string;
@@ -8023,6 +8406,7 @@ declare abstract class Client$X extends Client$Y {
8023
8406
  form_vary_with_locale?: boolean | undefined;
8024
8407
  form_version?: string | undefined;
8025
8408
  } | undefined;
8409
+ resource_region?: string | undefined;
8026
8410
  } | undefined;
8027
8411
  } | undefined;
8028
8412
  }>;
@@ -8100,7 +8484,7 @@ declare abstract class Client$X extends Client$Y {
8100
8484
  }>;
8101
8485
  };
8102
8486
  /**
8103
- * 审批查询
8487
+ * 原生审批实例
8104
8488
  */
8105
8489
  instance: {
8106
8490
  /**
@@ -8774,7 +9158,7 @@ declare abstract class Client$X extends Client$Y {
8774
9158
  }>;
8775
9159
  };
8776
9160
  /**
8777
- * 原生审批任务
9161
+ * 审批查询
8778
9162
  */
8779
9163
  task: {
8780
9164
  /**
@@ -11228,8 +11612,8 @@ declare abstract class Client$W extends Client$X {
11228
11612
  external_id?: string;
11229
11613
  idempotent_id?: string;
11230
11614
  };
11231
- check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
11232
- check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
11615
+ check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
11616
+ check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
11233
11617
  check_in_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
11234
11618
  check_out_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
11235
11619
  check_in_shift_time?: string;
@@ -13548,8 +13932,8 @@ declare abstract class Client$W extends Client$X {
13548
13932
  external_id?: string;
13549
13933
  idempotent_id?: string;
13550
13934
  };
13551
- check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
13552
- check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
13935
+ check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
13936
+ check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
13553
13937
  check_in_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
13554
13938
  check_out_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
13555
13939
  check_in_shift_time?: string;
@@ -27054,7 +27438,7 @@ declare abstract class Client$L extends Client$M {
27054
27438
  httpInstance: HttpInstance;
27055
27439
  abstract formatPayload(payload?: IPayload, options?: IRequestOptions$1): Promise<Required<IPayload>>;
27056
27440
  /**
27057
- * 通讯录
27441
+ * 搜索
27058
27442
  */
27059
27443
  contact: {
27060
27444
  /**
@@ -38037,7 +38421,7 @@ declare abstract class Client$I extends Client$J {
38037
38421
  data?: {
38038
38422
  job_change_id?: string | undefined;
38039
38423
  employment_id?: string | undefined;
38040
- status?: "0" | "1" | "2" | "3" | "4" | undefined;
38424
+ status?: number | undefined;
38041
38425
  transfer_type_unique_identifier?: string | undefined;
38042
38426
  transfer_reason_unique_identifier?: string | undefined;
38043
38427
  process_id?: string | undefined;
@@ -38350,6 +38734,8 @@ declare abstract class Client$I extends Client$J {
38350
38734
  }[] | undefined;
38351
38735
  } | undefined;
38352
38736
  service_company?: string | undefined;
38737
+ employee_subtype_id?: string | undefined;
38738
+ position_id?: string | undefined;
38353
38739
  } | undefined;
38354
38740
  } | undefined;
38355
38741
  }>;
@@ -38438,6 +38824,8 @@ declare abstract class Client$I extends Client$J {
38438
38824
  }[] | undefined;
38439
38825
  } | undefined;
38440
38826
  service_company?: string | undefined;
38827
+ employee_subtype_id?: string | undefined;
38828
+ position_id?: string | undefined;
38441
38829
  }[] | undefined;
38442
38830
  has_more?: boolean | undefined;
38443
38831
  page_token?: string | undefined;
@@ -38490,6 +38878,8 @@ declare abstract class Client$I extends Client$J {
38490
38878
  enum_name: string;
38491
38879
  };
38492
38880
  service_company?: string;
38881
+ employee_subtype_id?: string;
38882
+ position_id?: string;
38493
38883
  };
38494
38884
  params?: {
38495
38885
  client_token?: string;
@@ -38557,6 +38947,8 @@ declare abstract class Client$I extends Client$J {
38557
38947
  }[] | undefined;
38558
38948
  } | undefined;
38559
38949
  service_company?: string | undefined;
38950
+ employee_subtype_id?: string | undefined;
38951
+ position_id?: string | undefined;
38560
38952
  } | undefined;
38561
38953
  } | undefined;
38562
38954
  }>;
@@ -39020,6 +39412,7 @@ declare abstract class Client$I extends Client$J {
39020
39412
  employment_id_list?: Array<string>;
39021
39413
  user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
39022
39414
  time_zone?: string;
39415
+ include_offboard?: boolean;
39023
39416
  };
39024
39417
  }, options?: IRequestOptions$1) => Promise<{
39025
39418
  code?: number | undefined;
@@ -39043,6 +39436,13 @@ declare abstract class Client$I extends Client$J {
39043
39436
  this_cycle_taken: string;
39044
39437
  leave_balance: string;
39045
39438
  leave_duration_unit: number;
39439
+ history_cycle_accrual?: string;
39440
+ balance_in_current_cycle?: string;
39441
+ taken?: string;
39442
+ taken_history_cycle?: string;
39443
+ offboarding_balance?: string;
39444
+ taken_current_date?: string;
39445
+ offboarding_granted?: string;
39046
39446
  }>;
39047
39447
  }[] | undefined;
39048
39448
  has_more?: boolean | undefined;
@@ -39130,6 +39530,11 @@ declare abstract class Client$I extends Client$J {
39130
39530
  leave_cancel_process_id?: string[] | undefined;
39131
39531
  leave_return_process_id?: string[] | undefined;
39132
39532
  wd_paid_type?: number | undefined;
39533
+ leave_correct_process_info?: {
39534
+ process_id: string;
39535
+ process_status: string;
39536
+ process_apply_time: string;
39537
+ }[] | undefined;
39133
39538
  }[] | undefined;
39134
39539
  has_more?: boolean | undefined;
39135
39540
  page_token?: string | undefined;
@@ -39458,8 +39863,6 @@ declare abstract class Client$I extends Client$J {
39458
39863
  region_id?: string | undefined;
39459
39864
  city_id?: string | undefined;
39460
39865
  distinct_id?: string | undefined;
39461
- city_id_v2?: string | undefined;
39462
- district_id_v2?: string | undefined;
39463
39866
  address_line1?: string | undefined;
39464
39867
  address_line2?: string | undefined;
39465
39868
  address_line3?: string | undefined;
@@ -39592,8 +39995,6 @@ declare abstract class Client$I extends Client$J {
39592
39995
  region_id?: string | undefined;
39593
39996
  city_id?: string | undefined;
39594
39997
  distinct_id?: string | undefined;
39595
- city_id_v2?: string | undefined;
39596
- district_id_v2?: string | undefined;
39597
39998
  address_line1?: string | undefined;
39598
39999
  address_line2?: string | undefined;
39599
40000
  address_line3?: string | undefined;
@@ -39709,8 +40110,6 @@ declare abstract class Client$I extends Client$J {
39709
40110
  region_id?: string | undefined;
39710
40111
  city_id?: string | undefined;
39711
40112
  distinct_id?: string | undefined;
39712
- city_id_v2?: string | undefined;
39713
- district_id_v2?: string | undefined;
39714
40113
  address_line1?: string | undefined;
39715
40114
  address_line2?: string | undefined;
39716
40115
  address_line3?: string | undefined;
@@ -47286,7 +47685,7 @@ declare abstract class Client$I extends Client$J {
47286
47685
  data?: {
47287
47686
  job_change_id?: string | undefined;
47288
47687
  employment_id?: string | undefined;
47289
- status?: "0" | "1" | "2" | "3" | "4" | undefined;
47688
+ status?: number | undefined;
47290
47689
  transfer_type_unique_identifier?: string | undefined;
47291
47690
  transfer_reason_unique_identifier?: string | undefined;
47292
47691
  process_id?: string | undefined;
@@ -47599,6 +47998,8 @@ declare abstract class Client$I extends Client$J {
47599
47998
  }[] | undefined;
47600
47999
  } | undefined;
47601
48000
  service_company?: string | undefined;
48001
+ employee_subtype_id?: string | undefined;
48002
+ position_id?: string | undefined;
47602
48003
  } | undefined;
47603
48004
  } | undefined;
47604
48005
  }>;
@@ -47687,6 +48088,8 @@ declare abstract class Client$I extends Client$J {
47687
48088
  }[] | undefined;
47688
48089
  } | undefined;
47689
48090
  service_company?: string | undefined;
48091
+ employee_subtype_id?: string | undefined;
48092
+ position_id?: string | undefined;
47690
48093
  }[] | undefined;
47691
48094
  has_more?: boolean | undefined;
47692
48095
  page_token?: string | undefined;
@@ -47739,6 +48142,8 @@ declare abstract class Client$I extends Client$J {
47739
48142
  enum_name: string;
47740
48143
  };
47741
48144
  service_company?: string;
48145
+ employee_subtype_id?: string;
48146
+ position_id?: string;
47742
48147
  };
47743
48148
  params?: {
47744
48149
  client_token?: string;
@@ -47806,6 +48211,8 @@ declare abstract class Client$I extends Client$J {
47806
48211
  }[] | undefined;
47807
48212
  } | undefined;
47808
48213
  service_company?: string | undefined;
48214
+ employee_subtype_id?: string | undefined;
48215
+ position_id?: string | undefined;
47809
48216
  } | undefined;
47810
48217
  } | undefined;
47811
48218
  }>;
@@ -48269,6 +48676,7 @@ declare abstract class Client$I extends Client$J {
48269
48676
  employment_id_list?: Array<string>;
48270
48677
  user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
48271
48678
  time_zone?: string;
48679
+ include_offboard?: boolean;
48272
48680
  };
48273
48681
  }, options?: IRequestOptions$1) => Promise<{
48274
48682
  code?: number | undefined;
@@ -48292,6 +48700,13 @@ declare abstract class Client$I extends Client$J {
48292
48700
  this_cycle_taken: string;
48293
48701
  leave_balance: string;
48294
48702
  leave_duration_unit: number;
48703
+ history_cycle_accrual?: string;
48704
+ balance_in_current_cycle?: string;
48705
+ taken?: string;
48706
+ taken_history_cycle?: string;
48707
+ offboarding_balance?: string;
48708
+ taken_current_date?: string;
48709
+ offboarding_granted?: string;
48295
48710
  }>;
48296
48711
  }[] | undefined;
48297
48712
  has_more?: boolean | undefined;
@@ -48379,6 +48794,11 @@ declare abstract class Client$I extends Client$J {
48379
48794
  leave_cancel_process_id?: string[] | undefined;
48380
48795
  leave_return_process_id?: string[] | undefined;
48381
48796
  wd_paid_type?: number | undefined;
48797
+ leave_correct_process_info?: {
48798
+ process_id: string;
48799
+ process_status: string;
48800
+ process_apply_time: string;
48801
+ }[] | undefined;
48382
48802
  }[] | undefined;
48383
48803
  has_more?: boolean | undefined;
48384
48804
  page_token?: string | undefined;
@@ -48707,8 +49127,6 @@ declare abstract class Client$I extends Client$J {
48707
49127
  region_id?: string | undefined;
48708
49128
  city_id?: string | undefined;
48709
49129
  distinct_id?: string | undefined;
48710
- city_id_v2?: string | undefined;
48711
- district_id_v2?: string | undefined;
48712
49130
  address_line1?: string | undefined;
48713
49131
  address_line2?: string | undefined;
48714
49132
  address_line3?: string | undefined;
@@ -48841,8 +49259,6 @@ declare abstract class Client$I extends Client$J {
48841
49259
  region_id?: string | undefined;
48842
49260
  city_id?: string | undefined;
48843
49261
  distinct_id?: string | undefined;
48844
- city_id_v2?: string | undefined;
48845
- district_id_v2?: string | undefined;
48846
49262
  address_line1?: string | undefined;
48847
49263
  address_line2?: string | undefined;
48848
49264
  address_line3?: string | undefined;
@@ -48958,8 +49374,6 @@ declare abstract class Client$I extends Client$J {
48958
49374
  region_id?: string | undefined;
48959
49375
  city_id?: string | undefined;
48960
49376
  distinct_id?: string | undefined;
48961
- city_id_v2?: string | undefined;
48962
- district_id_v2?: string | undefined;
48963
49377
  address_line1?: string | undefined;
48964
49378
  address_line2?: string | undefined;
48965
49379
  address_line3?: string | undefined;
@@ -53137,6 +53551,54 @@ declare abstract class Client$I extends Client$J {
53137
53551
  };
53138
53552
  };
53139
53553
  v2: {
53554
+ /**
53555
+ * approver
53556
+ */
53557
+ approver: {
53558
+ listWithIterator: (payload?: {
53559
+ params: {
53560
+ page_size: number;
53561
+ page_token?: string;
53562
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
53563
+ user_id: string;
53564
+ approver_status?: number;
53565
+ };
53566
+ }, options?: IRequestOptions$1) => Promise<{
53567
+ [Symbol.asyncIterator](): AsyncGenerator<{
53568
+ approvers?: {
53569
+ approver_id?: string | undefined;
53570
+ process_id?: string | undefined;
53571
+ approver_status?: number | undefined;
53572
+ }[] | undefined;
53573
+ } | null, void, unknown>;
53574
+ }>;
53575
+ /**
53576
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=approver&apiName=list&version=v2 click to debug }
53577
+ *
53578
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=approver&version=v2 document }
53579
+ */
53580
+ list: (payload?: {
53581
+ params: {
53582
+ page_size: number;
53583
+ page_token?: string;
53584
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
53585
+ user_id: string;
53586
+ approver_status?: number;
53587
+ };
53588
+ }, options?: IRequestOptions$1) => Promise<{
53589
+ code?: number | undefined;
53590
+ msg?: string | undefined;
53591
+ data?: {
53592
+ page_token?: string | undefined;
53593
+ has_more?: boolean | undefined;
53594
+ approvers?: {
53595
+ approver_id?: string | undefined;
53596
+ process_id?: string | undefined;
53597
+ approver_status?: number | undefined;
53598
+ }[] | undefined;
53599
+ } | undefined;
53600
+ }>;
53601
+ };
53140
53602
  /**
53141
53603
  * basic_info.bank
53142
53604
  */
@@ -53878,6 +54340,23 @@ declare abstract class Client$I extends Client$J {
53878
54340
  * company
53879
54341
  */
53880
54342
  company: {
54343
+ /**
54344
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=company&apiName=active&version=v2 click to debug }
54345
+ *
54346
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=active&project=corehr&resource=company&version=v2 document }
54347
+ */
54348
+ active: (payload?: {
54349
+ data: {
54350
+ company_id: string;
54351
+ effective_time: string;
54352
+ active: boolean;
54353
+ operation_reason: string;
54354
+ };
54355
+ }, options?: IRequestOptions$1) => Promise<{
54356
+ code?: number | undefined;
54357
+ msg?: string | undefined;
54358
+ data?: {} | undefined;
54359
+ }>;
53881
54360
  /**
53882
54361
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=company&apiName=batch_get&version=v2 click to debug }
53883
54362
  *
@@ -54103,6 +54582,41 @@ declare abstract class Client$I extends Client$J {
54103
54582
  }[] | undefined;
54104
54583
  } | undefined;
54105
54584
  }>;
54585
+ queryRecentChangeWithIterator: (payload?: {
54586
+ params: {
54587
+ page_size: number;
54588
+ page_token?: string;
54589
+ start_date: string;
54590
+ end_date: string;
54591
+ };
54592
+ }, options?: IRequestOptions$1) => Promise<{
54593
+ [Symbol.asyncIterator](): AsyncGenerator<{
54594
+ company_ids?: string[] | undefined;
54595
+ deleted_company_ids?: string[] | undefined;
54596
+ } | null, void, unknown>;
54597
+ }>;
54598
+ /**
54599
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=company&apiName=query_recent_change&version=v2 click to debug }
54600
+ *
54601
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_recent_change&project=corehr&resource=company&version=v2 document }
54602
+ */
54603
+ queryRecentChange: (payload?: {
54604
+ params: {
54605
+ page_size: number;
54606
+ page_token?: string;
54607
+ start_date: string;
54608
+ end_date: string;
54609
+ };
54610
+ }, options?: IRequestOptions$1) => Promise<{
54611
+ code?: number | undefined;
54612
+ msg?: string | undefined;
54613
+ data?: {
54614
+ company_ids?: string[] | undefined;
54615
+ page_token?: string | undefined;
54616
+ has_more?: boolean | undefined;
54617
+ deleted_company_ids?: string[] | undefined;
54618
+ } | undefined;
54619
+ }>;
54106
54620
  };
54107
54621
  /**
54108
54622
  * contract
@@ -56202,7 +56716,7 @@ declare abstract class Client$I extends Client$J {
56202
56716
  }[] | undefined;
56203
56717
  } | undefined;
56204
56718
  talent_pool_id_list?: string[] | undefined;
56205
- custom_org_str?: string | undefined;
56719
+ custom_org?: string | undefined;
56206
56720
  }[] | undefined;
56207
56721
  } | undefined;
56208
56722
  }>;
@@ -56282,6 +56796,7 @@ declare abstract class Client$I extends Client$J {
56282
56796
  field_name: string;
56283
56797
  value?: string;
56284
56798
  }>;
56799
+ additional_nationalities?: Array<string>;
56285
56800
  };
56286
56801
  emergency_contacts?: Array<{
56287
56802
  legal_name?: string;
@@ -56469,6 +56984,10 @@ declare abstract class Client$I extends Client$J {
56469
56984
  }>;
56470
56985
  }>;
56471
56986
  }>;
56987
+ citizenship_statuses?: Array<{
56988
+ country_region?: string;
56989
+ citizenship_status?: string;
56990
+ }>;
56472
56991
  };
56473
56992
  employment_info?: {
56474
56993
  basic_info?: {
@@ -56653,6 +57172,8 @@ declare abstract class Client$I extends Client$J {
56653
57172
  email_address_list?: Array<string>;
56654
57173
  user_name?: string;
56655
57174
  department_id_list_include_sub?: Array<string>;
57175
+ additional_national_id_number_list?: Array<string>;
57176
+ citizenship_status_list?: Array<string>;
56656
57177
  cost_center_id_list?: Array<string>;
56657
57178
  };
56658
57179
  params: {
@@ -57819,7 +58340,7 @@ declare abstract class Client$I extends Client$J {
57819
58340
  }[] | undefined;
57820
58341
  } | undefined;
57821
58342
  talent_pool_id_list?: string[] | undefined;
57822
- custom_org_str?: string | undefined;
58343
+ custom_org?: string | undefined;
57823
58344
  }[] | undefined;
57824
58345
  } | null, void, unknown>;
57825
58346
  }>;
@@ -57855,6 +58376,8 @@ declare abstract class Client$I extends Client$J {
57855
58376
  email_address_list?: Array<string>;
57856
58377
  user_name?: string;
57857
58378
  department_id_list_include_sub?: Array<string>;
58379
+ additional_national_id_number_list?: Array<string>;
58380
+ citizenship_status_list?: Array<string>;
57858
58381
  cost_center_id_list?: Array<string>;
57859
58382
  };
57860
58383
  params: {
@@ -59023,7 +59546,7 @@ declare abstract class Client$I extends Client$J {
59023
59546
  }[] | undefined;
59024
59547
  } | undefined;
59025
59548
  talent_pool_id_list?: string[] | undefined;
59026
- custom_org_str?: string | undefined;
59549
+ custom_org?: string | undefined;
59027
59550
  }[] | undefined;
59028
59551
  page_token?: string | undefined;
59029
59552
  has_more?: boolean | undefined;
@@ -59080,6 +59603,8 @@ declare abstract class Client$I extends Client$J {
59080
59603
  effective_date_start?: string;
59081
59604
  effective_date_end?: string;
59082
59605
  data_date?: string;
59606
+ primary_job_data?: boolean;
59607
+ assignment_start_reasons?: Array<string>;
59083
59608
  };
59084
59609
  params?: {
59085
59610
  user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
@@ -59165,7 +59690,7 @@ declare abstract class Client$I extends Client$J {
59165
59690
  value: string;
59166
59691
  }[] | undefined;
59167
59692
  created_at?: string | undefined;
59168
- weekly_working_hours_v2?: string | undefined;
59693
+ weekly_working_hours_v2?: number | undefined;
59169
59694
  employee_subtype_id?: string | undefined;
59170
59695
  }[] | undefined;
59171
59696
  }[] | undefined;
@@ -59184,6 +59709,8 @@ declare abstract class Client$I extends Client$J {
59184
59709
  effective_date_end?: string;
59185
59710
  department_id?: string;
59186
59711
  employment_ids?: Array<string>;
59712
+ primary_job_data?: boolean;
59713
+ assignment_start_reasons?: Array<string>;
59187
59714
  };
59188
59715
  params: {
59189
59716
  page_size: number;
@@ -59270,7 +59797,7 @@ declare abstract class Client$I extends Client$J {
59270
59797
  type?: number | undefined;
59271
59798
  value: string;
59272
59799
  }[] | undefined;
59273
- weekly_working_hours_v2?: string | undefined;
59800
+ weekly_working_hours_v2?: number | undefined;
59274
59801
  employee_subtype_id?: string | undefined;
59275
59802
  }[] | undefined;
59276
59803
  }[] | undefined;
@@ -59898,6 +60425,25 @@ declare abstract class Client$I extends Client$J {
59898
60425
  * location
59899
60426
  */
59900
60427
  location: {
60428
+ /**
60429
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location&apiName=active&version=v2 click to debug }
60430
+ *
60431
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=active&project=corehr&resource=location&version=v2 document }
60432
+ *
60433
+ * 启停/停用地点
60434
+ */
60435
+ active: (payload?: {
60436
+ data: {
60437
+ location_id: string;
60438
+ effective_time: string;
60439
+ active: boolean;
60440
+ operation_reason: string;
60441
+ };
60442
+ }, options?: IRequestOptions$1) => Promise<{
60443
+ code?: number | undefined;
60444
+ msg?: string | undefined;
60445
+ data?: {} | undefined;
60446
+ }>;
59901
60447
  /**
59902
60448
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location&apiName=batch_get&version=v2 click to debug }
59903
60449
  *
@@ -59958,8 +60504,6 @@ declare abstract class Client$I extends Client$J {
59958
60504
  region_id?: string | undefined;
59959
60505
  city_id?: string | undefined;
59960
60506
  distinct_id?: string | undefined;
59961
- city_id_v2?: string | undefined;
59962
- district_id_v2?: string | undefined;
59963
60507
  address_line1?: string | undefined;
59964
60508
  address_line2?: string | undefined;
59965
60509
  address_line3?: string | undefined;
@@ -60022,6 +60566,153 @@ declare abstract class Client$I extends Client$J {
60022
60566
  }[] | undefined;
60023
60567
  } | undefined;
60024
60568
  }>;
60569
+ /**
60570
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location&apiName=patch&version=v2 click to debug }
60571
+ *
60572
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=location&version=v2 document }
60573
+ *
60574
+ * 更新地点
60575
+ */
60576
+ patch: (payload?: {
60577
+ data: {
60578
+ parent_id?: string;
60579
+ names?: Array<{
60580
+ lang: string;
60581
+ value: string;
60582
+ }>;
60583
+ active?: boolean;
60584
+ effective_time: string;
60585
+ code?: string;
60586
+ descriptions?: Array<{
60587
+ lang: string;
60588
+ value: string;
60589
+ }>;
60590
+ location_usages?: Array<{
60591
+ enum_name: string;
60592
+ }>;
60593
+ working_hours_type_id?: string;
60594
+ locale?: {
60595
+ enum_name: string;
60596
+ };
60597
+ time_zone_id?: string;
60598
+ display_language_id?: string;
60599
+ };
60600
+ params?: {
60601
+ client_token?: string;
60602
+ };
60603
+ path: {
60604
+ location_id: string;
60605
+ };
60606
+ }, options?: IRequestOptions$1) => Promise<{
60607
+ code?: number | undefined;
60608
+ msg?: string | undefined;
60609
+ data?: {} | undefined;
60610
+ }>;
60611
+ };
60612
+ /**
60613
+ * location.address
60614
+ */
60615
+ locationAddress: {
60616
+ /**
60617
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location.address&apiName=create&version=v2 click to debug }
60618
+ *
60619
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=location.address&version=v2 document }
60620
+ *
60621
+ * 添加地点地址
60622
+ */
60623
+ create: (payload?: {
60624
+ data: {
60625
+ country_region_id: string;
60626
+ region_id: string;
60627
+ city_id: string;
60628
+ distinct_id: string;
60629
+ local_address_line1?: string;
60630
+ local_address_line2?: string;
60631
+ local_address_line3?: string;
60632
+ local_address_line4?: string;
60633
+ local_address_line5?: string;
60634
+ local_address_line6?: string;
60635
+ local_address_line7?: string;
60636
+ local_address_line8?: string;
60637
+ local_address_line9?: string;
60638
+ postal_code?: string;
60639
+ address_types?: Array<{
60640
+ enum_name: string;
60641
+ }>;
60642
+ is_primary?: boolean;
60643
+ is_public?: boolean;
60644
+ };
60645
+ params?: {
60646
+ client_token?: string;
60647
+ };
60648
+ path: {
60649
+ location_id: string;
60650
+ };
60651
+ }, options?: IRequestOptions$1) => Promise<{
60652
+ code?: number | undefined;
60653
+ msg?: string | undefined;
60654
+ data?: {
60655
+ address_id?: string | undefined;
60656
+ } | undefined;
60657
+ }>;
60658
+ /**
60659
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location.address&apiName=delete&version=v2 click to debug }
60660
+ *
60661
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=location.address&version=v2 document }
60662
+ *
60663
+ * 删除地点地址
60664
+ */
60665
+ delete: (payload?: {
60666
+ path: {
60667
+ location_id: string;
60668
+ address_id: string;
60669
+ };
60670
+ }, options?: IRequestOptions$1) => Promise<{
60671
+ code?: number | undefined;
60672
+ msg?: string | undefined;
60673
+ data?: {} | undefined;
60674
+ }>;
60675
+ /**
60676
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location.address&apiName=patch&version=v2 click to debug }
60677
+ *
60678
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=location.address&version=v2 document }
60679
+ *
60680
+ * 更新地点地址
60681
+ */
60682
+ patch: (payload?: {
60683
+ data?: {
60684
+ country_region_id?: string;
60685
+ region_id?: string;
60686
+ city_id?: string;
60687
+ distinct_id?: string;
60688
+ local_address_line1?: string;
60689
+ local_address_line2?: string;
60690
+ local_address_line3?: string;
60691
+ local_address_line4?: string;
60692
+ local_address_line5?: string;
60693
+ local_address_line6?: string;
60694
+ local_address_line7?: string;
60695
+ local_address_line8?: string;
60696
+ local_address_line9?: string;
60697
+ postal_code?: string;
60698
+ address_types?: Array<{
60699
+ enum_name: string;
60700
+ }>;
60701
+ is_primary?: boolean;
60702
+ is_public?: boolean;
60703
+ };
60704
+ params?: {
60705
+ client_token?: string;
60706
+ };
60707
+ path: {
60708
+ location_id: string;
60709
+ address_id: string;
60710
+ };
60711
+ }, options?: IRequestOptions$1) => Promise<{
60712
+ code?: number | undefined;
60713
+ msg?: string | undefined;
60714
+ data?: {} | undefined;
60715
+ }>;
60025
60716
  };
60026
60717
  /**
60027
60718
  * person
@@ -62653,6 +63344,10 @@ declare abstract class Client$I extends Client$J {
62653
63344
  start_time?: string;
62654
63345
  end_time?: string;
62655
63346
  field_of_study?: string;
63347
+ custom_fields?: Array<{
63348
+ field_name: string;
63349
+ value: string;
63350
+ }>;
62656
63351
  }>;
62657
63352
  work_experience?: Array<{
62658
63353
  company_name?: string;
@@ -62661,6 +63356,10 @@ declare abstract class Client$I extends Client$J {
62661
63356
  job_title?: string;
62662
63357
  description?: string;
62663
63358
  department?: string;
63359
+ custom_fields?: Array<{
63360
+ field_name: string;
63361
+ value: string;
63362
+ }>;
62664
63363
  }>;
62665
63364
  ats_application_id?: string;
62666
63365
  out_biz_id?: string;
@@ -63822,6 +64521,7 @@ declare abstract class Client$I extends Client$J {
63822
64521
  }[] | undefined;
63823
64522
  } | undefined;
63824
64523
  direct_leader_id?: string | undefined;
64524
+ dotted_line_manager_id?: string | undefined;
63825
64525
  job_id?: string | undefined;
63826
64526
  job_family_id?: string | undefined;
63827
64527
  job_level_id?: string | undefined;
@@ -63928,6 +64628,21 @@ declare abstract class Client$I extends Client$J {
63928
64628
  created_by?: string | undefined;
63929
64629
  updated_by?: string | undefined;
63930
64630
  seniority_date?: string | undefined;
64631
+ background_check_order_id?: string | undefined;
64632
+ background_check_order_name?: string | undefined;
64633
+ background_check_order_package_name?: string | undefined;
64634
+ background_check_order_result?: string | undefined;
64635
+ background_check_order_supplier_name?: string | undefined;
64636
+ background_check_order_account_name?: string | undefined;
64637
+ background_check_order_start_time?: string | undefined;
64638
+ background_check_order_complete_time?: string | undefined;
64639
+ background_check_order_status?: {
64640
+ enum_name: string;
64641
+ display?: {
64642
+ lang: string;
64643
+ value: string;
64644
+ }[] | undefined;
64645
+ } | undefined;
63931
64646
  } | undefined;
63932
64647
  onboarding_info?: {
63933
64648
  offer_id?: string | undefined;
@@ -63941,7 +64656,7 @@ declare abstract class Client$I extends Client$J {
63941
64656
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
63942
64657
  onboarding_task_list?: {
63943
64658
  task_name?: string | undefined;
63944
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
64659
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
63945
64660
  operator_id?: string | undefined;
63946
64661
  task_code?: string | undefined;
63947
64662
  }[] | undefined;
@@ -64899,6 +65614,7 @@ declare abstract class Client$I extends Client$J {
64899
65614
  }[] | undefined;
64900
65615
  } | undefined;
64901
65616
  direct_leader_id?: string | undefined;
65617
+ dotted_line_manager_id?: string | undefined;
64902
65618
  job_id?: string | undefined;
64903
65619
  job_family_id?: string | undefined;
64904
65620
  job_level_id?: string | undefined;
@@ -65005,6 +65721,21 @@ declare abstract class Client$I extends Client$J {
65005
65721
  created_by?: string | undefined;
65006
65722
  updated_by?: string | undefined;
65007
65723
  seniority_date?: string | undefined;
65724
+ background_check_order_id?: string | undefined;
65725
+ background_check_order_name?: string | undefined;
65726
+ background_check_order_package_name?: string | undefined;
65727
+ background_check_order_result?: string | undefined;
65728
+ background_check_order_supplier_name?: string | undefined;
65729
+ background_check_order_account_name?: string | undefined;
65730
+ background_check_order_start_time?: string | undefined;
65731
+ background_check_order_complete_time?: string | undefined;
65732
+ background_check_order_status?: {
65733
+ enum_name: string;
65734
+ display?: {
65735
+ lang: string;
65736
+ value: string;
65737
+ }[] | undefined;
65738
+ } | undefined;
65008
65739
  } | undefined;
65009
65740
  onboarding_info?: {
65010
65741
  offer_id?: string | undefined;
@@ -65018,7 +65749,7 @@ declare abstract class Client$I extends Client$J {
65018
65749
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
65019
65750
  onboarding_task_list?: {
65020
65751
  task_name?: string | undefined;
65021
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
65752
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
65022
65753
  operator_id?: string | undefined;
65023
65754
  task_code?: string | undefined;
65024
65755
  }[] | undefined;
@@ -65984,6 +66715,7 @@ declare abstract class Client$I extends Client$J {
65984
66715
  }[] | undefined;
65985
66716
  } | undefined;
65986
66717
  direct_leader_id?: string | undefined;
66718
+ dotted_line_manager_id?: string | undefined;
65987
66719
  job_id?: string | undefined;
65988
66720
  job_family_id?: string | undefined;
65989
66721
  job_level_id?: string | undefined;
@@ -66090,6 +66822,21 @@ declare abstract class Client$I extends Client$J {
66090
66822
  created_by?: string | undefined;
66091
66823
  updated_by?: string | undefined;
66092
66824
  seniority_date?: string | undefined;
66825
+ background_check_order_id?: string | undefined;
66826
+ background_check_order_name?: string | undefined;
66827
+ background_check_order_package_name?: string | undefined;
66828
+ background_check_order_result?: string | undefined;
66829
+ background_check_order_supplier_name?: string | undefined;
66830
+ background_check_order_account_name?: string | undefined;
66831
+ background_check_order_start_time?: string | undefined;
66832
+ background_check_order_complete_time?: string | undefined;
66833
+ background_check_order_status?: {
66834
+ enum_name: string;
66835
+ display?: {
66836
+ lang: string;
66837
+ value: string;
66838
+ }[] | undefined;
66839
+ } | undefined;
66093
66840
  } | undefined;
66094
66841
  onboarding_info?: {
66095
66842
  offer_id?: string | undefined;
@@ -66103,7 +66850,7 @@ declare abstract class Client$I extends Client$J {
66103
66850
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
66104
66851
  onboarding_task_list?: {
66105
66852
  task_name?: string | undefined;
66106
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
66853
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
66107
66854
  operator_id?: string | undefined;
66108
66855
  task_code?: string | undefined;
66109
66856
  }[] | undefined;
@@ -67076,6 +67823,7 @@ declare abstract class Client$I extends Client$J {
67076
67823
  }[] | undefined;
67077
67824
  } | undefined;
67078
67825
  direct_leader_id?: string | undefined;
67826
+ dotted_line_manager_id?: string | undefined;
67079
67827
  job_id?: string | undefined;
67080
67828
  job_family_id?: string | undefined;
67081
67829
  job_level_id?: string | undefined;
@@ -67182,6 +67930,21 @@ declare abstract class Client$I extends Client$J {
67182
67930
  created_by?: string | undefined;
67183
67931
  updated_by?: string | undefined;
67184
67932
  seniority_date?: string | undefined;
67933
+ background_check_order_id?: string | undefined;
67934
+ background_check_order_name?: string | undefined;
67935
+ background_check_order_package_name?: string | undefined;
67936
+ background_check_order_result?: string | undefined;
67937
+ background_check_order_supplier_name?: string | undefined;
67938
+ background_check_order_account_name?: string | undefined;
67939
+ background_check_order_start_time?: string | undefined;
67940
+ background_check_order_complete_time?: string | undefined;
67941
+ background_check_order_status?: {
67942
+ enum_name: string;
67943
+ display?: {
67944
+ lang: string;
67945
+ value: string;
67946
+ }[] | undefined;
67947
+ } | undefined;
67185
67948
  } | undefined;
67186
67949
  onboarding_info?: {
67187
67950
  offer_id?: string | undefined;
@@ -67195,7 +67958,7 @@ declare abstract class Client$I extends Client$J {
67195
67958
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
67196
67959
  onboarding_task_list?: {
67197
67960
  task_name?: string | undefined;
67198
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
67961
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
67199
67962
  operator_id?: string | undefined;
67200
67963
  task_code?: string | undefined;
67201
67964
  }[] | undefined;
@@ -67945,6 +68708,7 @@ declare abstract class Client$I extends Client$J {
67945
68708
  } | undefined;
67946
68709
  }[] | undefined;
67947
68710
  }[] | undefined;
68711
+ process_id?: string | undefined;
67948
68712
  } | undefined;
67949
68713
  }>;
67950
68714
  };
@@ -68121,11 +68885,11 @@ declare abstract class Client$I extends Client$J {
68121
68885
  }>;
68122
68886
  listWithIterator: (payload?: {
68123
68887
  params: {
68124
- modify_time_to: string;
68125
68888
  statuses?: Array<number>;
68126
68889
  page_token?: string;
68127
68890
  page_size: number;
68128
68891
  modify_time_from: string;
68892
+ modify_time_to: string;
68129
68893
  flow_definition_id?: string;
68130
68894
  };
68131
68895
  }, options?: IRequestOptions$1) => Promise<{
@@ -68140,11 +68904,11 @@ declare abstract class Client$I extends Client$J {
68140
68904
  */
68141
68905
  list: (payload?: {
68142
68906
  params: {
68143
- modify_time_to: string;
68144
68907
  statuses?: Array<number>;
68145
68908
  page_token?: string;
68146
68909
  page_size: number;
68147
68910
  modify_time_from: string;
68911
+ modify_time_to: string;
68148
68912
  flow_definition_id?: string;
68149
68913
  };
68150
68914
  }, options?: IRequestOptions$1) => Promise<{
@@ -68157,6 +68921,68 @@ declare abstract class Client$I extends Client$J {
68157
68921
  } | undefined;
68158
68922
  }>;
68159
68923
  };
68924
+ /**
68925
+ * workforce_plan
68926
+ */
68927
+ workforcePlan: {
68928
+ listWithIterator: (payload?: {
68929
+ params?: {
68930
+ limit?: number;
68931
+ offset?: number;
68932
+ get_all_plan?: boolean;
68933
+ active?: boolean;
68934
+ page_token?: string;
68935
+ page_size?: number;
68936
+ };
68937
+ }, options?: IRequestOptions$1) => Promise<{
68938
+ [Symbol.asyncIterator](): AsyncGenerator<{
68939
+ items?: {
68940
+ workforce_plan_id: string;
68941
+ workforce_plan_name?: {
68942
+ lang: string;
68943
+ value: string;
68944
+ }[] | undefined;
68945
+ start_date?: string | undefined;
68946
+ end_date?: string | undefined;
68947
+ active?: boolean | undefined;
68948
+ }[] | undefined;
68949
+ total?: number | undefined;
68950
+ } | null, void, unknown>;
68951
+ }>;
68952
+ /**
68953
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=workforce_plan&apiName=list&version=v2 click to debug }
68954
+ *
68955
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=workforce_plan&version=v2 document }
68956
+ */
68957
+ list: (payload?: {
68958
+ params?: {
68959
+ limit?: number;
68960
+ offset?: number;
68961
+ get_all_plan?: boolean;
68962
+ active?: boolean;
68963
+ page_token?: string;
68964
+ page_size?: number;
68965
+ };
68966
+ }, options?: IRequestOptions$1) => Promise<{
68967
+ code?: number | undefined;
68968
+ msg?: string | undefined;
68969
+ data?: {
68970
+ items?: {
68971
+ workforce_plan_id: string;
68972
+ workforce_plan_name?: {
68973
+ lang: string;
68974
+ value: string;
68975
+ }[] | undefined;
68976
+ start_date?: string | undefined;
68977
+ end_date?: string | undefined;
68978
+ active?: boolean | undefined;
68979
+ }[] | undefined;
68980
+ total?: number | undefined;
68981
+ page_token?: string | undefined;
68982
+ has_more?: boolean | undefined;
68983
+ } | undefined;
68984
+ }>;
68985
+ };
68160
68986
  /**
68161
68987
  * workforce_plan_detail
68162
68988
  */
@@ -94677,6 +95503,8 @@ declare abstract class Client$F extends Client$G {
94677
95503
  children_id: Array<string>;
94678
95504
  index?: number;
94679
95505
  descendants: Array<{
95506
+ block_id?: string;
95507
+ children?: Array<string>;
94680
95508
  block_type: number;
94681
95509
  text?: {
94682
95510
  style?: {
@@ -96793,6 +97621,7 @@ declare abstract class Client$F extends Client$G {
96793
97621
  grid?: {
96794
97622
  column_size: number;
96795
97623
  };
97624
+ grid_column?: {};
96796
97625
  iframe?: {
96797
97626
  component: {
96798
97627
  iframe_type?: number;
@@ -96825,6 +97654,8 @@ declare abstract class Client$F extends Client$G {
96825
97654
  header_column?: boolean;
96826
97655
  };
96827
97656
  };
97657
+ table_cell?: {};
97658
+ view?: {};
96828
97659
  quote_container?: {};
96829
97660
  task?: {
96830
97661
  folded?: boolean;
@@ -125708,6 +126539,8 @@ declare abstract class Client$F extends Client$G {
125708
126539
  children_id: Array<string>;
125709
126540
  index?: number;
125710
126541
  descendants: Array<{
126542
+ block_id?: string;
126543
+ children?: Array<string>;
125711
126544
  block_type: number;
125712
126545
  text?: {
125713
126546
  style?: {
@@ -127824,6 +128657,7 @@ declare abstract class Client$F extends Client$G {
127824
128657
  grid?: {
127825
128658
  column_size: number;
127826
128659
  };
128660
+ grid_column?: {};
127827
128661
  iframe?: {
127828
128662
  component: {
127829
128663
  iframe_type?: number;
@@ -127856,6 +128690,8 @@ declare abstract class Client$F extends Client$G {
127856
128690
  header_column?: boolean;
127857
128691
  };
127858
128692
  };
128693
+ table_cell?: {};
128694
+ view?: {};
127859
128695
  quote_container?: {};
127860
128696
  task?: {
127861
128697
  folded?: boolean;
@@ -131450,7 +132286,7 @@ declare abstract class Client$E extends Client$F {
131450
132286
  }>;
131451
132287
  };
131452
132288
  /**
131453
- * 事件
132289
+ * 文件夹
131454
132290
  */
131455
132291
  file: {
131456
132292
  /**
@@ -132288,7 +133124,7 @@ declare abstract class Client$E extends Client$F {
132288
133124
  }>;
132289
133125
  };
132290
133126
  /**
132291
- * 分片上传
133127
+ * 素材
132292
133128
  */
132293
133129
  media: {
132294
133130
  /**
@@ -133409,7 +134245,7 @@ declare abstract class Client$E extends Client$F {
133409
134245
  }>;
133410
134246
  };
133411
134247
  /**
133412
- * 事件
134248
+ * 文件夹
133413
134249
  */
133414
134250
  file: {
133415
134251
  /**
@@ -134247,7 +135083,7 @@ declare abstract class Client$E extends Client$F {
134247
135083
  }>;
134248
135084
  };
134249
135085
  /**
134250
- * 分片上传
135086
+ * 素材
134251
135087
  */
134252
135088
  media: {
134253
135089
  /**
@@ -135101,7 +135937,7 @@ declare abstract class Client$C extends Client$D {
135101
135937
  custom_fields?: {
135102
135938
  key?: string | undefined;
135103
135939
  label?: string | undefined;
135104
- type?: "text" | "date" | "file" | "option" | undefined;
135940
+ type?: "text" | "file" | "date" | "option" | undefined;
135105
135941
  value?: string | undefined;
135106
135942
  }[] | undefined;
135107
135943
  }[] | undefined;
@@ -135290,7 +136126,7 @@ declare abstract class Client$C extends Client$D {
135290
136126
  custom_fields?: {
135291
136127
  key?: string | undefined;
135292
136128
  label?: string | undefined;
135293
- type?: "text" | "date" | "file" | "option" | undefined;
136129
+ type?: "text" | "file" | "date" | "option" | undefined;
135294
136130
  value?: string | undefined;
135295
136131
  }[] | undefined;
135296
136132
  }[] | undefined;
@@ -135500,7 +136336,7 @@ declare abstract class Client$C extends Client$D {
135500
136336
  custom_fields?: {
135501
136337
  key?: string | undefined;
135502
136338
  label?: string | undefined;
135503
- type?: "text" | "date" | "file" | "option" | undefined;
136339
+ type?: "text" | "file" | "date" | "option" | undefined;
135504
136340
  value?: string | undefined;
135505
136341
  }[] | undefined;
135506
136342
  }[] | undefined;
@@ -135689,7 +136525,7 @@ declare abstract class Client$C extends Client$D {
135689
136525
  custom_fields?: {
135690
136526
  key?: string | undefined;
135691
136527
  label?: string | undefined;
135692
- type?: "text" | "date" | "file" | "option" | undefined;
136528
+ type?: "text" | "file" | "date" | "option" | undefined;
135693
136529
  value?: string | undefined;
135694
136530
  }[] | undefined;
135695
136531
  }[] | undefined;
@@ -145436,6 +146272,7 @@ declare abstract class Client$u extends Client$v {
145436
146272
  process_type?: number;
145437
146273
  job_type_id?: string;
145438
146274
  job_id_list?: Array<string>;
146275
+ employment_job_id?: string;
145439
146276
  };
145440
146277
  params?: {
145441
146278
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -145576,6 +146413,7 @@ declare abstract class Client$u extends Client$v {
145576
146413
  create_time?: string | undefined;
145577
146414
  creator_id?: string | undefined;
145578
146415
  update_time?: string | undefined;
146416
+ employment_job_id?: string | undefined;
145579
146417
  } | undefined;
145580
146418
  } | undefined;
145581
146419
  }>;
@@ -145755,6 +146593,7 @@ declare abstract class Client$u extends Client$v {
145755
146593
  create_time?: string | undefined;
145756
146594
  creator_id?: string | undefined;
145757
146595
  update_time?: string | undefined;
146596
+ employment_job_id?: string | undefined;
145758
146597
  }[] | undefined;
145759
146598
  } | undefined;
145760
146599
  }>;
@@ -145908,6 +146747,7 @@ declare abstract class Client$u extends Client$v {
145908
146747
  create_time?: string | undefined;
145909
146748
  creator_id?: string | undefined;
145910
146749
  update_time?: string | undefined;
146750
+ employment_job_id?: string | undefined;
145911
146751
  }[] | undefined;
145912
146752
  } | undefined;
145913
146753
  }>;
@@ -145950,6 +146790,7 @@ declare abstract class Client$u extends Client$v {
145950
146790
  process_type?: number;
145951
146791
  job_type_id?: string;
145952
146792
  job_id_list?: Array<string>;
146793
+ employment_job_id?: string;
145953
146794
  };
145954
146795
  params?: {
145955
146796
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -149759,6 +150600,24 @@ declare abstract class Client$u extends Client$v {
149759
150600
  msg?: string | undefined;
149760
150601
  data?: {} | undefined;
149761
150602
  }>;
150603
+ /**
150604
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=tag&version=v1 click to debug }
150605
+ *
150606
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=tag&project=hire&resource=talent&version=v1 document }
150607
+ */
150608
+ tag: (payload?: {
150609
+ data: {
150610
+ operation: number;
150611
+ tag_id_list: Array<string>;
150612
+ };
150613
+ path: {
150614
+ talent_id: string;
150615
+ };
150616
+ }, options?: IRequestOptions$1) => Promise<{
150617
+ code?: number | undefined;
150618
+ msg?: string | undefined;
150619
+ data?: {} | undefined;
150620
+ }>;
149762
150621
  };
149763
150622
  /**
149764
150623
  * 导入外部系统信息(灰度租户可见)
@@ -150080,6 +150939,72 @@ declare abstract class Client$u extends Client$v {
150080
150939
  } | undefined;
150081
150940
  }>;
150082
150941
  };
150942
+ /**
150943
+ * talent_tag
150944
+ */
150945
+ talentTag: {
150946
+ listWithIterator: (payload?: {
150947
+ params?: {
150948
+ keyword?: string;
150949
+ id_list?: Array<string>;
150950
+ type?: number;
150951
+ include_inactive?: boolean;
150952
+ page_size?: number;
150953
+ page_token?: string;
150954
+ };
150955
+ }, options?: IRequestOptions$1) => Promise<{
150956
+ [Symbol.asyncIterator](): AsyncGenerator<{
150957
+ items?: {
150958
+ id?: string | undefined;
150959
+ name?: {
150960
+ zh_cn?: string | undefined;
150961
+ en_us?: string | undefined;
150962
+ } | undefined;
150963
+ description?: {
150964
+ zh_cn?: string | undefined;
150965
+ en_us?: string | undefined;
150966
+ } | undefined;
150967
+ type?: number | undefined;
150968
+ active_status?: number | undefined;
150969
+ }[] | undefined;
150970
+ } | null, void, unknown>;
150971
+ }>;
150972
+ /**
150973
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent_tag&apiName=list&version=v1 click to debug }
150974
+ *
150975
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=talent_tag&version=v1 document }
150976
+ */
150977
+ list: (payload?: {
150978
+ params?: {
150979
+ keyword?: string;
150980
+ id_list?: Array<string>;
150981
+ type?: number;
150982
+ include_inactive?: boolean;
150983
+ page_size?: number;
150984
+ page_token?: string;
150985
+ };
150986
+ }, options?: IRequestOptions$1) => Promise<{
150987
+ code?: number | undefined;
150988
+ msg?: string | undefined;
150989
+ data?: {
150990
+ items?: {
150991
+ id?: string | undefined;
150992
+ name?: {
150993
+ zh_cn?: string | undefined;
150994
+ en_us?: string | undefined;
150995
+ } | undefined;
150996
+ description?: {
150997
+ zh_cn?: string | undefined;
150998
+ en_us?: string | undefined;
150999
+ } | undefined;
151000
+ type?: number | undefined;
151001
+ active_status?: number | undefined;
151002
+ }[] | undefined;
151003
+ has_more?: boolean | undefined;
151004
+ page_token?: string | undefined;
151005
+ } | undefined;
151006
+ }>;
151007
+ };
150083
151008
  /**
150084
151009
  * termination_reason
150085
151010
  */
@@ -157486,6 +158411,7 @@ declare abstract class Client$u extends Client$v {
157486
158411
  process_type?: number;
157487
158412
  job_type_id?: string;
157488
158413
  job_id_list?: Array<string>;
158414
+ employment_job_id?: string;
157489
158415
  };
157490
158416
  params?: {
157491
158417
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -157626,6 +158552,7 @@ declare abstract class Client$u extends Client$v {
157626
158552
  create_time?: string | undefined;
157627
158553
  creator_id?: string | undefined;
157628
158554
  update_time?: string | undefined;
158555
+ employment_job_id?: string | undefined;
157629
158556
  } | undefined;
157630
158557
  } | undefined;
157631
158558
  }>;
@@ -157805,6 +158732,7 @@ declare abstract class Client$u extends Client$v {
157805
158732
  create_time?: string | undefined;
157806
158733
  creator_id?: string | undefined;
157807
158734
  update_time?: string | undefined;
158735
+ employment_job_id?: string | undefined;
157808
158736
  }[] | undefined;
157809
158737
  } | undefined;
157810
158738
  }>;
@@ -157958,6 +158886,7 @@ declare abstract class Client$u extends Client$v {
157958
158886
  create_time?: string | undefined;
157959
158887
  creator_id?: string | undefined;
157960
158888
  update_time?: string | undefined;
158889
+ employment_job_id?: string | undefined;
157961
158890
  }[] | undefined;
157962
158891
  } | undefined;
157963
158892
  }>;
@@ -158000,6 +158929,7 @@ declare abstract class Client$u extends Client$v {
158000
158929
  process_type?: number;
158001
158930
  job_type_id?: string;
158002
158931
  job_id_list?: Array<string>;
158932
+ employment_job_id?: string;
158003
158933
  };
158004
158934
  params?: {
158005
158935
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -161809,6 +162739,24 @@ declare abstract class Client$u extends Client$v {
161809
162739
  msg?: string | undefined;
161810
162740
  data?: {} | undefined;
161811
162741
  }>;
162742
+ /**
162743
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=tag&version=v1 click to debug }
162744
+ *
162745
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=tag&project=hire&resource=talent&version=v1 document }
162746
+ */
162747
+ tag: (payload?: {
162748
+ data: {
162749
+ operation: number;
162750
+ tag_id_list: Array<string>;
162751
+ };
162752
+ path: {
162753
+ talent_id: string;
162754
+ };
162755
+ }, options?: IRequestOptions$1) => Promise<{
162756
+ code?: number | undefined;
162757
+ msg?: string | undefined;
162758
+ data?: {} | undefined;
162759
+ }>;
161812
162760
  };
161813
162761
  /**
161814
162762
  * 导入外部系统信息(灰度租户可见)
@@ -162130,6 +163078,72 @@ declare abstract class Client$u extends Client$v {
162130
163078
  } | undefined;
162131
163079
  }>;
162132
163080
  };
163081
+ /**
163082
+ * talent_tag
163083
+ */
163084
+ talentTag: {
163085
+ listWithIterator: (payload?: {
163086
+ params?: {
163087
+ keyword?: string;
163088
+ id_list?: Array<string>;
163089
+ type?: number;
163090
+ include_inactive?: boolean;
163091
+ page_size?: number;
163092
+ page_token?: string;
163093
+ };
163094
+ }, options?: IRequestOptions$1) => Promise<{
163095
+ [Symbol.asyncIterator](): AsyncGenerator<{
163096
+ items?: {
163097
+ id?: string | undefined;
163098
+ name?: {
163099
+ zh_cn?: string | undefined;
163100
+ en_us?: string | undefined;
163101
+ } | undefined;
163102
+ description?: {
163103
+ zh_cn?: string | undefined;
163104
+ en_us?: string | undefined;
163105
+ } | undefined;
163106
+ type?: number | undefined;
163107
+ active_status?: number | undefined;
163108
+ }[] | undefined;
163109
+ } | null, void, unknown>;
163110
+ }>;
163111
+ /**
163112
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent_tag&apiName=list&version=v1 click to debug }
163113
+ *
163114
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=talent_tag&version=v1 document }
163115
+ */
163116
+ list: (payload?: {
163117
+ params?: {
163118
+ keyword?: string;
163119
+ id_list?: Array<string>;
163120
+ type?: number;
163121
+ include_inactive?: boolean;
163122
+ page_size?: number;
163123
+ page_token?: string;
163124
+ };
163125
+ }, options?: IRequestOptions$1) => Promise<{
163126
+ code?: number | undefined;
163127
+ msg?: string | undefined;
163128
+ data?: {
163129
+ items?: {
163130
+ id?: string | undefined;
163131
+ name?: {
163132
+ zh_cn?: string | undefined;
163133
+ en_us?: string | undefined;
163134
+ } | undefined;
163135
+ description?: {
163136
+ zh_cn?: string | undefined;
163137
+ en_us?: string | undefined;
163138
+ } | undefined;
163139
+ type?: number | undefined;
163140
+ active_status?: number | undefined;
163141
+ }[] | undefined;
163142
+ has_more?: boolean | undefined;
163143
+ page_token?: string | undefined;
163144
+ } | undefined;
163145
+ }>;
163146
+ };
162133
163147
  /**
162134
163148
  * termination_reason
162135
163149
  */
@@ -174669,7 +175683,7 @@ declare abstract class Client$m extends Client$n {
174669
175683
  modify_time?: string | undefined;
174670
175684
  content?: {
174671
175685
  blocks?: {
174672
- type?: "gallery" | "paragraph" | undefined;
175686
+ type?: "paragraph" | "gallery" | undefined;
174673
175687
  paragraph?: {
174674
175688
  style?: {
174675
175689
  list?: {
@@ -174765,7 +175779,7 @@ declare abstract class Client$m extends Client$n {
174765
175779
  modify_time?: string | undefined;
174766
175780
  content?: {
174767
175781
  blocks?: {
174768
- type?: "gallery" | "paragraph" | undefined;
175782
+ type?: "paragraph" | "gallery" | undefined;
174769
175783
  paragraph?: {
174770
175784
  style?: {
174771
175785
  list?: {
@@ -174899,7 +175913,7 @@ declare abstract class Client$m extends Client$n {
174899
175913
  modify_time?: string | undefined;
174900
175914
  content?: {
174901
175915
  blocks?: {
174902
- type?: "gallery" | "paragraph" | undefined;
175916
+ type?: "paragraph" | "gallery" | undefined;
174903
175917
  paragraph?: {
174904
175918
  style?: {
174905
175919
  list?: {
@@ -175425,7 +176439,7 @@ declare abstract class Client$m extends Client$n {
175425
176439
  modify_time?: string | undefined;
175426
176440
  content?: {
175427
176441
  blocks?: {
175428
- type?: "gallery" | "paragraph" | undefined;
176442
+ type?: "paragraph" | "gallery" | undefined;
175429
176443
  paragraph?: {
175430
176444
  style?: {
175431
176445
  list?: {
@@ -175521,7 +176535,7 @@ declare abstract class Client$m extends Client$n {
175521
176535
  modify_time?: string | undefined;
175522
176536
  content?: {
175523
176537
  blocks?: {
175524
- type?: "gallery" | "paragraph" | undefined;
176538
+ type?: "paragraph" | "gallery" | undefined;
175525
176539
  paragraph?: {
175526
176540
  style?: {
175527
176541
  list?: {
@@ -175655,7 +176669,7 @@ declare abstract class Client$m extends Client$n {
175655
176669
  modify_time?: string | undefined;
175656
176670
  content?: {
175657
176671
  blocks?: {
175658
- type?: "gallery" | "paragraph" | undefined;
176672
+ type?: "paragraph" | "gallery" | undefined;
175659
176673
  paragraph?: {
175660
176674
  style?: {
175661
176675
  list?: {
@@ -175946,6 +176960,28 @@ declare abstract class Client$k extends Client$l {
175946
176960
  * 登录态
175947
176961
  */
175948
176962
  session: {
176963
+ /**
176964
+ * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=logout&version=v1 click to debug }
176965
+ *
176966
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=logout&project=passport&resource=session&version=v1 document }
176967
+ */
176968
+ logout: (payload?: {
176969
+ data: {
176970
+ idp_credential_id?: string;
176971
+ logout_type: number;
176972
+ terminal_type?: Array<number>;
176973
+ user_id?: string;
176974
+ logout_reason?: number;
176975
+ sid?: string;
176976
+ };
176977
+ params?: {
176978
+ user_id_type?: "open_id" | "union_id" | "user_id";
176979
+ };
176980
+ }, options?: IRequestOptions$1) => Promise<{
176981
+ code?: number | undefined;
176982
+ msg?: string | undefined;
176983
+ data?: {} | undefined;
176984
+ }>;
175949
176985
  /**
175950
176986
  * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=query&version=v1 click to debug }
175951
176987
  *
@@ -175980,6 +177016,28 @@ declare abstract class Client$k extends Client$l {
175980
177016
  * 登录态
175981
177017
  */
175982
177018
  session: {
177019
+ /**
177020
+ * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=logout&version=v1 click to debug }
177021
+ *
177022
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=logout&project=passport&resource=session&version=v1 document }
177023
+ */
177024
+ logout: (payload?: {
177025
+ data: {
177026
+ idp_credential_id?: string;
177027
+ logout_type: number;
177028
+ terminal_type?: Array<number>;
177029
+ user_id?: string;
177030
+ logout_reason?: number;
177031
+ sid?: string;
177032
+ };
177033
+ params?: {
177034
+ user_id_type?: "open_id" | "union_id" | "user_id";
177035
+ };
177036
+ }, options?: IRequestOptions$1) => Promise<{
177037
+ code?: number | undefined;
177038
+ msg?: string | undefined;
177039
+ data?: {} | undefined;
177040
+ }>;
175983
177041
  /**
175984
177042
  * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=query&version=v1 click to debug }
175985
177043
  *
@@ -179226,7 +180284,7 @@ declare abstract class Client$c extends Client$d {
179226
180284
  }>;
179227
180285
  };
179228
180286
  /**
179229
- * 单元格
180287
+ * 工作表
179230
180288
  */
179231
180289
  spreadsheetSheet: {
179232
180290
  /**
@@ -180065,7 +181123,7 @@ declare abstract class Client$c extends Client$d {
180065
181123
  }>;
180066
181124
  };
180067
181125
  /**
180068
- * 单元格
181126
+ * 工作表
180069
181127
  */
180070
181128
  spreadsheetSheet: {
180071
181129
  /**
@@ -196444,6 +197502,21 @@ interface IHandles extends IOtherEventHandles {
196444
197502
  dotted_line_leader_user_ids?: Array<string>;
196445
197503
  };
196446
197504
  }) => Promise<any> | any;
197505
+ /**
197506
+
197507
+ */
197508
+ "corehr.common_data.meta_data.updated_v1"?: (data: {
197509
+ event_id?: string;
197510
+ token?: string;
197511
+ create_time?: string;
197512
+ event_type?: string;
197513
+ tenant_key?: string;
197514
+ ts?: string;
197515
+ uuid?: string;
197516
+ type?: string;
197517
+ app_id?: string;
197518
+ api_name?: string;
197519
+ }) => Promise<any> | any;
196447
197520
  /**
196448
197521
 
196449
197522
  */
@@ -198387,6 +199460,42 @@ interface IHandles extends IOtherEventHandles {
198387
199460
  app_id?: string;
198388
199461
  talent_id?: string;
198389
199462
  }) => Promise<any> | any;
199463
+ /**
199464
+
199465
+ */
199466
+ "hire.talent.tag_subscription_v1"?: (data: {
199467
+ event_id?: string;
199468
+ token?: string;
199469
+ create_time?: string;
199470
+ event_type?: string;
199471
+ tenant_key?: string;
199472
+ ts?: string;
199473
+ uuid?: string;
199474
+ type?: number;
199475
+ app_id?: string;
199476
+ talent_id?: string;
199477
+ application_id?: string;
199478
+ tag?: {
199479
+ id?: string;
199480
+ name?: {
199481
+ zh_cn?: string;
199482
+ en_us?: string;
199483
+ };
199484
+ description?: {
199485
+ zh_cn?: string;
199486
+ en_us?: string;
199487
+ };
199488
+ type?: number;
199489
+ active_status?: number;
199490
+ };
199491
+ lock_status?: number;
199492
+ application_stage?: {
199493
+ id?: string;
199494
+ zh_name?: string;
199495
+ en_name?: string;
199496
+ type?: number;
199497
+ };
199498
+ }) => Promise<any> | any;
198390
199499
  /**
198391
199500
 
198392
199501
  */