@larksuiteoapi/node-sdk 1.8.0 → 1.9.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
@@ -364,7 +364,7 @@ declare abstract class Client$1 {
364
364
  };
365
365
  };
366
366
  /**
367
- * 管理后台-企业勋章
367
+ * 管理后台-密码
368
368
  */
369
369
  admin: {
370
370
  /**
@@ -1949,6 +1949,7 @@ declare abstract class Client$1 {
1949
1949
  approver_range_type?: number;
1950
1950
  approver_range_ids?: Array<string>;
1951
1951
  }>;
1952
+ require_signature?: boolean;
1952
1953
  }>;
1953
1954
  viewers: Array<{
1954
1955
  type: "TENANT" | "DEPARTMENT" | "USER" | "ROLE" | "USER_GROUP" | "NONE";
@@ -2184,7 +2185,7 @@ declare abstract class Client$1 {
2184
2185
  update_time?: string;
2185
2186
  action_context?: string;
2186
2187
  action_configs?: Array<{
2187
- action_type: "APPROVE" | "REJECT" | "{KEY}";
2188
+ action_type: string;
2188
2189
  action_name?: string;
2189
2190
  is_need_reason?: boolean;
2190
2191
  is_reason_required?: boolean;
@@ -2225,6 +2226,7 @@ declare abstract class Client$1 {
2225
2226
  action_definition_url?: string;
2226
2227
  approval_node_url?: string;
2227
2228
  action_callback_url?: string;
2229
+ pull_business_data_url?: string;
2228
2230
  };
2229
2231
  };
2230
2232
  }, options?: IRequestOptions$1) => Promise<{
@@ -2271,7 +2273,7 @@ declare abstract class Client$1 {
2271
2273
  update_time?: string | undefined;
2272
2274
  action_context?: string | undefined;
2273
2275
  action_configs?: {
2274
- action_type: "APPROVE" | "REJECT" | "{KEY}";
2276
+ action_type: string;
2275
2277
  action_name?: string | undefined;
2276
2278
  is_need_reason?: boolean | undefined;
2277
2279
  is_reason_required?: boolean | undefined;
@@ -2312,6 +2314,7 @@ declare abstract class Client$1 {
2312
2314
  action_definition_url?: string | undefined;
2313
2315
  approval_node_url?: string | undefined;
2314
2316
  action_callback_url?: string | undefined;
2317
+ pull_business_data_url?: string | undefined;
2315
2318
  } | undefined;
2316
2319
  } | undefined;
2317
2320
  } | undefined;
@@ -2390,7 +2393,7 @@ declare abstract class Client$1 {
2390
2393
  }>;
2391
2394
  };
2392
2395
  /**
2393
- * 原生审批实例
2396
+ * 审批查询
2394
2397
  */
2395
2398
  instance: {
2396
2399
  /**
@@ -2497,6 +2500,7 @@ declare abstract class Client$1 {
2497
2500
  uuid?: string;
2498
2501
  allow_resubmit?: boolean;
2499
2502
  allow_submit_again?: boolean;
2503
+ cancel_bot_notification?: string;
2500
2504
  };
2501
2505
  }, options?: IRequestOptions$1) => Promise<{
2502
2506
  code?: number | undefined;
@@ -2584,17 +2588,12 @@ declare abstract class Client$1 {
2584
2588
  title?: string;
2585
2589
  type?: string;
2586
2590
  }>;
2587
- file_list?: Array<{
2588
- url?: string;
2589
- file_size?: number;
2590
- title?: string;
2591
- type?: string;
2592
- }>;
2593
2591
  }>;
2594
2592
  modified_instance_code?: string | undefined;
2595
2593
  reverted_instance_code?: string | undefined;
2596
2594
  approval_code: string;
2597
2595
  reverted?: boolean | undefined;
2596
+ instance_code: string;
2598
2597
  } | undefined;
2599
2598
  }>;
2600
2599
  listWithIterator: (payload?: {
@@ -2699,6 +2698,8 @@ declare abstract class Client$1 {
2699
2698
  external?: {
2700
2699
  batch_cc_read?: boolean | undefined;
2701
2700
  } | undefined;
2701
+ approval_id?: string | undefined;
2702
+ icon?: string | undefined;
2702
2703
  } | undefined;
2703
2704
  group?: {
2704
2705
  external_id?: string | undefined;
@@ -2762,6 +2763,8 @@ declare abstract class Client$1 {
2762
2763
  external?: {
2763
2764
  batch_cc_read?: boolean | undefined;
2764
2765
  } | undefined;
2766
+ approval_id?: string | undefined;
2767
+ icon?: string | undefined;
2765
2768
  } | undefined;
2766
2769
  group?: {
2767
2770
  external_id?: string | undefined;
@@ -2827,6 +2830,8 @@ declare abstract class Client$1 {
2827
2830
  external?: {
2828
2831
  batch_cc_read?: boolean | undefined;
2829
2832
  } | undefined;
2833
+ approval_id?: string | undefined;
2834
+ icon?: string | undefined;
2830
2835
  } | undefined;
2831
2836
  group?: {
2832
2837
  external_id?: string | undefined;
@@ -3234,6 +3239,8 @@ declare abstract class Client$1 {
3234
3239
  external?: {
3235
3240
  batch_cc_read?: boolean | undefined;
3236
3241
  } | undefined;
3242
+ approval_id?: string | undefined;
3243
+ icon?: string | undefined;
3237
3244
  } | undefined;
3238
3245
  group?: {
3239
3246
  external_id?: string | undefined;
@@ -4939,6 +4946,121 @@ declare abstract class Client$1 {
4939
4946
  }>;
4940
4947
  };
4941
4948
  };
4949
+ /**
4950
+
4951
+ */
4952
+ authen: {
4953
+ /**
4954
+ * access_token
4955
+ */
4956
+ accessToken: {
4957
+ /**
4958
+ * {@link https://open.feishu.cn/api-explorer?project=authen&resource=access_token&apiName=create&version=v1 click to debug }
4959
+ *
4960
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=authen&resource=access_token&version=v1 document }
4961
+ */
4962
+ create: (payload?: {
4963
+ data: {
4964
+ grant_type: string;
4965
+ code: string;
4966
+ };
4967
+ }, options?: IRequestOptions$1) => Promise<{
4968
+ code?: number | undefined;
4969
+ msg?: string | undefined;
4970
+ data?: {
4971
+ access_token?: string | undefined;
4972
+ token_type?: string | undefined;
4973
+ expires_in?: number | undefined;
4974
+ name?: string | undefined;
4975
+ en_name?: string | undefined;
4976
+ avatar_url?: string | undefined;
4977
+ avatar_thumb?: string | undefined;
4978
+ avatar_middle?: string | undefined;
4979
+ avatar_big?: string | undefined;
4980
+ open_id?: string | undefined;
4981
+ union_id?: string | undefined;
4982
+ email?: string | undefined;
4983
+ enterprise_email?: string | undefined;
4984
+ user_id?: string | undefined;
4985
+ mobile?: string | undefined;
4986
+ tenant_key?: string | undefined;
4987
+ refresh_expires_in?: number | undefined;
4988
+ refresh_token?: string | undefined;
4989
+ sid?: string | undefined;
4990
+ } | undefined;
4991
+ }>;
4992
+ };
4993
+ /**
4994
+ * refresh_access_token
4995
+ */
4996
+ refreshAccessToken: {
4997
+ /**
4998
+ * {@link https://open.feishu.cn/api-explorer?project=authen&resource=refresh_access_token&apiName=create&version=v1 click to debug }
4999
+ *
5000
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=authen&resource=refresh_access_token&version=v1 document }
5001
+ */
5002
+ create: (payload?: {
5003
+ data: {
5004
+ grant_type: string;
5005
+ refresh_token: string;
5006
+ };
5007
+ }, options?: IRequestOptions$1) => Promise<{
5008
+ code?: number | undefined;
5009
+ msg?: string | undefined;
5010
+ data?: {
5011
+ access_token?: string | undefined;
5012
+ token_type?: string | undefined;
5013
+ expires_in?: number | undefined;
5014
+ name?: string | undefined;
5015
+ en_name?: string | undefined;
5016
+ avatar_url?: string | undefined;
5017
+ avatar_thumb?: string | undefined;
5018
+ avatar_middle?: string | undefined;
5019
+ avatar_big?: string | undefined;
5020
+ open_id?: string | undefined;
5021
+ union_id?: string | undefined;
5022
+ email?: string | undefined;
5023
+ enterprise_email?: string | undefined;
5024
+ user_id?: string | undefined;
5025
+ mobile?: string | undefined;
5026
+ tenant_key?: string | undefined;
5027
+ refresh_expires_in?: number | undefined;
5028
+ refresh_token?: string | undefined;
5029
+ sid?: string | undefined;
5030
+ } | undefined;
5031
+ }>;
5032
+ };
5033
+ /**
5034
+ * user_info
5035
+ */
5036
+ userInfo: {
5037
+ /**
5038
+ * {@link https://open.feishu.cn/api-explorer?project=authen&resource=user_info&apiName=get&version=v1 click to debug }
5039
+ *
5040
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=authen&resource=user_info&version=v1 document }
5041
+ */
5042
+ get: (payload?: {}, options?: IRequestOptions$1) => Promise<{
5043
+ code?: number | undefined;
5044
+ msg?: string | undefined;
5045
+ data?: {
5046
+ name?: string | undefined;
5047
+ en_name?: string | undefined;
5048
+ avatar_url?: string | undefined;
5049
+ avatar_thumb?: string | undefined;
5050
+ avatar_middle?: string | undefined;
5051
+ avatar_big?: string | undefined;
5052
+ open_id?: string | undefined;
5053
+ union_id?: string | undefined;
5054
+ email?: string | undefined;
5055
+ enterprise_email?: string | undefined;
5056
+ user_id?: string | undefined;
5057
+ mobile?: string | undefined;
5058
+ tenant_key?: string | undefined;
5059
+ employee_no?: string | undefined;
5060
+ } | undefined;
5061
+ }>;
5062
+ };
5063
+ };
4942
5064
  /**
4943
5065
 
4944
5066
  */
@@ -6769,17 +6891,47 @@ declare abstract class Client$1 {
6769
6891
  */
6770
6892
  batchCreate: (payload?: {
6771
6893
  data?: {
6772
- tables?: Array<{
6773
- name?: string;
6774
- }>;
6775
- };
6894
+ tables?: {
6895
+ name?: string | undefined;
6896
+ default_view_name?: string | undefined;
6897
+ fields?: {
6898
+ field_name: string;
6899
+ type: number;
6900
+ property?: {
6901
+ options?: {
6902
+ name?: string | undefined;
6903
+ id?: string | undefined;
6904
+ color?: number | undefined;
6905
+ }[] | undefined;
6906
+ formatter?: string | undefined;
6907
+ date_formatter?: string | undefined;
6908
+ auto_fill?: boolean | undefined;
6909
+ multiple?: boolean | undefined;
6910
+ table_id?: string | undefined;
6911
+ table_name?: string | undefined;
6912
+ back_field_name?: string | undefined;
6913
+ auto_serial?: {
6914
+ type: "custom" | "auto_increment_number";
6915
+ options?: {
6916
+ type: "system_number" | "fixed_text" | "created_time";
6917
+ value: string;
6918
+ }[] | undefined;
6919
+ } | undefined;
6920
+ location?: {
6921
+ input_type: "only_mobile" | "not_limit";
6922
+ } | undefined;
6923
+ formula_expression?: string | undefined;
6924
+ } | undefined;
6925
+ }[] | undefined;
6926
+ }[] | undefined;
6927
+ } | undefined;
6776
6928
  params?: {
6777
- user_id_type?: "user_id" | "union_id" | "open_id";
6778
- };
6929
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
6930
+ } | undefined;
6779
6931
  path: {
6780
6932
  app_token: string;
6781
6933
  };
6782
- }, options?: IRequestOptions$1) => Promise<{
6934
+ } | undefined, options?: IRequestOptions$1) => Promise<{
6783
6935
  code?: number | undefined;
6784
6936
  msg?: string | undefined;
6785
6937
  data?: {
@@ -6823,20 +6975,49 @@ declare abstract class Client$1 {
6823
6975
  create: (payload?: {
6824
6976
  data?: {
6825
6977
  table?: {
6826
- name?: string;
6827
- };
6828
- };
6829
- params?: {
6830
- user_id_type?: "user_id" | "union_id" | "open_id";
6831
- };
6978
+ name?: string | undefined;
6979
+ default_view_name?: string | undefined;
6980
+ fields?: {
6981
+ field_name: string;
6982
+ type: number;
6983
+ property?: {
6984
+ options?: {
6985
+ name?: string | undefined;
6986
+ id?: string | undefined;
6987
+ color?: number | undefined;
6988
+ }[] | undefined;
6989
+ formatter?: string | undefined;
6990
+ date_formatter?: string | undefined;
6991
+ auto_fill?: boolean | undefined;
6992
+ multiple?: boolean | undefined;
6993
+ table_id?: string | undefined;
6994
+ table_name?: string | undefined;
6995
+ back_field_name?: string | undefined;
6996
+ auto_serial?: {
6997
+ type: "custom" | "auto_increment_number";
6998
+ options?: {
6999
+ type: "system_number" | "fixed_text" | "created_time";
7000
+ value: string;
7001
+ }[] | undefined;
7002
+ } | undefined;
7003
+ location?: {
7004
+ input_type: "only_mobile" | "not_limit";
7005
+ } | undefined;
7006
+ formula_expression?: string | undefined;
7007
+ } | undefined;
7008
+ }[] | undefined;
7009
+ } | undefined;
7010
+ } | undefined;
6832
7011
  path: {
6833
7012
  app_token: string;
6834
7013
  };
6835
- }, options?: IRequestOptions$1) => Promise<{
7014
+ } | undefined, options?: IRequestOptions$1) => Promise<{
6836
7015
  code?: number | undefined;
6837
7016
  msg?: string | undefined;
6838
7017
  data?: {
6839
7018
  table_id?: string | undefined;
7019
+ default_view_id?: string | undefined;
7020
+ field_id_list?: string[] | undefined;
6840
7021
  } | undefined;
6841
7022
  }>;
