@larksuiteoapi/node-sdk 1.33.1 → 1.35.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
@@ -11,6 +11,7 @@
11
11
  */
12
12
 
13
13
  import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import { Readable } from 'stream';
14
15
  import fs from 'fs';
15
16
 
16
17
  declare const defaultHttpInstance: AxiosInstance;
@@ -143,6 +144,7 @@ declare abstract class Client$$ {
143
144
  };
144
145
  }, options?: IRequestOptions$1) => Promise<{
145
146
  writeFile: (filePath: string) => Promise<unknown>;
147
+ getReadableStream: () => Readable;
146
148
  }>;
147
149
  };
148
150
  /**
@@ -408,6 +410,7 @@ declare abstract class Client$$ {
408
410
  };
409
411
  }, options?: IRequestOptions$1) => Promise<{
410
412
  writeFile: (filePath: string) => Promise<unknown>;
413
+ getReadableStream: () => Readable;
411
414
  }>;
412
415
  /**
413
416
  * {@link https://open.feishu.cn/api-explorer?project=acs&resource=user.face&apiName=update&version=v1 click to debug }
@@ -610,6 +613,7 @@ declare abstract class Client$$ {
610
613
  };
611
614
  }, options?: IRequestOptions$1) => Promise<{
612
615
  writeFile: (filePath: string) => Promise<unknown>;
616
+ getReadableStream: () => Readable;
613
617
  }>;
614
618
  };
615
619
  /**
@@ -875,6 +879,7 @@ declare abstract class Client$$ {
875
879
  };
876
880
  }, options?: IRequestOptions$1) => Promise<{
877
881
  writeFile: (filePath: string) => Promise<unknown>;
882
+ getReadableStream: () => Readable;
878
883
  }>;
879
884
  /**
880
885
  * {@link https://open.feishu.cn/api-explorer?project=acs&resource=user.face&apiName=update&version=v1 click to debug }
@@ -4712,6 +4717,37 @@ declare abstract class Client$Y extends Client$Z {
4712
4717
  data?: {} | undefined;
4713
4718
  }>;
4714
4719
  };
4720
+ /**
4721
+ * scope
4722
+ */
4723
+ scope: {
4724
+ /**
4725
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=scope&apiName=apply&version=v6 click to debug }
4726
+ *
4727
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=apply&project=application&resource=scope&version=v6 document }
4728
+ */
4729
+ apply: (payload?: {}, options?: IRequestOptions$1) => Promise<{
4730
+ code?: number | undefined;
4731
+ msg?: string | undefined;
4732
+ data?: {} | undefined;
4733
+ }>;
4734
+ /**
4735
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=scope&apiName=list&version=v6 click to debug }
4736
+ *
4737
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=application&resource=scope&version=v6 document }
4738
+ */
4739
+ list: (payload?: {}, options?: IRequestOptions$1) => Promise<{
4740
+ code?: number | undefined;
4741
+ msg?: string | undefined;
4742
+ data?: {
4743
+ scopes?: {
4744
+ scope_name: string;
4745
+ grant_status: number;
4746
+ scope_type?: "user" | "tenant" | undefined;
4747
+ }[] | undefined;
4748
+ } | undefined;
4749
+ }>;
4750
+ };
4715
4751
  v6: {
4716
4752
  /**
4717
4753
  * 应用红点
@@ -5883,6 +5919,37 @@ declare abstract class Client$Y extends Client$Z {
5883
5919
  data?: {} | undefined;
5884
5920
  }>;
5885
5921
  };
5922
+ /**
5923
+ * scope
5924
+ */
5925
+ scope: {
5926
+ /**
5927
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=scope&apiName=apply&version=v6 click to debug }
5928
+ *
5929
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=apply&project=application&resource=scope&version=v6 document }
5930
+ */
5931
+ apply: (payload?: {}, options?: IRequestOptions$1) => Promise<{
5932
+ code?: number | undefined;
5933
+ msg?: string | undefined;
5934
+ data?: {} | undefined;
5935
+ }>;
5936
+ /**
5937
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=scope&apiName=list&version=v6 click to debug }
5938
+ *
5939
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=application&resource=scope&version=v6 document }
5940
+ */
5941
+ list: (payload?: {}, options?: IRequestOptions$1) => Promise<{
5942
+ code?: number | undefined;
5943
+ msg?: string | undefined;
5944
+ data?: {
5945
+ scopes?: {
5946
+ scope_name: string;
5947
+ grant_status: number;
5948
+ scope_type?: "user" | "tenant" | undefined;
5949
+ }[] | undefined;
5950
+ } | undefined;
5951
+ }>;
5952
+ };
5886
5953
  };
5887
5954
  };
5888
5955
  }
@@ -7173,7 +7240,7 @@ declare abstract class Client$X extends Client$Y {
7173
7240
  }>;
7174
7241
  };
7175
7242
  /**
7176
- * 原生审批任务
7243
+ * 审批查询
7177
7244
  */
