@larksuiteoapi/node-sdk 1.8.1 → 1.10.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 +899 -171
  2. package/lib/index.js +899 -171
  3. package/package.json +1 -1
  4. package/types/index.d.ts +1682 -115
package/types/index.d.ts CHANGED
@@ -13,8 +13,12 @@
13
13
  import { AxiosRequestConfig } from 'axios';
14
14
 
15
15
  interface Cache {
16
- set: (key: string | Symbol, value: any, expire?: number) => Promise<boolean>;
17
- get: (key: string | Symbol) => Promise<any>;
16
+ set: (key: string | Symbol, value: any, expire?: number, options?: {
17
+ namespace?: string;
18
+ }) => Promise<boolean>;
19
+ get: (key: string | Symbol, options?: {
20
+ namespace?: string;
21
+ }) => Promise<any>;
18
22
  }
19
23
  interface Logger {
20
24
  error: (...msg: any[]) => void | Promise<void>;
@@ -364,7 +368,7 @@ declare abstract class Client$1 {
364
368
  };
365
369
  };
366
370
  /**
367
- * 管理后台-企业勋章
371
+ * 管理后台-密码
368
372
  */
369
373
  admin: {
370
374
  /**
@@ -1949,6 +1953,7 @@ declare abstract class Client$1 {
1949
1953
  approver_range_type?: number;
1950
1954
  approver_range_ids?: Array<string>;
1951
1955
  }>;
1956
+ require_signature?: boolean;
1952
1957
  }>;
1953
1958
  viewers: Array<{
1954
1959
  type: "TENANT" | "DEPARTMENT" | "USER" | "ROLE" | "USER_GROUP" | "NONE";
@@ -2184,7 +2189,7 @@ declare abstract class Client$1 {
2184
2189
  update_time?: string;
2185
2190
  action_context?: string;
2186
2191
  action_configs?: Array<{
2187
- action_type: "APPROVE" | "REJECT" | "{KEY}";
2192
+ action_type: string;
2188
2193
  action_name?: string;
2189
2194
  is_need_reason?: boolean;
2190
2195
  is_reason_required?: boolean;
@@ -2225,6 +2230,7 @@ declare abstract class Client$1 {
2225
2230
  action_definition_url?: string;
2226
2231
  approval_node_url?: string;
2227
2232
  action_callback_url?: string;
2233
+ pull_business_data_url?: string;
2228
2234
  };
2229
2235
  };
2230
2236
  }, options?: IRequestOptions$1) => Promise<{
@@ -2271,7 +2277,7 @@ declare abstract class Client$1 {
2271
2277
  update_time?: string | undefined;
2272
2278
  action_context?: string | undefined;
2273
2279
  action_configs?: {
2274
- action_type: "APPROVE" | "REJECT" | "{KEY}";
2280
+ action_type: string;
2275
2281
  action_name?: string | undefined;
2276
2282
  is_need_reason?: boolean | undefined;
2277
2283
  is_reason_required?: boolean | undefined;
@@ -2312,6 +2318,7 @@ declare abstract class Client$1 {
2312
2318
  action_definition_url?: string | undefined;
2313
2319
  approval_node_url?: string | undefined;
2314
2320
  action_callback_url?: string | undefined;
2321
+ pull_business_data_url?: string | undefined;
2315
2322
  } | undefined;
2316
2323
  } | undefined;
2317
2324
  } | undefined;
@@ -2390,7 +2397,7 @@ declare abstract class Client$1 {
2390
2397
  }>;
2391
2398
  };
2392
2399
  /**
2393
- * 原生审批实例
2400
+ * 审批查询
2394
2401
  */
2395
2402
  instance: {
2396
2403
  /**
@@ -2497,6 +2504,7 @@ declare abstract class Client$1 {
2497
2504
  uuid?: string;
2498
2505
  allow_resubmit?: boolean;
2499
2506
  allow_submit_again?: boolean;
2507
+ cancel_bot_notification?: string;
2500
2508
  };
2501
2509
  }, options?: IRequestOptions$1) => Promise<{
2502
2510
  code?: number | undefined;
@@ -2584,17 +2592,12 @@ declare abstract class Client$1 {
2584
2592
  title?: string;
2585
2593
  type?: string;
2586
2594
  }>;
2587
- file_list?: Array<{
2588
- url?: string;
2589
- file_size?: number;
2590
- title?: string;
2591
- type?: string;
2592
- }>;
2593
2595
  }>;
2594
2596
  modified_instance_code?: string | undefined;
2595
2597
  reverted_instance_code?: string | undefined;
2596
2598
  approval_code: string;
2597
2599
  reverted?: boolean | undefined;
2600
+ instance_code: string;
2598
2601
  } | undefined;
2599
2602
  }>;
2600
2603
  listWithIterator: (payload?: {
@@ -2699,6 +2702,8 @@ declare abstract class Client$1 {
2699
2702
  external?: {
2700
2703
  batch_cc_read?: boolean | undefined;
2701
2704
  } | undefined;
2705
+ approval_id?: string | undefined;
2706
+ icon?: string | undefined;
2702
2707
  } | undefined;
2703
2708
  group?: {
2704
2709
  external_id?: string | undefined;
@@ -2762,6 +2767,8 @@ declare abstract class Client$1 {
2762
2767
  external?: {
2763
2768
  batch_cc_read?: boolean | undefined;
2764
2769
  } | undefined;
2770
+ approval_id?: string | undefined;
2771
+ icon?: string | undefined;
2765
2772
  } | undefined;
2766
2773
  group?: {
2767
2774
  external_id?: string | undefined;
@@ -2827,6 +2834,8 @@ declare abstract class Client$1 {
2827
2834
  external?: {
2828
2835
  batch_cc_read?: boolean | undefined;
2829
2836
  } | undefined;
2837
+ approval_id?: string | undefined;
2838
+ icon?: string | undefined;
2830
2839
  } | undefined;
2831
2840
  group?: {
2832
2841
  external_id?: string | undefined;
@@ -3234,6 +3243,8 @@ declare abstract class Client$1 {
3234
3243
  external?: {
3235
3244
  batch_cc_read?: boolean | undefined;
3236
3245
  } | undefined;
3246
+ approval_id?: string | undefined;
3247
+ icon?: string | undefined;
3237
3248
  } | undefined;
3238
3249
  group?: {
3239
3250
  external_id?: string | undefined;
@@ -4939,6 +4950,121 @@ declare abstract class Client$1 {
4939
4950
  }>;
4940
4951
  };
4941
4952
  };
4953
+ /**
4954
+
4955
+ */
4956
+ authen: {
4957
+ /**
4958
+ * access_token
4959
+ */
4960
+ accessToken: {
4961
+ /**
4962
+ * {@link https://open.feishu.cn/api-explorer?project=authen&resource=access_token&apiName=create&version=v1 click to debug }
4963
+ *
4964
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=authen&resource=access_token&version=v1 document }
4965
+ */
4966
+ create: (payload?: {
4967
+ data: {
4968
+ grant_type: string;
4969
+ code: string;
4970
+ };
4971
+ }, options?: IRequestOptions$1) => Promise<{
4972
+ code?: number | undefined;
4973
+ msg?: string | undefined;
4974
+ data?: {
4975
+ access_token?: string | undefined;
4976
+ token_type?: string | undefined;
4977
+ expires_in?: number | undefined;
4978
+ name?: string | undefined;
4979
+ en_name?: string | undefined;
4980
+ avatar_url?: string | undefined;
4981
+ avatar_thumb?: string | undefined;
4982
+ avatar_middle?: string | undefined;
4983
+ avatar_big?: string | undefined;
4984
+ open_id?: string | undefined;
4985
+ union_id?: string | undefined;
4986
+ email?: string | undefined;
4987
+ enterprise_email?: string | undefined;
4988
+ user_id?: string | undefined;
4989
+ mobile?: string | undefined;
4990
+ tenant_key?: string | undefined;
4991
+ refresh_expires_in?: number | undefined;
4992
+ refresh_token?: string | undefined;
4993
+ sid?: string | undefined;
4994
+ } | undefined;
4995
+ }>;
4996
+ };
4997
+ /**
4998
+ * refresh_access_token
4999
+ */
5000
+ refreshAccessToken: {
5001
+ /**
5002
+ * {@link https://open.feishu.cn/api-explorer?project=authen&resource=refresh_access_token&apiName=create&version=v1 click to debug }
5003
+ *
5004
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=authen&resource=refresh_access_token&version=v1 document }
5005
+ */
5006
+ create: (payload?: {
5007
+ data: {
5008
+ grant_type: string;
5009
+ refresh_token: string;
5010
+ };
5011
+ }, options?: IRequestOptions$1) => Promise<{
5012
+ code?: number | undefined;
5013
+ msg?: string | undefined;
5014
+ data?: {
5015
+ access_token?: string | undefined;
5016
+ token_type?: string | undefined;
5017
+ expires_in?: number | undefined;
5018
+ name?: string | undefined;
5019
+ en_name?: string | undefined;
5020
+ avatar_url?: string | undefined;
5021
+ avatar_thumb?: string | undefined;
5022
+ avatar_middle?: string | undefined;
5023
+ avatar_big?: string | undefined;
5024
+ open_id?: string | undefined;
5025
+ union_id?: string | undefined;
5026
+ email?: string | undefined;
5027
+ enterprise_email?: string | undefined;
5028
+ user_id?: string | undefined;
5029
+ mobile?: string | undefined;
5030
+ tenant_key?: string | undefined;
5031
+ refresh_expires_in?: number | undefined;
5032
+ refresh_token?: string | undefined;
5033
+ sid?: string | undefined;
5034
+ } | undefined;
5035
+ }>;
5036
+ };
5037
+ /**
5038
+ * user_info
5039
+ */
5040
+ userInfo: {
5041
+ /**
5042
+ * {@link https://open.feishu.cn/api-explorer?project=authen&resource=user_info&apiName=get&version=v1 click to debug }
5043
+ *
5044
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=authen&resource=user_info&version=v1 document }
5045
+ */
5046
+ get: (payload?: {}, options?: IRequestOptions$1) => Promise<{
5047
+ code?: number | undefined;
5048
+ msg?: string | undefined;
5049
+ data?: {
5050
+ name?: string | undefined;
5051
+ en_name?: string | undefined;
5052
+ avatar_url?: string | undefined;
5053
+ avatar_thumb?: string | undefined;
5054
+ avatar_middle?: string | undefined;
5055
+ avatar_big?: string | undefined;
5056
+ open_id?: string | undefined;
5057
+ union_id?: string | undefined;
5058
+ email?: string | undefined;
5059
+ enterprise_email?: string | undefined;
5060
+ user_id?: string | undefined;
5061
+ mobile?: string | undefined;
5062
+ tenant_key?: string | undefined;
5063
+ employee_no?: string | undefined;
5064
+ } | undefined;
5065
+ }>;
5066
+ };
5067
+ };
4942
5068
  /**
4943
5069
 
4944
5070
  */
@@ -6769,17 +6895,47 @@ declare abstract class Client$1 {
6769
6895
  */
6770
6896
  batchCreate: (payload?: {
6771
6897
  data?: {
6772
- tables?: Array<{
6773
- name?: string;
6774
- }>;
6775
- };
6898
+ tables?: {
6899
+ name?: string | undefined;
6900
+ default_view_name?: string | undefined;
6901
+ fields?: {
6902
+ field_name: string;
6903
+ type: number;
6904
+ property?: {
6905
+ options?: {
6906
+ name?: string | undefined;
6907
+ id?: string | undefined;
6908
+ color?: number | undefined;
6909
+ }[] | undefined;
6910
+ formatter?: string | undefined;
6911
+ date_formatter?: string | undefined;
6912
+ auto_fill?: boolean | undefined;
6913
+ multiple?: boolean | undefined;
6914
+ table_id?: string | undefined;
6915
+ table_name?: string | undefined;
6916
+ back_field_name?: string | undefined;
6917
+ auto_serial?: {
6918
+ type: "custom" | "auto_increment_number";
6919
+ options?: {
6920
+ type: "system_number" | "fixed_text" | "created_time";
6921
+ value: string;
6922
+ }[] | undefined;
6923
+ } | undefined;
6924
+ location?: {
6925
+ input_type: "only_mobile" | "not_limit";
6926
+ } | undefined;
6927
+ formula_expression?: string | undefined;
6928
+ } | undefined;
6929
+ }[] | undefined;
6930
+ }[] | undefined;
6931
+ } | undefined;
6776
6932
  params?: {
6777
- user_id_type?: "user_id" | "union_id" | "open_id";
6778
- };
6933
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
6934
+ } | undefined;
6779
6935
  path: {
6780
6936
  app_token: string;
6781
6937
  };
6782
- }, options?: IRequestOptions$1) => Promise<{
6938
+ } | undefined, options?: IRequestOptions$1) => Promise<{
6783
6939
  code?: number | undefined;
6784
6940
  msg?: string | undefined;
6785
6941
  data?: {
@@ -6823,20 +6979,49 @@ declare abstract class Client$1 {
6823
6979
  create: (payload?: {
6824
6980
  data?: {
6825
6981
  table?: {
6826
- name?: string;
6827
- };
6828
- };
6829
- params?: {
6830
- user_id_type?: "user_id" | "union_id" | "open_id";
6831
- };
6982
+ name?: string | undefined;
6983
+ default_view_name?: string | undefined;
6984
+ fields?: {
6985
+ field_name: string;
6986
+ type: number;
6987
+ property?: {
6988
+ options?: {
6989
+ name?: string | undefined;
6990
+ id?: string | undefined;
6991
+ color?: number | undefined;
6992
+ }[] | undefined;
6993
+ formatter?: string | undefined;
6994
+ date_formatter?: string | undefined;
6995
+ auto_fill?: boolean | undefined;
6996
+ multiple?: boolean | undefined;
6997
+ table_id?: string | undefined;
6998
+ table_name?: string | undefined;
6999
+ back_field_name?: string | undefined;
7000
+ auto_serial?: {
7001
+ type: "custom" | "auto_increment_number";
7002
+ options?: {
7003
+ type: "system_number" | "fixed_text" | "created_time";
7004
+ value: string;
7005
+ }[] | undefined;
7006
+ } | undefined;
7007
+ location?: {
7008
+ input_type: "only_mobile" | "not_limit";
7009
+ } | undefined;
7010
+ formula_expression?: string | undefined;
7011
+ } | undefined;
7012
+ }[] | undefined;
7013
+ } | undefined;
7014
+ } | undefined;
6832
7015
  path: {
6833
7016
  app_token: string;
6834
7017
  };
6835
- }, options?: IRequestOptions$1) => Promise<{
7018
+ } | undefined, options?: IRequestOptions$1) => Promise<{
6836
7019
  code?: number | undefined;
6837
7020
  msg?: string | undefined;
6838
7021
  data?: {
6839
7022
  table_id?: string | undefined;
7023
+ default_view_id?: string | undefined;
7024
+ field_id_list?: string[] | undefined;
6840
7025
  } | undefined;
6841
7026
  }>;