6842
7023
  /**
@@ -6911,6 +7092,26 @@ declare abstract class Client$1 {
6911
7092
  }[] | undefined;
6912
7093
  } | undefined;
6913
7094
  }>;
7095
+ /**
7096
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=patch&version=v1 click to debug }
7097
+ *
7098
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/patch document }
7099
+ */
7100
+ patch: (payload?: {
7101
+ data?: {
7102
+ name?: string;
7103
+ };
7104
+ path: {
7105
+ app_token: string;
7106
+ table_id: string;
7107
+ };
7108
+ }, options?: IRequestOptions$1) => Promise<{
7109
+ code?: number | undefined;
7110
+ msg?: string | undefined;
7111
+ data?: {
7112
+ name?: string | undefined;
7113
+ } | undefined;
7114
+ }>;
6914
7115
  };
6915
7116
  /**
6916
7117
  * 字段
@@ -6961,6 +7162,9 @@ declare abstract class Client$1 {
6961
7162
  text?: string | undefined;
6962
7163
  } | undefined;
6963
7164
  };
7165
+ params?: {
7166
+ client_token?: string | undefined;
7167
+ } | undefined;
6964
7168
  path: {
6965
7169
  app_token: string;
6966
7170
  table_id: string;
@@ -7435,7 +7639,7 @@ declare abstract class Client$1 {
7435
7639
  email?: string;
7436
7640
  };
7437
7641
  last_modified_time?: number;
7438
- fields: Map<string, string | boolean | {
7642
+ fields: Record<string, string | boolean | {
7439
7643
  text?: string;
7440
7644
  link?: string;
7441
7645
  } | {
@@ -7463,6 +7667,7 @@ declare abstract class Client$1 {
7463
7667
  };
7464
7668
  params?: {
7465
7669
  user_id_type?: "user_id" | "union_id" | "open_id";
7670
+ client_token?: string;
7466
7671
  };
7467
7672
  path: {
7468
7673
  app_token: string;
@@ -7488,7 +7693,7 @@ declare abstract class Client$1 {
7488
7693
  email?: string | undefined;
7489
7694
  } | undefined;
7490
7695
  last_modified_time?: number | undefined;
7491
- fields: Map<string, string | boolean | {
7696
+ fields: Record<string, string | boolean | {
7492
7697
  text?: string;
7493
7698
  link?: string;
7494
7699
  } | {
@@ -7573,7 +7778,7 @@ declare abstract class Client$1 {
7573
7778
  email?: string;
7574
7779
  };
7575
7780
  last_modified_time?: number;
7576
- fields: Map<string, string | boolean | {
7781
+ fields: Record<string, string | boolean | {
7577
7782
  text?: string;
7578
7783
  link?: string;
7579
7784
  } | {
@@ -7626,7 +7831,7 @@ declare abstract class Client$1 {
7626
7831
  email?: string | undefined;
7627
7832
  } | undefined;
7628
7833
  last_modified_time?: number | undefined;
7629
- fields: Map<string, string | boolean | {
7834
+ fields: Record<string, string | boolean | {
7630
7835
  text?: string;
7631
7836
  link?: string;
7632
7837
  } | {
@@ -7666,7 +7871,7 @@ declare abstract class Client$1 {
7666
7871
  */
7667
7872
  create: (payload?: {
7668
7873
  data: {
7669
- fields: Map<string, string | boolean | {
7874
+ fields: Record<string, string | boolean | {
7670
7875
  text?: string;
7671
7876
  link?: string;
7672
7877
  } | {
@@ -7693,6 +7898,7 @@ declare abstract class Client$1 {
7693
7898
  };
7694
7899
  params?: {
7695
7900
  user_id_type?: "user_id" | "union_id" | "open_id";
7901
+ client_token?: string;
7696
7902
  };
7697
7903
  path: {
7698
7904
  app_token: string;
@@ -7718,7 +7924,7 @@ declare abstract class Client$1 {
7718
7924
  email?: string | undefined;
7719
7925
  } | undefined;
7720
7926
  last_modified_time?: number | undefined;
7721
- fields: Map<string, string | boolean | {
7927
+ fields: Record<string, string | boolean | {
7722
7928
  text?: string;
7723
7929
  link?: string;
7724
7930
  } | {
@@ -7813,7 +8019,7 @@ declare abstract class Client$1 {
7813
8019
  email?: string | undefined;
7814
8020
  } | undefined;
7815
8021
  last_modified_time?: number | undefined;
7816
- fields: Map<string, string | boolean | {
8022
+ fields: Record<string, string | boolean | {
7817
8023
  text?: string;
7818
8024
  link?: string;
7819
8025
  } | {
@@ -7876,7 +8082,7 @@ declare abstract class Client$1 {
7876
8082
  email?: string | undefined;
7877
8083
  } | undefined;
7878
8084
  last_modified_time?: number | undefined;
7879
- fields: Map<string, string | boolean | {
8085
+ fields: Record<string, string | boolean | {
7880
8086
  text?: string;
7881
8087
  link?: string;
7882
8088
  } | {
@@ -7954,7 +8160,7 @@ declare abstract class Client$1 {
7954
8160
  email?: string | undefined;
7955
8161
  } | undefined;
7956
8162
  last_modified_time?: number | undefined;
7957
- fields: Map<string, string | boolean | {
8163
+ fields: Record<string, string | boolean | {
7958
8164
  text?: string;
7959
8165
  link?: string;
7960
8166
  } | {
@@ -7994,7 +8200,7 @@ declare abstract class Client$1 {
7994
8200
  */
7995
8201
  update: (payload?: {
7996
8202
  data: {
7997
- fields: Map<string, string | boolean | {
8203
+ fields: Record<string, string | boolean | {
7998
8204
  text?: string;
7999
8205
  link?: string;
8000
8206
  } | {
@@ -8047,7 +8253,7 @@ declare abstract class Client$1 {
8047
8253
  email?: string | undefined;
8048
8254
  } | undefined;
8049
8255
  last_modified_time?: number | undefined;
8050
- fields: Map<string, string | boolean | {
8256
+ fields: Record<string, string | boolean | {
8051
8257
  text?: string;
8052
8258
  link?: string;
8053
8259
  } | {
@@ -8112,7 +8318,7 @@ declare abstract class Client$1 {
8112
8318
  conjunction: "and" | "or";
8113
8319
  conditions: Array<{
8114
8320
  field_id: string;
8115
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8321
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8116
8322
  value?: string;
8117
8323
  condition_id?: string;
8118
8324
  field_type?: string;
@@ -8174,7 +8380,7 @@ declare abstract class Client$1 {
8174
8380
  conjunction: "and" | "or";
8175
8381
  conditions: Array<{
8176
8382
  field_id: string;
8177
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8383
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8178
8384
  value?: string;
8179
8385
  condition_id?: string;
8180
8386
  field_type?: string;
@@ -8206,7 +8412,7 @@ declare abstract class Client$1 {
8206
8412
  conjunction: "and" | "or";
8207
8413
  conditions: Array<{
8208
8414
  field_id: string;
8209
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8415
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8210
8416
  value?: string;
8211
8417
  condition_id?: string;
8212
8418
  field_type?: string;
@@ -8252,7 +8458,7 @@ declare abstract class Client$1 {
8252
8458
  conjunction: "and" | "or";
8253
8459
  conditions: Array<{
8254
8460
  field_id: string;
8255
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8461
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8256
8462
  value?: string;
8257
8463
  condition_id?: string;
8258
8464
  field_type?: string;
@@ -8284,7 +8490,7 @@ declare abstract class Client$1 {
8284
8490
  conjunction: "and" | "or";
8285
8491
  conditions: Array<{
8286
8492
  field_id: string;
8287
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8493
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8288
8494
  value?: string;
8289
8495
  }>;
8290
8496
  };
@@ -8309,7 +8515,7 @@ declare abstract class Client$1 {
8309
8515
  conjunction: "and" | "or";
8310
8516
  conditions: Array<{
8311
8517
  field_id: string;
8312
- operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
8518
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
8313
8519
  value?: string;
8314
8520
  condition_id?: string;
8315
8521
  field_type?: string;
@@ -10150,6 +10356,7 @@ declare abstract class Client$1 {
10150
10356
  leaderID: string;
10151
10357
  }[] | undefined;
10152
10358
  group_chat_employee_types?: number[] | undefined;
10359
+ department_hrbps?: string[] | undefined;
10153
10360
  }[] | undefined;
10154
10361
  } | null, void, unknown>;
10155
10362
  }>;
@@ -10205,6 +10412,7 @@ declare abstract class Client$1 {
10205
10412
  leaderID: string;
10206
10413
  }[] | undefined;
10207
10414
  group_chat_employee_types?: number[] | undefined;
10415
+ department_hrbps?: string[] | undefined;
10208
10416
  }[] | undefined;
10209
10417
  } | undefined;
10210
10418
  }>;
@@ -10238,6 +10446,7 @@ declare abstract class Client$1 {
10238
10446
  leaderID: string;
10239
10447
  }>;
10240
10448
  group_chat_employee_types?: Array<number>;
10449
+ department_hrbps?: Array<string>;
10241
10450
  };
10242
10451
  params?: {
10243
10452
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -10271,6 +10480,7 @@ declare abstract class Client$1 {
10271
10480
  leaderID: string;
10272
10481
  }[] | undefined;
10273
10482
  group_chat_employee_types?: number[] | undefined;
10483
+ department_hrbps?: string[] | undefined;
10274
10484
  } | undefined;
10275
10485
  } | undefined;
10276
10486
  }>;
@@ -10343,6 +10553,7 @@ declare abstract class Client$1 {
10343
10553
  leaderID: string;
10344
10554
  }[] | undefined;
10345
10555
  group_chat_employee_types?: number[] | undefined;
10556
+ department_hrbps?: string[] | undefined;
10346
10557
  } | undefined;
10347
10558
  } | undefined;
10348
10559
  }>;
@@ -10380,6 +10591,7 @@ declare abstract class Client$1 {
10380
10591
  leaderID: string;
10381
10592
  }[] | undefined;
10382
10593
  group_chat_employee_types?: number[] | undefined;
10594
+ department_hrbps?: string[] | undefined;
10383
10595
  }[] | undefined;
10384
10596
  } | null, void, unknown>;
10385
10597
  }>;
@@ -10426,6 +10638,7 @@ declare abstract class Client$1 {
10426
10638
  leaderID: string;
10427
10639
  }[] | undefined;
10428
10640
  group_chat_employee_types?: number[] | undefined;
10641
+ department_hrbps?: string[] | undefined;
10429
10642
  }[] | undefined;
10430
10643
  } | undefined;
10431
10644
  }>;
@@ -10462,6 +10675,7 @@ declare abstract class Client$1 {
10462
10675
  leaderID: string;
10463
10676
  }[] | undefined;
10464
10677
  group_chat_employee_types?: number[] | undefined;
10678
+ department_hrbps?: string[] | undefined;
10465
10679
  }[] | undefined;
10466
10680
  } | null, void, unknown>;
10467
10681
  }>;
@@ -10513,6 +10727,7 @@ declare abstract class Client$1 {
10513
10727
  leaderID: string;
10514
10728
  }[] | undefined;
10515
10729
  group_chat_employee_types?: number[] | undefined;
10730
+ department_hrbps?: string[] | undefined;
10516
10731
  }[] | undefined;
10517
10732
  } | undefined;
10518
10733
  }>;
@@ -10545,6 +10760,7 @@ declare abstract class Client$1 {
10545
10760
  leaderID: string;
10546
10761
  }>;
10547
10762
  group_chat_employee_types?: Array<number>;
10763
+ department_hrbps?: Array<string>;
10548
10764
  };
10549
10765
  params?: {
10550
10766
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -10580,6 +10796,7 @@ declare abstract class Client$1 {
10580
10796
  leaderID: string;
10581
10797
  }[] | undefined;
10582
10798
  group_chat_employee_types?: number[] | undefined;
10799
+ department_hrbps?: string[] | undefined;
10583
10800
  } | undefined;
10584
10801
  } | undefined;
10585
10802
  }>;
@@ -10645,6 +10862,7 @@ declare abstract class Client$1 {
10645
10862
  leaderID: string;
10646
10863
  }[] | undefined;
10647
10864
  group_chat_employee_types?: number[] | undefined;
10865
+ department_hrbps?: string[] | undefined;
10648
10866
  }[] | undefined;
10649
10867
  page_token?: string | undefined;
10650
10868
  has_more: boolean;
@@ -11523,6 +11741,8 @@ declare abstract class Client$1 {
11523
11741
  language?: "zh-CN" | "en-US" | "ja-JP";
11524
11742
  };
11525
11743
  geo?: string;
11744
+ job_level_id?: string;
11745
+ job_family_id?: string;
11526
11746
  };
11527
11747
  params?: {
11528
11748
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -11609,6 +11829,8 @@ declare abstract class Client$1 {
11609
11829
  } | undefined;
11610
11830
  is_frozen?: boolean | undefined;
11611
11831
  geo?: string | undefined;
11832
+ job_level_id?: string | undefined;
11833
+ job_family_id?: string | undefined;
11612
11834
  } | undefined;
11613
11835
  } | undefined;
11614
11836
  }>;
@@ -11734,6 +11956,8 @@ declare abstract class Client$1 {
11734
11956
  } | undefined;
11735
11957
  is_frozen?: boolean | undefined;
11736
11958
  geo?: string | undefined;
11959
+ job_level_id?: string | undefined;
11960
+ job_family_id?: string | undefined;
11737
11961
  }[] | undefined;