7178
7245
  task: {
7179
7246
  /**
@@ -8706,7 +8773,7 @@ declare abstract class Client$X extends Client$Y {
8706
8773
  }>;
8707
8774
  };
8708
8775
  /**
8709
- * 原生审批任务
8776
+ * 审批查询
8710
8777
  */
8711
8778
  task: {
8712
8779
  /**
@@ -9165,6 +9232,7 @@ declare abstract class Client$W extends Client$X {
9165
9232
  };
9166
9233
  }, options?: IRequestOptions$1) => Promise<{
9167
9234
  writeFile: (filePath: string) => Promise<unknown>;
9235
+ getReadableStream: () => Readable;
9168
9236
  }>;
9169
9237
  /**
9170
9238
  * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=file&apiName=upload&version=v1 click to debug }
@@ -9937,231 +10005,234 @@ declare abstract class Client$W extends Client$X {
9937
10005
  late_on_base_on_time_type?: number;
9938
10006
  };
9939
10007
  };
9940
- }, options?: IRequestOptions$1) => Promise<{
9941
- code?: number | undefined;
9942
- msg?: string | undefined;
9943
- data?: {
9944
- shift?: {
9945
- shift_id: string;
9946
- shift_name: string;
9947
- punch_times: number;
9948
- sub_shift_leader_ids?: string[] | undefined;
9949
- is_flexible?: boolean | undefined;
9950
- flexible_minutes?: number | undefined;
9951
- flexible_rule?: {
9952
- flexible_early_minutes: number;
9953
- flexible_late_minutes: number;
9954
- }[] | undefined;
9955
- no_need_off?: boolean | undefined;
9956
- punch_time_rule: Array<{
9957
- on_time: string;
9958
- off_time: string;
9959
- late_minutes_as_late: number;
9960
- late_minutes_as_lack: number;
9961
- on_advance_minutes: number;
9962
- early_minutes_as_early: number;
9963
- early_minutes_as_lack: number;
9964
- off_delay_minutes: number;
9965
- late_minutes_as_serious_late?: number;
9966
- no_need_on?: boolean;
9967
- no_need_off?: boolean;
9968
- }>;
9969
- late_off_late_on_rule?: {
9970
- late_off_minutes: number;
9971
- late_on_minutes: number;
9972
- }[] | undefined;
9973
- rest_time_rule?: {
9974
- rest_begin_time: string;
9975
- rest_end_time: string;
9976
- }[] | undefined;
9977
- overtime_rule?: {
9978
- on_overtime: string;
9979
- off_overtime: string;
9980
- }[] | undefined;
9981
- day_type?: number | undefined;
9982
- overtime_rest_time_rule?: {
9983
- rest_begin_time: string;
9984
- rest_end_time: string;
9985
- }[] | undefined;
9986
- late_minutes_as_serious_late?: number | undefined;
9987
- shift_middle_time_rule?: {
9988
- middle_time_type?: number | undefined;
9989
- fixed_middle_time?: string | undefined;
9990
- } | undefined;
9991
- late_off_late_on_setting?: {
9992
- late_off_base_on_time_type?: number | undefined;
9993
- late_on_base_on_time_type?: number | undefined;
9994
- } | undefined;
9995
- } | undefined;
9996
- } | undefined;
9997
- }>;
9998
- /**
9999
- * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=shift&apiName=delete&version=v1 click to debug }
10000
- *
10001
- * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/delete document }
10002
- *
10003
- * 删除班次
10004
- *
10005
- * 通过班次 ID 删除班次。
10006
- */
10007
- delete: (payload?: {
10008
- path: {
10009
- shift_id: string;
10010
- };
10011
- }, options?: IRequestOptions$1) => Promise<{
10012
- code?: number | undefined;
10013
- msg?: string | undefined;
10014
- data?: {} | undefined;
10015
- }>;
10016
- /**
10017
- * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=shift&apiName=get&version=v1 click to debug }
10018
- *
10019
- * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/get document }
10020
- *
10021
- * 获取班次详情
10022
- *
10023
- * 通过班次 ID 获取班次详情。
10024
- */
10025
- get: (payload?: {
10026
- path: {
10027
- shift_id: string;
10028
- };
10029
- }, options?: IRequestOptions$1) => Promise<{
10030
- code?: number | undefined;
10031
- msg?: string | undefined;
10032
- data?: {
10033
- shift_id: string;
10034
- shift_name: string;
10035
- punch_times: number;
10036
- sub_shift_leader_ids?: string[] | undefined;
10037
- is_flexible?: boolean | undefined;
10038
- flexible_minutes?: number | undefined;
10039
- flexible_rule?: {
10040
- flexible_early_minutes: number;
10041
- flexible_late_minutes: number;
10042
- }[] | undefined;
10043
- no_need_off?: boolean | undefined;
10044
- punch_time_rule: Array<{
10045
- on_time: string;
10046
- off_time: string;
10047
- late_minutes_as_late: number;
10048
- late_minutes_as_lack: number;
10049
- on_advance_minutes: number;
10050
- early_minutes_as_early: number;
10051
- early_minutes_as_lack: number;
10052
- off_delay_minutes: number;
10053
- late_minutes_as_serious_late?: number;
10054
- no_need_on?: boolean;
10055
- no_need_off?: boolean;
10056
- }>;
10057
- late_off_late_on_rule?: {
10058
- late_off_minutes: number;
10059
- late_on_minutes: number;
10060
- }[] | undefined;
10061
- rest_time_rule?: {
10062
- rest_begin_time: string;
10063
- rest_end_time: string;
10064
- }[] | undefined;
10065
- overtime_rule?: {
10066
- on_overtime: string;
10067
- off_overtime: string;
10068
- }[] | undefined;
10069
- day_type?: number | undefined;
10070
- overtime_rest_time_rule?: {
10071
- rest_begin_time: string;
10072
- rest_end_time: string;
10073
- }[] | undefined;
10074
- late_minutes_as_serious_late?: number | undefined;
10075
- shift_middle_time_rule?: {
10076
- middle_time_type?: number | undefined;
10077
- fixed_middle_time?: string | undefined;
10078
- } | undefined;
10079
- late_off_late_on_setting?: {
10080
- late_off_base_on_time_type?: number | undefined;
10081
- late_on_base_on_time_type?: number | undefined;
10082
- } | undefined;
10083
- } | undefined;
10084
- }>;
10085
- listWithIterator: (payload?: {
10086
10008
  params?: {
10087
- page_size?: number;
10088
- page_token?: string;
10089
- };
10090
- }, options?: IRequestOptions$1) => Promise<{
10091
- [Symbol.asyncIterator](): AsyncGenerator<{
10092
- shift_list?: {
10093
- shift_id: string;
10094
- shift_name: string;
10095
- punch_times: number;
10096
- sub_shift_leader_ids?: string[] | undefined;
10097
- is_flexible?: boolean | undefined;
10098
- flexible_minutes?: number | undefined;
10099
- flexible_rule?: {
10100
- flexible_early_minutes: number;
10101
- flexible_late_minutes: number;
10102
- }[] | undefined;
10103
- no_need_off?: boolean | undefined;
10104
- punch_time_rule: Array<{
10105
- on_time: string;
10106
- off_time: string;
10107
- late_minutes_as_late: number;
10108
- late_minutes_as_lack: number;
10109
- on_advance_minutes: number;
10110
- early_minutes_as_early: number;
10111
- early_minutes_as_lack: number;
10112
- off_delay_minutes: number;
10113
- late_minutes_as_serious_late?: number;
10114
- no_need_on?: boolean;
10115
- no_need_off?: boolean;
10116
- }>;
10117
- late_off_late_on_rule?: {
10118
- late_off_minutes: number;
10119
- late_on_minutes: number;
10120
- }[] | undefined;
10121
- rest_time_rule?: {
10122
- rest_begin_time: string;
10123
- rest_end_time: string;
10124
- }[] | undefined;
10125
- overtime_rule?: {
10126
- on_overtime: string;
10127
- off_overtime: string;
10128
- }[] | undefined;
10129
- day_type?: number | undefined;
10130
- overtime_rest_time_rule?: {
10131
- rest_begin_time: string;
10132
- rest_end_time: string;
10133
- }[] | undefined;
10134
- late_minutes_as_serious_late?: number | undefined;
10135
- shift_middle_time_rule?: {
10136
- middle_time_type?: number | undefined;
10137
- fixed_middle_time?: string | undefined;
10138
- } | undefined;
10139
- late_off_late_on_setting?: {
10140
- late_off_base_on_time_type?: number | undefined;
10141
- late_on_base_on_time_type?: number | undefined;
10142
- } | undefined;
10143
- }[] | undefined;
10144
- } | null, void, unknown>;
10145
- }>;
10146
- /**
10147
- * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=shift&apiName=list&version=v1 click to debug }
10148
- *
10149
- * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/list document }
10150
- *
10151
- * 获取班次列表
10152
- *
10153
- * 翻页获取所有班次列表。
10154
- */
10155
- list: (payload?: {
10156
- params?: {
10157
- page_size?: number;
10158
- page_token?: string;
10009
+ employee_type?: "employee_id" | "employee_no";
10159
10010
  };
10160
10011
  }, options?: IRequestOptions$1) => Promise<{
10161
10012
  code?: number | undefined;
10162
10013
  msg?: string | undefined;
10163
10014
  data?: {
10164
- shift_list?: {
10015
+ shift?: {
10016
+ shift_id: string;
10017
+ shift_name: string;
10018
+ punch_times: number;
10019
+ sub_shift_leader_ids?: string[] | undefined;
10020
+ is_flexible?: boolean | undefined;
10021
+ flexible_minutes?: number | undefined;
10022
+ flexible_rule?: {
10023
+ flexible_early_minutes: number;
10024
+ flexible_late_minutes: number;
10025
+ }[] | undefined;
10026
+ no_need_off?: boolean | undefined;
10027
+ punch_time_rule: Array<{
10028
+ on_time: string;
10029
+ off_time: string;
10030
+ late_minutes_as_late: number;
10031
+ late_minutes_as_lack: number;
10032
+ on_advance_minutes: number;
10033
+ early_minutes_as_early: number;
10034
+ early_minutes_as_lack: number;
10035
+ off_delay_minutes: number;
10036
+ late_minutes_as_serious_late?: number;
10037
+ no_need_on?: boolean;
10038
+ no_need_off?: boolean;
10039
+ }>;
10040
+ late_off_late_on_rule?: {
10041
+ late_off_minutes: number;
10042
+ late_on_minutes: number;
10043
+ }[] | undefined;
10044
+ rest_time_rule?: {
10045
+ rest_begin_time: string;
10046
+ rest_end_time: string;
10047
+ }[] | undefined;
10048
+ overtime_rule?: {
10049
+ on_overtime: string;
10050
+ off_overtime: string;
10051
+ }[] | undefined;
10052
+ day_type?: number | undefined;
10053
+ overtime_rest_time_rule?: {
10054
+ rest_begin_time: string;
10055
+ rest_end_time: string;
10056
+ }[] | undefined;
10057
+ late_minutes_as_serious_late?: number | undefined;
10058
+ shift_middle_time_rule?: {
10059
+ middle_time_type?: number | undefined;
10060
+ fixed_middle_time?: string | undefined;
10061
+ } | undefined;
10062
+ late_off_late_on_setting?: {
10063
+ late_off_base_on_time_type?: number | undefined;
10064
+ late_on_base_on_time_type?: number | undefined;
10065
+ } | undefined;
10066
+ } | undefined;
10067
+ } | undefined;
10068
+ }>;
10069
+ /**
10070
+ * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=shift&apiName=delete&version=v1 click to debug }
10071
+ *
10072
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/delete document }
10073
+ *
10074
+ * 删除班次
10075
+ *
10076
+ * 通过班次 ID 删除班次。
10077
+ */
10078
+ delete: (payload?: {
10079
+ path: {
10080
+ shift_id: string;
10081
+ };
10082
+ }, options?: IRequestOptions$1) => Promise<{
10083
+ code?: number | undefined;
10084
+ msg?: string | undefined;
10085
+ data?: {} | undefined;
10086
+ }>;
10087
+ /**
10088
+ * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=shift&apiName=get&version=v1 click to debug }
10089
+ *
10090
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/get document }
10091
+ *
10092
+ * 获取班次详情
10093
+ *
10094
+ * 通过班次 ID 获取班次详情。
10095
+ */
10096
+ get: (payload?: {
10097
+ path: {
10098
+ shift_id: string;
10099
+ };
10100
+ }, options?: IRequestOptions$1) => Promise<{
10101
+ code?: number | undefined;
10102
+ msg?: string | undefined;
10103
+ data?: {
10104
+ shift_id: string;
10105
+ shift_name: string;
10106
+ punch_times: number;
10107
+ sub_shift_leader_ids?: string[] | undefined;
10108
+ is_flexible?: boolean | undefined;
10109
+ flexible_minutes?: number | undefined;
10110
+ flexible_rule?: {
10111
+ flexible_early_minutes: number;
10112
+ flexible_late_minutes: number;
10113
+ }[] | undefined;
10114
+ no_need_off?: boolean | undefined;
10115
+ punch_time_rule: Array<{
10116
+ on_time: string;
10117
+ off_time: string;
10118
+ late_minutes_as_late: number;
10119
+ late_minutes_as_lack: number;
10120
+ on_advance_minutes: number;
10121
+ early_minutes_as_early: number;
10122
+ early_minutes_as_lack: number;
10123
+ off_delay_minutes: number;
10124
+ late_minutes_as_serious_late?: number;
10125
+ no_need_on?: boolean;
10126
+ no_need_off?: boolean;
10127
+ }>;
10128
+ late_off_late_on_rule?: {
10129
+ late_off_minutes: number;
10130
+ late_on_minutes: number;
10131
+ }[] | undefined;
10132
+ rest_time_rule?: {
10133
+ rest_begin_time: string;
10134
+ rest_end_time: string;
10135
+ }[] | undefined;
10136
+ overtime_rule?: {
10137
+ on_overtime: string;
10138
+ off_overtime: string;
10139
+ }[] | undefined;
10140
+ day_type?: number | undefined;
10141
+ overtime_rest_time_rule?: {
10142
+ rest_begin_time: string;
10143
+ rest_end_time: string;
10144
+ }[] | undefined;
10145
+ late_minutes_as_serious_late?: number | undefined;
10146
+ shift_middle_time_rule?: {
10147
+ middle_time_type?: number | undefined;
10148
+ fixed_middle_time?: string | undefined;
10149
+ } | undefined;
10150
+ late_off_late_on_setting?: {
10151
+ late_off_base_on_time_type?: number | undefined;
10152
+ late_on_base_on_time_type?: number | undefined;
10153
+ } | undefined;
10154
+ } | undefined;
10155
+ }>;
10156
+ listWithIterator: (payload?: {
10157
+ params?: {
10158
+ page_size?: number;
10159
+ page_token?: string;
10160
+ };
10161
+ }, options?: IRequestOptions$1) => Promise<{
10162
+ [Symbol.asyncIterator](): AsyncGenerator<{
10163
+ shift_list?: {
10164
+ shift_id: string;
10165
+ shift_name: string;
10166
+ punch_times: number;
10167
+ sub_shift_leader_ids?: string[] | undefined;
10168
+ is_flexible?: boolean | undefined;
10169
+ flexible_minutes?: number | undefined;
10170
+ flexible_rule?: {
10171
+ flexible_early_minutes: number;
10172
+ flexible_late_minutes: number;
10173
+ }[] | undefined;
10174
+ no_need_off?: boolean | undefined;
10175
+ punch_time_rule: Array<{
10176
+ on_time: string;
10177
+ off_time: string;
10178
+ late_minutes_as_late: number;
10179
+ late_minutes_as_lack: number;
10180
+ on_advance_minutes: number;
10181
+ early_minutes_as_early: number;
10182
+ early_minutes_as_lack: number;
10183
+ off_delay_minutes: number;
10184
+ late_minutes_as_serious_late?: number;
10185
+ no_need_on?: boolean;
10186
+ no_need_off?: boolean;
10187
+ }>;
10188
+ late_off_late_on_rule?: {
10189
+ late_off_minutes: number;
10190
+ late_on_minutes: number;
10191
+ }[] | undefined;
10192
+ rest_time_rule?: {
10193
+ rest_begin_time: string;
10194
+ rest_end_time: string;
10195
+ }[] | undefined;
10196
+ overtime_rule?: {
10197
+ on_overtime: string;
10198
+ off_overtime: string;
10199
+ }[] | undefined;
10200
+ day_type?: number | undefined;
10201
+ overtime_rest_time_rule?: {
10202
+ rest_begin_time: string;
10203
+ rest_end_time: string;
10204
+ }[] | undefined;
10205
+ late_minutes_as_serious_late?: number | undefined;
10206
+ shift_middle_time_rule?: {
10207
+ middle_time_type?: number | undefined;
10208
+ fixed_middle_time?: string | undefined;
10209
+ } | undefined;
10210
+ late_off_late_on_setting?: {
10211
+ late_off_base_on_time_type?: number | undefined;
10212
+ late_on_base_on_time_type?: number | undefined;
10213
+ } | undefined;
10214
+ }[] | undefined;
10215
+ } | null, void, unknown>;
10216
+ }>;
10217
+ /**
10218
+ * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=shift&apiName=list&version=v1 click to debug }
10219
+ *
10220
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/list document }
10221
+ *
10222
+ * 获取班次列表
10223
+ *
10224
+ * 翻页获取所有班次列表。
10225
+ */
10226
+ list: (payload?: {
10227
+ params?: {
10228
+ page_size?: number;
10229
+ page_token?: string;
10230
+ };
10231
+ }, options?: IRequestOptions$1) => Promise<{
10232
+ code?: number | undefined;
10233
+ msg?: string | undefined;
10234
+ data?: {
10235
+ shift_list?: {
10165
10236
  shift_id: string;
10166
10237
  shift_name: string;
10167
10238
  punch_times: number;
@@ -10541,6 +10612,7 @@ declare abstract class Client$W extends Client$X {
10541
10612
  month: number;
10542
10613
  user_id: string;
10543
10614
  day_no: number;
10615
+ is_clear_schedule?: boolean;
10544
10616
  }>;
10545
10617
  operator_id?: string;
10546
10618
  };
@@ -10557,6 +10629,7 @@ declare abstract class Client$W extends Client$X {
10557
10629
  month: number;
10558
10630
  user_id: string;
10559
10631
  day_no: number;
10632
+ is_clear_schedule?: boolean | undefined;
10560
10633
  }[] | undefined;
10561
10634
  } | undefined;
10562
10635
  }>;
@@ -10588,6 +10661,7 @@ declare abstract class Client$W extends Client$X {
10588
10661
  month: number;
10589
10662
  user_id: string;
10590
10663
  day_no: number;
10664
+ is_clear_schedule?: boolean | undefined;
10591
10665
  }[] | undefined;
10592
10666
  } | undefined;
10593
10667
  }>;
@@ -11415,6 +11489,7 @@ declare abstract class Client$W extends Client$X {
11415
11489
  };
11416
11490
  }, options?: IRequestOptions$1) => Promise<{
11417
11491
  writeFile: (filePath: string) => Promise<unknown>;
11492
+ getReadableStream: () => Readable;
11418
11493
  }>;
