@larksuiteoapi/node-sdk 1.43.0 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.js CHANGED
@@ -1317,7 +1317,7 @@ class Client$10 extends Client$11 {
1317
1317
  constructor() {
1318
1318
  super(...arguments);
1319
1319
  /**
1320
- * 管理后台-企业勋章
1320
+ * 管理后台-数据报表
1321
1321
  */
1322
1322
  this.admin = {
1323
1323
  /**
@@ -5634,7 +5634,7 @@ class Client$Z extends Client$_ {
5634
5634
  }),
5635
5635
  },
5636
5636
  /**
5637
- * 原生审批任务
5637
+ * 审批查询
5638
5638
  */
5639
5639
  task: {
5640
5640
  /**
@@ -6645,7 +6645,7 @@ class Client$Z extends Client$_ {
6645
6645
  }),
6646
6646
  },
6647
6647
  /**
6648
- * 原生审批任务
6648
+ * 审批查询
6649
6649
  */
6650
6650
  task: {
6651
6651
  /**
@@ -32917,6 +32917,27 @@ class Client$J extends Client$K {
32917
32917
  throw e;
32918
32918
  });
32919
32919
  }),
32920
+ /**
32921
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=workforce_plan_detail&apiName=batch_v2&version=v2 click to debug }
32922
+ *
32923
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_v2&project=corehr&resource=workforce_plan_detail&version=v2 document }
32924
+ */
32925
+ batchV2: (payload, options) => __awaiter(this, void 0, void 0, function* () {
32926
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
32927
+ return this.httpInstance
32928
+ .request({
32929
+ url: fillApiPath(`${this.domain}/open-apis/corehr/v2/workforce_plan_details/batch_v2`, path),
32930
+ method: "POST",
32931
+ data,
32932
+ params,
32933
+ headers,
32934
+ paramsSerializer: (params) => stringify(params, { arrayFormat: "repeat" }),
32935
+ })
32936
+ .catch((e) => {
32937
+ this.logger.error(formatErrors(e));
32938
+ throw e;
32939
+ });
32940
+ }),
32920
32941
  },
32921
32942
  /**
32922
32943
  * workforce_plan_detail_row
@@ -35259,7 +35280,7 @@ class Client$E extends Client$F {
35259
35280
  }),
35260
35281
  },
35261
35282
  /**
35262
- * 分片上传
35283
+ * 上传
35263
35284
  */
35264
35285
  file: {
35265
35286
  /**
@@ -37079,7 +37100,7 @@ class Client$E extends Client$F {
37079
37100
  }),
37080
37101
  },
37081
37102
  /**
37082
- * 分片上传
37103
+ * 上传
37083
37104
  */
37084
37105
  file: {
37085
37106
  /**
package/lib/index.js CHANGED
@@ -1333,7 +1333,7 @@ class Client$10 extends Client$11 {
1333
1333
  constructor() {
1334
1334
  super(...arguments);
1335
1335
  /**
1336
- * 管理后台-企业勋章
1336
+ * 管理后台-数据报表
1337
1337
  */
1338
1338
  this.admin = {
1339
1339
  /**
@@ -5650,7 +5650,7 @@ class Client$Z extends Client$_ {
5650
5650
  }),
5651
5651
  },
5652
5652
  /**
5653
- * 原生审批任务
5653
+ * 审批查询
5654
5654
  */
5655
5655
  task: {
5656
5656
  /**
@@ -6661,7 +6661,7 @@ class Client$Z extends Client$_ {
6661
6661
  }),
6662
6662
  },
6663
6663
  /**
6664
- * 原生审批任务
6664
+ * 审批查询
6665
6665
  */
6666
6666
  task: {
6667
6667
  /**
@@ -32933,6 +32933,27 @@ class Client$J extends Client$K {
32933
32933
  throw e;
32934
32934
  });
32935
32935
  }),
32936
+ /**
32937
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=workforce_plan_detail&apiName=batch_v2&version=v2 click to debug }
32938
+ *
32939
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_v2&project=corehr&resource=workforce_plan_detail&version=v2 document }
32940
+ */
32941
+ batchV2: (payload, options) => __awaiter(this, void 0, void 0, function* () {
32942
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
32943
+ return this.httpInstance
32944
+ .request({
32945
+ url: fillApiPath(`${this.domain}/open-apis/corehr/v2/workforce_plan_details/batch_v2`, path),
32946
+ method: "POST",
32947
+ data,
32948
+ params,
32949
+ headers,
32950
+ paramsSerializer: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
32951
+ })
32952
+ .catch((e) => {
32953
+ this.logger.error(formatErrors(e));
32954
+ throw e;
32955
+ });
32956
+ }),
32936
32957
  },
32937
32958
  /**
32938
32959
  * workforce_plan_detail_row
@@ -35275,7 +35296,7 @@ class Client$E extends Client$F {
35275
35296
  }),
35276
35297
  },
35277
35298
  /**
35278
- * 分片上传
35299
+ * 上传
35279
35300
  */
35280
35301
  file: {
35281
35302
  /**
@@ -37095,7 +37116,7 @@ class Client$E extends Client$F {
37095
37116
  }),
37096
37117
  },
37097
37118
  /**
37098
- * 分片上传
37119
+ * 上传
37099
37120
  */
37100
37121
  file: {
37101
37122
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.43.0",
3
+ "version": "1.44.0",
4
4
  "description": "larksuite open sdk for nodejs",
5
5
  "keywords": [
6
6
  "feishu",
package/types/index.d.ts CHANGED
@@ -1074,7 +1074,7 @@ declare abstract class Client$10 extends Client$11 {
1074
1074
  httpInstance: HttpInstance;
1075
1075
  abstract formatPayload(payload?: IPayload, options?: IRequestOptions$1): Promise<Required<IPayload>>;
1076
1076
  /**
1077
- * 管理后台-企业勋章
1077
+ * 管理后台-数据报表
1078
1078
  */
1079
1079
  admin: {
1080
1080
  /**
@@ -8077,7 +8077,7 @@ declare abstract class Client$Z extends Client$_ {
8077
8077
  }>;
8078
8078
  };
8079
8079
  /**
8080
- * 原生审批任务
8080
+ * 审批查询
8081
8081
  */
8082
8082
  task: {
8083
8083
  /**
@@ -9614,7 +9614,7 @@ declare abstract class Client$Z extends Client$_ {
9614
9614
  }>;
9615
9615
  };
9616
9616
  /**
9617
- * 原生审批任务
9617
+ * 审批查询
9618
9618
  */
9619
9619
  task: {
9620
9620
  /**
@@ -10150,7 +10150,7 @@ declare abstract class Client$Y extends Client$Z {
10150
10150
  face_live_need_action?: boolean;
10151
10151
  face_downgrade?: boolean;
10152
10152
  replace_basic_pic?: boolean;
10153
- anti_cheat_punch_cfg?: {
10153
+ anti_cheat_punch_config?: {
10154
10154
  intercept_suspected_cheat_punch?: boolean;
10155
10155
  check_cheat_software_punch?: boolean;
10156
10156
  check_buddy_punch?: boolean;
@@ -10268,6 +10268,9 @@ declare abstract class Client$Y extends Client$Z {
10268
10268
  };
10269
10269
  new_calendar_id?: string;
10270
10270
  allow_apply_punch?: boolean;
10271
+ clock_in_abnormal_settings?: {
10272
+ ignore_until_latest_clockout?: boolean;
10273
+ };
10271
10274
  };
10272
10275
  operator_id?: string;
10273
10276
  };
@@ -10315,7 +10318,7 @@ declare abstract class Client$Y extends Client$Z {
10315
10318
  face_live_need_action?: boolean | undefined;
10316
10319
  face_downgrade?: boolean | undefined;
10317
10320
  replace_basic_pic?: boolean | undefined;
10318
- anti_cheat_punch_cfg?: {
10321
+ anti_cheat_punch_config?: {
10319
10322
  intercept_suspected_cheat_punch?: boolean | undefined;
10320
10323
  check_cheat_software_punch?: boolean | undefined;
10321
10324
  check_buddy_punch?: boolean | undefined;
@@ -10437,6 +10440,9 @@ declare abstract class Client$Y extends Client$Z {
10437
10440
  } | undefined;
10438
10441
  new_calendar_id?: string | undefined;
10439
10442
  allow_apply_punch?: boolean | undefined;
10443
+ clock_in_abnormal_settings?: {
10444
+ ignore_until_latest_clockout?: boolean | undefined;
10445
+ } | undefined;
10440
10446
  } | undefined;
10441
10447
  } | undefined;
10442
10448
  }>;
@@ -10514,7 +10520,7 @@ declare abstract class Client$Y extends Client$Z {
10514
10520
  face_live_need_action?: boolean | undefined;
10515
10521
  face_downgrade?: boolean | undefined;
10516
10522
  replace_basic_pic?: boolean | undefined;
10517
- anti_cheat_punch_cfg?: {
10523
+ anti_cheat_punch_config?: {
10518
10524
  intercept_suspected_cheat_punch?: boolean | undefined;
10519
10525
  check_cheat_software_punch?: boolean | undefined;
10520
10526
  check_buddy_punch?: boolean | undefined;
@@ -10635,6 +10641,9 @@ declare abstract class Client$Y extends Client$Z {
10635
10641
  } | undefined;
10636
10642
  new_calendar_id?: string | undefined;
10637
10643
  allow_apply_punch?: boolean | undefined;
10644
+ clock_in_abnormal_settings?: {
10645
+ ignore_until_latest_clockout?: boolean | undefined;
10646
+ } | undefined;
10638
10647
  } | undefined;
10639
10648
  }>;
10640
10649
  listWithIterator: (payload?: {
@@ -12639,7 +12648,7 @@ declare abstract class Client$Y extends Client$Z {
12639
12648
  face_live_need_action?: boolean;
12640
12649
  face_downgrade?: boolean;
12641
12650
  replace_basic_pic?: boolean;
12642
- anti_cheat_punch_cfg?: {
12651
+ anti_cheat_punch_config?: {
12643
12652
  intercept_suspected_cheat_punch?: boolean;
12644
12653
  check_cheat_software_punch?: boolean;
12645
12654
  check_buddy_punch?: boolean;
@@ -12757,6 +12766,9 @@ declare abstract class Client$Y extends Client$Z {
12757
12766
  };
12758
12767
  new_calendar_id?: string;
12759
12768
  allow_apply_punch?: boolean;
12769
+ clock_in_abnormal_settings?: {
12770
+ ignore_until_latest_clockout?: boolean;
12771
+ };
12760
12772
  };
12761
12773
  operator_id?: string;
12762
12774
  };
@@ -12804,7 +12816,7 @@ declare abstract class Client$Y extends Client$Z {
12804
12816
  face_live_need_action?: boolean | undefined;
12805
12817
  face_downgrade?: boolean | undefined;
12806
12818
  replace_basic_pic?: boolean | undefined;
12807
- anti_cheat_punch_cfg?: {
12819
+ anti_cheat_punch_config?: {
12808
12820
  intercept_suspected_cheat_punch?: boolean | undefined;
12809
12821
  check_cheat_software_punch?: boolean | undefined;
12810
12822
  check_buddy_punch?: boolean | undefined;
@@ -12926,6 +12938,9 @@ declare abstract class Client$Y extends Client$Z {
12926
12938
  } | undefined;
12927
12939
  new_calendar_id?: string | undefined;
12928
12940
  allow_apply_punch?: boolean | undefined;
12941
+ clock_in_abnormal_settings?: {
12942
+ ignore_until_latest_clockout?: boolean | undefined;
12943
+ } | undefined;
12929
12944
  } | undefined;
12930
12945
  } | undefined;
12931
12946
  }>;
@@ -13003,7 +13018,7 @@ declare abstract class Client$Y extends Client$Z {
13003
13018
  face_live_need_action?: boolean | undefined;
13004
13019
  face_downgrade?: boolean | undefined;
13005
13020
  replace_basic_pic?: boolean | undefined;
13006
- anti_cheat_punch_cfg?: {
13021
+ anti_cheat_punch_config?: {
13007
13022
  intercept_suspected_cheat_punch?: boolean | undefined;
13008
13023
  check_cheat_software_punch?: boolean | undefined;
13009
13024
  check_buddy_punch?: boolean | undefined;
@@ -13124,6 +13139,9 @@ declare abstract class Client$Y extends Client$Z {
13124
13139
  } | undefined;
13125
13140
  new_calendar_id?: string | undefined;
13126
13141
  allow_apply_punch?: boolean | undefined;
13142
+ clock_in_abnormal_settings?: {
13143
+ ignore_until_latest_clockout?: boolean | undefined;
13144
+ } | undefined;
13127
13145
  } | undefined;
13128
13146
  }>;
13129
13147
  listWithIterator: (payload?: {
@@ -25157,6 +25175,18 @@ declare abstract class Client$Q extends Client$R {
25157
25175
  attachments?: Array<{
25158
25176
  file_token?: string;
25159
25177
  }>;
25178
+ event_check_in?: {
25179
+ enable_check_in: boolean;
25180
+ check_in_start_time?: {
25181
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25182
+ duration: number;
25183
+ };
25184
+ check_in_end_time?: {
25185
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25186
+ duration: number;
25187
+ };
25188
+ need_notify_attendees?: boolean;
25189
+ };
25160
25190
  };
25161
25191
  params?: {
25162
25192
  idempotency_key?: string;
@@ -25238,6 +25268,18 @@ declare abstract class Client$Q extends Client$R {
25238
25268
  is_deleted?: boolean | undefined;
25239
25269
  name?: string | undefined;
25240
25270
  }[] | undefined;
25271
+ event_check_in?: {
25272
+ enable_check_in: boolean;
25273
+ check_in_start_time?: {
25274
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25275
+ duration: number;
25276
+ } | undefined;
25277
+ check_in_end_time?: {
25278
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25279
+ duration: number;
25280
+ } | undefined;
25281
+ need_notify_attendees?: boolean | undefined;
25282
+ } | undefined;
25241
25283
  } | undefined;
25242
25284
  } | undefined;
25243
25285
  }>;
@@ -25381,6 +25423,18 @@ declare abstract class Client$Q extends Client$R {
25381
25423
  file_size?: string | undefined;
25382
25424
  name?: string | undefined;
25383
25425
  }[] | undefined;
25426
+ event_check_in?: {
25427
+ enable_check_in: boolean;
25428
+ check_in_start_time?: {
25429
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25430
+ duration: number;
25431
+ } | undefined;
25432
+ check_in_end_time?: {
25433
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25434
+ duration: number;
25435
+ } | undefined;
25436
+ need_notify_attendees?: boolean | undefined;
25437
+ } | undefined;
25384
25438
  } | undefined;
25385
25439
  } | undefined;
25386
25440
  }>;
@@ -25689,6 +25743,18 @@ declare abstract class Client$Q extends Client$R {
25689
25743
  file_token?: string;
25690
25744
  is_deleted?: boolean;
25691
25745
  }>;
25746
+ event_check_in?: {
25747
+ enable_check_in: boolean;
25748
+ check_in_start_time?: {
25749
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25750
+ duration: number;
25751
+ };
25752
+ check_in_end_time?: {
25753
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25754
+ duration: number;
25755
+ };
25756
+ need_notify_attendees?: boolean;
25757
+ };
25692
25758
  };
25693
25759
  params?: {
25694
25760
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -25770,6 +25836,18 @@ declare abstract class Client$Q extends Client$R {
25770
25836
  is_deleted?: boolean | undefined;
25771
25837
  name?: string | undefined;
25772
25838
  }[] | undefined;
25839
+ event_check_in?: {
25840
+ enable_check_in: boolean;
25841
+ check_in_start_time?: {
25842
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25843
+ duration: number;
25844
+ } | undefined;
25845
+ check_in_end_time?: {
25846
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
25847
+ duration: number;
25848
+ } | undefined;
25849
+ need_notify_attendees?: boolean | undefined;
25850
+ } | undefined;
25773
25851
  } | undefined;
25774
25852
  } | undefined;
25775
25853
  }>;
@@ -27132,6 +27210,18 @@ declare abstract class Client$Q extends Client$R {
27132
27210
  attachments?: Array<{
27133
27211
  file_token?: string;
27134
27212
  }>;
27213
+ event_check_in?: {
27214
+ enable_check_in: boolean;
27215
+ check_in_start_time?: {
27216
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27217
+ duration: number;
27218
+ };
27219
+ check_in_end_time?: {
27220
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27221
+ duration: number;
27222
+ };
27223
+ need_notify_attendees?: boolean;
27224
+ };
27135
27225
  };
27136
27226
  params?: {
27137
27227
  idempotency_key?: string;
@@ -27213,6 +27303,18 @@ declare abstract class Client$Q extends Client$R {
27213
27303
  is_deleted?: boolean | undefined;
27214
27304
  name?: string | undefined;
27215
27305
  }[] | undefined;
27306
+ event_check_in?: {
27307
+ enable_check_in: boolean;
27308
+ check_in_start_time?: {
27309
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27310
+ duration: number;
27311
+ } | undefined;
27312
+ check_in_end_time?: {
27313
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27314
+ duration: number;
27315
+ } | undefined;
27316
+ need_notify_attendees?: boolean | undefined;
27317
+ } | undefined;
27216
27318
  } | undefined;
27217
27319
  } | undefined;
27218
27320
  }>;
@@ -27356,6 +27458,18 @@ declare abstract class Client$Q extends Client$R {
27356
27458
  file_size?: string | undefined;
27357
27459
  name?: string | undefined;
27358
27460
  }[] | undefined;
27461
+ event_check_in?: {
27462
+ enable_check_in: boolean;
27463
+ check_in_start_time?: {
27464
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27465
+ duration: number;
27466
+ } | undefined;
27467
+ check_in_end_time?: {
27468
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27469
+ duration: number;
27470
+ } | undefined;
27471
+ need_notify_attendees?: boolean | undefined;
27472
+ } | undefined;
27359
27473
  } | undefined;
27360
27474
  } | undefined;
27361
27475
  }>;
@@ -27664,6 +27778,18 @@ declare abstract class Client$Q extends Client$R {
27664
27778
  file_token?: string;
27665
27779
  is_deleted?: boolean;
27666
27780
  }>;
27781
+ event_check_in?: {
27782
+ enable_check_in: boolean;
27783
+ check_in_start_time?: {
27784
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27785
+ duration: number;
27786
+ };
27787
+ check_in_end_time?: {
27788
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27789
+ duration: number;
27790
+ };
27791
+ need_notify_attendees?: boolean;
27792
+ };
27667
27793
  };
27668
27794
  params?: {
27669
27795
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -27745,6 +27871,18 @@ declare abstract class Client$Q extends Client$R {
27745
27871
  is_deleted?: boolean | undefined;
27746
27872
  name?: string | undefined;
27747
27873
  }[] | undefined;
27874
+ event_check_in?: {
27875
+ enable_check_in: boolean;
27876
+ check_in_start_time?: {
27877
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27878
+ duration: number;
27879
+ } | undefined;
27880
+ check_in_end_time?: {
27881
+ time_type: "before_event_start" | "after_event_start" | "after_event_end";
27882
+ duration: number;
27883
+ } | undefined;
27884
+ need_notify_attendees?: boolean | undefined;
27885
+ } | undefined;
27748
27886
  } | undefined;
27749
27887
  } | undefined;
27750
27888
  }>;
@@ -56648,7 +56786,6 @@ declare abstract class Client$J extends Client$K {
56648
56786
  */
56649
56787
  create: (payload?: {
56650
56788
  data: {
56651
- cost_center_version_id?: string;
56652
56789
  name: Array<{
56653
56790
  lang: string;
56654
56791
  value: string;
@@ -66268,6 +66405,10 @@ declare abstract class Client$J extends Client$K {
66268
66405
  };
66269
66406
  resident_status_specification?: string;
66270
66407
  year_resident_tax?: string;
66408
+ custom_fields?: Array<{
66409
+ field_name: string;
66410
+ value: string;
66411
+ }>;
66271
66412
  }>;
66272
66413
  born_country_region?: string;
66273
66414
  is_disabled?: boolean;
@@ -66286,6 +66427,10 @@ declare abstract class Client$J extends Client$K {
66286
66427
  issue_date?: string;
66287
66428
  expiration_date?: string;
66288
66429
  issued_by?: string;
66430
+ custom_fields?: Array<{
66431
+ field_name: string;
66432
+ value: string;
66433
+ }>;
66289
66434
  }>;
66290
66435
  spouses_working_status?: string;
66291
66436
  is_this_person_covered_by_health_insurance?: boolean;
@@ -66320,6 +66465,10 @@ declare abstract class Client$J extends Client$K {
66320
66465
  city_id_v2?: string;
66321
66466
  district_id_v2?: string;
66322
66467
  };
66468
+ custom_fields?: Array<{
66469
+ field_name: string;
66470
+ value: string;
66471
+ }>;
66323
66472
  }>;
66324
66473
  religion?: string;
66325
66474
  bank_account_list?: Array<{
@@ -66330,6 +66479,10 @@ declare abstract class Client$J extends Client$K {
66330
66479
  country_region_id?: string;
66331
66480
  bank_account_usages?: Array<string>;
66332
66481
  bank_account_type?: string;
66482
+ custom_fields?: Array<{
66483
+ field_name: string;
66484
+ value: string;
66485
+ }>;
66333
66486
  }>;
66334
66487
  national_id_list?: Array<{
66335
66488
  country_region_id: string;
@@ -66338,6 +66491,10 @@ declare abstract class Client$J extends Client$K {
66338
66491
  issue_date?: string;
66339
66492
  expiration_date?: string;
66340
66493
  issued_by?: string;
66494
+ custom_fields?: Array<{
66495
+ field_name: string;
66496
+ value: string;
66497
+ }>;
66341
66498
  }>;
66342
66499
  personal_profile_list?: Array<{
66343
66500
  personal_profile_type?: string;
@@ -66382,6 +66539,10 @@ declare abstract class Client$J extends Client$K {
66382
66539
  email_usage: string;
66383
66540
  };
66384
66541
  is_primary?: boolean;
66542
+ custom_fields?: Array<{
66543
+ field_name: string;
66544
+ value: string;
66545
+ }>;
66385
66546
  }>;
66386
66547
  address_list?: Array<{
66387
66548
  country_region_id: string;
@@ -66473,6 +66634,10 @@ declare abstract class Client$J extends Client$K {
66473
66634
  reasons_for_seniority_adjustment?: string;
66474
66635
  start_date?: string;
66475
66636
  end_date?: string;
66637
+ custom_fields?: Array<{
66638
+ field_name: string;
66639
+ value: string;
66640
+ }>;
66476
66641
  }>;
66477
66642
  notice_period_probation_voluntary?: {
66478
66643
  wk_id?: string;
@@ -66612,6 +66777,10 @@ declare abstract class Client$J extends Client$K {
66612
66777
  };
66613
66778
  resident_status_specification?: string;
66614
66779
  year_resident_tax?: string;
66780
+ custom_fields?: Array<{
66781
+ field_name: string;
66782
+ value: string;
66783
+ }>;
66615
66784
  }>;
66616
66785
  born_country_region?: string;
66617
66786
  is_disabled?: boolean;
@@ -66630,6 +66799,10 @@ declare abstract class Client$J extends Client$K {
66630
66799
  issue_date?: string;
66631
66800
  expiration_date?: string;
66632
66801
  issued_by?: string;
66802
+ custom_fields?: Array<{
66803
+ field_name: string;
66804
+ value: string;
66805
+ }>;
66633
66806
  }>;
66634
66807
  spouses_working_status?: string;
66635
66808
  is_this_person_covered_by_health_insurance?: boolean;
@@ -66664,6 +66837,10 @@ declare abstract class Client$J extends Client$K {
66664
66837
  city_id_v2?: string;
66665
66838
  district_id_v2?: string;
66666
66839
  };
66840
+ custom_fields?: Array<{
66841
+ field_name: string;
66842
+ value: string;
66843
+ }>;
66667
66844
  }>;
66668
66845
  religion?: string;
66669
66846
  bank_account_list?: Array<{
@@ -66674,6 +66851,10 @@ declare abstract class Client$J extends Client$K {
66674
66851
  country_region_id?: string;
66675
66852
  bank_account_usages?: Array<string>;
66676
66853
  bank_account_type?: string;
66854
+ custom_fields?: Array<{
66855
+ field_name: string;
66856
+ value: string;
66857
+ }>;
66677
66858
  }>;
66678
66859
  national_id_list?: Array<{
66679
66860
  country_region_id: string;
@@ -66682,6 +66863,10 @@ declare abstract class Client$J extends Client$K {
66682
66863
  issue_date?: string;
66683
66864
  expiration_date?: string;
66684
66865
  issued_by?: string;
66866
+ custom_fields?: Array<{
66867
+ field_name: string;
66868
+ value: string;
66869
+ }>;
66685
66870
  }>;
66686
66871
  personal_profile_list?: Array<{
66687
66872
  personal_profile_type?: string;
@@ -66726,6 +66911,10 @@ declare abstract class Client$J extends Client$K {
66726
66911
  email_usage: string;
66727
66912
  };
66728
66913
  is_primary?: boolean;
66914
+ custom_fields?: Array<{
66915
+ field_name: string;
66916
+ value: string;
66917
+ }>;
66729
66918
  }>;
66730
66919
  address_list?: Array<{
66731
66920
  country_region_id: string;
@@ -66837,6 +67026,10 @@ declare abstract class Client$J extends Client$K {
66837
67026
  reasons_for_seniority_adjustment?: string;
66838
67027
  start_date?: string;
66839
67028
  end_date?: string;
67029
+ custom_fields?: Array<{
67030
+ field_name: string;
67031
+ value: string;
67032
+ }>;
66840
67033
  }>;
66841
67034
  notice_period_probation_voluntary?: {
66842
67035
  wk_id?: string;
@@ -72123,6 +72316,16 @@ declare abstract class Client$J extends Client$K {
72123
72316
  department_value?: string;
72124
72317
  employment_value?: string;
72125
72318
  list_values?: Array<string>;
72319
+ file_value?: {
72320
+ open_file_id?: string;
72321
+ file_name?: string;
72322
+ length?: number;
72323
+ };
72324
+ record_values?: Array<{
72325
+ variable_api_name?: string;
72326
+ sub_value_key?: string;
72327
+ record_id?: string;
72328
+ }>;
72126
72329
  };
72127
72330
  sub_values?: Array<{
72128
72331
  key?: string;
@@ -72144,6 +72347,16 @@ declare abstract class Client$J extends Client$K {
72144
72347
  department_value?: string;
72145
72348
  employment_value?: string;
72146
72349
  list_values?: Array<string>;
72350
+ file_value?: {
72351
+ open_file_id?: string;
72352
+ file_name?: string;
72353
+ length?: number;
72354
+ };
72355
+ record_values?: Array<{
72356
+ variable_api_name?: string;
72357
+ sub_value_key?: string;
72358
+ record_id?: string;
72359
+ }>;
72147
72360
  };
72148
72361
  }>;
72149
72362
  }>;
@@ -72611,6 +72824,12 @@ declare abstract class Client$J extends Client$K {
72611
72824
  estimated_active_individuals?: string;
72612
72825
  }>;
72613
72826
  plan_value?: string;
72827
+ multi_period_values?: Array<{
72828
+ period_date?: string;
72829
+ workforce_plan?: string;
72830
+ individuals_to_be_added?: string;
72831
+ individuals_to_be_removed?: string;
72832
+ }>;
72614
72833
  }>;
72615
72834
  };
72616
72835
  }, options?: IRequestOptions$1) => Promise<{
@@ -72639,6 +72858,12 @@ declare abstract class Client$J extends Client$K {
72639
72858
  estimated_active_individuals?: string;
72640
72859
  }>;
72641
72860
  plan_value?: string;
72861
+ multi_period_values?: Array<{
72862
+ period_date?: string;
72863
+ workforce_plan?: string;
72864
+ individuals_to_be_added?: string;
72865
+ individuals_to_be_removed?: string;
72866
+ }>;
72642
72867
  }>;
72643
72868
  };
72644
72869
  }, options?: IRequestOptions$1) => Promise<{
@@ -72809,6 +73034,66 @@ declare abstract class Client$J extends Client$K {
72809
73034
  has_more?: boolean | undefined;
72810
73035
  } | undefined;
72811
73036
  }>;
73037
+ /**
73038
+ * {@link https://open.feishu.cn/api-explorer?project=corehr&resource=workforce_plan_detail&apiName=batch_v2&version=v2 click to debug }
73039
+ *
73040
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_v2&project=corehr&resource=workforce_plan_detail&version=v2 document }
73041
+ */
73042
+ batchV2: (payload?: {
73043
+ data?: {
73044
+ workforce_plan_id?: string;
73045
+ is_centralized_reporting_project?: boolean;
73046
+ centralized_reporting_project_id?: string;
73047
+ dimension_id_in_datas?: Array<{
73048
+ dimension_key?: string;
73049
+ dimension_ids?: Array<string>;
73050
+ }>;
73051
+ };
73052
+ params?: {
73053
+ page_token?: string;
73054
+ page_size?: number;
73055
+ };
73056
+ }, options?: IRequestOptions$1) => Promise<{
73057
+ code?: number | undefined;
73058
+ msg?: string | undefined;
73059
+ data?: {
73060
+ workforce_plan_id?: string | undefined;
73061
+ centralized_reporting_project_id?: string | undefined;
73062
+ items?: {
73063
+ workforce_plan_detail_id?: string | undefined;
73064
+ dimension_info_datas?: {
73065
+ dimension_key?: string | undefined;
73066
+ dimension_info?: {
73067
+ id: string;
73068
+ name?: {
73069
+ lang: string;
73070
+ value: string;
73071
+ }[] | undefined;
73072
+ } | undefined;
73073
+ }[] | undefined;
73074
+ workforce_plan?: string | undefined;
73075
+ active_individuals?: string | undefined;
73076
+ individuals_to_be_added?: string | undefined;
73077
+ individuals_to_be_removed?: string | undefined;
73078
+ vacancy?: string | undefined;
73079
+ vacancy_including_individuals_to_be_added_and_removed?: string | undefined;
73080
+ fulfillment_rate?: string | undefined;
73081
+ fulfillment_rate_including_individuals_to_be_added_and_removed?: string | undefined;
73082
+ estimated_active_individuals_details?: {
73083
+ date?: string | undefined;
73084
+ estimated_active_individuals?: string | undefined;
73085
+ }[] | undefined;
73086
+ multi_period_values?: {
73087
+ period_date?: string | undefined;
73088
+ workforce_plan?: string | undefined;
73089
+ individuals_to_be_added?: string | undefined;
73090
+ individuals_to_be_removed?: string | undefined;
73091
+ }[] | undefined;
73092
+ }[] | undefined;
73093
+ page_token?: string | undefined;
73094
+ has_more?: boolean | undefined;
73095
+ } | undefined;
73096
+ }>;
72812
73097
  };
72813
73098
  /**
72814
73099
  * workforce_plan_detail_row
@@ -72834,6 +73119,12 @@ declare abstract class Client$J extends Client$K {
72834
73119
  estimated_active_individuals?: string;
72835
73120
  }>;
72836
73121
  plan_value?: string;
73122
+ multi_period_values?: Array<{
73123
+ period_date?: string;
73124
+ workforce_plan?: string;
73125
+ individuals_to_be_added?: string;
73126
+ individuals_to_be_removed?: string;
73127
+ }>;
72837
73128
  }>;
72838
73129
  };
72839
73130
  }, options?: IRequestOptions$1) => Promise<{
@@ -72861,6 +73152,12 @@ declare abstract class Client$J extends Client$K {
72861
73152
  estimated_active_individuals?: string;
72862
73153
  }>;
72863
73154
  plan_value?: string;
73155
+ multi_period_values?: Array<{
73156
+ period_date?: string;
73157
+ workforce_plan?: string;
73158
+ individuals_to_be_added?: string;
73159
+ individuals_to_be_removed?: string;
73160
+ }>;
72864
73161
  }>;
72865
73162
  };
72866
73163
  }, options?: IRequestOptions$1) => Promise<{
@@ -175666,7 +175963,7 @@ declare abstract class Client$E extends Client$F {
175666
175963
  }>;
175667
175964
  };
175668
175965
  /**
175669
- * 分片上传
175966
+ * 上传
175670
175967
  */
175671
175968
  file: {
175672
175969
  /**
@@ -177625,7 +177922,7 @@ declare abstract class Client$E extends Client$F {
177625
177922
  }>;
177626
177923
  };
177627
177924
  /**
177628
- * 分片上传
177925
+ * 上传
177629
177926
  */
177630
177927
  file: {
177631
177928
  /**
@@ -189344,7 +189641,6 @@ declare abstract class Client$u extends Client$v {
189344
189641
  items?: {
189345
189642
  user_id?: string | undefined;
189346
189643
  verify_status?: number | undefined;
189347
- tag_id_list?: string[] | undefined;
189348
189644
  }[] | undefined;
189349
189645
  } | null, void, unknown>;
189350
189646
  }>;
@@ -189370,7 +189666,6 @@ declare abstract class Client$u extends Client$v {
189370
189666
  items?: {
189371
189667
  user_id?: string | undefined;
189372
189668
  verify_status?: number | undefined;
189373
- tag_id_list?: string[] | undefined;
189374
189669
  }[] | undefined;
189375
189670
  page_token?: string | undefined;
189376
189671
  has_more?: boolean | undefined;
@@ -189386,7 +189681,6 @@ declare abstract class Client$u extends Client$v {
189386
189681
  interviewer: {
189387
189682
  user_id?: string;
189388
189683
  verify_status?: number;
189389
- tag_id_list?: Array<string>;
189390
189684
  };
189391
189685
  };
189392
189686
  params?: {
@@ -189402,7 +189696,6 @@ declare abstract class Client$u extends Client$v {
189402
189696
  interviewer?: {
189403
189697
  user_id?: string | undefined;
189404
189698
  verify_status?: number | undefined;
189405
- tag_id_list?: string[] | undefined;
189406
189699
  } | undefined;
189407
189700
  } | undefined;
189408
189701
  }>;
@@ -191422,6 +191715,8 @@ declare abstract class Client$u extends Client$v {
191422
191715
  update_time?: string | undefined;
191423
191716
  employment_job_id?: string | undefined;
191424
191717
  position_id?: string | undefined;
191718
+ completion_time?: string | undefined;
191719
+ approval_status?: number | undefined;
191425
191720
  } | undefined;
191426
191721
  } | undefined;
191427
191722
  }>;
@@ -191603,6 +191898,8 @@ declare abstract class Client$u extends Client$v {
191603
191898
  update_time?: string | undefined;
191604
191899
  employment_job_id?: string | undefined;
191605
191900
  position_id?: string | undefined;
191901
+ completion_time?: string | undefined;
191902
+ approval_status?: number | undefined;
191606
191903
  }[] | undefined;
191607
191904
  } | undefined;
191608
191905
  }>;
@@ -191616,6 +191913,7 @@ declare abstract class Client$u extends Client$v {
191616
191913
  listById: (payload?: {
191617
191914
  data?: {
191618
191915
  id_list?: Array<string>;
191916
+ short_code_list?: Array<string>;
191619
191917
  };
191620
191918
  params?: {
191621
191919
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -191758,6 +192056,8 @@ declare abstract class Client$u extends Client$v {
191758
192056
  update_time?: string | undefined;
191759
192057
  employment_job_id?: string | undefined;
191760
192058
  position_id?: string | undefined;
192059
+ completion_time?: string | undefined;
192060
+ approval_status?: number | undefined;
191761
192061
  }[] | undefined;
191762
192062
  } | undefined;
191763
192063
  }>;
@@ -203264,7 +203564,6 @@ declare abstract class Client$u extends Client$v {
203264
203564
  items?: {
203265
203565
  user_id?: string | undefined;
203266
203566
  verify_status?: number | undefined;
203267
- tag_id_list?: string[] | undefined;
203268
203567
  }[] | undefined;
203269
203568
  } | null, void, unknown>;
203270
203569
  }>;
@@ -203290,7 +203589,6 @@ declare abstract class Client$u extends Client$v {
203290
203589
  items?: {
203291
203590
  user_id?: string | undefined;
203292
203591
  verify_status?: number | undefined;
203293
- tag_id_list?: string[] | undefined;
203294
203592
  }[] | undefined;
203295
203593
  page_token?: string | undefined;
203296
203594
  has_more?: boolean | undefined;
@@ -203306,7 +203604,6 @@ declare abstract class Client$u extends Client$v {
203306
203604
  interviewer: {
203307
203605
  user_id?: string;
203308
203606
  verify_status?: number;
203309
- tag_id_list?: Array<string>;
203310
203607
  };
203311
203608
  };
203312
203609
  params?: {
@@ -203322,7 +203619,6 @@ declare abstract class Client$u extends Client$v {
203322
203619
  interviewer?: {
203323
203620
  user_id?: string | undefined;
203324
203621
  verify_status?: number | undefined;
203325
- tag_id_list?: string[] | undefined;
203326
203622
  } | undefined;
203327
203623
  } | undefined;
203328
203624
  }>;
@@ -205342,6 +205638,8 @@ declare abstract class Client$u extends Client$v {
205342
205638
  update_time?: string | undefined;
205343
205639
  employment_job_id?: string | undefined;
205344
205640
  position_id?: string | undefined;
205641
+ completion_time?: string | undefined;
205642
+ approval_status?: number | undefined;
205345
205643
  } | undefined;
205346
205644
  } | undefined;
205347
205645
  }>;
@@ -205523,6 +205821,8 @@ declare abstract class Client$u extends Client$v {
205523
205821
  update_time?: string | undefined;
205524
205822
  employment_job_id?: string | undefined;
205525
205823
  position_id?: string | undefined;
205824
+ completion_time?: string | undefined;
205825
+ approval_status?: number | undefined;
205526
205826
  }[] | undefined;
205527
205827
  } | undefined;
205528
205828
  }>;
@@ -205536,6 +205836,7 @@ declare abstract class Client$u extends Client$v {
205536
205836
  listById: (payload?: {
205537
205837
  data?: {
205538
205838
  id_list?: Array<string>;
205839
+ short_code_list?: Array<string>;
205539
205840
  };
205540
205841
  params?: {
205541
205842
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -205678,6 +205979,8 @@ declare abstract class Client$u extends Client$v {
205678
205979
  update_time?: string | undefined;
205679
205980
  employment_job_id?: string | undefined;
205680
205981
  position_id?: string | undefined;
205982
+ completion_time?: string | undefined;
205983
+ approval_status?: number | undefined;
205681
205984
  }[] | undefined;
205682
205985
  } | undefined;
205683
205986
  }>;