11738
11962
  } | null, void, unknown>;
11739
11963
  }>;
@@ -11838,6 +12062,8 @@ declare abstract class Client$1 {
11838
12062
  } | undefined;
11839
12063
  is_frozen?: boolean | undefined;
11840
12064
  geo?: string | undefined;
12065
+ job_level_id?: string | undefined;
12066
+ job_family_id?: string | undefined;
11841
12067
  }[] | undefined;
11842
12068
  } | undefined;
11843
12069
  }>;
@@ -11929,6 +12155,8 @@ declare abstract class Client$1 {
11929
12155
  description?: string | undefined;
11930
12156
  job_title?: string | undefined;
11931
12157
  geo?: string | undefined;
12158
+ job_level_id?: string | undefined;
12159
+ job_family_id?: string | undefined;
11932
12160
  } | undefined;
11933
12161
  } | undefined;
11934
12162
  }>;
@@ -12009,6 +12237,8 @@ declare abstract class Client$1 {
12009
12237
  description?: string | undefined;
12010
12238
  job_title?: string | undefined;
12011
12239
  geo?: string | undefined;
12240
+ job_level_id?: string | undefined;
12241
+ job_family_id?: string | undefined;
12012
12242
  }[] | undefined;
12013
12243
  } | null, void, unknown>;
12014
12244
  }>;
@@ -12098,6 +12328,8 @@ declare abstract class Client$1 {
12098
12328
  description?: string | undefined;
12099
12329
  job_title?: string | undefined;
12100
12330
  geo?: string | undefined;
12331
+ job_level_id?: string | undefined;
12332
+ job_family_id?: string | undefined;
12101
12333
  }[] | undefined;
12102
12334
  } | undefined;
12103
12335
  }>;
@@ -12161,6 +12393,8 @@ declare abstract class Client$1 {
12161
12393
  job_title?: string;
12162
12394
  is_frozen?: boolean;
12163
12395
  geo?: string;
12396
+ job_level_id?: string;
12397
+ job_family_id?: string;
12164
12398
  };
12165
12399
  params?: {
12166
12400
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -12249,6 +12483,8 @@ declare abstract class Client$1 {
12249
12483
  } | undefined;
12250
12484
  is_frozen?: boolean | undefined;
12251
12485
  geo?: string | undefined;
12486
+ job_level_id?: string | undefined;
12487
+ job_family_id?: string | undefined;
12252
12488
  } | undefined;
12253
12489
  } | undefined;
12254
12490
  }>;
@@ -37084,7 +37320,7 @@ declare abstract class Client$1 {
37084
37320
  }>;
37085
37321
  };
37086
37322
  /**
37087
- * 下载
37323
+ * 文件夹
37088
37324
  */
37089
37325
  file: {
37090
37326
  /**
@@ -37548,6 +37784,204 @@ declare abstract class Client$1 {
37548
37784
  } | undefined;
37549
37785
  }>;
37550
37786
  };
37787
+ /**
37788
+ * 文档版本
37789
+ */
37790
+ fileVersion: {
37791
+ /**
37792
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=create&version=v1 click to debug }
37793
+ *
37794
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/create document }
37795
+ *
37796
+ * 创建文档版本
37797
+ *
37798
+ * 创建文档版本。
37799
+ */
37800
+ create: (payload?: {
37801
+ data?: {
37802
+ name?: string;
37803
+ version?: string;
37804
+ parent_token?: string;
37805
+ owner_id?: string;
37806
+ creator_id?: string;
37807
+ create_time?: string;
37808
+ update_time?: string;
37809
+ status?: "0" | "1" | "2";
37810
+ obj_type?: "doc" | "sheet" | "bitable" | "docx";
37811
+ parent_type?: "doc" | "sheet" | "bitable" | "docx";
37812
+ };
37813
+ params?: {
37814
+ user_id_type?: "user_id" | "union_id" | "open_id";
37815
+ };
37816
+ path: {
37817
+ file_token: string;
37818
+ };
37819
+ }, options?: IRequestOptions$1) => Promise<{
37820
+ code?: number | undefined;
37821
+ msg?: string | undefined;
37822
+ data?: {
37823
+ name?: string | undefined;
37824
+ version?: string | undefined;
37825
+ parent_token?: string | undefined;
37826
+ owner_id?: string | undefined;
37827
+ creator_id?: string | undefined;
37828
+ create_time?: string | undefined;
37829
+ update_time?: string | undefined;
37830
+ status?: "0" | "1" | "2" | undefined;
37831
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37832
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37833
+ } | undefined;
37834
+ }>;
37835
+ /**
37836
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=delete&version=v1 click to debug }
37837
+ *
37838
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/delete document }
37839
+ *
37840
+ * 删除文档版本
37841
+ *
37842
+ * 删除文档版本。
37843
+ */
37844
+ delete: (payload?: {
37845
+ params: {
37846
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37847
+ user_id_type?: "open_id" | "union_id" | "user_id";
37848
+ };
37849
+ path: {
37850
+ file_token: string;
37851
+ version_id: string;
37852
+ };
37853
+ }, options?: IRequestOptions$1) => Promise<{
37854
+ code?: number | undefined;
37855
+ msg?: string | undefined;
37856
+ data?: {} | undefined;
37857
+ }>;
37858
+ getWithIterator: (payload?: {
37859
+ params: {
37860
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37861
+ user_id_type?: "open_id" | "union_id" | "user_id";
37862
+ page_token?: string;
37863
+ page_size?: number;
37864
+ };
37865
+ path: {
37866
+ file_token: string;
37867
+ version_id: string;
37868
+ };
37869
+ }, options?: IRequestOptions$1) => Promise<{
37870
+ [Symbol.asyncIterator](): AsyncGenerator<{
37871
+ name?: string | undefined;
37872
+ version?: string | undefined;
37873
+ parent_token?: string | undefined;
37874
+ owner_id?: string | undefined;
37875
+ creator_id?: string | undefined;
37876
+ create_time?: string | undefined;
37877
+ update_time?: string | undefined;
37878
+ status?: "0" | "1" | "2" | undefined;
37879
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37880
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37881
+ } | null, void, unknown>;
37882
+ }>;
37883
+ /**
37884
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=get&version=v1 click to debug }
37885
+ *
37886
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/get document }
37887
+ *
37888
+ * 获取文档版本
37889
+ *
37890
+ * 获取文档版本。
37891
+ */
37892
+ get: (payload?: {
37893
+ params: {
37894
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37895
+ user_id_type?: "open_id" | "union_id" | "user_id";
37896
+ page_token?: string;
37897
+ page_size?: number;
37898
+ };
37899
+ path: {
37900
+ file_token: string;
37901
+ version_id: string;
37902
+ };
37903
+ }, options?: IRequestOptions$1) => Promise<{
37904
+ code?: number | undefined;
37905
+ msg?: string | undefined;
37906
+ data?: {
37907
+ name?: string | undefined;
37908
+ version?: string | undefined;
37909
+ parent_token?: string | undefined;
37910
+ owner_id?: string | undefined;
37911
+ creator_id?: string | undefined;
37912
+ create_time?: string | undefined;
37913
+ update_time?: string | undefined;
37914
+ status?: "0" | "1" | "2" | undefined;
37915
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37916
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37917
+ } | undefined;
37918
+ }>;
37919
+ listWithIterator: (payload?: {
37920
+ params: {
37921
+ page_size: number;
37922
+ page_token?: string;
37923
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37924
+ user_id_type?: "open_id" | "union_id" | "user_id";
37925
+ };
37926
+ path: {
37927
+ file_token: string;
37928
+ };
37929
+ }, options?: IRequestOptions$1) => Promise<{
37930
+ [Symbol.asyncIterator](): AsyncGenerator<{
37931
+ items?: {
37932
+ name?: string | undefined;
37933
+ version?: string | undefined;
37934
+ parent_token?: string | undefined;
37935
+ owner_id?: string | undefined;
37936
+ creator_id?: string | undefined;
37937
+ create_time?: string | undefined;
37938
+ update_time?: string | undefined;
37939
+ status?: "0" | "1" | "2" | undefined;
37940
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37941
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37942
+ }[] | undefined;
37943
+ } | null, void, unknown>;
37944
+ }>;
37945
+ /**
37946
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.version&apiName=list&version=v1 click to debug }
37947
+ *
37948
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-version/list document }
37949
+ *
37950
+ * 获取文档版本列表
37951
+ *
37952
+ * 获取文档所有版本。
37953
+ */
37954
+ list: (payload?: {
37955
+ params: {
37956
+ page_size: number;
37957
+ page_token?: string;
37958
+ obj_type: "doc" | "sheet" | "bitable" | "docx";
37959
+ user_id_type?: "open_id" | "union_id" | "user_id";
37960
+ };
37961
+ path: {
37962
+ file_token: string;
37963
+ };
37964
+ }, options?: IRequestOptions$1) => Promise<{
37965
+ code?: number | undefined;
37966
+ msg?: string | undefined;
37967
+ data?: {
37968
+ items?: {
37969
+ name?: string | undefined;
37970
+ version?: string | undefined;
37971
+ parent_token?: string | undefined;
37972
+ owner_id?: string | undefined;
37973
+ creator_id?: string | undefined;
37974
+ create_time?: string | undefined;
37975
+ update_time?: string | undefined;
37976
+ status?: "0" | "1" | "2" | undefined;
37977
+ obj_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37978
+ parent_type?: "docx" | "doc" | "sheet" | "bitable" | undefined;
37979
+ }[] | undefined;
37980
+ page_token?: string | undefined;
37981
+ has_more?: boolean | undefined;
37982
+ } | undefined;
37983
+ }>;
37984
+ };
37551
37985
  /**
37552
37986
  * 导入
37553
37987
  */
@@ -37609,7 +38043,7 @@ declare abstract class Client$1 {
37609
38043
  }>;
37610
38044
  };
