@larksuiteoapi/node-sdk 1.11.0 → 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
  /**
@@ -21384,4 +21504,4 @@ const adaptKoaRouter = (dispatcher, options) => (ctx, next) => __awaiter(void 0,
21384
21504
  yield next();
21385
21505
  });
21386
21506
 
21387
- export { AESCipher, AppType, CAppTicket, CardActionHandler, Client, Domain, EventDispatcher, LoggerLevel, adaptDefault, adaptExpress, adaptKoa, adaptKoaRouter, generateChallenge, withAll, withHelpDeskCredential, withTenantKey, withTenantToken, withUserAccessToken };
21507
+ export { AESCipher, AppType, CAppTicket, CTenantAccessToken, CardActionHandler, Client, Domain, EventDispatcher, LoggerLevel, adaptDefault, adaptExpress, adaptKoa, adaptKoaRouter, generateChallenge, withAll, withHelpDeskCredential, withTenantKey, withTenantToken, withUserAccessToken };
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
  /**
@@ -21401,6 +21521,7 @@ const adaptKoaRouter = (dispatcher, options) => (ctx, next) => __awaiter(void 0,
21401
21521
 
21402
21522
  exports.AESCipher = AESCipher;
21403
21523
  exports.CAppTicket = CAppTicket;
21524
+ exports.CTenantAccessToken = CTenantAccessToken;
21404
21525
  exports.CardActionHandler = CardActionHandler;
21405
21526
  exports.Client = Client;
21406
21527
  exports.EventDispatcher = EventDispatcher;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.11.0",
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
@@ -46,6 +46,7 @@ declare enum LoggerLevel {
46
46
 
47
47
  declare const CTenantKey: unique symbol;
48
48
  declare const CAppTicket: unique symbol;
49
+ declare const CTenantAccessToken: unique symbol;
49
50
  declare const CWithHelpdeskAuthorization: unique symbol;
50
51
  declare const CWithUserAccessToken: unique symbol;
51
52
 
@@ -1882,10 +1883,17 @@ declare abstract class Client$1 {
1882
1883
  writable: Array<string>;
1883
1884
  readable: Array<string>;
1884
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";
1885
1892
  }>;
1886
1893
  settings?: {
1887
1894
  revert_interval?: number;
1888
1895
  revert_option?: number;
1896
+ reject_option?: number;
1889
1897
  };
1890
1898
  config?: {
1891
1899
  can_update_viewer: boolean;
@@ -2505,6 +2513,15 @@ declare abstract class Client$1 {
2505
2513
  allow_resubmit?: boolean;
2506
2514
  allow_submit_again?: boolean;
2507
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
+ }>;
2508
2525
  };
2509
2526
  }, options?: IRequestOptions$1) => Promise<{
2510
2527
  code?: number | undefined;
@@ -3278,6 +3295,7 @@ declare abstract class Client$1 {
3278
3295
  } | undefined;
3279
3296
  task_id?: string | undefined;
3280
3297
  update_time?: string | undefined;
3298
+ task_external_id?: string | undefined;
3281
3299
  } | undefined;
3282
3300
  }[] | undefined;
3283
3301
  page_token?: string | undefined;
@@ -4950,6 +4968,102 @@ declare abstract class Client$1 {
4950
4968
  }>;
4951
4969
  };
4952
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
+ };
4953
5067
  /**
4954
5068
 
4955
5069
  */
@@ -7194,6 +7308,7 @@ declare abstract class Client$1 {
7194
7308
  disable_sync?: boolean | undefined;
7195
7309
  text?: string | undefined;
7196
7310
  } | undefined;
7311
+ ui_type?: string | undefined;
7197
7312
  };
7198
7313
  params?: {
7199
7314
  client_token?: string | undefined;
@@ -7239,6 +7354,8 @@ declare abstract class Client$1 {
7239
7354
  disable_sync?: boolean | undefined;
7240
7355
  text?: string | undefined;
7241
7356
  } | undefined;
7357
+ is_primary?: boolean | undefined;
7358
+ ui_type?: string | undefined;
7242
7359
  } | undefined;
