@larksuiteoapi/node-sdk 1.38.0 → 1.40.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.
Files changed (4) hide show
  1. package/es/index.js +1501 -252
  2. package/lib/index.js +1501 -252
  3. package/package.json +1 -1
  4. package/types/index.d.ts +1877 -53
package/types/index.d.ts CHANGED
@@ -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
  }
@@ -4435,6 +4811,127 @@ declare abstract class Client$Y extends Client$Z {
4435
4811
  } | undefined;
4436
4812
  } | undefined;
4437
4813
  }>;
4814
+ listWithIterator: (payload?: {
4815
+ params: {
4816
+ page_size?: number;
4817
+ page_token?: string;
4818
+ user_id_type?: string;
4819
+ lang: string;
4820
+ status?: number;
4821
+ payment_type?: number;
4822
+ owner_type?: number;
4823
+ };
4824
+ }, options?: IRequestOptions$1) => Promise<{
4825
+ [Symbol.asyncIterator](): AsyncGenerator<{
4826
+ app_list?: {
4827
+ app_id: string;
4828
+ creator_id?: string | undefined;
4829
+ status?: number | undefined;
4830
+ scene_type?: number | undefined;
4831
+ payment_type?: number | undefined;
4832
+ create_source?: "developer_console" | "base" | "app_engine" | "bot_builder" | "aily" | "unknown" | undefined;
4833
+ redirect_urls?: string[] | undefined;
4834
+ online_version_id?: string | undefined;
4835
+ unaudit_version_id?: string | undefined;
4836
+ app_name?: string | undefined;
4837
+ avatar_url?: string | undefined;
4838
+ description?: string | undefined;
4839
+ scopes?: {
4840
+ scope: string;
4841
+ description?: string | undefined;
4842
+ level?: number | undefined;
4843
+ }[] | undefined;
4844
+ back_home_url?: string | undefined;
4845
+ i18n?: {
4846
+ i18n_key: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | "id_id" | "ms_my" | "de_de" | "es_es" | "fr_fr" | "it_it" | "pt_br" | "vi_vn" | "ru_ru" | "th_th" | "ko_kr";
4847
+ name?: string | undefined;
4848
+ description?: string | undefined;
4849
+ help_use?: string | undefined;
4850
+ }[] | undefined;
4851
+ primary_language?: "zh_cn" | "en_us" | "ja_jp" | undefined;
4852
+ common_categories?: string[] | undefined;
4853
+ owner?: {
4854
+ type: number;
4855
+ owner_id?: string | undefined;
4856
+ name?: string | undefined;
4857
+ help_desk?: string | undefined;
4858
+ email?: string | undefined;
4859
+ phone?: string | undefined;
4860
+ customer_service_account?: string | undefined;
4861
+ } | undefined;
4862
+ mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
4863
+ pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
4864
+ }[] | undefined;
4865
+ total_count?: number | undefined;
4866
+ } | null, void, unknown>;
4867
+ }>;
4868
+ /**
4869
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=list&version=v6 click to debug }
4870
+ *
4871
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/list document }
4872
+ *
4873
+ * 获取企业安装的应用
4874
+ *
4875
+ * 该接口用于查询企业安装的应用列表,只能被企业自建应用调用。
4876
+ */
4877
+ list: (payload?: {
4878
+ params: {
4879
+ page_size?: number;
4880
+ page_token?: string;
4881
+ user_id_type?: string;
4882
+ lang: string;
4883
+ status?: number;
4884
+ payment_type?: number;
4885
+ owner_type?: number;
4886
+ };
4887
+ }, options?: IRequestOptions$1) => Promise<{
4888
+ code?: number | undefined;
4889
+ msg?: string | undefined;
4890
+ data?: {
4891
+ app_list?: {
4892
+ app_id: string;
4893
+ creator_id?: string | undefined;
4894
+ status?: number | undefined;
4895
+ scene_type?: number | undefined;
4896
+ payment_type?: number | undefined;
4897
+ create_source?: "developer_console" | "base" | "app_engine" | "bot_builder" | "aily" | "unknown" | undefined;
4898
+ redirect_urls?: string[] | undefined;
4899
+ online_version_id?: string | undefined;
4900
+ unaudit_version_id?: string | undefined;
4901
+ app_name?: string | undefined;
4902
+ avatar_url?: string | undefined;
4903
+ description?: string | undefined;
4904
+ scopes?: {
4905
+ scope: string;
4906
+ description?: string | undefined;
4907
+ level?: number | undefined;
4908
+ }[] | undefined;
4909
+ back_home_url?: string | undefined;
4910
+ i18n?: {
4911
+ i18n_key: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | "id_id" | "ms_my" | "de_de" | "es_es" | "fr_fr" | "it_it" | "pt_br" | "vi_vn" | "ru_ru" | "th_th" | "ko_kr";
4912
+ name?: string | undefined;
4913
+ description?: string | undefined;
4914
+ help_use?: string | undefined;
4915
+ }[] | undefined;
4916
+ primary_language?: "zh_cn" | "en_us" | "ja_jp" | undefined;
4917
+ common_categories?: string[] | undefined;
4918
+ owner?: {
4919
+ type: number;
4920
+ owner_id?: string | undefined;
4921
+ name?: string | undefined;
4922
+ help_desk?: string | undefined;
4923
+ email?: string | undefined;
4924
+ phone?: string | undefined;
4925
+ customer_service_account?: string | undefined;
4926
+ } | undefined;
4927
+ mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
4928
+ pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
4929
+ }[] | undefined;
4930
+ page_token?: string | undefined;
4931
+ has_more?: boolean | undefined;
4932
+ total_count?: number | undefined;
4933
+ } | undefined;
4934
+ }>;
4438
4935
  /**
4439
4936
  * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=patch&version=v6 click to debug }
4440
4937
  *
@@ -5637,6 +6134,127 @@ declare abstract class Client$Y extends Client$Z {
5637
6134
  } | undefined;
5638
6135
  } | undefined;
5639
6136
  }>;
6137
+ listWithIterator: (payload?: {
6138
+ params: {
6139
+ page_size?: number;
6140
+ page_token?: string;
6141
+ user_id_type?: string;
6142
+ lang: string;
6143
+ status?: number;
6144
+ payment_type?: number;
6145
+ owner_type?: number;
6146
+ };
6147
+ }, options?: IRequestOptions$1) => Promise<{
6148
+ [Symbol.asyncIterator](): AsyncGenerator<{
6149
+ app_list?: {
6150
+ app_id: string;
6151
+ creator_id?: string | undefined;
6152
+ status?: number | undefined;
6153
+ scene_type?: number | undefined;
6154
+ payment_type?: number | undefined;
6155
+ create_source?: "developer_console" | "base" | "app_engine" | "bot_builder" | "aily" | "unknown" | undefined;
6156
+ redirect_urls?: string[] | undefined;
6157
+ online_version_id?: string | undefined;
6158
+ unaudit_version_id?: string | undefined;
6159
+ app_name?: string | undefined;
6160
+ avatar_url?: string | undefined;
6161
+ description?: string | undefined;
6162
+ scopes?: {
6163
+ scope: string;
6164
+ description?: string | undefined;
6165
+ level?: number | undefined;
6166
+ }[] | undefined;
6167
+ back_home_url?: string | undefined;
6168
+ i18n?: {
6169
+ i18n_key: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | "id_id" | "ms_my" | "de_de" | "es_es" | "fr_fr" | "it_it" | "pt_br" | "vi_vn" | "ru_ru" | "th_th" | "ko_kr";
6170
+ name?: string | undefined;
6171
+ description?: string | undefined;
6172
+ help_use?: string | undefined;
6173
+ }[] | undefined;
6174
+ primary_language?: "zh_cn" | "en_us" | "ja_jp" | undefined;
6175
+ common_categories?: string[] | undefined;
6176
+ owner?: {
6177
+ type: number;
6178
+ owner_id?: string | undefined;
6179
+ name?: string | undefined;
6180
+ help_desk?: string | undefined;
6181
+ email?: string | undefined;
6182
+ phone?: string | undefined;
6183
+ customer_service_account?: string | undefined;
6184
+ } | undefined;
6185
+ mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
6186
+ pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
6187
+ }[] | undefined;
6188
+ total_count?: number | undefined;
6189
+ } | null, void, unknown>;
6190
+ }>;
6191
+ /**
6192
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=list&version=v6 click to debug }
6193
+ *
6194
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/list document }
6195
+ *
6196
+ * 获取企业安装的应用
6197
+ *
6198
+ * 该接口用于查询企业安装的应用列表,只能被企业自建应用调用。
6199
+ */
6200
+ list: (payload?: {
6201
+ params: {
6202
+ page_size?: number;
6203
+ page_token?: string;
6204
+ user_id_type?: string;
6205
+ lang: string;
6206
+ status?: number;
6207
+ payment_type?: number;
6208
+ owner_type?: number;
6209
+ };
6210
+ }, options?: IRequestOptions$1) => Promise<{
6211
+ code?: number | undefined;
6212
+ msg?: string | undefined;
6213
+ data?: {
6214
+ app_list?: {
6215
+ app_id: string;
6216
+ creator_id?: string | undefined;
6217
+ status?: number | undefined;
6218
+ scene_type?: number | undefined;
6219
+ payment_type?: number | undefined;
6220
+ create_source?: "developer_console" | "base" | "app_engine" | "bot_builder" | "aily" | "unknown" | undefined;
6221
+ redirect_urls?: string[] | undefined;
6222
+ online_version_id?: string | undefined;
6223
+ unaudit_version_id?: string | undefined;
6224
+ app_name?: string | undefined;
6225
+ avatar_url?: string | undefined;
6226
+ description?: string | undefined;
6227
+ scopes?: {
6228
+ scope: string;
6229
+ description?: string | undefined;
6230
+ level?: number | undefined;
6231
+ }[] | undefined;
6232
+ back_home_url?: string | undefined;
6233
+ i18n?: {
6234
+ i18n_key: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | "id_id" | "ms_my" | "de_de" | "es_es" | "fr_fr" | "it_it" | "pt_br" | "vi_vn" | "ru_ru" | "th_th" | "ko_kr";
6235
+ name?: string | undefined;
6236
+ description?: string | undefined;
6237
+ help_use?: string | undefined;
6238
+ }[] | undefined;
6239
+ primary_language?: "zh_cn" | "en_us" | "ja_jp" | undefined;
6240
+ common_categories?: string[] | undefined;
6241
+ owner?: {
6242
+ type: number;
6243
+ owner_id?: string | undefined;
6244
+ name?: string | undefined;
6245
+ help_desk?: string | undefined;
6246
+ email?: string | undefined;
6247
+ phone?: string | undefined;
6248
+ customer_service_account?: string | undefined;
6249
+ } | undefined;
6250
+ mobile_default_ability?: "bot" | "gadget" | "web_app" | undefined;
6251
+ pc_default_ability?: "bot" | "gadget" | "web_app" | undefined;
6252
+ }[] | undefined;
6253
+ page_token?: string | undefined;
6254
+ has_more?: boolean | undefined;
6255
+ total_count?: number | undefined;
6256
+ } | undefined;
6257
+ }>;
5640
6258
  /**
5641
6259
  * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=patch&version=v6 click to debug }
5642
6260
  *
@@ -6359,6 +6977,7 @@ declare abstract class Client$X extends Client$Y {
6359
6977
  exclude_statistics?: boolean;
6360
6978
  node_id?: string;
6361
6979
  node_name?: string;
6980
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT";
6362
6981
  }>;
6363
6982
  cc_list?: Array<{
6364
6983
  cc_id: string;
@@ -6397,6 +7016,7 @@ declare abstract class Client$X extends Client$Y {
6397
7016
  form_vary_with_locale?: boolean;
6398
7017
  form_version?: string;
6399
7018
  };
7019
+ resource_region?: string;
6400
7020
  };
6401
7021
  }, options?: IRequestOptions$1) => Promise<{
6402
7022
  code?: number | undefined;
@@ -6452,6 +7072,7 @@ declare abstract class Client$X extends Client$Y {
6452
7072
  exclude_statistics?: boolean | undefined;
6453
7073
  node_id?: string | undefined;
6454
7074
  node_name?: string | undefined;
7075
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT" | undefined;
6455
7076
  }[] | undefined;
6456
7077
  cc_list?: {
6457
7078
  cc_id: string;
@@ -6490,6 +7111,7 @@ declare abstract class Client$X extends Client$Y {
6490
7111
  form_vary_with_locale?: boolean | undefined;
6491
7112
  form_version?: string | undefined;
6492
7113
  } | undefined;
7114
+ resource_region?: string | undefined;
6493
7115
  } | undefined;
6494
7116
  } | undefined;
6495
7117
  }>;
@@ -6567,7 +7189,7 @@ declare abstract class Client$X extends Client$Y {
6567
7189
  }>;
6568
7190
  };
6569
7191
  /**
6570
- * 审批查询
7192
+ * 原生审批实例
6571
7193
  */