37611
38045
  /**
37612
- * 分片上传
38046
+ * 素材
37613
38047
  */
37614
38048
  media: {
37615
38049
  /**
@@ -37744,7 +38178,7 @@ declare abstract class Client$1 {
37744
38178
  uploadPrepare: (payload?: {
37745
38179
  data: {
37746
38180
  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";
38181
+ 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
38182
  parent_node: string;
37749
38183
  size: number;
37750
38184
  extra?: string;
@@ -37808,6 +38242,26 @@ declare abstract class Client$1 {
37808
38242
  * 成员
37809
38243
  */
37810
38244
  permissionMember: {
38245
+ /**
38246
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=auth&version=v1 click to debug }
38247
+ *
38248
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=auth&project=drive&resource=permission.member&version=v1 document }
38249
+ */
38250
+ auth: (payload?: {
38251
+ params: {
38252
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
38253
+ action: "view" | "edit" | "share" | "comment" | "export" | "copy" | "print";
38254
+ };
38255
+ path: {
38256
+ token: string;
38257
+ };
38258
+ }, options?: IRequestOptions$1) => Promise<{
38259
+ code?: number | undefined;
38260
+ msg?: string | undefined;
38261
+ data?: {
38262
+ auth_result: boolean;
38263
+ } | undefined;
38264
+ }>;
37811
38265
  /**
37812
38266
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=create&version=v1 click to debug }
37813
38267
  *
@@ -37898,6 +38352,29 @@ declare abstract class Client$1 {
37898
38352
  }[] | undefined;
37899
38353
  } | undefined;
37900
38354
  }>;
38355
+ /**
38356
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=transfer_owner&version=v1 click to debug }
38357
+ *
38358
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=transfer_owner&project=drive&resource=permission.member&version=v1 document }
38359
+ */
38360
+ transferOwner: (payload?: {
38361
+ data: {
38362
+ member_type: "email" | "openid" | "userid";
38363
+ member_id: string;
38364
+ };
38365
+ params: {
38366
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
38367
+ need_notification?: boolean;
38368
+ remove_old_owner?: boolean;
38369
+ };
38370
+ path: {
38371
+ token: string;
38372
+ };
38373
+ }, options?: IRequestOptions$1) => Promise<{
38374
+ code?: number | undefined;
38375
+ msg?: string | undefined;
38376
+ data?: {} | undefined;
38377
+ }>;
37901
38378
  /**
37902
38379
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=update&version=v1 click to debug }
37903
38380
  *
@@ -40093,7 +40570,11 @@ declare abstract class Client$1 {
40093
40570
  created_at?: number | undefined;
40094
40571
  updated_at?: number | undefined;
40095
40572
  closed_at?: number | undefined;
40096
- dissatisfaction_reason?: string[] | undefined;
40573
+ dissatisfaction_reason?: {
40574
+ zh_cn?: string | undefined;
40575
+ en_us?: string | undefined;
40576
+ ja_jp?: string | undefined;
40577
+ } | undefined;
40097
40578
  agents?: {
40098
40579
  id?: string | undefined;
40099
40580
  avatar_url?: string | undefined;
@@ -40212,7 +40693,11 @@ declare abstract class Client$1 {
40212
40693
  created_at?: number | undefined;
40213
40694
  updated_at?: number | undefined;
40214
40695
  closed_at?: number | undefined;
40215
- dissatisfaction_reason?: string[] | undefined;
40696
+ dissatisfaction_reason?: {
40697
+ zh_cn?: string | undefined;
40698
+ en_us?: string | undefined;
40699
+ ja_jp?: string | undefined;
40700
+ } | undefined;
40216
40701
  agents?: {
40217
40702
  id?: string | undefined;
40218
40703
  avatar_url?: string | undefined;
@@ -41305,7 +41790,7 @@ declare abstract class Client$1 {
41305
41790
  data: {
41306
41791
  code?: string;
41307
41792
  experience?: number;
41308
- expiry_time: number;
41793
+ expiry_time?: number;
41309
41794
  customized_data_list?: Array<{
41310
41795
  object_id?: string;
41311
41796
  value?: string;
@@ -41338,11 +41823,201 @@ declare abstract class Client$1 {
41338
41823
  job_category_id?: string;
41339
41824
  address_id_list?: Array<string>;
41340
41825
  job_attribute?: number;
41826
+ expiry_timestamp?: string;
41827
+ };
41828
+ params?: {
41829
+ user_id_type?: "user_id" | "union_id" | "open_id";
41830
+ department_id_type?: "open_department_id" | "department_id";
41831
+ };
41832
+ }, options?: IRequestOptions$1) => Promise<{
41833
+ code?: number | undefined;
41834
+ msg?: string | undefined;
41835
+ data?: {
41836
+ default_job_post?: {
41837
+ id?: string | undefined;
41838
+ } | undefined;
41839
+ job?: {
41840
+ id?: string | undefined;
41841
+ title?: string | undefined;
41842
+ description?: string | undefined;
41843
+ code?: string | undefined;
41844
+ requirement?: string | undefined;
41845
+ recruitment_type?: {
41846
+ id?: string | undefined;
41847
+ zh_name?: string | undefined;
41848
+ en_name?: string | undefined;
41849
+ active_status?: number | undefined;
41850
+ } | undefined;
41851
+ department?: {
41852
+ id?: string | undefined;
41853
+ zh_name?: string | undefined;
41854
+ en_name?: string | undefined;
41855
+ } | undefined;
41856
+ city?: {
41857
+ city_code?: string | undefined;
41858
+ zh_name?: string | undefined;
41859
+ en_name?: string | undefined;
41860
+ } | undefined;
41861
+ min_job_level?: {
41862
+ id?: string | undefined;
41863
+ zh_name?: string | undefined;
41864
+ en_name?: string | undefined;
41865
+ active_status?: number | undefined;
41866
+ } | undefined;
41867
+ max_job_level?: {
41868
+ id?: string | undefined;
41869
+ zh_name?: string | undefined;
41870
+ en_name?: string | undefined;
41871
+ active_status?: number | undefined;
41872
+ } | undefined;
41873
+ highlight_list?: {
41874
+ id?: string | undefined;
41875
+ zh_name?: string | undefined;
41876
+ en_name?: string | undefined;
41877
+ }[] | undefined;
41878
+ job_category?: {
41879
+ id?: string | undefined;
41880
+ zh_name?: string | undefined;
41881
+ en_name?: string | undefined;
41882
+ active_status?: number | undefined;
41883
+ } | undefined;
41884
+ job_type?: {
41885
+ id?: string | undefined;
41886
+ zh_name?: string | undefined;
41887
+ en_name?: string | undefined;
41888
+ } | undefined;
41889
+ active_status?: number | undefined;
41890
+ create_user_id?: string | undefined;
41891
+ create_time?: number | undefined;
41892
+ update_time?: number | undefined;
41893
+ process_type?: number | undefined;
41894
+ process_id?: string | undefined;
41895
+ process_name?: string | undefined;
41896
+ process_en_name?: string | undefined;
41897
+ customized_data_list?: {
41898
+ object_id?: string | undefined;
41899
+ name?: {
41900
+ zh_cn?: string | undefined;
41901
+ en_us?: string | undefined;
41902
+ } | undefined;
41903
+ object_type?: number | undefined;
41904
+ value?: {
41905
+ content?: string | undefined;
41906
+ option?: {
41907
+ key?: string | undefined;
41908
+ name?: {
41909
+ zh_cn?: string | undefined;
41910
+ en_us?: string | undefined;
41911
+ } | undefined;
41912
+ } | undefined;
41913
+ option_list?: {
41914
+ key?: string | undefined;
41915
+ name?: {
41916
+ zh_cn?: string | undefined;
41917
+ en_us?: string | undefined;
41918
+ } | undefined;
41919
+ }[] | undefined;
41920
+ time_range?: {
41921
+ start_time?: string | undefined;
41922
+ end_time?: string | undefined;
41923
+ } | undefined;
41924
+ time?: string | undefined;
41925
+ number?: string | undefined;
41926
+ } | undefined;
41927
+ }[] | undefined;
41928
+ job_function?: {
41929
+ id?: string | undefined;
41930
+ name?: {
41931
+ zh_cn?: string | undefined;
41932
+ en_us?: string | undefined;
41933
+ } | undefined;
41934
+ } | undefined;
41935
+ subject?: {
41936
+ id?: string | undefined;
41937
+ name?: {
41938
+ zh_cn?: string | undefined;
41939
+ en_us?: string | undefined;
41940
+ } | undefined;
41941
+ } | undefined;
41942
+ head_count?: number | undefined;
41943
+ experience?: number | undefined;
41944
+ expiry_time?: number | undefined;
41945
+ min_salary?: number | undefined;
41946
+ max_salary?: number | undefined;
41947
+ required_degree?: number | undefined;
41948
+ city_list?: {
41949
+ code?: string | undefined;
41950
+ name?: {
41951
+ zh_cn?: string | undefined;
41952
+ en_us?: string | undefined;
41953
+ } | undefined;
41954
+ }[] | undefined;
41955
+ job_attribute?: number | undefined;
41956
+ create_timestamp?: string | undefined;
41957
+ update_timestamp?: string | undefined;
41958
+ expiry_timestamp?: string | undefined;
41959
+ } | undefined;
41960
+ job_manager?: {
41961
+ id?: string | undefined;
41962
+ recruiter_id: string;
41963
+ hiring_manager_id_list: Array<string>;
41964
+ assistant_id_list?: string[] | undefined;
41965
+ } | undefined;
41966
+ } | undefined;
41967
+ }>;
41968
+ /**
41969
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=combined_update&version=v1 click to debug }
41970
+ *
41971
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/combined_update document }
41972
+ *
41973
+ * 更新职位
41974
+ *
41975
+ * 更新职位信息,该接口为全量更新,若字段没有返回值,则原有值将会被清空。字段的是否必填,将以系统中的「职位字段管理」中的设置为准。
41976
+ */
41977
+ combinedUpdate: (payload?: {
41978
+ data: {
41979
+ id?: string;
41980
+ experience?: number;
41981
+ expiry_time?: number;
41982
+ customized_data_list?: Array<{
41983
+ object_id?: string;
41984
+ value?: string;
41985
+ }>;
41986
+ min_level_id?: string;
41987
+ min_salary?: number;
41988
+ title?: string;
41989
+ job_managers?: {
41990
+ id?: string;
41991
+ recruiter_id: string;
41992
+ hiring_manager_id_list: Array<string>;
41993
+ assistant_id_list?: Array<string>;
41994
+ };
41995
+ job_process_id?: string;
41996
+ subject_id?: string;
41997
+ job_function_id?: string;
41998
+ department_id?: string;
41999
+ head_count?: number;
42000
+ is_never_expired: boolean;
42001
+ max_salary?: number;
42002
+ requirement?: string;
42003
+ address_id?: string;
42004
+ description?: string;
42005
+ highlight_list?: Array<string>;
42006
+ job_type_id: string;
42007
+ max_level_id?: string;
42008
+ required_degree?: number;
42009
+ job_category_id?: string;
42010
+ address_id_list?: Array<string>;
42011
+ job_attribute?: number;
42012
+ expiry_timestamp?: string;
41341
42013
  };
41342
42014
  params?: {
41343
42015
  user_id_type?: "user_id" | "union_id" | "open_id";
41344
42016
  department_id_type?: "open_department_id" | "department_id";
41345
42017
  };
42018
+ path: {
42019
+ job_id: string;
42020
+ };
41346
42021
  }, options?: IRequestOptions$1) => Promise<{
41347
42022
  code?: number | undefined;
41348
42023
  msg?: string | undefined;
@@ -41467,6 +42142,9 @@ declare abstract class Client$1 {
41467
42142
  } | undefined;
41468
42143
  }[] | undefined;
41469
42144
  job_attribute?: number | undefined;
42145
+ create_timestamp?: string | undefined;
42146
+ update_timestamp?: string | undefined;
42147
+ expiry_timestamp?: string | undefined;
41470
42148
  } | undefined;
41471
42149
  job_manager?: {
41472
42150
  id?: string | undefined;
@@ -41585,7 +42263,7 @@ declare abstract class Client$1 {
41585
42263
  department_id_type?: "open_department_id" | "department_id";
41586
42264
  };
41587
42265
  path: {
41588
- job_id: number;
42266
+ job_id: string;
41589
42267
  };
41590
42268
  }, options?: IRequestOptions$1) => Promise<{
41591
42269
  code?: number | undefined;
@@ -41708,6 +42386,9 @@ declare abstract class Client$1 {
41708
42386
  } | undefined;
41709
42387
  }[] | undefined;
