@larksuiteoapi/node-sdk 1.39.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.
package/types/index.d.ts CHANGED
@@ -1074,7 +1074,7 @@ declare abstract class Client$_ extends Client$$ {
1074
1074
  httpInstance: HttpInstance;
1075
1075
  abstract formatPayload(payload?: IPayload, options?: IRequestOptions$1): Promise<Required<IPayload>>;
1076
1076
  /**
1077
- * 管理后台-行为审计
1077
+ * 管理后台-密码
1078
1078
  */
1079
1079
  admin: {
1080
1080
  /**
@@ -4811,6 +4811,127 @@ declare abstract class Client$Y extends Client$Z {
4811
4811
  } | undefined;
4812
4812
  } | undefined;
4813
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
+ }>;
4814
4935
  /**
4815
4936
  * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=patch&version=v6 click to debug }
4816
4937
  *
@@ -6013,6 +6134,127 @@ declare abstract class Client$Y extends Client$Z {
6013
6134
  } | undefined;
6014
6135
  } | undefined;
6015
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
+ }>;
6016
6258
  /**
6017
6259
  * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=patch&version=v6 click to debug }
6018
6260
  *
@@ -6342,7 +6584,7 @@ declare abstract class Client$X extends Client$Y {
6342
6584
  */
6343
6585
  approval: {
6344
6586
  /**
6345
- * 事件
6587
+ * 原生审批定义
6346
6588
  */
6347
6589
  approval: {
6348
6590
  /**
@@ -7621,7 +7863,7 @@ declare abstract class Client$X extends Client$Y {
7621
7863
  }>;
7622
7864
  };
7623
7865
  /**
7624
- * 审批查询
7866
+ * 原生审批任务
7625
7867
  */
7626
7868
  task: {
7627
7869
  /**
@@ -7879,7 +8121,7 @@ declare abstract class Client$X extends Client$Y {
7879
8121
  };
7880
8122
  v4: {
7881
8123
  /**
7882
- * 事件
8124
+ * 原生审批定义
7883
8125
  */
7884
8126
  approval: {
7885
8127
  /**
@@ -9158,7 +9400,7 @@ declare abstract class Client$X extends Client$Y {
9158
9400
  }>;
9159
9401
  };
9160
9402
  /**
9161
- * 审批查询
9403
+ * 原生审批任务
9162
9404
  */
9163
9405
  task: {
9164
9406
  /**
@@ -18737,6 +18979,7 @@ declare abstract class Client$R extends Client$S {
18737
18979
  params?: {
18738
18980
  user_id_type?: "user_id" | "union_id" | "open_id";
18739
18981
  client_token?: string;
18982
+ ignore_consistency_check?: boolean;
18740
18983
  };
18741
18984
  path: {
18742
18985
  app_token: string;
@@ -18969,6 +19212,7 @@ declare abstract class Client$R extends Client$S {
18969
19212
  };
18970
19213
  params?: {
18971
19214
  user_id_type?: "user_id" | "union_id" | "open_id";
19215
+ ignore_consistency_check?: boolean;
18972
19216
  };
18973
19217
  path: {
18974
19218
  app_token: string;
@@ -19075,6 +19319,7 @@ declare abstract class Client$R extends Client$S {
19075
19319
  params?: {
19076
19320
  user_id_type?: "user_id" | "union_id" | "open_id";
19077
19321
  client_token?: string;
19322
+ ignore_consistency_check?: boolean;
19078
19323
  };
19079
19324
  path: {
19080
19325
  app_token: string;
@@ -19635,6 +19880,7 @@ declare abstract class Client$R extends Client$S {
19635
19880
  };
19636
19881
  params?: {
19637
19882
  user_id_type?: "user_id" | "union_id" | "open_id";
19883
+ ignore_consistency_check?: boolean;
19638
19884
  };
19639
19885
  path: {
19640
19886
  app_token: string;
@@ -21509,6 +21755,7 @@ declare abstract class Client$R extends Client$S {
21509
21755
  params?: {
21510
21756
  user_id_type?: "user_id" | "union_id" | "open_id";
21511
21757
  client_token?: string;
21758
+ ignore_consistency_check?: boolean;
21512
21759
  };
21513
21760
  path: {
21514
21761
  app_token: string;
@@ -21741,6 +21988,7 @@ declare abstract class Client$R extends Client$S {
21741
21988
  };
21742
21989
  params?: {
21743
21990
  user_id_type?: "user_id" | "union_id" | "open_id";
21991
+ ignore_consistency_check?: boolean;
21744
21992
  };
21745
21993
  path: {
21746
21994
  app_token: string;
@@ -21847,6 +22095,7 @@ declare abstract class Client$R extends Client$S {
21847
22095
  params?: {
21848
22096
  user_id_type?: "user_id" | "union_id" | "open_id";
21849
22097
  client_token?: string;
22098
+ ignore_consistency_check?: boolean;
21850
22099
  };
21851
22100
  path: {
21852
22101
  app_token: string;
@@ -22407,6 +22656,7 @@ declare abstract class Client$R extends Client$S {
22407
22656
  };
22408
22657
  params?: {
22409
22658
  user_id_type?: "user_id" | "union_id" | "open_id";
22659
+ ignore_consistency_check?: boolean;
22410
22660
  };
22411
22661
  path: {
22412
22662
  app_token: string;
@@ -27438,7 +27688,7 @@ declare abstract class Client$L extends Client$M {
27438
27688
  httpInstance: HttpInstance;
27439
27689
  abstract formatPayload(payload?: IPayload, options?: IRequestOptions$1): Promise<Required<IPayload>>;
27440
27690
  /**
27441
- * 搜索
27691
+ * 通讯录
27442
27692
  */
27443
27693
  contact: {
27444
27694
  /**
@@ -35850,6 +36100,9 @@ declare abstract class Client$I extends Client$J {
35850
36100
  value: string;
35851
36101
  }[] | undefined;
35852
36102
  registered_office_address_info?: {
36103
+ full_address_local_script?: string | undefined;
36104
+ full_address_western_script?: string | undefined;
36105
+ id?: string | undefined;
35853
36106
  country_region_id: string;
35854
36107
  region_id?: string | undefined;
35855
36108
  city_id?: string | undefined;
@@ -35873,8 +36126,20 @@ declare abstract class Client$I extends Client$J {
35873
36126
  local_address_line8?: string | undefined;
35874
36127
  local_address_line9?: string | undefined;
35875
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;
35876
36138
  } | undefined;
35877
36139
  office_address_info?: {
36140
+ full_address_local_script?: string | undefined;
36141
+ full_address_western_script?: string | undefined;
36142
+ id?: string | undefined;
35878
36143
  country_region_id: string;
35879
36144
  region_id?: string | undefined;
35880
36145
  city_id?: string | undefined;
@@ -35898,6 +36163,15 @@ declare abstract class Client$I extends Client$J {
35898
36163
  local_address_line8?: string | undefined;
35899
36164
  local_address_line9?: string | undefined;
35900
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;
35901
36175
  } | undefined;
35902
36176
  } | undefined;
35903
36177
  } | undefined;
@@ -36026,6 +36300,9 @@ declare abstract class Client$I extends Client$J {
36026
36300
  value: string;
36027
36301
  }[] | undefined;
36028
36302
  registered_office_address_info?: {
36303
+ full_address_local_script?: string | undefined;
36304
+ full_address_western_script?: string | undefined;
36305
+ id?: string | undefined;
36029
36306
  country_region_id: string;
36030
36307
  region_id?: string | undefined;
36031
36308
  city_id?: string | undefined;
@@ -36049,8 +36326,20 @@ declare abstract class Client$I extends Client$J {
36049
36326
  local_address_line8?: string | undefined;
36050
36327
  local_address_line9?: string | undefined;
36051
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;
36052
36338
  } | undefined;
36053
36339
  office_address_info?: {
36340
+ full_address_local_script?: string | undefined;
36341
+ full_address_western_script?: string | undefined;
36342
+ id?: string | undefined;
36054
36343
  country_region_id: string;
36055
36344
  region_id?: string | undefined;
36056
36345
  city_id?: string | undefined;
@@ -36074,6 +36363,15 @@ declare abstract class Client$I extends Client$J {
36074
36363
  local_address_line8?: string | undefined;
36075
36364
  local_address_line9?: string | undefined;
36076
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;
36077
36375
  } | undefined;
36078
36376
  }[] | undefined;
36079
36377
  has_more?: boolean | undefined;
@@ -45114,6 +45412,9 @@ declare abstract class Client$I extends Client$J {
45114
45412
  value: string;
45115
45413
  }[] | undefined;
45116
45414
  registered_office_address_info?: {
45415
+ full_address_local_script?: string | undefined;
45416
+ full_address_western_script?: string | undefined;
45417
+ id?: string | undefined;
45117
45418
  country_region_id: string;
45118
45419
  region_id?: string | undefined;
45119
45420
  city_id?: string | undefined;
@@ -45137,8 +45438,20 @@ declare abstract class Client$I extends Client$J {
45137
45438
  local_address_line8?: string | undefined;
45138
45439
  local_address_line9?: string | undefined;
45139
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;
45140
45450
  } | undefined;
45141
45451
  office_address_info?: {
45452
+ full_address_local_script?: string | undefined;
45453
+ full_address_western_script?: string | undefined;
45454
+ id?: string | undefined;
45142
45455
  country_region_id: string;
45143
45456
  region_id?: string | undefined;
45144
45457
  city_id?: string | undefined;
@@ -45162,6 +45475,15 @@ declare abstract class Client$I extends Client$J {
45162
45475
  local_address_line8?: string | undefined;
45163
45476
  local_address_line9?: string | undefined;
45164
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;
45165
45487
  } | undefined;
45166
45488
  } | undefined;
45167
45489
  } | undefined;
@@ -45290,6 +45612,9 @@ declare abstract class Client$I extends Client$J {
45290
45612
  value: string;
45291
45613
  }[] | undefined;
45292
45614
  registered_office_address_info?: {
45615
+ full_address_local_script?: string | undefined;
45616
+ full_address_western_script?: string | undefined;
45617
+ id?: string | undefined;
45293
45618
  country_region_id: string;
45294
45619
  region_id?: string | undefined;
45295
45620
  city_id?: string | undefined;
@@ -45313,8 +45638,20 @@ declare abstract class Client$I extends Client$J {
45313
45638
  local_address_line8?: string | undefined;
45314
45639
  local_address_line9?: string | undefined;
45315
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;
45316
45650
  } | undefined;
45317
45651
  office_address_info?: {
45652
+ full_address_local_script?: string | undefined;
45653
+ full_address_western_script?: string | undefined;
45654
+ id?: string | undefined;
45318
45655
  country_region_id: string;
45319
45656
  region_id?: string | undefined;
45320
45657
  city_id?: string | undefined;
@@ -45338,6 +45675,15 @@ declare abstract class Client$I extends Client$J {
45338
45675
  local_address_line8?: string | undefined;
45339
45676
  local_address_line9?: string | undefined;
45340
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;
45341
45687
  } | undefined;
45342
45688
  }[] | undefined;
45343
45689
  has_more?: boolean | undefined;
@@ -53565,7 +53911,7 @@ declare abstract class Client$I extends Client$J {
53565
53911
  };
53566
53912
  }, options?: IRequestOptions$1) => Promise<{
53567
53913
  [Symbol.asyncIterator](): AsyncGenerator<{
53568
- approvers?: {
53914
+ approver_list?: {
53569
53915
  approver_id?: string | undefined;
53570
53916
  process_id?: string | undefined;
53571
53917
  approver_status?: number | undefined;
@@ -53591,7 +53937,7 @@ declare abstract class Client$I extends Client$J {
53591
53937
  data?: {
53592
53938
  page_token?: string | undefined;
53593
53939
  has_more?: boolean | undefined;
53594
- approvers?: {
53940
+ approver_list?: {
53595
53941
  approver_id?: string | undefined;
53596
53942
  process_id?: string | undefined;
53597
53943
  approver_status?: number | undefined;
@@ -53678,6 +54024,8 @@ declare abstract class Client$I extends Client$J {
53678
54024
  bank_id_list?: Array<string>;
53679
54025
  bank_branch_id_list?: Array<string>;
53680
54026
  bank_branch_name_list?: Array<string>;
54027
+ code_list?: Array<string>;
54028
+ name_list?: Array<string>;
53681
54029
  status_list?: Array<number>;
53682
54030
  update_start_time?: string;
53683
54031
  update_end_time?: string;
@@ -53690,6 +54038,10 @@ declare abstract class Client$I extends Client$J {
53690
54038
  [Symbol.asyncIterator](): AsyncGenerator<{
53691
54039
  items?: {
53692
54040
  bank_branch_id?: string | undefined;
54041
+ name?: {
54042
+ lang: string;
54043
+ value: string;
54044
+ }[] | undefined;
53693
54045
  bank_branch_name?: {
53694
54046
  lang: string;
53695
54047
  value: string;
@@ -53716,6 +54068,8 @@ declare abstract class Client$I extends Client$J {
53716
54068
  bank_id_list?: Array<string>;
53717
54069
  bank_branch_id_list?: Array<string>;
53718
54070
  bank_branch_name_list?: Array<string>;
54071
+ code_list?: Array<string>;
54072
+ name_list?: Array<string>;
53719
54073
  status_list?: Array<number>;
53720
54074
  update_start_time?: string;
53721
54075
  update_end_time?: string;
@@ -53730,6 +54084,10 @@ declare abstract class Client$I extends Client$J {
53730
54084
  data?: {
53731
54085
  items?: {
53732
54086
  bank_branch_id?: string | undefined;
54087
+ name?: {
54088
+ lang: string;
54089
+ value: string;
54090
+ }[] | undefined;
53733
54091
  bank_branch_name?: {
53734
54092
  lang: string;
53735
54093
  value: string;
@@ -56637,6 +56995,7 @@ declare abstract class Client$I extends Client$J {
56637
56995
  contract_end_date?: string | undefined;
56638
56996
  contract_expected_end_date?: string | undefined;
56639
56997
  pay_group_id?: string | undefined;
56998
+ assignment_pay_group_id?: string | undefined;
56640
56999
  international_assignment?: boolean | undefined;
56641
57000
  work_calendar_id?: string | undefined;
56642
57001
  department?: {
@@ -58261,6 +58620,7 @@ declare abstract class Client$I extends Client$J {
58261
58620
  contract_end_date?: string | undefined;
58262
58621
  contract_expected_end_date?: string | undefined;
58263
58622
  pay_group_id?: string | undefined;
58623
+ assignment_pay_group_id?: string | undefined;
58264
58624
  international_assignment?: boolean | undefined;
58265
58625
  work_calendar_id?: string | undefined;
58266
58626
  department?: {
@@ -59467,6 +59827,7 @@ declare abstract class Client$I extends Client$J {
59467
59827
  contract_end_date?: string | undefined;
59468
59828
  contract_expected_end_date?: string | undefined;
59469
59829
  pay_group_id?: string | undefined;
59830
+ assignment_pay_group_id?: string | undefined;
59470
59831
  international_assignment?: boolean | undefined;
59471
59832
  work_calendar_id?: string | undefined;
59472
59833
  department?: {
@@ -59553,6 +59914,314 @@ declare abstract class Client$I extends Client$J {
59553
59914
  } | undefined;
59554
59915
  }>;
59555
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
+ };
59556
60225
  /**
59557
60226
  * employees.bp
59558
60227
  */
@@ -60714,6 +61383,52 @@ declare abstract class Client$I extends Client$J {
60714
61383
  data?: {} | undefined;
60715
61384
  }>;
60716
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
+ }>;
61431
+ };
60717
61432
  /**
60718
61433
  * person
60719
61434
  */
@@ -132286,7 +133001,7 @@ declare abstract class Client$E extends Client$F {
132286
133001
  }>;
132287
133002
  };
132288
133003
  /**
132289
- * 文件夹
133004
+ * 文件
132290
133005
  */
132291
133006
  file: {
132292
133007
  /**
@@ -134245,7 +134960,7 @@ declare abstract class Client$E extends Client$F {
134245
134960
  }>;
134246
134961
  };
134247
134962
  /**
134248
- * 文件夹
134963
+ * 文件
134249
134964
  */
134250
134965
  file: {
134251
134966
  /**
@@ -141048,7 +141763,7 @@ declare abstract class Client$u extends Client$v {
141048
141763
  }>;
141049
141764
  };
141050
141765
  /**
141051
- * 投递
141766
+ * 入职
141052
141767
  */
141053
141768
  application: {
141054
141769
  /**
@@ -153187,7 +153902,7 @@ declare abstract class Client$u extends Client$v {
153187
153902
  }>;
153188
153903
  };
153189
153904
  /**
153190
- * 投递
153905
+ * 入职
153191
153906
  */
153192
153907
  application: {
153193
153908
  /**
@@ -166823,7 +167538,7 @@ declare abstract class Client$s extends Client$t {
166823
167538
  }>;
166824
167539
  };
166825
167540
  /**
166826
- * 消息
167541
+ * 消息加急
166827
167542
  */
166828
167543
  message: {
166829
167544
  /**
@@ -169471,7 +170186,7 @@ declare abstract class Client$s extends Client$t {
169471
170186
  }>;
169472
170187
  };
169473
170188
  /**
169474
- * 消息
170189
+ * 消息加急
169475
170190
  */
169476
170191
  message: {
169477
170192
  /**