11419
11494
  /**
11420
11495
  * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=file&apiName=upload&version=v1 click to debug }
@@ -12187,6 +12262,9 @@ declare abstract class Client$W extends Client$X {
12187
12262
  late_on_base_on_time_type?: number;
12188
12263
  };
12189
12264
  };
12265
+ params?: {
12266
+ employee_type?: "employee_id" | "employee_no";
12267
+ };
12190
12268
  }, options?: IRequestOptions$1) => Promise<{
12191
12269
  code?: number | undefined;
12192
12270
  msg?: string | undefined;
@@ -12791,6 +12869,7 @@ declare abstract class Client$W extends Client$X {
12791
12869
  month: number;
12792
12870
  user_id: string;
12793
12871
  day_no: number;
12872
+ is_clear_schedule?: boolean;
12794
12873
  }>;
12795
12874
  operator_id?: string;
12796
12875
  };
@@ -12807,6 +12886,7 @@ declare abstract class Client$W extends Client$X {
12807
12886
  month: number;
12808
12887
  user_id: string;
12809
12888
  day_no: number;
12889
+ is_clear_schedule?: boolean | undefined;
12810
12890
  }[] | undefined;
12811
12891
  } | undefined;
12812
12892
  }>;
@@ -12838,6 +12918,7 @@ declare abstract class Client$W extends Client$X {
12838
12918
  month: number;
12839
12919
  user_id: string;
12840
12920
  day_no: number;
12921
+ is_clear_schedule?: boolean | undefined;
12841
12922
  }[] | undefined;
12842
12923
  } | undefined;
12843
12924
  }>;
@@ -15299,6 +15380,7 @@ declare abstract class Client$S extends Client$T {
15299
15380
  };
15300
15381
  }, options?: IRequestOptions$1) => Promise<{
15301
15382
  writeFile: (filePath: string) => Promise<unknown>;
15383
+ getReadableStream: () => Readable;
15302
15384
  }>;
15303
15385
  /**
15304
15386
  * {@link https://open.feishu.cn/api-explorer?project=baike&resource=file&apiName=upload&version=v1 click to debug }
@@ -16577,6 +16659,7 @@ declare abstract class Client$S extends Client$T {
16577
16659
  };
16578
16660
  }, options?: IRequestOptions$1) => Promise<{
16579
16661
  writeFile: (filePath: string) => Promise<unknown>;
16662
+ getReadableStream: () => Readable;
16580
16663
  }>;
16581
16664
  /**
16582
16665
  * {@link https://open.feishu.cn/api-explorer?project=baike&resource=file&apiName=upload&version=v1 click to debug }
@@ -18136,6 +18219,7 @@ declare abstract class Client$R extends Client$S {
18136
18219
  avatar_url?: string;
18137
18220
  };
18138
18221
  last_modified_time?: number;
18222
+ shared_url?: string;
18139
18223
  record_url?: string;
18140
18224
  }>;
18141
18225
  };
@@ -18198,6 +18282,7 @@ declare abstract class Client$R extends Client$S {
18198
18282
  avatar_url?: string | undefined;
18199
18283
  } | undefined;
18200
18284
  last_modified_time?: number | undefined;
18285
+ shared_url?: string | undefined;
18201
18286
  record_url?: string | undefined;
18202
18287
  }[] | undefined;
18203
18288
  } | undefined;
@@ -18300,6 +18385,7 @@ declare abstract class Client$R extends Client$S {
18300
18385
  avatar_url?: string | undefined;
18301
18386
  } | undefined;
18302
18387
  last_modified_time?: number | undefined;
18388
+ shared_url?: string | undefined;
18303
18389
  record_url?: string | undefined;
18304
18390
  }[] | undefined;
18305
18391
  forbidden_record_ids?: string[] | undefined;
@@ -18366,6 +18452,7 @@ declare abstract class Client$R extends Client$S {
18366
18452
  avatar_url?: string;
18367
18453
  };
18368
18454
  last_modified_time?: number;
18455
+ shared_url?: string;
18369
18456
  record_url?: string;
18370
18457
  }>;
18371
18458
  };
@@ -18427,6 +18514,7 @@ declare abstract class Client$R extends Client$S {
18427
18514
  avatar_url?: string | undefined;
18428
18515
  } | undefined;
18429
18516
  last_modified_time?: number | undefined;
18517
+ shared_url?: string | undefined;
18430
18518
  record_url?: string | undefined;
18431
18519
  }[] | undefined;
18432
18520
  } | undefined;
@@ -18532,6 +18620,7 @@ declare abstract class Client$R extends Client$S {
18532
18620
  avatar_url?: string | undefined;
18533
18621
  } | undefined;
18534
18622
  last_modified_time?: number | undefined;
18623
+ shared_url?: string | undefined;
18535
18624
  record_url?: string | undefined;
18536
18625
  } | undefined;
18537
18626
  } | undefined;
@@ -18636,6 +18725,7 @@ declare abstract class Client$R extends Client$S {
18636
18725
  avatar_url?: string | undefined;
18637
18726
  } | undefined;
18638
18727
  last_modified_time?: number | undefined;
18728
+ shared_url?: string | undefined;
18639
18729
  record_url?: string | undefined;
18640
18730
  } | undefined;
18641
18731
  } | undefined;
@@ -18707,6 +18797,7 @@ declare abstract class Client$R extends Client$S {
18707
18797
  avatar_url?: string | undefined;
18708
18798
  } | undefined;
18709
18799
  last_modified_time?: number | undefined;
18800
+ shared_url?: string | undefined;
18710
18801
  record_url?: string | undefined;
18711
18802
  }[] | undefined;
18712
18803
  } | null, void, unknown>;
@@ -18793,6 +18884,7 @@ declare abstract class Client$R extends Client$S {
18793
18884
  avatar_url?: string | undefined;
18794
18885
  } | undefined;
18795
18886
  last_modified_time?: number | undefined;
18887
+ shared_url?: string | undefined;
18796
18888
  record_url?: string | undefined;
18797
18889
  }[] | undefined;
18798
18890
  } | undefined;
@@ -18881,6 +18973,7 @@ declare abstract class Client$R extends Client$S {
18881
18973
  avatar_url?: string | undefined;
18882
18974
  } | undefined;
18883
18975
  last_modified_time?: number | undefined;
18976
+ shared_url?: string | undefined;
18884
18977
  record_url?: string | undefined;
18885
18978
  }[] | undefined;
18886
18979
  total?: number | undefined;
@@ -18979,6 +19072,7 @@ declare abstract class Client$R extends Client$S {
18979
19072
  avatar_url?: string | undefined;
18980
19073
  } | undefined;
18981
19074
  last_modified_time?: number | undefined;
19075
+ shared_url?: string | undefined;
18982
19076
  record_url?: string | undefined;
18983
19077
  }[] | undefined;
18984
19078
  has_more?: boolean | undefined;
@@ -19087,6 +19181,7 @@ declare abstract class Client$R extends Client$S {
19087
19181
  avatar_url?: string | undefined;
19088
19182
  } | undefined;
19089
19183
  last_modified_time?: number | undefined;
19184
+ shared_url?: string | undefined;
19090
19185
  record_url?: string | undefined;
19091
19186
  } | undefined;
19092
19187
  } | undefined;
@@ -20896,6 +20991,7 @@ declare abstract class Client$R extends Client$S {
20896
20991
  avatar_url?: string;
20897
20992
  };
20898
20993
  last_modified_time?: number;
20994
+ shared_url?: string;
20899
20995
  record_url?: string;
20900
20996
  }>;
20901
20997
  };
@@ -20958,6 +21054,7 @@ declare abstract class Client$R extends Client$S {
20958
21054
  avatar_url?: string | undefined;
20959
21055
  } | undefined;
20960
21056
  last_modified_time?: number | undefined;
21057
+ shared_url?: string | undefined;
20961
21058
  record_url?: string | undefined;
20962
21059
  }[] | undefined;
20963
21060
  } | undefined;
@@ -21060,6 +21157,7 @@ declare abstract class Client$R extends Client$S {
21060
21157
  avatar_url?: string | undefined;
21061
21158
  } | undefined;
21062
21159
  last_modified_time?: number | undefined;
21160
+ shared_url?: string | undefined;
21063
21161
  record_url?: string | undefined;
21064
21162
  }[] | undefined;
21065
21163
  forbidden_record_ids?: string[] | undefined;
@@ -21126,6 +21224,7 @@ declare abstract class Client$R extends Client$S {
21126
21224
  avatar_url?: string;
21127
21225
  };
21128
21226
  last_modified_time?: number;
21227
+ shared_url?: string;
21129
21228
  record_url?: string;
21130
21229
  }>;
21131
21230
  };
@@ -21187,6 +21286,7 @@ declare abstract class Client$R extends Client$S {
21187
21286
  avatar_url?: string | undefined;
21188
21287
  } | undefined;
21189
21288
  last_modified_time?: number | undefined;
21289
+ shared_url?: string | undefined;
21190
21290
  record_url?: string | undefined;
21191
21291
  }[] | undefined;
21192
21292
  } | undefined;
@@ -21292,6 +21392,7 @@ declare abstract class Client$R extends Client$S {
21292
21392
  avatar_url?: string | undefined;
21293
21393
  } | undefined;
21294
21394
  last_modified_time?: number | undefined;
21395
+ shared_url?: string | undefined;
21295
21396
  record_url?: string | undefined;
21296
21397
  } | undefined;
21297
21398
  } | undefined;
@@ -21396,6 +21497,7 @@ declare abstract class Client$R extends Client$S {
21396
21497
  avatar_url?: string | undefined;
21397
21498
  } | undefined;
21398
21499
  last_modified_time?: number | undefined;
21500
+ shared_url?: string | undefined;
21399
21501
  record_url?: string | undefined;
21400
21502
  } | undefined;
21401
21503
  } | undefined;
@@ -21467,6 +21569,7 @@ declare abstract class Client$R extends Client$S {
21467
21569
  avatar_url?: string | undefined;
21468
21570
  } | undefined;
21469
21571
  last_modified_time?: number | undefined;
21572
+ shared_url?: string | undefined;
21470
21573
  record_url?: string | undefined;
21471
21574
  }[] | undefined;
21472
21575
  } | null, void, unknown>;
@@ -21553,6 +21656,7 @@ declare abstract class Client$R extends Client$S {
21553
21656
  avatar_url?: string | undefined;
21554
21657
  } | undefined;
21555
21658
  last_modified_time?: number | undefined;
21659
+ shared_url?: string | undefined;
21556
21660
  record_url?: string | undefined;
21557
21661
  }[] | undefined;
21558
21662
  } | undefined;
@@ -21641,6 +21745,7 @@ declare abstract class Client$R extends Client$S {
21641
21745
  avatar_url?: string | undefined;
21642
21746
  } | undefined;
21643
21747
  last_modified_time?: number | undefined;
21748
+ shared_url?: string | undefined;
21644
21749
  record_url?: string | undefined;
21645
21750
  }[] | undefined;
21646
21751
  total?: number | undefined;
@@ -21739,6 +21844,7 @@ declare abstract class Client$R extends Client$S {
21739
21844
  avatar_url?: string | undefined;
21740
21845
  } | undefined;
21741
21846
  last_modified_time?: number | undefined;
21847
+ shared_url?: string | undefined;
21742
21848
  record_url?: string | undefined;
21743
21849
  }[] | undefined;
21744
21850
  has_more?: boolean | undefined;
@@ -21847,6 +21953,7 @@ declare abstract class Client$R extends Client$S {
21847
21953
  avatar_url?: string | undefined;
21848
21954
  } | undefined;
21849
21955
  last_modified_time?: number | undefined;
21956
+ shared_url?: string | undefined;
21850
21957
  record_url?: string | undefined;
21851
21958
  } | undefined;
21852
21959
  } | undefined;
@@ -22394,6 +22501,7 @@ declare abstract class Client$P extends Client$Q {
22394
22501
  };
22395
22502
  }, options?: IRequestOptions$1) => Promise<{
22396
22503
  writeFile: (filePath: string) => Promise<unknown>;
22504
+ getReadableStream: () => Readable;
22397
22505
  }>;
22398
22506
  };
22399
22507
  /**
@@ -37426,6 +37534,7 @@ declare abstract class Client$I extends Client$J {
37426
37534
  };
37427
37535
  }, options?: IRequestOptions$1) => Promise<{
37428
37536
  writeFile: (filePath: string) => Promise<unknown>;
37537
+ getReadableStream: () => Readable;
37429
37538
  }>;
37430
37539
  };
37431
37540
  /**
@@ -38028,6 +38137,9 @@ declare abstract class Client$I extends Client$J {
38028
38137
  * 删除人员的任职信息
38029
38138
  */