41710
42388
  job_attribute?: number | undefined;
42389
+ create_timestamp?: string | undefined;
42390
+ update_timestamp?: string | undefined;
42391
+ expiry_timestamp?: string | undefined;
41711
42392
  } | undefined;
41712
42393
  } | undefined;
41713
42394
  }>;
@@ -43431,6 +44112,375 @@ declare abstract class Client$1 {
43431
44112
  data?: {} | undefined;
43432
44113
  }>;
43433
44114
  };
44115
+ /**
44116
+ * chat.menu_item
44117
+ */
44118
+ chatMenuItem: {
44119
+ /**
44120
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_item&apiName=patch&version=v1 click to debug }
44121
+ *
44122
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_item/patch document }
44123
+ *
44124
+ * 修改群菜单元信息
44125
+ *
44126
+ * 修改某个一级菜单或者二级菜单的元信息。
44127
+ *
44128
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。
44129
+ */
44130
+ patch: (payload?: {
44131
+ data: {
44132
+ update_fields: Array<"ICON" | "NAME" | "I18N_NAME" | "REDIRECT_LINK">;
44133
+ chat_menu_item: {
44134
+ action_type?: "NONE" | "REDIRECT_LINK";
44135
+ redirect_link?: {
44136
+ common_url?: string;
44137
+ ios_url?: string;
44138
+ android_url?: string;
44139
+ pc_url?: string;
44140
+ web_url?: string;
44141
+ };
44142
+ image_key?: string;
44143
+ name?: string;
44144
+ i18n_names?: {
44145
+ zh_cn?: string;
44146
+ en_us?: string;
44147
+ ja_jp?: string;
44148
+ };
44149
+ };
44150
+ };
44151
+ path?: {
44152
+ chat_id?: string;
44153
+ menu_item_id?: string;
44154
+ };
44155
+ }, options?: IRequestOptions$1) => Promise<{
44156
+ code?: number | undefined;
44157
+ msg?: string | undefined;
44158
+ data?: {
44159
+ chat_menu_item?: {
44160
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44161
+ redirect_link?: {
44162
+ common_url?: string | undefined;
44163
+ ios_url?: string | undefined;
44164
+ android_url?: string | undefined;
44165
+ pc_url?: string | undefined;
44166
+ web_url?: string | undefined;
44167
+ } | undefined;
44168
+ image_key?: string | undefined;
44169
+ name?: string | undefined;
44170
+ i18n_names?: {
44171
+ zh_cn?: string | undefined;
44172
+ en_us?: string | undefined;
44173
+ ja_jp?: string | undefined;
44174
+ } | undefined;
44175
+ } | undefined;
44176
+ } | undefined;
44177
+ }>;
44178
+ };
44179
+ /**
44180
+ * 群组 - 群菜单
44181
+ */
44182
+ chatMenuTree: {
44183
+ /**
44184
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=create&version=v1 click to debug }
44185
+ *
44186
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/create document }
44187
+ *
44188
+ * 添加群菜单
44189
+ *
44190
+ * 向群内添加群菜单。
44191
+ *
44192
+ * 注意事项:;- 该API是向群内追加菜单,群内原来存在的菜单并不会被覆盖。操作API后,将返回群内所有菜单。;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。;- 一个群内,一级菜单最多有3个,每个一级菜单最多有5个二级菜单。
44193
+ */
44194
+ create: (payload?: {
44195
+ data: {
44196
+ menu_tree: {
44197
+ chat_menu_top_levels: Array<{
44198
+ chat_menu_item: {
44199
+ action_type: "NONE" | "REDIRECT_LINK";
44200
+ redirect_link?: {
44201
+ common_url?: string;
44202
+ ios_url?: string;
44203
+ android_url?: string;
44204
+ pc_url?: string;
44205
+ web_url?: string;
44206
+ };
44207
+ image_key?: string;
44208
+ name: string;
44209
+ i18n_names?: {
44210
+ zh_cn?: string;
44211
+ en_us?: string;
44212
+ ja_jp?: string;
44213
+ };
44214
+ };
44215
+ children?: Array<{
44216
+ chat_menu_item?: {
44217
+ action_type?: "NONE" | "REDIRECT_LINK";
44218
+ redirect_link?: {
44219
+ common_url?: string;
44220
+ ios_url?: string;
44221
+ android_url?: string;
44222
+ pc_url?: string;
44223
+ web_url?: string;
44224
+ };
44225
+ image_key?: string;
44226
+ name?: string;
44227
+ i18n_names?: {
44228
+ zh_cn?: string;
44229
+ en_us?: string;
44230
+ ja_jp?: string;
44231
+ };
44232
+ };
44233
+ }>;
44234
+ }>;
44235
+ };
44236
+ };
44237
+ path?: {
44238
+ chat_id?: string;
44239
+ };
44240
+ }, options?: IRequestOptions$1) => Promise<{
44241
+ code?: number | undefined;
44242
+ msg?: string | undefined;
44243
+ data?: {
44244
+ menu_tree?: {
44245
+ chat_menu_top_levels?: {
44246
+ chat_menu_top_level_id?: string | undefined;
44247
+ chat_menu_item?: {
44248
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44249
+ redirect_link?: {
44250
+ common_url?: string | undefined;
44251
+ ios_url?: string | undefined;
44252
+ android_url?: string | undefined;
44253
+ pc_url?: string | undefined;
44254
+ web_url?: string | undefined;
44255
+ } | undefined;
44256
+ image_key?: string | undefined;
44257
+ name?: string | undefined;
44258
+ i18n_names?: {
44259
+ zh_cn?: string | undefined;
44260
+ en_us?: string | undefined;
44261
+ ja_jp?: string | undefined;
44262
+ } | undefined;
44263
+ } | undefined;
44264
+ children?: {
44265
+ chat_menu_second_level_id?: string | undefined;
44266
+ chat_menu_item?: {
44267
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44268
+ redirect_link?: {
44269
+ common_url?: string | undefined;
44270
+ ios_url?: string | undefined;
44271
+ android_url?: string | undefined;
44272
+ pc_url?: string | undefined;
44273
+ web_url?: string | undefined;
44274
+ } | undefined;
44275
+ image_key?: string | undefined;
44276
+ name?: string | undefined;
44277
+ i18n_names?: {
44278
+ zh_cn?: string | undefined;
44279
+ en_us?: string | undefined;
44280
+ ja_jp?: string | undefined;
44281
+ } | undefined;
44282
+ } | undefined;
44283
+ }[] | undefined;
44284
+ }[] | undefined;
44285
+ } | undefined;
44286
+ } | undefined;
44287
+ }>;
44288
+ /**
44289
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=delete&version=v1 click to debug }
44290
+ *
44291
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/delete document }
44292
+ *
44293
+ * 删除群菜单。
44294
+ *
44295
+ * 删除群内菜单。
44296
+ *
44297
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。;- 操作API后,将返回群内所有菜单。
44298
+ */
44299
+ delete: (payload?: {
44300
+ data: {
44301
+ chat_menu_top_level_ids: Array<string>;
44302
+ };
44303
+ path?: {
44304
+ chat_id?: string;
44305
+ };
44306
+ }, options?: IRequestOptions$1) => Promise<{
44307
+ code?: number | undefined;
44308
+ msg?: string | undefined;
44309
+ data?: {
44310
+ menu_tree?: {
44311
+ chat_menu_top_levels?: {
44312
+ chat_menu_top_level_id?: string | undefined;
44313
+ chat_menu_item?: {
44314
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44315
+ redirect_link?: {
44316
+ common_url?: string | undefined;
44317
+ ios_url?: string | undefined;
44318
+ android_url?: string | undefined;
44319
+ pc_url?: string | undefined;
44320
+ web_url?: string | undefined;
44321
+ } | undefined;
44322
+ image_key?: string | undefined;
44323
+ name?: string | undefined;
44324
+ i18n_names?: {
44325
+ zh_cn?: string | undefined;
44326
+ en_us?: string | undefined;
44327
+ ja_jp?: string | undefined;
44328
+ } | undefined;
44329
+ } | undefined;
44330
+ children?: {
44331
+ chat_menu_second_level_id?: string | undefined;
44332
+ chat_menu_item?: {
44333
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44334
+ redirect_link?: {
44335
+ common_url?: string | undefined;
44336
+ ios_url?: string | undefined;
44337
+ android_url?: string | undefined;
44338
+ pc_url?: string | undefined;
44339
+ web_url?: string | undefined;
44340
+ } | undefined;
44341
+ image_key?: string | undefined;
44342
+ name?: string | undefined;
44343
+ i18n_names?: {
44344
+ zh_cn?: string | undefined;
44345
+ en_us?: string | undefined;
44346
+ ja_jp?: string | undefined;
44347
+ } | undefined;
44348
+ } | undefined;
44349
+ }[] | undefined;
44350
+ }[] | undefined;
44351
+ } | undefined;
44352
+ } | undefined;
44353
+ }>;
44354
+ /**
44355
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=get&version=v1 click to debug }
44356
+ *
44357
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/get document }
44358
+ *
44359
+ * 获取群内菜单
44360
+ *
44361
+ * 通过群ID获取群内菜单。
44362
+ *
44363
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。
44364
+ */
44365
+ get: (payload?: {
44366
+ path?: {
44367
+ chat_id?: string;
44368
+ };
44369
+ }, options?: IRequestOptions$1) => Promise<{
44370
+ code?: number | undefined;
44371
+ msg?: string | undefined;
44372
+ data?: {
44373
+ menu_tree?: {
44374
+ chat_menu_top_levels?: {
44375
+ chat_menu_top_level_id?: string | undefined;
44376
+ chat_menu_item?: {
44377
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44378
+ redirect_link?: {
44379
+ common_url?: string | undefined;
44380
+ ios_url?: string | undefined;
44381
+ android_url?: string | undefined;
44382
+ pc_url?: string | undefined;
44383
+ web_url?: string | undefined;
44384
+ } | undefined;
44385
+ image_key?: string | undefined;
44386
+ name?: string | undefined;
44387
+ i18n_names?: {
44388
+ zh_cn?: string | undefined;
44389
+ en_us?: string | undefined;
44390
+ ja_jp?: string | undefined;
44391
+ } | undefined;
44392
+ } | undefined;
44393
+ children?: {
44394
+ chat_menu_second_level_id?: string | undefined;
44395
+ chat_menu_item?: {
44396
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44397
+ redirect_link?: {
44398
+ common_url?: string | undefined;
44399
+ ios_url?: string | undefined;
44400
+ android_url?: string | undefined;
44401
+ pc_url?: string | undefined;
44402
+ web_url?: string | undefined;
44403
+ } | undefined;
44404
+ image_key?: string | undefined;
44405
+ name?: string | undefined;
44406
+ i18n_names?: {
44407
+ zh_cn?: string | undefined;
44408
+ en_us?: string | undefined;
44409
+ ja_jp?: string | undefined;
44410
+ } | undefined;
44411
+ } | undefined;
44412
+ }[] | undefined;
44413
+ }[] | undefined;
44414
+ } | undefined;
44415
+ } | undefined;
44416
+ }>;
44417
+ /**
44418
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.menu_tree&apiName=sort&version=v1 click to debug }
44419
+ *
44420
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-menu_tree/sort document }
44421
+ *
44422
+ * 排序群菜单
44423
+ *
44424
+ * 给一个群内的一级菜单排序。
44425
+ *
44426
+ * 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 机器人必须在群里。;- 操作API后,将返回群内所有菜单。
44427
+ */
44428
+ sort: (payload?: {
44429
+ data: {
44430
+ chat_menu_top_level_ids: Array<string>;
44431
+ };
44432
+ path?: {
44433
+ chat_id?: string;
44434
+ };
44435
+ }, options?: IRequestOptions$1) => Promise<{
44436
+ code?: number | undefined;
44437
+ msg?: string | undefined;
44438
+ data?: {
44439
+ menu_tree?: {
44440
+ chat_menu_top_levels?: {
44441
+ chat_menu_top_level_id?: string | undefined;
44442
+ chat_menu_item?: {
44443
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44444
+ redirect_link?: {
44445
+ common_url?: string | undefined;
44446
+ ios_url?: string | undefined;
44447
+ android_url?: string | undefined;
44448
+ pc_url?: string | undefined;
44449
+ web_url?: string | undefined;
44450
+ } | undefined;
44451
+ image_key?: string | undefined;
44452
+ name?: string | undefined;
44453
+ i18n_names?: {
44454
+ zh_cn?: string | undefined;
44455
+ en_us?: string | undefined;
44456
+ ja_jp?: string | undefined;
44457
+ } | undefined;
44458
+ } | undefined;
44459
+ children?: {
44460
+ chat_menu_second_level_id?: string | undefined;
44461
+ chat_menu_item?: {
44462
+ action_type?: "NONE" | "REDIRECT_LINK" | undefined;
44463
+ redirect_link?: {
44464
+ common_url?: string | undefined;
44465
+ ios_url?: string | undefined;
44466
+ android_url?: string | undefined;
44467
+ pc_url?: string | undefined;
44468
+ web_url?: string | undefined;
44469
+ } | undefined;
44470
+ image_key?: string | undefined;
44471
+ name?: string | undefined;
44472
+ i18n_names?: {
44473
+ zh_cn?: string | undefined;
44474
+ en_us?: string | undefined;
44475
+ ja_jp?: string | undefined;
44476
+ } | undefined;
44477
+ } | undefined;
44478
+ }[] | undefined;
44479
+ }[] | undefined;
44480
+ } | undefined;
44481
+ } | undefined;
44482
+ }>;
44483
+ };
43434
44484
  /**
43435
44485
  * chat.moderation
43436
44486
  */