6842
7027
  /**
@@ -6911,6 +7096,26 @@ declare abstract class Client$1 {
6911
7096
  }[] | undefined;
6912
7097
  } | undefined;
6913
7098
  }>;
7099
+ /**
7100
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=patch&version=v1 click to debug }
7101
+ *
7102
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/patch document }
7103
+ */
7104
+ patch: (payload?: {
7105
+ data?: {
7106
+ name?: string;
7107
+ };
7108
+ path: {
7109
+ app_token: string;
7110
+ table_id: string;
7111
+ };
7112
+ }, options?: IRequestOptions$1) => Promise<{
7113
+ code?: number | undefined;
7114
+ msg?: string | undefined;
7115
+ data?: {
7116
+ name?: string | undefined;
7117
+ } | undefined;
7118
+ }>;
6914
7119
  };
6915
7120
  /**
6916
7121
  * 字段
@@ -6961,6 +7166,9 @@ declare abstract class Client$1 {
6961
7166
  text?: string | undefined;
6962
7167
  } | undefined;
6963
7168
  };
7169
+ params?: {
7170
+ client_token?: string | undefined;
7171
+ } | undefined;
6964
7172
  path: {
6965
7173
  app_token: string;
6966
7174
  table_id: string;
@@ -7463,6 +7671,7 @@ declare abstract class Client$1 {
7463
7671
  };
7464
7672
  params?: {
7465
7673
  user_id_type?: "user_id" | "union_id" | "open_id";
7674
+ client_token?: string;
7466
7675
  };
7467
7676
  path: {
7468
7677
  app_token: string;
@@ -7693,6 +7902,7 @@ declare abstract class Client$1 {
7693
7902
  };
7694
7903
  params?: {
7695
7904
  user_id_type?: "user_id" | "union_id" | "open_id";
7905
+ client_token?: string;
7696
7906
  };
7697
7907
  path: {
7698
7908
  app_token: string;
@@ -8112,7 +8322,7 @@ declare abstract class Client$1 {
8112
8322
  conjunction: "and" | "or";
8113
8323
  conditions: Array<{
8114
8324
  field_id: string;
8115
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8325
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8116
8326
  value?: string;
8117
8327
  condition_id?: string;
8118
8328
  field_type?: string;
@@ -8174,7 +8384,7 @@ declare abstract class Client$1 {
8174
8384
  conjunction: "and" | "or";
8175
8385
  conditions: Array<{
8176
8386
  field_id: string;
8177
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8387
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8178
8388
  value?: string;
8179
8389
  condition_id?: string;
8180
8390
  field_type?: string;
@@ -8206,7 +8416,7 @@ declare abstract class Client$1 {
8206
8416
  conjunction: "and" | "or";
8207
8417
  conditions: Array<{
8208
8418
  field_id: string;
8209
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8419
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8210
8420
  value?: string;
8211
8421
  condition_id?: string;
8212
8422
  field_type?: string;
@@ -8252,7 +8462,7 @@ declare abstract class Client$1 {
8252
8462
  conjunction: "and" | "or";
8253
8463
  conditions: Array<{
8254
8464
  field_id: string;
8255
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8465
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8256
8466
  value?: string;
8257
8467
  condition_id?: string;
8258
8468
  field_type?: string;
@@ -8284,7 +8494,7 @@ declare abstract class Client$1 {
8284
8494
  conjunction: "and" | "or";
8285
8495
  conditions: Array<{
8286
8496
  field_id: string;
8287
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8497
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8288
8498
  value?: string;
8289
8499
  }>;
8290
8500
  };
@@ -8309,7 +8519,7 @@ declare abstract class Client$1 {
8309
8519
  conjunction: "and" | "or";
8310
8520
  conditions: Array<{
8311
8521
  field_id: string;
8312
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8522
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8313
8523
  value?: string;
8314
8524
  condition_id?: string;
8315
8525
  field_type?: string;
@@ -10150,6 +10360,7 @@ declare abstract class Client$1 {
10150
10360
  leaderID: string;
10151
10361
  }[] | undefined;
10152
10362
  group_chat_employee_types?: number[] | undefined;
10363
+ department_hrbps?: string[] | undefined;
10153
10364
  }[] | undefined;
10154
10365
  } | null, void, unknown>;
10155
10366
  }>;
@@ -10205,6 +10416,7 @@ declare abstract class Client$1 {
10205
10416
  leaderID: string;
10206
10417
  }[] | undefined;
10207
10418
  group_chat_employee_types?: number[] | undefined;
10419
+ department_hrbps?: string[] | undefined;
10208
10420
  }[] | undefined;
10209
10421
  } | undefined;
10210
10422
  }>;
@@ -10238,6 +10450,7 @@ declare abstract class Client$1 {
10238
10450
  leaderID: string;
10239
10451
  }>;
10240
10452
  group_chat_employee_types?: Array<number>;
10453
+ department_hrbps?: Array<string>;
10241
10454
  };
10242
10455
  params?: {
10243
10456
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -10271,6 +10484,7 @@ declare abstract class Client$1 {
10271
10484
  leaderID: string;
10272
10485
  }[] | undefined;
10273
10486
  group_chat_employee_types?: number[] | undefined;
10487
+ department_hrbps?: string[] | undefined;
10274
10488
  } | undefined;
10275
10489
  } | undefined;
10276
10490
  }>;
@@ -10343,6 +10557,7 @@ declare abstract class Client$1 {
10343
10557
  leaderID: string;
10344
10558
  }[] | undefined;
10345
10559
  group_chat_employee_types?: number[] | undefined;
10560
+ department_hrbps?: string[] | undefined;
10346
10561
  } | undefined;
10347
10562
  } | undefined;
10348
10563
  }>;
@@ -10380,6 +10595,7 @@ declare abstract class Client$1 {
10380
10595
  leaderID: string;
10381
10596
  }[] | undefined;
10382
10597
  group_chat_employee_types?: number[] | undefined;
10598
+ department_hrbps?: string[] | undefined;
10383
10599
  }[] | undefined;
10384
10600
  } | null, void, unknown>;
10385
10601
  }>;
@@ -10426,6 +10642,7 @@ declare abstract class Client$1 {
10426
10642
  leaderID: string;
10427
10643
  }[] | undefined;
10428
10644
  group_chat_employee_types?: number[] | undefined;
10645
+ department_hrbps?: string[] | undefined;
10429
10646
  }[] | undefined;
10430
10647
  } | undefined;
10431
10648
  }>;
@@ -10462,6 +10679,7 @@ declare abstract class Client$1 {
10462
10679
  leaderID: string;
10463
10680
  }[] | undefined;
10464
10681
  group_chat_employee_types?: number[] | undefined;
10682
+ department_hrbps?: string[] | undefined;
10465
10683
  }[] | undefined;
10466
10684
  } | null, void, unknown>;
10467
10685
  }>;
@@ -10513,6 +10731,7 @@ declare abstract class Client$1 {
10513
10731
  leaderID: string;
10514
10732
  }[] | undefined;
10515
10733
  group_chat_employee_types?: number[] | undefined;
10734
+ department_hrbps?: string[] | undefined;
10516
10735
  }[] | undefined;
10517
10736
  } | undefined;
10518
10737
  }>;
@@ -10545,6 +10764,7 @@ declare abstract class Client$1 {
10545
10764
  leaderID: string;
10546
10765
  }>;
10547
10766
  group_chat_employee_types?: Array<number>;
10767
+ department_hrbps?: Array<string>;
10548
10768
  };
10549
10769
  params?: {
10550
10770
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -10580,6 +10800,7 @@ declare abstract class Client$1 {
10580
10800
  leaderID: string;
10581
10801
  }[] | undefined;
10582
10802
  group_chat_employee_types?: number[] | undefined;
10803
+ department_hrbps?: string[] | undefined;
10583
10804
  } | undefined;
10584
10805
  } | undefined;
10585
10806
  }>;
@@ -10645,6 +10866,7 @@ declare abstract class Client$1 {
10645
10866
  leaderID: string;
10646
10867
  }[] | undefined;
10647
10868
  group_chat_employee_types?: number[] | undefined;
10869
+ department_hrbps?: string[] | undefined;
10648
10870
  }[] | undefined;
10649
10871
  page_token?: string | undefined;
10650
10872
  has_more: boolean;
@@ -11523,6 +11745,8 @@ declare abstract class Client$1 {
11523
11745
  language?: "zh-CN" | "en-US" | "ja-JP";
11524
11746
  };
11525
11747
  geo?: string;
11748
+ job_level_id?: string;
11749
+ job_family_id?: string;
11526
11750
  };
11527
11751
  params?: {
11528
11752
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -11609,6 +11833,8 @@ declare abstract class Client$1 {
11609
11833
  } | undefined;
11610
11834
  is_frozen?: boolean | undefined;
11611
11835
  geo?: string | undefined;
11836
+ job_level_id?: string | undefined;
11837
+ job_family_id?: string | undefined;
11612
11838
  } | undefined;
11613
11839
  } | undefined;
11614
11840
  }>;
@@ -11734,6 +11960,8 @@ declare abstract class Client$1 {
11734
11960
  } | undefined;
11735
11961
  is_frozen?: boolean | undefined;
11736
11962
  geo?: string | undefined;
11963
+ job_level_id?: string | undefined;
11964
+ job_family_id?: string | undefined;
11737
11965
  }[] | undefined;
11738
11966
  } | null, void, unknown>;
11739
11967
  }>;
@@ -11838,6 +12066,8 @@ declare abstract class Client$1 {
11838
12066
  } | undefined;
11839
12067
  is_frozen?: boolean | undefined;
11840
12068
  geo?: string | undefined;
12069
+ job_level_id?: string | undefined;
12070
+ job_family_id?: string | undefined;
11841
12071
  }[] | undefined;
11842
12072
  } | undefined;
11843
12073
  }>;
@@ -11929,6 +12159,8 @@ declare abstract class Client$1 {
11929
12159
  description?: string | undefined;
11930
12160
  job_title?: string | undefined;
11931
12161
  geo?: string | undefined;
12162
+ job_level_id?: string | undefined;
12163
+ job_family_id?: string | undefined;
11932
12164
  } | undefined;
11933
12165
  } | undefined;
11934
12166
  }>;
@@ -12009,6 +12241,8 @@ declare abstract class Client$1 {
12009
12241
  description?: string | undefined;
12010
12242
  job_title?: string | undefined;
12011
12243
  geo?: string | undefined;
12244
+ job_level_id?: string | undefined;
12245
+ job_family_id?: string | undefined;
12012
12246
  }[] | undefined;
12013
12247
  } | null, void, unknown>;
12014
12248
  }>;
@@ -12098,6 +12332,8 @@ declare abstract class Client$1 {
12098
12332
  description?: string | undefined;
12099
12333
  job_title?: string | undefined;
12100
12334
  geo?: string | undefined;
12335
+ job_level_id?: string | undefined;
12336
+ job_family_id?: string | undefined;
12101
12337
  }[] | undefined;
12102
12338
  } | undefined;
12103
12339
  }>;
@@ -12161,6 +12397,8 @@ declare abstract class Client$1 {
12161
12397
  job_title?: string;
12162
12398
  is_frozen?: boolean;
12163
12399
  geo?: string;
12400
+ job_level_id?: string;
12401
+ job_family_id?: string;
12164
12402
  };
12165
12403
  params?: {
12166
12404
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -12249,6 +12487,8 @@ declare abstract class Client$1 {
12249
12487
  } | undefined;
12250
12488
  is_frozen?: boolean | undefined;
12251
12489
  geo?: string | undefined;
12490
+ job_level_id?: string | undefined;
12491
+ job_family_id?: string | undefined;
12252
12492
  } | undefined;
12253
12493
  } | undefined;
12254
12494
  }>;
@@ -37084,7 +37324,7 @@ declare abstract class Client$1 {
37084
37324
  }>;
37085
37325
  };
37086
37326
  /**
37087
- * 下载
37327
+ * 文件夹
37088
37328
  */