38030
38139
  delete: (payload?: {
38140
+ params?: {
38141
+ version_id?: string;
38142
+ };
38031
38143
  path: {
38032
38144
  job_data_id: string;
38033
38145
  };
@@ -38735,6 +38847,28 @@ declare abstract class Client$I extends Client$J {
38735
38847
  * 休假管理
38736
38848
  */
38737
38849
  leave: {
38850
+ /**
38851
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=leave&apiName=calendar_by_scope&version=v1 click to debug }
38852
+ *
38853
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=calendar_by_scope&project=corehr&resource=leave&version=v1 document }
38854
+ */
38855
+ calendarByScope: (payload?: {
38856
+ params?: {
38857
+ wk_department_id?: string;
38858
+ wk_country_region_id?: string;
38859
+ wk_employee_type_id?: string;
38860
+ wk_work_location_id?: string;
38861
+ wk_working_hours_type_id?: string;
38862
+ wk_job_family_id?: string;
38863
+ wk_company_id?: string;
38864
+ };
38865
+ }, options?: IRequestOptions$1) => Promise<{
38866
+ code?: number | undefined;
38867
+ msg?: string | undefined;
38868
+ data?: {
38869
+ calendar_wk_id?: string | undefined;
38870
+ } | undefined;
38871
+ }>;
38738
38872
  /**
38739
38873
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=leave&apiName=leave_balances&version=v1 click to debug }
38740
38874
  *
@@ -46573,6 +46707,7 @@ declare abstract class Client$I extends Client$J {
46573
46707
  };
46574
46708
  }, options?: IRequestOptions$1) => Promise<{
46575
46709
  writeFile: (filePath: string) => Promise<unknown>;
46710
+ getReadableStream: () => Readable;
46576
46711
  }>;
46577
46712
  };
46578
46713
  /**
@@ -47175,6 +47310,9 @@ declare abstract class Client$I extends Client$J {
47175
47310
  * 删除人员的任职信息
47176
47311
  */
47177
47312
  delete: (payload?: {
47313
+ params?: {
47314
+ version_id?: string;
47315
+ };
47178
47316
  path: {
47179
47317
  job_data_id: string;
47180
47318
  };
@@ -47882,6 +48020,28 @@ declare abstract class Client$I extends Client$J {
47882
48020
  * 休假管理
47883
48021
  */
47884
48022
  leave: {
48023
+ /**
48024
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=leave&apiName=calendar_by_scope&version=v1 click to debug }
48025
+ *
48026
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=calendar_by_scope&project=corehr&resource=leave&version=v1 document }
48027
+ */
48028
+ calendarByScope: (payload?: {
48029
+ params?: {
48030
+ wk_department_id?: string;
48031
+ wk_country_region_id?: string;
48032
+ wk_employee_type_id?: string;
48033
+ wk_work_location_id?: string;
48034
+ wk_working_hours_type_id?: string;
48035
+ wk_job_family_id?: string;
48036
+ wk_company_id?: string;
48037
+ };
48038
+ }, options?: IRequestOptions$1) => Promise<{
48039
+ code?: number | undefined;
48040
+ msg?: string | undefined;
48041
+ data?: {
48042
+ calendar_wk_id?: string | undefined;
48043
+ } | undefined;
48044
+ }>;
47885
48045
  /**
47886
48046
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=leave&apiName=leave_balances&version=v1 click to debug }
47887
48047
  *
@@ -54047,6 +54207,25 @@ declare abstract class Client$I extends Client$J {
54047
54207
  }[] | undefined;
54048
54208
  } | undefined;
54049
54209
  }>;
54210
+ /**
54211
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=department&apiName=delete&version=v2 click to debug }
54212
+ *
54213
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=department&version=v2 document }
54214
+ *
54215
+ * 删除部门数据
54216
+ */
54217
+ delete: (payload?: {
54218
+ params?: {
54219
+ department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
54220
+ };
54221
+ path: {
54222
+ department_id: string;
54223
+ };
54224
+ }, options?: IRequestOptions$1) => Promise<{
54225
+ code?: number | undefined;
54226
+ msg?: string | undefined;
54227
+ data?: {} | undefined;
54228
+ }>;
54050
54229
  /**
54051
54230
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=department&apiName=parents&version=v2 click to debug }
54052
54231
  *
@@ -54078,6 +54257,57 @@ declare abstract class Client$I extends Client$J {
54078
54257
  }[] | undefined;
54079
54258
  } | undefined;
54080
54259
  }>;
54260
+ /**
54261
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=department&apiName=patch&version=v2 click to debug }
54262
+ *
54263
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=department&version=v2 document }
54264
+ *
54265
+ * 更新部门数据
54266
+ */
54267
+ patch: (payload?: {
54268
+ data: {
54269
+ id?: string;
54270
+ sub_type?: {
54271
+ enum_name: string;
54272
+ };
54273
+ manager?: string;
54274
+ is_confidential?: boolean;
54275
+ hiberarchy_common?: {
54276
+ parent_id?: string;
54277
+ name?: Array<{
54278
+ lang: string;
54279
+ value: string;
54280
+ }>;
54281
+ active?: boolean;
54282
+ code?: string;
54283
+ description?: Array<{
54284
+ lang: string;
54285
+ value: string;
54286
+ }>;
54287
+ };
54288
+ effective_time: string;
54289
+ custom_fields?: Array<{
54290
+ field_name: string;
54291
+ value: string;
54292
+ }>;
54293
+ cost_center_id?: string;
54294
+ staffing_model?: {
54295
+ enum_name: string;
54296
+ };
54297
+ };
54298
+ params?: {
54299
+ client_token?: string;
54300
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
54301
+ department_id_type?: "open_department_id" | "department_id" | "people_corehr_department_id";
54302
+ };
54303
+ path: {
54304
+ department_id: string;
54305
+ };
54306
+ }, options?: IRequestOptions$1) => Promise<{
54307
+ code?: number | undefined;
54308
+ msg?: string | undefined;
54309
+ data?: {} | undefined;
54310
+ }>;
54081
54311
  /**
54082
54312
  * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=department&apiName=query_multi_timeline&version=v2 click to debug }
54083
54313
  *
@@ -54387,11 +54617,13 @@ declare abstract class Client$I extends Client$J {
54387
54617
  data?: {
54388
54618
  items?: {
54389
54619
  employment_id?: string | undefined;
54620
+ employment_id_v2?: string | undefined;
54390
54621
  ats_application_id?: string | undefined;
54391
54622
  prehire_id?: string | undefined;
54392
54623
  employee_number?: string | undefined;
54393
54624
  employee_type_id?: string | undefined;
54394
54625
  department_id?: string | undefined;
54626
+ department_id_v2?: string | undefined;
54395
54627
  job_level_id?: string | undefined;
54396
54628
  job_level?: {
54397
54629
  id?: string | undefined;
@@ -54453,29 +54685,6 @@ declare abstract class Client$I extends Client$J {
54453
54685
  value: string;
54454
54686
  }[] | undefined;
54455
54687
  active: boolean;
54456
- job_family_id_list?: string[] | undefined;
54457
- cost_center_id?: string | undefined;
54458
- job_id?: string | undefined;
54459
- job_level_id_list?: string[] | undefined;
54460
- employee_type_id_list?: string[] | undefined;
54461
- job_grade_id_list?: string[] | undefined;
54462
- work_location_id_list?: string[] | undefined;
54463
- working_hours_type_id?: string | undefined;
54464
- department_id: string;
54465
- direct_leader_id?: string | undefined;
54466
- dotted_line_leader_id?: string | undefined;
54467
- is_key_position?: boolean | undefined;
54468
- effective_time: string;
54469
- expiration_time: string;
54470
- custom_fields?: {
54471
- custom_api_name: string;
54472
- name?: {
54473
- zh_cn?: string | undefined;
54474
- en_us?: string | undefined;
54475
- } | undefined;
54476
- type?: number | undefined;
54477
- value: string;
54478
- }[] | undefined;
54479
54688
  } | undefined;
54480
54689
  job_id?: string | undefined;
54481
54690
  job?: {
@@ -54515,6 +54724,8 @@ declare abstract class Client$I extends Client$J {
54515
54724
  probation_end_date?: string | undefined;
54516
54725
  direct_manager_id?: string | undefined;
54517
54726
  dotted_line_manager_id?: string | undefined;
54727
+ direct_manager_id_v2?: string | undefined;
54728
+ dotted_line_manager_id_v2?: string | undefined;
54518
54729
  employment_type: {
54519
54730
  enum_name: string;
54520
54731
  display?: Array<{
@@ -55468,6 +55679,7 @@ declare abstract class Client$I extends Client$J {
55468
55679
  work_calendar_id?: string | undefined;
55469
55680
  department?: {
55470
55681
  id?: string | undefined;
55682
+ id_v2?: string | undefined;
55471
55683
  department_name?: {
55472
55684
  lang: string;
55473
55685
  value: string;
@@ -55475,6 +55687,7 @@ declare abstract class Client$I extends Client$J {
55475
55687
  } | undefined;
55476
55688
  direct_manager?: {
55477
55689
  employment_id?: string | undefined;
55690
+ employment_id_v2?: string | undefined;
55478
55691
  employee_number?: string | undefined;
55479
55692
  email_address?: string | undefined;
55480
55693
  person_info?: {
@@ -55486,6 +55699,7 @@ declare abstract class Client$I extends Client$J {
55486
55699
  } | undefined;
55487
55700
  dotted_line_manager?: {
55488
55701
  employment_id?: string | undefined;
55702
+ employment_id_v2?: string | undefined;
55489
55703
  employee_number?: string | undefined;
55490
55704
  email_address?: string | undefined;
55491
55705
  person_info?: {
@@ -56000,11 +56214,13 @@ declare abstract class Client$I extends Client$J {
56000
56214
  [Symbol.asyncIterator](): AsyncGenerator<{
56001
56215
  items?: {
56002
56216
  employment_id?: string | undefined;
56217
+ employment_id_v2?: string | undefined;
56003
56218
  ats_application_id?: string | undefined;
56004
56219
  prehire_id?: string | undefined;
56005
56220
  employee_number?: string | undefined;
56006
56221
  employee_type_id?: string | undefined;
56007
56222
  department_id?: string | undefined;
56223
+ department_id_v2?: string | undefined;
56008
56224
  job_level_id?: string | undefined;
56009
56225
  job_level?: {
56010
56226
  id?: string | undefined;
@@ -56066,29 +56282,6 @@ declare abstract class Client$I extends Client$J {
56066
56282
  value: string;
56067
56283
  }[] | undefined;
56068
56284
  active: boolean;
56069
- job_family_id_list?: string[] | undefined;
56070
- cost_center_id?: string | undefined;
56071
- job_id?: string | undefined;
56072
- job_level_id_list?: string[] | undefined;
56073
- employee_type_id_list?: string[] | undefined;
56074
- job_grade_id_list?: string[] | undefined;
56075
- work_location_id_list?: string[] | undefined;
56076
- working_hours_type_id?: string | undefined;
56077
- department_id: string;
56078
- direct_leader_id?: string | undefined;
56079
- dotted_line_leader_id?: string | undefined;
56080
- is_key_position?: boolean | undefined;
56081
- effective_time: string;
56082
- expiration_time: string;
56083
- custom_fields?: {
56084
- custom_api_name: string;
56085
- name?: {
56086
- zh_cn?: string | undefined;
56087
- en_us?: string | undefined;
56088
- } | undefined;
56089
- type?: number | undefined;
56090
- value: string;
56091
- }[] | undefined;
56092
56285
  } | undefined;
56093
56286
  job_id?: string | undefined;
56094
56287
  job?: {
@@ -56128,6 +56321,8 @@ declare abstract class Client$I extends Client$J {
56128
56321
  probation_end_date?: string | undefined;
56129
56322
  direct_manager_id?: string | undefined;
56130
56323
  dotted_line_manager_id?: string | undefined;
56324
+ direct_manager_id_v2?: string | undefined;
56325
+ dotted_line_manager_id_v2?: string | undefined;
56131
56326
  employment_type: {
56132
56327
  enum_name: string;
56133
56328
  display?: Array<{
@@ -57081,6 +57276,7 @@ declare abstract class Client$I extends Client$J {
57081
57276
  work_calendar_id?: string | undefined;
57082
57277
  department?: {
57083
57278
  id?: string | undefined;
57279
+ id_v2?: string | undefined;
57084
57280
  department_name?: {
57085
57281
  lang: string;
57086
57282
  value: string;
@@ -57088,6 +57284,7 @@ declare abstract class Client$I extends Client$J {
57088
57284
  } | undefined;
57089
57285
  direct_manager?: {
57090
57286
  employment_id?: string | undefined;
57287
+ employment_id_v2?: string | undefined;
57091
57288
  employee_number?: string | undefined;
57092
57289
  email_address?: string | undefined;
57093
57290
  person_info?: {
@@ -57099,6 +57296,7 @@ declare abstract class Client$I extends Client$J {
57099
57296
  } | undefined;
57100
57297
  dotted_line_manager?: {
57101
57298
  employment_id?: string | undefined;
57299
+ employment_id_v2?: string | undefined;
57102
57300
  employee_number?: string | undefined;
57103
57301
  email_address?: string | undefined;
57104
57302
  person_info?: {
@@ -57202,11 +57400,13 @@ declare abstract class Client$I extends Client$J {
57202
57400
  data?: {
57203
57401
  items?: {
57204
57402
  employment_id?: string | undefined;
57403
+ employment_id_v2?: string | undefined;
57205
57404
  ats_application_id?: string | undefined;
57206
57405
  prehire_id?: string | undefined;
57207
57406
  employee_number?: string | undefined;
57208
57407
  employee_type_id?: string | undefined;
57209
57408
  department_id?: string | undefined;
57409
+ department_id_v2?: string | undefined;
57210
57410
  job_level_id?: string | undefined;
57211
57411
  job_level?: {
57212
57412
  id?: string | undefined;
@@ -57268,29 +57468,6 @@ declare abstract class Client$I extends Client$J {
57268
57468
  value: string;
57269
57469
  }[] | undefined;
57270
57470
  active: boolean;
57271
- job_family_id_list?: string[] | undefined;
57272
- cost_center_id?: string | undefined;
57273
- job_id?: string | undefined;
57274
- job_level_id_list?: string[] | undefined;
57275
- employee_type_id_list?: string[] | undefined;
57276
- job_grade_id_list?: string[] | undefined;
57277
- work_location_id_list?: string[] | undefined;
57278
- working_hours_type_id?: string | undefined;
57279
- department_id: string;
57280
- direct_leader_id?: string | undefined;
57281
- dotted_line_leader_id?: string | undefined;
57282
- is_key_position?: boolean | undefined;
57283
- effective_time: string;
57284
- expiration_time: string;
57285
- custom_fields?: {
57286
- custom_api_name: string;
57287
- name?: {
57288
- zh_cn?: string | undefined;
57289
- en_us?: string | undefined;
57290
- } | undefined;
57291
- type?: number | undefined;
57292
- value: string;
57293
- }[] | undefined;
57294
57471
  } | undefined;
57295
57472
  job_id?: string | undefined;
57296
57473
  job?: {
@@ -57330,6 +57507,8 @@ declare abstract class Client$I extends Client$J {
57330
57507
  probation_end_date?: string | undefined;
57331
57508
  direct_manager_id?: string | undefined;
57332
57509
  dotted_line_manager_id?: string | undefined;
57510
+ direct_manager_id_v2?: string | undefined;
57511
+ dotted_line_manager_id_v2?: string | undefined;
57333
57512
  employment_type: {
57334
57513
  enum_name: string;
57335
57514
  display?: Array<{
@@ -58283,6 +58462,7 @@ declare abstract class Client$I extends Client$J {
58283
58462
  work_calendar_id?: string | undefined;
58284
58463
  department?: {
58285
58464
  id?: string | undefined;
58465
+ id_v2?: string | undefined;
58286
58466
  department_name?: {
58287
58467
  lang: string;
58288
58468
  value: string;
@@ -58290,6 +58470,7 @@ declare abstract class Client$I extends Client$J {
58290
58470
  } | undefined;
58291
58471
  direct_manager?: {
58292
58472
  employment_id?: string | undefined;
58473
+ employment_id_v2?: string | undefined;
58293
58474
  employee_number?: string | undefined;
58294
58475
  email_address?: string | undefined;
58295
58476
  person_info?: {
@@ -58301,6 +58482,7 @@ declare abstract class Client$I extends Client$J {
58301
58482
  } | undefined;
58302
58483
  dotted_line_manager?: {
58303
58484
  employment_id?: string | undefined;
58485
+ employment_id_v2?: string | undefined;
58304
58486
  employee_number?: string | undefined;
58305
58487
  email_address?: string | undefined;
58306
58488
  person_info?: {
@@ -58832,7 +59014,19 @@ declare abstract class Client$I extends Client$J {
58832
59014
  target_service_company?: string | undefined;
58833
59015
  original_position?: string | undefined;
58834
59016
  target_position?: string | undefined;
59017
+ original_social_security_city?: string | undefined;
59018
+ target_social_security_city?: string | undefined;
58835
59019
  } | undefined;
59020
+ is_adjust_salary?: boolean | undefined;
59021
+ custom_fields?: {
59022
+ custom_api_name: string;
59023
+ name?: {
59024
+ zh_cn?: string | undefined;
59025
+ en_us?: string | undefined;
59026
+ } | undefined;
59027
+ type?: number | undefined;
59028
+ value: string;
59029
+ }[] | undefined;
58836
59030
  }[] | undefined;
58837
59031
  } | null, void, unknown>;
58838
59032
  }>;
@@ -58972,7 +59166,19 @@ declare abstract class Client$I extends Client$J {
58972
59166
  target_service_company?: string | undefined;
58973
59167
  original_position?: string | undefined;
58974
59168
  target_position?: string | undefined;
59169
+ original_social_security_city?: string | undefined;
59170
+ target_social_security_city?: string | undefined;
58975
59171
  } | undefined;
59172
+ is_adjust_salary?: boolean | undefined;
59173
+ custom_fields?: {
59174
+ custom_api_name: string;
59175
+ name?: {
59176
+ zh_cn?: string | undefined;
59177
+ en_us?: string | undefined;
59178
+ } | undefined;
59179
+ type?: number | undefined;
59180
+ value: string;
59181
+ }[] | undefined;
58976
59182
  }[] | undefined;
58977
59183
  has_more?: boolean | undefined;
58978
59184
  page_token?: string | undefined;
@@ -119793,6 +119999,7 @@ declare abstract class Client$E extends Client$F {
119793
119999
  };
119794
120000
  }, options?: IRequestOptions$1) => Promise<{
119795
120001
  writeFile: (filePath: string) => Promise<unknown>;
120002
+ getReadableStream: () => Readable;
119796
120003
  }>;
119797
120004
  /**
119798
120005
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=export_task&apiName=get&version=v1 click to debug }
@@ -120314,7 +120521,7 @@ declare abstract class Client$E extends Client$F {
120314
120521
  }>;
120315
120522
  };
120316
120523
  /**
120317
- * 分片上传
120524
+ * 上传
120318
120525
  */
120319
120526
  file: {
120320
120527
  /**
@@ -120490,6 +120697,7 @@ declare abstract class Client$E extends Client$F {
120490
120697
  };
120491
120698
  }, options?: IRequestOptions$1) => Promise<{
120492
120699
  writeFile: (filePath: string) => Promise<unknown>;
120700
+ getReadableStream: () => Readable;
120493
120701
  }>;
120494
120702
  /**
120495
120703
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=get_subscribe&version=v1 click to debug }
@@ -121200,6 +121408,7 @@ declare abstract class Client$E extends Client$F {
121200
121408
  };
121201
121409
  }, options?: IRequestOptions$1) => Promise<{
121202
121410
  writeFile: (filePath: string) => Promise<unknown>;
121411
+ getReadableStream: () => Readable;
121203
121412
  }>;
121204
121413
  /**
121205
121414
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=media&apiName=upload_all&version=v1 click to debug }
@@ -121749,6 +121958,7 @@ declare abstract class Client$E extends Client$F {
121749
121958
  };
121750
121959
  }, options?: IRequestOptions$1) => Promise<{
121751
121960
  writeFile: (filePath: string) => Promise<unknown>;
121961
+ getReadableStream: () => Readable;
121752
121962
  }>;
121753
121963
  /**
121754
121964
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=export_task&apiName=get&version=v1 click to debug }
@@ -122270,7 +122480,7 @@ declare abstract class Client$E extends Client$F {
122270
122480
  }>;
122271
122481
  };
122272
122482
  /**
122273
- * 分片上传
122483
+ * 上传
122274
122484
  */
122275
122485
  file: {
122276
122486
  /**
@@ -122446,6 +122656,7 @@ declare abstract class Client$E extends Client$F {
122446
122656
  };
122447
122657
  }, options?: IRequestOptions$1) => Promise<{
122448
122658
  writeFile: (filePath: string) => Promise<unknown>;
122659
+ getReadableStream: () => Readable;
122449
122660
  }>;
122450
122661
  /**
122451
122662
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=get_subscribe&version=v1 click to debug }
@@ -123156,6 +123367,7 @@ declare abstract class Client$E extends Client$F {
123156
123367
  };
123157
123368
  }, options?: IRequestOptions$1) => Promise<{
123158
123369
  writeFile: (filePath: string) => Promise<unknown>;
123370
+ getReadableStream: () => Readable;
123159
123371
  }>;
123160
123372
  /**
123161
123373
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=media&apiName=upload_all&version=v1 click to debug }
@@ -123781,6 +123993,7 @@ declare abstract class Client$C extends Client$D {
123781
123993
  };
123782
123994
  }, options?: IRequestOptions$1) => Promise<{
123783
123995
  writeFile: (filePath: string) => Promise<unknown>;
123996
+ getReadableStream: () => Readable;
123784
123997
  }>;
123785
123998
  };
123786
123999
  /**
@@ -124179,6 +124392,7 @@ declare abstract class Client$C extends Client$D {
124179
124392
  };
124180
124393
  }, options?: IRequestOptions$1) => Promise<{
124181
124394
  writeFile: (filePath: string) => Promise<unknown>;
124395
+ getReadableStream: () => Readable;
124182
124396
  }>;
124183
124397
  };
124184
124398
  /**
@@ -125578,6 +125792,7 @@ declare abstract class Client$v extends Client$w {
125578
125792
  };
125579
125793
  }, options?: IRequestOptions$1) => Promise<{
125580
125794
  writeFile: (filePath: string) => Promise<unknown>;
125795
+ getReadableStream: () => Readable;
125581
125796
  }>;
125582
125797
  /**
125583
125798
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=faq&apiName=get&version=v1 click to debug }
@@ -126565,6 +126780,7 @@ declare abstract class Client$v extends Client$w {
126565
126780
  };
126566
126781
  }, options?: IRequestOptions$1) => Promise<{
126567
126782
  writeFile: (filePath: string) => Promise<unknown>;
126783
+ getReadableStream: () => Readable;
126568
126784
  }>;
126569
126785
  /**
126570
126786
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=ticket&apiName=update&version=v1 click to debug }
@@ -127569,6 +127785,7 @@ declare abstract class Client$v extends Client$w {
127569
127785
  };
127570
127786
  }, options?: IRequestOptions$1) => Promise<{
127571
127787
  writeFile: (filePath: string) => Promise<unknown>;
127788
+ getReadableStream: () => Readable;
127572
127789
  }>;
127573
127790
  /**
127574
127791
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=faq&apiName=get&version=v1 click to debug }
@@ -128556,6 +128773,7 @@ declare abstract class Client$v extends Client$w {
128556
128773
  };
128557
128774
  }, options?: IRequestOptions$1) => Promise<{
128558
128775
  writeFile: (filePath: string) => Promise<unknown>;
128776
+ getReadableStream: () => Readable;
128559
128777
  }>;
128560
128778
  /**
128561
128779
  * {@link https://open.feishu.cn/api-explorer?project=helpdesk&resource=ticket&apiName=update&version=v1 click to debug }
@@ -129065,7 +129283,7 @@ declare abstract class Client$u extends Client$v {
129065
129283
  }>;
129066
129284
  };
129067
129285
  /**
129068
- * 入职
129286
+ * 投递
129069
129287
  */
129070
129288
  application: {
129071
129289
  /**
@@ -132710,6 +132928,84 @@ declare abstract class Client$u extends Client$v {
132710
132928
  } | undefined;
132711
132929
  }>;
132712
132930
  };
132931
+ /**
132932
+ * interviewer
132933
+ */
132934
+ interviewer: {
132935
+ listWithIterator: (payload?: {
132936
+ params?: {
132937
+ page_size?: number;
132938
+ page_token?: string;
132939
+ user_ids?: number;
132940
+ verify_status?: number;
132941
+ earliest_update_time?: string;
132942
+ latest_update_time?: string;
132943
+ user_id_type?: "user_id" | "union_id" | "open_id";
132944
+ };
132945
+ }, options?: IRequestOptions$1) => Promise<{
132946
+ [Symbol.asyncIterator](): AsyncGenerator<{
132947
+ items?: {
132948
+ user_id?: string | undefined;
132949
+ verify_status?: number | undefined;
132950
+ }[] | undefined;
132951
+ } | null, void, unknown>;
132952
+ }>;
132953
+ /**
132954
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=interviewer&apiName=list&version=v1 click to debug }
132955
+ *
132956
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=interviewer&version=v1 document }
132957
+ */
132958
+ list: (payload?: {
132959
+ params?: {
132960
+ page_size?: number;
132961
+ page_token?: string;
132962
+ user_ids?: number;
132963
+ verify_status?: number;
132964
+ earliest_update_time?: string;
132965
+ latest_update_time?: string;
132966
+ user_id_type?: "user_id" | "union_id" | "open_id";
132967
+ };
132968
+ }, options?: IRequestOptions$1) => Promise<{
132969
+ code?: number | undefined;
132970
+ msg?: string | undefined;
132971
+ data?: {
132972
+ items?: {
132973
+ user_id?: string | undefined;
132974
+ verify_status?: number | undefined;
132975
+ }[] | undefined;
132976
+ page_token?: string | undefined;
132977
+ has_more?: boolean | undefined;
132978
+ } | undefined;
132979
+ }>;
132980
+ /**
132981
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=interviewer&apiName=patch&version=v1 click to debug }
132982
+ *
132983
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=hire&resource=interviewer&version=v1 document }
132984
+ */
132985
+ patch: (payload?: {
132986
+ data: {
132987
+ interviewer: {
132988
+ user_id?: string;
132989
+ verify_status?: number;
132990
+ };
132991
+ };
132992
+ params?: {
132993
+ user_id_type?: "user_id" | "union_id" | "open_id";
132994
+ };
132995
+ path?: {
132996
+ interviewer_id?: string;
132997
+ };
132998
+ }, options?: IRequestOptions$1) => Promise<{
132999
+ code?: number | undefined;
133000
+ msg?: string | undefined;
133001
+ data?: {
133002
+ interviewer?: {
133003
+ user_id?: string | undefined;
133004
+ verify_status?: number | undefined;
133005
+ } | undefined;
133006
+ } | undefined;
133007
+ }>;
133008
+ };
132713
133009
  /**
132714
133010
  * 职位
132715
133011
  */
@@ -135116,6 +135412,41 @@ declare abstract class Client$u extends Client$v {
135116
135412
  } | undefined;
135117
135413
  }>;
135118
135414
  };
135415
+ /**
135416
+ * minutes
135417
+ */
135418
+ minutes: {
135419
+ /**
135420
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=minutes&apiName=get&version=v1 click to debug }
135421
+ *
135422
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=hire&resource=minutes&version=v1 document }
135423
+ */
135424
+ get: (payload?: {
135425
+ params: {
135426
+ interview_id: string;
135427
+ page_token?: string;
135428
+ page_size?: number;
135429
+ };
135430
+ }, options?: IRequestOptions$1) => Promise<{
135431
+ code?: number | undefined;
135432
+ msg?: string | undefined;
135433
+ data?: {
135434
+ minutes?: {
135435
+ sentences?: {
135436
+ content?: string | undefined;
135437
+ speak_time?: string | undefined;
135438
+ user_type?: number | undefined;
135439
+ speaker_name?: {
135440
+ zh_cn?: string | undefined;
135441
+ en_us?: string | undefined;
135442
+ } | undefined;
135443
+ }[] | undefined;
135444
+ } | undefined;
135445
+ page_token?: string | undefined;
135446
+ has_more?: boolean | undefined;
135447
+ } | undefined;
135448
+ }>;
135449
+ };
135119
135450
  /**
135120
135451
  * 备注
135121
135452
  */
@@ -137415,6 +137746,7 @@ declare abstract class Client$u extends Client$v {
137415
137746
  email?: string | undefined;
137416
137747
  identification_type?: number | undefined;
137417
137748
  identification_number?: string | undefined;
137749
+ is_onboarded?: boolean | undefined;
137418
137750
  }[] | undefined;
137419
137751
  } | undefined;
137420
137752
  }>;
@@ -137607,7 +137939,7 @@ declare abstract class Client$u extends Client$v {
137607
137939
  operator_account_type?: number;
137608
137940
  resume_attachment_id?: string;
137609
137941
  basic_info: {
137610
- name: string;
137942
+ name?: string;
137611
137943
  mobile?: string;
137612
137944
  mobile_country_code?: string;
137613
137945
  email?: string;
@@ -139091,6 +139423,102 @@ declare abstract class Client$u extends Client$v {
139091
139423
  } | undefined;
139092
139424
  }>;
139093
139425
  };
139426
+ /**
139427
+ * 权限
139428
+ */
139429
+ userRole: {
139430
+ listWithIterator: (payload?: {
139431
+ params?: {
139432
+ page_token?: string;
139433
+ page_size?: number;
139434
+ user_id?: string;
139435
+ role_id?: string;
139436
+ update_start_time?: string;
139437
+ update_end_time?: string;
139438
+ user_id_type?: "user_id" | "union_id" | "open_id";
139439
+ };
139440
+ }, options?: IRequestOptions$1) => Promise<{
139441
+ [Symbol.asyncIterator](): AsyncGenerator<{
139442
+ items?: {
139443
+ user_id?: string | undefined;
139444
+ role_id?: string | undefined;
139445
+ modify_time?: string | undefined;
139446
+ role_name?: {
139447
+ zh_cn?: string | undefined;
139448
+ en_us?: string | undefined;
139449
+ } | undefined;
139450
+ role_description?: {
139451
+ zh_cn?: string | undefined;
139452
+ en_us?: string | undefined;
139453
+ } | undefined;
139454
+ business_management_scopes?: {
139455
+ entity?: {
139456
+ code?: string | undefined;
139457
+ name?: {
139458
+ zh_cn?: string | undefined;
139459
+ en_us?: string | undefined;
139460
+ } | undefined;
139461
+ } | undefined;
139462
+ scope_rule?: {
139463
+ rule_type?: number | undefined;
139464
+ } | undefined;
139465
+ }[] | undefined;
139466
+ }[] | undefined;
139467
+ } | null, void, unknown>;
139468
+ }>;
139469
+ /**
139470
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=user_role&apiName=list&version=v1 click to debug }
139471
+ *
139472
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/user_role/list document }
139473
+ *
139474
+ * 获取用户角色列表
139475
+ *
139476
+ * 获取用户角色列表
139477
+ */
139478
+ list: (payload?: {
139479
+ params?: {
139480
+ page_token?: string;
139481
+ page_size?: number;
139482
+ user_id?: string;
139483
+ role_id?: string;
139484
+ update_start_time?: string;
139485
+ update_end_time?: string;
139486
+ user_id_type?: "user_id" | "union_id" | "open_id";
139487
+ };
139488
+ }, options?: IRequestOptions$1) => Promise<{
139489
+ code?: number | undefined;
139490
+ msg?: string | undefined;
139491
+ data?: {
139492
+ items?: {
139493
+ user_id?: string | undefined;
139494
+ role_id?: string | undefined;
139495
+ modify_time?: string | undefined;
139496
+ role_name?: {
139497
+ zh_cn?: string | undefined;
139498
+ en_us?: string | undefined;
139499
+ } | undefined;
139500
+ role_description?: {
139501
+ zh_cn?: string | undefined;
139502
+ en_us?: string | undefined;
139503
+ } | undefined;
139504
+ business_management_scopes?: {
139505
+ entity?: {
139506
+ code?: string | undefined;
139507
+ name?: {
139508
+ zh_cn?: string | undefined;
139509
+ en_us?: string | undefined;
139510
+ } | undefined;
139511
+ } | undefined;
139512
+ scope_rule?: {
139513
+ rule_type?: number | undefined;
139514
+ } | undefined;
139515
+ }[] | undefined;
139516
+ }[] | undefined;
139517
+ has_more?: boolean | undefined;
139518
+ page_token?: string | undefined;
139519
+ } | undefined;
139520
+ }>;
139521
+ };
139094
139522
  /**
139095
139523
  * website.channel
139096
139524
  */
@@ -140807,7 +141235,7 @@ declare abstract class Client$u extends Client$v {
140807
141235
  }>;
140808
141236
  };
140809
141237
  /**
140810
- * 入职
141238
+ * 投递
140811
141239
  */
140812
141240
  application: {
140813
141241
  /**
@@ -144452,6 +144880,84 @@ declare abstract class Client$u extends Client$v {
144452
144880
  } | undefined;
144453
144881
  }>;
144454
144882
  };
144883
+ /**
144884
+ * interviewer
144885
+ */
144886
+ interviewer: {
144887
+ listWithIterator: (payload?: {
144888
+ params?: {
144889
+ page_size?: number;
144890
+ page_token?: string;
144891
+ user_ids?: number;
144892
+ verify_status?: number;
144893
+ earliest_update_time?: string;
144894
+ latest_update_time?: string;
144895
+ user_id_type?: "user_id" | "union_id" | "open_id";
144896
+ };
144897
+ }, options?: IRequestOptions$1) => Promise<{
144898
+ [Symbol.asyncIterator](): AsyncGenerator<{
144899
+ items?: {
144900
+ user_id?: string | undefined;
144901
+ verify_status?: number | undefined;
144902
+ }[] | undefined;
144903
+ } | null, void, unknown>;
144904
+ }>;
144905
+ /**
144906
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=interviewer&apiName=list&version=v1 click to debug }
144907
+ *
144908
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=interviewer&version=v1 document }
144909
+ */
144910
+ list: (payload?: {
144911
+ params?: {
144912
+ page_size?: number;
144913
+ page_token?: string;
144914
+ user_ids?: number;
144915
+ verify_status?: number;
144916
+ earliest_update_time?: string;
144917
+ latest_update_time?: string;
144918
+ user_id_type?: "user_id" | "union_id" | "open_id";
144919
+ };
144920
+ }, options?: IRequestOptions$1) => Promise<{
144921
+ code?: number | undefined;
144922
+ msg?: string | undefined;
144923
+ data?: {
144924
+ items?: {
144925
+ user_id?: string | undefined;
144926
+ verify_status?: number | undefined;
144927
+ }[] | undefined;
144928
+ page_token?: string | undefined;
144929
+ has_more?: boolean | undefined;
144930
+ } | undefined;
144931
+ }>;
144932
+ /**
144933
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=interviewer&apiName=patch&version=v1 click to debug }
144934
+ *
144935
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=hire&resource=interviewer&version=v1 document }
144936
+ */
144937
+ patch: (payload?: {
144938
+ data: {
144939
+ interviewer: {
144940
+ user_id?: string;
144941
+ verify_status?: number;
144942
+ };
144943
+ };
144944
+ params?: {
144945
+ user_id_type?: "user_id" | "union_id" | "open_id";
144946
+ };
144947
+ path?: {
144948
+ interviewer_id?: string;
144949
+ };
144950
+ }, options?: IRequestOptions$1) => Promise<{
144951
+ code?: number | undefined;
144952
+ msg?: string | undefined;
144953
+ data?: {
144954
+ interviewer?: {
144955
+ user_id?: string | undefined;
144956
+ verify_status?: number | undefined;
144957
+ } | undefined;
144958
+ } | undefined;
144959
+ }>;
144960
+ };
144455
144961
  /**
144456
144962
  * 职位
144457
144963
  */
@@ -146858,6 +147364,41 @@ declare abstract class Client$u extends Client$v {
146858
147364
  } | undefined;
146859
147365
  }>;
146860
147366
  };
147367
+ /**
147368
+ * minutes
147369
+ */
147370
+ minutes: {
147371
+ /**
147372
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=minutes&apiName=get&version=v1 click to debug }
147373
+ *
147374
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=hire&resource=minutes&version=v1 document }
147375
+ */
147376
+ get: (payload?: {
147377
+ params: {
147378
+ interview_id: string;
147379
+ page_token?: string;
147380
+ page_size?: number;
147381
+ };
147382
+ }, options?: IRequestOptions$1) => Promise<{
147383
+ code?: number | undefined;
147384
+ msg?: string | undefined;
147385
+ data?: {
147386
+ minutes?: {
147387
+ sentences?: {
147388
+ content?: string | undefined;
147389
+ speak_time?: string | undefined;
147390
+ user_type?: number | undefined;
147391
+ speaker_name?: {
147392
+ zh_cn?: string | undefined;
147393
+ en_us?: string | undefined;
147394
+ } | undefined;
147395
+ }[] | undefined;
147396
+ } | undefined;
147397
+ page_token?: string | undefined;
147398
+ has_more?: boolean | undefined;
147399
+ } | undefined;
147400
+ }>;
147401
+ };
146861
147402
  /**
146862
147403
  * 备注
146863
147404
  */
@@ -149157,6 +149698,7 @@ declare abstract class Client$u extends Client$v {
149157
149698
  email?: string | undefined;
149158
149699
  identification_type?: number | undefined;
149159
149700
  identification_number?: string | undefined;
149701
+ is_onboarded?: boolean | undefined;
149160
149702
  }[] | undefined;
149161
149703
  } | undefined;
149162
149704
  }>;
@@ -149349,7 +149891,7 @@ declare abstract class Client$u extends Client$v {
149349
149891
  operator_account_type?: number;
149350
149892
  resume_attachment_id?: string;
149351
149893
  basic_info: {
149352
- name: string;
149894
+ name?: string;
149353
149895
  mobile?: string;
149354
149896
  mobile_country_code?: string;
149355
149897
  email?: string;
@@ -150833,6 +151375,102 @@ declare abstract class Client$u extends Client$v {
150833
151375
  } | undefined;
150834
151376
  }>;
150835
151377
  };
151378
+ /**
151379
+ * 权限
151380
+ */
151381
+ userRole: {
151382
+ listWithIterator: (payload?: {
151383
+ params?: {
151384
+ page_token?: string;
151385
+ page_size?: number;
151386
+ user_id?: string;
151387
+ role_id?: string;
151388
+ update_start_time?: string;
151389
+ update_end_time?: string;
151390
+ user_id_type?: "user_id" | "union_id" | "open_id";
151391
+ };
151392
+ }, options?: IRequestOptions$1) => Promise<{
151393
+ [Symbol.asyncIterator](): AsyncGenerator<{
151394
+ items?: {
151395
+ user_id?: string | undefined;
151396
+ role_id?: string | undefined;
151397
+ modify_time?: string | undefined;
151398
+ role_name?: {
151399
+ zh_cn?: string | undefined;
151400
+ en_us?: string | undefined;
151401
+ } | undefined;
151402
+ role_description?: {
151403
+ zh_cn?: string | undefined;
151404
+ en_us?: string | undefined;
151405
+ } | undefined;
151406
+ business_management_scopes?: {
151407
+ entity?: {
151408
+ code?: string | undefined;
151409
+ name?: {
151410
+ zh_cn?: string | undefined;
151411
+ en_us?: string | undefined;
151412
+ } | undefined;
151413
+ } | undefined;
151414
+ scope_rule?: {
151415
+ rule_type?: number | undefined;
151416
+ } | undefined;
151417
+ }[] | undefined;
151418
+ }[] | undefined;
151419
+ } | null, void, unknown>;
151420
+ }>;
151421
+ /**
151422
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=user_role&apiName=list&version=v1 click to debug }
151423
+ *
151424
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/user_role/list document }
151425
+ *
151426
+ * 获取用户角色列表
151427
+ *
151428
+ * 获取用户角色列表
151429
+ */
151430
+ list: (payload?: {
151431
+ params?: {
151432
+ page_token?: string;
151433
+ page_size?: number;
151434
+ user_id?: string;
151435
+ role_id?: string;
151436
+ update_start_time?: string;
151437
+ update_end_time?: string;
151438
+ user_id_type?: "user_id" | "union_id" | "open_id";
151439
+ };
151440
+ }, options?: IRequestOptions$1) => Promise<{
151441
+ code?: number | undefined;
151442
+ msg?: string | undefined;
151443
+ data?: {
151444
+ items?: {
151445
+ user_id?: string | undefined;
151446
+ role_id?: string | undefined;
151447
+ modify_time?: string | undefined;
151448
+ role_name?: {
151449
+ zh_cn?: string | undefined;
151450
+ en_us?: string | undefined;
151451
+ } | undefined;
151452
+ role_description?: {
151453
+ zh_cn?: string | undefined;
151454
+ en_us?: string | undefined;
151455
+ } | undefined;
151456
+ business_management_scopes?: {
151457
+ entity?: {
151458
+ code?: string | undefined;
151459
+ name?: {
151460
+ zh_cn?: string | undefined;
151461
+ en_us?: string | undefined;
151462
+ } | undefined;
151463
+ } | undefined;
151464
+ scope_rule?: {
151465
+ rule_type?: number | undefined;
151466
+ } | undefined;
151467
+ }[] | undefined;
151468
+ }[] | undefined;
151469
+ has_more?: boolean | undefined;
151470
+ page_token?: string | undefined;
151471
+ } | undefined;
151472
+ }>;
151473
+ };
150836
151474
  /**
150837
151475
  * website.channel
150838
151476
  */
@@ -153992,6 +154630,7 @@ declare abstract class Client$s extends Client$t {
153992
154630
  };
153993
154631
  }, options?: IRequestOptions$1) => Promise<{
153994
154632
  writeFile: (filePath: string) => Promise<unknown>;
154633
+ getReadableStream: () => Readable;
153995
154634
  }>;
153996
154635
  };