7243
7360
  } | undefined;
7244
7361
  }>;
@@ -7314,6 +7431,8 @@ declare abstract class Client$1 {
7314
7431
  disable_sync?: boolean | undefined;
7315
7432
  text?: string | undefined;
7316
7433
  } | undefined;
7434
+ is_primary?: boolean | undefined;
7435
+ ui_type?: string | undefined;
7317
7436
  }[] | undefined;
7318
7437
  } | null, void, unknown>;
7319
7438
  }>;
@@ -7379,6 +7498,8 @@ declare abstract class Client$1 {
7379
7498
  disable_sync?: boolean | undefined;
7380
7499
  text?: string | undefined;
7381
7500
  } | undefined;
7501
+ is_primary?: boolean | undefined;
7502
+ ui_type?: string | undefined;
7382
7503
  }[] | undefined;
7383
7504
  } | undefined;
7384
7505
  }>;
@@ -7426,6 +7547,7 @@ declare abstract class Client$1 {
7426
7547
  disable_sync?: boolean | undefined;
7427
7548
  text?: string | undefined;
7428
7549
  } | undefined;
7550
+ ui_type?: string | undefined;
7429
7551
  };
7430
7552
  path: {
7431
7553
  app_token: string;
@@ -7469,6 +7591,8 @@ declare abstract class Client$1 {
7469
7591
  disable_sync?: boolean | undefined;
7470
7592
  text?: string | undefined;
7471
7593
  } | undefined;
7594
+ is_primary?: boolean | undefined;
7595
+ ui_type?: string | undefined;
7472
7596
  } | undefined;
7473
7597
  } | undefined;
7474
7598
  }>;
@@ -7663,6 +7787,7 @@ declare abstract class Client$1 {
7663
7787
  name?: string;
7664
7788
  en_name?: string;
7665
7789
  email?: string;
7790
+ avatar_url?: string;
7666
7791
  };
7667
7792
  created_time?: number;
