@larksuiteoapi/node-sdk 1.0.2 → 1.0.3

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
@@ -1823,7 +1823,7 @@ declare abstract class Client$1 {
1823
1823
  update_mode?: "REPLACE" | "UPDATE";
1824
1824
  task_list?: Array<{
1825
1825
  task_id: string;
1826
- user_id: string;
1826
+ user_id?: string;
1827
1827
  open_id?: string;
1828
1828
  title?: string;
1829
1829
  links: {
@@ -1847,7 +1847,7 @@ declare abstract class Client$1 {
1847
1847
  }>;
1848
1848
  cc_list?: Array<{
1849
1849
  cc_id: string;
1850
- user_id: string;
1850
+ user_id?: string;
1851
1851
  open_id?: string;
1852
1852
  links: {
1853
1853
  pc_link: string;
@@ -1899,7 +1899,7 @@ declare abstract class Client$1 {
1899
1899
  update_mode?: "REPLACE" | "UPDATE" | undefined;
1900
1900
  task_list?: {
1901
1901
  task_id: string;
1902
- user_id: string;
1902
+ user_id?: string | undefined;
1903
1903
  open_id?: string | undefined;
1904
1904
  title?: string | undefined;
1905
1905
  links: {
@@ -1923,7 +1923,7 @@ declare abstract class Client$1 {
1923
1923
  }[] | undefined;
1924
1924
  cc_list?: {
1925
1925
  cc_id: string;
1926
- user_id: string;
1926
+ user_id?: string | undefined;
1927
1927
  open_id?: string | undefined;
1928
1928
  links: {
1929
1929
  pc_link: string;
@@ -2257,6 +2257,8 @@ declare abstract class Client$1 {
2257
2257
  user_ids: Array<string>;
2258
2258
  check_time_from: string;
2259
2259
  check_time_to: string;
2260
+ check_date_type?: "PeriodTime" | "CreateTime";
2261
+ status?: number;
2260
2262
  };
2261
2263
  params: {
2262
2264
  employee_type: "employee_id" | "employee_no";
@@ -2291,12 +2293,8 @@ declare abstract class Client$1 {
2291
2293
  punch_no: number;
2292
2294
  work_type: number;
2293
2295
  remedy_time: string;
2294
- status?: number;
2295
2296
  reason: string;
2296
2297
  time?: string;
2297
- time_zone?: string;
2298
- create_time?: string;
2299
- update_time?: string;
2300
2298
  };
2301
2299
  params: {
2302
2300
  employee_type: "employee_id" | "employee_no";
@@ -2423,96 +2421,6 @@ declare abstract class Client$1 {
2423
2421
  msg?: string | undefined;
2424
2422
  data?: {} | undefined;
2425
2423
  }>;
2426
- /**
2427
- * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=group&apiName=get&version=v1 click to debug }
2428
- */
2429
- get: (payload?: {
2430
- params: {
2431
- employee_type: "employee_id" | "employee_no";
2432
- dept_type: "open_id";
2433
- };
2434
- path: {
2435
- group_id: string;
2436
- };
2437
- }, options?: IRequestOptions$1) => Promise<{
2438
- code?: number | undefined;
2439
- msg?: string | undefined;
2440
- data?: {
2441
- group_id?: string | undefined;
2442
- group_name: string;
2443
- time_zone: string;
2444
- bind_dept_ids?: string[] | undefined;
2445
- except_dept_ids?: string[] | undefined;
2446
- bind_user_ids?: string[] | undefined;
2447
- except_user_ids?: string[] | undefined;
2448
- group_leader_ids: Array<string>;
2449
- sub_group_leader_ids?: string[] | undefined;
2450
- allow_out_punch?: boolean | undefined;
2451
- out_punch_need_approval?: boolean | undefined;
2452
- out_punch_need_remark?: boolean | undefined;
2453
- out_punch_need_photo?: boolean | undefined;
2454
- out_punch_allowed_hide_addr?: boolean | undefined;
2455
- allow_pc_punch?: boolean | undefined;
2456
- allow_remedy?: boolean | undefined;
2457
- remedy_limit?: boolean | undefined;
2458
- remedy_limit_count?: number | undefined;
2459
- remedy_date_limit?: boolean | undefined;
2460
- remedy_date_num?: number | undefined;
2461
- allow_remedy_type_lack?: boolean | undefined;
2462
- allow_remedy_type_late?: boolean | undefined;
2463
- allow_remedy_type_early?: boolean | undefined;
2464
- allow_remedy_type_normal?: boolean | undefined;
2465
- show_cumulative_time?: boolean | undefined;
2466
- show_over_time?: boolean | undefined;
2467
- hide_staff_punch_time?: boolean | undefined;
2468
- face_punch?: boolean | undefined;
2469
- face_punch_cfg?: number | undefined;
2470
- face_downgrade?: boolean | undefined;
2471
- replace_basic_pic?: boolean | undefined;
2472
- machines?: {
2473
- machine_sn: string;
2474
- machine_name: string;
2475
- }[] | undefined;
2476
- gps_range?: number | undefined;
2477
- locations?: {
2478
- location_id?: string | undefined;
2479
- location_name: string;
2480
- location_type: number;
2481
- latitude?: number | undefined;
2482
- longitude?: number | undefined;
2483
- ssid?: string | undefined;
2484
- bssid?: string | undefined;
2485
- map_type?: number | undefined;
2486
- address?: string | undefined;
2487
- ip?: string | undefined;
2488
- feature?: string | undefined;
2489
- gps_range?: number | undefined;
2490
- }[] | undefined;
2491
- group_type: number;
2492
- punch_day_shift_ids: Array<string>;
2493
- free_punch_cfg?: {
2494
- free_start_time: string;
2495
- free_end_time: string;
2496
- punch_day: number;
2497
- work_day_no_punch_as_lack?: boolean | undefined;
2498
- } | undefined;
2499
- calendar_id: number;
2500
- need_punch_special_days?: {
2501
- punch_day: number;
2502
- shift_id: string;
2503
- }[] | undefined;
2504
- no_need_punch_special_days?: {
2505
- punch_day: number;
2506
- shift_id: string;
2507
- }[] | undefined;
2508
- work_day_no_punch_as_lack?: boolean | undefined;
2509
- remedy_period_type?: number | undefined;
2510
- remedy_period_custom_date?: number | undefined;
2511
- punch_type?: number | undefined;
2512
- rest_clockIn_need_approval?: boolean | undefined;
2513
- clockIn_need_photo?: boolean | undefined;
2514
- } | undefined;
2515
- }>;
2516
2424
  /**
2517
2425
  * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=group&apiName=create&version=v1 click to debug }
2518
2426
  */
@@ -2676,46 +2584,101 @@ declare abstract class Client$1 {
2676
2584
  remedy_period_type?: number | undefined;
2677
2585
  remedy_period_custom_date?: number | undefined;
2678
2586
  punch_type?: number | undefined;
2587
+ effect_time?: string | undefined;
2679
2588
  rest_clockIn_need_approval?: boolean | undefined;
2680
2589
  clockIn_need_photo?: boolean | undefined;
2681
2590
  } | undefined;
2682
2591
  } | undefined;
2683
2592
  }>;
2684
- };
2685
- userStatsData: {
2686
2593
  /**
2687
- * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_stats_data&apiName=query&version=v1 click to debug }
2594
+ * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=group&apiName=get&version=v1 click to debug }
2688
2595
  */
2689
- query: (payload?: {
2690
- data: {
2691
- locale: "en" | "ja" | "zh";
2692
- stats_type: "daily" | "month";
2693
- start_date: number;
2694
- end_date: number;
2695
- user_ids?: Array<string>;
2696
- need_history?: boolean;
2697
- current_group_only?: boolean;
2698
- user_id?: string;
2699
- };
2596
+ get: (payload?: {
2700
2597
  params: {
2701
2598
  employee_type: "employee_id" | "employee_no";
2599
+ dept_type: "open_id";
2600
+ };
2601
+ path: {
2602
+ group_id: string;
2702
2603
  };
2703
2604
  }, options?: IRequestOptions$1) => Promise<{
2704
2605
  code?: number | undefined;
2705
2606
  msg?: string | undefined;
2706
2607
  data?: {
2707
- user_datas?: {
2708
- name: string;
2709
- user_id: string;
2710
- datas?: {
2711
- code: string;
2712
- value: string;
2713
- features?: {
2714
- key: string;
2715
- value: string;
2716
- }[] | undefined;
2717
- }[] | undefined;
2608
+ group_id?: string | undefined;
2609
+ group_name: string;
2610
+ time_zone: string;
2611
+ bind_dept_ids?: string[] | undefined;
2612
+ except_dept_ids?: string[] | undefined;
2613
+ bind_user_ids?: string[] | undefined;
2614
+ except_user_ids?: string[] | undefined;
2615
+ group_leader_ids: Array<string>;
2616
+ sub_group_leader_ids?: string[] | undefined;
2617
+ allow_out_punch?: boolean | undefined;
2618
+ out_punch_need_approval?: boolean | undefined;
2619
+ out_punch_need_remark?: boolean | undefined;
2620
+ out_punch_need_photo?: boolean | undefined;
2621
+ out_punch_allowed_hide_addr?: boolean | undefined;
2622
+ allow_pc_punch?: boolean | undefined;
2623
+ allow_remedy?: boolean | undefined;
2624
+ remedy_limit?: boolean | undefined;
2625
+ remedy_limit_count?: number | undefined;
2626
+ remedy_date_limit?: boolean | undefined;
2627
+ remedy_date_num?: number | undefined;
2628
+ allow_remedy_type_lack?: boolean | undefined;
2629
+ allow_remedy_type_late?: boolean | undefined;
2630
+ allow_remedy_type_early?: boolean | undefined;
2631
+ allow_remedy_type_normal?: boolean | undefined;
2632
+ show_cumulative_time?: boolean | undefined;
2633
+ show_over_time?: boolean | undefined;
2634
+ hide_staff_punch_time?: boolean | undefined;
2635
+ face_punch?: boolean | undefined;
2636
+ face_punch_cfg?: number | undefined;
2637
+ face_downgrade?: boolean | undefined;
2638
+ replace_basic_pic?: boolean | undefined;
2639
+ machines?: {
2640
+ machine_sn: string;
2641
+ machine_name: string;
2642
+ }[] | undefined;
2643
+ gps_range?: number | undefined;
2644
+ locations?: {
2645
+ location_id?: string | undefined;
2646
+ location_name: string;
2647
+ location_type: number;
2648
+ latitude?: number | undefined;
2649
+ longitude?: number | undefined;
2650
+ ssid?: string | undefined;
2651
+ bssid?: string | undefined;
2652
+ map_type?: number | undefined;
2653
+ address?: string | undefined;
2654
+ ip?: string | undefined;
2655
+ feature?: string | undefined;
2656
+ gps_range?: number | undefined;
2657
+ }[] | undefined;
2658
+ group_type: number;
2659
+ punch_day_shift_ids: Array<string>;
2660
+ free_punch_cfg?: {
2661
+ free_start_time: string;
2662
+ free_end_time: string;
2663
+ punch_day: number;
2664
+ work_day_no_punch_as_lack?: boolean | undefined;
2665
+ } | undefined;
2666
+ calendar_id: number;
2667
+ need_punch_special_days?: {
2668
+ punch_day: number;
2669
+ shift_id: string;
2670
+ }[] | undefined;
2671
+ no_need_punch_special_days?: {
2672
+ punch_day: number;
2673
+ shift_id: string;
2718
2674
  }[] | undefined;
2675
+ work_day_no_punch_as_lack?: boolean | undefined;
2676
+ remedy_period_type?: number | undefined;
2677
+ remedy_period_custom_date?: number | undefined;
2678
+ punch_type?: number | undefined;
2679
+ effect_time?: string | undefined;
2680
+ rest_clockIn_need_approval?: boolean | undefined;
2681
+ clockIn_need_photo?: boolean | undefined;
2719
2682
  } | undefined;
2720
2683
  }>;
2721
2684
  };
@@ -3102,6 +3065,8 @@ declare abstract class Client$1 {
3102
3065
  user_ids: Array<string>;
3103
3066
  check_date_from: number;
3104
3067
  check_date_to: number;
3068
+ check_date_type?: "PeriodTime" | "CreateTime";
3069
+ status?: number;
3105
3070
  };
3106
3071
  params: {
3107
3072
  employee_type: "employee_id" | "employee_no";
@@ -3390,6 +3355,44 @@ declare abstract class Client$1 {
3390
3355
  } | undefined;
3391
3356
  }>;
3392
3357
  };
3358
+ userStatsData: {
3359
+ /**
3360
+ * {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_stats_data&apiName=query&version=v1 click to debug }
3361
+ */
3362
+ query: (payload?: {
3363
+ data: {
3364
+ locale: "en" | "ja" | "zh";
3365
+ stats_type: "daily" | "month";
3366
+ start_date: number;
3367
+ end_date: number;
3368
+ user_ids?: Array<string>;
3369
+ need_history?: boolean;
3370
+ current_group_only?: boolean;
3371
+ user_id?: string;
3372
+ };
3373
+ params: {
3374
+ employee_type: "employee_id" | "employee_no";
3375
+ };
3376
+ }, options?: IRequestOptions$1) => Promise<{
3377
+ code?: number | undefined;
3378
+ msg?: string | undefined;
3379
+ data?: {
3380
+ user_datas?: {
3381
+ name: string;
3382
+ user_id: string;
3383
+ datas?: {
3384
+ code: string;
3385
+ value: string;
3386
+ features?: {
3387
+ key: string;
3388
+ value: string;
3389
+ }[] | undefined;
3390
+ title?: string | undefined;
3391
+ }[] | undefined;
3392
+ }[] | undefined;
3393
+ } | undefined;
3394
+ }>;
3395
+ };
3393
3396
  };
3394
3397
  aweme_ecosystem: {};
3395
3398
  baike: {
@@ -17604,75 +17607,15 @@ declare abstract class Client$1 {
17604
17607
  } | undefined;
17605
17608
  }>;
17606
17609
  };
17607
- permissionPublic: {
17610
+ exportTask: {
17608
17611
  /**
17609
- * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public&apiName=get&version=v1 click to debug }
17612
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=export_task&apiName=create&version=v1 click to debug }
17610
17613
  */
17611
- get: (payload?: {
17612
- params: {
17613
- type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx";
17614
- };
17615
- path: {
17614
+ create: (payload?: {
17615
+ data: {
17616
+ file_extension: "docx" | "pdf" | "xlsx";
17616
17617
  token: string;
17617
- };
17618
- }, options?: IRequestOptions$1) => Promise<{
17619
- code?: number | undefined;
17620
- msg?: string | undefined;
17621
- data?: {
17622
- permission_public?: {
17623
- external_access?: boolean | undefined;
17624
- security_entity?: "anyone_can_view" | "anyone_can_edit" | "only_full_access" | undefined;
17625
- comment_entity?: "anyone_can_view" | "anyone_can_edit" | undefined;
17626
- share_entity?: "only_full_access" | "anyone" | "same_tenant" | undefined;
17627
- link_share_entity?: "tenant_readable" | "tenant_editable" | "anyone_readable" | "anyone_editable" | "closed" | undefined;
17628
- invite_external?: boolean | undefined;
17629
- lock_switch?: boolean | undefined;
17630
- } | undefined;
17631
- } | undefined;
17632
- }>;
17633
- /**
17634
- * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public&apiName=patch&version=v1 click to debug }
17635
- */
17636
- patch: (payload?: {
17637
- data?: {
17638
- external_access?: boolean;
17639
- security_entity?: "anyone_can_view" | "anyone_can_edit" | "only_full_access";
17640
- comment_entity?: "anyone_can_view" | "anyone_can_edit";
17641
- share_entity?: "anyone" | "same_tenant" | "only_full_access";
17642
- link_share_entity?: "tenant_readable" | "tenant_editable" | "anyone_readable" | "anyone_editable" | "closed";
17643
- invite_external?: boolean;
17644
- };
17645
- params: {
17646
- type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx";
17647
- };
17648
- path: {
17649
- token: string;
17650
- };
17651
- }, options?: IRequestOptions$1) => Promise<{
17652
- code?: number | undefined;
17653
- msg?: string | undefined;
17654
- data?: {
17655
- permission_public?: {
17656
- external_access?: boolean | undefined;
17657
- security_entity?: "anyone_can_view" | "anyone_can_edit" | "only_full_access" | undefined;
17658
- comment_entity?: "anyone_can_view" | "anyone_can_edit" | undefined;
17659
- share_entity?: "only_full_access" | "anyone" | "same_tenant" | undefined;
17660
- link_share_entity?: "tenant_readable" | "tenant_editable" | "anyone_readable" | "anyone_editable" | "closed" | undefined;
17661
- invite_external?: boolean | undefined;
17662
- lock_switch?: boolean | undefined;
17663
- } | undefined;
17664
- } | undefined;
17665
- }>;
17666
- };
17667
- exportTask: {
17668
- /**
17669
- * {@link https://open.feishu.cn/api-explorer?project=drive&resource=export_task&apiName=create&version=v1 click to debug }
17670
- */
17671
- create: (payload?: {
17672
- data: {
17673
- file_extension: "docx" | "pdf" | "xlsx";
17674
- token: string;
17675
- type: "doc" | "sheet" | "bitable" | "docx";
17618
+ type: "doc" | "sheet" | "bitable" | "docx";
17676
17619
  };
17677
17620
  }, options?: IRequestOptions$1) => Promise<{
17678
17621
  code?: number | undefined;
@@ -18052,43 +17995,84 @@ declare abstract class Client$1 {
18052
17995
  } | undefined;
18053
17996
  }>;
18054
17997
  };
18055
- meta: {
17998
+ permissionPublic: {
18056
17999
  /**
18057
- * {@link https://open.feishu.cn/api-explorer?project=drive&resource=meta&apiName=batch_query&version=v1 click to debug }
18000
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public&apiName=patch&version=v1 click to debug }
18058
18001
  */
18059
- batchQuery: (payload?: {
18060
- data: {
18061
- request_docs: Array<{
18062
- doc_token: string;
18063
- doc_type: "doc" | "sheet" | "bitable" | "mindnote" | "file" | "wiki" | "docx";
18064
- }>;
18065
- with_url?: boolean;
18002
+ patch: (payload?: {
18003
+ data?: {
18004
+ external_access?: boolean;
18005
+ security_entity?: "anyone_can_view" | "anyone_can_edit" | "only_full_access";
18006
+ comment_entity?: "anyone_can_view" | "anyone_can_edit";
18007
+ share_entity?: "anyone" | "same_tenant" | "only_full_access";
18008
+ link_share_entity?: "tenant_readable" | "tenant_editable" | "anyone_readable" | "anyone_editable" | "closed";
18009
+ invite_external?: boolean;
18066
18010
  };
18067
- params?: {
18068
- user_id_type?: "user_id" | "union_id" | "open_id";
18011
+ params: {
18012
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx";
18013
+ };
18014
+ path: {
18015
+ token: string;
18069
18016
  };
18070
18017
  }, options?: IRequestOptions$1) => Promise<{
18071
18018
  code?: number | undefined;
18072
18019
  msg?: string | undefined;
18073
18020
  data?: {
18074
- metas: Array<{
18075
- doc_token: string;
18076
- doc_type: string;
18077
- title: string;
18078
- owner_id: string;
18079
- create_time: string;
18080
- latest_modify_user: string;
18081
- latest_modify_time: string;
18082
- url: string;
18083
- }>;
18084
- failed_list?: {
18085
- token: string;
18086
- code: number;
18087
- }[] | undefined;
18021
+ permission_public?: {
18022
+ external_access?: boolean | undefined;
18023
+ security_entity?: "anyone_can_view" | "anyone_can_edit" | "only_full_access" | undefined;
18024
+ comment_entity?: "anyone_can_view" | "anyone_can_edit" | undefined;
18025
+ share_entity?: "only_full_access" | "anyone" | "same_tenant" | undefined;
18026
+ link_share_entity?: "tenant_readable" | "tenant_editable" | "anyone_readable" | "anyone_editable" | "closed" | undefined;
18027
+ invite_external?: boolean | undefined;
18028
+ lock_switch?: boolean | undefined;
18029
+ } | undefined;
18030
+ } | undefined;
18031
+ }>;
18032
+ /**
18033
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.public&apiName=get&version=v1 click to debug }
18034
+ */
18035
+ get: (payload?: {
18036
+ params: {
18037
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx";
18038
+ };
18039
+ path: {
18040
+ token: string;
18041
+ };
18042
+ }, options?: IRequestOptions$1) => Promise<{
18043
+ code?: number | undefined;
18044
+ msg?: string | undefined;
18045
+ data?: {
18046
+ permission_public?: {
18047
+ external_access?: boolean | undefined;
18048
+ security_entity?: "anyone_can_view" | "anyone_can_edit" | "only_full_access" | undefined;
18049
+ comment_entity?: "anyone_can_view" | "anyone_can_edit" | undefined;
18050
+ share_entity?: "only_full_access" | "anyone" | "same_tenant" | undefined;
18051
+ link_share_entity?: "tenant_readable" | "tenant_editable" | "anyone_readable" | "anyone_editable" | "closed" | undefined;
18052
+ invite_external?: boolean | undefined;
18053
+ lock_switch?: boolean | undefined;
18054
+ } | undefined;
18088
18055
  } | undefined;
18089
18056
  }>;
18090
18057
  };
18091
18058
  permissionMember: {
18059
+ /**
18060
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=delete&version=v1 click to debug }
18061
+ */
18062
+ delete: (payload?: {
18063
+ params: {
18064
+ type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "folder" | "mindnote";
18065
+ member_type: "email" | "openid" | "openchat" | "opendepartmentid" | "userid";
18066
+ };
18067
+ path: {
18068
+ token: string;
18069
+ member_id: string;
18070
+ };
18071
+ }, options?: IRequestOptions$1) => Promise<{
18072
+ code?: number | undefined;
18073
+ msg?: string | undefined;
18074
+ data?: {} | undefined;
18075
+ }>;
18092
18076
  /**
18093
18077
  * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=update&version=v1 click to debug }
18094
18078
  */
@@ -18113,10 +18097,6 @@ declare abstract class Client$1 {
18113
18097
  member_type: "email" | "openid" | "openchat" | "opendepartmentid" | "userid";
18114
18098
  member_id: string;
18115
18099
  perm: "view" | "edit" | "full_access";
18116
- type?: "user" | "chat" | "department" | undefined;
18117
- name?: string | undefined;
18118
- avatar?: string | undefined;
18119
- external_label?: boolean | undefined;
18120
18100
  } | undefined;
18121
18101
  } | undefined;
18122
18102
  }>;
@@ -18144,29 +18124,44 @@ declare abstract class Client$1 {
18144
18124
  member_type: "email" | "openid" | "openchat" | "opendepartmentid" | "userid";
18145
18125
  member_id: string;
18146
18126
  perm: "view" | "edit" | "full_access";
18147
- type?: "user" | "chat" | "department" | undefined;
18148
- name?: string | undefined;
18149
- avatar?: string | undefined;
18150
- external_label?: boolean | undefined;
18151
18127
  } | undefined;
18152
18128
  } | undefined;
18153
18129
  }>;
18130
+ };
18131
+ meta: {
18154
18132
  /**
18155
- * {@link https://open.feishu.cn/api-explorer?project=drive&resource=permission.member&apiName=delete&version=v1 click to debug }
18133
+ * {@link https://open.feishu.cn/api-explorer?project=drive&resource=meta&apiName=batch_query&version=v1 click to debug }
18156
18134
  */
18157
- delete: (payload?: {
18158
- params: {
18159
- type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "folder" | "mindnote";
18160
- member_type: "email" | "openid" | "openchat" | "opendepartmentid" | "userid";
18135
+ batchQuery: (payload?: {
18136
+ data: {
18137
+ request_docs: Array<{
18138
+ doc_token: string;
18139
+ doc_type: "doc" | "sheet" | "bitable" | "mindnote" | "file" | "wiki" | "docx" | "folder";
18140
+ }>;
18141
+ with_url?: boolean;
18161
18142
  };
18162
- path: {
18163
- token: string;
18164
- member_id: string;
18143
+ params?: {
18144
+ user_id_type?: "user_id" | "union_id" | "open_id";
18165
18145
  };
18166
18146
  }, options?: IRequestOptions$1) => Promise<{
18167
18147
  code?: number | undefined;
18168
18148
  msg?: string | undefined;
18169
- data?: {} | undefined;
18149
+ data?: {
18150
+ metas: Array<{
18151
+ doc_token: string;
18152
+ doc_type: string;
18153
+ title: string;
18154
+ owner_id: string;
18155
+ create_time: string;
18156
+ latest_modify_user: string;
18157
+ latest_modify_time: string;
18158
+ url: string;
18159
+ }>;
18160
+ failed_list?: {
18161
+ token: string;
18162
+ code: number;
18163
+ }[] | undefined;
18164
+ } | undefined;
18170
18165
  }>;
18171
18166
  };
18172
18167
  };
@@ -20353,50 +20348,6 @@ declare abstract class Client$1 {
20353
20348
  } | undefined;
20354
20349
  }>;
20355
20350
  };
20356
- resumeSource: {
20357
- /**
20358
- * {@link https://open.feishu.cn/api-explorer?project=hire&resource=resume_source&apiName=list&version=v1 click to debug }
20359
- */
20360
- listWithIterator: (payload?: {
20361
- params?: {
20362
- page_size?: number;
20363
- page_token?: string;
20364
- };
20365
- }, options?: IRequestOptions$1) => Promise<{
20366
- [Symbol.asyncIterator](): AsyncGenerator<{
20367
- items?: {
20368
- id?: string | undefined;
20369
- zh_name?: string | undefined;
20370
- en_name?: string | undefined;
20371
- active_status?: number | undefined;
20372
- resume_source_type?: number | undefined;
20373
- }[] | undefined;
20374
- } | null, void, unknown>;
20375
- }>;
20376
- /**
20377
- * {@link https://open.feishu.cn/api-explorer?project=hire&resource=resume_source&apiName=list&version=v1 click to debug }
20378
- */
20379
- list: (payload?: {
20380
- params?: {
20381
- page_size?: number;
20382
- page_token?: string;
20383
- };
20384
- }, options?: IRequestOptions$1) => Promise<{
20385
- code?: number | undefined;
20386
- msg?: string | undefined;
20387
- data?: {
20388
- items?: {
20389
- id?: string | undefined;
20390
- zh_name?: string | undefined;
20391
- en_name?: string | undefined;
20392
- active_status?: number | undefined;
20393
- resume_source_type?: number | undefined;
20394
- }[] | undefined;
20395
- page_token?: string | undefined;
20396
- has_more?: boolean | undefined;
20397
- } | undefined;
20398
- }>;
20399
- };
20400
20351
  jobProcess: {
20401
20352
  /**
20402
20353
  * {@link https://open.feishu.cn/api-explorer?project=hire&resource=job_process&apiName=list&version=v1 click to debug }
@@ -21182,96 +21133,19 @@ declare abstract class Client$1 {
21182
21133
  } | undefined;
21183
21134
  }>;
21184
21135
  };
21185
- applicationInterview: {
21136
+ talent: {
21186
21137
  /**
21187
- * {@link https://open.feishu.cn/api-explorer?project=hire&resource=application.interview&apiName=list&version=v1 click to debug }
21138
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=get&version=v1 click to debug }
21188
21139
  */
21189
- list: (payload?: {
21190
- params: {
21191
- page_size: number;
21192
- page_token?: string;
21193
- user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
21194
- };
21140
+ get: (payload?: {
21195
21141
  path: {
21196
- application_id: string;
21142
+ talent_id: string;
21197
21143
  };
21198
21144
  }, options?: IRequestOptions$1) => Promise<{
21199
21145
  code?: number | undefined;
21200
21146
  msg?: string | undefined;
21201
21147
  data?: {
21202
- page_token?: string | undefined;
21203
- has_more?: boolean | undefined;
21204
- items?: {
21205
- id?: string | undefined;
21206
- begin_time?: number | undefined;
21207
- end_time?: number | undefined;
21208
- round?: number | undefined;
21209
- stage_id?: string | undefined;
21210
- interview_record_list?: {
21211
- id?: string | undefined;
21212
- user_id?: string | undefined;
21213
- content?: string | undefined;
21214
- min_job_level_id?: string | undefined;
21215
- max_job_level_id?: string | undefined;
21216
- commit_status?: number | undefined;
21217
- conclusion?: number | undefined;
21218
- interview_score?: {
21219
- id?: string | undefined;
21220
- level?: number | undefined;
21221
- zh_name?: string | undefined;
21222
- zh_description?: string | undefined;
21223
- en_name?: string | undefined;
21224
- en_description?: string | undefined;
21225
- } | undefined;
21226
- interviewer?: {
21227
- id?: string | undefined;
21228
- name?: {
21229
- zh_cn?: string | undefined;
21230
- en_us?: string | undefined;
21231
- } | undefined;
21232
- } | undefined;
21233
- dimension_assessment_list?: {
21234
- id?: string | undefined;
21235
- name?: {
21236
- zh_cn?: string | undefined;
21237
- en_us?: string | undefined;
21238
- } | undefined;
21239
- content?: string | undefined;
21240
- dimension_id?: string | undefined;
21241
- dimension_score?: {
21242
- id?: string | undefined;
21243
- name?: {
21244
- zh_cn?: string | undefined;
21245
- en_us?: string | undefined;
21246
- } | undefined;
21247
- } | undefined;
21248
- dimension_score_list?: {
21249
- id?: string | undefined;
21250
- name?: {
21251
- zh_cn?: string | undefined;
21252
- en_us?: string | undefined;
21253
- } | undefined;
21254
- }[] | undefined;
21255
- dimension_type?: number | undefined;
21256
- }[] | undefined;
21257
- }[] | undefined;
21258
- }[] | undefined;
21259
- } | undefined;
21260
- }>;
21261
- };
21262
- talent: {
21263
- /**
21264
- * {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=get&version=v1 click to debug }
21265
- */
21266
- get: (payload?: {
21267
- path: {
21268
- talent_id: string;
21269
- };
21270
- }, options?: IRequestOptions$1) => Promise<{
21271
- code?: number | undefined;
21272
- msg?: string | undefined;
21273
- data?: {
21274
- talent?: {
21148
+ talent?: {
21275
21149
  id?: string | undefined;
21276
21150
  is_in_agency_period?: boolean | undefined;
21277
21151
  is_onboarded?: boolean | undefined;
@@ -21670,6 +21544,128 @@ declare abstract class Client$1 {
21670
21544
  } | undefined;
21671
21545
  }>;
21672
21546
  };
21547
+ resumeSource: {
21548
+ /**
21549
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=resume_source&apiName=list&version=v1 click to debug }
21550
+ */
21551
+ listWithIterator: (payload?: {
21552
+ params?: {
21553
+ page_size?: number;
21554
+ page_token?: string;
21555
+ };
21556
+ }, options?: IRequestOptions$1) => Promise<{
21557
+ [Symbol.asyncIterator](): AsyncGenerator<{
21558
+ items?: {
21559
+ id?: string | undefined;
21560
+ zh_name?: string | undefined;
21561
+ en_name?: string | undefined;
21562
+ active_status?: number | undefined;
21563
+ resume_source_type?: number | undefined;
21564
+ }[] | undefined;
21565
+ } | null, void, unknown>;
21566
+ }>;
21567
+ /**
21568
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=resume_source&apiName=list&version=v1 click to debug }
21569
+ */
21570
+ list: (payload?: {
21571
+ params?: {
21572
+ page_size?: number;
21573
+ page_token?: string;
21574
+ };
21575
+ }, options?: IRequestOptions$1) => Promise<{
21576
+ code?: number | undefined;
21577
+ msg?: string | undefined;
21578
+ data?: {
21579
+ items?: {
21580
+ id?: string | undefined;
21581
+ zh_name?: string | undefined;
21582
+ en_name?: string | undefined;
21583
+ active_status?: number | undefined;
21584
+ resume_source_type?: number | undefined;
21585
+ }[] | undefined;
21586
+ page_token?: string | undefined;
21587
+ has_more?: boolean | undefined;
21588
+ } | undefined;
21589
+ }>;
21590
+ };
21591
+ applicationInterview: {
21592
+ /**
21593
+ * {@link https://open.feishu.cn/api-explorer?project=hire&resource=application.interview&apiName=list&version=v1 click to debug }
21594
+ */
21595
+ list: (payload?: {
21596
+ params: {
21597
+ page_size: number;
21598
+ page_token?: string;
21599
+ user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
21600
+ };
21601
+ path: {
21602
+ application_id: string;
21603
+ };
21604
+ }, options?: IRequestOptions$1) => Promise<{
21605
+ code?: number | undefined;
21606
+ msg?: string | undefined;
21607
+ data?: {
21608
+ page_token?: string | undefined;
21609
+ has_more?: boolean | undefined;
21610
+ items?: {
21611
+ id?: string | undefined;
21612
+ begin_time?: number | undefined;
21613
+ end_time?: number | undefined;
21614
+ round?: number | undefined;
21615
+ stage_id?: string | undefined;
21616
+ interview_record_list?: {
21617
+ id?: string | undefined;
21618
+ user_id?: string | undefined;
21619
+ content?: string | undefined;
21620
+ min_job_level_id?: string | undefined;
21621
+ max_job_level_id?: string | undefined;
21622
+ commit_status?: number | undefined;
21623
+ feedback_submit_time?: number | undefined;
21624
+ conclusion?: number | undefined;
21625
+ interview_score?: {
21626
+ id?: string | undefined;
21627
+ level?: number | undefined;
21628
+ zh_name?: string | undefined;
21629
+ zh_description?: string | undefined;
21630
+ en_name?: string | undefined;
21631
+ en_description?: string | undefined;
21632
+ } | undefined;
21633
+ interviewer?: {
21634
+ id?: string | undefined;
21635
+ name?: {
21636
+ zh_cn?: string | undefined;
21637
+ en_us?: string | undefined;
21638
+ } | undefined;
21639
+ } | undefined;
21640
+ dimension_assessment_list?: {
21641
+ id?: string | undefined;
21642
+ name?: {
21643
+ zh_cn?: string | undefined;
21644
+ en_us?: string | undefined;
21645
+ } | undefined;
21646
+ content?: string | undefined;
21647
+ dimension_id?: string | undefined;
21648
+ dimension_score?: {
21649
+ id?: string | undefined;
21650
+ name?: {
21651
+ zh_cn?: string | undefined;
21652
+ en_us?: string | undefined;
21653
+ } | undefined;
21654
+ } | undefined;
21655
+ dimension_score_list?: {
21656
+ id?: string | undefined;
21657
+ name?: {
21658
+ zh_cn?: string | undefined;
21659
+ en_us?: string | undefined;
21660
+ } | undefined;
21661
+ }[] | undefined;
21662
+ dimension_type?: number | undefined;
21663
+ }[] | undefined;
21664
+ }[] | undefined;
21665
+ }[] | undefined;
21666
+ } | undefined;
21667
+ }>;
21668
+ };
21673
21669
  };
21674
21670
  human_authentication: {
21675
21671
  identity: {
@@ -22226,6 +22222,49 @@ declare abstract class Client$1 {
22226
22222
  has_more?: boolean | undefined;
22227
22223
  } | undefined;
22228
22224
  }>;
22225
+ /**
22226
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat&apiName=get&version=v1 click to debug }
22227
+ */
22228
+ get: (payload?: {
22229
+ params?: {
22230
+ user_id_type?: "user_id" | "union_id" | "open_id";
22231
+ };
22232
+ path?: {
22233
+ chat_id?: string;
22234
+ };
22235
+ }, options?: IRequestOptions$1) => Promise<{
22236
+ code?: number | undefined;
22237
+ msg?: string | undefined;
22238
+ data?: {
22239
+ avatar?: string | undefined;
22240
+ name?: string | undefined;
22241
+ description?: string | undefined;
22242
+ i18n_names?: {
22243
+ zh_cn?: string | undefined;
22244
+ en_us?: string | undefined;
22245
+ ja_jp?: string | undefined;
22246
+ } | undefined;
22247
+ add_member_permission?: string | undefined;
22248
+ share_card_permission?: string | undefined;
22249
+ at_all_permission?: string | undefined;
22250
+ edit_permission?: string | undefined;
22251
+ owner_id_type?: string | undefined;
22252
+ owner_id?: string | undefined;
22253
+ chat_mode?: string | undefined;
22254
+ chat_type?: string | undefined;
22255
+ chat_tag?: string | undefined;
22256
+ join_message_visibility?: string | undefined;
22257
+ leave_message_visibility?: string | undefined;
22258
+ membership_approval?: string | undefined;
22259
+ moderation_permission?: string | undefined;
22260
+ external?: boolean | undefined;
22261
+ tenant_key?: string | undefined;
22262
+ user_count?: string | undefined;
22263
+ bot_count?: string | undefined;
22264
+ labels?: string[] | undefined;
22265
+ toolkit_ids?: string[] | undefined;
22266
+ } | undefined;
22267
+ }>;
22229
22268
  /**
22230
22269
  * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat&apiName=create&version=v1 click to debug }
22231
22270
  */
@@ -22249,6 +22288,7 @@ declare abstract class Client$1 {
22249
22288
  leave_message_visibility?: string;
22250
22289
  membership_approval?: string;
22251
22290
  labels?: Array<string>;
22291
+ toolkit_ids?: Array<string>;
22252
22292
  };
22253
22293
  params?: {
22254
22294
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -22286,70 +22326,29 @@ declare abstract class Client$1 {
22286
22326
  } | undefined;
22287
22327
  }>;
22288
22328
  /**
22289
- * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat&apiName=get&version=v1 click to debug }
22329
+ * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat&apiName=update&version=v1 click to debug }
22290
22330
  */
22291
- get: (payload?: {
22292
- params?: {
22293
- user_id_type?: "user_id" | "union_id" | "open_id";
22294
- };
22295
- path?: {
22296
- chat_id?: string;
22297
- };
22298
- }, options?: IRequestOptions$1) => Promise<{
22299
- code?: number | undefined;
22300
- msg?: string | undefined;
22301
- data?: {
22302
- avatar?: string | undefined;
22303
- name?: string | undefined;
22304
- description?: string | undefined;
22305
- i18n_names?: {
22306
- zh_cn?: string | undefined;
22307
- en_us?: string | undefined;
22308
- ja_jp?: string | undefined;
22309
- } | undefined;
22310
- add_member_permission?: string | undefined;
22311
- share_card_permission?: string | undefined;
22312
- at_all_permission?: string | undefined;
22313
- edit_permission?: string | undefined;
22314
- owner_id_type?: string | undefined;
22315
- owner_id?: string | undefined;
22316
- chat_mode?: string | undefined;
22317
- chat_type?: string | undefined;
22318
- chat_tag?: string | undefined;
22319
- join_message_visibility?: string | undefined;
22320
- leave_message_visibility?: string | undefined;
22321
- membership_approval?: string | undefined;
22322
- moderation_permission?: string | undefined;
22323
- external?: boolean | undefined;
22324
- tenant_key?: string | undefined;
22325
- user_count?: string | undefined;
22326
- bot_count?: string | undefined;
22327
- labels?: string[] | undefined;
22328
- } | undefined;
22329
- }>;
22330
- /**
22331
- * {@link https://open.feishu.cn/api-explorer?project=im&resource=chat&apiName=update&version=v1 click to debug }
22332
- */
22333
- update: (payload?: {
22334
- data?: {
22335
- avatar?: string;
22336
- name?: string;
22337
- description?: string;
22338
- i18n_names?: {
22339
- zh_cn?: string;
22340
- en_us?: string;
22341
- ja_jp?: string;
22342
- };
22343
- add_member_permission?: string;
22344
- share_card_permission?: string;
22345
- at_all_permission?: string;
22346
- edit_permission?: string;
22347
- owner_id?: string;
22348
- join_message_visibility?: string;
22349
- leave_message_visibility?: string;
22350
- membership_approval?: string;
22351
- labels?: Array<string>;
22352
- };
22331
+ update: (payload?: {
22332
+ data?: {
22333
+ avatar?: string;
22334
+ name?: string;
22335
+ description?: string;
22336
+ i18n_names?: {
22337
+ zh_cn?: string;
22338
+ en_us?: string;
22339
+ ja_jp?: string;
22340
+ };
22341
+ add_member_permission?: string;
22342
+ share_card_permission?: string;
22343
+ at_all_permission?: string;
22344
+ edit_permission?: string;
22345
+ owner_id?: string;
22346
+ join_message_visibility?: string;
22347
+ leave_message_visibility?: string;
22348
+ membership_approval?: string;
22349
+ labels?: Array<string>;
22350
+ toolkit_ids?: Array<string>;
22351
+ };
22353
22352
  params?: {
22354
22353
  user_id_type?: "user_id" | "union_id" | "open_id";
22355
22354
  };
@@ -27049,6 +27048,106 @@ declare abstract class Client$1 {
27049
27048
  data?: {} | undefined;
27050
27049
  }>;
27051
27050
  };
27051
+ export: {
27052
+ /**
27053
+ * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=meeting_list&version=v1 click to debug }
27054
+ */
27055
+ meetingList: (payload?: {
27056
+ data: {
27057
+ start_time: string;
27058
+ end_time: string;
27059
+ meeting_no?: string;
27060
+ user_id?: string;
27061
+ room_id?: string;
27062
+ };
27063
+ params?: {
27064
+ user_id_type?: "user_id" | "union_id" | "open_id";
27065
+ };
27066
+ }, options?: IRequestOptions$1) => Promise<{
27067
+ code?: number | undefined;
27068
+ msg?: string | undefined;
27069
+ data?: {
27070
+ task_id?: string | undefined;
27071
+ } | undefined;
27072
+ }>;
27073
+ /**
27074
+ * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=get&version=v1 click to debug }
27075
+ */
27076
+ get: (payload?: {
27077
+ path?: {
27078
+ task_id?: string;
27079
+ };
27080
+ }, options?: IRequestOptions$1) => Promise<{
27081
+ code?: number | undefined;
27082
+ msg?: string | undefined;
27083
+ data?: {
27084
+ status: number;
27085
+ url?: string | undefined;
27086
+ } | undefined;
27087
+ }>;
27088
+ /**
27089
+ * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=participant_quality_list&version=v1 click to debug }
27090
+ */
27091
+ participantQualityList: (payload?: {
27092
+ data: {
27093
+ meeting_start_time: string;
27094
+ meeting_end_time: string;
27095
+ meeting_no: string;
27096
+ join_time: string;
27097
+ user_id?: string;
27098
+ room_id?: string;
27099
+ };
27100
+ params?: {
27101
+ user_id_type?: "user_id" | "union_id" | "open_id";
27102
+ };
27103
+ }, options?: IRequestOptions$1) => Promise<{
27104
+ code?: number | undefined;
27105
+ msg?: string | undefined;
27106
+ data?: {
27107
+ task_id?: string | undefined;
27108
+ } | undefined;
27109
+ }>;
27110
+ /**
27111
+ * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=resource_reservation_list&version=v1 click to debug }
27112
+ */
27113
+ resourceReservationList: (payload?: {
27114
+ data: {
27115
+ group_id: string;
27116
+ need_topic?: boolean;
27117
+ start_time: string;
27118
+ end_time: string;
27119
+ room_ids?: Array<string>;
27120
+ is_exclude?: boolean;
27121
+ };
27122
+ }, options?: IRequestOptions$1) => Promise<{
27123
+ code?: number | undefined;
27124
+ msg?: string | undefined;
27125
+ data?: {
27126
+ task_id?: string | undefined;
27127
+ } | undefined;
27128
+ }>;
27129
+ /**
27130
+ * {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=participant_list&version=v1 click to debug }
27131
+ */
27132
+ participantList: (payload?: {
27133
+ data: {
27134
+ meeting_start_time: string;
27135
+ meeting_end_time: string;
27136
+ meeting_no: string;
27137
+ user_id?: string;
27138
+ room_id?: string;
27139
+ };
27140
+ params?: {
27141
+ user_id_type?: "user_id" | "union_id" | "open_id";
27142
+ };
27143
+ }, options?: IRequestOptions$1) => Promise<{
27144
+ code?: number | undefined;
27145
+ msg?: string | undefined;
27146
+ data?: {
27147
+ task_id?: string | undefined;
27148
+ } | undefined;
27149
+ }>;
27150
+ };
27052
27151
  };
27053
27152
  wiki: {
27054
27153
  space: {
@@ -27558,6 +27657,16 @@ declare abstract class Client$1 {
27558
27657
  table_id?: string | undefined;
27559
27658
  table_name?: string | undefined;
27560
27659
  back_field_name?: string | undefined;
27660
+ auto_serial?: {
27661
+ type: "custom" | "auto_increment_number";
27662
+ options?: {
27663
+ type: "system_number" | "fixed_text" | "created_time";
27664
+ value: string;
27665
+ }[] | undefined;
27666
+ } | undefined;
27667
+ location?: {
27668
+ input_type: "only_mobile" | "not_limit";
27669
+ } | undefined;
27561
27670
  } | undefined;
27562
27671
  }[] | undefined;
27563
27672
  } | null, void, unknown>;
@@ -27599,6 +27708,16 @@ declare abstract class Client$1 {
27599
27708
  table_id?: string | undefined;
27600
27709
  table_name?: string | undefined;
27601
27710
  back_field_name?: string | undefined;
27711
+ auto_serial?: {
27712
+ type: "custom" | "auto_increment_number";
27713
+ options?: {
27714
+ type: "system_number" | "fixed_text" | "created_time";
27715
+ value: string;
27716
+ }[] | undefined;
27717
+ } | undefined;
27718
+ location?: {
27719
+ input_type: "only_mobile" | "not_limit";
27720
+ } | undefined;
27602
27721
  } | undefined;
27603
27722
  }[] | undefined;
27604
27723
  } | undefined;
@@ -27623,6 +27742,16 @@ declare abstract class Client$1 {
27623
27742
  table_id?: string | undefined;
27624
27743
  table_name?: string | undefined;
27625
27744
  back_field_name?: string | undefined;
27745
+ auto_serial?: {
27746
+ type: "custom" | "auto_increment_number";
27747
+ options?: {
27748
+ type: "system_number" | "fixed_text" | "created_time";
27749
+ value: string;
27750
+ }[] | undefined;
27751
+ } | undefined;
27752
+ location?: {
27753
+ input_type: "only_mobile" | "not_limit";
27754
+ } | undefined;
27626
27755
  } | undefined;
27627
27756
  };
27628
27757
  path: {
@@ -27651,6 +27780,16 @@ declare abstract class Client$1 {
27651
27780
  table_id?: string | undefined;
27652
27781
  table_name?: string | undefined;
27653
27782
  back_field_name?: string | undefined;
27783
+ auto_serial?: {
27784
+ type: "custom" | "auto_increment_number";
27785
+ options?: {
27786
+ type: "system_number" | "fixed_text" | "created_time";
27787
+ value: string;
27788
+ }[] | undefined;
27789
+ } | undefined;
27790
+ location?: {
27791
+ input_type: "only_mobile" | "not_limit";
27792
+ } | undefined;
27654
27793
  } | undefined;
27655
27794
  } | undefined;
27656
27795
  } | undefined;
@@ -27675,6 +27814,16 @@ declare abstract class Client$1 {
27675
27814
  table_id?: string | undefined;
27676
27815
  table_name?: string | undefined;
27677
27816
  back_field_name?: string | undefined;
27817
+ auto_serial?: {
27818
+ type: "custom" | "auto_increment_number";
27819
+ options?: {
27820
+ type: "system_number" | "fixed_text" | "created_time";
27821
+ value: string;
27822
+ }[] | undefined;
27823
+ } | undefined;
27824
+ location?: {
27825
+ input_type: "only_mobile" | "not_limit";
27826
+ } | undefined;
27678
27827
  } | undefined;
27679
27828
  };
27680
27829
  path: {
@@ -27702,106 +27851,81 @@ declare abstract class Client$1 {
27702
27851
  table_id?: string | undefined;
27703
27852
  table_name?: string | undefined;
27704
27853
  back_field_name?: string | undefined;
27854
+ auto_serial?: {
27855
+ type: "custom" | "auto_increment_number";
27856
+ options?: {
27857
+ type: "system_number" | "fixed_text" | "created_time";
27858
+ value: string;
27859
+ }[] | undefined;
27860
+ } | undefined;
27861
+ location?: {
27862
+ input_type: "only_mobile" | "not_limit";
27863
+ } | undefined;
27705
27864
  } | undefined;
27706
27865
  } | undefined;
27707
27866
  } | undefined;
27708
27867
  }>;
27709
27868
  };
27710
- appTableRecord: {
27869
+ appTable: {
27711
27870
  /**
27712
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=delete&version=v1 click to debug }
27871
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_delete&version=v1 click to debug }
27872
+ */
27873
+ batchDelete: (payload?: {
27874
+ data?: {
27875
+ table_ids?: Array<string>;
27876
+ };
27877
+ path: {
27878
+ app_token: string;
27879
+ };
27880
+ }, options?: IRequestOptions$1) => Promise<{
27881
+ code?: number | undefined;
27882
+ msg?: string | undefined;
27883
+ data?: {} | undefined;
27884
+ }>;
27885
+ /**
27886
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=delete&version=v1 click to debug }
27713
27887
  */
27714
27888
  delete: (payload?: {
27715
27889
  path: {
27716
27890
  app_token: string;
27717
27891
  table_id: string;
27718
- record_id: string;
27719
27892
  };
27720
27893
  }, options?: IRequestOptions$1) => Promise<{
27721
27894
  code?: number | undefined;
27722
27895
  msg?: string | undefined;
27723
- data?: {
27724
- deleted?: boolean | undefined;
27725
- record_id?: string | undefined;
27726
- } | undefined;
27896
+ data?: {} | undefined;
27727
27897
  }>;
27728
27898
  /**
27729
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=list&version=v1 click to debug }
27899
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
27730
27900
  */
27731
27901
  listWithIterator: (payload?: {
27732
27902
  params?: {
27733
- view_id?: string;
27734
- filter?: string;
27735
- sort?: string;
27736
- field_names?: string;
27737
- text_field_as_array?: boolean;
27738
- user_id_type?: "user_id" | "union_id" | "open_id";
27739
- display_formula_ref?: boolean;
27740
- automatic_fields?: boolean;
27741
27903
  page_token?: string;
27742
27904
  page_size?: number;
27743
27905
  };
27744
27906
  path: {
27745
27907
  app_token: string;
27746
- table_id: string;
27747
27908
  };
27748
27909
  }, options?: IRequestOptions$1) => Promise<{
27749
27910
  [Symbol.asyncIterator](): AsyncGenerator<{
27750
27911
  total?: number | undefined;
27751
27912
  items?: {
27752
- record_id?: string | undefined;
27753
- created_by?: {
27754
- id?: string | undefined;
27755
- name?: string | undefined;
27756
- en_name?: string | undefined;
27757
- email?: string | undefined;
27758
- } | undefined;
27759
- created_time?: number | undefined;
27760
- last_modified_by?: {
27761
- id?: string | undefined;
27762
- name?: string | undefined;
27763
- en_name?: string | undefined;
27764
- email?: string | undefined;
27765
- } | undefined;
27766
- last_modified_time?: number | undefined;
27767
- fields: Map<string, string | boolean | {
27768
- text?: string;
27769
- link?: string;
27770
- } | Array<string> | Array<{
27771
- id?: string;
27772
- name?: string;
27773
- en_name?: string;
27774
- email?: string;
27775
- }> | Array<{
27776
- file_token?: string;
27777
- name?: string;
27778
- type?: string;
27779
- size?: number;
27780
- url?: string;
27781
- tmp_url?: string;
27782
- }>>;
27913
+ table_id?: string | undefined;
27914
+ revision?: number | undefined;
27915
+ name?: string | undefined;
27783
27916
  }[] | undefined;
27784
27917
  } | null, void, unknown>;
27785
27918
  }>;
27786
27919
  /**
27787
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=list&version=v1 click to debug }
27920
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
27788
27921
  */
27789
27922
  list: (payload?: {
27790
27923
  params?: {
27791
- view_id?: string;
27792
- filter?: string;
27793
- sort?: string;
27794
- field_names?: string;
27795
- text_field_as_array?: boolean;
27796
- user_id_type?: "user_id" | "union_id" | "open_id";
27797
- display_formula_ref?: boolean;
27798
- automatic_fields?: boolean;
27799
27924
  page_token?: string;
27800
27925
  page_size?: number;
27801
27926
  };
27802
27927
  path: {
27803
27928
  app_token: string;
27804
- table_id: string;
27805
27929
  };
27806
27930
  }, options?: IRequestOptions$1) => Promise<{
27807
27931
  code?: number | undefined;
@@ -27811,445 +27935,195 @@ declare abstract class Client$1 {
27811
27935
  page_token?: string | undefined;
27812
27936
  total?: number | undefined;
27813
27937
  items?: {
27814
- record_id?: string | undefined;
27815
- created_by?: {
27816
- id?: string | undefined;
27817
- name?: string | undefined;
27818
- en_name?: string | undefined;
27819
- email?: string | undefined;
27820
- } | undefined;
27821
- created_time?: number | undefined;
27822
- last_modified_by?: {
27823
- id?: string | undefined;
27824
- name?: string | undefined;
27825
- en_name?: string | undefined;
27826
- email?: string | undefined;
27827
- } | undefined;
27828
- last_modified_time?: number | undefined;
27829
- fields: Map<string, string | boolean | {
27830
- text?: string;
27831
- link?: string;
27832
- } | Array<string> | Array<{
27833
- id?: string;
27834
- name?: string;
27835
- en_name?: string;
27836
- email?: string;
27837
- }> | Array<{
27838
- file_token?: string;
27839
- name?: string;
27840
- type?: string;
27841
- size?: number;
27842
- url?: string;
27843
- tmp_url?: string;
27844
- }>>;
27938
+ table_id?: string | undefined;
27939
+ revision?: number | undefined;
27940
+ name?: string | undefined;
27845
27941
  }[] | undefined;
27846
27942
  } | undefined;
27847
27943
  }>;
27848
27944
  /**
27849
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=get&version=v1 click to debug }
27945
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_create&version=v1 click to debug }
27850
27946
  */
27851
- get: (payload?: {
27947
+ batchCreate: (payload?: {
27948
+ data?: {
27949
+ tables?: Array<{
27950
+ name?: string;
27951
+ }>;
27952
+ };
27852
27953
  params?: {
27853
- text_field_as_array?: boolean;
27854
27954
  user_id_type?: "user_id" | "union_id" | "open_id";
27855
- display_formula_ref?: boolean;
27856
- automatic_fields?: boolean;
27857
27955
  };
27858
27956
  path: {
27859
27957
  app_token: string;
27860
- table_id: string;
27861
- record_id: string;
27862
27958
  };
27863
27959
  }, options?: IRequestOptions$1) => Promise<{
27864
27960
  code?: number | undefined;
27865
27961
  msg?: string | undefined;
27866
27962
  data?: {
27867
- record?: {
27868
- record_id?: string | undefined;
27869
- created_by?: {
27870
- id?: string | undefined;
27871
- name?: string | undefined;
27872
- en_name?: string | undefined;
27873
- email?: string | undefined;
27874
- } | undefined;
27875
- created_time?: number | undefined;
27876
- last_modified_by?: {
27877
- id?: string | undefined;
27878
- name?: string | undefined;
27879
- en_name?: string | undefined;
27880
- email?: string | undefined;
27881
- } | undefined;
27882
- last_modified_time?: number | undefined;
27883
- fields: Map<string, string | boolean | {
27884
- text?: string;
27885
- link?: string;
27886
- } | Array<string> | Array<{
27887
- id?: string;
27888
- name?: string;
27889
- en_name?: string;
27890
- email?: string;
27891
- }> | Array<{
27892
- file_token?: string;
27893
- name?: string;
27894
- type?: string;
27895
- size?: number;
27896
- url?: string;
27897
- tmp_url?: string;
27898
- }>>;
27899
- } | undefined;
27963
+ table_ids?: string[] | undefined;
27900
27964
  } | undefined;
27901
27965
  }>;
27902
27966
  /**
27903
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=update&version=v1 click to debug }
27967
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=create&version=v1 click to debug }
27904
27968
  */
27905
- update: (payload?: {
27906
- data: {
27907
- fields: Map<string, string | boolean | {
27908
- text?: string;
27909
- link?: string;
27910
- } | Array<string> | Array<{
27911
- id?: string;
27912
- name?: string;
27913
- en_name?: string;
27914
- email?: string;
27915
- }> | Array<{
27916
- file_token?: string;
27969
+ create: (payload?: {
27970
+ data?: {
27971
+ table?: {
27917
27972
  name?: string;
27918
- type?: string;
27919
- size?: number;
27920
- url?: string;
27921
- tmp_url?: string;
27922
- }>>;
27973
+ };
27923
27974
  };
27924
27975
  params?: {
27925
27976
  user_id_type?: "user_id" | "union_id" | "open_id";
27926
27977
  };
27927
27978
  path: {
27928
27979
  app_token: string;
27929
- table_id: string;
27930
- record_id: string;
27931
27980
  };
27932
27981
  }, options?: IRequestOptions$1) => Promise<{
27933
27982
  code?: number | undefined;
27934
27983
  msg?: string | undefined;
27935
27984
  data?: {
27936
- record?: {
27937
- record_id?: string | undefined;
27938
- created_by?: {
27939
- id?: string | undefined;
27940
- name?: string | undefined;
27941
- en_name?: string | undefined;
27942
- email?: string | undefined;
27943
- } | undefined;
27944
- created_time?: number | undefined;
27945
- last_modified_by?: {
27946
- id?: string | undefined;
27947
- name?: string | undefined;
27948
- en_name?: string | undefined;
27949
- email?: string | undefined;
27950
- } | undefined;
27951
- last_modified_time?: number | undefined;
27952
- fields: Map<string, string | boolean | {
27953
- text?: string;
27954
- link?: string;
27955
- } | Array<string> | Array<{
27956
- id?: string;
27957
- name?: string;
27958
- en_name?: string;
27959
- email?: string;
27960
- }> | Array<{
27961
- file_token?: string;
27962
- name?: string;
27963
- type?: string;
27964
- size?: number;
27965
- url?: string;
27966
- tmp_url?: string;
27967
- }>>;
27968
- } | undefined;
27985
+ table_id?: string | undefined;
27969
27986
  } | undefined;
27970
27987
  }>;
27988
+ };
27989
+ appTableView: {
27971
27990
  /**
27972
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=create&version=v1 click to debug }
27991
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
27973
27992
  */
27974
- create: (payload?: {
27975
- data: {
27976
- fields: Map<string, string | boolean | {
27977
- text?: string;
27978
- link?: string;
27979
- } | Array<string> | Array<{
27980
- id?: string;
27981
- name?: string;
27982
- en_name?: string;
27983
- email?: string;
27984
- }> | Array<{
27985
- file_token?: string;
27986
- name?: string;
27987
- type?: string;
27988
- size?: number;
27989
- url?: string;
27990
- tmp_url?: string;
27991
- }>>;
27993
+ listWithIterator: (payload?: {
27994
+ params?: {
27995
+ page_size?: number;
27996
+ page_token?: string;
27997
+ };
27998
+ path?: {
27999
+ app_token?: string;
28000
+ table_id?: string;
27992
28001
  };
28002
+ }, options?: IRequestOptions$1) => Promise<{
28003
+ [Symbol.asyncIterator](): AsyncGenerator<{
28004
+ items?: {
28005
+ view_id?: string | undefined;
28006
+ view_name?: string | undefined;
28007
+ view_type?: string | undefined;
28008
+ }[] | undefined;
28009
+ total?: number | undefined;
28010
+ } | null, void, unknown>;
28011
+ }>;
28012
+ /**
28013
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
28014
+ */
28015
+ list: (payload?: {
27993
28016
  params?: {
27994
- user_id_type?: "user_id" | "union_id" | "open_id";
28017
+ page_size?: number;
28018
+ page_token?: string;
27995
28019
  };
27996
- path: {
27997
- app_token: string;
27998
- table_id: string;
28020
+ path?: {
28021
+ app_token?: string;
28022
+ table_id?: string;
27999
28023
  };
28000
28024
  }, options?: IRequestOptions$1) => Promise<{
28001
28025
  code?: number | undefined;
28002
28026
  msg?: string | undefined;
28003
28027
  data?: {
28004
- record?: {
28005
- record_id?: string | undefined;
28006
- created_by?: {
28007
- id?: string | undefined;
28008
- name?: string | undefined;
28009
- en_name?: string | undefined;
28010
- email?: string | undefined;
28011
- } | undefined;
28012
- created_time?: number | undefined;
28013
- last_modified_by?: {
28014
- id?: string | undefined;
28015
- name?: string | undefined;
28016
- en_name?: string | undefined;
28017
- email?: string | undefined;
28018
- } | undefined;
28019
- last_modified_time?: number | undefined;
28020
- fields: Map<string, string | boolean | {
28021
- text?: string;
28022
- link?: string;
28023
- } | Array<string> | Array<{
28024
- id?: string;
28025
- name?: string;
28026
- en_name?: string;
28027
- email?: string;
28028
- }> | Array<{
28029
- file_token?: string;
28030
- name?: string;
28031
- type?: string;
28032
- size?: number;
28033
- url?: string;
28034
- tmp_url?: string;
28035
- }>>;
28036
- } | undefined;
28028
+ items?: {
28029
+ view_id?: string | undefined;
28030
+ view_name?: string | undefined;
28031
+ view_type?: string | undefined;
28032
+ }[] | undefined;
28033
+ page_token?: string | undefined;
28034
+ has_more?: boolean | undefined;
28035
+ total?: number | undefined;
28037
28036
  } | undefined;
28038
28037
  }>;
28039
28038
  /**
28040
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_delete&version=v1 click to debug }
28039
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=delete&version=v1 click to debug }
28041
28040
  */
28042
- batchDelete: (payload?: {
28041
+ delete: (payload?: {
28042
+ path?: {
28043
+ app_token?: string;
28044
+ table_id?: string;
28045
+ view_id?: string;
28046
+ };
28047
+ }, options?: IRequestOptions$1) => Promise<{
28048
+ code?: number | undefined;
28049
+ msg?: string | undefined;
28050
+ data?: {} | undefined;
28051
+ }>;
28052
+ /**
28053
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=create&version=v1 click to debug }
28054
+ */
28055
+ create: (payload?: {
28043
28056
  data: {
28044
- records: Array<string>;
28057
+ view_name: string;
28058
+ view_type?: "grid" | "kanban" | "gallery" | "gantt" | "form";
28045
28059
  };
28046
- path: {
28047
- app_token: string;
28048
- table_id: string;
28060
+ path?: {
28061
+ app_token?: string;
28062
+ table_id?: string;
28049
28063
  };
28050
28064
  }, options?: IRequestOptions$1) => Promise<{
28051
28065
  code?: number | undefined;
28052
28066
  msg?: string | undefined;
28053
28067
  data?: {
28054
- records?: {
28055
- deleted?: boolean | undefined;
28056
- record_id?: string | undefined;
28057
- }[] | undefined;
28068
+ view?: {
28069
+ view_id?: string | undefined;
28070
+ view_name?: string | undefined;
28071
+ view_type?: string | undefined;
28072
+ } | undefined;
28058
28073
  } | undefined;
28059
28074
  }>;
28060
- /**
28061
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_update&version=v1 click to debug }
28075
+ };
28076
+ app: {
28077
+ /**
28078
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=get&version=v1 click to debug }
28062
28079
  */
28063
- batchUpdate: (payload?: {
28064
- data: {
28065
- records: Array<{
28066
- record_id?: string;
28067
- created_by?: {
28068
- id?: string;
28069
- name?: string;
28070
- en_name?: string;
28071
- email?: string;
28072
- };
28073
- created_time?: number;
28074
- last_modified_by?: {
28075
- id?: string;
28076
- name?: string;
28077
- en_name?: string;
28078
- email?: string;
28079
- };
28080
- last_modified_time?: number;
28081
- fields: Map<string, string | boolean | {
28082
- text?: string;
28083
- link?: string;
28084
- } | Array<string> | Array<{
28085
- id?: string;
28086
- name?: string;
28087
- en_name?: string;
28088
- email?: string;
28089
- }> | Array<{
28090
- file_token?: string;
28091
- name?: string;
28092
- type?: string;
28093
- size?: number;
28094
- url?: string;
28095
- tmp_url?: string;
28096
- }>>;
28097
- }>;
28098
- };
28099
- params?: {
28100
- user_id_type?: "user_id" | "union_id" | "open_id";
28101
- };
28080
+ get: (payload?: {
28102
28081
  path: {
28103
28082
  app_token: string;
28104
- table_id: string;
28105
28083
  };
28106
28084
  }, options?: IRequestOptions$1) => Promise<{
28107
28085
  code?: number | undefined;
28108
28086
  msg?: string | undefined;
28109
28087
  data?: {
28110
- records?: {
28111
- record_id?: string | undefined;
28112
- created_by?: {
28113
- id?: string | undefined;
28114
- name?: string | undefined;
28115
- en_name?: string | undefined;
28116
- email?: string | undefined;
28117
- } | undefined;
28118
- created_time?: number | undefined;
28119
- last_modified_by?: {
28120
- id?: string | undefined;
28121
- name?: string | undefined;
28122
- en_name?: string | undefined;
28123
- email?: string | undefined;
28124
- } | undefined;
28125
- last_modified_time?: number | undefined;
28126
- fields: Map<string, string | boolean | {
28127
- text?: string;
28128
- link?: string;
28129
- } | Array<string> | Array<{
28130
- id?: string;
28131
- name?: string;
28132
- en_name?: string;
28133
- email?: string;
28134
- }> | Array<{
28135
- file_token?: string;
28136
- name?: string;
28137
- type?: string;
28138
- size?: number;
28139
- url?: string;
28140
- tmp_url?: string;
28141
- }>>;
28142
- }[] | undefined;
28088
+ app?: {
28089
+ app_token?: string | undefined;
28090
+ name?: string | undefined;
28091
+ revision?: number | undefined;
28092
+ is_advanced?: boolean | undefined;
28093
+ } | undefined;
28143
28094
  } | undefined;
28144
28095
  }>;
28145
28096
  /**
28146
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_create&version=v1 click to debug }
28097
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=update&version=v1 click to debug }
28147
28098
  */
28148
- batchCreate: (payload?: {
28149
- data: {
28150
- records: Array<{
28151
- created_by?: {
28152
- id?: string;
28153
- name?: string;
28154
- en_name?: string;
28155
- email?: string;
28156
- };
28157
- created_time?: number;
28158
- last_modified_by?: {
28159
- id?: string;
28160
- name?: string;
28161
- en_name?: string;
28162
- email?: string;
28163
- };
28164
- last_modified_time?: number;
28165
- fields: Map<string, string | boolean | {
28166
- text?: string;
28167
- link?: string;
28168
- } | Array<string> | Array<{
28169
- id?: string;
28170
- name?: string;
28171
- en_name?: string;
28172
- email?: string;
28173
- }> | Array<{
28174
- file_token?: string;
28175
- name?: string;
28176
- type?: string;
28177
- size?: number;
28178
- url?: string;
28179
- tmp_url?: string;
28180
- }>>;
28181
- }>;
28182
- };
28183
- params?: {
28184
- user_id_type?: "user_id" | "union_id" | "open_id";
28099
+ update: (payload?: {
28100
+ data?: {
28101
+ name?: string;
28102
+ is_advanced?: boolean;
28185
28103
  };
28186
28104
  path: {
28187
28105
  app_token: string;
28188
- table_id: string;
28189
28106
  };
28190
28107
  }, options?: IRequestOptions$1) => Promise<{
28191
28108
  code?: number | undefined;
28192
28109
  msg?: string | undefined;
28193
28110
  data?: {
28194
- records?: {
28195
- record_id?: string | undefined;
28196
- created_by?: {
28197
- id?: string | undefined;
28198
- name?: string | undefined;
28199
- en_name?: string | undefined;
28200
- email?: string | undefined;
28201
- } | undefined;
28202
- created_time?: number | undefined;
28203
- last_modified_by?: {
28204
- id?: string | undefined;
28205
- name?: string | undefined;
28206
- en_name?: string | undefined;
28207
- email?: string | undefined;
28208
- } | undefined;
28209
- last_modified_time?: number | undefined;
28210
- fields: Map<string, string | boolean | {
28211
- text?: string;
28212
- link?: string;
28213
- } | Array<string> | Array<{
28214
- id?: string;
28215
- name?: string;
28216
- en_name?: string;
28217
- email?: string;
28218
- }> | Array<{
28219
- file_token?: string;
28220
- name?: string;
28221
- type?: string;
28222
- size?: number;
28223
- url?: string;
28224
- tmp_url?: string;
28225
- }>>;
28226
- }[] | undefined;
28111
+ app?: {
28112
+ app_token?: string | undefined;
28113
+ name?: string | undefined;
28114
+ is_advanced?: boolean | undefined;
28115
+ } | undefined;
28227
28116
  } | undefined;
28228
28117
  }>;
28229
28118
  };
28230
- appTable: {
28231
- /**
28232
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_delete&version=v1 click to debug }
28233
- */
28234
- batchDelete: (payload?: {
28235
- data?: {
28236
- table_ids?: Array<string>;
28237
- };
28238
- path: {
28239
- app_token: string;
28240
- };
28241
- }, options?: IRequestOptions$1) => Promise<{
28242
- code?: number | undefined;
28243
- msg?: string | undefined;
28244
- data?: {} | undefined;
28245
- }>;
28119
+ appRole: {
28246
28120
  /**
28247
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=delete&version=v1 click to debug }
28121
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=delete&version=v1 click to debug }
28248
28122
  */
28249
28123
  delete: (payload?: {
28250
- path: {
28251
- app_token: string;
28252
- table_id: string;
28124
+ path?: {
28125
+ app_token?: string;
28126
+ role_id?: string;
28253
28127
  };
28254
28128
  }, options?: IRequestOptions$1) => Promise<{
28255
28129
  code?: number | undefined;
@@ -28257,153 +28131,335 @@ declare abstract class Client$1 {
28257
28131
  data?: {} | undefined;
28258
28132
  }>;
28259
28133
  /**
28260
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
28134
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=list&version=v1 click to debug }
28261
28135
  */
28262
28136
  listWithIterator: (payload?: {
28263
28137
  params?: {
28264
- page_token?: string;
28265
28138
  page_size?: number;
28139
+ page_token?: string;
28266
28140
  };
28267
- path: {
28268
- app_token: string;
28141
+ path?: {
28142
+ app_token?: string;
28269
28143
  };
28270
28144
  }, options?: IRequestOptions$1) => Promise<{
28271
28145
  [Symbol.asyncIterator](): AsyncGenerator<{
28272
- total?: number | undefined;
28273
28146
  items?: {
28274
- table_id?: string | undefined;
28275
- revision?: number | undefined;
28276
- name?: string | undefined;
28147
+ role_name: string;
28148
+ role_id?: string | undefined;
28149
+ table_roles: Array<{
28150
+ table_name?: string;
28151
+ table_id?: string;
28152
+ table_perm: number;
28153
+ rec_rule?: {
28154
+ conditions: Array<{
28155
+ field_name: string;
28156
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28157
+ value?: Array<string>;
28158
+ field_type?: number;
28159
+ }>;
28160
+ conjunction?: "and" | "or";
28161
+ other_perm?: number;
28162
+ };
28163
+ field_perm?: {};
28164
+ allow_add_record?: boolean;
28165
+ allow_delete_record?: boolean;
28166
+ }>;
28167
+ block_roles?: {
28168
+ block_id: string;
28169
+ block_type?: "dashboard" | undefined;
28170
+ block_perm: number;
28171
+ }[] | undefined;
28277
28172
  }[] | undefined;
28173
+ total?: number | undefined;
28278
28174
  } | null, void, unknown>;
28279
28175
  }>;
28280
28176
  /**
28281
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
28177
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=list&version=v1 click to debug }
28282
28178
  */
28283
28179
  list: (payload?: {
28284
28180
  params?: {
28285
- page_token?: string;
28286
28181
  page_size?: number;
28182
+ page_token?: string;
28287
28183
  };
28288
- path: {
28289
- app_token: string;
28184
+ path?: {
28185
+ app_token?: string;
28290
28186
  };
28291
28187
  }, options?: IRequestOptions$1) => Promise<{
28292
28188
  code?: number | undefined;
28293
28189
  msg?: string | undefined;
28294
28190
  data?: {
28295
- has_more?: boolean | undefined;
28296
- page_token?: string | undefined;
28297
- total?: number | undefined;
28298
28191
  items?: {
28299
- table_id?: string | undefined;
28300
- revision?: number | undefined;
28301
- name?: string | undefined;
28192
+ role_name: string;
28193
+ role_id?: string | undefined;
28194
+ table_roles: Array<{
28195
+ table_name?: string;
28196
+ table_id?: string;
28197
+ table_perm: number;
28198
+ rec_rule?: {
28199
+ conditions: Array<{
28200
+ field_name: string;
28201
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28202
+ value?: Array<string>;
28203
+ field_type?: number;
28204
+ }>;
28205
+ conjunction?: "and" | "or";
28206
+ other_perm?: number;
28207
+ };
28208
+ field_perm?: {};
28209
+ allow_add_record?: boolean;
28210
+ allow_delete_record?: boolean;
28211
+ }>;
28212
+ block_roles?: {
28213
+ block_id: string;
28214
+ block_type?: "dashboard" | undefined;
28215
+ block_perm: number;
28216
+ }[] | undefined;
28302
28217
  }[] | undefined;
28218
+ page_token?: string | undefined;
28219
+ has_more?: boolean | undefined;
28220
+ total?: number | undefined;
28303
28221
  } | undefined;
28304
28222
  }>;
28305
28223
  /**
28306
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_create&version=v1 click to debug }
28224
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=update&version=v1 click to debug }
28307
28225
  */
28308
- batchCreate: (payload?: {
28226
+ update: (payload?: {
28227
+ data: {
28228
+ role_name: string;
28229
+ table_roles: Array<{
28230
+ table_name?: string;
28231
+ table_id?: string;
28232
+ table_perm: number;
28233
+ rec_rule?: {
28234
+ conditions: Array<{
28235
+ field_name: string;
28236
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28237
+ value?: Array<string>;
28238
+ }>;
28239
+ conjunction?: "and" | "or";
28240
+ other_perm?: number;
28241
+ };
28242
+ field_perm?: {};
28243
+ allow_add_record?: boolean;
28244
+ allow_delete_record?: boolean;
28245
+ }>;
28246
+ block_roles?: Array<{
28247
+ block_id: string;
28248
+ block_perm: number;
28249
+ }>;
28250
+ };
28251
+ path?: {
28252
+ app_token?: string;
28253
+ role_id?: string;
28254
+ };
28255
+ }, options?: IRequestOptions$1) => Promise<{
28256
+ code?: number | undefined;
28257
+ msg?: string | undefined;
28309
28258
  data?: {
28310
- tables?: Array<{
28311
- name?: string;
28259
+ role?: {
28260
+ role_name: string;
28261
+ role_id?: string | undefined;
28262
+ table_roles: Array<{
28263
+ table_name?: string;
28264
+ table_id?: string;
28265
+ table_perm: number;
28266
+ rec_rule?: {
28267
+ conditions: Array<{
28268
+ field_name: string;
28269
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28270
+ value?: Array<string>;
28271
+ field_type?: number;
28272
+ }>;
28273
+ conjunction?: "and" | "or";
28274
+ other_perm?: number;
28275
+ };
28276
+ field_perm?: {};
28277
+ allow_add_record?: boolean;
28278
+ allow_delete_record?: boolean;
28279
+ }>;
28280
+ block_roles?: {
28281
+ block_id: string;
28282
+ block_type?: "dashboard" | undefined;
28283
+ block_perm: number;
28284
+ }[] | undefined;
28285
+ } | undefined;
28286
+ } | undefined;
28287
+ }>;
28288
+ /**
28289
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=create&version=v1 click to debug }
28290
+ */
28291
+ create: (payload?: {
28292
+ data: {
28293
+ role_name: string;
28294
+ table_roles: Array<{
28295
+ table_name?: string;
28296
+ table_id?: string;
28297
+ table_perm: number;
28298
+ rec_rule?: {
28299
+ conditions: Array<{
28300
+ field_name: string;
28301
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28302
+ value?: Array<string>;
28303
+ }>;
28304
+ conjunction?: "and" | "or";
28305
+ other_perm?: number;
28306
+ };
28307
+ field_perm?: {};
28308
+ allow_add_record?: boolean;
28309
+ allow_delete_record?: boolean;
28310
+ }>;
28311
+ block_roles?: Array<{
28312
+ block_id: string;
28313
+ block_perm: number;
28312
28314
  }>;
28313
28315
  };
28316
+ path?: {
28317
+ app_token?: string;
28318
+ };
28319
+ }, options?: IRequestOptions$1) => Promise<{
28320
+ code?: number | undefined;
28321
+ msg?: string | undefined;
28322
+ data?: {
28323
+ role?: {
28324
+ role_name: string;
28325
+ role_id?: string | undefined;
28326
+ table_roles: Array<{
28327
+ table_name?: string;
28328
+ table_id?: string;
28329
+ table_perm: number;
28330
+ rec_rule?: {
28331
+ conditions: Array<{
28332
+ field_name: string;
28333
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28334
+ value?: Array<string>;
28335
+ field_type?: number;
28336
+ }>;
28337
+ conjunction?: "and" | "or";
28338
+ other_perm?: number;
28339
+ };
28340
+ field_perm?: {};
28341
+ allow_add_record?: boolean;
28342
+ allow_delete_record?: boolean;
28343
+ }>;
28344
+ block_roles?: {
28345
+ block_id: string;
28346
+ block_type?: "dashboard" | undefined;
28347
+ block_perm: number;
28348
+ }[] | undefined;
28349
+ } | undefined;
28350
+ } | undefined;
28351
+ }>;
28352
+ };
28353
+ appRoleMember: {
28354
+ /**
28355
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=delete&version=v1 click to debug }
28356
+ */
28357
+ delete: (payload?: {
28314
28358
  params?: {
28315
- user_id_type?: "user_id" | "union_id" | "open_id";
28359
+ member_id_type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28316
28360
  };
28317
28361
  path: {
28318
- app_token: string;
28362
+ app_token?: string;
28363
+ role_id?: string;
28364
+ member_id: string;
28319
28365
  };
28320
28366
  }, options?: IRequestOptions$1) => Promise<{
28321
28367
  code?: number | undefined;
28322
28368
  msg?: string | undefined;
28323
- data?: {
28324
- table_ids?: string[] | undefined;
28325
- } | undefined;
28369
+ data?: {} | undefined;
28326
28370
  }>;
28327
28371
  /**
28328
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=create&version=v1 click to debug }
28372
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=create&version=v1 click to debug }
28329
28373
  */
28330
28374
  create: (payload?: {
28331
- data?: {
28332
- table?: {
28333
- name?: string;
28334
- };
28375
+ data: {
28376
+ member_id: string;
28335
28377
  };
28336
28378
  params?: {
28337
- user_id_type?: "user_id" | "union_id" | "open_id";
28379
+ member_id_type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28338
28380
  };
28339
- path: {
28340
- app_token: string;
28381
+ path?: {
28382
+ app_token?: string;
28383
+ role_id?: string;
28341
28384
  };
28342
28385
  }, options?: IRequestOptions$1) => Promise<{
28343
28386
  code?: number | undefined;
28344
28387
  msg?: string | undefined;
28345
- data?: {
28346
- table_id?: string | undefined;
28347
- } | undefined;
28388
+ data?: {} | undefined;
28348
28389
  }>;
28349
- };
28350
- appTableView: {
28351
28390
  /**
28352
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
28391
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=list&version=v1 click to debug }
28353
28392
  */
28354
28393
  listWithIterator: (payload?: {
28355
28394
  params?: {
28356
28395
  page_size?: number;
28357
28396
  page_token?: string;
28358
28397
  };
28359
- path?: {
28360
- app_token?: string;
28361
- table_id?: string;
28398
+ path: {
28399
+ app_token: string;
28400
+ role_id: string;
28362
28401
  };
28363
28402
  }, options?: IRequestOptions$1) => Promise<{
28364
28403
  [Symbol.asyncIterator](): AsyncGenerator<{
28365
28404
  items?: {
28366
- view_id?: string | undefined;
28367
- view_name?: string | undefined;
28368
- view_type?: string | undefined;
28405
+ open_id?: string | undefined;
28406
+ union_id?: string | undefined;
28407
+ user_id?: string | undefined;
28408
+ chat_id?: string | undefined;
28409
+ department_id?: string | undefined;
28410
+ open_department_id?: string | undefined;
28411
+ member_name?: string | undefined;
28412
+ member_en_name?: string | undefined;
28413
+ member_type?: "user" | "chat" | "department" | undefined;
28369
28414
  }[] | undefined;
28370
28415
  total?: number | undefined;
28371
28416
  } | null, void, unknown>;
28372
28417
  }>;
28373
28418
  /**
28374
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
28419
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=list&version=v1 click to debug }
28375
28420
  */
28376
28421
  list: (payload?: {
28377
28422
  params?: {
28378
28423
  page_size?: number;
28379
28424
  page_token?: string;
28380
28425
  };
28381
- path?: {
28382
- app_token?: string;
28383
- table_id?: string;
28426
+ path: {
28427
+ app_token: string;
28428
+ role_id: string;
28384
28429
  };
28385
28430
  }, options?: IRequestOptions$1) => Promise<{
28386
28431
  code?: number | undefined;
28387
28432
  msg?: string | undefined;
28388
28433
  data?: {
28389
28434
  items?: {
28390
- view_id?: string | undefined;
28391
- view_name?: string | undefined;
28392
- view_type?: string | undefined;
28435
+ open_id?: string | undefined;
28436
+ union_id?: string | undefined;
28437
+ user_id?: string | undefined;
28438
+ chat_id?: string | undefined;
28439
+ department_id?: string | undefined;
28440
+ open_department_id?: string | undefined;
28441
+ member_name?: string | undefined;
28442
+ member_en_name?: string | undefined;
28443
+ member_type?: "user" | "chat" | "department" | undefined;
28393
28444
  }[] | undefined;
28394
- page_token?: string | undefined;
28395
28445
  has_more?: boolean | undefined;
28446
+ page_token?: string | undefined;
28396
28447
  total?: number | undefined;
28397
28448
  } | undefined;
28398
28449
  }>;
28399
28450
  /**
28400
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=delete&version=v1 click to debug }
28451
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=batch_create&version=v1 click to debug }
28401
28452
  */
28402
- delete: (payload?: {
28403
- path?: {
28404
- app_token?: string;
28405
- table_id?: string;
28406
- view_id?: string;
28453
+ batchCreate: (payload?: {
28454
+ data: {
28455
+ member_list: Array<{
28456
+ type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28457
+ id: string;
28458
+ }>;
28459
+ };
28460
+ path: {
28461
+ app_token: string;
28462
+ role_id: string;
28407
28463
  };
28408
28464
  }, options?: IRequestOptions$1) => Promise<{
28409
28465
  code?: number | undefined;
@@ -28411,429 +28467,768 @@ declare abstract class Client$1 {
28411
28467
  data?: {} | undefined;
28412
28468
  }>;
28413
28469
  /**
28414
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=create&version=v1 click to debug }
28470
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=batch_delete&version=v1 click to debug }
28415
28471
  */
28416
- create: (payload?: {
28472
+ batchDelete: (payload?: {
28417
28473
  data: {
28418
- view_name: string;
28419
- view_type?: "grid" | "kanban" | "gallery" | "gantt" | "form";
28474
+ member_list: Array<{
28475
+ type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28476
+ id: string;
28477
+ }>;
28420
28478
  };
28421
- path?: {
28422
- app_token?: string;
28423
- table_id?: string;
28479
+ path: {
28480
+ app_token: string;
28481
+ role_id: string;
28424
28482
  };
28425
28483
  }, options?: IRequestOptions$1) => Promise<{
28426
28484
  code?: number | undefined;
28427
28485
  msg?: string | undefined;
28428
- data?: {
28429
- view?: {
28430
- view_id?: string | undefined;
28431
- view_name?: string | undefined;
28432
- view_type?: string | undefined;
28433
- } | undefined;
28434
- } | undefined;
28486
+ data?: {} | undefined;
28435
28487
  }>;
28436
28488
  };
28437
- app: {
28489
+ appTableFormField: {
28438
28490
  /**
28439
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=get&version=v1 click to debug }
28491
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=patch&version=v1 click to debug }
28440
28492
  */
28441
- get: (payload?: {
28493
+ patch: (payload?: {
28494
+ data?: {
28495
+ pre_field_id?: string;
28496
+ title?: string;
28497
+ description?: string;
28498
+ required?: boolean;
28499
+ visible?: boolean;
28500
+ };
28442
28501
  path: {
28443
28502
  app_token: string;
28503
+ table_id: string;
28504
+ form_id: string;
28505
+ field_id: string;
28444
28506
  };
28445
28507
  }, options?: IRequestOptions$1) => Promise<{
28446
28508
  code?: number | undefined;
28447
28509
  msg?: string | undefined;
28448
28510
  data?: {
28449
- app?: {
28450
- app_token?: string | undefined;
28451
- name?: string | undefined;
28452
- revision?: number | undefined;
28453
- is_advanced?: boolean | undefined;
28511
+ field?: {
28512
+ pre_field_id?: string | undefined;
28513
+ title?: string | undefined;
28514
+ description?: string | undefined;
28515
+ required?: boolean | undefined;
28516
+ visible?: boolean | undefined;
28454
28517
  } | undefined;
28455
28518
  } | undefined;
28456
28519
  }>;
28457
28520
  /**
28458
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=update&version=v1 click to debug }
28459
- */
28460
- update: (payload?: {
28461
- data?: {
28462
- name?: string;
28463
- is_advanced?: boolean;
28464
- };
28465
- path: {
28466
- app_token: string;
28467
- };
28468
- }, options?: IRequestOptions$1) => Promise<{
28469
- code?: number | undefined;
28470
- msg?: string | undefined;
28471
- data?: {
28472
- app?: {
28473
- app_token?: string | undefined;
28474
- name?: string | undefined;
28475
- is_advanced?: boolean | undefined;
28476
- } | undefined;
28477
- } | undefined;
28478
- }>;
28479
- };
28480
- appRole: {
28481
- /**
28482
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=list&version=v1 click to debug }
28521
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
28483
28522
  */
28484
28523
  listWithIterator: (payload?: {
28485
28524
  params?: {
28486
28525
  page_size?: number;
28487
28526
  page_token?: string;
28488
28527
  };
28489
- path?: {
28490
- app_token?: string;
28528
+ path: {
28529
+ app_token: string;
28530
+ table_id: string;
28531
+ form_id: string;
28491
28532
  };
28492
28533
  }, options?: IRequestOptions$1) => Promise<{
28493
- [Symbol.asyncIterator](): AsyncGenerator<{
28494
- items?: {
28495
- role_name: string;
28496
- role_id?: string | undefined;
28497
- table_roles: Array<{
28498
- table_name: string;
28499
- table_perm: number;
28500
- rec_rule?: {
28501
- conditions: Array<{
28502
- field_name: string;
28503
- operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28504
- value?: Array<string>;
28505
- field_type?: number;
28506
- }>;
28507
- conjunction?: "and" | "or";
28508
- other_perm?: number;
28509
- };
28510
- field_perm?: {};
28511
- }>;
28512
- }[] | undefined;
28513
- total?: number | undefined;
28514
- } | null, void, unknown>;
28534
+ [Symbol.asyncIterator](): AsyncGenerator<{} | null, void, unknown>;
28515
28535
  }>;
28516
28536
  /**
28517
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=list&version=v1 click to debug }
28537
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
28518
28538
  */
28519
28539
  list: (payload?: {
28520
28540
  params?: {
28521
28541
  page_size?: number;
28522
28542
  page_token?: string;
28523
28543
  };
28524
- path?: {
28525
- app_token?: string;
28544
+ path: {
28545
+ app_token: string;
28546
+ table_id: string;
28547
+ form_id: string;
28526
28548
  };
28527
28549
  }, options?: IRequestOptions$1) => Promise<{
28528
28550
  code?: number | undefined;
28529
28551
  msg?: string | undefined;
28530
28552
  data?: {
28531
- items?: {
28532
- role_name: string;
28533
- role_id?: string | undefined;
28534
- table_roles: Array<{
28535
- table_name: string;
28536
- table_perm: number;
28537
- rec_rule?: {
28538
- conditions: Array<{
28539
- field_name: string;
28540
- operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28541
- value?: Array<string>;
28542
- field_type?: number;
28543
- }>;
28544
- conjunction?: "and" | "or";
28545
- other_perm?: number;
28546
- };
28547
- field_perm?: {};
28548
- }>;
28549
- }[] | undefined;
28550
- page_token?: string | undefined;
28551
- has_more?: boolean | undefined;
28552
- total?: number | undefined;
28553
+ items: Array<{
28554
+ field_id?: string;
28555
+ title?: string;
28556
+ description?: string;
28557
+ required?: boolean;
28558
+ visible?: boolean;
28559
+ }>;
28560
+ page_token: string;
28561
+ has_more: boolean;
28562
+ total: number;
28553
28563
  } | undefined;
28554
28564
  }>;
28565
+ };
28566
+ appTableForm: {
28555
28567
  /**
28556
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=delete&version=v1 click to debug }
28568
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=get&version=v1 click to debug }
28557
28569
  */
28558
- delete: (payload?: {
28559
- path?: {
28560
- app_token?: string;
28561
- role_id?: string;
28570
+ get: (payload?: {
28571
+ path: {
28572
+ app_token: string;
28573
+ table_id: string;
28574
+ form_id: string;
28562
28575
  };
28563
28576
  }, options?: IRequestOptions$1) => Promise<{
28564
28577
  code?: number | undefined;
28565
28578
  msg?: string | undefined;
28566
- data?: {} | undefined;
28579
+ data?: {
28580
+ form: {
28581
+ name?: string;
28582
+ description?: string;
28583
+ shared?: boolean;
28584
+ shared_url?: string;
28585
+ shared_limit?: "off" | "tenant_editable" | "anyone_editable";
28586
+ submit_limit_once?: boolean;
28587
+ };
28588
+ } | undefined;
28567
28589
  }>;
28568
28590
  /**
28569
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=update&version=v1 click to debug }
28591
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=patch&version=v1 click to debug }
28570
28592
  */
28571
- update: (payload?: {
28572
- data: {
28573
- role_name: string;
28574
- table_roles: Array<{
28575
- table_name: string;
28576
- table_perm: number;
28577
- rec_rule?: {
28578
- conditions: Array<{
28579
- field_name: string;
28580
- operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28581
- value?: Array<string>;
28582
- }>;
28583
- conjunction?: "and" | "or";
28584
- other_perm?: number;
28585
- };
28586
- field_perm?: {};
28587
- }>;
28593
+ patch: (payload?: {
28594
+ data?: {
28595
+ name?: string;
28596
+ description?: string;
28597
+ shared?: boolean;
28598
+ shared_limit?: "off" | "tenant_editable" | "anyone_editable";
28599
+ submit_limit_once?: boolean;
28588
28600
  };
28589
- path?: {
28590
- app_token?: string;
28591
- role_id?: string;
28601
+ path: {
28602
+ app_token: string;
28603
+ table_id: string;
28604
+ form_id: string;
28592
28605
  };
28593
28606
  }, options?: IRequestOptions$1) => Promise<{
28594
28607
  code?: number | undefined;
28595
28608
  msg?: string | undefined;
28596
28609
  data?: {
28597
- role?: {
28598
- role_name: string;
28599
- role_id?: string | undefined;
28600
- table_roles: Array<{
28601
- table_name: string;
28602
- table_perm: number;
28603
- rec_rule?: {
28604
- conditions: Array<{
28605
- field_name: string;
28606
- operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28607
- value?: Array<string>;
28608
- field_type?: number;
28609
- }>;
28610
- conjunction?: "and" | "or";
28611
- other_perm?: number;
28612
- };
28613
- field_perm?: {};
28614
- }>;
28615
- } | undefined;
28610
+ form: {
28611
+ name?: string;
28612
+ description?: string;
28613
+ shared?: boolean;
28614
+ shared_url?: string;
28615
+ shared_limit?: "off" | "tenant_editable" | "anyone_editable";
28616
+ submit_limit_once?: boolean;
28617
+ };
28616
28618
  } | undefined;
28617
28619
  }>;
28620
+ };
28621
+ appTableRecord: {
28618
28622
  /**
28619
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=create&version=v1 click to debug }
28623
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=get&version=v1 click to debug }
28620
28624
  */
28621
- create: (payload?: {
28622
- data: {
28623
- role_name: string;
28624
- table_roles: Array<{
28625
- table_name: string;
28626
- table_perm: number;
28627
- rec_rule?: {
28628
- conditions: Array<{
28629
- field_name: string;
28630
- operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28631
- value?: Array<string>;
28632
- }>;
28633
- conjunction?: "and" | "or";
28634
- other_perm?: number;
28635
- };
28636
- field_perm?: {};
28637
- }>;
28625
+ get: (payload?: {
28626
+ params?: {
28627
+ text_field_as_array?: boolean;
28628
+ user_id_type?: "user_id" | "union_id" | "open_id";
28629
+ display_formula_ref?: boolean;
28630
+ automatic_fields?: boolean;
28638
28631
  };
28639
- path?: {
28640
- app_token?: string;
28632
+ path: {
28633
+ app_token: string;
28634
+ table_id: string;
28635
+ record_id: string;
28641
28636
  };
28642
28637
  }, options?: IRequestOptions$1) => Promise<{
28643
28638
  code?: number | undefined;
28644
28639
  msg?: string | undefined;
28645
28640
  data?: {
28646
- role?: {
28647
- role_name: string;
28648
- role_id?: string | undefined;
28649
- table_roles: Array<{
28650
- table_name: string;
28651
- table_perm: number;
28652
- rec_rule?: {
28653
- conditions: Array<{
28654
- field_name: string;
28655
- operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty";
28656
- value?: Array<string>;
28657
- field_type?: number;
28658
- }>;
28659
- conjunction?: "and" | "or";
28660
- other_perm?: number;
28661
- };
28662
- field_perm?: {};
28663
- }>;
28641
+ record?: {
28642
+ record_id?: string | undefined;
28643
+ created_by?: {
28644
+ id?: string | undefined;
28645
+ name?: string | undefined;
28646
+ en_name?: string | undefined;
28647
+ email?: string | undefined;
28648
+ } | undefined;
28649
+ created_time?: number | undefined;
28650
+ last_modified_by?: {
28651
+ id?: string | undefined;
28652
+ name?: string | undefined;
28653
+ en_name?: string | undefined;
28654
+ email?: string | undefined;
28655
+ } | undefined;
28656
+ last_modified_time?: number | undefined;
28657
+ fields: Map<string, string | boolean | {
28658
+ text?: string;
28659
+ link?: string;
28660
+ } | {
28661
+ location?: string;
28662
+ pname?: string;
28663
+ cityname?: string;
28664
+ adname?: string;
28665
+ address?: string;
28666
+ name?: string;
28667
+ full_address?: string;
28668
+ } | Array<string> | Array<{
28669
+ id?: string;
28670
+ name?: string;
28671
+ en_name?: string;
28672
+ email?: string;
28673
+ }> | Array<{
28674
+ file_token?: string;
28675
+ name?: string;
28676
+ type?: string;
28677
+ size?: number;
28678
+ url?: string;
28679
+ tmp_url?: string;
28680
+ }>>;
28664
28681
  } | undefined;
28665
28682
  } | undefined;
28666
28683
  }>;
28667
- };
28668
- appRoleMember: {
28669
28684
  /**
28670
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=delete&version=v1 click to debug }
28685
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=update&version=v1 click to debug }
28671
28686
  */
28672
- delete: (payload?: {
28673
- params?: {
28674
- member_id_type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28687
+ update: (payload?: {
28688
+ data: {
28689
+ fields: Map<string, string | boolean | {
28690
+ text?: string;
28691
+ link?: string;
28692
+ } | {
28693
+ location?: string;
28694
+ pname?: string;
28695
+ cityname?: string;
28696
+ adname?: string;
28697
+ address?: string;
28698
+ name?: string;
28699
+ full_address?: string;
28700
+ } | Array<string> | Array<{
28701
+ id?: string;
28702
+ name?: string;
28703
+ en_name?: string;
28704
+ email?: string;
28705
+ }> | Array<{
28706
+ file_token?: string;
28707
+ name?: string;
28708
+ type?: string;
28709
+ size?: number;
28710
+ url?: string;
28711
+ tmp_url?: string;
28712
+ }>>;
28713
+ };
28714
+ params?: {
28715
+ user_id_type?: "user_id" | "union_id" | "open_id";
28675
28716
  };
28676
28717
  path: {
28677
- app_token?: string;
28678
- role_id?: string;
28679
- member_id: string;
28718
+ app_token: string;
28719
+ table_id: string;
28720
+ record_id: string;
28680
28721
  };
28681
28722
  }, options?: IRequestOptions$1) => Promise<{
28682
28723
  code?: number | undefined;
28683
28724
  msg?: string | undefined;
28684
- data?: {} | undefined;
28725
+ data?: {
28726
+ record?: {
28727
+ record_id?: string | undefined;
28728
+ created_by?: {
28729
+ id?: string | undefined;
28730
+ name?: string | undefined;
28731
+ en_name?: string | undefined;
28732
+ email?: string | undefined;
28733
+ } | undefined;
28734
+ created_time?: number | undefined;
28735
+ last_modified_by?: {
28736
+ id?: string | undefined;
28737
+ name?: string | undefined;
28738
+ en_name?: string | undefined;
28739
+ email?: string | undefined;
28740
+ } | undefined;
28741
+ last_modified_time?: number | undefined;
28742
+ fields: Map<string, string | boolean | {
28743
+ text?: string;
28744
+ link?: string;
28745
+ } | {
28746
+ location?: string;
28747
+ pname?: string;
28748
+ cityname?: string;
28749
+ adname?: string;
28750
+ address?: string;
28751
+ name?: string;
28752
+ full_address?: string;
28753
+ } | Array<string> | Array<{
28754
+ id?: string;
28755
+ name?: string;
28756
+ en_name?: string;
28757
+ email?: string;
28758
+ }> | Array<{
28759
+ file_token?: string;
28760
+ name?: string;
28761
+ type?: string;
28762
+ size?: number;
28763
+ url?: string;
28764
+ tmp_url?: string;
28765
+ }>>;
28766
+ } | undefined;
28767
+ } | undefined;
28685
28768
  }>;
28686
28769
  /**
28687
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=create&version=v1 click to debug }
28770
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_update&version=v1 click to debug }
28688
28771
  */
28689
- create: (payload?: {
28772
+ batchUpdate: (payload?: {
28690
28773
  data: {
28691
- member_id: string;
28774
+ records: Array<{
28775
+ record_id?: string;
28776
+ created_by?: {
28777
+ id?: string;
28778
+ name?: string;
28779
+ en_name?: string;
28780
+ email?: string;
28781
+ };
28782
+ created_time?: number;
28783
+ last_modified_by?: {
28784
+ id?: string;
28785
+ name?: string;
28786
+ en_name?: string;
28787
+ email?: string;
28788
+ };
28789
+ last_modified_time?: number;
28790
+ fields: Map<string, string | boolean | {
28791
+ text?: string;
28792
+ link?: string;
28793
+ } | {
28794
+ location?: string;
28795
+ pname?: string;
28796
+ cityname?: string;
28797
+ adname?: string;
28798
+ address?: string;
28799
+ name?: string;
28800
+ full_address?: string;
28801
+ } | Array<string> | Array<{
28802
+ id?: string;
28803
+ name?: string;
28804
+ en_name?: string;
28805
+ email?: string;
28806
+ }> | Array<{
28807
+ file_token?: string;
28808
+ name?: string;
28809
+ type?: string;
28810
+ size?: number;
28811
+ url?: string;
28812
+ tmp_url?: string;
28813
+ }>>;
28814
+ }>;
28692
28815
  };
28693
28816
  params?: {
28694
- member_id_type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28817
+ user_id_type?: "user_id" | "union_id" | "open_id";
28695
28818
  };
28696
- path?: {
28697
- app_token?: string;
28698
- role_id?: string;
28819
+ path: {
28820
+ app_token: string;
28821
+ table_id: string;
28699
28822
  };
28700
28823
  }, options?: IRequestOptions$1) => Promise<{
28701
28824
  code?: number | undefined;
28702
28825
  msg?: string | undefined;
28703
- data?: {} | undefined;
28826
+ data?: {
28827
+ records?: {
28828
+ record_id?: string | undefined;
28829
+ created_by?: {
28830
+ id?: string | undefined;
28831
+ name?: string | undefined;
28832
+ en_name?: string | undefined;
28833
+ email?: string | undefined;
28834
+ } | undefined;
28835
+ created_time?: number | undefined;
28836
+ last_modified_by?: {
28837
+ id?: string | undefined;
28838
+ name?: string | undefined;
28839
+ en_name?: string | undefined;
28840
+ email?: string | undefined;
28841
+ } | undefined;
28842
+ last_modified_time?: number | undefined;
28843
+ fields: Map<string, string | boolean | {
28844
+ text?: string;
28845
+ link?: string;
28846
+ } | {
28847
+ location?: string;
28848
+ pname?: string;
28849
+ cityname?: string;
28850
+ adname?: string;
28851
+ address?: string;
28852
+ name?: string;
28853
+ full_address?: string;
28854
+ } | Array<string> | Array<{
28855
+ id?: string;
28856
+ name?: string;
28857
+ en_name?: string;
28858
+ email?: string;
28859
+ }> | Array<{
28860
+ file_token?: string;
28861
+ name?: string;
28862
+ type?: string;
28863
+ size?: number;
28864
+ url?: string;
28865
+ tmp_url?: string;
28866
+ }>>;
28867
+ }[] | undefined;
28868
+ } | undefined;
28704
28869
  }>;
28705
28870
  /**
28706
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=list&version=v1 click to debug }
28871
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=list&version=v1 click to debug }
28707
28872
  */
28708
28873
  listWithIterator: (payload?: {
28709
28874
  params?: {
28710
- page_size?: number;
28875
+ view_id?: string;
28876
+ filter?: string;
28877
+ sort?: string;
28878
+ field_names?: string;
28879
+ text_field_as_array?: boolean;
28880
+ user_id_type?: "user_id" | "union_id" | "open_id";
28881
+ display_formula_ref?: boolean;
28882
+ automatic_fields?: boolean;
28711
28883
  page_token?: string;
28884
+ page_size?: number;
28712
28885
  };
28713
28886
  path: {
28714
28887
  app_token: string;
28715
- role_id: string;
28888
+ table_id: string;
28716
28889
  };
28717
28890
  }, options?: IRequestOptions$1) => Promise<{
28718
28891
  [Symbol.asyncIterator](): AsyncGenerator<{
28892
+ total?: number | undefined;
28719
28893
  items?: {
28720
- open_id?: string | undefined;
28721
- union_id?: string | undefined;
28722
- user_id?: string | undefined;
28723
- chat_id?: string | undefined;
28724
- department_id?: string | undefined;
28725
- open_department_id?: string | undefined;
28726
- member_name?: string | undefined;
28727
- member_en_name?: string | undefined;
28728
- member_type?: "user" | "chat" | "department" | undefined;
28894
+ record_id?: string | undefined;
28895
+ created_by?: {
28896
+ id?: string | undefined;
28897
+ name?: string | undefined;
28898
+ en_name?: string | undefined;
28899
+ email?: string | undefined;
28900
+ } | undefined;
28901
+ created_time?: number | undefined;
28902
+ last_modified_by?: {
28903
+ id?: string | undefined;
28904
+ name?: string | undefined;
28905
+ en_name?: string | undefined;
28906
+ email?: string | undefined;
28907
+ } | undefined;
28908
+ last_modified_time?: number | undefined;
28909
+ fields: Map<string, string | boolean | {
28910
+ text?: string;
28911
+ link?: string;
28912
+ } | {
28913
+ location?: string;
28914
+ pname?: string;
28915
+ cityname?: string;
28916
+ adname?: string;
28917
+ address?: string;
28918
+ name?: string;
28919
+ full_address?: string;
28920
+ } | Array<string> | Array<{
28921
+ id?: string;
28922
+ name?: string;
28923
+ en_name?: string;
28924
+ email?: string;
28925
+ }> | Array<{
28926
+ file_token?: string;
28927
+ name?: string;
28928
+ type?: string;
28929
+ size?: number;
28930
+ url?: string;
28931
+ tmp_url?: string;
28932
+ }>>;
28729
28933
  }[] | undefined;
28730
- total?: number | undefined;
28731
28934
  } | null, void, unknown>;
28732
28935
  }>;
28733
28936
  /**
28734
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=list&version=v1 click to debug }
28937
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=list&version=v1 click to debug }
28735
28938
  */
28736
28939
  list: (payload?: {
28737
28940
  params?: {
28738
- page_size?: number;
28941
+ view_id?: string;
28942
+ filter?: string;
28943
+ sort?: string;
28944
+ field_names?: string;
28945
+ text_field_as_array?: boolean;
28946
+ user_id_type?: "user_id" | "union_id" | "open_id";
28947
+ display_formula_ref?: boolean;
28948
+ automatic_fields?: boolean;
28739
28949
  page_token?: string;
28950
+ page_size?: number;
28740
28951
  };
28741
28952
  path: {
28742
28953
  app_token: string;
28743
- role_id: string;
28954
+ table_id: string;
28744
28955
  };
28745
28956
  }, options?: IRequestOptions$1) => Promise<{
28746
28957
  code?: number | undefined;
28747
28958
  msg?: string | undefined;
28748
28959
  data?: {
28749
- items?: {
28750
- open_id?: string | undefined;
28751
- union_id?: string | undefined;
28752
- user_id?: string | undefined;
28753
- chat_id?: string | undefined;
28754
- department_id?: string | undefined;
28755
- open_department_id?: string | undefined;
28756
- member_name?: string | undefined;
28757
- member_en_name?: string | undefined;
28758
- member_type?: "user" | "chat" | "department" | undefined;
28759
- }[] | undefined;
28760
28960
  has_more?: boolean | undefined;
28761
28961
  page_token?: string | undefined;
28762
28962
  total?: number | undefined;
28963
+ items?: {
28964
+ record_id?: string | undefined;
28965
+ created_by?: {
28966
+ id?: string | undefined;
28967
+ name?: string | undefined;
28968
+ en_name?: string | undefined;
28969
+ email?: string | undefined;
28970
+ } | undefined;
28971
+ created_time?: number | undefined;
28972
+ last_modified_by?: {
28973
+ id?: string | undefined;
28974
+ name?: string | undefined;
28975
+ en_name?: string | undefined;
28976
+ email?: string | undefined;
28977
+ } | undefined;
28978
+ last_modified_time?: number | undefined;
28979
+ fields: Map<string, string | boolean | {
28980
+ text?: string;
28981
+ link?: string;
28982
+ } | {
28983
+ location?: string;
28984
+ pname?: string;
28985
+ cityname?: string;
28986
+ adname?: string;
28987
+ address?: string;
28988
+ name?: string;
28989
+ full_address?: string;
28990
+ } | Array<string> | Array<{
28991
+ id?: string;
28992
+ name?: string;
28993
+ en_name?: string;
28994
+ email?: string;
28995
+ }> | Array<{
28996
+ file_token?: string;
28997
+ name?: string;
28998
+ type?: string;
28999
+ size?: number;
29000
+ url?: string;
29001
+ tmp_url?: string;
29002
+ }>>;
29003
+ }[] | undefined;
29004
+ } | undefined;
29005
+ }>;
29006
+ /**
29007
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=delete&version=v1 click to debug }
29008
+ */
29009
+ delete: (payload?: {
29010
+ path: {
29011
+ app_token: string;
29012
+ table_id: string;
29013
+ record_id: string;
29014
+ };
29015
+ }, options?: IRequestOptions$1) => Promise<{
29016
+ code?: number | undefined;
29017
+ msg?: string | undefined;
29018
+ data?: {
29019
+ deleted?: boolean | undefined;
29020
+ record_id?: string | undefined;
28763
29021
  } | undefined;
28764
29022
  }>;
28765
29023
  /**
28766
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=batch_create&version=v1 click to debug }
29024
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=create&version=v1 click to debug }
28767
29025
  */
28768
- batchCreate: (payload?: {
29026
+ create: (payload?: {
28769
29027
  data: {
28770
- member_list: Array<{
28771
- type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28772
- id: string;
28773
- }>;
29028
+ fields: Map<string, string | boolean | {
29029
+ text?: string;
29030
+ link?: string;
29031
+ } | {
29032
+ location?: string;
29033
+ pname?: string;
29034
+ cityname?: string;
29035
+ adname?: string;
29036
+ address?: string;
29037
+ name?: string;
29038
+ full_address?: string;
29039
+ } | Array<string> | Array<{
29040
+ id?: string;
29041
+ name?: string;
29042
+ en_name?: string;
29043
+ email?: string;
29044
+ }> | Array<{
29045
+ file_token?: string;
29046
+ name?: string;
29047
+ type?: string;
29048
+ size?: number;
29049
+ url?: string;
29050
+ tmp_url?: string;
29051
+ }>>;
29052
+ };
29053
+ params?: {
29054
+ user_id_type?: "user_id" | "union_id" | "open_id";
28774
29055
  };
28775
29056
  path: {
28776
29057
  app_token: string;
28777
- role_id: string;
29058
+ table_id: string;
28778
29059
  };
28779
29060
  }, options?: IRequestOptions$1) => Promise<{
28780
29061
  code?: number | undefined;
28781
29062
  msg?: string | undefined;
28782
- data?: {} | undefined;
29063
+ data?: {
29064
+ record?: {
29065
+ record_id?: string | undefined;
29066
+ created_by?: {
29067
+ id?: string | undefined;
29068
+ name?: string | undefined;
29069
+ en_name?: string | undefined;
29070
+ email?: string | undefined;
29071
+ } | undefined;
29072
+ created_time?: number | undefined;
29073
+ last_modified_by?: {
29074
+ id?: string | undefined;
29075
+ name?: string | undefined;
29076
+ en_name?: string | undefined;
29077
+ email?: string | undefined;
29078
+ } | undefined;
29079
+ last_modified_time?: number | undefined;
29080
+ fields: Map<string, string | boolean | {
29081
+ text?: string;
29082
+ link?: string;
29083
+ } | {
29084
+ location?: string;
29085
+ pname?: string;
29086
+ cityname?: string;
29087
+ adname?: string;
29088
+ address?: string;
29089
+ name?: string;
29090
+ full_address?: string;
29091
+ } | Array<string> | Array<{
29092
+ id?: string;
29093
+ name?: string;
29094
+ en_name?: string;
29095
+ email?: string;
29096
+ }> | Array<{
29097
+ file_token?: string;
29098
+ name?: string;
29099
+ type?: string;
29100
+ size?: number;
29101
+ url?: string;
29102
+ tmp_url?: string;
29103
+ }>>;
29104
+ } | undefined;
29105
+ } | undefined;
28783
29106
  }>;
28784
29107
  /**
28785
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=batch_delete&version=v1 click to debug }
29108
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_delete&version=v1 click to debug }
28786
29109
  */
28787
29110
  batchDelete: (payload?: {
28788
29111
  data: {
28789
- member_list: Array<{
28790
- type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
28791
- id: string;
28792
- }>;
29112
+ records: Array<string>;
28793
29113
  };
28794
29114
  path: {
28795
29115
  app_token: string;
28796
- role_id: string;
29116
+ table_id: string;
28797
29117
  };
28798
29118
  }, options?: IRequestOptions$1) => Promise<{
28799
29119
  code?: number | undefined;
28800
29120
  msg?: string | undefined;
28801
- data?: {} | undefined;
29121
+ data?: {
29122
+ records?: {
29123
+ deleted?: boolean | undefined;
29124
+ record_id?: string | undefined;
29125
+ }[] | undefined;
29126
+ } | undefined;
28802
29127
  }>;
28803
- };
28804
- appTableFormField: {
28805
29128
  /**
28806
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=patch&version=v1 click to debug }
29129
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_create&version=v1 click to debug }
28807
29130
  */
28808
- patch: (payload?: {
28809
- data?: {
28810
- pre_field_id?: string;
28811
- title?: string;
28812
- description?: string;
28813
- required?: boolean;
28814
- visible?: boolean;
29131
+ batchCreate: (payload?: {
29132
+ data: {
29133
+ records: Array<{
29134
+ created_by?: {
29135
+ id?: string;
29136
+ name?: string;
29137
+ en_name?: string;
29138
+ email?: string;
29139
+ };
29140
+ created_time?: number;
29141
+ last_modified_by?: {
29142
+ id?: string;
29143
+ name?: string;
29144
+ en_name?: string;
29145
+ email?: string;
29146
+ };
29147
+ last_modified_time?: number;
29148
+ fields: Map<string, string | boolean | {
29149
+ text?: string;
29150
+ link?: string;
29151
+ } | {
29152
+ location?: string;
29153
+ pname?: string;
29154
+ cityname?: string;
29155
+ adname?: string;
29156
+ address?: string;
29157
+ name?: string;
29158
+ full_address?: string;
29159
+ } | Array<string> | Array<{
29160
+ id?: string;
29161
+ name?: string;
29162
+ en_name?: string;
29163
+ email?: string;
29164
+ }> | Array<{
29165
+ file_token?: string;
29166
+ name?: string;
29167
+ type?: string;
29168
+ size?: number;
29169
+ url?: string;
29170
+ tmp_url?: string;
29171
+ }>>;
29172
+ }>;
29173
+ };
29174
+ params?: {
29175
+ user_id_type?: "user_id" | "union_id" | "open_id";
28815
29176
  };
28816
29177
  path: {
28817
29178
  app_token: string;
28818
29179
  table_id: string;
28819
- form_id: string;
28820
- field_id: string;
28821
29180
  };
28822
29181
  }, options?: IRequestOptions$1) => Promise<{
28823
29182
  code?: number | undefined;
28824
29183
  msg?: string | undefined;
28825
29184
  data?: {
28826
- field?: {
28827
- pre_field_id?: string | undefined;
28828
- title?: string | undefined;
28829
- description?: string | undefined;
28830
- required?: boolean | undefined;
28831
- visible?: boolean | undefined;
28832
- } | undefined;
29185
+ records?: {
29186
+ record_id?: string | undefined;
29187
+ created_by?: {
29188
+ id?: string | undefined;
29189
+ name?: string | undefined;
29190
+ en_name?: string | undefined;
29191
+ email?: string | undefined;
29192
+ } | undefined;
29193
+ created_time?: number | undefined;
29194
+ last_modified_by?: {
29195
+ id?: string | undefined;
29196
+ name?: string | undefined;
29197
+ en_name?: string | undefined;
29198
+ email?: string | undefined;
29199
+ } | undefined;
29200
+ last_modified_time?: number | undefined;
29201
+ fields: Map<string, string | boolean | {
29202
+ text?: string;
29203
+ link?: string;
29204
+ } | {
29205
+ location?: string;
29206
+ pname?: string;
29207
+ cityname?: string;
29208
+ adname?: string;
29209
+ address?: string;
29210
+ name?: string;
29211
+ full_address?: string;
29212
+ } | Array<string> | Array<{
29213
+ id?: string;
29214
+ name?: string;
29215
+ en_name?: string;
29216
+ email?: string;
29217
+ }> | Array<{
29218
+ file_token?: string;
29219
+ name?: string;
29220
+ type?: string;
29221
+ size?: number;
29222
+ url?: string;
29223
+ tmp_url?: string;
29224
+ }>>;
29225
+ }[] | undefined;
28833
29226
  } | undefined;
28834
29227
  }>;
29228
+ };
29229
+ appDashboard: {
28835
29230
  /**
28836
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
29231
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.dashboard&apiName=list&version=v1 click to debug }
28837
29232
  */
28838
29233
  listWithIterator: (payload?: {
28839
29234
  params?: {
@@ -28842,14 +29237,12 @@ declare abstract class Client$1 {
28842
29237
  };
28843
29238
  path: {
28844
29239
  app_token: string;
28845
- table_id: string;
28846
- form_id: string;
28847
29240
  };
28848
29241
  }, options?: IRequestOptions$1) => Promise<{
28849
29242
  [Symbol.asyncIterator](): AsyncGenerator<{} | null, void, unknown>;
28850
29243
  }>;
28851
29244
  /**
28852
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
29245
+ * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.dashboard&apiName=list&version=v1 click to debug }
28853
29246
  */
28854
29247
  list: (payload?: {
28855
29248
  params?: {
@@ -28858,78 +29251,17 @@ declare abstract class Client$1 {
28858
29251
  };
28859
29252
  path: {
28860
29253
  app_token: string;
28861
- table_id: string;
28862
- form_id: string;
28863
29254
  };
28864
29255
  }, options?: IRequestOptions$1) => Promise<{
28865
29256
  code?: number | undefined;
28866
29257
  msg?: string | undefined;
28867
29258
  data?: {
28868
- items: Array<{
28869
- field_id?: string;
28870
- title?: string;
28871
- description?: string;
28872
- required?: boolean;
28873
- visible?: boolean;
29259
+ dashboards: Array<{
29260
+ block_id: string;
29261
+ name: string;
28874
29262
  }>;
28875
29263
  page_token: string;
28876
29264
  has_more: boolean;
28877
- total: number;
28878
- } | undefined;
28879
- }>;
28880
- };
28881
- appTableForm: {
28882
- /**
28883
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=get&version=v1 click to debug }
28884
- */
28885
- get: (payload?: {
28886
- path: {
28887
- app_token: string;
28888
- table_id: string;
28889
- form_id: string;
28890
- };
28891
- }, options?: IRequestOptions$1) => Promise<{
28892
- code?: number | undefined;
28893
- msg?: string | undefined;
28894
- data?: {
28895
- form: {
28896
- name?: string;
28897
- description?: string;
28898
- shared?: boolean;
28899
- shared_url?: string;
28900
- shared_limit?: "off" | "tenant_editable" | "anyone_editable";
28901
- submit_limit_once?: boolean;
28902
- };
28903
- } | undefined;
28904
- }>;
28905
- /**
28906
- * {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=patch&version=v1 click to debug }
28907
- */
28908
- patch: (payload?: {
28909
- data?: {
28910
- name?: string;
28911
- description?: string;
28912
- shared?: boolean;
28913
- shared_limit?: "off" | "tenant_editable" | "anyone_editable";
28914
- submit_limit_once?: boolean;
28915
- };
28916
- path: {
28917
- app_token: string;
28918
- table_id: string;
28919
- form_id: string;
28920
- };
28921
- }, options?: IRequestOptions$1) => Promise<{
28922
- code?: number | undefined;
28923
- msg?: string | undefined;
28924
- data?: {
28925
- form: {
28926
- name?: string;
28927
- description?: string;
28928
- shared?: boolean;
28929
- shared_url?: string;
28930
- shared_limit?: "off" | "tenant_editable" | "anyone_editable";
28931
- submit_limit_once?: boolean;
28932
- };
28933
29265
  } | undefined;
28934
29266
  }>;
28935
29267
  };