@@ -44836,6 +45886,58 @@ declare abstract class Client$1 {
44836
45886
  * 邮件组成员
44837
45887
  */
44838
45888
  mailgroupMember: {
45889
+ /**
45890
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=batch_create&version=v1 click to debug }
45891
+ *
45892
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=mail&resource=mailgroup.member&version=v1 document }
45893
+ */
45894
+ batchCreate: (payload?: {
45895
+ data?: {
45896
+ items?: Array<{
45897
+ member_id?: string;
45898
+ email?: string;
45899
+ user_id?: string;
45900
+ department_id?: string;
45901
+ type?: "USER" | "DEPARTMENT" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER";
45902
+ }>;
45903
+ };
45904
+ params?: {
45905
+ user_id_type?: "user_id" | "union_id" | "open_id";
45906
+ department_id_type?: "department_id" | "open_department_id";
45907
+ };
45908
+ path?: {
45909
+ mailgroup_id?: string;
45910
+ };
45911
+ }, options?: IRequestOptions$1) => Promise<{
45912
+ code?: number | undefined;
45913
+ msg?: string | undefined;
45914
+ data?: {
45915
+ items?: {
45916
+ member_id?: string | undefined;
45917
+ email?: string | undefined;
45918
+ user_id?: string | undefined;
45919
+ department_id?: string | undefined;
45920
+ type?: "DEPARTMENT" | "USER" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER" | undefined;
45921
+ }[] | undefined;
45922
+ } | undefined;
45923
+ }>;
45924
+ /**
45925
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=batch_delete&version=v1 click to debug }
45926
+ *
45927
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=mail&resource=mailgroup.member&version=v1 document }
45928
+ */
45929
+ batchDelete: (payload?: {
45930
+ data?: {
45931
+ member_id_list?: Array<string>;
45932
+ };
45933
+ path?: {
45934
+ mailgroup_id?: string;
45935
+ };
45936
+ }, options?: IRequestOptions$1) => Promise<{
45937
+ code?: number | undefined;
45938
+ msg?: string | undefined;
45939
+ data?: {} | undefined;
45940
+ }>;
44839
45941
  /**
44840
45942
  * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=create&version=v1 click to debug }
44841
45943
  *
@@ -44978,6 +46080,58 @@ declare abstract class Client$1 {
44978
46080
  * 邮件组权限成员
44979
46081
  */
44980
46082
  mailgroupPermissionMember: {
46083
+ /**
46084
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.permission_member&apiName=batch_create&version=v1 click to debug }
46085
+ *
46086
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=mail&resource=mailgroup.permission_member&version=v1 document }
46087
+ */
46088
+ batchCreate: (payload?: {
46089
+ data?: {
46090
+ items?: Array<{
46091
+ permission_member_id?: string;
46092
+ user_id?: string;
46093
+ department_id?: string;
46094
+ email?: string;
46095
+ type?: "USER" | "DEPARTMENT" | "MAIL_GROUP" | "PUBLIC_MAILBOX";
46096
+ }>;
46097
+ };
46098
+ params?: {
46099
+ user_id_type?: "user_id" | "union_id" | "open_id";
46100
+ department_id_type?: "department_id" | "open_department_id";
46101
+ };
46102
+ path?: {
46103
+ mailgroup_id?: string;
46104
+ };
46105
+ }, options?: IRequestOptions$1) => Promise<{
46106
+ code?: number | undefined;
46107
+ msg?: string | undefined;
46108
+ data?: {
46109
+ items?: {
46110
+ permission_member_id?: string | undefined;
46111
+ user_id?: string | undefined;
46112
+ department_id?: string | undefined;
46113
+ email?: string | undefined;
46114
+ type?: "DEPARTMENT" | "USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | undefined;
46115
+ }[] | undefined;
46116
+ } | undefined;
46117
+ }>;
46118
+ /**
46119
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.permission_member&apiName=batch_delete&version=v1 click to debug }
46120
+ *
46121
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=mail&resource=mailgroup.permission_member&version=v1 document }
46122
+ */
46123
+ batchDelete: (payload?: {
46124
+ data: {
46125
+ permission_member_id_list: Array<string>;
46126
+ };
46127
+ path?: {
46128
+ mailgroup_id?: string;
46129
+ };
46130
+ }, options?: IRequestOptions$1) => Promise<{
46131
+ code?: number | undefined;
46132
+ msg?: string | undefined;
46133
+ data?: {} | undefined;
46134
+ }>;
44981
46135
  /**
44982
46136
  * {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.permission_member&apiName=create&version=v1 click to debug }
44983
46137
  *
@@ -45354,6 +46508,53 @@ declare abstract class Client$1 {
45354
46508
  * 公共邮箱成员
45355
46509
  */
45356
46510
  publicMailboxMember: {
46511
+ /**
46512
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox.member&apiName=batch_create&version=v1 click to debug }
46513
+ *
46514
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=mail&resource=public_mailbox.member&version=v1 document }
46515
+ */
46516
+ batchCreate: (payload?: {
46517
+ data: {
46518
+ items: Array<{
46519
+ member_id?: string;
46520
+ user_id?: string;
46521
+ type?: "USER";
46522
+ }>;
46523
+ };
46524
+ params?: {
46525
+ user_id_type?: "user_id" | "union_id" | "open_id";
46526
+ };
46527
+ path: {
46528
+ public_mailbox_id: string;
46529
+ };
46530
+ }, options?: IRequestOptions$1) => Promise<{
46531
+ code?: number | undefined;
46532
+ msg?: string | undefined;
46533
+ data?: {
46534
+ items?: {
46535
+ member_id?: string | undefined;
46536
+ user_id?: string | undefined;
46537
+ type?: "USER" | undefined;
46538
+ }[] | undefined;
46539
+ } | undefined;
46540
+ }>;
46541
+ /**
46542
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox.member&apiName=batch_delete&version=v1 click to debug }
46543
+ *
46544
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=mail&resource=public_mailbox.member&version=v1 document }
46545
+ */
46546
+ batchDelete: (payload?: {
46547
+ data: {
46548
+ member_id_list: Array<string>;
46549
+ };
46550
+ path?: {
46551
+ public_mailbox_id?: string;
46552
+ };
46553
+ }, options?: IRequestOptions$1) => Promise<{
46554
+ code?: number | undefined;
46555
+ msg?: string | undefined;
46556
+ data?: {} | undefined;
46557
+ }>;
45357
46558
  /**
45358
46559
  * {@link https://open.feishu.cn/api-explorer?project=mail&resource=public_mailbox.member&apiName=clear&version=v1 click to debug }
45359
46560
  *
@@ -45685,6 +46886,267 @@ declare abstract class Client$1 {
45685
46886
  url?: string | undefined;
45686
46887
  } | {}>;
45687
46888
  };
46889
+ /**
46890
+ * 指标库
46891
+ */
46892
+ metricSource: {
46893
+ /**
46894
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source&apiName=list&version=v1 click to debug }
46895
+ *
46896
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source/list document }
46897
+ *
46898
+ * 获取指标库
46899
+ *
46900
+ * 获取租户下全部 OKR 指标库(仅限 OKR 企业版使用)
46901
+ */
46902
+ list: (payload?: {
46903
+ params?: {
46904
+ page_token?: string;
46905
+ page_size?: string;
46906
+ };
46907
+ }, options?: IRequestOptions$1) => Promise<{
46908
+ code?: number | undefined;
46909
+ msg?: string | undefined;
46910
+ data?: {
46911
+ total: number;
46912
+ has_more: boolean;
46913
+ page_token?: string | undefined;
46914
+ items?: {
46915
+ metric_source_id: string;
46916
+ metric_source_name: string;
46917
+ metric_name: string;
46918
+ metric_unit: {
46919
+ zh_cn: string;
46920
+ en_us: string;
46921
+ ja_jp: string;
46922
+ };
46923
+ }[] | undefined;
46924
+ } | undefined;
46925
+ }>;
46926
+ };
46927
+ /**
46928
+ * 指标项
46929
+ */
46930
+ metricSourceTableItem: {
46931
+ /**
46932
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=batch_update&version=v1 click to debug }
46933
+ *
46934
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/batch_update document }
46935
+ *
46936
+ * 批量更新指标项
46937
+ *
46938
+ * - 该接口用于批量更新多项指标,单次调用最多更新 100 条记录。接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
46939
+ */
46940
+ batchUpdate: (payload?: {
46941
+ data: {
46942
+ items: Array<{
46943
+ metric_item_id: string;
46944
+ metric_initial_value?: number;
46945
+ metric_target_value?: number;
46946
+ metric_current_value?: number;
46947
+ supported_user_id?: string;
46948
+ }>;
46949
+ };
46950
+ params?: {
46951
+ user_id_type?: "user_id" | "union_id" | "open_id";
46952
+ };
46953
+ path: {
46954
+ metric_source_id: string;
46955
+ metric_table_id: string;
46956
+ };
46957
+ }, options?: IRequestOptions$1) => Promise<{
46958
+ code?: number | undefined;
46959
+ msg?: string | undefined;
46960
+ data?: {
46961
+ items?: {
46962
+ metric_item_id: string;
46963
+ user_id: string;
46964
+ period_id: string;
46965
+ metric_unit: {
46966
+ zh_cn: string;
46967
+ en_us: string;
46968
+ ja_jp: string;
46969
+ };
46970
+ metric_initial_value: number;
46971
+ metric_target_value?: number | undefined;
46972
+ metric_current_value: number;
46973
+ supported_user_id?: string | undefined;
46974
+ kr_id?: string | undefined;
46975
+ updated_at: string;
46976
+ updated_by?: string | undefined;
46977
+ }[] | undefined;
46978
+ failed_items?: {
46979
+ metric_item_id: string;
46980
+ reason: string;
46981
+ }[] | undefined;
46982
+ } | undefined;
46983
+ }>;
46984
+ /**
46985
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=get&version=v1 click to debug }
46986
+ *
46987
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/get document }
46988
+ *
46989
+ * 获取指标项详情
46990
+ *
46991
+ * 获取某项指标的具体内容(仅限 OKR 企业版使用)
46992
+ */
46993
+ get: (payload?: {
46994
+ params?: {
46995
+ user_id_type?: "user_id" | "union_id" | "open_id";
46996
+ };
46997
+ path: {
46998
+ metric_source_id: string;
46999
+ metric_table_id: string;
47000
+ metric_item_id: string;
47001
+ };
47002
+ }, options?: IRequestOptions$1) => Promise<{
47003
+ code?: number | undefined;
47004
+ msg?: string | undefined;
47005
+ data?: {
47006
+ metric_item_id: string;
47007
+ user_id: string;
47008
+ period_id: string;
47009
+ metric_unit: {
47010
+ zh_cn: string;
47011
+ en_us: string;
47012
+ ja_jp: string;
47013
+ };
47014
+ metric_initial_value: number;
47015
+ metric_target_value?: number | undefined;
47016
+ metric_current_value: number;
47017
+ supported_user_id?: string | undefined;
47018
+ kr_id?: string | undefined;
47019
+ updated_at: string;
47020
+ updated_by?: string | undefined;
47021
+ } | undefined;
47022
+ }>;
47023
+ /**
47024
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=list&version=v1 click to debug }
47025
+ *
47026
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/list document }
47027
+ *
47028
+ * 获取指标项
47029
+ *
47030
+ * 获取指定指标表下的所有指标项(仅限 OKR 企业版使用)
47031
+ */
47032
+ list: (payload?: {
47033
+ params?: {
47034
+ user_id_type?: "user_id" | "union_id" | "open_id";
47035
+ page_token?: string;
47036
+ page_size?: string;
47037
+ };
47038
+ path: {
47039
+ metric_source_id: string;
47040
+ metric_table_id: string;
47041
+ };
47042
+ }, options?: IRequestOptions$1) => Promise<{
47043
+ code?: number | undefined;
47044
+ msg?: string | undefined;
47045
+ data?: {
47046
+ total: number;
47047
+ has_more: boolean;
47048
+ page_token?: string | undefined;
47049
+ items?: {
47050
+ metric_item_id: string;
47051
+ user_id: string;
47052
+ period_id: string;
47053
+ metric_unit: {
47054
+ zh_cn: string;
47055
+ en_us: string;
47056
+ ja_jp: string;
47057
+ };
47058
+ metric_initial_value: number;
47059
+ metric_target_value?: number | undefined;
47060
+ metric_current_value: number;
47061
+ supported_user_id?: string | undefined;
47062
+ kr_id?: string | undefined;
47063
+ updated_at: string;
47064
+ updated_by?: string | undefined;
47065
+ }[] | undefined;
47066
+ } | undefined;
47067
+ }>;
47068
+ /**
47069
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=patch&version=v1 click to debug }
47070
+ *
47071
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/patch document }
47072
+ *
47073
+ * 更新指标项
47074
+ *
47075
+ * - 该接口用于更新某项指标,接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
47076
+ */
47077
+ patch: (payload?: {
47078
+ data?: {
47079
+ metric_initial_value?: number;
47080
+ metric_target_value?: number;
47081
+ metric_current_value?: number;
47082
+ supported_user_id?: string;
47083
+ };
47084
+ params?: {
47085
+ user_id_type?: "user_id" | "union_id" | "open_id";
47086
+ };
47087
+ path: {
47088
+ metric_source_id: string;
47089
+ metric_table_id: string;
47090
+ metric_item_id: string;
47091
+ };
47092
+ }, options?: IRequestOptions$1) => Promise<{
47093
+ code?: number | undefined;
47094
+ msg?: string | undefined;
47095
+ data?: {
47096
+ metric_item_id: string;
47097
+ user_id: string;
47098
+ period_id: string;
47099
+ metric_unit: {
47100
+ zh_cn: string;
47101
+ en_us: string;
47102
+ ja_jp: string;
47103
+ };
47104
+ metric_initial_value: number;
47105
+ metric_target_value?: number | undefined;
47106
+ metric_current_value: number;
47107
+ supported_user_id?: string | undefined;
47108
+ kr_id?: string | undefined;
47109
+ updated_at: string;
47110
+ updated_by?: string | undefined;
47111
+ } | undefined;
47112
+ }>;
47113
+ };
47114
+ /**
47115
+ * 指标表
47116
+ */
47117
+ metricSourceTable: {
47118
+ /**
47119
+ * {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table&apiName=list&version=v1 click to debug }
47120
+ *
47121
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table/list document }
47122
+ *
47123
+ * 获取指标表
47124
+ *
47125
+ * 获取指定指标库下有哪些指标表(仅限 OKR 企业版使用)
47126
+ */
47127
+ list: (payload?: {
47128
+ params?: {
47129
+ page_token?: string;
47130
+ page_size?: string;
47131
+ };
47132
+ path: {
47133
+ metric_source_id: string;
47134
+ };
47135
+ }, options?: IRequestOptions$1) => Promise<{
47136
+ code?: number | undefined;
47137
+ msg?: string | undefined;
47138
+ data?: {
47139
+ total: number;
47140
+ has_more: boolean;
47141
+ page_token?: string | undefined;
47142
+ items?: {
47143
+ metric_table_id: string;
47144
+ metric_table_name: string;
47145
+ period_id: string;
47146
+ }[] | undefined;
47147
+ } | undefined;
47148
+ }>;
47149
+ };
45688
47150
  /**
45689
47151
  * OKR
45690
47152
  */
@@ -46515,8 +47977,8 @@ declare abstract class Client$1 {
46515
47977
  listWithIterator: (payload?: {
46516
47978
  params?: {
46517
47979
  view?: number;
46518
- page_token?: string;
46519
47980
  page_size?: number;
47981
+ page_token?: string;
46520
47982
  };
46521
47983
  }, options?: IRequestOptions$1) => Promise<{
46522
47984
  [Symbol.asyncIterator](): AsyncGenerator<{
@@ -46557,8 +48019,8 @@ declare abstract class Client$1 {
46557
48019
  list: (payload?: {
46558
48020
  params?: {
46559
48021
  view?: number;
46560
- page_token?: string;
46561
48022
  page_size?: number;
48023
+ page_token?: string;
46562
48024
  };
46563
48025
  }, options?: IRequestOptions$1) => Promise<{
46564
48026
  code?: number | undefined;
@@ -47481,7 +48943,7 @@ declare abstract class Client$1 {
47481
48943
  }>;
47482
48944
  };
47483
48945
  /**
47484
- * 单元格
48946
+ * 工作表
47485
48947
  */
47486
48948
  spreadsheetSheet: {
47487
48949
  /**
@@ -48967,78 +50429,6 @@ declare abstract class Client$1 {
48967
50429
  * 视频会议
48968
50430
  */
48969
50431
  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
50432
  /**
49043
50433
  * 导出
49044
50434
  */
@@ -50008,6 +51398,9 @@ declare abstract class Client$1 {
50008
51398
  disable_notice?: boolean;
50009
51399
  resume_notice?: boolean;
50010
51400
  };
51401
+ device?: Array<{
51402
+ name: string;
51403
+ }>;
50011
51404
  };
50012
51405
  params?: {
50013
51406
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -50035,6 +51428,9 @@ declare abstract class Client$1 {
50035
51428
  disable_notice?: boolean | undefined;
50036
51429
  resume_notice?: boolean | undefined;
50037
51430
  } | undefined;
51431
+ device?: {
51432
+ name: string;
51433
+ }[] | undefined;
50038
51434
  } | undefined;
50039
51435
  } | undefined;
50040
51436
  }>;
@@ -50095,6 +51491,9 @@ declare abstract class Client$1 {
50095
51491
  disable_notice?: boolean | undefined;
50096
51492
  resume_notice?: boolean | undefined;
50097
51493
  } | undefined;
51494
+ device?: {
51495
+ name: string;
51496
+ }[] | undefined;
50098
51497
  } | undefined;
50099
51498
  } | undefined;
50100
51499
  }>;
@@ -50126,6 +51525,9 @@ declare abstract class Client$1 {
50126
51525
  disable_notice?: boolean | undefined;
50127
51526
  resume_notice?: boolean | undefined;
50128
51527
  } | undefined;
51528
+ device?: {
51529
+ name: string;
51530
+ }[] | undefined;
50129
51531
  }[] | undefined;
50130
51532
  } | null, void, unknown>;
50131
51533
  }>;