153997
154636
  /**
@@ -154034,6 +154673,7 @@ declare abstract class Client$s extends Client$t {
154034
154673
  };
154035
154674
  }, options?: IRequestOptions$1) => Promise<{
154036
154675
  writeFile: (filePath: string) => Promise<unknown>;
154676
+ getReadableStream: () => Readable;
154037
154677
  }>;
154038
154678
  };
154039
154679
  /**
@@ -154947,6 +155587,7 @@ declare abstract class Client$s extends Client$t {
154947
155587
  };
154948
155588
  }, options?: IRequestOptions$1) => Promise<{
154949
155589
  writeFile: (filePath: string) => Promise<unknown>;
155590
+ getReadableStream: () => Readable;
154950
155591
  }>;
154951
155592
  };
154952
155593
  /**
@@ -156630,6 +157271,7 @@ declare abstract class Client$s extends Client$t {
156630
157271
  };
156631
157272
  }, options?: IRequestOptions$1) => Promise<{
156632
157273
  writeFile: (filePath: string) => Promise<unknown>;
157274
+ getReadableStream: () => Readable;
156633
157275
  }>;
156634
157276
  };
156635
157277
  /**
@@ -156672,6 +157314,7 @@ declare abstract class Client$s extends Client$t {
156672
157314
  };
156673
157315
  }, options?: IRequestOptions$1) => Promise<{
156674
157316
  writeFile: (filePath: string) => Promise<unknown>;
157317
+ getReadableStream: () => Readable;
156675
157318
  }>;
156676
157319
  };
156677
157320
  /**
@@ -157585,6 +158228,7 @@ declare abstract class Client$s extends Client$t {
157585
158228
  };
157586
158229
  }, options?: IRequestOptions$1) => Promise<{
157587
158230
  writeFile: (filePath: string) => Promise<unknown>;
158231
+ getReadableStream: () => Readable;
157588
158232
  }>;
157589
158233
  };
157590
158234
  /**
@@ -158027,6 +158671,31 @@ declare abstract class Client$s extends Client$t {
158027
158671
  * feed_card
158028
158672
  */