6572
7194
  instance: {
6573
7195
  /**
@@ -7892,6 +8514,7 @@ declare abstract class Client$X extends Client$Y {
7892
8514
  exclude_statistics?: boolean;
7893
8515
  node_id?: string;
7894
8516
  node_name?: string;
8517
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT";
7895
8518
  }>;
7896
8519
  cc_list?: Array<{
7897
8520
  cc_id: string;
@@ -7930,6 +8553,7 @@ declare abstract class Client$X extends Client$Y {
7930
8553
  form_vary_with_locale?: boolean;
7931
8554
  form_version?: string;
7932
8555
  };
8556
+ resource_region?: string;
7933
8557
  };
7934
8558
  }, options?: IRequestOptions$1) => Promise<{
7935
8559
  code?: number | undefined;
@@ -7985,6 +8609,7 @@ declare abstract class Client$X extends Client$Y {
7985
8609
  exclude_statistics?: boolean | undefined;
7986
8610
  node_id?: string | undefined;
7987
8611
  node_name?: string | undefined;
8612
+ generate_type?: "EXTERNAL_CONSIGN" | "DEFAULT" | undefined;
7988
8613
  }[] | undefined;
7989
8614
  cc_list?: {
7990
8615
  cc_id: string;
@@ -8023,6 +8648,7 @@ declare abstract class Client$X extends Client$Y {
8023
8648
  form_vary_with_locale?: boolean | undefined;
8024
8649
  form_version?: string | undefined;
8025
8650
  } | undefined;
8651
+ resource_region?: string | undefined;
8026
8652
  } | undefined;
8027
8653
  } | undefined;
8028
8654
  }>;
@@ -8100,7 +8726,7 @@ declare abstract class Client$X extends Client$Y {
8100
8726
  }>;
8101
8727
  };
8102
8728
  /**
8103
- * 审批查询
8729
+ * 原生审批实例
8104
8730
  */
8105
8731
  instance: {
8106
8732
  /**
@@ -11228,8 +11854,8 @@ declare abstract class Client$W extends Client$X {
11228
11854
  external_id?: string;
11229
11855
  idempotent_id?: string;
11230
11856
  };
11231
- check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
11232
- check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
11857
+ check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
11858
+ check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
11233
11859
  check_in_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
11234
11860
  check_out_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
11235
11861
  check_in_shift_time?: string;
@@ -13548,8 +14174,8 @@ declare abstract class Client$W extends Client$X {
13548
14174
  external_id?: string;
13549
14175
  idempotent_id?: string;
13550
14176
  };
13551
- check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
13552
- check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack";
14177
+ check_in_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
14178
+ check_out_result: "NoNeedCheck" | "SystemCheck" | "Normal" | "Early" | "Late" | "Lack" | "Todo";
13553
14179
  check_in_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
13554
14180
  check_out_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
13555
14181
  check_in_shift_time?: string;
@@ -18353,6 +18979,7 @@ declare abstract class Client$R extends Client$S {
18353
18979
  params?: {
18354
18980
  user_id_type?: "user_id" | "union_id" | "open_id";
18355
18981
  client_token?: string;
18982
+ ignore_consistency_check?: boolean;
18356
18983
  };
18357
18984
  path: {
18358
18985
  app_token: string;
@@ -18585,6 +19212,7 @@ declare abstract class Client$R extends Client$S {
18585
19212
  };
18586
19213
  params?: {
18587
19214
  user_id_type?: "user_id" | "union_id" | "open_id";
19215
+ ignore_consistency_check?: boolean;
18588
19216
  };
18589
19217
  path: {
18590
19218
  app_token: string;
@@ -18691,6 +19319,7 @@ declare abstract class Client$R extends Client$S {
18691
19319
  params?: {
18692
19320
  user_id_type?: "user_id" | "union_id" | "open_id";
18693
19321
  client_token?: string;
19322
+ ignore_consistency_check?: boolean;
18694
19323
  };
18695
19324
  path: {
18696
19325
  app_token: string;
@@ -19251,6 +19880,7 @@ declare abstract class Client$R extends Client$S {
19251
19880
  };
19252
19881
  params?: {
19253
19882
  user_id_type?: "user_id" | "union_id" | "open_id";
19883
+ ignore_consistency_check?: boolean;
19254
19884
  };
19255
19885
  path: {
19256
19886
  app_token: string;
@@ -21125,6 +21755,7 @@ declare abstract class Client$R extends Client$S {
21125
21755
  params?: {
21126
21756
  user_id_type?: "user_id" | "union_id" | "open_id";
21127
21757
  client_token?: string;
21758
+ ignore_consistency_check?: boolean;
21128
21759
  };
21129
21760
  path: {
21130
21761
  app_token: string;
@@ -21357,6 +21988,7 @@ declare abstract class Client$R extends Client$S {
21357
21988
  };
21358
21989
  params?: {
21359
21990
  user_id_type?: "user_id" | "union_id" | "open_id";
21991
+ ignore_consistency_check?: boolean;
21360
21992
  };
21361
21993
  path: {
21362
21994
  app_token: string;
@@ -21463,6 +22095,7 @@ declare abstract class Client$R extends Client$S {
21463
22095
  params?: {
21464
22096
  user_id_type?: "user_id" | "union_id" | "open_id";
21465
22097
  client_token?: string;
22098
+ ignore_consistency_check?: boolean;
21466
22099
  };
21467
22100
  path: {
21468
22101
  app_token: string;
@@ -22023,6 +22656,7 @@ declare abstract class Client$R extends Client$S {
22023
22656
  };
22024
22657
  params?: {
22025
22658
  user_id_type?: "user_id" | "union_id" | "open_id";
22659
+ ignore_consistency_check?: boolean;
22026
22660
  };
22027
22661
  path: {
22028
22662
  app_token: string;
@@ -35466,6 +36100,9 @@ declare abstract class Client$I extends Client$J {
35466
36100
  value: string;
35467
36101
  }[] | undefined;
35468
36102
  registered_office_address_info?: {
36103
+ full_address_local_script?: string | undefined;
36104
+ full_address_western_script?: string | undefined;
36105
+ id?: string | undefined;
35469
36106
  country_region_id: string;
35470
36107
  region_id?: string | undefined;
35471
36108
  city_id?: string | undefined;
@@ -35489,8 +36126,20 @@ declare abstract class Client$I extends Client$J {
35489
36126
  local_address_line8?: string | undefined;
35490
36127
  local_address_line9?: string | undefined;
35491
36128
  postal_code?: string | undefined;
36129
+ address_type_list?: {
36130
+ enum_name: string;
36131
+ display?: {
36132
+ lang: string;
36133
+ value: string;
36134
+ }[] | undefined;
36135
+ }[] | undefined;
36136
+ is_primary?: boolean | undefined;
36137
+ is_public?: boolean | undefined;
35492
36138
  } | undefined;
35493
36139
  office_address_info?: {
36140
+ full_address_local_script?: string | undefined;
36141
+ full_address_western_script?: string | undefined;
36142
+ id?: string | undefined;
35494
36143
  country_region_id: string;
35495
36144
  region_id?: string | undefined;
35496
36145
  city_id?: string | undefined;
@@ -35514,6 +36163,15 @@ declare abstract class Client$I extends Client$J {
35514
36163
  local_address_line8?: string | undefined;
35515
36164
  local_address_line9?: string | undefined;
35516
36165
  postal_code?: string | undefined;
36166
+ address_type_list?: {
36167
+ enum_name: string;
36168
+ display?: {
36169
+ lang: string;
36170
+ value: string;
36171
+ }[] | undefined;
36172
+ }[] | undefined;
36173
+ is_primary?: boolean | undefined;
36174
+ is_public?: boolean | undefined;
35517
36175
  } | undefined;
35518
36176
  } | undefined;
35519
36177
  } | undefined;
@@ -35642,6 +36300,9 @@ declare abstract class Client$I extends Client$J {
35642
36300
  value: string;
35643
36301
  }[] | undefined;
35644
36302
  registered_office_address_info?: {
36303
+ full_address_local_script?: string | undefined;
36304
+ full_address_western_script?: string | undefined;
36305
+ id?: string | undefined;
35645
36306
  country_region_id: string;
35646
36307
  region_id?: string | undefined;
35647
36308
  city_id?: string | undefined;
@@ -35665,8 +36326,20 @@ declare abstract class Client$I extends Client$J {
35665
36326
  local_address_line8?: string | undefined;
35666
36327
  local_address_line9?: string | undefined;
35667
36328
  postal_code?: string | undefined;
36329
+ address_type_list?: {
36330
+ enum_name: string;
36331
+ display?: {
36332
+ lang: string;
36333
+ value: string;
36334
+ }[] | undefined;
36335
+ }[] | undefined;
36336
+ is_primary?: boolean | undefined;
36337
+ is_public?: boolean | undefined;
35668
36338
  } | undefined;
35669
36339
  office_address_info?: {
36340
+ full_address_local_script?: string | undefined;
36341
+ full_address_western_script?: string | undefined;
36342
+ id?: string | undefined;
35670
36343
  country_region_id: string;
35671
36344
  region_id?: string | undefined;
35672
36345
  city_id?: string | undefined;
@@ -35690,6 +36363,15 @@ declare abstract class Client$I extends Client$J {
35690
36363
  local_address_line8?: string | undefined;
35691
36364
  local_address_line9?: string | undefined;
35692
36365
  postal_code?: string | undefined;
36366
+ address_type_list?: {
36367
+ enum_name: string;
36368
+ display?: {
36369
+ lang: string;
36370
+ value: string;
36371
+ }[] | undefined;
36372
+ }[] | undefined;
36373
+ is_primary?: boolean | undefined;
36374
+ is_public?: boolean | undefined;
35693
36375
  } | undefined;
35694
36376
  }[] | undefined;
35695
36377
  has_more?: boolean | undefined;
@@ -38037,7 +38719,7 @@ declare abstract class Client$I extends Client$J {
38037
38719
  data?: {
38038
38720
  job_change_id?: string | undefined;
38039
38721
  employment_id?: string | undefined;
38040
- status?: "0" | "1" | "2" | "3" | "4" | undefined;
38722
+ status?: number | undefined;
38041
38723
  transfer_type_unique_identifier?: string | undefined;
38042
38724
  transfer_reason_unique_identifier?: string | undefined;
38043
38725
  process_id?: string | undefined;
@@ -38350,6 +39032,8 @@ declare abstract class Client$I extends Client$J {
38350
39032
  }[] | undefined;
38351
39033
  } | undefined;
38352
39034
  service_company?: string | undefined;
39035
+ employee_subtype_id?: string | undefined;
39036
+ position_id?: string | undefined;
38353
39037
  } | undefined;
38354
39038
  } | undefined;
38355
39039
  }>;
@@ -38438,6 +39122,8 @@ declare abstract class Client$I extends Client$J {
38438
39122
  }[] | undefined;
38439
39123
  } | undefined;
38440
39124
  service_company?: string | undefined;
39125
+ employee_subtype_id?: string | undefined;
39126
+ position_id?: string | undefined;
38441
39127
  }[] | undefined;
38442
39128
  has_more?: boolean | undefined;
38443
39129
  page_token?: string | undefined;
@@ -38490,6 +39176,8 @@ declare abstract class Client$I extends Client$J {
38490
39176
  enum_name: string;
38491
39177
  };
38492
39178
  service_company?: string;
39179
+ employee_subtype_id?: string;
39180
+ position_id?: string;
38493
39181
  };
38494
39182
  params?: {
38495
39183
  client_token?: string;
@@ -38557,6 +39245,8 @@ declare abstract class Client$I extends Client$J {
38557
39245
  }[] | undefined;
38558
39246
  } | undefined;
38559
39247
  service_company?: string | undefined;
39248
+ employee_subtype_id?: string | undefined;
39249
+ position_id?: string | undefined;
38560
39250
  } | undefined;
38561
39251
  } | undefined;
38562
39252
  }>;
@@ -39020,6 +39710,7 @@ declare abstract class Client$I extends Client$J {
39020
39710
  employment_id_list?: Array<string>;
39021
39711
  user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
39022
39712
  time_zone?: string;
39713
+ include_offboard?: boolean;
39023
39714
  };
39024
39715
  }, options?: IRequestOptions$1) => Promise<{
39025
39716
  code?: number | undefined;
@@ -39043,6 +39734,13 @@ declare abstract class Client$I extends Client$J {
39043
39734
  this_cycle_taken: string;
39044
39735
  leave_balance: string;
39045
39736
  leave_duration_unit: number;
39737
+ history_cycle_accrual?: string;
39738
+ balance_in_current_cycle?: string;
39739
+ taken?: string;
39740
+ taken_history_cycle?: string;
39741
+ offboarding_balance?: string;
39742
+ taken_current_date?: string;
39743
+ offboarding_granted?: string;
39046
39744
  }>;
39047
39745
  }[] | undefined;
39048
39746
  has_more?: boolean | undefined;
@@ -39130,6 +39828,11 @@ declare abstract class Client$I extends Client$J {
39130
39828
  leave_cancel_process_id?: string[] | undefined;
39131
39829
  leave_return_process_id?: string[] | undefined;
39132
39830
  wd_paid_type?: number | undefined;
39831
+ leave_correct_process_info?: {
39832
+ process_id: string;
39833
+ process_status: string;
39834
+ process_apply_time: string;
39835
+ }[] | undefined;
39133
39836
  }[] | undefined;
39134
39837
  has_more?: boolean | undefined;
39135
39838
  page_token?: string | undefined;
@@ -39458,8 +40161,6 @@ declare abstract class Client$I extends Client$J {
39458
40161
  region_id?: string | undefined;
39459
40162
  city_id?: string | undefined;
39460
40163
  distinct_id?: string | undefined;
39461
- city_id_v2?: string | undefined;
39462
- district_id_v2?: string | undefined;
39463
40164
  address_line1?: string | undefined;
39464
40165
  address_line2?: string | undefined;
39465
40166
  address_line3?: string | undefined;
@@ -39592,8 +40293,6 @@ declare abstract class Client$I extends Client$J {
39592
40293
  region_id?: string | undefined;
39593
40294
  city_id?: string | undefined;
39594
40295
  distinct_id?: string | undefined;
39595
- city_id_v2?: string | undefined;
39596
- district_id_v2?: string | undefined;
39597
40296
  address_line1?: string | undefined;
39598
40297
  address_line2?: string | undefined;
39599
40298
  address_line3?: string | undefined;
@@ -39709,8 +40408,6 @@ declare abstract class Client$I extends Client$J {
39709
40408
  region_id?: string | undefined;
39710
40409
  city_id?: string | undefined;
39711
40410
  distinct_id?: string | undefined;
39712
- city_id_v2?: string | undefined;
39713
- district_id_v2?: string | undefined;
39714
40411
  address_line1?: string | undefined;
39715
40412
  address_line2?: string | undefined;
39716
40413
  address_line3?: string | undefined;
@@ -44715,6 +45412,9 @@ declare abstract class Client$I extends Client$J {
44715
45412
  value: string;
44716
45413
  }[] | undefined;
44717
45414
  registered_office_address_info?: {
45415
+ full_address_local_script?: string | undefined;
45416
+ full_address_western_script?: string | undefined;
45417
+ id?: string | undefined;
44718
45418
  country_region_id: string;
44719
45419
  region_id?: string | undefined;
44720
45420
  city_id?: string | undefined;
@@ -44738,8 +45438,20 @@ declare abstract class Client$I extends Client$J {
44738
45438
  local_address_line8?: string | undefined;
44739
45439
  local_address_line9?: string | undefined;
44740
45440
  postal_code?: string | undefined;
45441
+ address_type_list?: {
45442
+ enum_name: string;
45443
+ display?: {
45444
+ lang: string;
45445
+ value: string;
45446
+ }[] | undefined;
45447
+ }[] | undefined;
45448
+ is_primary?: boolean | undefined;
45449
+ is_public?: boolean | undefined;
44741
45450
  } | undefined;
44742
45451
  office_address_info?: {
45452
+ full_address_local_script?: string | undefined;
45453
+ full_address_western_script?: string | undefined;
45454
+ id?: string | undefined;
44743
45455
  country_region_id: string;
44744
45456
  region_id?: string | undefined;
44745
45457
  city_id?: string | undefined;
@@ -44763,6 +45475,15 @@ declare abstract class Client$I extends Client$J {
44763
45475
  local_address_line8?: string | undefined;
44764
45476
  local_address_line9?: string | undefined;
44765
45477
  postal_code?: string | undefined;
45478
+ address_type_list?: {
45479
+ enum_name: string;
45480
+ display?: {
45481
+ lang: string;
45482
+ value: string;
45483
+ }[] | undefined;
45484
+ }[] | undefined;
45485
+ is_primary?: boolean | undefined;
45486
+ is_public?: boolean | undefined;
44766
45487
  } | undefined;
44767
45488
  } | undefined;
44768
45489
  } | undefined;
@@ -44891,6 +45612,9 @@ declare abstract class Client$I extends Client$J {
44891
45612
  value: string;
44892
45613
  }[] | undefined;
44893
45614
  registered_office_address_info?: {
45615
+ full_address_local_script?: string | undefined;
45616
+ full_address_western_script?: string | undefined;
45617
+ id?: string | undefined;
44894
45618
  country_region_id: string;
44895
45619
  region_id?: string | undefined;
44896
45620
  city_id?: string | undefined;
@@ -44914,8 +45638,20 @@ declare abstract class Client$I extends Client$J {
44914
45638
  local_address_line8?: string | undefined;
44915
45639
  local_address_line9?: string | undefined;
44916
45640
  postal_code?: string | undefined;
45641
+ address_type_list?: {
45642
+ enum_name: string;
45643
+ display?: {
45644
+ lang: string;
45645
+ value: string;
45646
+ }[] | undefined;
45647
+ }[] | undefined;
45648
+ is_primary?: boolean | undefined;
45649
+ is_public?: boolean | undefined;
44917
45650
  } | undefined;
44918
45651
  office_address_info?: {
45652
+ full_address_local_script?: string | undefined;
45653
+ full_address_western_script?: string | undefined;
45654
+ id?: string | undefined;
44919
45655
  country_region_id: string;
44920
45656
  region_id?: string | undefined;
44921
45657
  city_id?: string | undefined;
@@ -44939,6 +45675,15 @@ declare abstract class Client$I extends Client$J {
44939
45675
  local_address_line8?: string | undefined;
44940
45676
  local_address_line9?: string | undefined;
44941
45677
  postal_code?: string | undefined;
45678
+ address_type_list?: {
45679
+ enum_name: string;
45680
+ display?: {
45681
+ lang: string;
45682
+ value: string;
45683
+ }[] | undefined;
45684
+ }[] | undefined;
45685
+ is_primary?: boolean | undefined;
45686
+ is_public?: boolean | undefined;
44942
45687
  } | undefined;
44943
45688
  }[] | undefined;
44944
45689
  has_more?: boolean | undefined;
@@ -47286,7 +48031,7 @@ declare abstract class Client$I extends Client$J {
47286
48031
  data?: {
47287
48032
  job_change_id?: string | undefined;
47288
48033
  employment_id?: string | undefined;
47289
- status?: "0" | "1" | "2" | "3" | "4" | undefined;
48034
+ status?: number | undefined;
47290
48035
  transfer_type_unique_identifier?: string | undefined;
47291
48036
  transfer_reason_unique_identifier?: string | undefined;
47292
48037
  process_id?: string | undefined;
@@ -47599,6 +48344,8 @@ declare abstract class Client$I extends Client$J {
47599
48344
  }[] | undefined;
47600
48345
  } | undefined;
47601
48346
  service_company?: string | undefined;
48347
+ employee_subtype_id?: string | undefined;
48348
+ position_id?: string | undefined;
47602
48349
  } | undefined;
47603
48350
  } | undefined;
47604
48351
  }>;
@@ -47687,6 +48434,8 @@ declare abstract class Client$I extends Client$J {
47687
48434
  }[] | undefined;
47688
48435
  } | undefined;
47689
48436
  service_company?: string | undefined;
48437
+ employee_subtype_id?: string | undefined;
48438
+ position_id?: string | undefined;
47690
48439
  }[] | undefined;
47691
48440
  has_more?: boolean | undefined;
47692
48441
  page_token?: string | undefined;
@@ -47739,6 +48488,8 @@ declare abstract class Client$I extends Client$J {
47739
48488
  enum_name: string;
47740
48489
  };
47741
48490
  service_company?: string;
48491
+ employee_subtype_id?: string;
48492
+ position_id?: string;
47742
48493
  };
47743
48494
  params?: {
47744
48495
  client_token?: string;
@@ -47806,6 +48557,8 @@ declare abstract class Client$I extends Client$J {
47806
48557
  }[] | undefined;
47807
48558
  } | undefined;
47808
48559
  service_company?: string | undefined;
48560
+ employee_subtype_id?: string | undefined;
48561
+ position_id?: string | undefined;
47809
48562
  } | undefined;
47810
48563
  } | undefined;
47811
48564
  }>;
@@ -48269,6 +49022,7 @@ declare abstract class Client$I extends Client$J {
48269
49022
  employment_id_list?: Array<string>;
48270
49023
  user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
48271
49024
  time_zone?: string;
49025
+ include_offboard?: boolean;
48272
49026
  };
48273
49027
  }, options?: IRequestOptions$1) => Promise<{
48274
49028
  code?: number | undefined;
@@ -48292,6 +49046,13 @@ declare abstract class Client$I extends Client$J {
48292
49046
  this_cycle_taken: string;
48293
49047
  leave_balance: string;
48294
49048
  leave_duration_unit: number;
49049
+ history_cycle_accrual?: string;
49050
+ balance_in_current_cycle?: string;
49051
+ taken?: string;
49052
+ taken_history_cycle?: string;
49053
+ offboarding_balance?: string;
49054
+ taken_current_date?: string;
49055
+ offboarding_granted?: string;
48295
49056
  }>;
48296
49057
  }[] | undefined;
48297
49058
  has_more?: boolean | undefined;
@@ -48379,6 +49140,11 @@ declare abstract class Client$I extends Client$J {
48379
49140
  leave_cancel_process_id?: string[] | undefined;
48380
49141
  leave_return_process_id?: string[] | undefined;
48381
49142
  wd_paid_type?: number | undefined;
49143
+ leave_correct_process_info?: {
49144
+ process_id: string;
49145
+ process_status: string;
49146
+ process_apply_time: string;
49147
+ }[] | undefined;
48382
49148
  }[] | undefined;
48383
49149
  has_more?: boolean | undefined;
48384
49150
  page_token?: string | undefined;
@@ -48707,8 +49473,6 @@ declare abstract class Client$I extends Client$J {
48707
49473
  region_id?: string | undefined;
48708
49474
  city_id?: string | undefined;
48709
49475
  distinct_id?: string | undefined;
48710
- city_id_v2?: string | undefined;
48711
- district_id_v2?: string | undefined;
48712
49476
  address_line1?: string | undefined;
48713
49477
  address_line2?: string | undefined;
48714
49478
  address_line3?: string | undefined;
@@ -48841,8 +49605,6 @@ declare abstract class Client$I extends Client$J {
48841
49605
  region_id?: string | undefined;
48842
49606
  city_id?: string | undefined;
48843
49607
  distinct_id?: string | undefined;
48844
- city_id_v2?: string | undefined;
48845
- district_id_v2?: string | undefined;
48846
49608
  address_line1?: string | undefined;
48847
49609
  address_line2?: string | undefined;
48848
49610
  address_line3?: string | undefined;
@@ -48958,8 +49720,6 @@ declare abstract class Client$I extends Client$J {
48958
49720
  region_id?: string | undefined;
48959
49721
  city_id?: string | undefined;
48960
49722
  distinct_id?: string | undefined;
48961
- city_id_v2?: string | undefined;
48962
- district_id_v2?: string | undefined;
48963
49723
  address_line1?: string | undefined;
48964
49724
  address_line2?: string | undefined;
48965
49725
  address_line3?: string | undefined;
@@ -53137,6 +53897,54 @@ declare abstract class Client$I extends Client$J {
53137
53897
  };
53138
53898
  };
53139
53899
  v2: {
53900
+ /**
53901
+ * approver
53902
+ */
53903
+ approver: {
53904
+ listWithIterator: (payload?: {
53905
+ params: {
53906
+ page_size: number;
53907
+ page_token?: string;
53908
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
53909
+ user_id: string;
53910
+ approver_status?: number;
53911
+ };
53912
+ }, options?: IRequestOptions$1) => Promise<{
53913
+ [Symbol.asyncIterator](): AsyncGenerator<{
53914
+ approver_list?: {
53915
+ approver_id?: string | undefined;
53916
+ process_id?: string | undefined;
53917
+ approver_status?: number | undefined;
53918
+ }[] | undefined;
53919
+ } | null, void, unknown>;
53920
+ }>;
53921
+ /**
53922
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=approver&apiName=list&version=v2 click to debug }
53923
+ *
53924
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=approver&version=v2 document }
53925
+ */
53926
+ list: (payload?: {
53927
+ params: {
53928
+ page_size: number;
53929
+ page_token?: string;
53930
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
53931
+ user_id: string;
53932
+ approver_status?: number;
53933
+ };
53934
+ }, options?: IRequestOptions$1) => Promise<{
53935
+ code?: number | undefined;
53936
+ msg?: string | undefined;
53937
+ data?: {
53938
+ page_token?: string | undefined;
53939
+ has_more?: boolean | undefined;
53940
+ approver_list?: {
53941
+ approver_id?: string | undefined;
53942
+ process_id?: string | undefined;
53943
+ approver_status?: number | undefined;
53944
+ }[] | undefined;
53945
+ } | undefined;
53946
+ }>;
53947
+ };
53140
53948
  /**
53141
53949
  * basic_info.bank
53142
53950
  */
@@ -53216,6 +54024,8 @@ declare abstract class Client$I extends Client$J {
53216
54024
  bank_id_list?: Array<string>;
53217
54025
  bank_branch_id_list?: Array<string>;
53218
54026
  bank_branch_name_list?: Array<string>;
54027
+ code_list?: Array<string>;
54028
+ name_list?: Array<string>;
53219
54029
  status_list?: Array<number>;
53220
54030
  update_start_time?: string;
53221
54031
  update_end_time?: string;
@@ -53228,6 +54038,10 @@ declare abstract class Client$I extends Client$J {
53228
54038
  [Symbol.asyncIterator](): AsyncGenerator<{
53229
54039
  items?: {
53230
54040
  bank_branch_id?: string | undefined;
54041
+ name?: {
54042
+ lang: string;
54043
+ value: string;
54044
+ }[] | undefined;
53231
54045
  bank_branch_name?: {
53232
54046
  lang: string;
53233
54047
  value: string;
@@ -53254,6 +54068,8 @@ declare abstract class Client$I extends Client$J {
53254
54068
  bank_id_list?: Array<string>;
53255
54069
  bank_branch_id_list?: Array<string>;
53256
54070
  bank_branch_name_list?: Array<string>;
54071
+ code_list?: Array<string>;
54072
+ name_list?: Array<string>;
53257
54073
  status_list?: Array<number>;
53258
54074
  update_start_time?: string;
53259
54075
  update_end_time?: string;
@@ -53268,6 +54084,10 @@ declare abstract class Client$I extends Client$J {
53268
54084
  data?: {
53269
54085
  items?: {
53270
54086
  bank_branch_id?: string | undefined;
54087
+ name?: {
54088
+ lang: string;
54089
+ value: string;
54090
+ }[] | undefined;
53271
54091
  bank_branch_name?: {
53272
54092
  lang: string;
53273
54093
  value: string;
@@ -53878,6 +54698,23 @@ declare abstract class Client$I extends Client$J {
53878
54698
  * company
53879
54699
  */
53880
54700
  company: {
54701
+ /**
54702
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=company&apiName=active&version=v2 click to debug }
54703
+ *
54704
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=active&project=corehr&resource=company&version=v2 document }
54705
+ */
54706
+ active: (payload?: {
54707
+ data: {
54708
+ company_id: string;
54709
+ effective_time: string;
54710
+ active: boolean;
54711
+ operation_reason: string;
54712
+ };
54713
+ }, options?: IRequestOptions$1) => Promise<{
54714
+ code?: number | undefined;
54715
+ msg?: string | undefined;
54716
+ data?: {} | undefined;
54717
+ }>;
53881
54718
  /**
53882
54719
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=company&apiName=batch_get&version=v2 click to debug }
53883
54720
  *
@@ -54103,6 +54940,41 @@ declare abstract class Client$I extends Client$J {
54103
54940
  }[] | undefined;
54104
54941
  } | undefined;
54105
54942
  }>;
54943
+ queryRecentChangeWithIterator: (payload?: {
54944
+ params: {
54945
+ page_size: number;
54946
+ page_token?: string;
54947
+ start_date: string;
54948
+ end_date: string;
54949
+ };
54950
+ }, options?: IRequestOptions$1) => Promise<{
54951
+ [Symbol.asyncIterator](): AsyncGenerator<{
54952
+ company_ids?: string[] | undefined;
54953
+ deleted_company_ids?: string[] | undefined;
54954
+ } | null, void, unknown>;
54955
+ }>;
54956
+ /**
54957
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=company&apiName=query_recent_change&version=v2 click to debug }
54958
+ *
54959
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_recent_change&project=corehr&resource=company&version=v2 document }
54960
+ */
54961
+ queryRecentChange: (payload?: {
54962
+ params: {
54963
+ page_size: number;
54964
+ page_token?: string;
54965
+ start_date: string;
54966
+ end_date: string;
54967
+ };
54968
+ }, options?: IRequestOptions$1) => Promise<{
54969
+ code?: number | undefined;
54970
+ msg?: string | undefined;
54971
+ data?: {
54972
+ company_ids?: string[] | undefined;
54973
+ page_token?: string | undefined;
54974
+ has_more?: boolean | undefined;
54975
+ deleted_company_ids?: string[] | undefined;
54976
+ } | undefined;
54977
+ }>;
54106
54978
  };
54107
54979
  /**
54108
54980
  * contract
@@ -56123,6 +56995,7 @@ declare abstract class Client$I extends Client$J {
56123
56995
  contract_end_date?: string | undefined;
56124
56996
  contract_expected_end_date?: string | undefined;
56125
56997
  pay_group_id?: string | undefined;
56998
+ assignment_pay_group_id?: string | undefined;
56126
56999
  international_assignment?: boolean | undefined;
56127
57000
  work_calendar_id?: string | undefined;
56128
57001
  department?: {
@@ -56202,7 +57075,7 @@ declare abstract class Client$I extends Client$J {
56202
57075
  }[] | undefined;
56203
57076
  } | undefined;
56204
57077
  talent_pool_id_list?: string[] | undefined;
56205
- custom_org_str?: string | undefined;
57078
+ custom_org?: string | undefined;
56206
57079
  }[] | undefined;
56207
57080
  } | undefined;
56208
57081
  }>;
@@ -56282,6 +57155,7 @@ declare abstract class Client$I extends Client$J {
56282
57155
  field_name: string;
56283
57156
  value?: string;
56284
57157
  }>;
57158
+ additional_nationalities?: Array<string>;
56285
57159
  };
56286
57160
  emergency_contacts?: Array<{
56287
57161
  legal_name?: string;
@@ -56469,6 +57343,10 @@ declare abstract class Client$I extends Client$J {
56469
57343
  }>;
56470
57344
  }>;
56471
57345
  }>;
57346
+ citizenship_statuses?: Array<{
57347
+ country_region?: string;
57348
+ citizenship_status?: string;
57349
+ }>;
56472
57350
  };
56473
57351
  employment_info?: {
56474
57352
  basic_info?: {
@@ -56653,6 +57531,8 @@ declare abstract class Client$I extends Client$J {
56653
57531
  email_address_list?: Array<string>;
56654
57532
  user_name?: string;
56655
57533
  department_id_list_include_sub?: Array<string>;
57534
+ additional_national_id_number_list?: Array<string>;
57535
+ citizenship_status_list?: Array<string>;
56656
57536
  cost_center_id_list?: Array<string>;
56657
57537
  };
56658
57538
  params: {
@@ -57740,6 +58620,7 @@ declare abstract class Client$I extends Client$J {
57740
58620
  contract_end_date?: string | undefined;
57741
58621
  contract_expected_end_date?: string | undefined;
57742
58622
  pay_group_id?: string | undefined;
58623
+ assignment_pay_group_id?: string | undefined;
57743
58624
  international_assignment?: boolean | undefined;
57744
58625
  work_calendar_id?: string | undefined;
57745
58626
  department?: {
@@ -57819,7 +58700,7 @@ declare abstract class Client$I extends Client$J {
57819
58700
  }[] | undefined;
57820
58701
  } | undefined;
57821
58702
  talent_pool_id_list?: string[] | undefined;
57822
- custom_org_str?: string | undefined;
58703
+ custom_org?: string | undefined;
57823
58704
  }[] | undefined;
57824
58705
  } | null, void, unknown>;
57825
58706
  }>;
@@ -57855,6 +58736,8 @@ declare abstract class Client$I extends Client$J {
57855
58736
  email_address_list?: Array<string>;
57856
58737
  user_name?: string;
57857
58738
  department_id_list_include_sub?: Array<string>;
58739
+ additional_national_id_number_list?: Array<string>;
58740
+ citizenship_status_list?: Array<string>;
57858
58741
  cost_center_id_list?: Array<string>;
57859
58742
  };
57860
58743
  params: {
@@ -58944,6 +59827,7 @@ declare abstract class Client$I extends Client$J {
58944
59827
  contract_end_date?: string | undefined;
58945
59828
  contract_expected_end_date?: string | undefined;
58946
59829
  pay_group_id?: string | undefined;
59830
+ assignment_pay_group_id?: string | undefined;
58947
59831
  international_assignment?: boolean | undefined;
58948
59832
  work_calendar_id?: string | undefined;
58949
59833
  department?: {
@@ -59023,13 +59907,321 @@ declare abstract class Client$I extends Client$J {
59023
59907
  }[] | undefined;
59024
59908
  } | undefined;
59025
59909
  talent_pool_id_list?: string[] | undefined;
59026
- custom_org_str?: string | undefined;
59910
+ custom_org?: string | undefined;
59027
59911
  }[] | undefined;
59028
59912
  page_token?: string | undefined;
59029
59913
  has_more?: boolean | undefined;
59030
59914
  } | undefined;
59031
59915
  }>;
59032
59916
  };
59917
+ /**
59918
+ * employees.additional_job
59919
+ */
59920
+ employeesAdditionalJob: {
59921
+ batchWithIterator: (payload?: {
59922
+ data?: {
59923
+ employment_ids?: Array<string>;
59924
+ additional_job_ids?: Array<string>;
59925
+ start_date?: {
59926
+ start: string;
59927
+ end: string;
59928
+ };
59929
+ end_date?: {
59930
+ start: string;
59931
+ end: string;
59932
+ };
59933
+ data_date?: string;
59934
+ is_effective?: boolean;
59935
+ };
59936
+ params?: {
59937
+ page_size?: number;
59938
+ page_token?: string;
59939
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
59940
+ department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
59941
+ };
59942
+ }, options?: IRequestOptions$1) => Promise<{
59943
+ [Symbol.asyncIterator](): AsyncGenerator<{
59944
+ items?: {
59945
+ id?: string | undefined;
59946
+ employee_type_id: string;
59947
+ working_hours_type_id?: string | undefined;
59948
+ work_location_id?: string | undefined;
59949
+ department_id: string;
59950
+ job_id?: string | undefined;
59951
+ job_level_id?: string | undefined;
59952
+ job_family_id?: string | undefined;
59953
+ employment_id: string;
59954
+ start_date: string;
59955
+ end_date?: string | undefined;
59956
+ direct_manager_id?: string | undefined;
59957
+ dotted_line_manager_id?: string | undefined;
59958
+ work_shift?: {
59959
+ enum_name: string;
59960
+ display?: {
59961
+ lang: string;
59962
+ value: string;
59963
+ }[] | undefined;
59964
+ } | undefined;
59965
+ compensation_type?: {
59966
+ enum_name: string;
59967
+ display?: {
59968
+ lang: string;
59969
+ value: string;
59970
+ }[] | undefined;
59971
+ } | undefined;
59972
+ service_company?: string | undefined;
59973
+ weekly_working_hours?: string | undefined;
59974
+ work_calendar_id?: string | undefined;
59975
+ position_id?: string | undefined;
59976
+ employee_subtype_id?: string | undefined;
59977
+ }[] | undefined;
59978
+ } | null, void, unknown>;
59979
+ }>;
59980
+ /**
59981
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.additional_job&apiName=batch&version=v2 click to debug }
59982
+ *
59983
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch&project=corehr&resource=employees.additional_job&version=v2 document }
59984
+ *
59985
+ * 批量查询兼职信息
59986
+ */
59987
+ batch: (payload?: {
59988
+ data?: {
59989
+ employment_ids?: Array<string>;
59990
+ additional_job_ids?: Array<string>;
59991
+ start_date?: {
59992
+ start: string;
59993
+ end: string;
59994
+ };
59995
+ end_date?: {
59996
+ start: string;
59997
+ end: string;
59998
+ };
59999
+ data_date?: string;
60000
+ is_effective?: boolean;
60001
+ };
60002
+ params?: {
60003
+ page_size?: number;
60004
+ page_token?: string;
60005
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
60006
+ department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
60007
+ };
60008
+ }, options?: IRequestOptions$1) => Promise<{
60009
+ code?: number | undefined;
60010
+ msg?: string | undefined;
60011
+ data?: {
60012
+ items?: {
60013
+ id?: string | undefined;
60014
+ employee_type_id: string;
60015
+ working_hours_type_id?: string | undefined;
60016
+ work_location_id?: string | undefined;
60017
+ department_id: string;
60018
+ job_id?: string | undefined;
60019
+ job_level_id?: string | undefined;
60020
+ job_family_id?: string | undefined;
60021
+ employment_id: string;
60022
+ start_date: string;
60023
+ end_date?: string | undefined;
60024
+ direct_manager_id?: string | undefined;
60025
+ dotted_line_manager_id?: string | undefined;
60026
+ work_shift?: {
60027
+ enum_name: string;
60028
+ display?: {
60029
+ lang: string;
60030
+ value: string;
60031
+ }[] | undefined;
60032
+ } | undefined;
60033
+ compensation_type?: {
60034
+ enum_name: string;
60035
+ display?: {
60036
+ lang: string;
60037
+ value: string;
60038
+ }[] | undefined;
60039
+ } | undefined;
60040
+ service_company?: string | undefined;
60041
+ weekly_working_hours?: string | undefined;
60042
+ work_calendar_id?: string | undefined;
60043
+ position_id?: string | undefined;
60044
+ employee_subtype_id?: string | undefined;
60045
+ }[] | undefined;
60046
+ page_token?: string | undefined;
60047
+ has_more?: boolean | undefined;
60048
+ } | undefined;
60049
+ }>;
60050
+ /**
60051
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.additional_job&apiName=create&version=v2 click to debug }
60052
+ *
60053
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=employees.additional_job&version=v2 document }
60054
+ *
60055
+ * 创建兼职
60056
+ */
60057
+ create: (payload?: {
60058
+ data: {
60059
+ employee_type_id: string;
60060
+ working_hours_type_id?: string;
60061
+ work_location_id?: string;
60062
+ department_id: string;
60063
+ job_id?: string;
60064
+ job_level_id?: string;
60065
+ job_family_id?: string;
60066
+ employment_id: string;
60067
+ start_date: string;
60068
+ end_date?: string;
60069
+ direct_manager_id?: string;
60070
+ dotted_line_manager_id?: string;
60071
+ work_shift?: {
60072
+ enum_name: string;
60073
+ };
60074
+ compensation_type?: {
60075
+ enum_name: string;
60076
+ };
60077
+ service_company?: string;
60078
+ weekly_working_hours?: string;
60079
+ work_calendar_id?: string;
60080
+ position_id?: string;
60081
+ employee_subtype_id?: string;
60082
+ };
60083
+ params?: {
60084
+ client_token?: string;
60085
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
60086
+ department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
60087
+ };
60088
+ }, options?: IRequestOptions$1) => Promise<{
60089
+ code?: number | undefined;
60090
+ msg?: string | undefined;
60091
+ data?: {
60092
+ additional_job?: {
60093
+ id?: string | undefined;
60094
+ employee_type_id: string;
60095
+ working_hours_type_id?: string | undefined;
60096
+ work_location_id?: string | undefined;
60097
+ department_id: string;
60098
+ job_id?: string | undefined;
60099
+ job_level_id?: string | undefined;
60100
+ job_family_id?: string | undefined;
60101
+ employment_id: string;
60102
+ start_date: string;
60103
+ end_date?: string | undefined;
60104
+ direct_manager_id?: string | undefined;
60105
+ dotted_line_manager_id?: string | undefined;
60106
+ work_shift?: {
60107
+ enum_name: string;
60108
+ display?: {
60109
+ lang: string;
60110
+ value: string;
60111
+ }[] | undefined;
60112
+ } | undefined;
60113
+ compensation_type?: {
60114
+ enum_name: string;
60115
+ display?: {
60116
+ lang: string;
60117
+ value: string;
60118
+ }[] | undefined;
60119
+ } | undefined;
60120
+ service_company?: string | undefined;
60121
+ weekly_working_hours?: string | undefined;
60122
+ work_calendar_id?: string | undefined;
60123
+ position_id?: string | undefined;
60124
+ employee_subtype_id?: string | undefined;
60125
+ } | undefined;
60126
+ } | undefined;
60127
+ }>;
60128
+ /**
60129
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.additional_job&apiName=delete&version=v2 click to debug }
60130
+ *
60131
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=employees.additional_job&version=v2 document }
60132
+ *
60133
+ * 删除兼职
60134
+ */
60135
+ delete: (payload?: {
60136
+ path: {
60137
+ additional_job_id: string;
60138
+ };
60139
+ }, options?: IRequestOptions$1) => Promise<{
60140
+ code?: number | undefined;
60141
+ msg?: string | undefined;
60142
+ data?: {} | undefined;
60143
+ }>;
60144
+ /**
60145
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=employees.additional_job&apiName=patch&version=v2 click to debug }
60146
+ *
60147
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=employees.additional_job&version=v2 document }
60148
+ *
60149
+ * 更新兼职
60150
+ */
60151
+ patch: (payload?: {
60152
+ data?: {
60153
+ employee_type_id?: string;
60154
+ working_hours_type_id?: string;
60155
+ work_location_id?: string;
60156
+ department_id?: string;
60157
+ job_id?: string;
60158
+ job_level_id?: string;
60159
+ job_family_id?: string;
60160
+ start_date?: string;
60161
+ end_date?: string;
60162
+ direct_manager_id?: string;
60163
+ dotted_line_manager_id?: string;
60164
+ work_shift?: {
60165
+ enum_name: string;
60166
+ };
60167
+ compensation_type?: {
60168
+ enum_name: string;
60169
+ };
60170
+ service_company?: string;
60171
+ weekly_working_hours?: string;
60172
+ work_calendar_id?: string;
60173
+ position_id?: string;
60174
+ employee_subtype_id?: string;
60175
+ };
60176
+ params?: {
60177
+ client_token?: string;
60178
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
60179
+ department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
60180
+ };
60181
+ path: {
60182
+ additional_job_id: string;
60183
+ };
60184
+ }, options?: IRequestOptions$1) => Promise<{
60185
+ code?: number | undefined;
60186
+ msg?: string | undefined;
60187
+ data?: {
60188
+ additional_job?: {
60189
+ id?: string | undefined;
60190
+ employee_type_id: string;
60191
+ working_hours_type_id?: string | undefined;
60192
+ work_location_id?: string | undefined;
60193
+ department_id: string;
60194
+ job_id?: string | undefined;
60195
+ job_level_id?: string | undefined;
60196
+ job_family_id?: string | undefined;
60197
+ employment_id: string;
60198
+ start_date: string;
60199
+ end_date?: string | undefined;
60200
+ direct_manager_id?: string | undefined;
60201
+ dotted_line_manager_id?: string | undefined;
60202
+ work_shift?: {
60203
+ enum_name: string;
60204
+ display?: {
60205
+ lang: string;
60206
+ value: string;
60207
+ }[] | undefined;
60208
+ } | undefined;
60209
+ compensation_type?: {
60210
+ enum_name: string;
60211
+ display?: {
60212
+ lang: string;
60213
+ value: string;
60214
+ }[] | undefined;
60215
+ } | undefined;
60216
+ service_company?: string | undefined;
60217
+ weekly_working_hours?: string | undefined;
60218
+ work_calendar_id?: string | undefined;
60219
+ position_id?: string | undefined;
60220
+ employee_subtype_id?: string | undefined;
60221
+ } | undefined;
60222
+ } | undefined;
60223
+ }>;
60224
+ };
59033
60225
  /**
59034
60226
  * employees.bp
59035
60227
  */
@@ -59080,6 +60272,8 @@ declare abstract class Client$I extends Client$J {
59080
60272
  effective_date_start?: string;
59081
60273
  effective_date_end?: string;
59082
60274
  data_date?: string;
60275
+ primary_job_data?: boolean;
60276
+ assignment_start_reasons?: Array<string>;
59083
60277
  };
59084
60278
  params?: {
59085
60279
  user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
@@ -59165,7 +60359,7 @@ declare abstract class Client$I extends Client$J {
59165
60359
  value: string;
59166
60360
  }[] | undefined;
59167
60361
  created_at?: string | undefined;
59168
- weekly_working_hours_v2?: string | undefined;
60362
+ weekly_working_hours_v2?: number | undefined;
59169
60363
  employee_subtype_id?: string | undefined;
59170
60364
  }[] | undefined;
59171
60365
  }[] | undefined;
@@ -59184,6 +60378,8 @@ declare abstract class Client$I extends Client$J {
59184
60378
  effective_date_end?: string;
59185
60379
  department_id?: string;
59186
60380
  employment_ids?: Array<string>;
60381
+ primary_job_data?: boolean;
60382
+ assignment_start_reasons?: Array<string>;
59187
60383
  };
59188
60384
  params: {
59189
60385
  page_size: number;
@@ -59270,7 +60466,7 @@ declare abstract class Client$I extends Client$J {
59270
60466
  type?: number | undefined;
59271
60467
  value: string;
59272
60468
  }[] | undefined;
59273
- weekly_working_hours_v2?: string | undefined;
60469
+ weekly_working_hours_v2?: number | undefined;
59274
60470
  employee_subtype_id?: string | undefined;
59275
60471
  }[] | undefined;
59276
60472
  }[] | undefined;
@@ -59898,6 +61094,25 @@ declare abstract class Client$I extends Client$J {
59898
61094
  * location
59899
61095
  */
59900
61096
  location: {
61097
+ /**
61098
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location&apiName=active&version=v2 click to debug }
61099
+ *
61100
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=active&project=corehr&resource=location&version=v2 document }
61101
+ *
61102
+ * 启停/停用地点
61103
+ */
61104
+ active: (payload?: {
61105
+ data: {
61106
+ location_id: string;
61107
+ effective_time: string;
61108
+ active: boolean;
61109
+ operation_reason: string;
61110
+ };
61111
+ }, options?: IRequestOptions$1) => Promise<{
61112
+ code?: number | undefined;
61113
+ msg?: string | undefined;
61114
+ data?: {} | undefined;
61115
+ }>;
59901
61116
  /**
59902
61117
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location&apiName=batch_get&version=v2 click to debug }
59903
61118
  *
@@ -59958,8 +61173,6 @@ declare abstract class Client$I extends Client$J {
59958
61173
  region_id?: string | undefined;
59959
61174
  city_id?: string | undefined;
59960
61175
  distinct_id?: string | undefined;
59961
- city_id_v2?: string | undefined;
59962
- district_id_v2?: string | undefined;
59963
61176
  address_line1?: string | undefined;
59964
61177
  address_line2?: string | undefined;
59965
61178
  address_line3?: string | undefined;
@@ -60022,6 +61235,199 @@ declare abstract class Client$I extends Client$J {
60022
61235
  }[] | undefined;
60023
61236
  } | undefined;
60024
61237
  }>;
61238
+ /**
61239
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location&apiName=patch&version=v2 click to debug }
61240
+ *
61241
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=location&version=v2 document }
61242
+ *
61243
+ * 更新地点
61244
+ */
61245
+ patch: (payload?: {
61246
+ data: {
61247
+ parent_id?: string;
61248
+ names?: Array<{
61249
+ lang: string;
61250
+ value: string;
61251
+ }>;
61252
+ active?: boolean;
61253
+ effective_time: string;
61254
+ code?: string;
61255
+ descriptions?: Array<{
61256
+ lang: string;
61257
+ value: string;
61258
+ }>;
61259
+ location_usages?: Array<{
61260
+ enum_name: string;
61261
+ }>;
61262
+ working_hours_type_id?: string;
61263
+ locale?: {
61264
+ enum_name: string;
61265
+ };
61266
+ time_zone_id?: string;
61267
+ display_language_id?: string;
61268
+ };
61269
+ params?: {
61270
+ client_token?: string;
61271
+ };
61272
+ path: {
61273
+ location_id: string;
61274
+ };
61275
+ }, options?: IRequestOptions$1) => Promise<{
61276
+ code?: number | undefined;
61277
+ msg?: string | undefined;
61278
+ data?: {} | undefined;
61279
+ }>;
61280
+ };
61281
+ /**
61282
+ * location.address
61283
+ */
61284
+ locationAddress: {
61285
+ /**
61286
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location.address&apiName=create&version=v2 click to debug }
61287
+ *
61288
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=location.address&version=v2 document }
61289
+ *
61290
+ * 添加地点地址
61291
+ */
61292
+ create: (payload?: {
61293
+ data: {
61294
+ country_region_id: string;
61295
+ region_id: string;
61296
+ city_id: string;
61297
+ distinct_id: string;
61298
+ local_address_line1?: string;
61299
+ local_address_line2?: string;
61300
+ local_address_line3?: string;
61301
+ local_address_line4?: string;
61302
+ local_address_line5?: string;
61303
+ local_address_line6?: string;
61304
+ local_address_line7?: string;
61305
+ local_address_line8?: string;
61306
+ local_address_line9?: string;
61307
+ postal_code?: string;
61308
+ address_types?: Array<{
61309
+ enum_name: string;
61310
+ }>;
61311
+ is_primary?: boolean;
61312
+ is_public?: boolean;
61313
+ };
61314
+ params?: {
61315
+ client_token?: string;
61316
+ };
61317
+ path: {
61318
+ location_id: string;
61319
+ };
61320
+ }, options?: IRequestOptions$1) => Promise<{
61321
+ code?: number | undefined;
61322
+ msg?: string | undefined;
61323
+ data?: {
61324
+ address_id?: string | undefined;
61325
+ } | undefined;
61326
+ }>;
61327
+ /**
61328
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location.address&apiName=delete&version=v2 click to debug }
61329
+ *
61330
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=location.address&version=v2 document }
61331
+ *
61332
+ * 删除地点地址
61333
+ */
61334
+ delete: (payload?: {
61335
+ path: {
61336
+ location_id: string;
61337
+ address_id: string;
61338
+ };
61339
+ }, options?: IRequestOptions$1) => Promise<{
61340
+ code?: number | undefined;
61341
+ msg?: string | undefined;
61342
+ data?: {} | undefined;
61343
+ }>;
61344
+ /**
61345
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=location.address&apiName=patch&version=v2 click to debug }
61346
+ *
61347
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=location.address&version=v2 document }
61348
+ *
61349
+ * 更新地点地址
61350
+ */
61351
+ patch: (payload?: {
61352
+ data?: {
61353
+ country_region_id?: string;
61354
+ region_id?: string;
61355
+ city_id?: string;
61356
+ distinct_id?: string;
61357
+ local_address_line1?: string;
61358
+ local_address_line2?: string;
61359
+ local_address_line3?: string;
61360
+ local_address_line4?: string;
61361
+ local_address_line5?: string;
61362
+ local_address_line6?: string;
61363
+ local_address_line7?: string;
61364
+ local_address_line8?: string;
61365
+ local_address_line9?: string;
61366
+ postal_code?: string;
61367
+ address_types?: Array<{
61368
+ enum_name: string;
61369
+ }>;
61370
+ is_primary?: boolean;
61371
+ is_public?: boolean;
61372
+ };
61373
+ params?: {
61374
+ client_token?: string;
61375
+ };
61376
+ path: {
61377
+ location_id: string;
61378
+ address_id: string;
61379
+ };
61380
+ }, options?: IRequestOptions$1) => Promise<{
61381
+ code?: number | undefined;
61382
+ msg?: string | undefined;
61383
+ data?: {} | undefined;
61384
+ }>;
61385
+ };
61386
+ /**
61387
+ * offboarding
61388
+ */
61389
+ offboarding: {
61390
+ /**
61391
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=offboarding&apiName=submit_v2&version=v2 click to debug }
61392
+ *
61393
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=submit_v2&project=corehr&resource=offboarding&version=v2 document }
61394
+ */
61395
+ submitV2: (payload?: {
61396
+ data: {
61397
+ offboarding_mode: number;
61398
+ employment_id: string;
61399
+ offboarding_date: string;
61400
+ offboarding_reason_unique_identifier: string;
61401
+ offboarding_reason_explanation?: string;
61402
+ initiator_id?: string;
61403
+ add_block_list?: boolean;
61404
+ block_reason?: string;
61405
+ block_reason_explanation?: string;
61406
+ custom_fields?: Array<{
61407
+ field_name: string;
61408
+ value: string;
61409
+ }>;
61410
+ retain_account?: boolean;
61411
+ };
61412
+ params?: {
61413
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
61414
+ };
61415
+ }, options?: IRequestOptions$1) => Promise<{
61416
+ code?: number | undefined;
61417
+ msg?: string | undefined;
61418
+ data?: {
61419
+ offboarding_id?: string | undefined;
61420
+ employment_id?: string | undefined;
61421
+ offboarding_reason_unique_identifier?: string | undefined;
61422
+ offboarding_date?: string | undefined;
61423
+ offboarding_reason_explanation?: string | undefined;
61424
+ add_block_list?: boolean | undefined;
61425
+ block_reason?: string | undefined;
61426
+ block_reason_explanation?: string | undefined;
61427
+ created_time?: string | undefined;
61428
+ retain_account?: boolean | undefined;
61429
+ } | undefined;
61430
+ }>;
60025
61431
  };
60026
61432
  /**
60027
61433
  * person
@@ -62653,6 +64059,10 @@ declare abstract class Client$I extends Client$J {
62653
64059
  start_time?: string;
62654
64060
  end_time?: string;
62655
64061
  field_of_study?: string;
64062
+ custom_fields?: Array<{
64063
+ field_name: string;
64064
+ value: string;
64065
+ }>;
62656
64066
  }>;
62657
64067
  work_experience?: Array<{
62658
64068
  company_name?: string;
@@ -62661,6 +64071,10 @@ declare abstract class Client$I extends Client$J {
62661
64071
  job_title?: string;
62662
64072
  description?: string;
62663
64073
  department?: string;
64074
+ custom_fields?: Array<{
64075
+ field_name: string;
64076
+ value: string;
64077
+ }>;
62664
64078
  }>;
62665
64079
  ats_application_id?: string;
62666
64080
  out_biz_id?: string;
@@ -63822,6 +65236,7 @@ declare abstract class Client$I extends Client$J {
63822
65236
  }[] | undefined;
63823
65237
  } | undefined;
63824
65238
  direct_leader_id?: string | undefined;
65239
+ dotted_line_manager_id?: string | undefined;
63825
65240
  job_id?: string | undefined;
63826
65241
  job_family_id?: string | undefined;
63827
65242
  job_level_id?: string | undefined;
@@ -63928,6 +65343,21 @@ declare abstract class Client$I extends Client$J {
63928
65343
  created_by?: string | undefined;
63929
65344
  updated_by?: string | undefined;
63930
65345
  seniority_date?: string | undefined;
65346
+ background_check_order_id?: string | undefined;
65347
+ background_check_order_name?: string | undefined;
65348
+ background_check_order_package_name?: string | undefined;
65349
+ background_check_order_result?: string | undefined;
65350
+ background_check_order_supplier_name?: string | undefined;
65351
+ background_check_order_account_name?: string | undefined;
65352
+ background_check_order_start_time?: string | undefined;
65353
+ background_check_order_complete_time?: string | undefined;
65354
+ background_check_order_status?: {
65355
+ enum_name: string;
65356
+ display?: {
65357
+ lang: string;
65358
+ value: string;
65359
+ }[] | undefined;
65360
+ } | undefined;
63931
65361
  } | undefined;
63932
65362
  onboarding_info?: {
63933
65363
  offer_id?: string | undefined;
@@ -63941,7 +65371,7 @@ declare abstract class Client$I extends Client$J {
63941
65371
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
63942
65372
  onboarding_task_list?: {
63943
65373
  task_name?: string | undefined;
63944
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
65374
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
63945
65375
  operator_id?: string | undefined;
63946
65376
  task_code?: string | undefined;
63947
65377
  }[] | undefined;
@@ -64899,6 +66329,7 @@ declare abstract class Client$I extends Client$J {
64899
66329
  }[] | undefined;
64900
66330
  } | undefined;
64901
66331
  direct_leader_id?: string | undefined;
66332
+ dotted_line_manager_id?: string | undefined;
64902
66333
  job_id?: string | undefined;
64903
66334
  job_family_id?: string | undefined;
64904
66335
  job_level_id?: string | undefined;
@@ -65005,6 +66436,21 @@ declare abstract class Client$I extends Client$J {
65005
66436
  created_by?: string | undefined;
65006
66437
  updated_by?: string | undefined;
65007
66438
  seniority_date?: string | undefined;
66439
+ background_check_order_id?: string | undefined;
66440
+ background_check_order_name?: string | undefined;
66441
+ background_check_order_package_name?: string | undefined;
66442
+ background_check_order_result?: string | undefined;
66443
+ background_check_order_supplier_name?: string | undefined;
66444
+ background_check_order_account_name?: string | undefined;
66445
+ background_check_order_start_time?: string | undefined;
66446
+ background_check_order_complete_time?: string | undefined;
66447
+ background_check_order_status?: {
66448
+ enum_name: string;
66449
+ display?: {
66450
+ lang: string;
66451
+ value: string;
66452
+ }[] | undefined;
66453
+ } | undefined;
65008
66454
  } | undefined;
65009
66455
  onboarding_info?: {
65010
66456
  offer_id?: string | undefined;
@@ -65018,7 +66464,7 @@ declare abstract class Client$I extends Client$J {
65018
66464
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
65019
66465
  onboarding_task_list?: {
65020
66466
  task_name?: string | undefined;
65021
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
66467
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
65022
66468
  operator_id?: string | undefined;
65023
66469
  task_code?: string | undefined;
65024
66470
  }[] | undefined;
@@ -65984,6 +67430,7 @@ declare abstract class Client$I extends Client$J {
65984
67430
  }[] | undefined;
65985
67431
  } | undefined;
65986
67432
  direct_leader_id?: string | undefined;
67433
+ dotted_line_manager_id?: string | undefined;
65987
67434
  job_id?: string | undefined;
65988
67435
  job_family_id?: string | undefined;
65989
67436
  job_level_id?: string | undefined;
@@ -66090,6 +67537,21 @@ declare abstract class Client$I extends Client$J {
66090
67537
  created_by?: string | undefined;
66091
67538
  updated_by?: string | undefined;
66092
67539
  seniority_date?: string | undefined;
67540
+ background_check_order_id?: string | undefined;
67541
+ background_check_order_name?: string | undefined;
67542
+ background_check_order_package_name?: string | undefined;
67543
+ background_check_order_result?: string | undefined;
67544
+ background_check_order_supplier_name?: string | undefined;
67545
+ background_check_order_account_name?: string | undefined;
67546
+ background_check_order_start_time?: string | undefined;
67547
+ background_check_order_complete_time?: string | undefined;
67548
+ background_check_order_status?: {
67549
+ enum_name: string;
67550
+ display?: {
67551
+ lang: string;
67552
+ value: string;
67553
+ }[] | undefined;
67554
+ } | undefined;
66093
67555
  } | undefined;
66094
67556
  onboarding_info?: {
66095
67557
  offer_id?: string | undefined;
@@ -66103,7 +67565,7 @@ declare abstract class Client$I extends Client$J {
66103
67565
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
66104
67566
  onboarding_task_list?: {
66105
67567
  task_name?: string | undefined;
66106
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
67568
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
66107
67569
  operator_id?: string | undefined;
66108
67570
  task_code?: string | undefined;
66109
67571
  }[] | undefined;
@@ -67076,6 +68538,7 @@ declare abstract class Client$I extends Client$J {
67076
68538
  }[] | undefined;
67077
68539
  } | undefined;
67078
68540
  direct_leader_id?: string | undefined;
68541
+ dotted_line_manager_id?: string | undefined;
67079
68542
  job_id?: string | undefined;
67080
68543
  job_family_id?: string | undefined;
67081
68544
  job_level_id?: string | undefined;
@@ -67182,6 +68645,21 @@ declare abstract class Client$I extends Client$J {
67182
68645
  created_by?: string | undefined;
67183
68646
  updated_by?: string | undefined;
67184
68647
  seniority_date?: string | undefined;
68648
+ background_check_order_id?: string | undefined;
68649
+ background_check_order_name?: string | undefined;
68650
+ background_check_order_package_name?: string | undefined;
68651
+ background_check_order_result?: string | undefined;
68652
+ background_check_order_supplier_name?: string | undefined;
68653
+ background_check_order_account_name?: string | undefined;
68654
+ background_check_order_start_time?: string | undefined;
68655
+ background_check_order_complete_time?: string | undefined;
68656
+ background_check_order_status?: {
68657
+ enum_name: string;
68658
+ display?: {
68659
+ lang: string;
68660
+ value: string;
68661
+ }[] | undefined;
68662
+ } | undefined;
67185
68663
  } | undefined;
67186
68664
  onboarding_info?: {
67187
68665
  offer_id?: string | undefined;
@@ -67195,7 +68673,7 @@ declare abstract class Client$I extends Client$J {
67195
68673
  onboarding_status?: "deleted" | "completed" | "preboarding" | "day_one" | "withdrawn" | undefined;
67196
68674
  onboarding_task_list?: {
67197
68675
  task_name?: string | undefined;
67198
- task_status?: "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "failed" | "in_review" | undefined;
68676
+ task_status?: "failed" | "rejected" | "completed" | "terminated" | "not_started" | "initiating" | "exception" | "in_progress" | "skipped" | "uninitialized" | "in_review" | undefined;
67199
68677
  operator_id?: string | undefined;
67200
68678
  task_code?: string | undefined;
67201
68679
  }[] | undefined;
@@ -67945,6 +69423,7 @@ declare abstract class Client$I extends Client$J {
67945
69423
  } | undefined;
67946
69424
  }[] | undefined;
67947
69425
  }[] | undefined;
69426
+ process_id?: string | undefined;
67948
69427
  } | undefined;
67949
69428
  }>;
67950
69429
  };
@@ -68121,11 +69600,11 @@ declare abstract class Client$I extends Client$J {
68121
69600
  }>;
68122
69601
  listWithIterator: (payload?: {
68123
69602
  params: {
68124
- modify_time_to: string;
68125
69603
  statuses?: Array<number>;
68126
69604
  page_token?: string;
68127
69605
  page_size: number;
68128
69606
  modify_time_from: string;
69607
+ modify_time_to: string;
68129
69608
  flow_definition_id?: string;
68130
69609
  };
68131
69610
  }, options?: IRequestOptions$1) => Promise<{
@@ -68140,11 +69619,11 @@ declare abstract class Client$I extends Client$J {
68140
69619
  */
68141
69620
  list: (payload?: {
68142
69621
  params: {
68143
- modify_time_to: string;
68144
69622
  statuses?: Array<number>;
68145
69623
  page_token?: string;
68146
69624
  page_size: number;
68147
69625
  modify_time_from: string;
69626
+ modify_time_to: string;
68148
69627
  flow_definition_id?: string;
68149
69628
  };
68150
69629
  }, options?: IRequestOptions$1) => Promise<{
@@ -68157,6 +69636,68 @@ declare abstract class Client$I extends Client$J {
68157
69636
  } | undefined;
68158
69637
  }>;
68159
69638
  };
69639
+ /**
69640
+ * workforce_plan
69641
+ */
69642
+ workforcePlan: {
69643
+ listWithIterator: (payload?: {
69644
+ params?: {
69645
+ limit?: number;
69646
+ offset?: number;
69647
+ get_all_plan?: boolean;
69648
+ active?: boolean;
69649
+ page_token?: string;
69650
+ page_size?: number;
69651
+ };
69652
+ }, options?: IRequestOptions$1) => Promise<{
69653
+ [Symbol.asyncIterator](): AsyncGenerator<{
69654
+ items?: {
69655
+ workforce_plan_id: string;
69656
+ workforce_plan_name?: {
69657
+ lang: string;
69658
+ value: string;
69659
+ }[] | undefined;
69660
+ start_date?: string | undefined;
69661
+ end_date?: string | undefined;
69662
+ active?: boolean | undefined;
69663
+ }[] | undefined;
69664
+ total?: number | undefined;
69665
+ } | null, void, unknown>;
69666
+ }>;
69667
+ /**
69668
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=workforce_plan&apiName=list&version=v2 click to debug }
69669
+ *
69670
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=corehr&resource=workforce_plan&version=v2 document }
69671
+ */
69672
+ list: (payload?: {
69673
+ params?: {
69674
+ limit?: number;
69675
+ offset?: number;
69676
+ get_all_plan?: boolean;
69677
+ active?: boolean;
69678
+ page_token?: string;
69679
+ page_size?: number;
69680
+ };
69681
+ }, options?: IRequestOptions$1) => Promise<{
69682
+ code?: number | undefined;
69683
+ msg?: string | undefined;
69684
+ data?: {
69685
+ items?: {
69686
+ workforce_plan_id: string;
69687
+ workforce_plan_name?: {
69688
+ lang: string;
69689
+ value: string;
69690
+ }[] | undefined;
69691
+ start_date?: string | undefined;
69692
+ end_date?: string | undefined;
69693
+ active?: boolean | undefined;
69694
+ }[] | undefined;
69695
+ total?: number | undefined;
69696
+ page_token?: string | undefined;
69697
+ has_more?: boolean | undefined;
69698
+ } | undefined;
69699
+ }>;
69700
+ };
68160
69701
  /**
68161
69702
  * workforce_plan_detail
68162
69703
  */
@@ -94677,6 +96218,8 @@ declare abstract class Client$F extends Client$G {
94677
96218
  children_id: Array<string>;
94678
96219
  index?: number;
94679
96220
  descendants: Array<{
96221
+ block_id?: string;
96222
+ children?: Array<string>;
94680
96223
  block_type: number;
94681
96224
  text?: {
94682
96225
  style?: {
@@ -96793,6 +98336,7 @@ declare abstract class Client$F extends Client$G {
96793
98336
  grid?: {
96794
98337
  column_size: number;
96795
98338
  };
98339
+ grid_column?: {};
96796
98340
  iframe?: {
96797
98341
  component: {
96798
98342
  iframe_type?: number;
@@ -96825,6 +98369,8 @@ declare abstract class Client$F extends Client$G {
96825
98369
  header_column?: boolean;
96826
98370
  };
96827
98371
  };
98372
+ table_cell?: {};
98373
+ view?: {};
96828
98374
  quote_container?: {};
96829
98375
  task?: {
96830
98376
  folded?: boolean;
@@ -125708,6 +127254,8 @@ declare abstract class Client$F extends Client$G {
125708
127254
  children_id: Array<string>;
125709
127255
  index?: number;
125710
127256
  descendants: Array<{
127257
+ block_id?: string;
127258
+ children?: Array<string>;
125711
127259
  block_type: number;
125712
127260
  text?: {
125713
127261
  style?: {
@@ -127824,6 +129372,7 @@ declare abstract class Client$F extends Client$G {
127824
129372
  grid?: {
127825
129373
  column_size: number;
127826
129374
  };
129375
+ grid_column?: {};
127827
129376
  iframe?: {
127828
129377
  component: {
127829
129378
  iframe_type?: number;
@@ -127856,6 +129405,8 @@ declare abstract class Client$F extends Client$G {
127856
129405
  header_column?: boolean;
127857
129406
  };
127858
129407
  };
129408
+ table_cell?: {};
129409
+ view?: {};
127859
129410
  quote_container?: {};
127860
129411
  task?: {
127861
129412
  folded?: boolean;
@@ -131450,7 +133001,7 @@ declare abstract class Client$E extends Client$F {
131450
133001
  }>;
131451
133002
  };
131452
133003
  /**
131453
- * 事件
133004
+ * 文件
131454
133005
  */
131455
133006
  file: {
131456
133007
  /**
@@ -132288,7 +133839,7 @@ declare abstract class Client$E extends Client$F {
132288
133839
  }>;
132289
133840
  };
132290
133841
  /**
132291
- * 分片上传
133842
+ * 素材
132292
133843
  */
132293
133844
  media: {
132294
133845
  /**
@@ -133409,7 +134960,7 @@ declare abstract class Client$E extends Client$F {
133409
134960
  }>;
133410
134961
  };
133411
134962
  /**
133412
- * 事件
134963
+ * 文件
133413
134964
  */
133414
134965
  file: {
133415
134966
  /**
@@ -134247,7 +135798,7 @@ declare abstract class Client$E extends Client$F {
134247
135798
  }>;
134248
135799
  };
134249
135800
  /**
134250
- * 分片上传
135801
+ * 素材
134251
135802
  */
134252
135803
  media: {
134253
135804
  /**
@@ -135101,7 +136652,7 @@ declare abstract class Client$C extends Client$D {
135101
136652
  custom_fields?: {
135102
136653
  key?: string | undefined;
135103
136654
  label?: string | undefined;
135104
- type?: "text" | "date" | "file" | "option" | undefined;
136655
+ type?: "text" | "file" | "date" | "option" | undefined;
135105
136656
  value?: string | undefined;
135106
136657
  }[] | undefined;
135107
136658
  }[] | undefined;
@@ -135290,7 +136841,7 @@ declare abstract class Client$C extends Client$D {
135290
136841
  custom_fields?: {
135291
136842
  key?: string | undefined;
135292
136843
  label?: string | undefined;
135293
- type?: "text" | "date" | "file" | "option" | undefined;
136844
+ type?: "text" | "file" | "date" | "option" | undefined;
135294
136845
  value?: string | undefined;
135295
136846
  }[] | undefined;
135296
136847
  }[] | undefined;
@@ -135500,7 +137051,7 @@ declare abstract class Client$C extends Client$D {
135500
137051
  custom_fields?: {
135501
137052
  key?: string | undefined;
135502
137053
  label?: string | undefined;
135503
- type?: "text" | "date" | "file" | "option" | undefined;
137054
+ type?: "text" | "file" | "date" | "option" | undefined;
135504
137055
  value?: string | undefined;
135505
137056
  }[] | undefined;
135506
137057
  }[] | undefined;
@@ -135689,7 +137240,7 @@ declare abstract class Client$C extends Client$D {
135689
137240
  custom_fields?: {
135690
137241
  key?: string | undefined;
135691
137242
  label?: string | undefined;
135692
- type?: "text" | "date" | "file" | "option" | undefined;
137243
+ type?: "text" | "file" | "date" | "option" | undefined;
135693
137244
  value?: string | undefined;
135694
137245
  }[] | undefined;
135695
137246
  }[] | undefined;
@@ -140212,7 +141763,7 @@ declare abstract class Client$u extends Client$v {
140212
141763
  }>;
140213
141764
  };
140214
141765
  /**
140215
- * 投递
141766
+ * 入职
140216
141767
  */
140217
141768
  application: {
140218
141769
  /**
@@ -145436,6 +146987,7 @@ declare abstract class Client$u extends Client$v {
145436
146987
  process_type?: number;
145437
146988
  job_type_id?: string;
145438
146989
  job_id_list?: Array<string>;
146990
+ employment_job_id?: string;
145439
146991
  };
145440
146992
  params?: {
145441
146993
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -145576,6 +147128,7 @@ declare abstract class Client$u extends Client$v {
145576
147128
  create_time?: string | undefined;
145577
147129
  creator_id?: string | undefined;
145578
147130
  update_time?: string | undefined;
147131
+ employment_job_id?: string | undefined;
145579
147132
  } | undefined;
145580
147133
  } | undefined;
145581
147134
  }>;
@@ -145755,6 +147308,7 @@ declare abstract class Client$u extends Client$v {
145755
147308
  create_time?: string | undefined;
145756
147309
  creator_id?: string | undefined;
145757
147310
  update_time?: string | undefined;
147311
+ employment_job_id?: string | undefined;
145758
147312
  }[] | undefined;
145759
147313
  } | undefined;
145760
147314
  }>;
@@ -145908,6 +147462,7 @@ declare abstract class Client$u extends Client$v {
145908
147462
  create_time?: string | undefined;
145909
147463
  creator_id?: string | undefined;
145910
147464
  update_time?: string | undefined;
147465
+ employment_job_id?: string | undefined;
145911
147466
  }[] | undefined;
145912
147467
  } | undefined;
145913
147468
  }>;
@@ -145950,6 +147505,7 @@ declare abstract class Client$u extends Client$v {
145950
147505
  process_type?: number;
145951
147506
  job_type_id?: string;
145952
147507
  job_id_list?: Array<string>;
147508
+ employment_job_id?: string;
145953
147509
  };
145954
147510
  params?: {
145955
147511
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -149759,6 +151315,24 @@ declare abstract class Client$u extends Client$v {
149759
151315
  msg?: string | undefined;
149760
151316
  data?: {} | undefined;
149761
151317
  }>;
151318
+ /**
151319
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=tag&version=v1 click to debug }
151320
+ *
151321
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=tag&project=hire&resource=talent&version=v1 document }
151322
+ */
151323
+ tag: (payload?: {
151324
+ data: {
151325
+ operation: number;
151326
+ tag_id_list: Array<string>;
151327
+ };
151328
+ path: {
151329
+ talent_id: string;
151330
+ };
151331
+ }, options?: IRequestOptions$1) => Promise<{
151332
+ code?: number | undefined;
151333
+ msg?: string | undefined;
151334
+ data?: {} | undefined;
151335
+ }>;
149762
151336
  };
149763
151337
  /**
149764
151338
  * 导入外部系统信息(灰度租户可见)
@@ -150080,6 +151654,72 @@ declare abstract class Client$u extends Client$v {
150080
151654
  } | undefined;
150081
151655
  }>;
150082
151656
  };
151657
+ /**
151658
+ * talent_tag
151659
+ */
151660
+ talentTag: {
151661
+ listWithIterator: (payload?: {
151662
+ params?: {
151663
+ keyword?: string;
151664
+ id_list?: Array<string>;
151665
+ type?: number;
151666
+ include_inactive?: boolean;
151667
+ page_size?: number;
151668
+ page_token?: string;
151669
+ };
151670
+ }, options?: IRequestOptions$1) => Promise<{
151671
+ [Symbol.asyncIterator](): AsyncGenerator<{
151672
+ items?: {
151673
+ id?: string | undefined;
151674
+ name?: {
151675
+ zh_cn?: string | undefined;
151676
+ en_us?: string | undefined;
151677
+ } | undefined;
151678
+ description?: {
151679
+ zh_cn?: string | undefined;
151680
+ en_us?: string | undefined;
151681
+ } | undefined;
151682
+ type?: number | undefined;
151683
+ active_status?: number | undefined;
151684
+ }[] | undefined;
151685
+ } | null, void, unknown>;
151686
+ }>;
151687
+ /**
151688
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent_tag&apiName=list&version=v1 click to debug }
151689
+ *
151690
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=talent_tag&version=v1 document }
151691
+ */
151692
+ list: (payload?: {
151693
+ params?: {
151694
+ keyword?: string;
151695
+ id_list?: Array<string>;
151696
+ type?: number;
151697
+ include_inactive?: boolean;
151698
+ page_size?: number;
151699
+ page_token?: string;
151700
+ };
151701
+ }, options?: IRequestOptions$1) => Promise<{
151702
+ code?: number | undefined;
151703
+ msg?: string | undefined;
151704
+ data?: {
151705
+ items?: {
151706
+ id?: string | undefined;
151707
+ name?: {
151708
+ zh_cn?: string | undefined;
151709
+ en_us?: string | undefined;
151710
+ } | undefined;
151711
+ description?: {
151712
+ zh_cn?: string | undefined;
151713
+ en_us?: string | undefined;
151714
+ } | undefined;
151715
+ type?: number | undefined;
151716
+ active_status?: number | undefined;
151717
+ }[] | undefined;
151718
+ has_more?: boolean | undefined;
151719
+ page_token?: string | undefined;
151720
+ } | undefined;
151721
+ }>;
151722
+ };
150083
151723
  /**
150084
151724
  * termination_reason
150085
151725
  */
@@ -152262,7 +153902,7 @@ declare abstract class Client$u extends Client$v {
152262
153902
  }>;
152263
153903
  };
152264
153904
  /**
152265
- * 投递
153905
+ * 入职
152266
153906
  */
152267
153907
  application: {
152268
153908
  /**
@@ -157486,6 +159126,7 @@ declare abstract class Client$u extends Client$v {
157486
159126
  process_type?: number;
157487
159127
  job_type_id?: string;
157488
159128
  job_id_list?: Array<string>;
159129
+ employment_job_id?: string;
157489
159130
  };
157490
159131
  params?: {
157491
159132
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -157626,6 +159267,7 @@ declare abstract class Client$u extends Client$v {
157626
159267
  create_time?: string | undefined;
157627
159268
  creator_id?: string | undefined;
157628
159269
  update_time?: string | undefined;
159270
+ employment_job_id?: string | undefined;
157629
159271
  } | undefined;
157630
159272
  } | undefined;
157631
159273
  }>;
@@ -157805,6 +159447,7 @@ declare abstract class Client$u extends Client$v {
157805
159447
  create_time?: string | undefined;
157806
159448
  creator_id?: string | undefined;
157807
159449
  update_time?: string | undefined;
159450
+ employment_job_id?: string | undefined;
157808
159451
  }[] | undefined;
157809
159452
  } | undefined;
157810
159453
  }>;
@@ -157958,6 +159601,7 @@ declare abstract class Client$u extends Client$v {
157958
159601
  create_time?: string | undefined;
157959
159602
  creator_id?: string | undefined;
157960
159603
  update_time?: string | undefined;
159604
+ employment_job_id?: string | undefined;
157961
159605
  }[] | undefined;
157962
159606
  } | undefined;
157963
159607
  }>;
@@ -158000,6 +159644,7 @@ declare abstract class Client$u extends Client$v {
158000
159644
  process_type?: number;
158001
159645
  job_type_id?: string;
158002
159646
  job_id_list?: Array<string>;
159647
+ employment_job_id?: string;
158003
159648
  };
158004
159649
  params?: {
158005
159650
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -161809,6 +163454,24 @@ declare abstract class Client$u extends Client$v {
161809
163454
  msg?: string | undefined;
161810
163455
  data?: {} | undefined;
161811
163456
  }>;
163457
+ /**
163458
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=tag&version=v1 click to debug }
163459
+ *
163460
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=tag&project=hire&resource=talent&version=v1 document }
163461
+ */
163462
+ tag: (payload?: {
163463
+ data: {
163464
+ operation: number;
163465
+ tag_id_list: Array<string>;
163466
+ };
163467
+ path: {
163468
+ talent_id: string;
163469
+ };
163470
+ }, options?: IRequestOptions$1) => Promise<{
163471
+ code?: number | undefined;
163472
+ msg?: string | undefined;
163473
+ data?: {} | undefined;
163474
+ }>;
161812
163475
  };
161813
163476
  /**
161814
163477
  * 导入外部系统信息(灰度租户可见)
@@ -162130,6 +163793,72 @@ declare abstract class Client$u extends Client$v {
162130
163793
  } | undefined;
162131
163794
  }>;
162132
163795
  };
163796
+ /**
163797
+ * talent_tag
163798
+ */
163799
+ talentTag: {
163800
+ listWithIterator: (payload?: {
163801
+ params?: {
163802
+ keyword?: string;
163803
+ id_list?: Array<string>;
163804
+ type?: number;
163805
+ include_inactive?: boolean;
163806
+ page_size?: number;
163807
+ page_token?: string;
163808
+ };
163809
+ }, options?: IRequestOptions$1) => Promise<{
163810
+ [Symbol.asyncIterator](): AsyncGenerator<{
163811
+ items?: {
163812
+ id?: string | undefined;
163813
+ name?: {
163814
+ zh_cn?: string | undefined;
163815
+ en_us?: string | undefined;
163816
+ } | undefined;
163817
+ description?: {
163818
+ zh_cn?: string | undefined;
163819
+ en_us?: string | undefined;
163820
+ } | undefined;
163821
+ type?: number | undefined;
163822
+ active_status?: number | undefined;
163823
+ }[] | undefined;
163824
+ } | null, void, unknown>;
163825
+ }>;
163826
+ /**
163827
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent_tag&apiName=list&version=v1 click to debug }
163828
+ *
163829
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=talent_tag&version=v1 document }
163830
+ */
163831
+ list: (payload?: {
163832
+ params?: {
163833
+ keyword?: string;
163834
+ id_list?: Array<string>;
163835
+ type?: number;
163836
+ include_inactive?: boolean;
163837
+ page_size?: number;
163838
+ page_token?: string;
163839
+ };
163840
+ }, options?: IRequestOptions$1) => Promise<{
163841
+ code?: number | undefined;
163842
+ msg?: string | undefined;
163843
+ data?: {
163844
+ items?: {
163845
+ id?: string | undefined;
163846
+ name?: {
163847
+ zh_cn?: string | undefined;
163848
+ en_us?: string | undefined;
163849
+ } | undefined;
163850
+ description?: {
163851
+ zh_cn?: string | undefined;
163852
+ en_us?: string | undefined;
163853
+ } | undefined;
163854
+ type?: number | undefined;
163855
+ active_status?: number | undefined;
163856
+ }[] | undefined;
163857
+ has_more?: boolean | undefined;
163858
+ page_token?: string | undefined;
163859
+ } | undefined;
163860
+ }>;
163861
+ };
162133
163862
  /**
162134
163863
  * termination_reason
162135
163864
  */
@@ -165809,7 +167538,7 @@ declare abstract class Client$s extends Client$t {
165809
167538
  }>;
165810
167539
  };
165811
167540
  /**
165812
- * 消息
167541
+ * 消息加急
165813
167542
  */
165814
167543
  message: {
165815
167544
  /**
@@ -168457,7 +170186,7 @@ declare abstract class Client$s extends Client$t {
168457
170186
  }>;
168458
170187
  };
168459
170188
  /**
168460
- * 消息
170189
+ * 消息加急
168461
170190
  */
168462
170191
  message: {
168463
170192
  /**
@@ -174669,7 +176398,7 @@ declare abstract class Client$m extends Client$n {
174669
176398
  modify_time?: string | undefined;
174670
176399
  content?: {
174671
176400
  blocks?: {
174672
- type?: "gallery" | "paragraph" | undefined;
176401
+ type?: "paragraph" | "gallery" | undefined;
174673
176402
  paragraph?: {
174674
176403
  style?: {
174675
176404
  list?: {
@@ -174765,7 +176494,7 @@ declare abstract class Client$m extends Client$n {
174765
176494
  modify_time?: string | undefined;
174766
176495
  content?: {
174767
176496
  blocks?: {
174768
- type?: "gallery" | "paragraph" | undefined;
176497
+ type?: "paragraph" | "gallery" | undefined;
174769
176498
  paragraph?: {
174770
176499
  style?: {
174771
176500
  list?: {
@@ -174899,7 +176628,7 @@ declare abstract class Client$m extends Client$n {
174899
176628
  modify_time?: string | undefined;
174900
176629
  content?: {
174901
176630
  blocks?: {
174902
- type?: "gallery" | "paragraph" | undefined;
176631
+ type?: "paragraph" | "gallery" | undefined;
174903
176632
  paragraph?: {
174904
176633
  style?: {
174905
176634
  list?: {
@@ -175425,7 +177154,7 @@ declare abstract class Client$m extends Client$n {
175425
177154
  modify_time?: string | undefined;
175426
177155
  content?: {
175427
177156
  blocks?: {
175428
- type?: "gallery" | "paragraph" | undefined;
177157
+ type?: "paragraph" | "gallery" | undefined;
175429
177158
  paragraph?: {
175430
177159
  style?: {
175431
177160
  list?: {
@@ -175521,7 +177250,7 @@ declare abstract class Client$m extends Client$n {
175521
177250
  modify_time?: string | undefined;
175522
177251
  content?: {
175523
177252
  blocks?: {
175524
- type?: "gallery" | "paragraph" | undefined;
177253
+ type?: "paragraph" | "gallery" | undefined;
175525
177254
  paragraph?: {
175526
177255
  style?: {
175527
177256
  list?: {
@@ -175655,7 +177384,7 @@ declare abstract class Client$m extends Client$n {
175655
177384
  modify_time?: string | undefined;
175656
177385
  content?: {
175657
177386
  blocks?: {
175658
- type?: "gallery" | "paragraph" | undefined;
177387
+ type?: "paragraph" | "gallery" | undefined;
175659
177388
  paragraph?: {
175660
177389
  style?: {
175661
177390
  list?: {
@@ -175946,6 +177675,28 @@ declare abstract class Client$k extends Client$l {
175946
177675
  * 登录态
175947
177676
  */
175948
177677
  session: {
177678
+ /**
177679
+ * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=logout&version=v1 click to debug }
177680
+ *
177681
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=logout&project=passport&resource=session&version=v1 document }
177682
+ */
177683
+ logout: (payload?: {
177684
+ data: {
177685
+ idp_credential_id?: string;
177686
+ logout_type: number;
177687
+ terminal_type?: Array<number>;
177688
+ user_id?: string;
177689
+ logout_reason?: number;
177690
+ sid?: string;
177691
+ };
177692
+ params?: {
177693
+ user_id_type?: "open_id" | "union_id" | "user_id";
177694
+ };
177695
+ }, options?: IRequestOptions$1) => Promise<{
177696
+ code?: number | undefined;
177697
+ msg?: string | undefined;
177698
+ data?: {} | undefined;
177699
+ }>;
175949
177700
  /**
175950
177701
  * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=query&version=v1 click to debug }
175951
177702
  *
@@ -175980,6 +177731,28 @@ declare abstract class Client$k extends Client$l {
175980
177731
  * 登录态
175981
177732
  */
175982
177733
  session: {
177734
+ /**
177735
+ * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=logout&version=v1 click to debug }
177736
+ *
177737
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=logout&project=passport&resource=session&version=v1 document }
177738
+ */
177739
+ logout: (payload?: {
177740
+ data: {
177741
+ idp_credential_id?: string;
177742
+ logout_type: number;
177743
+ terminal_type?: Array<number>;
177744
+ user_id?: string;
177745
+ logout_reason?: number;
177746
+ sid?: string;
177747
+ };
177748
+ params?: {
177749
+ user_id_type?: "open_id" | "union_id" | "user_id";
177750
+ };
177751
+ }, options?: IRequestOptions$1) => Promise<{
177752
+ code?: number | undefined;
177753
+ msg?: string | undefined;
177754
+ data?: {} | undefined;
177755
+ }>;
175983
177756
  /**
175984
177757
  * {@link https://open.feishu.cn/api-explorer?project=passport&resource=session&apiName=query&version=v1 click to debug }
175985
177758
  *
@@ -179226,7 +180999,7 @@ declare abstract class Client$c extends Client$d {
179226
180999
  }>;
179227
181000
  };
179228
181001
  /**
179229
- * 单元格
181002
+ * 工作表
179230
181003
  */
179231
181004
  spreadsheetSheet: {
179232
181005
  /**
@@ -180065,7 +181838,7 @@ declare abstract class Client$c extends Client$d {
180065
181838
  }>;
180066
181839
  };
180067
181840
  /**
180068
- * 单元格
181841
+ * 工作表
180069
181842
  */
180070
181843
  spreadsheetSheet: {
180071
181844
  /**
@@ -196444,6 +198217,21 @@ interface IHandles extends IOtherEventHandles {
196444
198217
  dotted_line_leader_user_ids?: Array<string>;
196445
198218
  };
196446
198219
  }) => Promise<any> | any;
198220
+ /**
198221
+
198222
+ */
198223
+ "corehr.common_data.meta_data.updated_v1"?: (data: {
198224
+ event_id?: string;
198225
+ token?: string;
198226
+ create_time?: string;
198227
+ event_type?: string;
198228
+ tenant_key?: string;
198229
+ ts?: string;
198230
+ uuid?: string;
198231
+ type?: string;
198232
+ app_id?: string;
198233
+ api_name?: string;
198234
+ }) => Promise<any> | any;
196447
198235
  /**
196448
198236
 
196449
198237
  */
@@ -198387,6 +200175,42 @@ interface IHandles extends IOtherEventHandles {
198387
200175
  app_id?: string;
198388
200176
  talent_id?: string;
198389
200177
  }) => Promise<any> | any;
200178
+ /**
200179
+
200180
+ */
200181
+ "hire.talent.tag_subscription_v1"?: (data: {
200182
+ event_id?: string;
200183
+ token?: string;
200184
+ create_time?: string;
200185
+ event_type?: string;
200186
+ tenant_key?: string;
200187
+ ts?: string;
200188
+ uuid?: string;
200189
+ type?: number;
200190
+ app_id?: string;
200191
+ talent_id?: string;
200192
+ application_id?: string;
200193
+ tag?: {
200194
+ id?: string;
200195
+ name?: {
200196
+ zh_cn?: string;
200197
+ en_us?: string;
200198
+ };
200199
+ description?: {
200200
+ zh_cn?: string;
200201
+ en_us?: string;
200202
+ };
200203
+ type?: number;
200204
+ active_status?: number;
200205
+ };
200206
+ lock_status?: number;
200207
+ application_stage?: {
200208
+ id?: string;
200209
+ zh_name?: string;
200210
+ en_name?: string;
200211
+ type?: number;
200212
+ };
200213
+ }) => Promise<any> | any;
198390
200214
  /**
198391
200215
 
198392
200216
  */