@@ -50168,6 +51570,9 @@ declare abstract class Client$1 {
50168
51570
  disable_notice?: boolean | undefined;
50169
51571
  resume_notice?: boolean | undefined;
50170
51572
  } | undefined;
51573
+ device?: {
51574
+ name: string;
51575
+ }[] | undefined;
50171
51576
  }[] | undefined;
50172
51577
  page_token?: string | undefined;
50173
51578
  has_more?: boolean | undefined;
@@ -50212,6 +51617,9 @@ declare abstract class Client$1 {
50212
51617
  disable_notice?: boolean | undefined;
50213
51618
  resume_notice?: boolean | undefined;
50214
51619
  } | undefined;
51620
+ device?: {
51621
+ name: string;
51622
+ }[] | undefined;
50215
51623
  }[] | undefined;
50216
51624
  } | undefined;
50217
51625
  }>;
@@ -50241,6 +51649,9 @@ declare abstract class Client$1 {
50241
51649
  disable_notice?: boolean;
50242
51650
  resume_notice?: boolean;
50243
51651
  };
51652
+ device?: Array<{
51653
+ name: string;
51654
+ }>;
50244
51655
  };
50245
51656
  params?: {
50246
51657
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -50297,6 +51708,9 @@ declare abstract class Client$1 {
50297
51708
  disable_notice?: boolean | undefined;
50298
51709
  resume_notice?: boolean | undefined;
50299
51710
  } | undefined;
51711
+ device?: {
51712
+ name: string;
51713
+ }[] | undefined;
50300
51714
  }[] | undefined;