37089
37329
  file: {
37090
37330
  /**
@@ -37548,6 +37788,204 @@ declare abstract class Client$1 {
37548
37788
  } | undefined;
37549
37789
  }>;
37550
37790
  };
37791
+ /**
37792
+ * 文档版本
37793
+ */
37794
+ fileVersion: {
37795
+ /**
37796
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=create&version=v1 click to debug }
37797
+ *
37798
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/create document }
37799
+ *
37800
+ * 创建文档版本
37801
+ *
37802
+ * 创建文档版本。
37803
+ */
37804
+ create: (payload?: {
37805
+ data?: {
37806
+ name?: string;
37807
+ version?: string;
37808
+ parent_token?: string;
37809
+ owner_id?: string;
37810
+ creator_id?: string;
37811
+ create_time?: string;
37812
+ update_time?: string;
37813
+ status?: "0" | "1" | "2";
37814
+ obj_type?: "doc" | "sheet" | "bitable" | "docx";
37815
+ parent_type?: "doc" | "sheet" | "bitable" | "docx";
37816
+ };
37817
+ params?: {
37818
+ user_id_type?: "user_id" | "union_id" | "open_id";
37819
+ };
37820
+ path: {
37821
+ file_token: string;
37822
+ };
37823
+ }, options?: IRequestOptions$1) => Promise<{
37824
+ code?: number | undefined;
37825
+ msg?: string | undefined;
37826
+ data?: {
37827
+ name?: string | undefined;
37828
+ version?: string | undefined;
37829
+ parent_token?: string | undefined;
37830
+ owner_id?: string | undefined;
37831
+ creator_id?: string | undefined;
37832
+ create_time?: string | undefined;
37833
+ update_time?: string | undefined;
37834
+ status?: "0" | "1" | "2" | undefined;
37835
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37836
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37837
+ } | undefined;
37838
+ }>;
37839
+ /**
37840
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=delete&version=v1 click to debug }
37841
+ *
37842
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/delete document }
37843
+ *
37844
+ * 删除文档版本
37845
+ *
37846
+ * 删除文档版本。
37847
+ */
37848
+ delete: (payload?: {
37849
+ params: {
37850
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37851
+ user_id_type?: "open_id" | "union_id" | "user_id";
37852
+ };
37853
+ path: {
37854
+ file_token: string;
37855
+ version_id: string;
37856
+ };
37857
+ }, options?: IRequestOptions$1) => Promise<{
37858
+ code?: number | undefined;
37859
+ msg?: string | undefined;
37860
+ data?: {} | undefined;
37861
+ }>;
37862
+ getWithIterator: (payload?: {
37863
+ params: {
37864
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37865
+ user_id_type?: "open_id" | "union_id" | "user_id";
37866
+ page_token?: string;
37867
+ page_size?: number;
37868
+ };
37869
+ path: {
37870
+ file_token: string;
37871
+ version_id: string;
37872
+ };
37873
+ }, options?: IRequestOptions$1) => Promise<{
37874
+ [Symbol.asyncIterator](): AsyncGenerator<{
37875
+ name?: string | undefined;
37876
+ version?: string | undefined;
37877
+ parent_token?: string | undefined;
37878
+ owner_id?: string | undefined;
37879
+ creator_id?: string | undefined;
37880
+ create_time?: string | undefined;
37881
+ update_time?: string | undefined;
37882
+ status?: "0" | "1" | "2" | undefined;
37883
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37884
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37885
+ } | null, void, unknown>;
37886
+ }>;
37887
+ /**
37888
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=get&version=v1 click to debug }
37889
+ *
37890
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/get document }
37891
+ *
37892
+ * 获取文档版本
37893
+ *
37894
+ * 获取文档版本。
37895
+ */
37896
+ get: (payload?: {
37897
+ params: {
37898
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37899
+ user_id_type?: "open_id" | "union_id" | "user_id";
37900
+ page_token?: string;
37901
+ page_size?: number;
37902
+ };
37903
+ path: {
37904
+ file_token: string;
37905
+ version_id: string;
37906
+ };
37907
+ }, options?: IRequestOptions$1) => Promise<{
37908
+ code?: number | undefined;
37909
+ msg?: string | undefined;
37910
+ data?: {
37911
+ name?: string | undefined;
37912
+ version?: string | undefined;
37913
+ parent_token?: string | undefined;
37914
+ owner_id?: string | undefined;
37915
+ creator_id?: string | undefined;
37916
+ create_time?: string | undefined;
37917
+ update_time?: string | undefined;
37918
+ status?: "0" | "1" | "2" | undefined;
37919
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37920
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37921
+ } | undefined;
37922
+ }>;
37923
+ listWithIterator: (payload?: {
37924
+ params: {
37925
+ page_size: number;
37926
+ page_token?: string;
37927
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37928
+ user_id_type?: "open_id" | "union_id" | "user_id";
37929
+ };
37930
+ path: {
37931
+ file_token: string;
37932
+ };
37933
+ }, options?: IRequestOptions$1) => Promise<{
37934
+ [Symbol.asyncIterator](): AsyncGenerator<{
37935
+ items?: {
37936
+ name?: string | undefined;
37937
+ version?: string | undefined;
37938
+ parent_token?: string | undefined;
37939
+ owner_id?: string | undefined;
37940
+ creator_id?: string | undefined;
37941
+ create_time?: string | undefined;
37942
+ update_time?: string | undefined;
37943
+ status?: "0" | "1" | "2" | undefined;
37944
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37945
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37946
+ }[] | undefined;
37947
+ } | null, void, unknown>;
37948
+ }>;
37949
+ /**
37950
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=list&version=v1 click to debug }
37951
+ *
37952
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/list document }
37953
+ *
37954
+ * 获取文档版本列表
37955
+ *
37956
+ * 获取文档所有版本。
37957
+ */
37958
+ list: (payload?: {
37959
+ params: {
37960
+ page_size: number;
37961
+ page_token?: string;
37962
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37963
+ user_id_type?: "open_id" | "union_id" | "user_id";
37964
+ };
37965
+ path: {
37966
+ file_token: string;
37967
+ };
37968
+ }, options?: IRequestOptions$1) => Promise<{
37969
+ code?: number | undefined;
37970
+ msg?: string | undefined;
37971
+ data?: {
37972
+ items?: {
37973
+ name?: string | undefined;
37974
+ version?: string | undefined;
37975
+ parent_token?: string | undefined;
37976
+ owner_id?: string | undefined;
37977
+ creator_id?: string | undefined;
37978
+ create_time?: string | undefined;
37979
+ update_time?: string | undefined;
37980
+ status?: "0" | "1" | "2" | undefined;
37981
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37982
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37983
+ }[] | undefined;
37984
+ page_token?: string | undefined;
37985
+ has_more?: boolean | undefined;
37986
+ } | undefined;
37987
+ }>;
37988
+ };
37551
37989
  /**
37552
37990
  * 导入
37553
37991
  */
@@ -37609,7 +38047,7 @@ declare abstract class Client$1 {
37609
38047
  }>;
37610
38048
  };
37611
38049
  /**
37612
- * 分片上传
38050
+ * 素材
37613
38051
  */