158029
158673
  feedCard: {
158674
+ /**
158675
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=feed_card&apiName=bot_time_sentive&version=v2 click to debug }
158676
+ *
158677
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=bot_time_sentive&project=im&resource=feed_card&version=v2 document }
158678
+ */
158679
+ botTimeSentive: (payload?: {
158680
+ data: {
158681
+ bot_id?: string;
158682
+ time_sensitive: boolean;
158683
+ user_ids: Array<string>;
158684
+ };
158685
+ params: {
158686
+ user_id_type: "open_id" | "user_id" | "union_id";
158687
+ };
158688
+ }, options?: IRequestOptions$1) => Promise<{
158689
+ code?: number | undefined;
158690
+ msg?: string | undefined;
158691
+ data?: {
158692
+ failed_user_reasons?: {
158693
+ error_code?: number | undefined;
158694
+ error_message?: string | undefined;
158695
+ user_id?: string | undefined;
158696
+ }[] | undefined;
158697
+ } | undefined;
158698
+ }>;
158030
158699
  /**
158031
158700
  * {@link https://open.feishu.cn/api-explorer?project=im&resource=feed_card&apiName=patch&version=v2 click to debug }
158032
158701
  *
@@ -159443,6 +160112,7 @@ declare abstract class Client$r extends Client$s {
159443
160112
  };
159444
160113
  }, options?: IRequestOptions$1) => Promise<{
159445
160114
  writeFile: (filePath: string) => Promise<unknown>;
160115
+ getReadableStream: () => Readable;
159446
160116
  }>;
159447
160117
  /**
159448
160118
  * {@link https://open.feishu.cn/api-explorer?project=lingo&resource=file&apiName=upload&version=v1 click to debug }
@@ -160844,6 +161514,52 @@ declare abstract class Client$q extends Client$r {
160844
161514
  data?: {} | undefined;
160845
161515
  }>;
160846
161516
  };
161517
+ /**
161518
+ * user_mailbox.message
161519
+ */
161520
+ userMailboxMessage: {
161521
+ /**
161522
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=send&version=v1 click to debug }
161523
+ *
161524
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=send&project=mail&resource=user_mailbox.message&version=v1 document }
161525
+ */
161526
+ send: (payload?: {
161527
+ data?: {
161528
+ raw?: string;
161529
+ subject?: string;
161530
+ to?: Array<{
161531
+ mail_address: string;
161532
+ name?: string;
161533
+ }>;
161534
+ cc?: Array<{
161535
+ mail_address: string;
161536
+ name?: string;
161537
+ }>;
161538
+ bcc?: Array<{
161539
+ mail_address: string;
161540
+ name?: string;
161541
+ }>;
161542
+ head_from?: {
161543
+ mail_address?: string;
161544
+ name?: string;
161545
+ };
161546
+ body_html?: string;
161547
+ body_plain_text?: string;
161548
+ attachments?: Array<{
161549
+ body: string;
161550
+ filename: string;
161551
+ }>;
161552
+ thread_id?: string;
161553
+ };
161554
+ path: {
161555
+ user_mailbox_id: string;
161556
+ };
161557
+ }, options?: IRequestOptions$1) => Promise<{
161558
+ code?: number | undefined;
161559
+ msg?: string | undefined;
161560
+ data?: {} | undefined;
161561
+ }>;
161562
+ };
160847
161563
  v1: {
160848
161564
  /**
160849
161565
  * 邮件组别名
@@ -162197,6 +162913,52 @@ declare abstract class Client$q extends Client$r {
162197
162913
  data?: {} | undefined;
162198
162914
  }>;
162199
162915
  };
162916
+ /**
162917
+ * user_mailbox.message
162918
+ */
162919
+ userMailboxMessage: {
162920
+ /**
162921
+ * {@link https://open.feishu.cn/api-explorer?project=mail&resource=user_mailbox.message&apiName=send&version=v1 click to debug }
162922
+ *
162923
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=send&project=mail&resource=user_mailbox.message&version=v1 document }
162924
+ */
162925
+ send: (payload?: {
162926
+ data?: {
162927
+ raw?: string;
162928
+ subject?: string;
162929
+ to?: Array<{
162930
+ mail_address: string;
162931
+ name?: string;
162932
+ }>;
162933
+ cc?: Array<{
162934
+ mail_address: string;
162935
+ name?: string;
162936
+ }>;
162937
+ bcc?: Array<{
162938
+ mail_address: string;
162939
+ name?: string;
162940
+ }>;
162941
+ head_from?: {
162942
+ mail_address?: string;
162943
+ name?: string;
162944
+ };
162945
+ body_html?: string;
162946
+ body_plain_text?: string;
162947
+ attachments?: Array<{
162948
+ body: string;
162949
+ filename: string;
162950
+ }>;
162951
+ thread_id?: string;
162952
+ };
162953
+ path: {
162954
+ user_mailbox_id: string;
162955
+ };
162956
+ }, options?: IRequestOptions$1) => Promise<{
162957
+ code?: number | undefined;
162958
+ msg?: string | undefined;
162959
+ data?: {} | undefined;
162960
+ }>;
162961
+ };
162200
162962
  };
162201
162963
  };