7668
7793
  last_modified_by?: {
@@ -7670,6 +7795,7 @@ declare abstract class Client$1 {
7670
7795
  name?: string;
7671
7796
  en_name?: string;
7672
7797
  email?: string;
7798
+ avatar_url?: string;
7673
7799
  };
7674
7800
  last_modified_time?: number;
7675
7801
  fields: Record<string, string | boolean | {
@@ -7688,6 +7814,7 @@ declare abstract class Client$1 {
7688
7814
  name?: string;
7689
7815
  en_name?: string;
7690
7816
  email?: string;
7817
+ avatar_url?: string;
7691
7818
  }> | Array<{
7692
7819
  file_token?: string;
7693
7820
  name?: string;
@@ -7717,6 +7844,7 @@ declare abstract class Client$1 {
7717
7844
  name?: string | undefined;
7718
7845
  en_name?: string | undefined;
7719
7846
  email?: string | undefined;
7847
+ avatar_url?: string | undefined;
7720
7848
  } | undefined;
7721
7849
  created_time?: number | undefined;
7722
7850
  last_modified_by?: {
@@ -7724,6 +7852,7 @@ declare abstract class Client$1 {
7724
7852
  name?: string | undefined;
7725
7853
  en_name?: string | undefined;
7726
7854
  email?: string | undefined;
7855
+ avatar_url?: string | undefined;
7727
7856
  } | undefined;
7728
7857
  last_modified_time?: number | undefined;
7729
7858
  fields: Record<string, string | boolean | {
@@ -7742,6 +7871,7 @@ declare abstract class Client$1 {
7742
7871
  name?: string;
7743
7872
  en_name?: string;
7744
7873
  email?: string;
7874
+ avatar_url?: string;
7745
7875
  }> | Array<{
7746
7876
  file_token?: string;
7747
7877
  name?: string;
@@ -7802,6 +7932,7 @@ declare abstract class Client$1 {
7802
7932
  name?: string;
7803
7933
  en_name?: string;
7804
7934
  email?: string;
7935
+ avatar_url?: string;
7805
7936
  };
7806
7937
  created_time?: number;
7807
7938
  last_modified_by?: {
@@ -7809,6 +7940,7 @@ declare abstract class Client$1 {
7809
7940
  name?: string;
7810
7941
  en_name?: string;
7811
7942
  email?: string;
7943
+ avatar_url?: string;
7812
7944
  };
7813
7945
  last_modified_time?: number;
7814
7946
  fields: Record<string, string | boolean | {
@@ -7827,6 +7959,7 @@ declare abstract class Client$1 {
7827
7959
  name?: string;
7828
7960
  en_name?: string;
7829
7961
  email?: string;
7962
+ avatar_url?: string;
7830
7963
  }> | Array<{
7831
7964
  file_token?: string;
7832
7965
  name?: string;
@@ -7855,6 +7988,7 @@ declare abstract class Client$1 {
7855
7988
  name?: string | undefined;
7856
7989
  en_name?: string | undefined;
7857
7990
  email?: string | undefined;
7991
+ avatar_url?: string | undefined;
7858
7992
  } | undefined;
7859
7993
  created_time?: number | undefined;
7860
7994
  last_modified_by?: {
@@ -7862,6 +7996,7 @@ declare abstract class Client$1 {
7862
7996
  name?: string | undefined;
7863
7997
  en_name?: string | undefined;
7864
7998
  email?: string | undefined;
7999
+ avatar_url?: string | undefined;
7865
8000
  } | undefined;
7866
8001
  last_modified_time?: number | undefined;
7867
8002
  fields: Record<string, string | boolean | {
@@ -7880,6 +8015,7 @@ declare abstract class Client$1 {
7880
8015
  name?: string;
7881
8016
  en_name?: string;
7882
8017
  email?: string;
8018
+ avatar_url?: string;
7883
8019
  }> | Array<{
7884
8020
  file_token?: string;
7885
8021
  name?: string;
@@ -7948,6 +8084,7 @@ declare abstract class Client$1 {
7948
8084
  name?: string | undefined;
7949
8085
  en_name?: string | undefined;
7950
8086
  email?: string | undefined;
8087
+ avatar_url?: string | undefined;
7951
8088
  } | undefined;
7952
8089
  created_time?: number | undefined;
7953
8090
  last_modified_by?: {
@@ -7955,6 +8092,7 @@ declare abstract class Client$1 {
7955
8092
  name?: string | undefined;
7956
8093
  en_name?: string | undefined;
7957
8094
  email?: string | undefined;
8095
+ avatar_url?: string | undefined;
7958
8096
  } | undefined;
7959
8097
  last_modified_time?: number | undefined;
7960
8098
  fields: Record<string, string | boolean | {
@@ -7973,6 +8111,7 @@ declare abstract class Client$1 {
7973
8111
  name?: string;
7974
8112
  en_name?: string;
7975
8113
  email?: string;
8114
+ avatar_url?: string;
7976
8115
  }> | Array<{
7977
8116
  file_token?: string;
7978
8117
  name?: string;
@@ -8043,6 +8182,7 @@ declare abstract class Client$1 {
8043
8182
  name?: string | undefined;
8044
8183
  en_name?: string | undefined;
8045
8184
  email?: string | undefined;
8185
+ avatar_url?: string | undefined;
8046
8186
  } | undefined;
8047
8187
  created_time?: number | undefined;
8048
8188
  last_modified_by?: {
@@ -8050,6 +8190,7 @@ declare abstract class Client$1 {
8050
8190
  name?: string | undefined;
8051
8191
  en_name?: string | undefined;
8052
8192
  email?: string | undefined;
8193
+ avatar_url?: string | undefined;
8053
8194
  } | undefined;
8054
8195
  last_modified_time?: number | undefined;
8055
8196
  fields: Record<string, string | boolean | {
@@ -8068,6 +8209,7 @@ declare abstract class Client$1 {
8068
8209
  name?: string;
8069
8210
  en_name?: string;
8070
8211
  email?: string;
8212
+ avatar_url?: string;
8071
8213
  }> | Array<{
8072
8214
  file_token?: string;
8073
8215
  name?: string;
@@ -8106,6 +8248,7 @@ declare abstract class Client$1 {
8106
8248
  name?: string | undefined;
8107
8249
  en_name?: string | undefined;
8108
8250
  email?: string | undefined;
8251
+ avatar_url?: string | undefined;
8109
8252
  } | undefined;
8110
8253
  created_time?: number | undefined;
8111
8254
  last_modified_by?: {
@@ -8113,6 +8256,7 @@ declare abstract class Client$1 {
8113
8256
  name?: string | undefined;
8114
8257
  en_name?: string | undefined;
8115
8258
  email?: string | undefined;
8259
+ avatar_url?: string | undefined;
8116
8260
  } | undefined;
8117
8261
  last_modified_time?: number | undefined;
8118
8262
  fields: Record<string, string | boolean | {
@@ -8131,6 +8275,7 @@ declare abstract class Client$1 {
8131
8275
  name?: string;
8132
8276
  en_name?: string;
8133
8277
  email?: string;
8278
+ avatar_url?: string;
8134
8279
  }> | Array<{
8135
8280
  file_token?: string;
8136
8281
  name?: string;
@@ -8184,6 +8329,7 @@ declare abstract class Client$1 {
8184
8329
  name?: string | undefined;
8185
8330
  en_name?: string | undefined;
8186
8331
  email?: string | undefined;
8332
+ avatar_url?: string | undefined;
8187
8333
  } | undefined;
8188
8334
  created_time?: number | undefined;
8189
8335
  last_modified_by?: {
@@ -8191,6 +8337,7 @@ declare abstract class Client$1 {
8191
8337
  name?: string | undefined;
8192
8338
  en_name?: string | undefined;
8193
8339
  email?: string | undefined;
8340
+ avatar_url?: string | undefined;
8194
8341
  } | undefined;
8195
8342
  last_modified_time?: number | undefined;
8196
8343
  fields: Record<string, string | boolean | {
@@ -8209,6 +8356,7 @@ declare abstract class Client$1 {
8209
8356
  name?: string;
8210
8357
  en_name?: string;
8211
8358
  email?: string;
8359
+ avatar_url?: string;
8212
8360
  }> | Array<{
8213
8361
  file_token?: string;
8214
8362
  name?: string;
@@ -8277,6 +8425,7 @@ declare abstract class Client$1 {
8277
8425
  name?: string | undefined;
8278
8426
  en_name?: string | undefined;
8279
8427
  email?: string | undefined;
8428
+ avatar_url?: string | undefined;
8280
8429
  } | undefined;
8281
8430
  created_time?: number | undefined;
8282
8431
  last_modified_by?: {
@@ -8284,6 +8433,7 @@ declare abstract class Client$1 {
8284
8433
  name?: string | undefined;
8285
8434
  en_name?: string | undefined;
8286
8435
  email?: string | undefined;
8436
+ avatar_url?: string | undefined;
8287
8437
  } | undefined;
8288
8438
  last_modified_time?: number | undefined;
8289
8439
  fields: Record<string, string | boolean | {
@@ -8302,6 +8452,7 @@ declare abstract class Client$1 {
8302
8452
  name?: string;
8303
8453
  en_name?: string;
8304
8454
  email?: string;
8455
+ avatar_url?: string;
8305
8456
  }> | Array<{
8306
8457
  file_token?: string;
8307
8458
  name?: string;
@@ -9565,6 +9716,7 @@ declare abstract class Client$1 {
9565
9716
  icon_type?: "default" | "vc" | "live" | undefined;
9566
9717
  description?: string | undefined;
9567
9718
  meeting_url?: string | undefined;
9719
+ live_link?: string | undefined;
9568
9720
  } | undefined;
9569
9721
  visibility?: "default" | "private" | "public" | undefined;
9570
9722
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9656,6 +9808,7 @@ declare abstract class Client$1 {
9656
9808
  icon_type?: "default" | "vc" | "live" | undefined;
9657
9809
  description?: string | undefined;
9658
9810
  meeting_url?: string | undefined;
9811
+ live_link?: string | undefined;
9659
9812
  } | undefined;
9660
9813
  visibility?: "default" | "private" | "public" | undefined;
9661
9814
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9733,6 +9886,7 @@ declare abstract class Client$1 {
9733
9886
  icon_type?: "default" | "vc" | "live" | undefined;
9734
9887
  description?: string | undefined;
9735
9888
  meeting_url?: string | undefined;
9889
+ live_link?: string | undefined;
9736
9890
  } | undefined;
9737
9891
  visibility?: "default" | "private" | "public" | undefined;
9738
9892
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9841,6 +9995,7 @@ declare abstract class Client$1 {
9841
9995
  icon_type?: "default" | "vc" | "live" | undefined;
9842
9996
  description?: string | undefined;
9843
9997
  meeting_url?: string | undefined;
9998
+ live_link?: string | undefined;
9844
9999
  } | undefined;
9845
10000
  visibility?: "default" | "private" | "public" | undefined;
9846
10001
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -9918,6 +10073,7 @@ declare abstract class Client$1 {
9918
10073
  icon_type?: "default" | "vc" | "live" | undefined;
9919
10074
  description?: string | undefined;
9920
10075
  meeting_url?: string | undefined;
10076
+ live_link?: string | undefined;
9921
10077
  } | undefined;
9922
10078
  visibility?: "default" | "private" | "public" | undefined;
9923
10079
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -10007,6 +10163,7 @@ declare abstract class Client$1 {
10007
10163
  icon_type?: "default" | "vc" | "live" | undefined;
10008
10164
  description?: string | undefined;
10009
10165
  meeting_url?: string | undefined;
10166
+ live_link?: string | undefined;
10010
10167
  } | undefined;
10011
10168
  visibility?: "default" | "private" | "public" | undefined;
10012
10169
  attendee_ability?: "none" | "can_see_others" | "can_invite_others" | "can_modify_event" | undefined;
@@ -11788,6 +11945,7 @@ declare abstract class Client$1 {
11788
11945
  geo?: string;
11789
11946
  job_level_id?: string;
11790
11947
  job_family_id?: string;
11948
+ subscription_ids?: Array<string>;
11791
11949
  };
11792
11950
  params?: {
11793
11951
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -12202,6 +12360,18 @@ declare abstract class Client$1 {
12202
12360
  geo?: string | undefined;
12203
12361
  job_level_id?: string | undefined;
12204
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;
12205
12375
  } | undefined;
12206
12376
  } | undefined;
12207
12377
  }>;
@@ -12284,6 +12454,18 @@ declare abstract class Client$1 {
12284
12454
  geo?: string | undefined;
12285
12455
  job_level_id?: string | undefined;
12286
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;
12287
12469
  }[] | undefined;
12288
12470
  } | null, void, unknown>;
12289
12471
  }>;
@@ -12375,6 +12557,18 @@ declare abstract class Client$1 {
12375
12557
  geo?: string | undefined;
12376
12558
  job_level_id?: string | undefined;
12377
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;
12378
12572
  }[] | undefined;
12379
12573
  } | undefined;
12380
12574
  }>;
@@ -12440,6 +12634,7 @@ declare abstract class Client$1 {
12440
12634
  geo?: string;
12441
12635
  job_level_id?: string;
12442
12636
  job_family_id?: string;
12637
+ subscription_ids?: Array<string>;
12443
12638
  };
12444
12639
  params?: {
12445
12640
  user_id_type?: "user_id" | "union_id" | "open_id";
@@ -36956,7 +37151,7 @@ declare abstract class Client$1 {
36956
37151
  };
36957
37152
  };
36958
37153
  /**
36959
- * 云文档-文件管理
37154
+ * 云文档-文档
36960
37155
  */
36961
37156
  drive: {
36962
37157
  /**
@@ -37411,7 +37606,7 @@ declare abstract class Client$1 {
37411
37606
  }>;
37412
37607
  };
37413
37608
  /**
37414
- * 文件夹
37609
+ * 事件
37415
37610
  */
37416
37611
  file: {
37417
37612
  /**
@@ -38134,7 +38329,7 @@ declare abstract class Client$1 {
38134
38329
  }>;
38135
38330
  };
38136
38331
  /**
38137
- * 素材
38332
+ * 分片上传
38138
38333
  */
38139
38334
  media: {
38140
38335
  /**
@@ -38321,6 +38516,7 @@ declare abstract class Client$1 {
38321
38516
  latest_modify_user: string;
38322
38517
  latest_modify_time: string;
38323
38518
  url: string;
38519
+ sec_label_name?: string;
38324
38520
  }>;
38325
38521
  failed_list?: {
38326
38522
  token: string;
@@ -41134,7 +41330,7 @@ declare abstract class Client$1 {
41134
41330
  */
41135
41331
  hire: {
41136
41332
  /**
41137
- * 投递
41333
+ * 入职
41138
41334
  */
41139
41335
  application: {
41140
41336
  /**
@@ -47890,6 +48086,7 @@ declare abstract class Client$1 {
47890
48086
  ja_jp?: string;
47891
48087
  };
47892
48088
  schema_id?: string;
48089
+ app_id?: string;
47893
48090
  };
47894
48091
  }, options?: IRequestOptions$1) => Promise<{
47895
48092
  code?: number | undefined;
@@ -47917,6 +48114,7 @@ declare abstract class Client$1 {
47917
48114
  ja_jp?: string | undefined;
47918
48115
  } | undefined;
47919
48116
  schema_id?: string | undefined;
48117
+ app_id?: string | undefined;
47920
48118
  } | undefined;
47921
48119
  } | undefined;
47922
48120
  }>;
@@ -47977,6 +48175,7 @@ declare abstract class Client$1 {
47977
48175
  ja_jp?: string | undefined;
47978
48176
  } | undefined;
47979
48177
  schema_id?: string | undefined;
48178
+ app_id?: string | undefined;
47980
48179
  } | undefined;
47981
48180
  } | undefined;
47982
48181
  }>;
@@ -48010,6 +48209,7 @@ declare abstract class Client$1 {
48010
48209
  ja_jp?: string | undefined;
48011
48210
  } | undefined;
48012
48211
  schema_id?: string | undefined;
48212
+ app_id?: string | undefined;
48013
48213
  }[] | undefined;
48014
48214
  } | null, void, unknown>;
48015
48215
  }>;
@@ -48056,6 +48256,7 @@ declare abstract class Client$1 {
48056
48256
  ja_jp?: string | undefined;
48057
48257
  } | undefined;
48058
48258
  schema_id?: string | undefined;
48259
+ app_id?: string | undefined;
48059
48260
  }[] | undefined;
48060
48261
  } | undefined;
48061
48262
  }>;
@@ -48114,6 +48315,7 @@ declare abstract class Client$1 {
48114
48315
  ja_jp?: string | undefined;
48115
48316
  } | undefined;
48116
48317
  schema_id?: string | undefined;
48318
+ app_id?: string | undefined;
48117
48319
  } | undefined;
48118
48320
  } | undefined;
48119
48321
  }>;
@@ -51780,7 +51982,7 @@ declare abstract class Client$1 {
51780
51982
  need_topic?: boolean;
51781
51983
  start_time: string;
51782
51984
  end_time: string;
51783
- room_ids?: number;
51985
+ room_ids: number;
51784
51986
  is_exclude?: boolean;
51785
51987
  page_size?: number;
51786
51988
  page_token?: string;
@@ -51818,7 +52020,7 @@ declare abstract class Client$1 {
51818
52020
  need_topic?: boolean;
51819
52021
  start_time: string;
51820
52022
  end_time: string;
51821
- room_ids?: number;
52023
+ room_ids: number;
51822
52024
  is_exclude?: boolean;
51823
52025
  page_size?: number;
51824
52026
  page_token?: string;
@@ -54935,6 +55137,19 @@ interface IHandles extends IOtherEventHandles {
54935
55137
  geo?: string;
54936
55138
  job_level_id?: string;
54937
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
+ }>;
54938
55153
  }>;
54939
55154
  user_groups?: Array<{
54940
55155
  user_group_id: string;
@@ -55036,6 +55251,19 @@ interface IHandles extends IOtherEventHandles {
55036
55251
  geo?: string;
55037
55252
  job_level_id?: string;
55038
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
+ }>;
55039
55267
  }>;
55040
55268
  user_groups?: Array<{
55041
55269
  user_group_id: string;
@@ -55880,6 +56108,24 @@ interface IHandles extends IOtherEventHandles {
55880
56108
  image_key?: string;
55881
56109
  };
55882
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;
55883
56129
  /**
55884
56130
  * {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/disbanded document }
55885
56131
  *
@@ -57508,4 +57754,4 @@ interface InteractiveCardSelectMenuActionItem extends InteractiveCardActionBaseI
57508
57754
  value?: Record<string, any>;
57509
57755
  }
57510
57756
 
57511
- export { AESCipher, AppType, CAppTicket, CardActionHandler, Client, Domain, EventDispatcher, IHandles as EventHandles, InteractiveCard, InteractiveCardActionEvent, InteractiveCardActionItem, InteractiveCardButtonActionItem, InteractiveCardDatePickerActionItem, InteractiveCardDivElement, InteractiveCardDividerElement, InteractiveCardElement, InteractiveCardField, InteractiveCardImageElement, InteractiveCardImageItem, InteractiveCardLarkMdItem, InteractiveCardMarkdownElement, InteractiveCardNoteElement, InteractiveCardOverflowActionItem, InteractiveCardPlainTextItem, InteractiveCardSelectMenuActionItem, InteractiveCardTextItem, InteractiveCardTitle, InteractiveCardUrlItem, InterfaceCardActionElement, LoggerLevel, adaptDefault, adaptExpress, adaptKoa, adaptKoaRouter, generateChallenge, withAll, withHelpDeskCredential, withTenantKey, withTenantToken, withUserAccessToken };
57757
+ export { AESCipher, AppType, CAppTicket, CTenantAccessToken, Cache, CardActionHandler, Client, Domain, EventDispatcher, IHandles as EventHandles, InteractiveCard, InteractiveCardActionEvent, InteractiveCardActionItem, InteractiveCardButtonActionItem, InteractiveCardDatePickerActionItem, InteractiveCardDivElement, InteractiveCardDividerElement, InteractiveCardElement, InteractiveCardField, InteractiveCardImageElement, InteractiveCardImageItem, InteractiveCardLarkMdItem, InteractiveCardMarkdownElement, InteractiveCardNoteElement, InteractiveCardOverflowActionItem, InteractiveCardPlainTextItem, InteractiveCardSelectMenuActionItem, InteractiveCardTextItem, InteractiveCardTitle, InteractiveCardUrlItem, InterfaceCardActionElement, LoggerLevel, adaptDefault, adaptExpress, adaptKoa, adaptKoaRouter, generateChallenge, withAll, withHelpDeskCredential, withTenantKey, withTenantToken, withUserAccessToken };