37614
38052
  media: {
37615
38053
  /**
@@ -37744,7 +38182,7 @@ declare abstract class Client$1 {
37744
38182
  uploadPrepare: (payload?: {
37745
38183
  data: {
37746
38184
  file_name: string;
37747
- parent_type: "doc_image" | "sheet_image" | "doc_file" | "sheet_file" | "vc_virtual_background" | "bitable_image" | "bitable_file" | "moments" | "ccm_import_open";
38185
+ parent_type: "doc_image" | "docx_image" | "sheet_image" | "doc_file" | "docx_file" | "sheet_file" | "vc_virtual_background" | "bitable_image" | "bitable_file" | "moments" | "ccm_import_open";
37748
38186
  parent_node: string;
37749
38187
  size: number;
37750
38188
  extra?: string;
@@ -37808,6 +38246,26 @@ declare abstract class Client$1 {
37808
38246
  * 成员
37809
38247
  */
37810
38248
  permissionMember: {
38249
+ /**
38250
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=auth&version=v1 click to debug }
38251
+ *
38252
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=auth&project=drive&resource=permission.member&version=v1 document }
38253
+ */
38254
+ auth: (payload?: {
38255
+ params: {
38256
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
38257
+ action: "view" | "edit" | "share" | "comment" | "export" | "copy" | "print";
38258
+ };
38259
+ path: {
38260
+ token: string;
38261
+ };
38262
+ }, options?: IRequestOptions$1) => Promise<{
38263
+ code?: number | undefined;
38264
+ msg?: string | undefined;
38265
+ data?: {
38266
+ auth_result: boolean;
38267
+ } | undefined;
38268
+ }>;
37811
38269
  /**
37812
38270
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=create&version=v1 click to debug }
37813
38271
  *
@@ -37898,6 +38356,29 @@ declare abstract class Client$1 {
37898
38356
  }[] | undefined;
37899
38357
  } | undefined;
37900
38358
  }>;
38359
+ /**
38360
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=transfer_owner&version=v1 click to debug }
38361
+ *
38362
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=transfer_owner&project=drive&resource=permission.member&version=v1 document }
38363
+ */
38364
+ transferOwner: (payload?: {
38365
+ data: {
38366
+ member_type: "email" | "openid" | "userid";
38367
+ member_id: string;
38368
+ };
38369
+ params: {
38370
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
38371
+ need_notification?: boolean;
38372
+ remove_old_owner?: boolean;
38373
+ };
38374
+ path: {
38375
+ token: string;
38376
+ };
38377
+ }, options?: IRequestOptions$1) => Promise<{
38378
+ code?: number | undefined;
38379
+ msg?: string | undefined;
38380
+ data?: {} | undefined;
38381
+ }>;
37901
38382
  /**
37902
38383
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=update&version=v1 click to debug }
37903
38384
  *
@@ -40093,7 +40574,11 @@ declare abstract class Client$1 {
40093
40574
  created_at?: number | undefined;
40094
40575
  updated_at?: number | undefined;
40095
40576
  closed_at?: number | undefined;
40096
- dissatisfaction_reason?: string[] | undefined;
40577
+ dissatisfaction_reason?: {
40578
+ zh_cn?: string | undefined;
40579
+ en_us?: string | undefined;
40580
+ ja_jp?: string | undefined;
40581
+ } | undefined;
40097
40582
  agents?: {
40098
40583
  id?: string | undefined;
40099
40584
  avatar_url?: string | undefined;
@@ -40212,7 +40697,11 @@ declare abstract class Client$1 {
40212
40697
  created_at?: number | undefined;
40213
40698
  updated_at?: number | undefined;
40214
40699
  closed_at?: number | undefined;
40215
- dissatisfaction_reason?: string[] | undefined;
40700
+ dissatisfaction_reason?: {
40701
+ zh_cn?: string | undefined;
40702
+ en_us?: string | undefined;
40703
+ ja_jp?: string | undefined;
40704
+ } | undefined;
40216
40705
  agents?: {
40217
40706
  id?: string | undefined;
40218
40707
  avatar_url?: string | undefined;
@@ -41305,7 +41794,7 @@ declare abstract class Client$1 {
41305
41794
  data: {
41306
41795
  code?: string;
41307
41796
  experience?: number;
41308
- expiry_time: number;
41797
+ expiry_time?: number;
41309
41798
  customized_data_list?: Array<{
41310
41799
  object_id?: string;
41311
41800
  value?: string;
@@ -41338,11 +41827,201 @@ declare abstract class Client$1 {
41338
41827
  job_category_id?: string;
41339
41828
  address_id_list?: Array<string>;
41340
41829
  job_attribute?: number;
41830
+ expiry_timestamp?: string;
41831
+ };
41832
+ params?: {
41833
+ user_id_type?: "user_id" | "union_id" | "open_id";
41834
+ department_id_type?: "open_department_id" | "department_id";
41835
+ };
41836
+ }, options?: IRequestOptions$1) => Promise<{
41837
+ code?: number | undefined;
41838
+ msg?: string | undefined;
41839
+ data?: {
41840
+ default_job_post?: {
41841
+ id?: string | undefined;
41842
+ } | undefined;
41843
+ job?: {
41844
+ id?: string | undefined;
41845
+ title?: string | undefined;
41846
+ description?: string | undefined;
41847
+ code?: string | undefined;
41848
+ requirement?: string | undefined;
41849
+ recruitment_type?: {
41850
+ id?: string | undefined;
41851
+ zh_name?: string | undefined;
41852
+ en_name?: string | undefined;
41853
+ active_status?: number | undefined;
41854
+ } | undefined;
41855
+ department?: {
41856
+ id?: string | undefined;
41857
+ zh_name?: string | undefined;
41858
+ en_name?: string | undefined;
41859
+ } | undefined;
41860
+ city?: {
41861
+ city_code?: string | undefined;
41862
+ zh_name?: string | undefined;
41863
+ en_name?: string | undefined;
41864
+ } | undefined;
41865
+ min_job_level?: {
41866
+ id?: string | undefined;
41867
+ zh_name?: string | undefined;
41868
+ en_name?: string | undefined;
41869
+ active_status?: number | undefined;
41870
+ } | undefined;
41871
+ max_job_level?: {
41872
+ id?: string | undefined;
41873
+ zh_name?: string | undefined;
41874
+ en_name?: string | undefined;
41875
+ active_status?: number | undefined;
41876
+ } | undefined;
41877
+ highlight_list?: {
41878
+ id?: string | undefined;
41879
+ zh_name?: string | undefined;
41880
+ en_name?: string | undefined;
41881
+ }[] | undefined;
41882
+ job_category?: {
41883
+ id?: string | undefined;
41884
+ zh_name?: string | undefined;
41885
+ en_name?: string | undefined;
41886
+ active_status?: number | undefined;
41887
+ } | undefined;
41888
+ job_type?: {
41889
+ id?: string | undefined;
41890
+ zh_name?: string | undefined;
41891
+ en_name?: string | undefined;
41892
+ } | undefined;
41893
+ active_status?: number | undefined;
41894
+ create_user_id?: string | undefined;
41895
+ create_time?: number | undefined;
41896
+ update_time?: number | undefined;
41897
+ process_type?: number | undefined;
41898
+ process_id?: string | undefined;
41899
+ process_name?: string | undefined;
41900
+ process_en_name?: string | undefined;
41901
+ customized_data_list?: {
41902
+ object_id?: string | undefined;
41903
+ name?: {
41904
+ zh_cn?: string | undefined;
41905
+ en_us?: string | undefined;
41906
+ } | undefined;
41907
+ object_type?: number | undefined;
41908
+ value?: {
41909
+ content?: string | undefined;
41910
+ option?: {
41911
+ key?: string | undefined;
41912
+ name?: {
41913
+ zh_cn?: string | undefined;
41914
+ en_us?: string | undefined;
41915
+ } | undefined;
41916
+ } | undefined;
41917
+ option_list?: {
41918
+ key?: string | undefined;
41919
+ name?: {
41920
+ zh_cn?: string | undefined;
41921
+ en_us?: string | undefined;
41922
+ } | undefined;
41923
+ }[] | undefined;
41924
+ time_range?: {
41925
+ start_time?: string | undefined;
41926
+ end_time?: string | undefined;
41927
+ } | undefined;
41928
+ time?: string | undefined;
41929
+ number?: string | undefined;
41930
+ } | undefined;
41931
+ }[] | undefined;
41932
+ job_function?: {
41933
+ id?: string | undefined;
41934
+ name?: {
41935
+ zh_cn?: string | undefined;
41936
+ en_us?: string | undefined;
41937
+ } | undefined;
41938
+ } | undefined;
41939
+ subject?: {
41940
+ id?: string | undefined;
41941
+ name?: {
41942
+ zh_cn?: string | undefined;
41943
+ en_us?: string | undefined;
41944
+ } | undefined;
41945
+ } | undefined;
41946
+ head_count?: number | undefined;
41947
+ experience?: number | undefined;
41948
+ expiry_time?: number | undefined;
41949
+ min_salary?: number | undefined;
41950
+ max_salary?: number | undefined;
41951
+ required_degree?: number | undefined;
41952
+ city_list?: {
41953
+ code?: string | undefined;
41954
+ name?: {
41955
+ zh_cn?: string | undefined;
41956
+ en_us?: string | undefined;
41957
+ } | undefined;
41958
+ }[] | undefined;
41959
+ job_attribute?: number | undefined;
41960
+ create_timestamp?: string | undefined;
41961
+ update_timestamp?: string | undefined;
41962
+ expiry_timestamp?: string | undefined;
41963
+ } | undefined;
41964
+ job_manager?: {
41965
+ id?: string | undefined;
41966
+ recruiter_id: string;
41967
+ hiring_manager_id_list: Array<string>;
41968
+ assistant_id_list?: string[] | undefined;
41969
+ } | undefined;
41970
+ } | undefined;
41971
+ }>;
41972
+ /**
41973
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=combined_update&version=v1 click to debug }
41974
+ *
41975
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/combined_update document }
41976
+ *
41977
+ * 更新职位
41978
+ *
41979
+ * 更新职位信息,该接口为全量更新,若字段没有返回值,则原有值将会被清空。字段的是否必填,将以系统中的「职位字段管理」中的设置为准。
41980
+ */
41981
+ combinedUpdate: (payload?: {
41982
+ data: {
41983
+ id?: string;
41984
+ experience?: number;
41985
+ expiry_time?: number;
41986
+ customized_data_list?: Array<{
41987
+ object_id?: string;
41988
+ value?: string;
41989
+ }>;
41990
+ min_level_id?: string;
41991
+ min_salary?: number;
41992
+ title?: string;
41993
+ job_managers?: {
41994
+ id?: string;
41995
+ recruiter_id: string;
41996
+ hiring_manager_id_list: Array<string>;
41997
+ assistant_id_list?: Array<string>;
41998
+ };
41999
+ job_process_id?: string;
42000
+ subject_id?: string;
42001
+ job_function_id?: string;
42002
+ department_id?: string;
42003
+ head_count?: number;
42004
+ is_never_expired: boolean;
42005
+ max_salary?: number;
42006
+ requirement?: string;
42007
+ address_id?: string;
42008
+ description?: string;
42009
+ highlight_list?: Array<string>;
42010
+ job_type_id: string;
42011
+ max_level_id?: string;
42012
+ required_degree?: number;
42013
+ job_category_id?: string;
42014
+ address_id_list?: Array<string>;
42015
+ job_attribute?: number;
42016
+ expiry_timestamp?: string;
41341
42017
  };
41342
42018
  params?: {
41343
42019
  user_id_type?: "user_id" | "union_id" | "open_id";
41344
42020
  department_id_type?: "open_department_id" | "department_id";
41345
42021
  };
42022
+ path: {
42023
+ job_id: string;
42024
+ };
41346
42025
  }, options?: IRequestOptions$1) => Promise<{
41347
42026
  code?: number | undefined;
41348
42027
  msg?: string | undefined;
@@ -41467,6 +42146,9 @@ declare abstract class Client$1 {
41467
42146
  } | undefined;
41468
42147
  }[] | undefined;
41469
42148
  job_attribute?: number | undefined;
42149
+ create_timestamp?: string | undefined;
42150
+ update_timestamp?: string | undefined;
42151
+ expiry_timestamp?: string | undefined;
41470
42152
  } | undefined;
41471
42153
  job_manager?: {
41472
42154
  id?: string | undefined;
@@ -41585,7 +42267,7 @@ declare abstract class Client$1 {
41585
42267
  department_id_type?: "open_department_id" | "department_id";
41586
42268
  };
41587
42269
  path: {
41588
- job_id: number;
42270
+ job_id: string;
41589
42271
  };
41590
42272
  }, options?: IRequestOptions$1) => Promise<{
41591
42273
  code?: number | undefined;
@@ -41708,6 +42390,9 @@ declare abstract class Client$1 {
41708
42390
  } | undefined;
41709
42391
  }[] | undefined;
41710
42392
  job_attribute?: number | undefined;
