@larksuiteoapi/node-sdk 1.15.0 → 1.16.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
@@ -393,7 +393,7 @@ declare abstract class Client$1 {
393
393
  };
394
394
  };
395
395
  /**
396
- * 管理后台-密码
396
+ * 管理后台-数据报表
397
397
  */
398
398
  admin: {
399
399
  /**
@@ -1213,6 +1213,36 @@ declare abstract class Client$1 {
1213
1213
  * 事件
1214
1214
  */
1215
1215
  applicationAppVersion: {
1216
+ /**
1217
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.app_version&apiName=contacts_range_suggest&version=v6 click to debug }
1218
+ *
1219
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=contacts_range_suggest&project=application&resource=application.app_version&version=v6 document }
1220
+ *
1221
+ * 获取应用版本通讯录权限范围建议
1222
+ */
1223
+ contactsRangeSuggest: (payload?: {
1224
+ params?: {
1225
+ department_id_type?: "department_id" | "open_department_id";
1226
+ user_id_type?: "user_id" | "union_id" | "open_id";
1227
+ };
1228
+ path: {
1229
+ app_id: string;
1230
+ version_id: string;
1231
+ };
1232
+ }, options?: IRequestOptions$1) => Promise<{
1233
+ code?: number | undefined;
1234
+ msg?: string | undefined;
1235
+ data?: {
1236
+ contacts_range?: {
1237
+ contacts_scope_type?: "equal_to_availability" | "some" | "all" | undefined;
1238
+ visible_list?: {
1239
+ open_ids?: string[] | undefined;
1240
+ department_ids?: string[] | undefined;
1241
+ group_ids?: string[] | undefined;
1242
+ } | undefined;
1243
+ } | undefined;
1244
+ } | undefined;
1245
+ }>;
1216
1246
  /**
1217
1247
  * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.app_version&apiName=get&version=v6 click to debug }
1218
1248
  *
@@ -1630,27 +1660,20 @@ declare abstract class Client$1 {
1630
1660
  }>;
1631
1661
  };
1632
1662
  /**
1633
- * 应用反馈
1663
+ * 应用
1634
1664
  */
1635
- applicationFeedback: {
1665
+ application: {
1636
1666
  /**
1637
- * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.feedback&apiName=list&version=v6 click to debug }
1638
- *
1639
- * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-feedback/list document }
1667
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=contacts_range_configuration&version=v6 click to debug }
1640
1668
  *
1641
- * 获取应用反馈列表
1642
- *
1643
- * 查询应用的反馈数据
1669
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=contacts_range_configuration&project=application&resource=application&version=v6 document }
1644
1670
  */
1645
- list: (payload?: {
1671
+ contactsRangeConfiguration: (payload?: {
1646
1672
  params?: {
1647
- from_date?: string;
1648
- to_date?: string;
1649
- feedback_type?: number;
1650
- status?: number;
1651
- user_id_type?: "open_id" | "union_id" | "user_id";
1652
- page_token?: string;
1653
1673
  page_size?: number;
1674
+ page_token?: string;
1675
+ department_id_type?: "department_id" | "open_department_id";
1676
+ user_id_type?: "user_id" | "union_id" | "open_id";
1654
1677
  };
1655
1678
  path: {
1656
1679
  app_id: string;
@@ -1659,57 +1682,18 @@ declare abstract class Client$1 {
1659
1682
  code?: number | undefined;
1660
1683
  msg?: string | undefined;
1661
1684
  data?: {
1662
- feedback_list?: {
1663
- feedback_id: string;
1664
- app_id: string;
1665
- feedback_time: string;
1666
- tenant_name?: string | undefined;
1667
- feedback_type: number;
1668
- status: number;
1669
- fault_type?: number[] | undefined;
1670
- fault_time?: string | undefined;
1671
- source?: number | undefined;
1672
- contact?: string | undefined;
1673
- update_time?: string | undefined;
1674
- description: string;
1675
- user_id?: string | undefined;
1676
- operator_id?: string | undefined;
1677
- images?: string[] | undefined;
1678
- feedback_path?: string | undefined;
1679
- }[] | undefined;
1680
- has_more: boolean;
1685
+ contacts_range?: {
1686
+ contacts_scope_type?: "equal_to_availability" | "some" | "all" | undefined;
1687
+ visible_list?: {
1688
+ open_ids?: string[] | undefined;
1689
+ department_ids?: string[] | undefined;
1690
+ group_ids?: string[] | undefined;
1691
+ } | undefined;
1692
+ } | undefined;
1693
+ has_more?: boolean | undefined;
1681
1694
  page_token?: string | undefined;
1682
1695
  } | undefined;
1683
1696
  }>;
1684
- /**
1685
- * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.feedback&apiName=patch&version=v6 click to debug }
1686
- *
1687
- * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-feedback/patch document }
1688
- *
1689
- * 更新应用反馈
1690
- *
1691
- * 更新应用的反馈数据
1692
- */
1693
- patch: (payload?: {
1694
- params: {
1695
- user_id_type?: "open_id" | "union_id" | "user_id";
1696
- status: number;
1697
- operator_id: string;
1698
- };
1699
- path: {
1700
- app_id: string;
1701
- feedback_id: string;
1702
- };
1703
- }, options?: IRequestOptions$1) => Promise<{
1704
- code?: number | undefined;
1705
- msg?: string | undefined;
1706
- data?: {} | undefined;
1707
- }>;
1708
- };
1709
- /**
1710
- * 应用
1711
- */
1712
- application: {
1713
1697
  /**
1714
1698
  * {@link https://open.feishu.cn/api-explorer?project=application&resource=application&apiName=get&version=v6 click to debug }
1715
1699
  *
@@ -1862,13 +1846,135 @@ declare abstract class Client$1 {
1862
1846
  } | undefined;
1863
1847
  }>;
1864
1848
  };
1849
+ /**
1850
+ * 应用反馈
1851
+ */
1852
+ applicationFeedback: {
1853
+ /**
1854
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.feedback&apiName=list&version=v6 click to debug }
1855
+ *
1856
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-feedback/list document }
1857
+ *
1858
+ * 获取应用反馈列表
1859
+ *
1860
+ * 查询应用的反馈数据
1861
+ */
1862
+ list: (payload?: {
1863
+ params?: {
1864
+ from_date?: string;
1865
+ to_date?: string;
1866
+ feedback_type?: number;
1867
+ status?: number;
1868
+ user_id_type?: "open_id" | "union_id" | "user_id";
1869
+ page_token?: string;
1870
+ page_size?: number;
1871
+ };
1872
+ path: {
1873
+ app_id: string;
1874
+ };
1875
+ }, options?: IRequestOptions$1) => Promise<{
1876
+ code?: number | undefined;
1877
+ msg?: string | undefined;
1878
+ data?: {
1879
+ feedback_list?: {
1880
+ feedback_id: string;
1881
+ app_id: string;
1882
+ feedback_time: string;
1883
+ tenant_name?: string | undefined;
1884
+ feedback_type: number;
1885
+ status: number;
1886
+ fault_type?: number[] | undefined;
1887
+ fault_time?: string | undefined;
1888
+ source?: number | undefined;
1889
+ contact?: string | undefined;
1890
+ update_time?: string | undefined;
1891
+ description: string;
1892
+ user_id?: string | undefined;
1893
+ operator_id?: string | undefined;
1894
+ images?: string[] | undefined;
1895
+ feedback_path?: string | undefined;
1896
+ }[] | undefined;
1897
+ has_more: boolean;
1898
+ page_token?: string | undefined;
1899
+ } | undefined;
1900
+ }>;
1901
+ /**
1902
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.feedback&apiName=patch&version=v6 click to debug }
1903
+ *
1904
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-feedback/patch document }
1905
+ *
1906
+ * 更新应用反馈
1907
+ *
1908
+ * 更新应用的反馈数据
1909
+ */
1910
+ patch: (payload?: {
1911
+ params: {
1912
+ user_id_type?: "open_id" | "union_id" | "user_id";
1913
+ status: number;
1914
+ operator_id: string;
1915
+ };
1916
+ path: {
1917
+ app_id: string;
1918
+ feedback_id: string;
1919
+ };
1920
+ }, options?: IRequestOptions$1) => Promise<{
1921
+ code?: number | undefined;
1922
+ msg?: string | undefined;
1923
+ data?: {} | undefined;
1924
+ }>;
1925
+ };
1926
+ /**
1927
+ * 事件
1928
+ */
1929
+ applicationVisibility: {
1930
+ /**
1931
+ * {@link https://open.feishu.cn/api-explorer?project=application&resource=application.visibility&apiName=check_white_black_list&version=v6 click to debug }
1932
+ *
1933
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=check_white_black_list&project=application&resource=application.visibility&version=v6 document }
1934
+ */
1935
+ checkWhiteBlackList: (payload?: {
1936
+ data?: {
1937
+ user_ids?: Array<string>;
1938
+ department_ids?: Array<string>;
1939
+ group_ids?: Array<string>;
1940
+ };
1941
+ params?: {
1942
+ user_id_type?: "user_id" | "union_id" | "open_id";
1943
+ department_id_type?: "department_id" | "open_department_id";
1944
+ };
1945
+ path: {
1946
+ app_id: string;
1947
+ };
1948
+ }, options?: IRequestOptions$1) => Promise<{
1949
+ code?: number | undefined;
1950
+ msg?: string | undefined;
1951
+ data?: {
1952
+ user_visibility_list?: {
1953
+ user_id?: string | undefined;
1954
+ in_white_list?: boolean | undefined;
1955
+ in_black_list?: boolean | undefined;
1956
+ in_paid_list?: boolean | undefined;
1957
+ }[] | undefined;
1958
+ department_visibility_list?: {
1959
+ department_id?: string | undefined;
1960
+ in_white_list?: boolean | undefined;
1961
+ in_black_list?: boolean | undefined;
1962
+ }[] | undefined;
1963
+ group_visibility_list?: {
1964
+ group_id?: string | undefined;
1965
+ in_white_list?: boolean | undefined;
1966
+ in_black_list?: boolean | undefined;
1967
+ }[] | undefined;
1968
+ } | undefined;
1969
+ }>;
1970
+ };
1865
1971
  };
1866
1972
  /**
1867
1973
  * 审批
1868
1974
  */
1869
1975
  approval: {
1870
1976
  /**
1871
- * 事件
1977
+ * 原生审批定义
1872
1978
  */
1873
1979
  approval: {
1874
1980
  /**
@@ -2517,6 +2623,8 @@ declare abstract class Client$1 {
2517
2623
  }>;
2518
2624
  is_default: boolean;
2519
2625
  }>;
2626
+ title?: string;
2627
+ title_display_method?: number;
2520
2628
  };
2521
2629
  }, options?: IRequestOptions$1) => Promise<{
2522
2630
  code?: number | undefined;
@@ -3495,6 +3603,12 @@ declare abstract class Client$1 {
3495
3603
  punch_type?: number;
3496
3604
  rest_clockIn_need_approval?: boolean;
3497
3605
  clockIn_need_photo?: boolean;
3606
+ member_status_change?: {
3607
+ onboarding_on_no_need_punch?: boolean;
3608
+ onboarding_off_no_need_punch?: boolean;
3609
+ offboarding_on_no_need_punch?: boolean;
3610
+ offboarding_off_no_need_punch?: boolean;
3611
+ };
3498
3612
  };
3499
3613
  operator_id?: string;
3500
3614
  };
@@ -3584,6 +3698,12 @@ declare abstract class Client$1 {
3584
3698
  member_effect_time?: string | undefined;
3585
3699
  rest_clockIn_need_approval?: boolean | undefined;
3586
3700
  clockIn_need_photo?: boolean | undefined;
3701
+ member_status_change?: {
3702
+ onboarding_on_no_need_punch?: boolean | undefined;
3703
+ onboarding_off_no_need_punch?: boolean | undefined;
3704
+ offboarding_on_no_need_punch?: boolean | undefined;
3705
+ offboarding_off_no_need_punch?: boolean | undefined;
3706
+ } | undefined;
3587
3707
  } | undefined;
3588
3708
  } | undefined;
3589
3709
  }>;
@@ -3702,6 +3822,12 @@ declare abstract class Client$1 {
3702
3822
  member_effect_time?: string | undefined;
3703
3823
  rest_clockIn_need_approval?: boolean | undefined;
3704
3824
  clockIn_need_photo?: boolean | undefined;
3825
+ member_status_change?: {
3826
+ onboarding_on_no_need_punch?: boolean | undefined;
3827
+ onboarding_off_no_need_punch?: boolean | undefined;
3828
+ offboarding_on_no_need_punch?: boolean | undefined;
3829
+ offboarding_off_no_need_punch?: boolean | undefined;
3830
+ } | undefined;
3705
3831
  } | undefined;
3706
3832
  }>;
3707
3833
  listWithIterator: (payload?: {
@@ -5338,7 +5464,9 @@ declare abstract class Client$1 {
5338
5464
  };
5339
5465
  }[] | undefined;
5340
5466
  description?: string | undefined;
5467
+ creator?: string | undefined;
5341
5468
  create_time?: string | undefined;
5469
+ updater?: string | undefined;
5342
5470
  update_time?: string | undefined;
5343
5471
  related_meta?: {
5344
5472
  users?: {
@@ -5385,6 +5513,7 @@ declare abstract class Client$1 {
5385
5513
  outer_id: string;
5386
5514
  } | undefined;
5387
5515
  rich_text?: string | undefined;
5516
+ source?: number | undefined;
5388
5517
  } | undefined;
5389
5518
  } | undefined;
5390
5519
  } | undefined;
@@ -5491,7 +5620,9 @@ declare abstract class Client$1 {
5491
5620
  };
5492
5621
  }[] | undefined;
5493
5622
  description?: string | undefined;
5623
+ creator?: string | undefined;
5494
5624
  create_time?: string | undefined;
5625
+ updater?: string | undefined;
5495
5626
  update_time?: string | undefined;
5496
5627
  related_meta?: {
5497
5628
  users?: {
@@ -5538,6 +5669,7 @@ declare abstract class Client$1 {
5538
5669
  outer_id: string;
5539
5670
  } | undefined;
5540
5671
  rich_text?: string | undefined;
5672
+ source?: number | undefined;
5541
5673
  } | undefined;
5542
5674
  } | undefined;
5543
5675
  } | undefined;
@@ -5647,7 +5779,9 @@ declare abstract class Client$1 {
5647
5779
  };
5648
5780
  }[] | undefined;
5649
5781
  description?: string | undefined;
5782
+ creator?: string | undefined;
5650
5783
  create_time?: string | undefined;
5784
+ updater?: string | undefined;
5651
5785
  update_time?: string | undefined;
5652
5786
  related_meta?: {
5653
5787
  users?: {
@@ -5694,6 +5828,7 @@ declare abstract class Client$1 {
5694
5828
  outer_id: string;
5695
5829
  } | undefined;
5696
5830
  rich_text?: string | undefined;
5831
+ source?: number | undefined;
5697
5832
  } | undefined;
5698
5833
  } | undefined;
5699
5834
  }>;
@@ -5768,7 +5903,9 @@ declare abstract class Client$1 {
5768
5903
  };
5769
5904
  }[] | undefined;
5770
5905
  description?: string | undefined;
5906
+ creator?: string | undefined;
5771
5907
  create_time?: string | undefined;
5908
+ updater?: string | undefined;
5772
5909
  update_time?: string | undefined;
5773
5910
  related_meta?: {
5774
5911
  users?: {
@@ -5815,6 +5952,7 @@ declare abstract class Client$1 {
5815
5952
  outer_id: string;
5816
5953
  } | undefined;
5817
5954
  rich_text?: string | undefined;
5955
+ source?: number | undefined;
5818
5956
  } | undefined;
5819
5957
  } | undefined;
5820
5958
  }>;
@@ -5878,7 +6016,9 @@ declare abstract class Client$1 {
5878
6016
  };
5879
6017
  }[] | undefined;
5880
6018
  description?: string | undefined;
6019
+ creator?: string | undefined;
5881
6020
  create_time?: string | undefined;
6021
+ updater?: string | undefined;
5882
6022
  update_time?: string | undefined;
5883
6023
  related_meta?: {
5884
6024
  users?: {
@@ -5925,6 +6065,7 @@ declare abstract class Client$1 {
5925
6065
  outer_id: string;
5926
6066
  } | undefined;
5927
6067
  rich_text?: string | undefined;
6068
+ source?: number | undefined;
5928
6069
  }[] | undefined;
5929
6070
  } | null, void, unknown>;
5930
6071
  }>;
@@ -5972,7 +6113,9 @@ declare abstract class Client$1 {
5972
6113
  };
5973
6114
  }[] | undefined;
5974
6115
  description?: string | undefined;
6116
+ creator?: string | undefined;
5975
6117
  create_time?: string | undefined;
6118
+ updater?: string | undefined;
5976
6119
  update_time?: string | undefined;
5977
6120
  related_meta?: {
5978
6121
  users?: {
@@ -6019,6 +6162,7 @@ declare abstract class Client$1 {
6019
6162
  outer_id: string;
6020
6163
  } | undefined;
6021
6164
  rich_text?: string | undefined;
6165
+ source?: number | undefined;
6022
6166
  }[] | undefined;
6023
6167
  page_token?: string | undefined;
6024
6168
  } | undefined;
@@ -6047,12 +6191,18 @@ declare abstract class Client$1 {
6047
6191
  } | undefined;
6048
6192
  }>;
6049
6193
  searchWithIterator: (payload?: {
6050
- data: {
6051
- query: string;
6194
+ data?: {
6195
+ query?: string;
6196
+ classification_filter?: {
6197
+ include?: Array<string>;
6198
+ exclude?: Array<string>;
6199
+ };
6200
+ sources?: Array<number>;
6201
+ creators?: Array<string>;
6052
6202
  };
6053
6203
  params?: {
6054
- page_token?: string;
6055
6204
  page_size?: number;
6205
+ page_token?: string;
6056
6206
  user_id_type?: "user_id" | "union_id" | "open_id";
6057
6207
  };
6058
6208
  }, options?: IRequestOptions$1) => Promise<{
@@ -6081,7 +6231,9 @@ declare abstract class Client$1 {
6081
6231
  };
6082
6232
  }[] | undefined;
6083
6233
  description?: string | undefined;
6234
+ creator?: string | undefined;
6084
6235
  create_time?: string | undefined;
6236
+ updater?: string | undefined;
6085
6237
  update_time?: string | undefined;
6086
6238
  related_meta?: {
6087
6239
  users?: {
@@ -6128,6 +6280,7 @@ declare abstract class Client$1 {
6128
6280
  outer_id: string;
6129
6281
  } | undefined;
6130
6282
  rich_text?: string | undefined;
6283
+ source?: number | undefined;
6131
6284
  }[] | undefined;
6132
6285
  } | null, void, unknown>;
6133
6286
  }>;
@@ -6141,12 +6294,18 @@ declare abstract class Client$1 {
6141
6294
  * 传入关键词,与词条名、别名、释义等信息进行模糊匹配,返回搜到的词条信息。
6142
6295
  */
6143
6296
  search: (payload?: {
6144
- data: {
6145
- query: string;
6297
+ data?: {
6298
+ query?: string;
6299
+ classification_filter?: {
6300
+ include?: Array<string>;
6301
+ exclude?: Array<string>;
6302
+ };
6303
+ sources?: Array<number>;
6304
+ creators?: Array<string>;
6146
6305
  };
6147
6306
  params?: {
6148
- page_token?: string;
6149
6307
  page_size?: number;
6308
+ page_token?: string;
6150
6309
  user_id_type?: "user_id" | "union_id" | "open_id";
6151
6310
  };
6152
6311
  }, options?: IRequestOptions$1) => Promise<{
@@ -6177,7 +6336,9 @@ declare abstract class Client$1 {
6177
6336
  };
6178
6337
  }[] | undefined;
6179
6338
  description?: string | undefined;
6339
+ creator?: string | undefined;
6180
6340
  create_time?: string | undefined;
6341
+ updater?: string | undefined;
6181
6342
  update_time?: string | undefined;
6182
6343
  related_meta?: {
6183
6344
  users?: {
@@ -6224,6 +6385,7 @@ declare abstract class Client$1 {
6224
6385
  outer_id: string;
6225
6386
  } | undefined;
6226
6387
  rich_text?: string | undefined;
6388
+ source?: number | undefined;
6227
6389
  }[] | undefined;
6228
6390
  page_token?: string | undefined;
6229
6391
  } | undefined;
@@ -6331,7 +6493,9 @@ declare abstract class Client$1 {
6331
6493
  };
6332
6494
  }[] | undefined;
6333
6495
  description?: string | undefined;
6496
+ creator?: string | undefined;
6334
6497
  create_time?: string | undefined;
6498
+ updater?: string | undefined;
6335
6499
  update_time?: string | undefined;
6336
6500
  related_meta?: {
6337
6501
  users?: {
@@ -6378,6 +6542,7 @@ declare abstract class Client$1 {
6378
6542
  outer_id: string;
6379
6543
  } | undefined;
6380
6544
  rich_text?: string | undefined;
6545
+ source?: number | undefined;
6381
6546
  } | undefined;
6382
6547
  } | undefined;
6383
6548
  }>;
@@ -6429,6 +6594,33 @@ declare abstract class Client$1 {
6429
6594
  * 多维表格
6430
6595
  */
6431
6596
  app: {
6597
+ /**
6598
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=copy&version=v1 click to debug }
6599
+ *
6600
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=copy&project=bitable&resource=app&version=v1 document }
6601
+ */
6602
+ copy: (payload?: {
6603
+ data?: {
6604
+ name?: string;
6605
+ folder_token?: string;
6606
+ without_content?: boolean;
6607
+ };
6608
+ path: {
6609
+ app_token: string;
6610
+ };
6611
+ }, options?: IRequestOptions$1) => Promise<{
6612
+ code?: number | undefined;
6613
+ msg?: string | undefined;
6614
+ data?: {
6615
+ app?: {
6616
+ app_token?: string | undefined;
6617
+ name?: string | undefined;
6618
+ revision?: number | undefined;
6619
+ folder_token?: string | undefined;
6620
+ url?: string | undefined;
6621
+ } | undefined;
6622
+ } | undefined;
6623
+ }>;
6432
6624
  /**
6433
6625
  * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=create&version=v1 click to debug }
6434
6626
  *
@@ -7304,6 +7496,7 @@ declare abstract class Client$1 {
7304
7496
  text?: string | undefined;
7305
7497
  } | undefined;
7306
7498
  ui_type?: string | undefined;
7499
+ is_hidden?: boolean | undefined;
7307
7500
  };
7308
7501
  params?: {
7309
7502
  client_token?: string | undefined;
@@ -7351,6 +7544,7 @@ declare abstract class Client$1 {
7351
7544
  } | undefined;
7352
7545
  is_primary?: boolean | undefined;
7353
7546
  ui_type?: string | undefined;
7547
+ is_hidden?: boolean | undefined;
7354
7548
  } | undefined;
7355
7549
  } | undefined;
7356
7550
  }>;
@@ -7428,6 +7622,7 @@ declare abstract class Client$1 {
7428
7622
  } | undefined;
7429
7623
  is_primary?: boolean | undefined;
7430
7624
  ui_type?: string | undefined;
7625
+ is_hidden?: boolean | undefined;
7431
7626
  }[] | undefined;
7432
7627
  } | null, void, unknown>;
7433
7628
  }>;
@@ -7495,6 +7690,7 @@ declare abstract class Client$1 {
7495
7690
  } | undefined;
7496
7691
  is_primary?: boolean | undefined;
7497
7692
  ui_type?: string | undefined;
7693
+ is_hidden?: boolean | undefined;
7498
7694
  }[] | undefined;
7499
7695
  } | undefined;
7500
7696
  }>;
@@ -7543,6 +7739,7 @@ declare abstract class Client$1 {
7543
7739
  text?: string | undefined;
7544
7740
  } | undefined;
7545
7741
  ui_type?: string | undefined;
7742
+ is_hidden?: boolean | undefined;
7546
7743
  };
7547
7744
  path: {
7548
7745
  app_token: string;
@@ -7588,6 +7785,7 @@ declare abstract class Client$1 {
7588
7785
  } | undefined;
7589
7786
  is_primary?: boolean | undefined;
7590
7787
  ui_type?: string | undefined;
7788
+ is_hidden?: boolean | undefined;
7591
7789
  } | undefined;
7592
7790
  } | undefined;
7593
7791
  }>;
@@ -9416,6 +9614,7 @@ declare abstract class Client$1 {
9416
9614
  need_notification?: boolean | undefined;
9417
9615
  instance_start_time_admin?: string | undefined;
9418
9616
  is_enable_admin?: boolean | undefined;
9617
+ add_operator_to_attendee?: boolean | undefined;
9419
9618
  } | undefined;
9420
9619
  params?: {
9421
9620
  user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
@@ -10554,6 +10753,7 @@ declare abstract class Client$1 {
10554
10753
  }[] | undefined;
10555
10754
  group_chat_employee_types?: number[] | undefined;
10556
10755
  department_hrbps?: string[] | undefined;
10756
+ primary_member_count?: number | undefined;
10557
10757
  }[] | undefined;
10558
10758
  } | null, void, unknown>;
10559
10759
  }>;
@@ -10610,6 +10810,7 @@ declare abstract class Client$1 {
10610
10810
  }[] | undefined;
10611
10811
  group_chat_employee_types?: number[] | undefined;
10612
10812
  department_hrbps?: string[] | undefined;
10813
+ primary_member_count?: number | undefined;
10613
10814
  }[] | undefined;
10614
10815
  } | undefined;
10615
10816
  }>;
@@ -10678,6 +10879,7 @@ declare abstract class Client$1 {
10678
10879
  }[] | undefined;
10679
10880
  group_chat_employee_types?: number[] | undefined;
10680
10881
  department_hrbps?: string[] | undefined;
10882
+ primary_member_count?: number | undefined;
10681
10883
  } | undefined;
10682
10884
  } | undefined;
10683
10885
  }>;
@@ -10751,6 +10953,7 @@ declare abstract class Client$1 {
10751
10953
  }[] | undefined;
10752
10954
  group_chat_employee_types?: number[] | undefined;
10753
10955
  department_hrbps?: string[] | undefined;
10956
+ primary_member_count?: number | undefined;
10754
10957
  } | undefined;
10755
10958
  } | undefined;
10756
10959
  }>;
@@ -10789,6 +10992,7 @@ declare abstract class Client$1 {
10789
10992
  }[] | undefined;
10790
10993
  group_chat_employee_types?: number[] | undefined;
10791
10994
  department_hrbps?: string[] | undefined;
10995
+ primary_member_count?: number | undefined;
10792
10996
  }[] | undefined;
10793
10997
  } | null, void, unknown>;
10794
10998
  }>;
@@ -10836,6 +11040,7 @@ declare abstract class Client$1 {
10836
11040
  }[] | undefined;
10837
11041
  group_chat_employee_types?: number[] | undefined;
10838
11042
  department_hrbps?: string[] | undefined;
11043
+ primary_member_count?: number | undefined;
10839
11044
  }[] | undefined;
10840
11045
  } | undefined;
10841
11046
  }>;
@@ -10873,6 +11078,7 @@ declare abstract class Client$1 {
10873
11078
  }[] | undefined;
10874
11079
  group_chat_employee_types?: number[] | undefined;
10875
11080
  department_hrbps?: string[] | undefined;
11081
+ primary_member_count?: number | undefined;
10876
11082
  }[] | undefined;
10877
11083
  } | null, void, unknown>;
10878
11084
  }>;
@@ -10925,6 +11131,7 @@ declare abstract class Client$1 {
10925
11131
  }[] | undefined;
10926
11132
  group_chat_employee_types?: number[] | undefined;
10927
11133
  department_hrbps?: string[] | undefined;
11134
+ primary_member_count?: number | undefined;
10928
11135
  }[] | undefined;
10929
11136
  } | undefined;
10930
11137
  }>;
@@ -10994,6 +11201,7 @@ declare abstract class Client$1 {
10994
11201
  }[] | undefined;
10995
11202
  group_chat_employee_types?: number[] | undefined;
10996
11203
  department_hrbps?: string[] | undefined;
11204
+ primary_member_count?: number | undefined;
10997
11205
  } | undefined;
10998
11206
  } | undefined;
10999
11207
  }>;
@@ -11060,6 +11268,7 @@ declare abstract class Client$1 {
11060
11268
  }[] | undefined;
11061
11269
  group_chat_employee_types?: number[] | undefined;
11062
11270
  department_hrbps?: string[] | undefined;
11271
+ primary_member_count?: number | undefined;
11063
11272
  }[] | undefined;
11064
11273
  page_token?: string | undefined;
11065
11274
  has_more: boolean;
@@ -11150,6 +11359,7 @@ declare abstract class Client$1 {
11150
11359
  leaderID: string;
11151
11360
  }[] | undefined;
11152
11361
  group_chat_employee_types?: number[] | undefined;
11362
+ primary_member_count?: number | undefined;
11153
11363
  } | undefined;
11154
11364
  } | undefined;
11155
11365
  }>;
@@ -12599,6 +12809,7 @@ declare abstract class Client$1 {
12599
12809
  department_id?: string;
12600
12810
  user_order?: number;
12601
12811
  department_order?: number;
12812
+ is_primary_dept?: boolean;
12602
12813
  }>;
12603
12814
  custom_attrs?: Array<{
12604
12815
  type?: string;
@@ -12705,6 +12916,7 @@ declare abstract class Client$1 {
12705
12916
  department_id?: string | undefined;
12706
12917
  user_order?: number | undefined;
12707
12918
  department_order?: number | undefined;
12919
+ is_primary_dept?: boolean | undefined;
12708
12920
  }[] | undefined;
12709
12921
  custom_attrs?: {
12710
12922
  type?: string | undefined;
@@ -12854,6 +13066,7 @@ declare abstract class Client$1 {
12854
13066
  department_id?: string | undefined;
12855
13067
  user_order?: number | undefined;
12856
13068
  department_order?: number | undefined;
13069
+ is_primary_dept?: boolean | undefined;
12857
13070
  }[] | undefined;
12858
13071
  custom_attrs?: {
12859
13072
  type?: string | undefined;
@@ -12982,6 +13195,7 @@ declare abstract class Client$1 {
12982
13195
  department_id?: string | undefined;
12983
13196
  user_order?: number | undefined;
12984
13197
  department_order?: number | undefined;
13198
+ is_primary_dept?: boolean | undefined;
12985
13199
  }[] | undefined;
12986
13200
  custom_attrs?: {
12987
13201
  type?: string | undefined;
@@ -13105,6 +13319,7 @@ declare abstract class Client$1 {
13105
13319
  department_id?: string | undefined;
13106
13320
  user_order?: number | undefined;
13107
13321
  department_order?: number | undefined;
13322
+ is_primary_dept?: boolean | undefined;
13108
13323
  }[] | undefined;
13109
13324
  custom_attrs?: {
13110
13325
  type?: string | undefined;
@@ -13221,6 +13436,7 @@ declare abstract class Client$1 {
13221
13436
  department_id?: string | undefined;
13222
13437
  user_order?: number | undefined;
13223
13438
  department_order?: number | undefined;
13439
+ is_primary_dept?: boolean | undefined;
13224
13440
  }[] | undefined;
13225
13441
  custom_attrs?: {
13226
13442
  type?: string | undefined;
@@ -13346,6 +13562,7 @@ declare abstract class Client$1 {
13346
13562
  department_id?: string | undefined;
13347
13563
  user_order?: number | undefined;
13348
13564
  department_order?: number | undefined;
13565
+ is_primary_dept?: boolean | undefined;
13349
13566
  }[] | undefined;
13350
13567
  custom_attrs?: {
13351
13568
  type?: string | undefined;
@@ -13446,6 +13663,7 @@ declare abstract class Client$1 {
13446
13663
  department_id?: string;
13447
13664
  user_order?: number;
13448
13665
  department_order?: number;
13666
+ is_primary_dept?: boolean;
13449
13667
  }>;
13450
13668
  custom_attrs?: Array<{
13451
13669
  type?: string;
@@ -13550,6 +13768,7 @@ declare abstract class Client$1 {
13550
13768
  department_id?: string | undefined;
13551
13769
  user_order?: number | undefined;
13552
13770
  department_order?: number | undefined;
13771
+ is_primary_dept?: boolean | undefined;
13553
13772
  }[] | undefined;
13554
13773
  custom_attrs?: {
13555
13774
  type?: string | undefined;
@@ -13607,6 +13826,38 @@ declare abstract class Client$1 {
13607
13826
  } | undefined;
13608
13827
  } | undefined;
13609
13828
  }>;
13829
+ /**
13830
+ * {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=resurrect&version=v3 click to debug }
13831
+ *
13832
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/resurrect document }
13833
+ *
13834
+ * 恢复已删除用户
13835
+ *
13836
+ * 该接口用于恢复已删除用户(已离职的成员),仅自建应用可申请,应用商店应用无权调用接口。
13837
+ *
13838
+ * - 仅支持恢复离职 30 天内的成员。恢复后,部分用户数据仍不可恢复,请谨慎调用。;- 待恢复成员的用户 ID 不能被企业内其他成员使用。如有重复,请先离职对应的成员,否则接口会报错。;- 待恢复成员的手机号和邮箱不能被企业内其他成员使用。如有重复,请先修改对应成员的信息,否则接口会报错。
13839
+ */
13840
+ resurrect: (payload?: {
13841
+ data?: {
13842
+ departments?: Array<{
13843
+ department_id: string;
13844
+ user_order?: number;
13845
+ department_order?: number;
13846
+ }>;
13847
+ subscription_ids?: Array<string>;
13848
+ };
13849
+ params?: {
13850
+ user_id_type?: "open_id" | "union_id" | "user_id";
13851
+ department_id_type?: "department_id" | "open_department_id";
13852
+ };
13853
+ path: {
13854
+ user_id: string;
13855
+ };
13856
+ }, options?: IRequestOptions$1) => Promise<{
13857
+ code?: number | undefined;
13858
+ msg?: string | undefined;
13859
+ data?: {} | undefined;
13860
+ }>;
13610
13861
  /**
13611
13862
  * {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=update&version=v3 click to debug }
13612
13863
  *
@@ -13648,6 +13899,7 @@ declare abstract class Client$1 {
13648
13899
  department_id?: string;
13649
13900
  user_order?: number;
13650
13901
  department_order?: number;
13902
+ is_primary_dept?: boolean;
13651
13903
  }>;
13652
13904
  custom_attrs?: Array<{
13653
13905
  type?: string;
@@ -13749,6 +14001,7 @@ declare abstract class Client$1 {
13749
14001
  department_id?: string | undefined;
13750
14002
  user_order?: number | undefined;
13751
14003
  department_order?: number | undefined;
14004
+ is_primary_dept?: boolean | undefined;
13752
14005
  }[] | undefined;
13753
14006
  custom_attrs?: {
13754
14007
  type?: string | undefined;
@@ -16878,6 +17131,10 @@ declare abstract class Client$1 {
16878
17131
  } | undefined;
16879
17132
  okr_progress?: {} | undefined;
16880
17133
  comment_ids?: string[] | undefined;
17134
+ jira_issue?: {
17135
+ id?: string | undefined;
17136
+ key?: string | undefined;
17137
+ } | undefined;
16881
17138
  }[] | undefined;
16882
17139
  document_revision_id?: number | undefined;
16883
17140
  client_token: string;
@@ -19544,6 +19801,10 @@ declare abstract class Client$1 {
19544
19801
  } | undefined;
19545
19802
  okr_progress?: {} | undefined;
19546
19803
  comment_ids?: string[] | undefined;
19804
+ jira_issue?: {
19805
+ id?: string | undefined;
19806
+ key?: string | undefined;
19807
+ } | undefined;
19547
19808
  } | undefined;
19548
19809
  } | undefined;
19549
19810
  }>;
@@ -22194,6 +22455,10 @@ declare abstract class Client$1 {
22194
22455
  } | undefined;
22195
22456
  okr_progress?: {} | undefined;
22196
22457
  comment_ids?: string[] | undefined;
22458
+ jira_issue?: {
22459
+ id?: string | undefined;
22460
+ key?: string | undefined;
22461
+ } | undefined;
22197
22462
  }[] | undefined;
22198
22463
  } | null, void, unknown>;
22199
22464
  }>;
@@ -24859,6 +25124,10 @@ declare abstract class Client$1 {
24859
25124
  } | undefined;
24860
25125
  okr_progress?: {} | undefined;
24861
25126
  comment_ids?: string[] | undefined;
25127
+ jira_issue?: {
25128
+ id?: string | undefined;
25129
+ key?: string | undefined;
25130
+ } | undefined;
24862
25131
  }[] | undefined;
24863
25132
  page_token?: string | undefined;
24864
25133
  has_more?: boolean | undefined;
@@ -27838,6 +28107,10 @@ declare abstract class Client$1 {
27838
28107
  } | undefined;
27839
28108
  okr_progress?: {} | undefined;
27840
28109
  comment_ids?: string[] | undefined;
28110
+ jira_issue?: {
28111
+ id?: string | undefined;
28112
+ key?: string | undefined;
28113
+ } | undefined;
27841
28114
  } | undefined;
27842
28115
  document_revision_id?: number | undefined;
27843
28116
  client_token: string;
@@ -32658,6 +32931,10 @@ declare abstract class Client$1 {
32658
32931
  } | undefined;
32659
32932
  okr_progress?: {} | undefined;
32660
32933
  comment_ids?: string[] | undefined;
32934
+ jira_issue?: {
32935
+ id?: string | undefined;
32936
+ key?: string | undefined;
32937
+ } | undefined;
32661
32938
  }[] | undefined;
32662
32939
  document_revision_id?: number | undefined;
32663
32940
  client_token: string;
@@ -35311,6 +35588,10 @@ declare abstract class Client$1 {
35311
35588
  } | undefined;
35312
35589
  okr_progress?: {} | undefined;
35313
35590
  comment_ids?: string[] | undefined;
35591
+ jira_issue?: {
35592
+ id?: string | undefined;
35593
+ key?: string | undefined;
35594
+ } | undefined;
35314
35595
  }[] | undefined;
35315
35596
  } | null, void, unknown>;
35316
35597
  }>;
@@ -37977,6 +38258,10 @@ declare abstract class Client$1 {
37977
38258
  } | undefined;
37978
38259
  okr_progress?: {} | undefined;
37979
38260
  comment_ids?: string[] | undefined;
38261
+ jira_issue?: {
38262
+ id?: string | undefined;
38263
+ key?: string | undefined;
38264
+ } | undefined;
37980
38265
  }[] | undefined;
37981
38266
  page_token?: string | undefined;
37982
38267
  has_more?: boolean | undefined;
@@ -38074,7 +38359,7 @@ declare abstract class Client$1 {
38074
38359
  };
38075
38360
  };
38076
38361
  /**
38077
- * 云文档-文档
38362
+ * 云文档-文件管理
38078
38363
  */
38079
38364
  drive: {
38080
38365
  /**
@@ -38156,6 +38441,70 @@ declare abstract class Client$1 {
38156
38441
  * 评论
38157
38442
  */
38158
38443
  fileComment: {
38444
+ /**
38445
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.comment&apiName=batch_query&version=v1 click to debug }
38446
+ *
38447
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment/batch_query document }
38448
+ *
38449
+ * 批量获取评论
38450
+ *
38451
+ * 该接口用于根据评论 ID 列表批量获取评论。
38452
+ */
38453
+ batchQuery: (payload?: {
38454
+ data: {
38455
+ comment_ids: Array<string>;
38456
+ };
38457
+ params: {
38458
+ file_type: "doc" | "sheet" | "file" | "docx";
38459
+ user_id_type?: "user_id" | "union_id" | "open_id";
38460
+ };
38461
+ path?: {
38462
+ file_token?: string;
38463
+ };
38464
+ }, options?: IRequestOptions$1) => Promise<{
38465
+ code?: number | undefined;
38466
+ msg?: string | undefined;
38467
+ data?: {
38468
+ items?: {
38469
+ comment_id?: string | undefined;
38470
+ user_id?: string | undefined;
38471
+ create_time?: number | undefined;
38472
+ update_time?: number | undefined;
38473
+ is_solved?: boolean | undefined;
38474
+ solved_time?: number | undefined;
38475
+ solver_user_id?: string | undefined;
38476
+ has_more?: boolean | undefined;
38477
+ page_token?: string | undefined;
38478
+ is_whole?: boolean | undefined;
38479
+ quote?: string | undefined;
38480
+ reply_list?: {
38481
+ replies: Array<{
38482
+ reply_id?: string;
38483
+ user_id?: string;
38484
+ create_time?: number;
38485
+ update_time?: number;
38486
+ content: {
38487
+ elements: Array<{
38488
+ type: "text_run" | "docs_link" | "person";
38489
+ text_run?: {
38490
+ text: string;
38491
+ };
38492
+ docs_link?: {
38493
+ url: string;
38494
+ };
38495
+ person?: {
38496
+ user_id: string;
38497
+ };
38498
+ }>;
38499
+ };
38500
+ extra?: {
38501
+ image_list?: Array<string>;
38502
+ };
38503
+ }>;
38504
+ } | undefined;
38505
+ }[] | undefined;
38506
+ } | undefined;
38507
+ }>;
38159
38508
  /**
38160
38509
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file.comment&apiName=create&version=v1 click to debug }
38161
38510
  *
@@ -38529,7 +38878,7 @@ declare abstract class Client$1 {
38529
38878
  }>;
38530
38879
  };
38531
38880
  /**
38532
- * 分片上传
38881
+ * 文件
38533
38882
  */
38534
38883
  file: {
38535
38884
  /**
@@ -38597,6 +38946,36 @@ declare abstract class Client$1 {
38597
38946
  url?: string | undefined;
38598
38947
  } | undefined;
38599
38948
  }>;
38949
+ /**
38950
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=create_shortcut&version=v1 click to debug }
38951
+ *
38952
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create_shortcut&project=drive&resource=file&version=v1 document }
38953
+ */
38954
+ createShortcut: (payload?: {
38955
+ data: {
38956
+ parent_token: string;
38957
+ refer_entity: {
38958
+ refer_token: string;
38959
+ refer_type: "file" | "docx" | "bitable" | "doc" | "sheet" | "mindnote";
38960
+ };
38961
+ };
38962
+ }, options?: IRequestOptions$1) => Promise<{
38963
+ code?: number | undefined;
38964
+ msg?: string | undefined;
38965
+ data?: {
38966
+ succ_shortcut_node?: {
38967
+ token: string;
38968
+ name: string;
38969
+ type: string;
38970
+ parent_token?: string | undefined;
38971
+ url?: string | undefined;
38972
+ shortcut_info?: {
38973
+ target_type: string;
38974
+ target_token: string;
38975
+ } | undefined;
38976
+ } | undefined;
38977
+ } | undefined;
38978
+ }>;
38600
38979
  /**
38601
38980
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=delete&version=v1 click to debug }
38602
38981
  *
@@ -39252,7 +39631,7 @@ declare abstract class Client$1 {
39252
39631
  }>;
39253
39632
  };
39254
39633
  /**
39255
- * 素材
39634
+ * 分片上传
39256
39635
  */
39257
39636
  media: {
39258
39637
  /**
@@ -39696,6 +40075,66 @@ declare abstract class Client$1 {
39696
40075
  } | undefined;
39697
40076
  }>;
39698
40077
  };
40078
+ /**
40079
+ * permission.public.password
40080
+ */
40081
+ permissionPublicPassword: {
40082
+ /**
40083
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public.password&apiName=create&version=v1 click to debug }
40084
+ *
40085
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=drive&resource=permission.public.password&version=v1 document }
40086
+ */
40087
+ create: (payload?: {
40088
+ params: {
40089
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
40090
+ };
40091
+ path?: {
40092
+ token?: string;
40093
+ };
40094
+ }, options?: IRequestOptions$1) => Promise<{
40095
+ code?: number | undefined;
40096
+ msg?: string | undefined;
40097
+ data?: {
40098
+ password?: string | undefined;
40099
+ } | undefined;
40100
+ }>;
40101
+ /**
40102
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public.password&apiName=delete&version=v1 click to debug }
40103
+ *
40104
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=drive&resource=permission.public.password&version=v1 document }
40105
+ */
40106
+ delete: (payload?: {
40107
+ params: {
40108
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
40109
+ };
40110
+ path?: {
40111
+ token?: string;
40112
+ };
40113
+ }, options?: IRequestOptions$1) => Promise<{
40114
+ code?: number | undefined;
40115
+ msg?: string | undefined;
40116
+ data?: {} | undefined;
40117
+ }>;
40118
+ /**
40119
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public.password&apiName=update&version=v1 click to debug }
40120
+ *
40121
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=drive&resource=permission.public.password&version=v1 document }
40122
+ */
40123
+ update: (payload?: {
40124
+ params: {
40125
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
40126
+ };
40127
+ path?: {
40128
+ token?: string;
40129
+ };
40130
+ }, options?: IRequestOptions$1) => Promise<{
40131
+ code?: number | undefined;
40132
+ msg?: string | undefined;
40133
+ data?: {
40134
+ password?: string | undefined;
40135
+ } | undefined;
40136
+ }>;
40137
+ };
39699
40138
  };
39700
40139
  /**
39701
40140
 
@@ -42898,6 +43337,185 @@ declare abstract class Client$1 {
42898
43337
  } | undefined;
42899
43338
  }>;
42900
43339
  };
43340
+ /**
43341
+ * 导入外部系统信息(灰度租户可见)
43342
+ */
43343
+ externalApplication: {
43344
+ /**
43345
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=external_application&apiName=create&version=v1 click to debug }
43346
+ *
43347
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/external_application/create document }
43348
+ *
43349
+ * 创建外部投递
43350
+ *
43351
+ * 导入来自其他系统的投递信息,创建为外部投递
43352
+ */
43353
+ create: (payload?: {
43354
+ data: {
43355
+ external_id?: string;
43356
+ job_recruitment_type?: number;
43357
+ job_title?: string;
43358
+ resume_source?: string;
43359
+ stage?: string;
43360
+ talent_id: string;
43361
+ termination_reason?: string;
43362
+ delivery_type?: number;
43363
+ modify_time?: number;
43364
+ termination_type?: string;
43365
+ };
43366
+ }, options?: IRequestOptions$1) => Promise<{
43367
+ code?: number | undefined;
43368
+ msg?: string | undefined;
43369
+ data?: {
43370
+ external_application?: {
43371
+ id?: string | undefined;
43372
+ external_id?: string | undefined;
43373
+ job_recruitment_type?: number | undefined;
43374
+ job_title?: string | undefined;
43375
+ resume_source?: string | undefined;
43376
+ stage?: string | undefined;
43377
+ talent_id: string;
43378
+ termination_reason?: string | undefined;
43379
+ delivery_type?: number | undefined;
43380
+ modify_time?: number | undefined;
43381
+ termination_type?: string | undefined;
43382
+ } | undefined;
43383
+ } | undefined;
43384
+ }>;
43385
+ };
43386
+ /**
43387
+ * 导入外部系统信息(灰度租户可见)
43388
+ */
43389
+ externalBackgroundCheck: {
43390
+ /**
43391
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=external_background_check&apiName=create&version=v1 click to debug }
43392
+ *
43393
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/external_background_check/create document }
43394
+ *
43395
+ * 创建外部背调
43396
+ *
43397
+ * 导入来自其他系统的背调信息,创建为外部背调
43398
+ */
43399
+ create: (payload?: {
43400
+ data: {
43401
+ external_id?: string;
43402
+ external_application_id: string;
43403
+ date?: number;
43404
+ name?: string;
43405
+ result?: string;
43406
+ attachment_id_list?: Array<string>;
43407
+ };
43408
+ }, options?: IRequestOptions$1) => Promise<{
43409
+ code?: number | undefined;
43410
+ msg?: string | undefined;
43411
+ data?: {
43412
+ external_background_check?: {
43413
+ id?: string | undefined;
43414
+ external_id?: string | undefined;
43415
+ external_application_id: string;
43416
+ date?: number | undefined;
43417
+ name?: string | undefined;
43418
+ result?: string | undefined;
43419
+ attachment_id_list?: string[] | undefined;
43420
+ attachment_list?: {
43421
+ id?: string | undefined;
43422
+ name?: string | undefined;
43423
+ size?: number | undefined;
43424
+ }[] | undefined;
43425
+ } | undefined;
43426
+ } | undefined;
43427
+ }>;
43428
+ };
43429
+ /**
43430
+ * 导入外部系统信息(灰度租户可见)
43431
+ */
43432
+ externalInterview: {
43433
+ /**
43434
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=external_interview&apiName=create&version=v1 click to debug }
43435
+ *
43436
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/external_interview/create document }
43437
+ *
43438
+ * 创建外部面试
43439
+ *
43440
+ * 导入来自其他系统的面试信息,创建为外部面试
43441
+ */
43442
+ create: (payload?: {
43443
+ data: {
43444
+ external_id?: string;
43445
+ external_application_id: string;
43446
+ participate_status?: number;
43447
+ begin_time?: number;
43448
+ end_time?: number;
43449
+ };
43450
+ }, options?: IRequestOptions$1) => Promise<{
43451
+ code?: number | undefined;
43452
+ msg?: string | undefined;
43453
+ data?: {
43454
+ external_interview?: {
43455
+ external_id?: string | undefined;
43456
+ external_application_id: string;
43457
+ id?: string | undefined;
43458
+ participate_status?: number | undefined;
43459
+ begin_time?: number | undefined;
43460
+ end_time?: number | undefined;
43461
+ } | undefined;
43462
+ } | undefined;
43463
+ }>;
43464
+ };
43465
+ /**
43466
+ * 导入外部系统信息(灰度租户可见)
43467
+ */
43468
+ externalInterviewAssessment: {
43469
+ /**
43470
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=external_interview_assessment&apiName=create&version=v1 click to debug }
43471
+ *
43472
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/external_interview_assessment/create document }
43473
+ *
43474
+ * 创建外部面评
43475
+ *
43476
+ * 导入来自其他系统的面评信息,创建为外部面评
43477
+ */
43478
+ create: (payload?: {
43479
+ data: {
43480
+ external_id?: string | undefined;
43481
+ username?: string | undefined;
43482
+ conclusion?: number | undefined;
43483
+ assessment_dimension_list?: {
43484
+ score?: number | undefined;
43485
+ option?: string | undefined;
43486
+ options?: string[] | undefined;
43487
+ content?: string | undefined;
43488
+ assessment_type?: number | undefined;
43489
+ title?: string | undefined;
43490
+ description?: string | undefined;
43491
+ }[] | undefined;
43492
+ content?: string | undefined;
43493
+ external_interview_id: string;
43494
+ };
43495
+ } | undefined, options?: IRequestOptions$1) => Promise<{
43496
+ code?: number | undefined;
43497
+ msg?: string | undefined;
43498
+ data?: {
43499
+ external_interview_assessment?: {
43500
+ id?: string | undefined;
43501
+ external_id?: string | undefined;
43502
+ username?: string | undefined;
43503
+ conclusion?: number | undefined;
43504
+ assessment_dimension_list?: {
43505
+ score?: number | undefined;
43506
+ option?: string | undefined;
43507
+ options?: string[] | undefined;
43508
+ content?: string | undefined;
43509
+ assessment_type?: number | undefined;
43510
+ title?: string | undefined;
43511
+ description?: string | undefined;
43512
+ }[] | undefined;
43513
+ content?: string | undefined;
43514
+ external_interview_id: string;
43515
+ } | undefined;
43516
+ } | undefined;
43517
+ }>;
43518
+ };
42901
43519
  /**
42902
43520
  * 职位
42903
43521
  */
@@ -42949,6 +43567,7 @@ declare abstract class Client$1 {
42949
43567
  address_id_list?: Array<string>;
42950
43568
  job_attribute?: number;
42951
43569
  expiry_timestamp?: string;
43570
+ interview_registration_schema_id?: string;
42952
43571
  };
42953
43572
  params?: {
42954
43573
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -43088,6 +43707,10 @@ declare abstract class Client$1 {
43088
43707
  hiring_manager_id_list: Array<string>;
43089
43708
  assistant_id_list?: string[] | undefined;
43090
43709
  } | undefined;
43710
+ interview_registration_schema_info?: {
43711
+ id?: string | undefined;
43712
+ name?: string | undefined;
43713
+ } | undefined;
43091
43714
  } | undefined;
43092
43715
  }>;
43093
43716
  /**
@@ -43135,6 +43758,7 @@ declare abstract class Client$1 {
43135
43758
  address_id_list?: Array<string>;
43136
43759
  job_attribute?: number;
43137
43760
  expiry_timestamp?: string;
43761
+ interview_registration_schema_id?: string;
43138
43762
  };
43139
43763
  params?: {
43140
43764
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -43277,6 +43901,10 @@ declare abstract class Client$1 {
43277
43901
  hiring_manager_id_list: Array<string>;
43278
43902
  assistant_id_list?: string[] | undefined;
43279
43903
  } | undefined;
43904
+ interview_registration_schema_info?: {
43905
+ id?: string | undefined;
43906
+ name?: string | undefined;
43907
+ } | undefined;
43280
43908
  } | undefined;
43281
43909
  }>;
43282
43910
  /**
@@ -43346,6 +43974,10 @@ declare abstract class Client$1 {
43346
43974
  en_us?: string | undefined;
43347
43975
  } | undefined;
43348
43976
  }[] | undefined;
43977
+ interview_registration_schema?: {
43978
+ id?: string | undefined;
43979
+ name?: string | undefined;
43980
+ } | undefined;
43349
43981
  interview_round_type_list?: {
43350
43982
  assessment_round?: {
43351
43983
  id?: string | undefined;
@@ -43538,6 +44170,7 @@ declare abstract class Client$1 {
43538
44170
  round?: number;
43539
44171
  }>;
43540
44172
  jr_id_list?: Array<string>;
44173
+ interview_registration_schema_id?: string;
43541
44174
  interview_round_type_conf_list?: Array<{
43542
44175
  round_biz_id?: string;
43543
44176
  assessment_template_biz_id?: string;
@@ -43618,6 +44251,10 @@ declare abstract class Client$1 {
43618
44251
  en_us?: string | undefined;
43619
44252
  } | undefined;
43620
44253
  }[] | undefined;
44254
+ interview_registration_schema?: {
44255
+ id?: string | undefined;
44256
+ name?: string | undefined;
44257
+ } | undefined;
43621
44258
  interview_round_type_list?: {
43622
44259
  assessment_round?: {
43623
44260
  id?: string | undefined;
@@ -43993,6 +44630,28 @@ declare abstract class Client$1 {
43993
44630
  * 人才
43994
44631
  */
43995
44632
  talent: {
44633
+ /**
44634
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=add_to_folder&version=v1 click to debug }
44635
+ *
44636
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent/add_to_folder document }
44637
+ *
44638
+ * 将人才加入指定文件夹
44639
+ *
44640
+ * 将人才加入指定文件夹
44641
+ */
44642
+ addToFolder: (payload?: {
44643
+ data?: {
44644
+ talent_id_list?: Array<string>;
44645
+ folder_id?: string;
44646
+ };
44647
+ }, options?: IRequestOptions$1) => Promise<{
44648
+ code?: number | undefined;
44649
+ msg?: string | undefined;
44650
+ data?: {
44651
+ talent_id_list?: string[] | undefined;
44652
+ folder_id?: string | undefined;
44653
+ } | undefined;
44654
+ }>;
43996
44655
  /**
43997
44656
  * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=batch_get_id&version=v1 click to debug }
43998
44657
  *
@@ -44494,10 +45153,59 @@ declare abstract class Client$1 {
44494
45153
  }[] | undefined;
44495
45154
  }[] | undefined;
44496
45155
  top_degree?: number | undefined;
45156
+ first_degree?: number | undefined;
44497
45157
  } | undefined;
44498
45158
  } | undefined;
44499
45159
  }>;
44500
45160
  };
45161
+ /**
45162
+ * talent_folder
45163
+ */
45164
+ talentFolder: {
45165
+ listWithIterator: (payload?: {
45166
+ params?: {
45167
+ page_token?: string;
45168
+ page_size?: number;
45169
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
45170
+ };
45171
+ }, options?: IRequestOptions$1) => Promise<{
45172
+ [Symbol.asyncIterator](): AsyncGenerator<{
45173
+ items?: {
45174
+ name: string;
45175
+ folder_id?: string | undefined;
45176
+ owner_id?: string | undefined;
45177
+ }[] | undefined;
45178
+ } | null, void, unknown>;
45179
+ }>;
45180
+ /**
45181
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent_folder&apiName=list&version=v1 click to debug }
45182
+ *
45183
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent_folder/list document }
45184
+ *
45185
+ * 获取人才文件夹信息
45186
+ *
45187
+ * 用于获取招聘系统中人才文件夹信息
45188
+ */
45189
+ list: (payload?: {
45190
+ params?: {
45191
+ page_token?: string;
45192
+ page_size?: number;
45193
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
45194
+ };
45195
+ }, options?: IRequestOptions$1) => Promise<{
45196
+ code?: number | undefined;
45197
+ msg?: string | undefined;
45198
+ data?: {
45199
+ has_more?: boolean | undefined;
45200
+ page_token?: string | undefined;
45201
+ items?: {
45202
+ name: string;
45203
+ folder_id?: string | undefined;
45204
+ owner_id?: string | undefined;
45205
+ }[] | undefined;
45206
+ } | undefined;
45207
+ }>;
45208
+ };
44501
45209
  };
44502
45210
  /**
44503
45211
  * 实名认证
@@ -44718,6 +45426,12 @@ declare abstract class Client$1 {
44718
45426
  membership_approval?: string;
44719
45427
  labels?: Array<string>;
44720
45428
  toolkit_ids?: Array<string>;
45429
+ restricted_mode_setting?: {
45430
+ status?: boolean;
45431
+ screenshot_has_permission_setting?: "all_members" | "not_anyone";
45432
+ download_has_permission_setting?: "all_members" | "not_anyone";
45433
+ message_has_permission_setting?: "all_members" | "not_anyone";
45434
+ };
44721
45435
  };
44722
45436
  params?: {
44723
45437
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -44754,6 +45468,12 @@ declare abstract class Client$1 {
44754
45468
  moderation_permission?: string | undefined;
44755
45469
  labels?: string[] | undefined;
44756
45470
  toolkit_ids?: string[] | undefined;
45471
+ restricted_mode_setting?: {
45472
+ status?: boolean | undefined;
45473
+ screenshot_has_permission_setting?: "all_members" | "not_anyone" | undefined;
45474
+ download_has_permission_setting?: "all_members" | "not_anyone" | undefined;
45475
+ message_has_permission_setting?: "all_members" | "not_anyone" | undefined;
45476
+ } | undefined;
44757
45477
  } | undefined;
44758
45478
  }>;
44759
45479
  /**
@@ -44827,6 +45547,12 @@ declare abstract class Client$1 {
44827
45547
  bot_count?: string | undefined;
44828
45548
  labels?: string[] | undefined;
44829
45549
  toolkit_ids?: string[] | undefined;
45550
+ restricted_mode_setting?: {
45551
+ status?: boolean | undefined;
45552
+ screenshot_has_permission_setting?: "all_members" | "not_anyone" | undefined;
45553
+ download_has_permission_setting?: "all_members" | "not_anyone" | undefined;
45554
+ message_has_permission_setting?: "all_members" | "not_anyone" | undefined;
45555
+ } | undefined;
44830
45556
  } | undefined;
44831
45557
  }>;
44832
45558
  /**
@@ -45003,6 +45729,12 @@ declare abstract class Client$1 {
45003
45729
  membership_approval?: string;
45004
45730
  labels?: Array<string>;
45005
45731
  toolkit_ids?: Array<string>;
45732
+ restricted_mode_setting?: {
45733
+ status?: boolean;
45734
+ screenshot_has_permission_setting?: "all_members" | "not_anyone";
45735
+ download_has_permission_setting?: "all_members" | "not_anyone";
45736
+ message_has_permission_setting?: "all_members" | "not_anyone";
45737
+ };
45006
45738
  chat_type?: string;
45007
45739
  };
45008
45740
  params?: {
@@ -45146,8 +45878,8 @@ declare abstract class Client$1 {
45146
45878
  getWithIterator: (payload?: {
45147
45879
  params?: {
45148
45880
  member_id_type?: "user_id" | "union_id" | "open_id";
45149
- page_token?: string;
45150
45881
  page_size?: number;
45882
+ page_token?: string;
45151
45883
  };
45152
45884
  path: {
45153
45885
  chat_id: string;
@@ -45177,8 +45909,8 @@ declare abstract class Client$1 {
45177
45909
  get: (payload?: {
45178
45910
  params?: {
45179
45911
  member_id_type?: "user_id" | "union_id" | "open_id";
45180
- page_token?: string;
45181
45912
  page_size?: number;
45913
+ page_token?: string;
45182
45914
  };
45183
45915
  path: {
45184
45916
  chat_id: string;
@@ -45617,8 +46349,8 @@ declare abstract class Client$1 {
45617
46349
  getWithIterator: (payload?: {
45618
46350
  params?: {
45619
46351
  user_id_type?: "user_id" | "union_id" | "open_id";
45620
- page_token?: string;
45621
46352
  page_size?: number;
46353
+ page_token?: string;
45622
46354
  };
45623
46355
  path: {
45624
46356
  chat_id: string;
@@ -45647,8 +46379,8 @@ declare abstract class Client$1 {
45647
46379
  get: (payload?: {
45648
46380
  params?: {
45649
46381
  user_id_type?: "user_id" | "union_id" | "open_id";
45650
- page_token?: string;
45651
46382
  page_size?: number;
46383
+ page_token?: string;
45652
46384
  };
45653
46385
  path: {
45654
46386
  chat_id: string;
@@ -46051,7 +46783,7 @@ declare abstract class Client$1 {
46051
46783
  }>;
46052
46784
  };
46053
46785
  /**
46054
- * 消息
46786
+ * 消息加急
46055
46787
  */
46056
46788
  message: {
46057
46789
  /**
@@ -49080,6 +49812,34 @@ declare abstract class Client$1 {
49080
49812
  * 搜索
49081
49813
  */
49082
49814
  search: {
49815
+ /**
49816
+ * app
49817
+ */
49818
+ app: {
49819
+ /**
49820
+ * {@link https://open.feishu.cn/api-explorer?project=search&resource=app&apiName=create&version=v2 click to debug }
49821
+ *
49822
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=search&resource=app&version=v2 document }
49823
+ */
49824
+ create: (payload?: {
49825
+ data: {
49826
+ query: string;
49827
+ };
49828
+ params?: {
49829
+ user_id_type?: "user_id" | "union_id" | "open_id";
49830
+ page_size?: number;
49831
+ page_token?: string;
49832
+ };
49833
+ }, options?: IRequestOptions$1) => Promise<{
49834
+ code?: number | undefined;
49835
+ msg?: string | undefined;
49836
+ data?: {
49837
+ items?: string[] | undefined;
49838
+ page_token?: string | undefined;
49839
+ has_more?: boolean | undefined;
49840
+ } | undefined;
49841
+ }>;
49842
+ };
49083
49843
  /**
49084
49844
  * 数据源
49085
49845
  */
@@ -49365,7 +50125,7 @@ declare abstract class Client$1 {
49365
50125
  acl: Array<{
49366
50126
  access?: "allow" | "deny";
49367
50127
  value?: string;
49368
- type?: "user" | "group" | "open_id";
50128
+ type?: "user_id" | "open_id" | "union_id" | "department_id" | "open_department_id" | "group_id" | "app_group_id" | "user" | "group";
49369
50129
  }>;
49370
50130
  metadata: {
49371
50131
  title: string;
@@ -49430,7 +50190,7 @@ declare abstract class Client$1 {
49430
50190
  acl: Array<{
49431
50191
  access?: "allow" | "deny";
49432
50192
  value?: string;
49433
- type?: "user" | "group" | "open_id";
50193
+ type?: "user_id" | "open_id" | "union_id" | "department_id" | "open_department_id" | "group_id" | "app_group_id" | "user" | "group";
49434
50194
  }>;
49435
50195
  metadata: {
49436
50196
  title: string;
@@ -49448,6 +50208,42 @@ declare abstract class Client$1 {
49448
50208
  } | undefined;
49449
50209
  }>;
49450
50210
  };
50211
+ /**
50212
+ * message
50213
+ */
50214
+ message: {
50215
+ /**
50216
+ * {@link https://open.feishu.cn/api-explorer?project=search&resource=message&apiName=create&version=v2 click to debug }
50217
+ *
50218
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=search&resource=message&version=v2 document }
50219
+ */
50220
+ create: (payload?: {
50221
+ data: {
50222
+ query: string;
50223
+ from_ids?: Array<string>;
50224
+ chat_ids?: Array<string>;
50225
+ message_type?: "file" | "image" | "media";
50226
+ at_chatter_ids?: Array<string>;
50227
+ from_type?: "bot" | "user";
50228
+ chat_type?: "group_chat" | "p2p_chat";
50229
+ start_time?: string;
50230
+ end_time?: string;
50231
+ };
50232
+ params?: {
50233
+ user_id_type?: "user_id" | "union_id" | "open_id";
50234
+ page_size?: number;
50235
+ page_token?: string;
50236
+ };
50237
+ }, options?: IRequestOptions$1) => Promise<{
50238
+ code?: number | undefined;
50239
+ msg?: string | undefined;
50240
+ data?: {
50241
+ items?: string[] | undefined;
50242
+ page_token?: string | undefined;
50243
+ has_more?: boolean | undefined;
50244
+ } | undefined;
50245
+ }>;
50246
+ };
49451
50247
  /**
49452
50248
  * 数据范式
49453
50249
  */
@@ -50177,7 +50973,7 @@ declare abstract class Client$1 {
50177
50973
  }>;
50178
50974
  };
50179
50975
  /**
50180
- * 单元格
50976
+ * 工作表
50181
50977
  */
50182
50978
  spreadsheetSheet: {
50183
50979
  /**
@@ -55677,6 +56473,34 @@ interface IHandles extends IOtherEventHandles {
55677
56473
  }>;
55678
56474
  source?: number;
55679
56475
  }) => Promise<any> | any;
56476
+ /**
56477
+ * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/bot/events/menu document }
56478
+ *
56479
+ * 机器人自定义菜单
56480
+ *
56481
+ * 当用户点击类型为事件的机器人菜单时触发
56482
+ */
56483
+ "application.bot.menu_v6"?: (data: {
56484
+ event_id?: string;
56485
+ token?: string;
56486
+ create_time?: string;
56487
+ event_type?: string;
56488
+ tenant_key?: string;
56489
+ ts?: string;
56490
+ uuid?: string;
56491
+ type?: string;
56492
+ app_id?: string;
56493
+ operator?: {
56494
+ operator_name?: string;
56495
+ operator_id?: {
56496
+ union_id?: string;
56497
+ user_id?: string;
56498
+ open_id?: string;
56499
+ };
56500
+ };
56501
+ event_key?: string;
56502
+ timestamp?: string;
56503
+ }) => Promise<any> | any;
55680
56504
  /**
55681
56505
  * {@link https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/custom-approval-event document }
55682
56506
  */
@@ -56223,6 +57047,7 @@ interface IHandles extends IOtherEventHandles {
56223
57047
  leaderID: string;
56224
57048
  }>;
56225
57049
  group_chat_employee_types?: Array<number>;
57050
+ primary_member_count?: number;
56226
57051
  }>;
56227
57052
  users?: Array<{
56228
57053
  union_id?: string;
@@ -56359,6 +57184,7 @@ interface IHandles extends IOtherEventHandles {
56359
57184
  leaderID: string;
56360
57185
  }>;
56361
57186
  group_chat_employee_types?: Array<number>;
57187
+ primary_member_count?: number;
56362
57188
  }>;
56363
57189
  users?: Array<{
56364
57190
  union_id?: string;
@@ -56538,6 +57364,7 @@ interface IHandles extends IOtherEventHandles {
56538
57364
  department_id?: string;
56539
57365
  user_order?: number;
56540
57366
  department_order?: number;
57367
+ is_primary_dept?: boolean;
56541
57368
  }>;
56542
57369
  time_zone?: string;
56543
57370
  custom_attrs?: Array<{
@@ -56627,6 +57454,7 @@ interface IHandles extends IOtherEventHandles {
56627
57454
  department_id?: string;
56628
57455
  user_order?: number;
56629
57456
  department_order?: number;
57457
+ is_primary_dept?: boolean;
56630
57458
  }>;
56631
57459
  time_zone?: string;
56632
57460
  custom_attrs?: Array<{
@@ -56720,6 +57548,7 @@ interface IHandles extends IOtherEventHandles {
56720
57548
  department_id?: string;
56721
57549
  user_order?: number;
56722
57550
  department_order?: number;
57551
+ is_primary_dept?: boolean;
56723
57552
  }>;
56724
57553
  time_zone?: string;
56725
57554
  custom_attrs?: Array<{
@@ -56789,6 +57618,7 @@ interface IHandles extends IOtherEventHandles {
56789
57618
  department_id?: string;
56790
57619
  user_order?: number;
56791
57620
  department_order?: number;
57621
+ is_primary_dept?: boolean;
56792
57622
  }>;
56793
57623
  time_zone?: string;
56794
57624
  custom_attrs?: Array<{
@@ -57605,6 +58435,12 @@ interface IHandles extends IOtherEventHandles {
57605
58435
  open_id?: string;
57606
58436
  };
57607
58437
  labels?: Array<string>;
58438
+ restricted_mode_setting?: {
58439
+ status?: boolean;
58440
+ screenshot_has_permission_setting?: "all_members" | "not_anyone";
58441
+ download_has_permission_setting?: "all_members" | "not_anyone";
58442
+ message_has_permission_setting?: "all_members" | "not_anyone";
58443
+ };
57608
58444
  };
57609
58445
  before_change?: {
57610
58446
  avatar?: string;
@@ -57629,6 +58465,12 @@ interface IHandles extends IOtherEventHandles {
57629
58465
  open_id?: string;
57630
58466
  };
57631
58467
  labels?: Array<string>;
58468
+ restricted_mode_setting?: {
58469
+ status?: boolean;
58470
+ screenshot_has_permission_setting?: "all_members" | "not_anyone";
58471
+ download_has_permission_setting?: "all_members" | "not_anyone";
58472
+ message_has_permission_setting?: "all_members" | "not_anyone";
58473
+ };
57632
58474
  };
57633
58475
  moderator_list?: {
57634
58476
  added_member_list?: Array<{
@@ -57989,6 +58831,7 @@ interface IHandles extends IOtherEventHandles {
57989
58831
  user_role?: number;
57990
58832
  user_type?: number;
57991
58833
  };
58834
+ calendar_event_id?: string;
57992
58835
  };
57993
58836
  operator?: {
57994
58837
  id?: {
@@ -58038,6 +58881,7 @@ interface IHandles extends IOtherEventHandles {
58038
58881
  user_role?: number;
58039
58882
  user_type?: number;
58040
58883
  };
58884
+ calendar_event_id?: string;
58041
58885
  };
58042
58886
  operator?: {
58043
58887
  id?: {
@@ -58198,6 +59042,7 @@ interface IHandles extends IOtherEventHandles {
58198
59042
  user_role?: number;
58199
59043
  user_type?: number;
58200
59044
  };
59045
+ calendar_event_id?: string;
58201
59046
  };
58202
59047
  operator?: {
58203
59048
  id?: {
@@ -58251,6 +59096,7 @@ interface IHandles extends IOtherEventHandles {
58251
59096
  user_role?: number;
58252
59097
  user_type?: number;
58253
59098
  };
59099
+ calendar_event_id?: string;
58254
59100
  };
58255
59101
  operator?: {
58256
59102
  id?: {