@larksuiteoapi/node-sdk 1.11.1 → 1.12.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
@@ -3373,6 +3373,126 @@ class Client$1 {
3373
3373
  }),
3374
3374
  },
3375
3375
  };
3376
+ /**
3377
+
3378
+ */
3379
+ this.auth = {
3380
+ /**
3381
+ * app_access_token
3382
+ */
3383
+ appAccessToken: {
3384
+ /**
3385
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_access_token&apiName=create&version=v3 click to debug }
3386
+ *
3387
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=auth&resource=app_access_token&version=v3 document }
3388
+ */
3389
+ create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3390
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3391
+ return httpInstance
3392
+ .request({
3393
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/app_access_token`, path),
3394
+ method: "POST",
3395
+ data,
3396
+ params,
3397
+ headers,
3398
+ })
3399
+ .catch((e) => {
3400
+ this.logger.error(formatErrors(e));
3401
+ throw e;
3402
+ });
3403
+ }),
3404
+ /**
3405
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_access_token&apiName=internal&version=v3 click to debug }
3406
+ *
3407
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=internal&project=auth&resource=app_access_token&version=v3 document }
3408
+ */
3409
+ internal: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3410
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3411
+ return httpInstance
3412
+ .request({
3413
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/app_access_token/internal`, path),
3414
+ method: "POST",
3415
+ data,
3416
+ params,
3417
+ headers,
3418
+ })
3419
+ .catch((e) => {
3420
+ this.logger.error(formatErrors(e));
3421
+ throw e;
3422
+ });
3423
+ }),
3424
+ },
3425
+ /**
3426
+ * app_ticket
3427
+ */
3428
+ appTicket: {
3429
+ /**
3430
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_ticket&apiName=resend&version=v3 click to debug }
3431
+ *
3432
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=resend&project=auth&resource=app_ticket&version=v3 document }
3433
+ */
3434
+ resend: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3435
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3436
+ return httpInstance
3437
+ .request({
3438
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/app_ticket/resend`, path),
3439
+ method: "POST",
3440
+ data,
3441
+ params,
3442
+ headers,
3443
+ })
3444
+ .catch((e) => {
3445
+ this.logger.error(formatErrors(e));
3446
+ throw e;
3447
+ });
3448
+ }),
3449
+ },
3450
+ /**
3451
+ * tenant_access_token
3452
+ */
3453
+ tenantAccessToken: {
3454
+ /**
3455
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=tenant_access_token&apiName=create&version=v3 click to debug }
3456
+ *
3457
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=auth&resource=tenant_access_token&version=v3 document }
3458
+ */
3459
+ create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3460
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3461
+ return httpInstance
3462
+ .request({
3463
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/tenant_access_token`, path),
3464
+ method: "POST",
3465
+ data,
3466
+ params,
3467
+ headers,
3468
+ })
3469
+ .catch((e) => {
3470
+ this.logger.error(formatErrors(e));
3471
+ throw e;
3472
+ });
3473
+ }),
3474
+ /**
3475
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=tenant_access_token&apiName=internal&version=v3 click to debug }
3476
+ *
3477
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=internal&project=auth&resource=tenant_access_token&version=v3 document }
3478
+ */
3479
+ internal: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3480
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3481
+ return httpInstance
3482
+ .request({
3483
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/tenant_access_token/internal`, path),
3484
+ method: "POST",
3485
+ data,
3486
+ params,
3487
+ headers,
3488
+ })
3489
+ .catch((e) => {
3490
+ this.logger.error(formatErrors(e));
3491
+ throw e;
3492
+ });
3493
+ }),
3494
+ },
3495
+ };
3376
3496
  /**
3377
3497
 
3378
3498
  */
@@ -8730,7 +8850,7 @@ class Client$1 {
8730
8850
  },
8731
8851
  };
8732
8852
  /**
8733
- * 云文档-文件管理
8853
+ * 云文档-文档
8734
8854
  */
8735
8855
  this.drive = {
8736
8856
  /**
@@ -9028,7 +9148,7 @@ class Client$1 {
9028
9148
  }),
9029
9149
  },
9030
9150
  /**
9031
- * 文件夹
9151
+ * 事件
9032
9152
  */
9033
9153
  file: {
9034
9154
  /**
@@ -9764,7 +9884,7 @@ class Client$1 {
9764
9884
  }),
9765
9885
  },
9766
9886
  /**
9767
- * 素材
9887
+ * 分片上传
9768
9888
  */
9769
9889
  media: {
9770
9890
  /**
@@ -11972,7 +12092,7 @@ class Client$1 {
11972
12092
  */
11973
12093
  this.hire = {
11974
12094
  /**
11975
- * 投递
12095
+ * 入职
11976
12096
  */
11977
12097
  application: {
11978
12098
  /**
package/lib/index.js CHANGED
@@ -3388,6 +3388,126 @@ class Client$1 {
3388
3388
  }),
3389
3389
  },
3390
3390
  };
3391
+ /**
3392
+
3393
+ */
3394
+ this.auth = {
3395
+ /**
3396
+ * app_access_token
3397
+ */
3398
+ appAccessToken: {
3399
+ /**
3400
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_access_token&apiName=create&version=v3 click to debug }
3401
+ *
3402
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=auth&resource=app_access_token&version=v3 document }
3403
+ */
3404
+ create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3405
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3406
+ return httpInstance
3407
+ .request({
3408
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/app_access_token`, path),
3409
+ method: "POST",
3410
+ data,
3411
+ params,
3412
+ headers,
3413
+ })
3414
+ .catch((e) => {
3415
+ this.logger.error(formatErrors(e));
3416
+ throw e;
3417
+ });
3418
+ }),
3419
+ /**
3420
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_access_token&apiName=internal&version=v3 click to debug }
3421
+ *
3422
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=internal&project=auth&resource=app_access_token&version=v3 document }
3423
+ */
3424
+ internal: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3425
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3426
+ return httpInstance
3427
+ .request({
3428
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/app_access_token/internal`, path),
3429
+ method: "POST",
3430
+ data,
3431
+ params,
3432
+ headers,
3433
+ })
3434
+ .catch((e) => {
3435
+ this.logger.error(formatErrors(e));
3436
+ throw e;
3437
+ });
3438
+ }),
3439
+ },
3440
+ /**
3441
+ * app_ticket
3442
+ */
3443
+ appTicket: {
3444
+ /**
3445
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_ticket&apiName=resend&version=v3 click to debug }
3446
+ *
3447
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=resend&project=auth&resource=app_ticket&version=v3 document }
3448
+ */
3449
+ resend: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3450
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3451
+ return httpInstance
3452
+ .request({
3453
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/app_ticket/resend`, path),
3454
+ method: "POST",
3455
+ data,
3456
+ params,
3457
+ headers,
3458
+ })
3459
+ .catch((e) => {
3460
+ this.logger.error(formatErrors(e));
3461
+ throw e;
3462
+ });
3463
+ }),
3464
+ },
3465
+ /**
3466
+ * tenant_access_token
3467
+ */
3468
+ tenantAccessToken: {
3469
+ /**
3470
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=tenant_access_token&apiName=create&version=v3 click to debug }
3471
+ *
3472
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=auth&resource=tenant_access_token&version=v3 document }
3473
+ */
3474
+ create: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3475
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3476
+ return httpInstance
3477
+ .request({
3478
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/tenant_access_token`, path),
3479
+ method: "POST",
3480
+ data,
3481
+ params,
3482
+ headers,
3483
+ })
3484
+ .catch((e) => {
3485
+ this.logger.error(formatErrors(e));
3486
+ throw e;
3487
+ });
3488
+ }),
3489
+ /**
3490
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=tenant_access_token&apiName=internal&version=v3 click to debug }
3491
+ *
3492
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=internal&project=auth&resource=tenant_access_token&version=v3 document }
3493
+ */
3494
+ internal: (payload, options) => __awaiter(this, void 0, void 0, function* () {
3495
+ const { headers, params, data, path } = yield this.formatPayload(payload, options);
3496
+ return httpInstance
3497
+ .request({
3498
+ url: fillApiPath(`${this.domain}/open-apis/auth/v3/tenant_access_token/internal`, path),
3499
+ method: "POST",
3500
+ data,
3501
+ params,
3502
+ headers,
3503
+ })
3504
+ .catch((e) => {
3505
+ this.logger.error(formatErrors(e));
3506
+ throw e;
3507
+ });
3508
+ }),
3509
+ },
3510
+ };
3391
3511
  /**
3392
3512
 
3393
3513
  */
@@ -8745,7 +8865,7 @@ class Client$1 {
8745
8865
  },
8746
8866
  };
8747
8867
  /**
8748
- * 云文档-文件管理
8868
+ * 云文档-文档
8749
8869
  */
8750
8870
  this.drive = {
8751
8871
  /**
@@ -9043,7 +9163,7 @@ class Client$1 {
9043
9163
  }),
9044
9164
  },
9045
9165
  /**
9046
- * 文件夹
9166
+ * 事件
9047
9167
  */
9048
9168
  file: {
9049
9169
  /**
@@ -9779,7 +9899,7 @@ class Client$1 {
9779
9899
  }),
9780
9900
  },
9781
9901
  /**
9782
- * 素材
9902
+ * 分片上传
9783
9903
  */
9784
9904
  media: {
9785
9905
  /**
@@ -11987,7 +12107,7 @@ class Client$1 {
11987
12107
  */
11988
12108
  this.hire = {
11989
12109
  /**
11990
- * 投递
12110
+ * 入职
11991
12111
  */
11992
12112
  application: {
11993
12113
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.11.1",
3
+ "version": "1.12.0",
4
4
  "description": "larksuite open sdk for nodejs",
5
5
  "keywords": [
6
6
  "feishu",
package/types/index.d.ts CHANGED
@@ -1883,10 +1883,17 @@ declare abstract class Client$1 {
1883
1883
  writable: Array<string>;
1884
1884
  readable: Array<string>;
1885
1885
  };
1886
+ approver_chosen_multi?: boolean;
1887
+ approver_chosen_range?: Array<{
1888
+ type?: "ALL" | "PERSONAL" | "ROLE";
1889
+ id_list?: Array<string>;
1890
+ }>;
1891
+ starter_assignee?: "STARTER" | "AUTO_PASS" | "SUPERVISOR" | "DEPARTMENT_MANAGER";
1886
1892
  }>;
1887
1893
  settings?: {
1888
1894
  revert_interval?: number;
1889
1895
  revert_option?: number;
1896
+ reject_option?: number;
1890
1897
  };
1891
1898
  config?: {
1892
1899
  can_update_viewer: boolean;
@@ -2506,6 +2513,15 @@ declare abstract class Client$1 {
2506
2513
  allow_resubmit?: boolean;
2507
2514
  allow_submit_again?: boolean;
2508
2515
  cancel_bot_notification?: string;
2516
+ forbid_revoke?: boolean;
2517
+ i18n_resources?: Array<{
2518
+ locale: "zh-CN" | "en-US" | "ja-JP";
2519
+ texts: Array<{
2520
+ key: string;
2521
+ value: string;
2522
+ }>;
2523
+ is_default: boolean;
2524
+ }>;
2509
2525
  };
2510
2526
  }, options?: IRequestOptions$1) => Promise<{
2511
2527
  code?: number | undefined;
@@ -3279,6 +3295,7 @@ declare abstract class Client$1 {
3279
3295
  } | undefined;
3280
3296
  task_id?: string | undefined;
3281
3297
  update_time?: string | undefined;
3298
+ task_external_id?: string | undefined;
3282
3299
  } | undefined;
3283
3300
  }[] | undefined;
3284
3301
  page_token?: string | undefined;
@@ -4951,6 +4968,102 @@ declare abstract class Client$1 {
4951
4968
  }>;
4952
4969
  };
4953
4970
  };
4971
+ /**
4972
+
4973
+ */
4974
+ auth: {
4975
+ /**
4976
+ * app_access_token
4977
+ */
4978
+ appAccessToken: {
4979
+ /**
4980
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_access_token&apiName=create&version=v3 click to debug }
4981
+ *
4982
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=auth&resource=app_access_token&version=v3 document }
4983
+ */
4984
+ create: (payload?: {
4985
+ data: {
4986
+ app_id: string;
4987
+ app_secret: string;
4988
+ app_ticket: string;
4989
+ };
4990
+ }, options?: IRequestOptions$1) => Promise<{
4991
+ code?: number | undefined;
4992
+ msg?: string | undefined;
4993
+ data?: {} | undefined;
4994
+ }>;
4995
+ /**
4996
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_access_token&apiName=internal&version=v3 click to debug }
4997
+ *
4998
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=internal&project=auth&resource=app_access_token&version=v3 document }
4999
+ */
5000
+ internal: (payload?: {
5001
+ data: {
5002
+ app_id: string;
5003
+ app_secret: string;
5004
+ };
5005
+ }, options?: IRequestOptions$1) => Promise<{
5006
+ code?: number | undefined;
5007
+ msg?: string | undefined;
5008
+ data?: {} | undefined;
5009
+ }>;
5010
+ };
5011
+ /**
5012
+ * app_ticket
5013
+ */
5014
+ appTicket: {
5015
+ /**
5016
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=app_ticket&apiName=resend&version=v3 click to debug }
5017
+ *
5018
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=resend&project=auth&resource=app_ticket&version=v3 document }
5019
+ */
5020
+ resend: (payload?: {
5021
+ data: {
5022
+ app_id: string;
5023
+ app_secret: string;
5024
+ };
5025
+ }, options?: IRequestOptions$1) => Promise<{
5026
+ code?: number | undefined;
5027
+ msg?: string | undefined;
5028
+ data?: {} | undefined;
5029
+ }>;
5030
+ };
5031
+ /**
5032
+ * tenant_access_token
5033
+ */
5034
+ tenantAccessToken: {
5035
+ /**
5036
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=tenant_access_token&apiName=create&version=v3 click to debug }
5037
+ *
5038
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=auth&resource=tenant_access_token&version=v3 document }
5039
+ */
5040
+ create: (payload?: {
5041
+ data: {
5042
+ app_access_token: string;
5043
+ tenant_key: string;
5044
+ };
5045
+ }, options?: IRequestOptions$1) => Promise<{
5046
+ code?: number | undefined;
5047
+ msg?: string | undefined;
5048
+ data?: {} | undefined;
5049
+ }>;
5050
+ /**
5051
+ * {@link https://open.feishu.cn/api-explorer?project=auth&resource=tenant_access_token&apiName=internal&version=v3 click to debug }
5052
+ *
5053
+ * {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=internal&project=auth&resource=tenant_access_token&version=v3 document }
5054
+ */
5055
+ internal: (payload?: {
5056
+ data: {
5057
+ app_id: string;
5058
+ app_secret: string;
5059
+ };
5060
+ }, options?: IRequestOptions$1) => Promise<{
5061
+ code?: number | undefined;
5062
+ msg?: string | undefined;
5063
+ data?: {} | undefined;
5064
+ }>;
5065
+ };
5066
+ };
4954
5067
  /**
4955
5068
 
4956
5069
  */
@@ -7195,6 +7308,7 @@ declare abstract class Client$1 {
7195
7308
  disable_sync?: boolean | undefined;
7196
7309
  text?: string | undefined;
7197
7310
  } | undefined;
7311
+ ui_type?: string | undefined;
7198
7312
  };
7199
7313
  params?: {
7200
7314
  client_token?: string | undefined;
@@ -7240,6 +7354,8 @@ declare abstract class Client$1 {
7240
7354
  disable_sync?: boolean | undefined;
7241
7355
  text?: string | undefined;
7242
7356
  } | undefined;
7357
+ is_primary?: boolean | undefined;
7358
+ ui_type?: string | undefined;
7243
7359
  } | undefined;
7244
7360
  } | undefined;
7245
7361
  }>;
@@ -7315,6 +7431,8 @@ declare abstract class Client$1 {
7315
7431
  disable_sync?: boolean | undefined;
7316
7432
  text?: string | undefined;
7317
7433
  } | undefined;
7434
+ is_primary?: boolean | undefined;
7435
+ ui_type?: string | undefined;
7318
7436
  }[] | undefined;
7319
7437
  } | null, void, unknown>;
7320
7438
  }>;
@@ -7380,6 +7498,8 @@ declare abstract class Client$1 {
7380
7498
  disable_sync?: boolean | undefined;
7381
7499
  text?: string | undefined;
7382
7500
  } | undefined;
7501
+ is_primary?: boolean | undefined;
7502
+ ui_type?: string | undefined;
7383
7503
  }[] | undefined;
7384
7504
  } | undefined;
7385
7505
  }>;
@@ -7427,6 +7547,7 @@ declare abstract class Client$1 {
7427
7547
  disable_sync?: boolean | undefined;
7428
7548
  text?: string | undefined;
7429
7549
  } | undefined;
7550
+ ui_type?: string | undefined;
7430
7551
  };
7431
7552
  path: {
7432
7553
  app_token: string;
@@ -7470,6 +7591,8 @@ declare abstract class Client$1 {
7470
7591
  disable_sync?: boolean | undefined;
7471
7592
  text?: string | undefined;
7472
7593
  } | undefined;
7594
+ is_primary?: boolean | undefined;
7595
+ ui_type?: string | undefined;
7473
7596
  } | undefined;
7474
7597
  } | undefined;
7475
7598
  }>;
@@ -7664,6 +7787,7 @@ declare abstract class Client$1 {
7664
7787
  name?: string;
7665
7788
  en_name?: string;
7666
7789
  email?: string;
7790
+ avatar_url?: string;
7667
7791
  };
7668
7792
  created_time?: number;
7669
7793
  last_modified_by?: {
@@ -7671,6 +7795,7 @@ declare abstract class Client$1 {
7671
7795
  name?: string;
7672
7796
  en_name?: string;
7673
7797
  email?: string;
7798
+ avatar_url?: string;
7674
7799
  };
7675
7800
  last_modified_time?: number;
7676
7801
  fields: Record<string, string | boolean | {
@@ -7689,6 +7814,7 @@ declare abstract class Client$1 {
7689
7814
  name?: string;
7690
7815
  en_name?: string;
7691
7816
  email?: string;
7817
+ avatar_url?: string;
7692
7818
  }> | Array<{
7693
7819
  file_token?: string;
7694
7820
  name?: string;
@@ -7718,6 +7844,7 @@ declare abstract class Client$1 {
7718
7844
  name?: string | undefined;
7719
7845
  en_name?: string | undefined;
7720
7846
  email?: string | undefined;
7847
+ avatar_url?: string | undefined;
7721
7848
  } | undefined;
7722
7849
  created_time?: number | undefined;
7723
7850
  last_modified_by?: {
@@ -7725,6 +7852,7 @@ declare abstract class Client$1 {
7725
7852
  name?: string | undefined;
7726
7853
  en_name?: string | undefined;
7727
7854
  email?: string | undefined;
7855
+ avatar_url?: string | undefined;
7728
7856
  } | undefined;
7729
7857
  last_modified_time?: number | undefined;
7730
7858
  fields: Record<string, string | boolean | {
@@ -7743,6 +7871,7 @@ declare abstract class Client$1 {
7743
7871
  name?: string;
7744
7872
  en_name?: string;
7745
7873
  email?: string;
7874
+ avatar_url?: string;
7746
7875
  }> | Array<{
7747
7876
  file_token?: string;
7748
7877
  name?: string;
@@ -7803,6 +7932,7 @@ declare abstract class Client$1 {
7803
7932
  name?: string;
7804
7933
  en_name?: string;
7805
7934
  email?: string;
7935
+ avatar_url?: string;
7806
7936
  };
7807
7937
  created_time?: number;
7808
7938
  last_modified_by?: {
@@ -7810,6 +7940,7 @@ declare abstract class Client$1 {
7810
7940
  name?: string;
7811
7941
  en_name?: string;
7812
7942
  email?: string;
7943
+ avatar_url?: string;
7813
7944
  };
7814
7945
  last_modified_time?: number;
7815
7946
  fields: Record<string, string | boolean | {
@@ -7828,6 +7959,7 @@ declare abstract class Client$1 {
7828
7959
  name?: string;
7829
7960
  en_name?: string;
7830
7961
  email?: string;
7962
+ avatar_url?: string;
7831
7963
  }> | Array<{
7832
7964
  file_token?: string;
7833
7965
  name?: string;
@@ -7856,6 +7988,7 @@ declare abstract class Client$1 {
7856
7988
  name?: string | undefined;
7857
7989
  en_name?: string | undefined;
7858
7990
  email?: string | undefined;
7991
+ avatar_url?: string | undefined;
7859
7992
  } | undefined;
7860
7993
  created_time?: number | undefined;
7861
7994
  last_modified_by?: {
@@ -7863,6 +7996,7 @@ declare abstract class Client$1 {
7863
7996
  name?: string | undefined;
7864
7997
  en_name?: string | undefined;
7865
7998
  email?: string | undefined;
7999
+ avatar_url?: string | undefined;
7866
8000
  } | undefined;
7867
8001
  last_modified_time?: number | undefined;
7868
8002
  fields: Record<string, string | boolean | {
@@ -7881,6 +8015,7 @@ declare abstract class Client$1 {
7881
8015
  name?: string;
7882
8016
  en_name?: string;
7883
8017
  email?: string;
8018
+ avatar_url?: string;
7884
8019
  }> | Array<{
7885
8020
  file_token?: string;
7886
8021
  name?: string;
@@ -7949,6 +8084,7 @@ declare abstract class Client$1 {
7949
8084
  name?: string | undefined;
7950
8085
  en_name?: string | undefined;
7951
8086
  email?: string | undefined;
8087
+ avatar_url?: string | undefined;
7952
8088
  } | undefined;
7953
8089
  created_time?: number | undefined;
7954
8090
  last_modified_by?: {
@@ -7956,6 +8092,7 @@ declare abstract class Client$1 {
7956
8092
  name?: string | undefined;
7957
8093
  en_name?: string | undefined;
7958
8094
  email?: string | undefined;
8095
+ avatar_url?: string | undefined;
7959
8096
  } | undefined;
7960
8097
  last_modified_time?: number | undefined;
7961
8098
  fields: Record<string, string | boolean | {
@@ -7974,6 +8111,7 @@ declare abstract class Client$1 {
7974
8111
  name?: string;
7975
8112
  en_name?: string;
7976
8113
  email?: string;
8114
+ avatar_url?: string;
7977
8115
  }> | Array<{
7978
8116
  file_token?: string;
7979
8117
  name?: string;
@@ -8044,6 +8182,7 @@ declare abstract class Client$1 {
8044
8182
  name?: string | undefined;
8045
8183
  en_name?: string | undefined;
8046
8184
  email?: string | undefined;
8185
+ avatar_url?: string | undefined;
8047
8186
  } | undefined;
8048
8187
  created_time?: number | undefined;
8049
8188
  last_modified_by?: {
@@ -8051,6 +8190,7 @@ declare abstract class Client$1 {
8051
8190
  name?: string | undefined;
8052
8191
  en_name?: string | undefined;
8053
8192
  email?: string | undefined;
8193
+ avatar_url?: string | undefined;
8054
8194
  } | undefined;
8055
8195
  last_modified_time?: number | undefined;
8056
8196
  fields: Record<string, string | boolean | {
@@ -8069,6 +8209,7 @@ declare abstract class Client$1 {
8069
8209
  name?: string;
8070
8210
  en_name?: string;
8071
8211
  email?: string;
8212
+ avatar_url?: string;
8072
8213
  }> | Array<{
8073
8214
  file_token?: string;
8074
8215
  name?: string;
@@ -8107,6 +8248,7 @@ declare abstract class Client$1 {
8107
8248
  name?: string | undefined;
8108
8249
  en_name?: string | undefined;
8109
8250
  email?: string | undefined;
8251
+ avatar_url?: string | undefined;
8110
8252
  } | undefined;
8111
8253
  created_time?: number | undefined;
8112
8254
  last_modified_by?: {
@@ -8114,6 +8256,7 @@ declare abstract class Client$1 {
8114
8256
  name?: string | undefined;
8115
8257
  en_name?: string | undefined;
8116
8258
  email?: string | undefined;
8259
+ avatar_url?: string | undefined;
8117
8260
  } | undefined;
8118
8261
  last_modified_time?: number | undefined;
8119
8262
  fields: Record<string, string | boolean | {
@@ -8132,6 +8275,7 @@ declare abstract class Client$1 {
8132
8275
  name?: string;
8133
8276
  en_name?: string;
8134
8277
  email?: string;
8278
+ avatar_url?: string;
8135
8279
  }> | Array<{
8136
8280
  file_token?: string;
8137
8281
  name?: string;
@@ -8185,6 +8329,7 @@ declare abstract class Client$1 {
8185
8329
  name?: string | undefined;
8186
8330
  en_name?: string | undefined;
8187
8331
  email?: string | undefined;
8332
+ avatar_url?: string | undefined;
8188
8333
  } | undefined;
8189
8334
  created_time?: number | undefined;
8190
8335
  last_modified_by?: {
@@ -8192,6 +8337,7 @@ declare abstract class Client$1 {
8192
8337
  name?: string | undefined;
8193
8338
  en_name?: string | undefined;
8194
8339
  email?: string | undefined;
8340
+ avatar_url?: string | undefined;
8195
8341
  } | undefined;
8196
8342
  last_modified_time?: number | undefined;
8197
8343
  fields: Record<string, string | boolean | {
@@ -8210,6 +8356,7 @@ declare abstract class Client$1 {
8210
8356
  name?: string;
8211
8357
  en_name?: string;
8212
8358
  email?: string;
8359
+ avatar_url?: string;
8213
8360
  }> | Array<{
8214
8361
  file_token?: string;
8215
8362
  name?: string;
@@ -8278,6 +8425,7 @@ declare abstract class Client$1 {
8278
8425
  name?: string | undefined;
8279
8426
  en_name?: string | undefined;
8280
8427
  email?: string | undefined;
8428
+ avatar_url?: string | undefined;
8281
8429
  } | undefined;
8282
8430
  created_time?: number | undefined;
8283
8431
  last_modified_by?: {
@@ -8285,6 +8433,7 @@ declare abstract class Client$1 {
8285
8433
  name?: string | undefined;
8286
8434
  en_name?: string | undefined;
8287
8435
  email?: string | undefined;
8436
+ avatar_url?: string | undefined;
8288
8437
  } | undefined;
8289
8438
  last_modified_time?: number | undefined;
8290
8439
  fields: Record<string, string | boolean | {
@@ -8303,6 +8452,7 @@ declare abstract class Client$1 {
8303
8452
  name?: string;
8304
8453
  en_name?: string;
8305
8454
  email?: string;
8455
+ avatar_url?: string;
8306
8456
  }> | Array<{
8307
8457
  file_token?: string;
8308
8458
  name?: string;
@@ -9566,6 +9716,7 @@ declare abstract class Client$1 {
9566
9716
  icon_type?: "default" | "vc" | "live" | undefined;
9567
9717
  description?: string | undefined;
9568
9718
  meeting_url?: string | undefined;
9719
+ live_link?: string | undefined;
9569
9720
  } | undefined;
9570
9721
  visibility?: "default" | "private" | "public" | undefined;
9571
9722
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9657,6 +9808,7 @@ declare abstract class Client$1 {
9657
9808
  icon_type?: "default" | "vc" | "live" | undefined;
9658
9809
  description?: string | undefined;
9659
9810
  meeting_url?: string | undefined;
9811
+ live_link?: string | undefined;
9660
9812
  } | undefined;
9661
9813
  visibility?: "default" | "private" | "public" | undefined;
9662
9814
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9734,6 +9886,7 @@ declare abstract class Client$1 {
9734
9886
  icon_type?: "default" | "vc" | "live" | undefined;
9735
9887
  description?: string | undefined;
9736
9888
  meeting_url?: string | undefined;
9889
+ live_link?: string | undefined;
9737
9890
  } | undefined;
9738
9891
  visibility?: "default" | "private" | "public" | undefined;
9739
9892
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9842,6 +9995,7 @@ declare abstract class Client$1 {
9842
9995
  icon_type?: "default" | "vc" | "live" | undefined;
9843
9996
  description?: string | undefined;
9844
9997
  meeting_url?: string | undefined;
9998
+ live_link?: string | undefined;
9845
9999
  } | undefined;
9846
10000
  visibility?: "default" | "private" | "public" | undefined;
9847
10001
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9919,6 +10073,7 @@ declare abstract class Client$1 {
9919
10073
  icon_type?: "default" | "vc" | "live" | undefined;
9920
10074
  description?: string | undefined;
9921
10075
  meeting_url?: string | undefined;
10076
+ live_link?: string | undefined;
9922
10077
  } | undefined;
9923
10078
  visibility?: "default" | "private" | "public" | undefined;
9924
10079
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -10008,6 +10163,7 @@ declare abstract class Client$1 {
10008
10163
  icon_type?: "default" | "vc" | "live" | undefined;
10009
10164
  description?: string | undefined;
10010
10165
  meeting_url?: string | undefined;
10166
+ live_link?: string | undefined;
10011
10167
  } | undefined;
10012
10168
  visibility?: "default" | "private" | "public" | undefined;
10013
10169
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -11789,6 +11945,7 @@ declare abstract class Client$1 {
11789
11945
  geo?: string;
11790
11946
  job_level_id?: string;
11791
11947
  job_family_id?: string;
11948
+ subscription_ids?: Array<string>;
11792
11949
  };
11793
11950
  params?: {
11794
11951
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -12203,6 +12360,18 @@ declare abstract class Client$1 {
12203
12360
  geo?: string | undefined;
12204
12361
  job_level_id?: string | undefined;
12205
12362
  job_family_id?: string | undefined;
12363
+ assign_info?: {
12364
+ subscription_id?: string | undefined;
12365
+ license_plan_key?: string | undefined;
12366
+ product_name?: string | undefined;
12367
+ i18n_name?: {
12368
+ zh_cn?: string | undefined;
12369
+ ja_jp?: string | undefined;
12370
+ en_us?: string | undefined;
12371
+ } | undefined;
12372
+ start_time?: string | undefined;
12373
+ end_time?: string | undefined;
12374
+ }[] | undefined;
12206
12375
  } | undefined;
12207
12376
  } | undefined;
12208
12377
  }>;
@@ -12285,6 +12454,18 @@ declare abstract class Client$1 {
12285
12454
  geo?: string | undefined;
12286
12455
  job_level_id?: string | undefined;
12287
12456
  job_family_id?: string | undefined;
12457
+ assign_info?: {
12458
+ subscription_id?: string | undefined;
12459
+ license_plan_key?: string | undefined;
12460
+ product_name?: string | undefined;
12461
+ i18n_name?: {
12462
+ zh_cn?: string | undefined;
12463
+ ja_jp?: string | undefined;
12464
+ en_us?: string | undefined;
12465
+ } | undefined;
12466
+ start_time?: string | undefined;
12467
+ end_time?: string | undefined;
12468
+ }[] | undefined;
12288
12469
  }[] | undefined;
12289
12470
  } | null, void, unknown>;
12290
12471
  }>;
@@ -12376,6 +12557,18 @@ declare abstract class Client$1 {
12376
12557
  geo?: string | undefined;
12377
12558
  job_level_id?: string | undefined;
12378
12559
  job_family_id?: string | undefined;
12560
+ assign_info?: {
12561
+ subscription_id?: string | undefined;
12562
+ license_plan_key?: string | undefined;
12563
+ product_name?: string | undefined;
12564
+ i18n_name?: {
12565
+ zh_cn?: string | undefined;
12566
+ ja_jp?: string | undefined;
12567
+ en_us?: string | undefined;
12568
+ } | undefined;
12569
+ start_time?: string | undefined;
12570
+ end_time?: string | undefined;
12571
+ }[] | undefined;
12379
12572
  }[] | undefined;
12380
12573
  } | undefined;
12381
12574
  }>;
@@ -12441,6 +12634,7 @@ declare abstract class Client$1 {
12441
12634
  geo?: string;
12442
12635
  job_level_id?: string;
12443
12636
  job_family_id?: string;
12637
+ subscription_ids?: Array<string>;
12444
12638
  };
12445
12639
  params?: {
12446
12640
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -36957,7 +37151,7 @@ declare abstract class Client$1 {
36957
37151
  };
36958
37152
  };
36959
37153
  /**
36960
- * 云文档-文件管理
37154
+ * 云文档-文档
36961
37155
  */
36962
37156
  drive: {
36963
37157
  /**
@@ -37412,7 +37606,7 @@ declare abstract class Client$1 {
37412
37606
  }>;
37413
37607
  };
37414
37608
  /**
37415
- * 文件夹
37609
+ * 事件
37416
37610
  */
37417
37611
  file: {
37418
37612
  /**
@@ -38135,7 +38329,7 @@ declare abstract class Client$1 {
38135
38329
  }>;
38136
38330
  };
38137
38331
  /**
38138
- * 素材
38332
+ * 分片上传
38139
38333
  */
38140
38334
  media: {
38141
38335
  /**
@@ -38322,6 +38516,7 @@ declare abstract class Client$1 {
38322
38516
  latest_modify_user: string;
38323
38517
  latest_modify_time: string;
38324
38518
  url: string;
38519
+ sec_label_name?: string;
38325
38520
  }>;
38326
38521
  failed_list?: {
38327
38522
  token: string;
@@ -41135,7 +41330,7 @@ declare abstract class Client$1 {
41135
41330
  */
41136
41331
  hire: {
41137
41332
  /**
41138
- * 投递
41333
+ * 入职
41139
41334
  */
41140
41335
  application: {
41141
41336
  /**
@@ -47891,6 +48086,7 @@ declare abstract class Client$1 {
47891
48086
  ja_jp?: string;
47892
48087
  };
47893
48088
  schema_id?: string;
48089
+ app_id?: string;
47894
48090
  };
47895
48091
  }, options?: IRequestOptions$1) => Promise<{
47896
48092
  code?: number | undefined;
@@ -47918,6 +48114,7 @@ declare abstract class Client$1 {
47918
48114
  ja_jp?: string | undefined;
47919
48115
  } | undefined;
47920
48116
  schema_id?: string | undefined;
48117
+ app_id?: string | undefined;
47921
48118
  } | undefined;
47922
48119
  } | undefined;
47923
48120
  }>;
@@ -47978,6 +48175,7 @@ declare abstract class Client$1 {
47978
48175
  ja_jp?: string | undefined;
47979
48176
  } | undefined;
47980
48177
  schema_id?: string | undefined;
48178
+ app_id?: string | undefined;
47981
48179
  } | undefined;
47982
48180
  } | undefined;
47983
48181
  }>;
@@ -48011,6 +48209,7 @@ declare abstract class Client$1 {
48011
48209
  ja_jp?: string | undefined;
48012
48210
  } | undefined;
48013
48211
  schema_id?: string | undefined;
48212
+ app_id?: string | undefined;
48014
48213
  }[] | undefined;
48015
48214
  } | null, void, unknown>;
48016
48215
  }>;
@@ -48057,6 +48256,7 @@ declare abstract class Client$1 {
48057
48256
  ja_jp?: string | undefined;
48058
48257
  } | undefined;
48059
48258
  schema_id?: string | undefined;
48259
+ app_id?: string | undefined;
48060
48260
  }[] | undefined;
48061
48261
  } | undefined;
48062
48262
  }>;
@@ -48115,6 +48315,7 @@ declare abstract class Client$1 {
48115
48315
  ja_jp?: string | undefined;
48116
48316
  } | undefined;
48117
48317
  schema_id?: string | undefined;
48318
+ app_id?: string | undefined;
48118
48319
  } | undefined;
48119
48320
  } | undefined;
48120
48321
  }>;
@@ -51781,7 +51982,7 @@ declare abstract class Client$1 {
51781
51982
  need_topic?: boolean;
51782
51983
  start_time: string;
51783
51984
  end_time: string;
51784
- room_ids?: number;
51985
+ room_ids: number;
51785
51986
  is_exclude?: boolean;
51786
51987
  page_size?: number;
51787
51988
  page_token?: string;
@@ -51819,7 +52020,7 @@ declare abstract class Client$1 {
51819
52020
  need_topic?: boolean;
51820
52021
  start_time: string;
51821
52022
  end_time: string;
51822
- room_ids?: number;
52023
+ room_ids: number;
51823
52024
  is_exclude?: boolean;
51824
52025
  page_size?: number;
51825
52026
  page_token?: string;
@@ -54936,6 +55137,19 @@ interface IHandles extends IOtherEventHandles {
54936
55137
  geo?: string;
54937
55138
  job_level_id?: string;
54938
55139
  job_family_id?: string;
55140
+ subscription_ids?: Array<string>;
55141
+ assign_info?: Array<{
55142
+ subscription_id?: string;
55143
+ license_plan_key?: string;
55144
+ product_name?: string;
55145
+ i18n_name?: {
55146
+ zh_cn?: string;
55147
+ ja_jp?: string;
55148
+ en_us?: string;
55149
+ };
55150
+ start_time?: string;
55151
+ end_time?: string;
55152
+ }>;
54939
55153
  }>;
54940
55154
  user_groups?: Array<{
54941
55155
  user_group_id: string;
@@ -55037,6 +55251,19 @@ interface IHandles extends IOtherEventHandles {
55037
55251
  geo?: string;
55038
55252
  job_level_id?: string;
55039
55253
  job_family_id?: string;
55254
+ subscription_ids?: Array<string>;
55255
+ assign_info?: Array<{
55256
+ subscription_id?: string;
55257
+ license_plan_key?: string;
55258
+ product_name?: string;
55259
+ i18n_name?: {
55260
+ zh_cn?: string;
55261
+ ja_jp?: string;
55262
+ en_us?: string;
55263
+ };
55264
+ start_time?: string;
55265
+ end_time?: string;
55266
+ }>;
55040
55267
  }>;
55041
55268
  user_groups?: Array<{
55042
55269
  user_group_id: string;
@@ -55881,6 +56108,24 @@ interface IHandles extends IOtherEventHandles {
55881
56108
  image_key?: string;
55882
56109
  };
55883
56110
  }) => Promise<any> | any;
56111
+ /**
56112
+ * {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/event/application-stage-changed document }
56113
+ */
56114
+ "hire.application.stage_changed_v1"?: (data: {
56115
+ event_id?: string;
56116
+ token?: string;
56117
+ create_time?: string;
56118
+ event_type?: string;
56119
+ tenant_key?: string;
56120
+ ts?: string;
56121
+ uuid?: string;
56122
+ type?: string;
56123
+ app_id?: string;
56124
+ application_id?: string;
56125
+ origin_stage_id?: string;
56126
+ target_stage_id?: string;
56127
+ update_time?: number;
56128
+ }) => Promise<any> | any;
55884
56129
  /**
55885
56130
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/disbanded document }
55886
56131
  *