42393
+ create_timestamp?: string | undefined;
42394
+ update_timestamp?: string | undefined;
42395
+ expiry_timestamp?: string | undefined;
41711
42396
  } | undefined;
41712
42397
  } | undefined;
41713
42398
  }>;
@@ -43431,6 +44116,375 @@ declare abstract class Client$1 {
43431
44116
  data?: {} | undefined;
43432
44117
  }>;
43433
44118
  };
44119
+ /**
44120
+ * chat.menu_item
44121
+ */
44122
+ chatMenuItem: {
44123
+ /**
44124
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_item&apiName=patch&version=v1 click to debug }
44125
+ *
44126
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_item/patch document }
44127
+ *
44128
+ * 修改群菜单元信息
44129
+ *
44130
+ * 修改某个一级菜单或者二级菜单的元信息。
44131
+ *
44132
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。
44133
+ */
44134
+ patch: (payload?: {
44135
+ data: {
44136
+ update_fields: Array<"ICON" | "NAME" | "I18N_NAME" | "REDIRECT_LINK">;
44137
+ chat_menu_item: {
44138
+ action_type?: "NONE" | "REDIRECT_LINK";
44139
+ redirect_link?: {
44140
+ common_url?: string;
44141
+ ios_url?: string;
44142
+ android_url?: string;
44143
+ pc_url?: string;
44144
+ web_url?: string;
44145
+ };
44146
+ image_key?: string;
44147
+ name?: string;
44148
+ i18n_names?: {
44149
+ zh_cn?: string;
44150
+ en_us?: string;
44151
+ ja_jp?: string;
44152
+ };
44153
+ };
44154
+ };
44155
+ path?: {
44156
+ chat_id?: string;
44157
+ menu_item_id?: string;
44158
+ };
44159
+ }, options?: IRequestOptions$1) => Promise<{
44160
+ code?: number | undefined;
44161
+ msg?: string | undefined;
44162
+ data?: {
44163
+ chat_menu_item?: {
44164
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44165
+ redirect_link?: {
44166
+ common_url?: string | undefined;
44167
+ ios_url?: string | undefined;
44168
+ android_url?: string | undefined;
44169
+ pc_url?: string | undefined;
44170
+ web_url?: string | undefined;
44171
+ } | undefined;
44172
+ image_key?: string | undefined;
44173
+ name?: string | undefined;
44174
+ i18n_names?: {
44175
+ zh_cn?: string | undefined;
44176
+ en_us?: string | undefined;
44177
+ ja_jp?: string | undefined;
44178
+ } | undefined;
44179
+ } | undefined;
44180
+ } | undefined;
44181
+ }>;
44182
+ };
44183
+ /**
44184
+ * 群组 - 群菜单
44185
+ */
44186
+ chatMenuTree: {
44187
+ /**
44188
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=create&version=v1 click to debug }
44189
+ *
44190
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/create document }
44191
+ *
44192
+ * 添加群菜单
44193
+ *
44194
+ * 向群内添加群菜单。
44195
+ *
44196
+ * 注意事项:;- 该API是向群内追加菜单,群内原来存在的菜单并不会被覆盖。操作API后,将返回群内所有菜单。;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。;- 一个群内,一级菜单最多有3个,每个一级菜单最多有5个二级菜单。
44197
+ */
44198
+ create: (payload?: {
44199
+ data: {
44200
+ menu_tree: {
44201
+ chat_menu_top_levels: Array<{
44202
+ chat_menu_item: {
44203
+ action_type: "NONE" | "REDIRECT_LINK";
44204
+ redirect_link?: {
44205
+ common_url?: string;
44206
+ ios_url?: string;
44207
+ android_url?: string;
44208
+ pc_url?: string;
44209
+ web_url?: string;
44210
+ };
44211
+ image_key?: string;
44212
+ name: string;
44213
+ i18n_names?: {
44214
+ zh_cn?: string;
44215
+ en_us?: string;
44216
+ ja_jp?: string;
44217
+ };
44218
+ };
44219
+ children?: Array<{
44220
+ chat_menu_item?: {
44221
+ action_type?: "NONE" | "REDIRECT_LINK";
44222
+ redirect_link?: {
44223
+ common_url?: string;
44224
+ ios_url?: string;
44225
+ android_url?: string;
44226
+ pc_url?: string;
44227
+ web_url?: string;
44228
+ };
44229
+ image_key?: string;
44230
+ name?: string;
44231
+ i18n_names?: {
44232
+ zh_cn?: string;
44233
+ en_us?: string;
44234
+ ja_jp?: string;
44235
+ };
44236
+ };
44237
+ }>;
44238
+ }>;
44239
+ };
44240
+ };
44241
+ path?: {
44242
+ chat_id?: string;
44243
+ };
44244
+ }, options?: IRequestOptions$1) => Promise<{
44245
+ code?: number | undefined;
44246
+ msg?: string | undefined;
44247
+ data?: {
44248
+ menu_tree?: {
44249
+ chat_menu_top_levels?: {
44250
+ chat_menu_top_level_id?: string | undefined;
44251
+ chat_menu_item?: {
44252
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44253
+ redirect_link?: {
44254
+ common_url?: string | undefined;
44255
+ ios_url?: string | undefined;
44256
+ android_url?: string | undefined;
44257
+ pc_url?: string | undefined;
44258
+ web_url?: string | undefined;
44259
+ } | undefined;
44260
+ image_key?: string | undefined;
44261
+ name?: string | undefined;
44262
+ i18n_names?: {
44263
+ zh_cn?: string | undefined;
44264
+ en_us?: string | undefined;
44265
+ ja_jp?: string | undefined;
44266
+ } | undefined;
44267
+ } | undefined;
44268
+ children?: {
44269
+ chat_menu_second_level_id?: string | undefined;
44270
+ chat_menu_item?: {
44271
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44272
+ redirect_link?: {
44273
+ common_url?: string | undefined;
44274
+ ios_url?: string | undefined;
44275
+ android_url?: string | undefined;
44276
+ pc_url?: string | undefined;
44277
+ web_url?: string | undefined;
44278
+ } | undefined;
44279
+ image_key?: string | undefined;
44280
+ name?: string | undefined;
44281
+ i18n_names?: {
44282
+ zh_cn?: string | undefined;
44283
+ en_us?: string | undefined;
44284
+ ja_jp?: string | undefined;
44285
+ } | undefined;
44286
+ } | undefined;
44287
+ }[] | undefined;
44288
+ }[] | undefined;
44289
+ } | undefined;
44290
+ } | undefined;
44291
+ }>;
44292
+ /**
44293
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=delete&version=v1 click to debug }
44294
+ *
44295
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/delete document }
44296
+ *
44297
+ * 删除群菜单。
44298
+ *
44299
+ * 删除群内菜单。
44300
+ *
44301
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。;- 操作API后,将返回群内所有菜单。
44302
+ */
44303
+ delete: (payload?: {
44304
+ data: {
44305
+ chat_menu_top_level_ids: Array<string>;
44306
+ };
44307
+ path?: {
44308
+ chat_id?: string;
44309
+ };
44310
+ }, options?: IRequestOptions$1) => Promise<{
44311
+ code?: number | undefined;
44312
+ msg?: string | undefined;
44313
+ data?: {
44314
+ menu_tree?: {
44315
+ chat_menu_top_levels?: {
44316
+ chat_menu_top_level_id?: string | undefined;
44317
+ chat_menu_item?: {
44318
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44319
+ redirect_link?: {
44320
+ common_url?: string | undefined;
44321
+ ios_url?: string | undefined;
44322
+ android_url?: string | undefined;
44323
+ pc_url?: string | undefined;
44324
+ web_url?: string | undefined;
44325
+ } | undefined;
44326
+ image_key?: string | undefined;
44327
+ name?: string | undefined;
44328
+ i18n_names?: {
44329
+ zh_cn?: string | undefined;
44330
+ en_us?: string | undefined;
44331
+ ja_jp?: string | undefined;
44332
+ } | undefined;
44333
+ } | undefined;
44334
+ children?: {
44335
+ chat_menu_second_level_id?: string | undefined;
44336
+ chat_menu_item?: {
44337
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44338
+ redirect_link?: {
44339
+ common_url?: string | undefined;
44340
+ ios_url?: string | undefined;
44341
+ android_url?: string | undefined;
44342
+ pc_url?: string | undefined;
44343
+ web_url?: string | undefined;
44344
+ } | undefined;
44345
+ image_key?: string | undefined;
44346
+ name?: string | undefined;
44347
+ i18n_names?: {
44348
+ zh_cn?: string | undefined;
44349
+ en_us?: string | undefined;
44350
+ ja_jp?: string | undefined;
44351
+ } | undefined;
44352
+ } | undefined;
44353
+ }[] | undefined;
44354
+ }[] | undefined;
44355
+ } | undefined;
44356
+ } | undefined;
44357
+ }>;
44358
+ /**
44359
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=get&version=v1 click to debug }
44360
+ *
44361
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/get document }
44362
+ *
44363
+ * 获取群内菜单
44364
+ *
44365
+ * 通过群ID获取群内菜单。
44366
+ *
44367
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。
44368
+ */
44369
+ get: (payload?: {
44370
+ path?: {
44371
+ chat_id?: string;
44372
+ };
44373
+ }, options?: IRequestOptions$1) => Promise<{
44374
+ code?: number | undefined;
44375
+ msg?: string | undefined;
44376
+ data?: {
44377
+ menu_tree?: {
44378
+ chat_menu_top_levels?: {
44379
+ chat_menu_top_level_id?: string | undefined;
44380
+ chat_menu_item?: {
44381
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44382
+ redirect_link?: {
44383
+ common_url?: string | undefined;
44384
+ ios_url?: string | undefined;
44385
+ android_url?: string | undefined;
44386
+ pc_url?: string | undefined;
44387
+ web_url?: string | undefined;
44388
+ } | undefined;
44389
+ image_key?: string | undefined;
44390
+ name?: string | undefined;
44391
+ i18n_names?: {
44392
+ zh_cn?: string | undefined;
44393
+ en_us?: string | undefined;
44394
+ ja_jp?: string | undefined;
44395
+ } | undefined;
44396
+ } | undefined;
44397
+ children?: {
44398
+ chat_menu_second_level_id?: string | undefined;
44399
+ chat_menu_item?: {
44400
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44401
+ redirect_link?: {
44402
+ common_url?: string | undefined;
44403
+ ios_url?: string | undefined;
44404
+ android_url?: string | undefined;
44405
+ pc_url?: string | undefined;
44406
+ web_url?: string | undefined;
44407
+ } | undefined;
44408
+ image_key?: string | undefined;
44409
+ name?: string | undefined;
44410
+ i18n_names?: {
44411
+ zh_cn?: string | undefined;
44412
+ en_us?: string | undefined;
44413
+ ja_jp?: string | undefined;
44414
+ } | undefined;
44415
+ } | undefined;
44416
+ }[] | undefined;
44417
+ }[] | undefined;
44418
+ } | undefined;
44419
+ } | undefined;
44420
+ }>;
44421
+ /**
44422
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=sort&version=v1 click to debug }
44423
+ *
44424
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/sort document }
44425
+ *
44426
+ * 排序群菜单
44427
+ *
44428
+ * 给一个群内的一级菜单排序。
44429
+ *
44430
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。;- 操作API后,将返回群内所有菜单。
44431
+ */
44432
+ sort: (payload?: {
44433
+ data: {
44434
+ chat_menu_top_level_ids: Array<string>;
44435
+ };
44436
+ path?: {
44437
+ chat_id?: string;
44438
+ };
44439
+ }, options?: IRequestOptions$1) => Promise<{
44440
+ code?: number | undefined;
44441
+ msg?: string | undefined;
44442
+ data?: {
44443
+ menu_tree?: {
44444
+ chat_menu_top_levels?: {
44445
+ chat_menu_top_level_id?: string | undefined;
44446
+ chat_menu_item?: {
44447
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44448
+ redirect_link?: {
44449
+ common_url?: string | undefined;
44450
+ ios_url?: string | undefined;
44451
+ android_url?: string | undefined;
44452
+ pc_url?: string | undefined;
44453
+ web_url?: string | undefined;
44454
+ } | undefined;
44455
+ image_key?: string | undefined;
44456
+ name?: string | undefined;
44457
+ i18n_names?: {
44458
+ zh_cn?: string | undefined;
44459
+ en_us?: string | undefined;
44460
+ ja_jp?: string | undefined;
44461
+ } | undefined;
44462
+ } | undefined;
44463
+ children?: {
44464
+ chat_menu_second_level_id?: string | undefined;
44465
+ chat_menu_item?: {
44466
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44467
+ redirect_link?: {
44468
+ common_url?: string | undefined;
44469
+ ios_url?: string | undefined;
44470
+ android_url?: string | undefined;
44471
+ pc_url?: string | undefined;
44472
+ web_url?: string | undefined;
44473
+ } | undefined;
44474
+ image_key?: string | undefined;
44475
+ name?: string | undefined;
44476
+ i18n_names?: {
44477
+ zh_cn?: string | undefined;
44478
+ en_us?: string | undefined;
44479
+ ja_jp?: string | undefined;
44480
+ } | undefined;
44481
+ } | undefined;
44482
+ }[] | undefined;
44483
+ }[] | undefined;
44484
+ } | undefined;
44485
+ } | undefined;
44486
+ }>;
44487
+ };
43434
44488
  /**
43435
44489
  * chat.moderation
43436
44490
  */