162202
162964
  }
@@ -162343,7 +163105,98 @@ declare abstract class Client$n extends Client$o {
162343
163105
  /**
162344
163106
 
162345
163107
  */
162346
- moments: {};
163108
+ moments: {
163109
+ /**
163110
+ * post
163111
+ */
163112
+ post: {
163113
+ /**
163114
+ * {@link https://open.feishu.cn/api-explorer?project=moments&resource=post&apiName=get&version=v1 click to debug }
163115
+ *
163116
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=moments&resource=post&version=v1 document }
163117
+ */
163118
+ get: (payload?: {
163119
+ params?: {
163120
+ user_id_type?: "user_id" | "union_id" | "open_id";
163121
+ };
163122
+ path: {
163123
+ post_id: string;
163124
+ };
163125
+ }, options?: IRequestOptions$1) => Promise<{
163126
+ code?: number | undefined;
163127
+ msg?: string | undefined;
163128
+ data?: {
163129
+ post?: {
163130
+ user_id?: string | undefined;
163131
+ content: string;
163132
+ image_key_list?: string[] | undefined;
163133
+ media_file_token?: string | undefined;
163134
+ comment_count?: number | undefined;
163135
+ reaction_set?: {
163136
+ reactions?: {
163137
+ type?: string | undefined;
163138
+ count?: number | undefined;
163139
+ }[] | undefined;
163140
+ total_count?: number | undefined;
163141
+ } | undefined;
163142
+ id?: string | undefined;
163143
+ create_time?: string | undefined;
163144
+ media_cover_image_key?: string | undefined;
163145
+ category_ids?: string[] | undefined;
163146
+ link?: string | undefined;
163147
+ user_type?: number | undefined;
163148
+ dislike_count?: number | undefined;
163149
+ } | undefined;
163150
+ } | undefined;
163151
+ }>;
163152
+ };
163153
+ v1: {
163154
+ /**
163155
+ * post
163156
+ */
163157
+ post: {
163158
+ /**
163159
+ * {@link https://open.feishu.cn/api-explorer?project=moments&resource=post&apiName=get&version=v1 click to debug }
163160
+ *
163161
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=moments&resource=post&version=v1 document }
163162
+ */
163163
+ get: (payload?: {
163164
+ params?: {
163165
+ user_id_type?: "user_id" | "union_id" | "open_id";
163166
+ };
163167
+ path: {
163168
+ post_id: string;
163169
+ };
163170
+ }, options?: IRequestOptions$1) => Promise<{
163171
+ code?: number | undefined;
163172
+ msg?: string | undefined;
163173
+ data?: {
163174
+ post?: {
163175
+ user_id?: string | undefined;
163176
+ content: string;
163177
+ image_key_list?: string[] | undefined;
163178
+ media_file_token?: string | undefined;
163179
+ comment_count?: number | undefined;
163180
+ reaction_set?: {
163181
+ reactions?: {
163182
+ type?: string | undefined;
163183
+ count?: number | undefined;
163184
+ }[] | undefined;
163185
+ total_count?: number | undefined;
163186
+ } | undefined;
163187
+ id?: string | undefined;
163188
+ create_time?: string | undefined;
163189
+ media_cover_image_key?: string | undefined;
163190
+ category_ids?: string[] | undefined;
163191
+ link?: string | undefined;
163192
+ user_type?: number | undefined;
163193
+ dislike_count?: number | undefined;
163194
+ } | undefined;
163195
+ } | undefined;
163196
+ }>;
163197
+ };
163198
+ };
163199
+ };
162347
163200
  }