50301
51715
  page_token?: string | undefined;
50302
51716
  has_more?: boolean | undefined;
@@ -52633,6 +54047,11 @@ interface IHandles extends IOtherEventHandles {
52633
54047
  leaderType: number;
52634
54048
  leaderID: string;
52635
54049
  }>;
54050
+ department_hrbps?: Array<{
54051
+ union_id?: string;
54052
+ user_id?: string;
54053
+ open_id?: string;
54054
+ }>;
52636
54055
  };
52637
54056
  }) => Promise<any> | any;
52638
54057
  /**
@@ -52670,6 +54089,11 @@ interface IHandles extends IOtherEventHandles {
52670
54089
  leaderType: number;
52671
54090
  leaderID: string;
52672
54091
  }>;
54092
+ department_hrbps?: Array<{
54093
+ union_id?: string;
54094
+ user_id?: string;
54095
+ open_id?: string;
54096
+ }>;
52673
54097
  };
52674
54098
  old_object?: {
52675
54099
  status?: {
@@ -52713,6 +54137,11 @@ interface IHandles extends IOtherEventHandles {
52713
54137
  leaderType: number;
52714
54138
  leaderID: string;
52715
54139
  }>;
54140
+ department_hrbps?: Array<{
54141
+ union_id?: string;
54142
+ user_id?: string;
54143
+ open_id?: string;
54144
+ }>;
52716
54145
  };
52717
54146
  old_object?: {
52718
54147
  name: string;
@@ -52730,6 +54159,11 @@ interface IHandles extends IOtherEventHandles {
52730
54159
  leaderType: number;
52731
54160
  leaderID: string;
52732
54161
  }>;
54162
+ department_hrbps?: Array<{
54163
+ union_id?: string;
54164
+ user_id?: string;
54165
+ open_id?: string;
54166
+ }>;
52733
54167
  };
52734
54168
  }) => Promise<any> | any;
52735
54169
  /**
@@ -53017,6 +54451,8 @@ interface IHandles extends IOtherEventHandles {
53017
54451
  };
53018
54452
  is_frozen?: boolean;
53019
54453
  geo?: string;
54454
+ job_level_id?: string;
54455
+ job_family_id?: string;
53020
54456
  }>;
53021
54457
  user_groups?: Array<{
53022
54458
  user_group_id: string;
@@ -53116,6 +54552,8 @@ interface IHandles extends IOtherEventHandles {
53116
54552
  };
53117
54553
  is_frozen?: boolean;
53118
54554
  geo?: string;
54555
+ job_level_id?: string;
54556
+ job_family_id?: string;
53119
54557
  }>;
53120
54558
  user_groups?: Array<{
53121
54559
  user_group_id: string;
@@ -53211,6 +54649,8 @@ interface IHandles extends IOtherEventHandles {
53211
54649
  };
53212
54650
  };
53213
54651
  }>;
54652
+ job_level_id?: string;
54653
+ job_family_id?: string;
53214
54654
  };
53215
54655
  }) => Promise<any> | any;
53216
54656
  /**
@@ -53298,6 +54738,8 @@ interface IHandles extends IOtherEventHandles {
53298
54738
  };
53299
54739
  };
53300
54740
  }>;
54741
+ job_level_id?: string;
54742
+ job_family_id?: string;
53301
54743
  };
53302
54744
  old_object?: {
53303
54745
  department_ids?: Array<string>;
@@ -53389,6 +54831,8 @@ interface IHandles extends IOtherEventHandles {
53389
54831
  };
53390
54832
  };
53391
54833
  }>;
54834
+ job_level_id?: string;
54835
+ job_family_id?: string;
53392
54836
  };
53393
54837
  old_object?: {
53394
54838
  open_id?: string;
@@ -53456,6 +54900,8 @@ interface IHandles extends IOtherEventHandles {
53456
54900
  };
53457
54901
  };
53458
54902
  }>;
54903
+ job_level_id?: string;
54904
+ job_family_id?: string;
53459
54905
  };
53460
54906
  }) => Promise<any> | any;
53461
54907
  /**
@@ -53911,7 +55357,11 @@ interface IHandles extends IOtherEventHandles {
53911
55357
  };
53912
55358
  ticket_type?: number;
53913
55359
  status?: number;
53914
- dissatisfaction_reason?: Array<string>;
55360
+ dissatisfaction_reason?: {
55361
+ zh_cn?: string;
55362
+ en_us?: string;
55363
+ ja_jp?: string;
55364
+ };
53915
55365
  customized_fields?: Array<{
53916
55366
  id?: string;
53917
55367
  value?: string;
@@ -54575,6 +56025,104 @@ interface IHandles extends IOtherEventHandles {
54575
56025
  task_id?: string;
54576
56026
  obj_type?: number;
54577
56027
  }) => Promise<any> | any;
56028
+ /**
56029
+
56030
+ */
56031
+ "vc.meeting.all_meeting_ended_v1"?: (data: {
56032
+ event_id?: string;
56033
+ token?: string;
56034
+ create_time?: string;
56035
+ event_type?: string;
56036
+ tenant_key?: string;
56037
+ ts?: string;
56038
+ uuid?: string;
56039
+ type?: string;
56040
+ app_id?: string;
56041
+ meeting?: {
56042
+ id?: string;
56043
+ topic?: string;
56044
+ meeting_no?: string;
56045
+ meeting_source?: number;
56046
+ start_time?: string;
56047
+ end_time?: string;
56048
+ host_user?: {
56049
+ id?: {
56050
+ union_id?: string;
56051
+ user_id?: string;
56052
+ open_id?: string;
56053
+ };
56054
+ user_role?: number;
56055
+ user_type?: number;
56056
+ };
56057
+ owner?: {
56058
+ id?: {
56059
+ union_id?: string;
56060
+ user_id?: string;
56061
+ open_id?: string;
56062
+ };
56063
+ user_role?: number;
56064
+ user_type?: number;
56065
+ };
56066
+ };
56067
+ operator?: {
56068
+ id?: {
56069
+ union_id?: string;
56070
+ user_id?: string;
56071
+ open_id?: string;
56072
+ };
56073
+ user_role?: number;
56074
+ user_type?: number;
56075
+ };
56076
+ }) => Promise<any> | any;
56077
+ /**
56078
+
56079
+ */
56080
+ "vc.meeting.all_meeting_started_v1"?: (data: {
56081
+ event_id?: string;
56082
+ token?: string;
56083
+ create_time?: string;
56084
+ event_type?: string;
56085
+ tenant_key?: string;
56086
+ ts?: string;
56087
+ uuid?: string;
56088
+ type?: string;
56089
+ app_id?: string;
56090
+ meeting?: {
56091
+ id?: string;
56092
+ topic?: string;
56093
+ meeting_no?: string;
56094
+ meeting_source?: number;
56095
+ start_time?: string;
56096
+ end_time?: string;
56097
+ host_user?: {
56098
+ id?: {
56099
+ union_id?: string;
56100
+ user_id?: string;
56101
+ open_id?: string;
56102
+ };
56103
+ user_role?: number;
56104
+ user_type?: number;
56105
+ };
56106
+ owner?: {
56107
+ id?: {
56108
+ union_id?: string;
56109
+ user_id?: string;
56110
+ open_id?: string;
56111
+ };
56112
+ user_role?: number;
56113
+ user_type?: number;
56114
+ };
56115
+ };
56116
+ operator?: {
56117
+ id?: {
56118
+ union_id?: string;
56119
+ user_id?: string;
56120
+ open_id?: string;
56121
+ };
56122
+ user_role?: number;
56123
+ user_type?: number;
56124
+ };
56125
+ }) => Promise<any> | any;
54578
56126
  /**
54579
56127
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/join_meeting document }
54580
56128
  *
@@ -54596,6 +56144,7 @@ interface IHandles extends IOtherEventHandles {
54596
56144
  id?: string;
54597
56145
  topic?: string;
54598
56146
  meeting_no?: string;
56147
+ meeting_source?: number;
54599
56148
  start_time?: string;
54600
56149
  end_time?: string;
54601
56150
  host_user?: {
@@ -54648,6 +56197,7 @@ interface IHandles extends IOtherEventHandles {
54648
56197
  id?: string;
54649
56198
  topic?: string;
54650
56199
  meeting_no?: string;
56200
+ meeting_source?: number;
54651
56201
  start_time?: string;
54652
56202
  end_time?: string;
54653
56203
  host_user?: {
@@ -54701,6 +56251,7 @@ interface IHandles extends IOtherEventHandles {
54701
56251
  id?: string;
54702
56252
  topic?: string;
54703
56253
  meeting_no?: string;
56254
+ meeting_source?: number;
54704
56255
  start_time?: string;
54705
56256
  end_time?: string;
54706
56257
  host_user?: {
@@ -54753,6 +56304,7 @@ interface IHandles extends IOtherEventHandles {
54753
56304
  id?: string;
54754
56305
  topic?: string;
54755
56306
  meeting_no?: string;
56307
+ meeting_source?: number;
54756
56308
  start_time?: string;
54757
56309
  end_time?: string;
54758
56310
  host_user?: {
@@ -54805,6 +56357,7 @@ interface IHandles extends IOtherEventHandles {
54805
56357
  id?: string;
54806
56358
  topic?: string;
54807
56359
  meeting_no?: string;
56360
+ meeting_source?: number;
54808
56361
  start_time?: string;
54809
56362
  end_time?: string;
54810
56363
  host_user?: {
@@ -54859,6 +56412,7 @@ interface IHandles extends IOtherEventHandles {
54859
56412
  id?: string;
54860
56413
  topic?: string;
54861
56414
  meeting_no?: string;
56415
+ meeting_source?: number;
54862
56416
  owner?: {
54863
56417
  id?: {
54864
56418
  union_id?: string;
@@ -54891,6 +56445,7 @@ interface IHandles extends IOtherEventHandles {
54891
56445
  id?: string;
54892
56446
  topic?: string;
54893
56447
  meeting_no?: string;
56448
+ meeting_source?: number;
54894
56449
  start_time?: string;
54895
56450
  end_time?: string;
54896
56451
  host_user?: {
@@ -54943,6 +56498,7 @@ interface IHandles extends IOtherEventHandles {
54943
56498
  id?: string;
54944
56499
  topic?: string;
54945
56500
  meeting_no?: string;
56501
+ meeting_source?: number;
54946
56502
  start_time?: string;
54947
56503
  end_time?: string;
54948
56504
  host_user?: {
@@ -54995,6 +56551,7 @@ interface IHandles extends IOtherEventHandles {
54995
56551
  id?: string;
54996
56552
  topic?: string;
54997
56553
  meeting_no?: string;
56554
+ meeting_source?: number;
54998
56555
  start_time?: string;
54999
56556
  end_time?: string;
55000
56557
  host_user?: {
@@ -55066,6 +56623,9 @@ interface IHandles extends IOtherEventHandles {
55066
56623
  disable_notice?: boolean;
55067
56624
  resume_notice?: boolean;
55068
56625
  };
56626
+ device?: Array<{
56627
+ name: string;
56628
+ }>;
55069
56629
  };
55070
56630
  }) => Promise<any> | any;
55071
56631
  /**
@@ -55129,6 +56689,9 @@ interface IHandles extends IOtherEventHandles {
55129
56689
  disable_notice?: boolean;
55130
56690
  resume_notice?: boolean;
55131
56691
  };
56692
+ device?: Array<{
56693
+ name: string;
56694
+ }>;
55132
56695
  };
55133
56696
  }) => Promise<any> | any;
55134
56697
  }