@@ -44836,6 +45890,58 @@ declare abstract class Client$1 {
44836
45890
  * 邮件组成员
44837
45891
  */
44838
45892
  mailgroupMember: {
45893
+ /**
45894
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=batch_create&version=v1 click to debug }
45895
+ *
45896
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=mail&resource=mailgroup.member&version=v1 document }
45897
+ */
45898
+ batchCreate: (payload?: {
45899
+ data?: {
45900
+ items?: Array<{
45901
+ member_id?: string;
45902
+ email?: string;
45903
+ user_id?: string;
45904
+ department_id?: string;
45905
+ type?: "USER" | "DEPARTMENT" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER";
45906
+ }>;
45907
+ };
45908
+ params?: {
45909
+ user_id_type?: "user_id" | "union_id" | "open_id";
45910
+ department_id_type?: "department_id" | "open_department_id";
45911
+ };
45912
+ path?: {
45913
+ mailgroup_id?: string;
45914
+ };
45915
+ }, options?: IRequestOptions$1) => Promise<{
45916
+ code?: number | undefined;
45917
+ msg?: string | undefined;
45918
+ data?: {
45919
+ items?: {
45920
+ member_id?: string | undefined;
45921
+ email?: string | undefined;
45922
+ user_id?: string | undefined;
45923
+ department_id?: string | undefined;
45924
+ type?: "DEPARTMENT" | "USER" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER" | undefined;
45925
+ }[] | undefined;
45926
+ } | undefined;
45927
+ }>;
45928
+ /**
45929
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=batch_delete&version=v1 click to debug }
45930
+ *
45931
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=mail&resource=mailgroup.member&version=v1 document }
45932
+ */
45933
+ batchDelete: (payload?: {
45934
+ data?: {
45935
+ member_id_list?: Array<string>;
45936
+ };
45937
+ path?: {
45938
+ mailgroup_id?: string;
45939
+ };
45940
+ }, options?: IRequestOptions$1) => Promise<{
45941
+ code?: number | undefined;
45942
+ msg?: string | undefined;
45943
+ data?: {} | undefined;
45944
+ }>;
44839
45945
  /**
44840
45946
  * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=create&version=v1 click to debug }
44841
45947
  *
@@ -44978,6 +46084,58 @@ declare abstract class Client$1 {
44978
46084
  * 邮件组权限成员
44979
46085
  */
44980
46086
  mailgroupPermissionMember: {
46087
+ /**
46088
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.permission_member&apiName=batch_create&version=v1 click to debug }
46089
+ *
46090
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=mail&resource=mailgroup.permission_member&version=v1 document }
46091
+ */
46092
+ batchCreate: (payload?: {
46093
+ data?: {
46094
+ items?: Array<{
46095
+ permission_member_id?: string;
46096
+ user_id?: string;
46097
+ department_id?: string;
46098
+ email?: string;
46099
+ type?: "USER" | "DEPARTMENT" | "MAIL_GROUP" | "PUBLIC_MAILBOX";
46100
+ }>;
46101
+ };
46102
+ params?: {
46103
+ user_id_type?: "user_id" | "union_id" | "open_id";
46104
+ department_id_type?: "department_id" | "open_department_id";
46105
+ };
46106
+ path?: {
46107
+ mailgroup_id?: string;
46108
+ };
46109
+ }, options?: IRequestOptions$1) => Promise<{
46110
+ code?: number | undefined;
46111
+ msg?: string | undefined;
46112
+ data?: {
46113
+ items?: {
46114
+ permission_member_id?: string | undefined;
46115
+ user_id?: string | undefined;
46116
+ department_id?: string | undefined;
46117
+ email?: string | undefined;
46118
+ type?: "DEPARTMENT" | "USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | undefined;
46119
+ }[] | undefined;
46120
+ } | undefined;
46121
+ }>;
46122
+ /**
46123
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.permission_member&apiName=batch_delete&version=v1 click to debug }
46124
+ *
46125
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=mail&resource=mailgroup.permission_member&version=v1 document }
46126
+ */
46127
+ batchDelete: (payload?: {
46128
+ data: {
46129
+ permission_member_id_list: Array<string>;
46130
+ };
46131
+ path?: {
46132
+ mailgroup_id?: string;
46133
+ };
46134
+ }, options?: IRequestOptions$1) => Promise<{
46135
+ code?: number | undefined;
46136
+ msg?: string | undefined;
46137
+ data?: {} | undefined;
46138
+ }>;
44981
46139
  /**
44982
46140
  * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.permission_member&apiName=create&version=v1 click to debug }
44983
46141
  *
@@ -45354,6 +46512,53 @@ declare abstract class Client$1 {
45354
46512
  * 公共邮箱成员
45355
46513
  */
45356
46514
  publicMailboxMember: {
46515
+ /**
46516
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox.member&apiName=batch_create&version=v1 click to debug }
46517
+ *
46518
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=mail&resource=public_mailbox.member&version=v1 document }
46519
+ */
46520
+ batchCreate: (payload?: {
46521
+ data: {
46522
+ items: Array<{
46523
+ member_id?: string;
46524
+ user_id?: string;
46525
+ type?: "USER";
46526
+ }>;
46527
+ };
46528
+ params?: {
46529
+ user_id_type?: "user_id" | "union_id" | "open_id";
46530
+ };
46531
+ path: {
46532
+ public_mailbox_id: string;
46533
+ };
46534
+ }, options?: IRequestOptions$1) => Promise<{
46535
+ code?: number | undefined;
46536
+ msg?: string | undefined;
46537
+ data?: {
46538
+ items?: {
46539
+ member_id?: string | undefined;
46540
+ user_id?: string | undefined;
46541
+ type?: "USER" | undefined;
46542
+ }[] | undefined;
46543
+ } | undefined;
46544
+ }>;
46545
+ /**
46546
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox.member&apiName=batch_delete&version=v1 click to debug }
46547
+ *
46548
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=mail&resource=public_mailbox.member&version=v1 document }
46549
+ */
46550
+ batchDelete: (payload?: {
46551
+ data: {
46552
+ member_id_list: Array<string>;
46553
+ };
46554
+ path?: {
46555
+ public_mailbox_id?: string;
46556
+ };
46557
+ }, options?: IRequestOptions$1) => Promise<{
46558
+ code?: number | undefined;
46559
+ msg?: string | undefined;
46560
+ data?: {} | undefined;
46561
+ }>;
45357
46562
  /**
45358
46563
  * {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox.member&apiName=clear&version=v1 click to debug }
45359
46564
  *
@@ -45685,6 +46890,267 @@ declare abstract class Client$1 {
45685
46890
  url?: string | undefined;
45686
46891
  } | {}>;
45687
46892
  };
46893
+ /**
46894
+ * 指标库
46895
+ */
46896
+ metricSource: {
46897
+ /**
46898
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source&apiName=list&version=v1 click to debug }
46899
+ *
46900
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source/list document }
46901
+ *
46902
+ * 获取指标库
46903
+ *
46904
+ * 获取租户下全部 OKR 指标库(仅限 OKR 企业版使用)
46905
+ */
46906
+ list: (payload?: {
46907
+ params?: {
46908
+ page_token?: string;
46909
+ page_size?: string;
46910
+ };
46911
+ }, options?: IRequestOptions$1) => Promise<{
46912
+ code?: number | undefined;
46913
+ msg?: string | undefined;
46914
+ data?: {
46915
+ total: number;
46916
+ has_more: boolean;
46917
+ page_token?: string | undefined;
46918
+ items?: {
46919
+ metric_source_id: string;
46920
+ metric_source_name: string;
46921
+ metric_name: string;
46922
+ metric_unit: {
46923
+ zh_cn: string;
46924
+ en_us: string;
46925
+ ja_jp: string;
46926
+ };
46927
+ }[] | undefined;
46928
+ } | undefined;
46929
+ }>;
46930
+ };
46931
+ /**
46932
+ * 指标项
46933
+ */
46934
+ metricSourceTableItem: {
46935
+ /**
46936
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=batch_update&version=v1 click to debug }
46937
+ *
46938
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/batch_update document }
46939
+ *
46940
+ * 批量更新指标项
46941
+ *
46942
+ * - 该接口用于批量更新多项指标,单次调用最多更新 100 条记录。接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
46943
+ */
46944
+ batchUpdate: (payload?: {
46945
+ data: {
46946
+ items: Array<{
46947
+ metric_item_id: string;
46948
+ metric_initial_value?: number;
46949
+ metric_target_value?: number;
46950
+ metric_current_value?: number;
46951
+ supported_user_id?: string;
46952
+ }>;
46953
+ };
46954
+ params?: {
46955
+ user_id_type?: "user_id" | "union_id" | "open_id";
46956
+ };
46957
+ path: {
46958
+ metric_source_id: string;
46959
+ metric_table_id: string;
46960
+ };
46961
+ }, options?: IRequestOptions$1) => Promise<{
46962
+ code?: number | undefined;
46963
+ msg?: string | undefined;
46964
+ data?: {
46965
+ items?: {
46966
+ metric_item_id: string;
46967
+ user_id: string;
46968
+ period_id: string;
46969
+ metric_unit: {
46970
+ zh_cn: string;
46971
+ en_us: string;
46972
+ ja_jp: string;
46973
+ };
46974
+ metric_initial_value: number;
46975
+ metric_target_value?: number | undefined;
46976
+ metric_current_value: number;
46977
+ supported_user_id?: string | undefined;
46978
+ kr_id?: string | undefined;
46979
+ updated_at: string;
46980
+ updated_by?: string | undefined;
46981
+ }[] | undefined;
46982
+ failed_items?: {
46983
+ metric_item_id: string;
46984
+ reason: string;
46985
+ }[] | undefined;
46986
+ } | undefined;
46987
+ }>;
46988
+ /**
46989
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=get&version=v1 click to debug }
46990
+ *
46991
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/get document }
46992
+ *
46993
+ * 获取指标项详情
46994
+ *
46995
+ * 获取某项指标的具体内容(仅限 OKR 企业版使用)
46996
+ */
46997
+ get: (payload?: {
46998
+ params?: {
46999
+ user_id_type?: "user_id" | "union_id" | "open_id";
47000
+ };
47001
+ path: {
47002
+ metric_source_id: string;
47003
+ metric_table_id: string;
47004
+ metric_item_id: string;
47005
+ };
47006
+ }, options?: IRequestOptions$1) => Promise<{
47007
+ code?: number | undefined;
47008
+ msg?: string | undefined;
47009
+ data?: {
47010
+ metric_item_id: string;
47011
+ user_id: string;
47012
+ period_id: string;
47013
+ metric_unit: {
47014
+ zh_cn: string;
47015
+ en_us: string;
47016
+ ja_jp: string;
47017
+ };
47018
+ metric_initial_value: number;
47019
+ metric_target_value?: number | undefined;
47020
+ metric_current_value: number;
47021
+ supported_user_id?: string | undefined;
47022
+ kr_id?: string | undefined;
47023
+ updated_at: string;
47024
+ updated_by?: string | undefined;
47025
+ } | undefined;
47026
+ }>;
47027
+ /**
47028
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=list&version=v1 click to debug }
47029
+ *
47030
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/list document }
47031
+ *
47032
+ * 获取指标项
47033
+ *
47034
+ * 获取指定指标表下的所有指标项(仅限 OKR 企业版使用)
47035
+ */
47036
+ list: (payload?: {
47037
+ params?: {
47038
+ user_id_type?: "user_id" | "union_id" | "open_id";
47039
+ page_token?: string;
47040
+ page_size?: string;
47041
+ };
47042
+ path: {
47043
+ metric_source_id: string;
47044
+ metric_table_id: string;
47045
+ };
47046
+ }, options?: IRequestOptions$1) => Promise<{
47047
+ code?: number | undefined;
47048
+ msg?: string | undefined;
47049
+ data?: {
47050
+ total: number;
47051
+ has_more: boolean;
47052
+ page_token?: string | undefined;
47053
+ items?: {
47054
+ metric_item_id: string;
47055
+ user_id: string;
47056
+ period_id: string;
47057
+ metric_unit: {
47058
+ zh_cn: string;
47059
+ en_us: string;
47060
+ ja_jp: string;
47061
+ };
47062
+ metric_initial_value: number;
47063
+ metric_target_value?: number | undefined;
47064
+ metric_current_value: number;
47065
+ supported_user_id?: string | undefined;
47066
+ kr_id?: string | undefined;
47067
+ updated_at: string;
47068
+ updated_by?: string | undefined;
47069
+ }[] | undefined;
47070
+ } | undefined;
47071
+ }>;
47072
+ /**
47073
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=patch&version=v1 click to debug }
47074
+ *
47075
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/patch document }
47076
+ *
47077
+ * 更新指标项
47078
+ *
47079
+ * - 该接口用于更新某项指标,接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
47080
+ */
47081
+ patch: (payload?: {
47082
+ data?: {
47083
+ metric_initial_value?: number;
47084
+ metric_target_value?: number;
47085
+ metric_current_value?: number;
47086
+ supported_user_id?: string;
47087
+ };
47088
+ params?: {
47089
+ user_id_type?: "user_id" | "union_id" | "open_id";
47090
+ };
47091
+ path: {
47092
+ metric_source_id: string;
47093
+ metric_table_id: string;
47094
+ metric_item_id: string;
47095
+ };
47096
+ }, options?: IRequestOptions$1) => Promise<{
47097
+ code?: number | undefined;
47098
+ msg?: string | undefined;
47099
+ data?: {
47100
+ metric_item_id: string;
47101
+ user_id: string;
47102
+ period_id: string;
47103
+ metric_unit: {
47104
+ zh_cn: string;
47105
+ en_us: string;
47106
+ ja_jp: string;
47107
+ };
47108
+ metric_initial_value: number;
47109
+ metric_target_value?: number | undefined;
47110
+ metric_current_value: number;
47111
+ supported_user_id?: string | undefined;
47112
+ kr_id?: string | undefined;
47113
+ updated_at: string;
47114
+ updated_by?: string | undefined;
47115
+ } | undefined;
47116
+ }>;
47117
+ };
47118
+ /**
47119
+ * 指标表
47120
+ */
47121
+ metricSourceTable: {
47122
+ /**
47123
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table&apiName=list&version=v1 click to debug }
47124
+ *
47125
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table/list document }
47126
+ *
47127
+ * 获取指标表
47128
+ *
47129
+ * 获取指定指标库下有哪些指标表(仅限 OKR 企业版使用)
47130
+ */
47131
+ list: (payload?: {
47132
+ params?: {
47133
+ page_token?: string;
47134
+ page_size?: string;
47135
+ };
47136
+ path: {
47137
+ metric_source_id: string;
47138
+ };
47139
+ }, options?: IRequestOptions$1) => Promise<{
47140
+ code?: number | undefined;
47141
+ msg?: string | undefined;
47142
+ data?: {
47143
+ total: number;
47144
+ has_more: boolean;
47145
+ page_token?: string | undefined;
47146
+ items?: {
47147
+ metric_table_id: string;
47148
+ metric_table_name: string;
47149
+ period_id: string;
47150
+ }[] | undefined;
47151
+ } | undefined;
47152
+ }>;
47153
+ };
45688
47154
  /**
45689
47155
  * OKR
45690
47156
  */
@@ -46515,8 +47981,8 @@ declare abstract class Client$1 {
46515
47981
  listWithIterator: (payload?: {
46516
47982
  params?: {
46517
47983
  view?: number;
46518
- page_token?: string;
46519
47984
  page_size?: number;
47985
+ page_token?: string;
46520
47986
  };
46521
47987
  }, options?: IRequestOptions$1) => Promise<{
46522
47988
  [Symbol.asyncIterator](): AsyncGenerator<{
@@ -46557,8 +48023,8 @@ declare abstract class Client$1 {
46557
48023
  list: (payload?: {
46558
48024
  params?: {
46559
48025
  view?: number;
46560
- page_token?: string;
46561
48026
  page_size?: number;
48027
+ page_token?: string;
46562
48028
  };
46563
48029
  }, options?: IRequestOptions$1) => Promise<{
46564
48030
  code?: number | undefined;
@@ -47481,7 +48947,7 @@ declare abstract class Client$1 {
47481
48947
  }>;
47482
48948
  };
47483
48949
  /**
47484
- * 单元格
48950
+ * 工作表
47485
48951
  */
47486
48952
  spreadsheetSheet: {
47487
48953
  /**
@@ -48967,78 +50433,6 @@ declare abstract class Client$1 {
48967
50433
  * 视频会议
48968
50434
  */
48969
50435
  vc: {
48970
- /**
48971
- * 告警中心
48972
- */
48973
- alert: {
48974
- listWithIterator: (payload?: {
48975
- params: {
48976
- start_time: string;
48977
- end_time: string;
48978
- query_type?: number;
48979
- query_value?: string;
48980
- page_size?: number;
48981
- page_token?: string;
48982
- };
48983
- }, options?: IRequestOptions$1) => Promise<{
48984
- [Symbol.asyncIterator](): AsyncGenerator<{
48985
- items?: {
48986
- alert_id?: string | undefined;
48987
- resource_scope?: string | undefined;
48988
- monitor_target?: number | undefined;
48989
- alert_strategy?: string | undefined;
48990
- alert_time?: string | undefined;
48991
- alert_level?: number | undefined;
48992
- contacts?: {
48993
- contact_type?: number | undefined;
48994
- contact_name?: string | undefined;
48995
- }[] | undefined;
48996
- notifyMethods?: number[] | undefined;
48997
- alertRule?: string | undefined;
48998
- }[] | undefined;
48999
- } | null, void, unknown>;
49000
- }>;
49001
- /**
49002
- * {@link https://open.feishu.cn/api-explorer?project=vc&resource=alert&apiName=list&version=v1 click to debug }
49003
- *
49004
- * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/alert/list document }
49005
- *
49006
- * 获取告警记录
49007
- *
49008
- * 获取特定条件下租户的设备告警记录
49009
- */
49010
- list: (payload?: {
49011
- params: {
49012
- start_time: string;
49013
- end_time: string;
49014
- query_type?: number;
49015
- query_value?: string;
49016
- page_size?: number;
49017
- page_token?: string;
49018
- };
49019
- }, options?: IRequestOptions$1) => Promise<{
49020
- code?: number | undefined;
49021
- msg?: string | undefined;
49022
- data?: {
49023
- has_more?: boolean | undefined;
49024
- page_token?: string | undefined;
49025
- items?: {
49026
- alert_id?: string | undefined;
49027
- resource_scope?: string | undefined;
49028
- monitor_target?: number | undefined;
49029
- alert_strategy?: string | undefined;
49030
- alert_time?: string | undefined;
49031
- alert_level?: number | undefined;
49032
- contacts?: {
49033
- contact_type?: number | undefined;
49034
- contact_name?: string | undefined;
49035
- }[] | undefined;
49036
- notifyMethods?: number[] | undefined;
49037
- alertRule?: string | undefined;
49038
- }[] | undefined;
49039
- } | undefined;
49040
- }>;
49041
- };
49042
50436
  /**
49043
50437
  * 导出
49044
50438
  */
@@ -50008,6 +51402,9 @@ declare abstract class Client$1 {
50008
51402
  disable_notice?: boolean;
50009
51403
  resume_notice?: boolean;
50010
51404
  };
51405
+ device?: Array<{
51406
+ name: string;
51407
+ }>;
50011
51408
  };
50012
51409
  params?: {
50013
51410
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -50035,6 +51432,9 @@ declare abstract class Client$1 {
50035
51432
  disable_notice?: boolean | undefined;
50036
51433
  resume_notice?: boolean | undefined;
50037
51434
  } | undefined;
51435
+ device?: {
51436
+ name: string;
51437
+ }[] | undefined;
50038
51438
  } | undefined;
50039
51439
  } | undefined;
50040
51440
  }>;
@@ -50095,6 +51495,9 @@ declare abstract class Client$1 {
50095
51495
  disable_notice?: boolean | undefined;
50096
51496
  resume_notice?: boolean | undefined;
50097
51497
  } | undefined;
51498
+ device?: {
51499
+ name: string;
51500
+ }[] | undefined;
50098
51501
  } | undefined;
50099
51502
  } | undefined;
50100
51503
  }>;
@@ -50126,6 +51529,9 @@ declare abstract class Client$1 {
50126
51529
  disable_notice?: boolean | undefined;
50127
51530
  resume_notice?: boolean | undefined;
50128
51531
  } | undefined;
51532
+ device?: {
51533
+ name: string;
51534
+ }[] | undefined;
50129
51535
  }[] | undefined;
50130
51536
  } | null, void, unknown>;
50131
51537
  }>;
@@ -50168,6 +51574,9 @@ declare abstract class Client$1 {
50168
51574
  disable_notice?: boolean | undefined;
50169
51575
  resume_notice?: boolean | undefined;
50170
51576
  } | undefined;
51577
+ device?: {
51578
+ name: string;
51579
+ }[] | undefined;
50171
51580
  }[] | undefined;