162348
163201
 
162349
163202
  declare abstract class Client$m extends Client$n {
@@ -175493,6 +176346,7 @@ declare abstract class Client$4 extends Client$5 {
175493
176346
  };
175494
176347
  }, options?: IRequestOptions$1) => Promise<{
175495
176348
  writeFile: (filePath: string) => Promise<unknown>;
176349
+ getReadableStream: () => Readable;
175496
176350
  }>;
175497
176351
  /**
175498
176352
  * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=get&version=v1 click to debug }
@@ -178148,6 +179002,7 @@ declare abstract class Client$4 extends Client$5 {
178148
179002
  };
178149
179003
  }, options?: IRequestOptions$1) => Promise<{
178150
179004
  writeFile: (filePath: string) => Promise<unknown>;
179005
+ getReadableStream: () => Readable;
178151
179006
  }>;
178152
179007
  /**
178153
179008
  * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=get&version=v1 click to debug }
@@ -184760,6 +185615,36 @@ interface IHandles extends IOtherEventHandles {
184760
185615
  };
184761
185616
  job_change_id?: string;
184762
185617
  }) => Promise<any> | any;
185618
+ /**
185619
+
185620
+ */
185621
+ "corehr.job_data.created_v1"?: (data: {
185622
+ event_id?: string;
185623
+ token?: string;
185624
+ create_time?: string;
185625
+ event_type?: string;
185626
+ tenant_key?: string;
185627
+ ts?: string;
185628
+ uuid?: string;
185629
+ type?: string;
185630
+ app_id?: string;
185631
+ job_data_id?: string;
185632
+ }) => Promise<any> | any;
185633
+ /**
185634
+
185635
+ */
185636
+ "corehr.job_data.deleted_v1"?: (data: {
185637
+ event_id?: string;
185638
+ token?: string;
185639
+ create_time?: string;
185640
+ event_type?: string;
185641
+ tenant_key?: string;
185642
+ ts?: string;
185643
+ uuid?: string;
185644
+ type?: string;
185645
+ app_id?: string;
185646
+ job_data_id?: string;
185647
+ }) => Promise<any> | any;
184763
185648
  /**
184764
185649
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_data/events/employed document }
184765
185650
  *
@@ -184785,6 +185670,21 @@ interface IHandles extends IOtherEventHandles {
184785
185670
  open_id?: string;
184786
185671
  };
184787
185672
  }) => Promise<any> | any;
185673
+ /**
185674
+
185675
+ */
185676
+ "corehr.job_data.updated_v1"?: (data: {
185677
+ event_id?: string;
185678
+ token?: string;
185679
+ create_time?: string;
185680
+ event_type?: string;
185681
+ tenant_key?: string;
185682
+ ts?: string;
185683
+ uuid?: string;
185684
+ type?: string;
185685
+ app_id?: string;
185686
+ job_data_id?: string;
185687
+ }) => Promise<any> | any;
184788
185688
  /**
184789
185689
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/offboarding/events/updated document }
184790
185690
  *
@@ -184927,6 +185827,34 @@ interface IHandles extends IOtherEventHandles {
184927
185827
  fields?: Array<string>;
184928
185828
  }>;
184929
185829
  }) => Promise<any> | any;
185830
+ /**
185831
+
185832
+ */
185833
+ "corehr.job_change.status_updated_v2"?: (data: {
185834
+ event_id?: string;
185835
+ token?: string;
185836
+ create_time?: string;
185837
+ event_type?: string;
185838
+ tenant_key?: string;
185839
+ ts?: string;
185840
+ uuid?: string;
185841
+ type?: string;
185842
+ app_id?: string;
185843
+ employment_id?: string;
185844
+ target_user_id?: {
185845
+ union_id?: string;
185846
+ user_id?: string;
185847
+ open_id?: string;
185848
+ };
185849
+ job_change_id?: string;
185850
+ transfer_mode?: number;
185851
+ transfer_type_unique_identifier?: string;
185852
+ transfer_reason_unique_identifier?: string;
185853
+ process_id?: string;
185854
+ effective_date?: string;
185855
+ status?: number;
185856
+ transfer_key?: string;
185857
+ }) => Promise<any> | any;
184930
185858
  /**
184931
185859
 
184932
185860
  */
@@ -184951,6 +185879,8 @@ interface IHandles extends IOtherEventHandles {
184951
185879
  operate_reason?: string;
184952
185880
  transfer_type?: number;
184953
185881
  updated_fields?: Array<string>;
185882
+ transform_type?: string;
185883
+ transform_reason?: string;
184954
185884
  }) => Promise<any> | any;
184955
185885
  /**
184956
185886
 
@@ -186561,6 +187491,193 @@ interface IHandles extends IOtherEventHandles {
186561
187491
  room_name?: string;
186562
187492
  room_id?: string;
186563
187493
  }) => Promise<any> | any;
187494
+ /**
187495
+
187496
+ */
187497
+ "moments.comment.created_v1"?: (data: {
187498
+ event_id?: string;
187499
+ token?: string;
187500
+ create_time?: string;
187501
+ event_type?: string;
187502
+ tenant_key?: string;
187503
+ ts?: string;
187504
+ uuid?: string;
187505
+ type?: string;
187506
+ app_id?: string;
187507
+ user_id?: {
187508
+ union_id?: string;
187509
+ user_id?: string;
187510
+ open_id?: string;
187511
+ };
187512
+ id?: string;
187513
+ post_id?: string;
187514
+ reply_comment_id?: string;
187515
+ root_comment_id?: string;
187516
+ user_type?: number;
187517
+ }) => Promise<any> | any;
187518
+ /**
187519
+
187520
+ */
187521
+ "moments.comment.deleted_v1"?: (data: {
187522
+ event_id?: string;
187523
+ token?: string;
187524
+ create_time?: string;
187525
+ event_type?: string;
187526
+ tenant_key?: string;
187527
+ ts?: string;
187528
+ uuid?: string;
187529
+ type?: string;
187530
+ app_id?: string;
187531
+ id?: string;
187532
+ post_id?: string;
187533
+ }) => Promise<any> | any;
187534
+ /**
187535
+
187536
+ */
187537
+ "moments.dislike.created_v1"?: (data: {
187538
+ event_id?: string;
187539
+ token?: string;
187540
+ create_time?: string;
187541
+ event_type?: string;
187542
+ tenant_key?: string;
187543
+ ts?: string;
187544
+ uuid?: string;
187545
+ type?: string;
187546
+ app_id?: string;
187547
+ entity_type?: number;
187548
+ entity_id?: string;
187549
+ user_id?: {
187550
+ union_id?: string;
187551
+ user_id?: string;
187552
+ open_id?: string;
187553
+ };
187554
+ id?: string;
187555
+ }) => Promise<any> | any;
187556
+ /**
187557
+
187558
+ */
187559
+ "moments.dislike.deleted_v1"?: (data: {
187560
+ event_id?: string;
187561
+ token?: string;
187562
+ create_time?: string;
187563
+ event_type?: string;
187564
+ tenant_key?: string;
187565
+ ts?: string;
187566
+ uuid?: string;
187567
+ type?: string;
187568
+ app_id?: string;
187569
+ entity_type?: number;
187570
+ entity_id?: string;
187571
+ user_id?: {
187572
+ union_id?: string;
187573
+ user_id?: string;
187574
+ open_id?: string;
187575
+ };
187576
+ id?: string;
187577
+ }) => Promise<any> | any;
187578
+ /**
187579
+
187580
+ */
187581
+ "moments.post.created_v1"?: (data: {
187582
+ event_id?: string;
187583
+ token?: string;
187584
+ create_time?: string;
187585
+ event_type?: string;
187586
+ tenant_key?: string;
187587
+ ts?: string;
187588
+ uuid?: string;
187589
+ type?: string;
187590
+ app_id?: string;
187591
+ id?: string;
187592
+ user_id?: {
187593
+ union_id?: string;
187594
+ user_id?: string;
187595
+ open_id?: string;
187596
+ };
187597
+ category_ids?: Array<string>;
187598
+ link?: string;
187599
+ user_type?: number;
187600
+ }) => Promise<any> | any;
187601
+ /**
187602
+
187603
+ */
187604
+ "moments.post.deleted_v1"?: (data: {
187605
+ event_id?: string;
187606
+ token?: string;
187607
+ create_time?: string;
187608
+ event_type?: string;
187609
+ tenant_key?: string;
187610
+ ts?: string;
187611
+ uuid?: string;
187612
+ type?: string;
187613
+ app_id?: string;
187614
+ id?: string;
187615
+ }) => Promise<any> | any;
187616
+ /**
187617
+
187618
+ */
187619
+ "moments.post_statistics.updated_v1"?: (data: {
187620
+ event_id?: string;
187621
+ token?: string;
187622
+ create_time?: string;
187623
+ event_type?: string;
187624
+ tenant_key?: string;
187625
+ ts?: string;
187626
+ uuid?: string;
187627
+ type?: string;
187628
+ app_id?: string;
187629
+ post_id?: string;
187630
+ statistics_type?: number;
187631
+ statistics?: {
187632
+ share_count?: number;
187633
+ };
187634
+ }) => Promise<any> | any;
187635
+ /**
187636
+
187637
+ */
187638
+ "moments.reaction.created_v1"?: (data: {
187639
+ event_id?: string;
187640
+ token?: string;
187641
+ create_time?: string;
187642
+ event_type?: string;
187643
+ tenant_key?: string;
187644
+ ts?: string;
187645
+ uuid?: string;
187646
+ type?: string;
187647
+ app_id?: string;
187648
+ user_id?: {
187649
+ union_id?: string;
187650
+ user_id?: string;
187651
+ open_id?: string;
187652
+ };
187653
+ entity_id?: string;
187654
+ id?: string;
187655
+ entity_type?: number;
187656
+ user_type?: number;
187657
+ }) => Promise<any> | any;
187658
+ /**
187659
+
187660
+ */
187661
+ "moments.reaction.deleted_v1"?: (data: {
187662
+ event_id?: string;
187663
+ token?: string;
187664
+ create_time?: string;
187665
+ event_type?: string;
187666
+ tenant_key?: string;
187667
+ ts?: string;
187668
+ uuid?: string;
187669
+ type?: string;
187670
+ app_id?: string;
187671
+ user_id?: {
187672
+ union_id?: string;
187673
+ user_id?: string;
187674
+ open_id?: string;
187675
+ };
187676
+ entity_id?: string;
187677
+ id?: string;
187678
+ entity_type?: number;
187679
+ user_type?: number;
187680
+ }) => Promise<any> | any;
186564
187681
  /**
186565
187682
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-comment/events/updated document }
186566
187683
  *