50172
51581
  page_token?: string | undefined;
50173
51582
  has_more?: boolean | undefined;
@@ -50212,6 +51621,9 @@ declare abstract class Client$1 {
50212
51621
  disable_notice?: boolean | undefined;
50213
51622
  resume_notice?: boolean | undefined;
50214
51623
  } | undefined;
51624
+ device?: {
51625
+ name: string;
51626
+ }[] | undefined;
50215
51627
  }[] | undefined;
50216
51628
  } | undefined;
50217
51629
  }>;
@@ -50241,6 +51653,9 @@ declare abstract class Client$1 {
50241
51653
  disable_notice?: boolean;
50242
51654
  resume_notice?: boolean;
50243
51655
  };
51656
+ device?: Array<{
51657
+ name: string;
51658
+ }>;
50244
51659
  };
50245
51660
  params?: {
50246
51661
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -50297,6 +51712,9 @@ declare abstract class Client$1 {
50297
51712
  disable_notice?: boolean | undefined;
50298
51713
  resume_notice?: boolean | undefined;
50299
51714
  } | undefined;
51715
+ device?: {
51716
+ name: string;
51717
+ }[] | undefined;
50300
51718
  }[] | undefined;
50301
51719
  page_token?: string | undefined;
50302
51720
  has_more?: boolean | undefined;
@@ -52633,6 +54051,11 @@ interface IHandles extends IOtherEventHandles {
52633
54051
  leaderType: number;
52634
54052
  leaderID: string;
52635
54053
  }>;
54054
+ department_hrbps?: Array<{
54055
+ union_id?: string;
54056
+ user_id?: string;
54057
+ open_id?: string;
54058
+ }>;
52636
54059
  };
52637
54060
  }) => Promise<any> | any;
52638
54061
  /**
@@ -52670,6 +54093,11 @@ interface IHandles extends IOtherEventHandles {
52670
54093
  leaderType: number;
52671
54094
  leaderID: string;
52672
54095
  }>;
54096
+ department_hrbps?: Array<{
54097
+ union_id?: string;
54098
+ user_id?: string;
54099
+ open_id?: string;
54100
+ }>;
52673
54101
  };
52674
54102
  old_object?: {
52675
54103
  status?: {
@@ -52713,6 +54141,11 @@ interface IHandles extends IOtherEventHandles {
52713
54141
  leaderType: number;
52714
54142
  leaderID: string;
52715
54143
  }>;
54144
+ department_hrbps?: Array<{
54145
+ union_id?: string;
54146
+ user_id?: string;
54147
+ open_id?: string;
54148
+ }>;
52716
54149
  };
52717
54150
  old_object?: {
52718
54151
  name: string;
@@ -52730,6 +54163,11 @@ interface IHandles extends IOtherEventHandles {
52730
54163
  leaderType: number;
52731
54164
  leaderID: string;
52732
54165
  }>;
54166
+ department_hrbps?: Array<{
54167
+ union_id?: string;
54168
+ user_id?: string;
54169
+ open_id?: string;
54170
+ }>;
52733
54171
  };
52734
54172
  }) => Promise<any> | any;
52735
54173
  /**
@@ -53017,6 +54455,8 @@ interface IHandles extends IOtherEventHandles {
53017
54455
  };
53018
54456
  is_frozen?: boolean;
53019
54457
  geo?: string;
54458
+ job_level_id?: string;
54459
+ job_family_id?: string;
53020
54460
  }>;
53021
54461
  user_groups?: Array<{
53022
54462
  user_group_id: string;
@@ -53116,6 +54556,8 @@ interface IHandles extends IOtherEventHandles {
53116
54556
  };
53117
54557
  is_frozen?: boolean;
53118
54558
  geo?: string;
54559
+ job_level_id?: string;
54560
+ job_family_id?: string;
53119
54561
  }>;
53120
54562
  user_groups?: Array<{
53121
54563
  user_group_id: string;
@@ -53211,6 +54653,8 @@ interface IHandles extends IOtherEventHandles {
53211
54653
  };
53212
54654
  };
53213
54655
  }>;
54656
+ job_level_id?: string;
54657
+ job_family_id?: string;
53214
54658
  };
53215
54659
  }) => Promise<any> | any;
53216
54660
  /**
@@ -53298,6 +54742,8 @@ interface IHandles extends IOtherEventHandles {
53298
54742
  };
53299
54743
  };
53300
54744
  }>;
54745
+ job_level_id?: string;
54746
+ job_family_id?: string;
53301
54747
  };
53302
54748
  old_object?: {
53303
54749
  department_ids?: Array<string>;
@@ -53389,6 +54835,8 @@ interface IHandles extends IOtherEventHandles {
53389
54835
  };
53390
54836
  };
53391
54837
  }>;
54838
+ job_level_id?: string;
54839
+ job_family_id?: string;
53392
54840
  };
53393
54841
  old_object?: {
53394
54842
  open_id?: string;
@@ -53456,6 +54904,8 @@ interface IHandles extends IOtherEventHandles {
53456
54904
  };
53457
54905
  };
53458
54906
  }>;
54907
+ job_level_id?: string;
54908
+ job_family_id?: string;
53459
54909
  };
53460
54910
  }) => Promise<any> | any;
53461
54911
  /**
@@ -53911,7 +55361,11 @@ interface IHandles extends IOtherEventHandles {
53911
55361
  };
53912
55362
  ticket_type?: number;
53913
55363
  status?: number;
53914
- dissatisfaction_reason?: Array<string>;
55364
+ dissatisfaction_reason?: {
55365
+ zh_cn?: string;
55366
+ en_us?: string;
55367
+ ja_jp?: string;
55368
+ };
53915
55369
  customized_fields?: Array<{
53916
55370
  id?: string;
53917
55371
  value?: string;
@@ -54575,6 +56029,104 @@ interface IHandles extends IOtherEventHandles {
54575
56029
  task_id?: string;
54576
56030
  obj_type?: number;
54577
56031
  }) => Promise<any> | any;
56032
+ /**
56033
+
56034
+ */
56035
+ "vc.meeting.all_meeting_ended_v1"?: (data: {
56036
+ event_id?: string;
56037
+ token?: string;
56038
+ create_time?: string;
56039
+ event_type?: string;
56040
+ tenant_key?: string;
56041
+ ts?: string;
56042
+ uuid?: string;
56043
+ type?: string;
56044
+ app_id?: string;
56045
+ meeting?: {
56046
+ id?: string;
56047
+ topic?: string;
56048
+ meeting_no?: string;
56049
+ meeting_source?: number;
56050
+ start_time?: string;
56051
+ end_time?: string;
56052
+ host_user?: {
56053
+ id?: {
56054
+ union_id?: string;
56055
+ user_id?: string;
56056
+ open_id?: string;
56057
+ };
56058
+ user_role?: number;
56059
+ user_type?: number;
56060
+ };
56061
+ owner?: {
56062
+ id?: {
56063
+ union_id?: string;
56064
+ user_id?: string;
56065
+ open_id?: string;
56066
+ };
56067
+ user_role?: number;
56068
+ user_type?: number;
56069
+ };
56070
+ };
56071
+ operator?: {
56072
+ id?: {
56073
+ union_id?: string;
56074
+ user_id?: string;
56075
+ open_id?: string;
56076
+ };
56077
+ user_role?: number;
56078
+ user_type?: number;
56079
+ };
56080
+ }) => Promise<any> | any;
56081
+ /**
56082
+
56083
+ */
56084
+ "vc.meeting.all_meeting_started_v1"?: (data: {
56085
+ event_id?: string;
56086
+ token?: string;
56087
+ create_time?: string;
56088
+ event_type?: string;
56089
+ tenant_key?: string;
56090
+ ts?: string;
56091
+ uuid?: string;
56092
+ type?: string;
56093
+ app_id?: string;
56094
+ meeting?: {
56095
+ id?: string;
56096
+ topic?: string;
56097
+ meeting_no?: string;
56098
+ meeting_source?: number;
56099
+ start_time?: string;
56100
+ end_time?: string;
56101
+ host_user?: {
56102
+ id?: {
56103
+ union_id?: string;
56104
+ user_id?: string;
56105
+ open_id?: string;
56106
+ };
56107
+ user_role?: number;
56108
+ user_type?: number;
56109
+ };
56110
+ owner?: {
56111
+ id?: {
56112
+ union_id?: string;
56113
+ user_id?: string;
56114
+ open_id?: string;
56115
+ };
56116
+ user_role?: number;
56117
+ user_type?: number;
56118
+ };
56119
+ };
56120
+ operator?: {
56121
+ id?: {
56122
+ union_id?: string;
56123
+ user_id?: string;
56124
+ open_id?: string;
56125
+ };
56126
+ user_role?: number;
56127
+ user_type?: number;
56128
+ };
56129
+ }) => Promise<any> | any;
54578
56130
  /**
54579
56131
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/join_meeting document }
54580
56132
  *
@@ -54596,6 +56148,7 @@ interface IHandles extends IOtherEventHandles {
54596
56148
  id?: string;
54597
56149
  topic?: string;
54598
56150
  meeting_no?: string;
56151
+ meeting_source?: number;
54599
56152
  start_time?: string;
54600
56153
  end_time?: string;
54601
56154
  host_user?: {
@@ -54648,6 +56201,7 @@ interface IHandles extends IOtherEventHandles {
54648
56201
  id?: string;
54649
56202
  topic?: string;
54650
56203
  meeting_no?: string;
56204
+ meeting_source?: number;
54651
56205
  start_time?: string;
54652
56206
  end_time?: string;
54653
56207
  host_user?: {
@@ -54701,6 +56255,7 @@ interface IHandles extends IOtherEventHandles {
54701
56255
  id?: string;
54702
56256
  topic?: string;
54703
56257
  meeting_no?: string;
56258
+ meeting_source?: number;
54704
56259
  start_time?: string;
54705
56260
  end_time?: string;
54706
56261
  host_user?: {
@@ -54753,6 +56308,7 @@ interface IHandles extends IOtherEventHandles {
54753
56308
  id?: string;
54754
56309
  topic?: string;
54755
56310
  meeting_no?: string;
56311
+ meeting_source?: number;
54756
56312
  start_time?: string;
54757
56313
  end_time?: string;
54758
56314
  host_user?: {
@@ -54805,6 +56361,7 @@ interface IHandles extends IOtherEventHandles {
54805
56361
  id?: string;
54806
56362
  topic?: string;
54807
56363
  meeting_no?: string;
56364
+ meeting_source?: number;
54808
56365
  start_time?: string;
54809
56366
  end_time?: string;
54810
56367
  host_user?: {
@@ -54859,6 +56416,7 @@ interface IHandles extends IOtherEventHandles {
54859
56416
  id?: string;
54860
56417
  topic?: string;
54861
56418
  meeting_no?: string;
56419
+ meeting_source?: number;
54862
56420
  owner?: {
54863
56421
  id?: {
54864
56422
  union_id?: string;
@@ -54891,6 +56449,7 @@ interface IHandles extends IOtherEventHandles {
54891
56449
  id?: string;
54892
56450
  topic?: string;
54893
56451
  meeting_no?: string;
56452
+ meeting_source?: number;
54894
56453
  start_time?: string;
54895
56454
  end_time?: string;
54896
56455
  host_user?: {
@@ -54943,6 +56502,7 @@ interface IHandles extends IOtherEventHandles {
54943
56502
  id?: string;
54944
56503
  topic?: string;
54945
56504
  meeting_no?: string;
56505
+ meeting_source?: number;
54946
56506
  start_time?: string;
54947
56507
  end_time?: string;
54948
56508
  host_user?: {
@@ -54995,6 +56555,7 @@ interface IHandles extends IOtherEventHandles {
54995
56555
  id?: string;
54996
56556
  topic?: string;
54997
56557
  meeting_no?: string;
56558
+ meeting_source?: number;
54998
56559
  start_time?: string;
54999
56560
  end_time?: string;
55000
56561
  host_user?: {
@@ -55066,6 +56627,9 @@ interface IHandles extends IOtherEventHandles {
55066
56627
  disable_notice?: boolean;
55067
56628
  resume_notice?: boolean;
55068
56629
  };
56630
+ device?: Array<{
56631
+ name: string;
56632
+ }>;
55069
56633
  };
55070
56634
  }) => Promise<any> | any;
55071
56635
  /**
@@ -55129,6 +56693,9 @@ interface IHandles extends IOtherEventHandles {
55129
56693
  disable_notice?: boolean;
55130
56694
  resume_notice?: boolean;
55131
56695
  };
56696
+ device?: Array<{
56697
+ name: string;
56698
+ }>;
55132
56699
  };
55133
56700
  }) => Promise<any> | any;
55134
56701
  }