@larksuiteoapi/node-sdk 1.0.3 → 1.0.6
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 +1229 -880
- package/lib/index.js +1229 -880
- package/package.json +62 -55
- package/types/index.d.ts +2187 -1790
package/types/index.d.ts
CHANGED
|
@@ -377,6 +377,355 @@ declare abstract class Client$1 {
|
|
|
377
377
|
data?: {} | undefined;
|
|
378
378
|
}>;
|
|
379
379
|
};
|
|
380
|
+
badgeImage: {
|
|
381
|
+
/**
|
|
382
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge_image&apiName=create&version=v1 click to debug }
|
|
383
|
+
*/
|
|
384
|
+
create: (payload?: {
|
|
385
|
+
data: {
|
|
386
|
+
image_file: Buffer;
|
|
387
|
+
image_type: number;
|
|
388
|
+
};
|
|
389
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
390
|
+
image_key?: string | undefined;
|
|
391
|
+
} | {}>;
|
|
392
|
+
};
|
|
393
|
+
badgeGrant: {
|
|
394
|
+
/**
|
|
395
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge.grant&apiName=delete&version=v1 click to debug }
|
|
396
|
+
*/
|
|
397
|
+
delete: (payload?: {
|
|
398
|
+
path: {
|
|
399
|
+
badge_id: string;
|
|
400
|
+
grant_id: string;
|
|
401
|
+
};
|
|
402
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
403
|
+
code?: number | undefined;
|
|
404
|
+
msg?: string | undefined;
|
|
405
|
+
data?: {} | undefined;
|
|
406
|
+
}>;
|
|
407
|
+
/**
|
|
408
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge.grant&apiName=create&version=v1 click to debug }
|
|
409
|
+
*/
|
|
410
|
+
create: (payload?: {
|
|
411
|
+
data: {
|
|
412
|
+
name: string;
|
|
413
|
+
grant_type: number;
|
|
414
|
+
time_zone: string;
|
|
415
|
+
rule_detail: {
|
|
416
|
+
effective_time?: string;
|
|
417
|
+
expiration_time?: string;
|
|
418
|
+
anniversary?: number;
|
|
419
|
+
effective_period?: number;
|
|
420
|
+
};
|
|
421
|
+
is_grant_all: boolean;
|
|
422
|
+
user_ids?: Array<string>;
|
|
423
|
+
department_ids?: Array<string>;
|
|
424
|
+
group_ids?: Array<string>;
|
|
425
|
+
};
|
|
426
|
+
params?: {
|
|
427
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
428
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
429
|
+
};
|
|
430
|
+
path: {
|
|
431
|
+
badge_id: string;
|
|
432
|
+
};
|
|
433
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
434
|
+
code?: number | undefined;
|
|
435
|
+
msg?: string | undefined;
|
|
436
|
+
data?: {
|
|
437
|
+
grant?: {
|
|
438
|
+
id?: string | undefined;
|
|
439
|
+
badge_id?: string | undefined;
|
|
440
|
+
name: string;
|
|
441
|
+
grant_type: number;
|
|
442
|
+
time_zone: string;
|
|
443
|
+
rule_detail: {
|
|
444
|
+
effective_time?: string;
|
|
445
|
+
expiration_time?: string;
|
|
446
|
+
anniversary?: number;
|
|
447
|
+
effective_period?: number;
|
|
448
|
+
};
|
|
449
|
+
is_grant_all: boolean;
|
|
450
|
+
user_ids?: string[] | undefined;
|
|
451
|
+
department_ids?: string[] | undefined;
|
|
452
|
+
group_ids?: string[] | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
} | undefined;
|
|
455
|
+
}>;
|
|
456
|
+
/**
|
|
457
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge.grant&apiName=list&version=v1 click to debug }
|
|
458
|
+
*/
|
|
459
|
+
listWithIterator: (payload?: {
|
|
460
|
+
params: {
|
|
461
|
+
page_size: number;
|
|
462
|
+
page_token?: string;
|
|
463
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
464
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
465
|
+
};
|
|
466
|
+
path: {
|
|
467
|
+
badge_id: string;
|
|
468
|
+
};
|
|
469
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
470
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
471
|
+
grants?: {
|
|
472
|
+
id?: string | undefined;
|
|
473
|
+
badge_id?: string | undefined;
|
|
474
|
+
name: string;
|
|
475
|
+
grant_type: number;
|
|
476
|
+
time_zone: string;
|
|
477
|
+
rule_detail: {
|
|
478
|
+
effective_time?: string;
|
|
479
|
+
expiration_time?: string;
|
|
480
|
+
anniversary?: number;
|
|
481
|
+
effective_period?: number;
|
|
482
|
+
};
|
|
483
|
+
is_grant_all: boolean;
|
|
484
|
+
user_ids?: string[] | undefined;
|
|
485
|
+
department_ids?: string[] | undefined;
|
|
486
|
+
group_ids?: string[] | undefined;
|
|
487
|
+
}[] | undefined;
|
|
488
|
+
} | null, void, unknown>;
|
|
489
|
+
}>;
|
|
490
|
+
/**
|
|
491
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge.grant&apiName=list&version=v1 click to debug }
|
|
492
|
+
*/
|
|
493
|
+
list: (payload?: {
|
|
494
|
+
params: {
|
|
495
|
+
page_size: number;
|
|
496
|
+
page_token?: string;
|
|
497
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
498
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
499
|
+
};
|
|
500
|
+
path: {
|
|
501
|
+
badge_id: string;
|
|
502
|
+
};
|
|
503
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
504
|
+
code?: number | undefined;
|
|
505
|
+
msg?: string | undefined;
|
|
506
|
+
data?: {
|
|
507
|
+
grants?: {
|
|
508
|
+
id?: string | undefined;
|
|
509
|
+
badge_id?: string | undefined;
|
|
510
|
+
name: string;
|
|
511
|
+
grant_type: number;
|
|
512
|
+
time_zone: string;
|
|
513
|
+
rule_detail: {
|
|
514
|
+
effective_time?: string;
|
|
515
|
+
expiration_time?: string;
|
|
516
|
+
anniversary?: number;
|
|
517
|
+
effective_period?: number;
|
|
518
|
+
};
|
|
519
|
+
is_grant_all: boolean;
|
|
520
|
+
user_ids?: string[] | undefined;
|
|
521
|
+
department_ids?: string[] | undefined;
|
|
522
|
+
group_ids?: string[] | undefined;
|
|
523
|
+
}[] | undefined;
|
|
524
|
+
page_token?: string | undefined;
|
|
525
|
+
has_more?: boolean | undefined;
|
|
526
|
+
} | undefined;
|
|
527
|
+
}>;
|
|
528
|
+
/**
|
|
529
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge.grant&apiName=update&version=v1 click to debug }
|
|
530
|
+
*/
|
|
531
|
+
update: (payload?: {
|
|
532
|
+
data: {
|
|
533
|
+
name: string;
|
|
534
|
+
grant_type: number;
|
|
535
|
+
time_zone: string;
|
|
536
|
+
rule_detail: {
|
|
537
|
+
effective_time?: string;
|
|
538
|
+
expiration_time?: string;
|
|
539
|
+
anniversary?: number;
|
|
540
|
+
effective_period?: number;
|
|
541
|
+
};
|
|
542
|
+
is_grant_all: boolean;
|
|
543
|
+
user_ids?: Array<string>;
|
|
544
|
+
department_ids?: Array<string>;
|
|
545
|
+
group_ids?: Array<string>;
|
|
546
|
+
};
|
|
547
|
+
params?: {
|
|
548
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
549
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
550
|
+
};
|
|
551
|
+
path: {
|
|
552
|
+
badge_id: string;
|
|
553
|
+
grant_id: string;
|
|
554
|
+
};
|
|
555
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
556
|
+
code?: number | undefined;
|
|
557
|
+
msg?: string | undefined;
|
|
558
|
+
data?: {
|
|
559
|
+
grant?: {
|
|
560
|
+
id?: string | undefined;
|
|
561
|
+
badge_id?: string | undefined;
|
|
562
|
+
name: string;
|
|
563
|
+
grant_type: number;
|
|
564
|
+
time_zone: string;
|
|
565
|
+
rule_detail: {
|
|
566
|
+
effective_time?: string;
|
|
567
|
+
expiration_time?: string;
|
|
568
|
+
anniversary?: number;
|
|
569
|
+
effective_period?: number;
|
|
570
|
+
};
|
|
571
|
+
is_grant_all: boolean;
|
|
572
|
+
user_ids?: string[] | undefined;
|
|
573
|
+
department_ids?: string[] | undefined;
|
|
574
|
+
group_ids?: string[] | undefined;
|
|
575
|
+
} | undefined;
|
|
576
|
+
} | undefined;
|
|
577
|
+
}>;
|
|
578
|
+
/**
|
|
579
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge.grant&apiName=get&version=v1 click to debug }
|
|
580
|
+
*/
|
|
581
|
+
get: (payload?: {
|
|
582
|
+
params?: {
|
|
583
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
584
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
585
|
+
};
|
|
586
|
+
path: {
|
|
587
|
+
badge_id: string;
|
|
588
|
+
grant_id: string;
|
|
589
|
+
};
|
|
590
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
591
|
+
code?: number | undefined;
|
|
592
|
+
msg?: string | undefined;
|
|
593
|
+
data?: {
|
|
594
|
+
grant?: {
|
|
595
|
+
id?: string | undefined;
|
|
596
|
+
badge_id?: string | undefined;
|
|
597
|
+
name: string;
|
|
598
|
+
grant_type: number;
|
|
599
|
+
time_zone: string;
|
|
600
|
+
rule_detail: {
|
|
601
|
+
effective_time?: string;
|
|
602
|
+
expiration_time?: string;
|
|
603
|
+
anniversary?: number;
|
|
604
|
+
effective_period?: number;
|
|
605
|
+
};
|
|
606
|
+
is_grant_all: boolean;
|
|
607
|
+
user_ids?: string[] | undefined;
|
|
608
|
+
department_ids?: string[] | undefined;
|
|
609
|
+
group_ids?: string[] | undefined;
|
|
610
|
+
} | undefined;
|
|
611
|
+
} | undefined;
|
|
612
|
+
}>;
|
|
613
|
+
};
|
|
614
|
+
badge: {
|
|
615
|
+
/**
|
|
616
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge&apiName=create&version=v1 click to debug }
|
|
617
|
+
*/
|
|
618
|
+
create: (payload?: {
|
|
619
|
+
data: {
|
|
620
|
+
name: string;
|
|
621
|
+
explanation?: string;
|
|
622
|
+
detail_image: string;
|
|
623
|
+
show_image: string;
|
|
624
|
+
};
|
|
625
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
626
|
+
code?: number | undefined;
|
|
627
|
+
msg?: string | undefined;
|
|
628
|
+
data?: {
|
|
629
|
+
badge?: {
|
|
630
|
+
id?: string | undefined;
|
|
631
|
+
name: string;
|
|
632
|
+
explanation?: string | undefined;
|
|
633
|
+
detail_image: string;
|
|
634
|
+
show_image: string;
|
|
635
|
+
} | undefined;
|
|
636
|
+
} | undefined;
|
|
637
|
+
}>;
|
|
638
|
+
/**
|
|
639
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge&apiName=get&version=v1 click to debug }
|
|
640
|
+
*/
|
|
641
|
+
get: (payload?: {
|
|
642
|
+
path: {
|
|
643
|
+
badge_id: string;
|
|
644
|
+
};
|
|
645
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
646
|
+
code?: number | undefined;
|
|
647
|
+
msg?: string | undefined;
|
|
648
|
+
data?: {
|
|
649
|
+
badge?: {
|
|
650
|
+
id?: string | undefined;
|
|
651
|
+
name: string;
|
|
652
|
+
explanation?: string | undefined;
|
|
653
|
+
detail_image: string;
|
|
654
|
+
show_image: string;
|
|
655
|
+
} | undefined;
|
|
656
|
+
} | undefined;
|
|
657
|
+
}>;
|
|
658
|
+
/**
|
|
659
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge&apiName=update&version=v1 click to debug }
|
|
660
|
+
*/
|
|
661
|
+
update: (payload?: {
|
|
662
|
+
data: {
|
|
663
|
+
name: string;
|
|
664
|
+
explanation?: string;
|
|
665
|
+
detail_image: string;
|
|
666
|
+
show_image: string;
|
|
667
|
+
};
|
|
668
|
+
path: {
|
|
669
|
+
badge_id: string;
|
|
670
|
+
};
|
|
671
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
672
|
+
code?: number | undefined;
|
|
673
|
+
msg?: string | undefined;
|
|
674
|
+
data?: {
|
|
675
|
+
badge?: {
|
|
676
|
+
id?: string | undefined;
|
|
677
|
+
name: string;
|
|
678
|
+
explanation?: string | undefined;
|
|
679
|
+
detail_image: string;
|
|
680
|
+
show_image: string;
|
|
681
|
+
} | undefined;
|
|
682
|
+
} | undefined;
|
|
683
|
+
}>;
|
|
684
|
+
/**
|
|
685
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge&apiName=list&version=v1 click to debug }
|
|
686
|
+
*/
|
|
687
|
+
listWithIterator: (payload?: {
|
|
688
|
+
params: {
|
|
689
|
+
page_size: number;
|
|
690
|
+
page_token?: string;
|
|
691
|
+
name?: string;
|
|
692
|
+
};
|
|
693
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
694
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
695
|
+
badges?: {
|
|
696
|
+
id?: string | undefined;
|
|
697
|
+
name: string;
|
|
698
|
+
explanation?: string | undefined;
|
|
699
|
+
detail_image: string;
|
|
700
|
+
show_image: string;
|
|
701
|
+
}[] | undefined;
|
|
702
|
+
} | null, void, unknown>;
|
|
703
|
+
}>;
|
|
704
|
+
/**
|
|
705
|
+
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=badge&apiName=list&version=v1 click to debug }
|
|
706
|
+
*/
|
|
707
|
+
list: (payload?: {
|
|
708
|
+
params: {
|
|
709
|
+
page_size: number;
|
|
710
|
+
page_token?: string;
|
|
711
|
+
name?: string;
|
|
712
|
+
};
|
|
713
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
714
|
+
code?: number | undefined;
|
|
715
|
+
msg?: string | undefined;
|
|
716
|
+
data?: {
|
|
717
|
+
badges?: {
|
|
718
|
+
id?: string | undefined;
|
|
719
|
+
name: string;
|
|
720
|
+
explanation?: string | undefined;
|
|
721
|
+
detail_image: string;
|
|
722
|
+
show_image: string;
|
|
723
|
+
}[] | undefined;
|
|
724
|
+
page_token?: string | undefined;
|
|
725
|
+
has_more?: boolean | undefined;
|
|
726
|
+
} | undefined;
|
|
727
|
+
}>;
|
|
728
|
+
};
|
|
380
729
|
adminUserStat: {
|
|
381
730
|
/**
|
|
382
731
|
* {@link https://open.feishu.cn/api-explorer?project=admin&resource=admin_user_stat&apiName=list&version=v1 click to debug }
|
|
@@ -859,53 +1208,18 @@ declare abstract class Client$1 {
|
|
|
859
1208
|
} | undefined;
|
|
860
1209
|
}>;
|
|
861
1210
|
/**
|
|
862
|
-
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=instance&apiName=
|
|
1211
|
+
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=instance&apiName=cc&version=v4 click to debug }
|
|
863
1212
|
*/
|
|
864
|
-
|
|
1213
|
+
cc: (payload?: {
|
|
865
1214
|
data: {
|
|
866
1215
|
approval_code: string;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
}>;
|
|
875
|
-
node_approver_open_id_list?: Array<{
|
|
876
|
-
key?: string;
|
|
877
|
-
value?: Array<string>;
|
|
878
|
-
}>;
|
|
879
|
-
node_cc_user_id_list?: Array<{
|
|
880
|
-
key?: string;
|
|
881
|
-
value?: Array<string>;
|
|
882
|
-
}>;
|
|
883
|
-
node_cc_open_id_list?: Array<{
|
|
884
|
-
key?: string;
|
|
885
|
-
value?: Array<string>;
|
|
886
|
-
}>;
|
|
887
|
-
uuid?: string;
|
|
888
|
-
};
|
|
889
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
890
|
-
code?: number | undefined;
|
|
891
|
-
msg?: string | undefined;
|
|
892
|
-
data?: {
|
|
893
|
-
instance_code: string;
|
|
894
|
-
} | undefined;
|
|
895
|
-
}>;
|
|
896
|
-
/**
|
|
897
|
-
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=instance&apiName=cc&version=v4 click to debug }
|
|
898
|
-
*/
|
|
899
|
-
cc: (payload?: {
|
|
900
|
-
data: {
|
|
901
|
-
approval_code: string;
|
|
902
|
-
instance_code: string;
|
|
903
|
-
user_id: string;
|
|
904
|
-
cc_user_ids: Array<string>;
|
|
905
|
-
comment?: string;
|
|
906
|
-
};
|
|
907
|
-
params?: {
|
|
908
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1216
|
+
instance_code: string;
|
|
1217
|
+
user_id: string;
|
|
1218
|
+
cc_user_ids: Array<string>;
|
|
1219
|
+
comment?: string;
|
|
1220
|
+
};
|
|
1221
|
+
params?: {
|
|
1222
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
909
1223
|
};
|
|
910
1224
|
}, options?: IRequestOptions$1) => Promise<{
|
|
911
1225
|
code?: number | undefined;
|
|
@@ -1246,6 +1560,43 @@ declare abstract class Client$1 {
|
|
|
1246
1560
|
has_more?: boolean | undefined;
|
|
1247
1561
|
} | undefined;
|
|
1248
1562
|
}>;
|
|
1563
|
+
/**
|
|
1564
|
+
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=instance&apiName=create&version=v4 click to debug }
|
|
1565
|
+
*/
|
|
1566
|
+
create: (payload?: {
|
|
1567
|
+
data: {
|
|
1568
|
+
approval_code: string;
|
|
1569
|
+
user_id?: string;
|
|
1570
|
+
open_id: string;
|
|
1571
|
+
department_id?: string;
|
|
1572
|
+
form: string;
|
|
1573
|
+
node_approver_user_id_list?: Array<{
|
|
1574
|
+
key?: string;
|
|
1575
|
+
value?: Array<string>;
|
|
1576
|
+
}>;
|
|
1577
|
+
node_approver_open_id_list?: Array<{
|
|
1578
|
+
key?: string;
|
|
1579
|
+
value?: Array<string>;
|
|
1580
|
+
}>;
|
|
1581
|
+
node_cc_user_id_list?: Array<{
|
|
1582
|
+
key?: string;
|
|
1583
|
+
value?: Array<string>;
|
|
1584
|
+
}>;
|
|
1585
|
+
node_cc_open_id_list?: Array<{
|
|
1586
|
+
key?: string;
|
|
1587
|
+
value?: Array<string>;
|
|
1588
|
+
}>;
|
|
1589
|
+
uuid?: string;
|
|
1590
|
+
allow_resubmit?: boolean;
|
|
1591
|
+
allow_submit_again?: boolean;
|
|
1592
|
+
};
|
|
1593
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
1594
|
+
code?: number | undefined;
|
|
1595
|
+
msg?: string | undefined;
|
|
1596
|
+
data?: {
|
|
1597
|
+
instance_code: string;
|
|
1598
|
+
} | undefined;
|
|
1599
|
+
}>;
|
|
1249
1600
|
};
|
|
1250
1601
|
task: {
|
|
1251
1602
|
/**
|
|
@@ -1309,44 +1660,6 @@ declare abstract class Client$1 {
|
|
|
1309
1660
|
} | undefined;
|
|
1310
1661
|
} | undefined;
|
|
1311
1662
|
}>;
|
|
1312
|
-
/**
|
|
1313
|
-
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=task&apiName=reject&version=v4 click to debug }
|
|
1314
|
-
*/
|
|
1315
|
-
reject: (payload?: {
|
|
1316
|
-
data: {
|
|
1317
|
-
approval_code: string;
|
|
1318
|
-
instance_code: string;
|
|
1319
|
-
user_id: string;
|
|
1320
|
-
comment?: string;
|
|
1321
|
-
task_id: string;
|
|
1322
|
-
};
|
|
1323
|
-
params?: {
|
|
1324
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1325
|
-
};
|
|
1326
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
1327
|
-
code?: number | undefined;
|
|
1328
|
-
msg?: string | undefined;
|
|
1329
|
-
data?: {} | undefined;
|
|
1330
|
-
}>;
|
|
1331
|
-
/**
|
|
1332
|
-
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=task&apiName=approve&version=v4 click to debug }
|
|
1333
|
-
*/
|
|
1334
|
-
approve: (payload?: {
|
|
1335
|
-
data: {
|
|
1336
|
-
approval_code: string;
|
|
1337
|
-
instance_code: string;
|
|
1338
|
-
user_id: string;
|
|
1339
|
-
comment?: string;
|
|
1340
|
-
task_id: string;
|
|
1341
|
-
};
|
|
1342
|
-
params?: {
|
|
1343
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1344
|
-
};
|
|
1345
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
1346
|
-
code?: number | undefined;
|
|
1347
|
-
msg?: string | undefined;
|
|
1348
|
-
data?: {} | undefined;
|
|
1349
|
-
}>;
|
|
1350
1663
|
/**
|
|
1351
1664
|
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=task&apiName=transfer&version=v4 click to debug }
|
|
1352
1665
|
*/
|
|
@@ -1439,6 +1752,66 @@ declare abstract class Client$1 {
|
|
|
1439
1752
|
has_more?: boolean | undefined;
|
|
1440
1753
|
} | undefined;
|
|
1441
1754
|
}>;
|
|
1755
|
+
/**
|
|
1756
|
+
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=task&apiName=resubmit&version=v4 click to debug }
|
|
1757
|
+
*/
|
|
1758
|
+
resubmit: (payload?: {
|
|
1759
|
+
data: {
|
|
1760
|
+
approval_code: string;
|
|
1761
|
+
instance_code: string;
|
|
1762
|
+
user_id: string;
|
|
1763
|
+
comment?: string;
|
|
1764
|
+
task_id: string;
|
|
1765
|
+
form: string;
|
|
1766
|
+
};
|
|
1767
|
+
params?: {
|
|
1768
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1769
|
+
};
|
|
1770
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
1771
|
+
code?: number | undefined;
|
|
1772
|
+
msg?: string | undefined;
|
|
1773
|
+
data?: {} | undefined;
|
|
1774
|
+
}>;
|
|
1775
|
+
/**
|
|
1776
|
+
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=task&apiName=reject&version=v4 click to debug }
|
|
1777
|
+
*/
|
|
1778
|
+
reject: (payload?: {
|
|
1779
|
+
data: {
|
|
1780
|
+
approval_code: string;
|
|
1781
|
+
instance_code: string;
|
|
1782
|
+
user_id: string;
|
|
1783
|
+
comment?: string;
|
|
1784
|
+
task_id: string;
|
|
1785
|
+
form?: string;
|
|
1786
|
+
};
|
|
1787
|
+
params?: {
|
|
1788
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1789
|
+
};
|
|
1790
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
1791
|
+
code?: number | undefined;
|
|
1792
|
+
msg?: string | undefined;
|
|
1793
|
+
data?: {} | undefined;
|
|
1794
|
+
}>;
|
|
1795
|
+
/**
|
|
1796
|
+
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=task&apiName=approve&version=v4 click to debug }
|
|
1797
|
+
*/
|
|
1798
|
+
approve: (payload?: {
|
|
1799
|
+
data: {
|
|
1800
|
+
approval_code: string;
|
|
1801
|
+
instance_code: string;
|
|
1802
|
+
user_id: string;
|
|
1803
|
+
comment?: string;
|
|
1804
|
+
task_id: string;
|
|
1805
|
+
form?: string;
|
|
1806
|
+
};
|
|
1807
|
+
params?: {
|
|
1808
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1809
|
+
};
|
|
1810
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
1811
|
+
code?: number | undefined;
|
|
1812
|
+
msg?: string | undefined;
|
|
1813
|
+
data?: {} | undefined;
|
|
1814
|
+
}>;
|
|
1442
1815
|
};
|
|
1443
1816
|
approval: {
|
|
1444
1817
|
/**
|
|
@@ -1551,6 +1924,7 @@ declare abstract class Client$1 {
|
|
|
1551
1924
|
}>;
|
|
1552
1925
|
is_default: boolean;
|
|
1553
1926
|
}>;
|
|
1927
|
+
process_manager_ids?: Array<string>;
|
|
1554
1928
|
};
|
|
1555
1929
|
params?: {
|
|
1556
1930
|
department_id_type?: "department_id" | "open_department_id";
|
|
@@ -1819,7 +2193,7 @@ declare abstract class Client$1 {
|
|
|
1819
2193
|
start_time: string;
|
|
1820
2194
|
end_time: string;
|
|
1821
2195
|
update_time: string;
|
|
1822
|
-
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL";
|
|
2196
|
+
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | "TRUSTEESHIP";
|
|
1823
2197
|
update_mode?: "REPLACE" | "UPDATE";
|
|
1824
2198
|
task_list?: Array<{
|
|
1825
2199
|
task_id: string;
|
|
@@ -1843,7 +2217,7 @@ declare abstract class Client$1 {
|
|
|
1843
2217
|
is_reason_required?: boolean;
|
|
1844
2218
|
is_need_attachment?: boolean;
|
|
1845
2219
|
}>;
|
|
1846
|
-
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL";
|
|
2220
|
+
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | "TRUSTEESHIP";
|
|
1847
2221
|
}>;
|
|
1848
2222
|
cc_list?: Array<{
|
|
1849
2223
|
cc_id: string;
|
|
@@ -1858,7 +2232,7 @@ declare abstract class Client$1 {
|
|
|
1858
2232
|
title?: string;
|
|
1859
2233
|
create_time: string;
|
|
1860
2234
|
update_time: string;
|
|
1861
|
-
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL";
|
|
2235
|
+
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | "TRUSTEESHIP";
|
|
1862
2236
|
}>;
|
|
1863
2237
|
i18n_resources: Array<{
|
|
1864
2238
|
locale: "zh-CN" | "en-US" | "ja-JP";
|
|
@@ -1868,6 +2242,14 @@ declare abstract class Client$1 {
|
|
|
1868
2242
|
}>;
|
|
1869
2243
|
is_default: boolean;
|
|
1870
2244
|
}>;
|
|
2245
|
+
trusteeship_url_token?: string;
|
|
2246
|
+
trusteeship_user_id_type?: string;
|
|
2247
|
+
trusteeship_urls?: {
|
|
2248
|
+
form_detail_url?: string;
|
|
2249
|
+
action_definition_url?: string;
|
|
2250
|
+
approval_node_url?: string;
|
|
2251
|
+
action_callback_url?: string;
|
|
2252
|
+
};
|
|
1871
2253
|
};
|
|
1872
2254
|
}, options?: IRequestOptions$1) => Promise<{
|
|
1873
2255
|
code?: number | undefined;
|
|
@@ -1895,7 +2277,7 @@ declare abstract class Client$1 {
|
|
|
1895
2277
|
start_time: string;
|
|
1896
2278
|
end_time: string;
|
|
1897
2279
|
update_time: string;
|
|
1898
|
-
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | undefined;
|
|
2280
|
+
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | "TRUSTEESHIP" | undefined;
|
|
1899
2281
|
update_mode?: "REPLACE" | "UPDATE" | undefined;
|
|
1900
2282
|
task_list?: {
|
|
1901
2283
|
task_id: string;
|
|
@@ -1919,7 +2301,7 @@ declare abstract class Client$1 {
|
|
|
1919
2301
|
is_reason_required?: boolean | undefined;
|
|
1920
2302
|
is_need_attachment?: boolean | undefined;
|
|
1921
2303
|
}[] | undefined;
|
|
1922
|
-
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | undefined;
|
|
2304
|
+
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | "TRUSTEESHIP" | undefined;
|
|
1923
2305
|
}[] | undefined;
|
|
1924
2306
|
cc_list?: {
|
|
1925
2307
|
cc_id: string;
|
|
@@ -1934,7 +2316,7 @@ declare abstract class Client$1 {
|
|
|
1934
2316
|
title?: string | undefined;
|
|
1935
2317
|
create_time: string;
|
|
1936
2318
|
update_time: string;
|
|
1937
|
-
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | undefined;
|
|
2319
|
+
display_method?: "BROWSER" | "SIDEBAR" | "NORMAL" | "TRUSTEESHIP" | undefined;
|
|
1938
2320
|
}[] | undefined;
|
|
1939
2321
|
i18n_resources: Array<{
|
|
1940
2322
|
locale: "zh-CN" | "en-US" | "ja-JP";
|
|
@@ -1944,6 +2326,14 @@ declare abstract class Client$1 {
|
|
|
1944
2326
|
}>;
|
|
1945
2327
|
is_default: boolean;
|
|
1946
2328
|
}>;
|
|
2329
|
+
trusteeship_url_token?: string | undefined;
|
|
2330
|
+
trusteeship_user_id_type?: string | undefined;
|
|
2331
|
+
trusteeship_urls?: {
|
|
2332
|
+
form_detail_url?: string | undefined;
|
|
2333
|
+
action_definition_url?: string | undefined;
|
|
2334
|
+
approval_node_url?: string | undefined;
|
|
2335
|
+
action_callback_url?: string | undefined;
|
|
2336
|
+
} | undefined;
|
|
1947
2337
|
} | undefined;
|
|
1948
2338
|
} | undefined;
|
|
1949
2339
|
}>;
|
|
@@ -1973,6 +2363,7 @@ declare abstract class Client$1 {
|
|
|
1973
2363
|
action_callback_token?: string;
|
|
1974
2364
|
action_callback_key?: string;
|
|
1975
2365
|
allow_batch_operate?: boolean;
|
|
2366
|
+
exclude_efficiency_statistics?: boolean;
|
|
1976
2367
|
};
|
|
1977
2368
|
viewers?: Array<{
|
|
1978
2369
|
viewer_type?: "TENANT" | "DEPARTMENT" | "USER" | "NONE";
|
|
@@ -2941,217 +3332,25 @@ declare abstract class Client$1 {
|
|
|
2941
3332
|
} | undefined;
|
|
2942
3333
|
}>;
|
|
2943
3334
|
};
|
|
2944
|
-
|
|
3335
|
+
userFlow: {
|
|
2945
3336
|
/**
|
|
2946
|
-
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=
|
|
3337
|
+
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_flow&apiName=query&version=v1 click to debug }
|
|
2947
3338
|
*/
|
|
2948
|
-
|
|
2949
|
-
data
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
outs?: Array<{
|
|
2954
|
-
uniq_id: string;
|
|
2955
|
-
unit: number;
|
|
2956
|
-
interval: number;
|
|
2957
|
-
start_time: string;
|
|
2958
|
-
end_time: string;
|
|
2959
|
-
i18n_names: {
|
|
2960
|
-
ch?: string;
|
|
2961
|
-
en?: string;
|
|
2962
|
-
ja?: string;
|
|
2963
|
-
};
|
|
2964
|
-
default_locale: string;
|
|
2965
|
-
reason: string;
|
|
2966
|
-
}>;
|
|
2967
|
-
leaves?: Array<{
|
|
2968
|
-
uniq_id?: string;
|
|
2969
|
-
unit: number;
|
|
2970
|
-
interval: number;
|
|
2971
|
-
start_time: string;
|
|
2972
|
-
end_time: string;
|
|
2973
|
-
i18n_names: {
|
|
2974
|
-
ch?: string;
|
|
2975
|
-
en?: string;
|
|
2976
|
-
ja?: string;
|
|
2977
|
-
};
|
|
2978
|
-
default_locale: "ch" | "en" | "ja";
|
|
2979
|
-
reason: string;
|
|
2980
|
-
}>;
|
|
2981
|
-
overtime_works?: Array<{
|
|
2982
|
-
duration: number;
|
|
2983
|
-
unit: number;
|
|
2984
|
-
category: number;
|
|
2985
|
-
type: number;
|
|
2986
|
-
start_time: string;
|
|
2987
|
-
end_time: string;
|
|
2988
|
-
}>;
|
|
2989
|
-
trips?: Array<{
|
|
2990
|
-
start_time: string;
|
|
2991
|
-
end_time: string;
|
|
2992
|
-
reason: string;
|
|
2993
|
-
}>;
|
|
2994
|
-
};
|
|
3339
|
+
query: (payload?: {
|
|
3340
|
+
data: {
|
|
3341
|
+
user_ids: Array<string>;
|
|
3342
|
+
check_time_from: string;
|
|
3343
|
+
check_time_to: string;
|
|
2995
3344
|
};
|
|
2996
3345
|
params: {
|
|
2997
3346
|
employee_type: "employee_id" | "employee_no";
|
|
3347
|
+
include_terminated_user?: boolean;
|
|
2998
3348
|
};
|
|
2999
3349
|
}, options?: IRequestOptions$1) => Promise<{
|
|
3000
3350
|
code?: number | undefined;
|
|
3001
3351
|
msg?: string | undefined;
|
|
3002
3352
|
data?: {
|
|
3003
|
-
|
|
3004
|
-
user_id: string;
|
|
3005
|
-
date: string;
|
|
3006
|
-
outs?: {
|
|
3007
|
-
approval_id?: string | undefined;
|
|
3008
|
-
uniq_id: string;
|
|
3009
|
-
unit: number;
|
|
3010
|
-
interval: number;
|
|
3011
|
-
start_time: string;
|
|
3012
|
-
end_time: string;
|
|
3013
|
-
i18n_names: {
|
|
3014
|
-
ch?: string;
|
|
3015
|
-
en?: string;
|
|
3016
|
-
ja?: string;
|
|
3017
|
-
};
|
|
3018
|
-
default_locale: string;
|
|
3019
|
-
reason: string;
|
|
3020
|
-
approve_pass_time?: string | undefined;
|
|
3021
|
-
approve_apply_time?: string | undefined;
|
|
3022
|
-
}[] | undefined;
|
|
3023
|
-
leaves?: {
|
|
3024
|
-
approval_id?: string | undefined;
|
|
3025
|
-
uniq_id?: string | undefined;
|
|
3026
|
-
unit: number;
|
|
3027
|
-
interval: number;
|
|
3028
|
-
start_time: string;
|
|
3029
|
-
end_time: string;
|
|
3030
|
-
i18n_names: {
|
|
3031
|
-
ch?: string;
|
|
3032
|
-
en?: string;
|
|
3033
|
-
ja?: string;
|
|
3034
|
-
};
|
|
3035
|
-
default_locale: "ch" | "en" | "ja";
|
|
3036
|
-
reason: string;
|
|
3037
|
-
approve_pass_time?: string | undefined;
|
|
3038
|
-
approve_apply_time?: string | undefined;
|
|
3039
|
-
}[] | undefined;
|
|
3040
|
-
overtime_works?: {
|
|
3041
|
-
approval_id?: string | undefined;
|
|
3042
|
-
duration: number;
|
|
3043
|
-
unit: number;
|
|
3044
|
-
category: number;
|
|
3045
|
-
type: number;
|
|
3046
|
-
start_time: string;
|
|
3047
|
-
end_time: string;
|
|
3048
|
-
}[] | undefined;
|
|
3049
|
-
trips?: {
|
|
3050
|
-
approval_id?: string | undefined;
|
|
3051
|
-
start_time: string;
|
|
3052
|
-
end_time: string;
|
|
3053
|
-
reason: string;
|
|
3054
|
-
approve_pass_time: string;
|
|
3055
|
-
approve_apply_time: string;
|
|
3056
|
-
}[] | undefined;
|
|
3057
|
-
} | undefined;
|
|
3058
|
-
} | undefined;
|
|
3059
|
-
}>;
|
|
3060
|
-
/**
|
|
3061
|
-
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_approval&apiName=query&version=v1 click to debug }
|
|
3062
|
-
*/
|
|
3063
|
-
query: (payload?: {
|
|
3064
|
-
data: {
|
|
3065
|
-
user_ids: Array<string>;
|
|
3066
|
-
check_date_from: number;
|
|
3067
|
-
check_date_to: number;
|
|
3068
|
-
check_date_type?: "PeriodTime" | "CreateTime";
|
|
3069
|
-
status?: number;
|
|
3070
|
-
};
|
|
3071
|
-
params: {
|
|
3072
|
-
employee_type: "employee_id" | "employee_no";
|
|
3073
|
-
};
|
|
3074
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
3075
|
-
code?: number | undefined;
|
|
3076
|
-
msg?: string | undefined;
|
|
3077
|
-
data?: {
|
|
3078
|
-
user_approvals?: {
|
|
3079
|
-
user_id: string;
|
|
3080
|
-
date: string;
|
|
3081
|
-
outs?: {
|
|
3082
|
-
approval_id?: string | undefined;
|
|
3083
|
-
uniq_id: string;
|
|
3084
|
-
unit: number;
|
|
3085
|
-
interval: number;
|
|
3086
|
-
start_time: string;
|
|
3087
|
-
end_time: string;
|
|
3088
|
-
i18n_names: {
|
|
3089
|
-
ch?: string;
|
|
3090
|
-
en?: string;
|
|
3091
|
-
ja?: string;
|
|
3092
|
-
};
|
|
3093
|
-
default_locale: string;
|
|
3094
|
-
reason: string;
|
|
3095
|
-
approve_pass_time?: string | undefined;
|
|
3096
|
-
approve_apply_time?: string | undefined;
|
|
3097
|
-
}[] | undefined;
|
|
3098
|
-
leaves?: {
|
|
3099
|
-
approval_id?: string | undefined;
|
|
3100
|
-
uniq_id?: string | undefined;
|
|
3101
|
-
unit: number;
|
|
3102
|
-
interval: number;
|
|
3103
|
-
start_time: string;
|
|
3104
|
-
end_time: string;
|
|
3105
|
-
i18n_names: {
|
|
3106
|
-
ch?: string;
|
|
3107
|
-
en?: string;
|
|
3108
|
-
ja?: string;
|
|
3109
|
-
};
|
|
3110
|
-
default_locale: "ch" | "en" | "ja";
|
|
3111
|
-
reason: string;
|
|
3112
|
-
approve_pass_time?: string | undefined;
|
|
3113
|
-
approve_apply_time?: string | undefined;
|
|
3114
|
-
}[] | undefined;
|
|
3115
|
-
overtime_works?: {
|
|
3116
|
-
approval_id?: string | undefined;
|
|
3117
|
-
duration: number;
|
|
3118
|
-
unit: number;
|
|
3119
|
-
category: number;
|
|
3120
|
-
type: number;
|
|
3121
|
-
start_time: string;
|
|
3122
|
-
end_time: string;
|
|
3123
|
-
}[] | undefined;
|
|
3124
|
-
trips?: {
|
|
3125
|
-
approval_id?: string | undefined;
|
|
3126
|
-
start_time: string;
|
|
3127
|
-
end_time: string;
|
|
3128
|
-
reason: string;
|
|
3129
|
-
approve_pass_time: string;
|
|
3130
|
-
approve_apply_time: string;
|
|
3131
|
-
}[] | undefined;
|
|
3132
|
-
}[] | undefined;
|
|
3133
|
-
} | undefined;
|
|
3134
|
-
}>;
|
|
3135
|
-
};
|
|
3136
|
-
userFlow: {
|
|
3137
|
-
/**
|
|
3138
|
-
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_flow&apiName=query&version=v1 click to debug }
|
|
3139
|
-
*/
|
|
3140
|
-
query: (payload?: {
|
|
3141
|
-
data: {
|
|
3142
|
-
user_ids: Array<string>;
|
|
3143
|
-
check_time_from: string;
|
|
3144
|
-
check_time_to: string;
|
|
3145
|
-
};
|
|
3146
|
-
params: {
|
|
3147
|
-
employee_type: "employee_id" | "employee_no";
|
|
3148
|
-
include_terminated_user?: boolean;
|
|
3149
|
-
};
|
|
3150
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
3151
|
-
code?: number | undefined;
|
|
3152
|
-
msg?: string | undefined;
|
|
3153
|
-
data?: {
|
|
3154
|
-
user_flow_results?: {
|
|
3353
|
+
user_flow_results?: {
|
|
3155
3354
|
user_id: string;
|
|
3156
3355
|
creator_id: string;
|
|
3157
3356
|
location_name: string;
|
|
@@ -3355,20 +3554,17 @@ declare abstract class Client$1 {
|
|
|
3355
3554
|
} | undefined;
|
|
3356
3555
|
}>;
|
|
3357
3556
|
};
|
|
3358
|
-
|
|
3557
|
+
userApproval: {
|
|
3359
3558
|
/**
|
|
3360
|
-
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=
|
|
3559
|
+
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_approval&apiName=query&version=v1 click to debug }
|
|
3361
3560
|
*/
|
|
3362
3561
|
query: (payload?: {
|
|
3363
3562
|
data: {
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
need_history?: boolean;
|
|
3370
|
-
current_group_only?: boolean;
|
|
3371
|
-
user_id?: string;
|
|
3563
|
+
user_ids: Array<string>;
|
|
3564
|
+
check_date_from: number;
|
|
3565
|
+
check_date_to: number;
|
|
3566
|
+
check_date_type?: "PeriodTime" | "CreateTime";
|
|
3567
|
+
status?: number;
|
|
3372
3568
|
};
|
|
3373
3569
|
params: {
|
|
3374
3570
|
employee_type: "employee_id" | "employee_no";
|
|
@@ -3377,45 +3573,240 @@ declare abstract class Client$1 {
|
|
|
3377
3573
|
code?: number | undefined;
|
|
3378
3574
|
msg?: string | undefined;
|
|
3379
3575
|
data?: {
|
|
3380
|
-
|
|
3381
|
-
name: string;
|
|
3576
|
+
user_approvals?: {
|
|
3382
3577
|
user_id: string;
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3578
|
+
date: string;
|
|
3579
|
+
outs?: {
|
|
3580
|
+
approval_id?: string | undefined;
|
|
3581
|
+
uniq_id: string;
|
|
3582
|
+
unit: number;
|
|
3583
|
+
interval: number;
|
|
3584
|
+
start_time: string;
|
|
3585
|
+
end_time: string;
|
|
3586
|
+
i18n_names: {
|
|
3587
|
+
ch?: string;
|
|
3588
|
+
en?: string;
|
|
3589
|
+
ja?: string;
|
|
3590
|
+
};
|
|
3591
|
+
default_locale: string;
|
|
3592
|
+
reason: string;
|
|
3593
|
+
approve_pass_time?: string | undefined;
|
|
3594
|
+
approve_apply_time?: string | undefined;
|
|
3595
|
+
}[] | undefined;
|
|
3596
|
+
leaves?: {
|
|
3597
|
+
approval_id?: string | undefined;
|
|
3598
|
+
uniq_id?: string | undefined;
|
|
3599
|
+
unit: number;
|
|
3600
|
+
interval: number;
|
|
3601
|
+
start_time: string;
|
|
3602
|
+
end_time: string;
|
|
3603
|
+
i18n_names: {
|
|
3604
|
+
ch?: string;
|
|
3605
|
+
en?: string;
|
|
3606
|
+
ja?: string;
|
|
3607
|
+
};
|
|
3608
|
+
default_locale: "ch" | "en" | "ja";
|
|
3609
|
+
reason: string;
|
|
3610
|
+
approve_pass_time?: string | undefined;
|
|
3611
|
+
approve_apply_time?: string | undefined;
|
|
3612
|
+
}[] | undefined;
|
|
3613
|
+
overtime_works?: {
|
|
3614
|
+
approval_id?: string | undefined;
|
|
3615
|
+
duration: number;
|
|
3616
|
+
unit: number;
|
|
3617
|
+
category: number;
|
|
3618
|
+
type: number;
|
|
3619
|
+
start_time: string;
|
|
3620
|
+
end_time: string;
|
|
3621
|
+
}[] | undefined;
|
|
3622
|
+
trips?: {
|
|
3623
|
+
approval_id?: string | undefined;
|
|
3624
|
+
start_time: string;
|
|
3625
|
+
end_time: string;
|
|
3626
|
+
reason: string;
|
|
3627
|
+
approve_pass_time: string;
|
|
3628
|
+
approve_apply_time: string;
|
|
3391
3629
|
}[] | undefined;
|
|
3392
3630
|
}[] | undefined;
|
|
3393
3631
|
} | undefined;
|
|
3394
3632
|
}>;
|
|
3395
|
-
};
|
|
3396
|
-
};
|
|
3397
|
-
aweme_ecosystem: {};
|
|
3398
|
-
baike: {
|
|
3399
|
-
entity: {
|
|
3400
3633
|
/**
|
|
3401
|
-
* {@link https://open.feishu.cn/api-explorer?project=
|
|
3634
|
+
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_approval&apiName=create&version=v1 click to debug }
|
|
3402
3635
|
*/
|
|
3403
|
-
|
|
3404
|
-
data
|
|
3405
|
-
|
|
3636
|
+
create: (payload?: {
|
|
3637
|
+
data?: {
|
|
3638
|
+
user_approval?: {
|
|
3639
|
+
user_id: string;
|
|
3640
|
+
date: string;
|
|
3641
|
+
outs?: Array<{
|
|
3642
|
+
uniq_id: string;
|
|
3643
|
+
unit: number;
|
|
3644
|
+
interval: number;
|
|
3645
|
+
start_time: string;
|
|
3646
|
+
end_time: string;
|
|
3647
|
+
i18n_names: {
|
|
3648
|
+
ch?: string;
|
|
3649
|
+
en?: string;
|
|
3650
|
+
ja?: string;
|
|
3651
|
+
};
|
|
3652
|
+
default_locale: string;
|
|
3653
|
+
reason: string;
|
|
3654
|
+
}>;
|
|
3655
|
+
leaves?: Array<{
|
|
3656
|
+
uniq_id?: string;
|
|
3657
|
+
unit: number;
|
|
3658
|
+
interval: number;
|
|
3659
|
+
start_time: string;
|
|
3660
|
+
end_time: string;
|
|
3661
|
+
i18n_names: {
|
|
3662
|
+
ch?: string;
|
|
3663
|
+
en?: string;
|
|
3664
|
+
ja?: string;
|
|
3665
|
+
};
|
|
3666
|
+
default_locale: "ch" | "en" | "ja";
|
|
3667
|
+
reason: string;
|
|
3668
|
+
}>;
|
|
3669
|
+
overtime_works?: Array<{
|
|
3670
|
+
duration: number;
|
|
3671
|
+
unit: number;
|
|
3672
|
+
category: number;
|
|
3673
|
+
type: number;
|
|
3674
|
+
start_time: string;
|
|
3675
|
+
end_time: string;
|
|
3676
|
+
}>;
|
|
3677
|
+
trips?: Array<{
|
|
3678
|
+
start_time: string;
|
|
3679
|
+
end_time: string;
|
|
3680
|
+
reason: string;
|
|
3681
|
+
}>;
|
|
3682
|
+
};
|
|
3683
|
+
};
|
|
3684
|
+
params: {
|
|
3685
|
+
employee_type: "employee_id" | "employee_no";
|
|
3406
3686
|
};
|
|
3407
3687
|
}, options?: IRequestOptions$1) => Promise<{
|
|
3408
3688
|
code?: number | undefined;
|
|
3409
3689
|
msg?: string | undefined;
|
|
3410
3690
|
data?: {
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3691
|
+
user_approval?: {
|
|
3692
|
+
user_id: string;
|
|
3693
|
+
date: string;
|
|
3694
|
+
outs?: {
|
|
3695
|
+
approval_id?: string | undefined;
|
|
3696
|
+
uniq_id: string;
|
|
3697
|
+
unit: number;
|
|
3698
|
+
interval: number;
|
|
3699
|
+
start_time: string;
|
|
3700
|
+
end_time: string;
|
|
3701
|
+
i18n_names: {
|
|
3702
|
+
ch?: string;
|
|
3703
|
+
en?: string;
|
|
3704
|
+
ja?: string;
|
|
3705
|
+
};
|
|
3706
|
+
default_locale: string;
|
|
3707
|
+
reason: string;
|
|
3708
|
+
approve_pass_time?: string | undefined;
|
|
3709
|
+
approve_apply_time?: string | undefined;
|
|
3710
|
+
}[] | undefined;
|
|
3711
|
+
leaves?: {
|
|
3712
|
+
approval_id?: string | undefined;
|
|
3713
|
+
uniq_id?: string | undefined;
|
|
3714
|
+
unit: number;
|
|
3715
|
+
interval: number;
|
|
3716
|
+
start_time: string;
|
|
3717
|
+
end_time: string;
|
|
3718
|
+
i18n_names: {
|
|
3719
|
+
ch?: string;
|
|
3720
|
+
en?: string;
|
|
3721
|
+
ja?: string;
|
|
3722
|
+
};
|
|
3723
|
+
default_locale: "ch" | "en" | "ja";
|
|
3724
|
+
reason: string;
|
|
3725
|
+
approve_pass_time?: string | undefined;
|
|
3726
|
+
approve_apply_time?: string | undefined;
|
|
3727
|
+
}[] | undefined;
|
|
3728
|
+
overtime_works?: {
|
|
3729
|
+
approval_id?: string | undefined;
|
|
3730
|
+
duration: number;
|
|
3731
|
+
unit: number;
|
|
3732
|
+
category: number;
|
|
3733
|
+
type: number;
|
|
3734
|
+
start_time: string;
|
|
3735
|
+
end_time: string;
|
|
3736
|
+
}[] | undefined;
|
|
3737
|
+
trips?: {
|
|
3738
|
+
approval_id?: string | undefined;
|
|
3739
|
+
start_time: string;
|
|
3740
|
+
end_time: string;
|
|
3741
|
+
reason: string;
|
|
3742
|
+
approve_pass_time: string;
|
|
3743
|
+
approve_apply_time: string;
|
|
3744
|
+
}[] | undefined;
|
|
3745
|
+
} | undefined;
|
|
3746
|
+
} | undefined;
|
|
3747
|
+
}>;
|
|
3748
|
+
};
|
|
3749
|
+
userStatsData: {
|
|
3750
|
+
/**
|
|
3751
|
+
* {@link https://open.feishu.cn/api-explorer?project=attendance&resource=user_stats_data&apiName=query&version=v1 click to debug }
|
|
3752
|
+
*/
|
|
3753
|
+
query: (payload?: {
|
|
3754
|
+
data: {
|
|
3755
|
+
locale: "en" | "ja" | "zh";
|
|
3756
|
+
stats_type: "daily" | "month";
|
|
3757
|
+
start_date: number;
|
|
3758
|
+
end_date: number;
|
|
3759
|
+
user_ids?: Array<string>;
|
|
3760
|
+
need_history?: boolean;
|
|
3761
|
+
current_group_only?: boolean;
|
|
3762
|
+
user_id?: string;
|
|
3763
|
+
};
|
|
3764
|
+
params: {
|
|
3765
|
+
employee_type: "employee_id" | "employee_no";
|
|
3766
|
+
};
|
|
3767
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
3768
|
+
code?: number | undefined;
|
|
3769
|
+
msg?: string | undefined;
|
|
3770
|
+
data?: {
|
|
3771
|
+
user_datas?: {
|
|
3772
|
+
name: string;
|
|
3773
|
+
user_id: string;
|
|
3774
|
+
datas?: {
|
|
3775
|
+
code: string;
|
|
3776
|
+
value: string;
|
|
3777
|
+
features?: {
|
|
3778
|
+
key: string;
|
|
3779
|
+
value: string;
|
|
3780
|
+
}[] | undefined;
|
|
3781
|
+
title?: string | undefined;
|
|
3782
|
+
}[] | undefined;
|
|
3783
|
+
}[] | undefined;
|
|
3784
|
+
} | undefined;
|
|
3785
|
+
}>;
|
|
3786
|
+
};
|
|
3787
|
+
};
|
|
3788
|
+
aweme_ecosystem: {};
|
|
3789
|
+
baike: {
|
|
3790
|
+
entity: {
|
|
3791
|
+
/**
|
|
3792
|
+
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=match&version=v1 click to debug }
|
|
3793
|
+
*/
|
|
3794
|
+
match: (payload?: {
|
|
3795
|
+
data: {
|
|
3796
|
+
word: string;
|
|
3797
|
+
};
|
|
3798
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
3799
|
+
code?: number | undefined;
|
|
3800
|
+
msg?: string | undefined;
|
|
3801
|
+
data?: {
|
|
3802
|
+
results?: {
|
|
3803
|
+
entity_id?: string | undefined;
|
|
3804
|
+
type?: number | undefined;
|
|
3805
|
+
}[] | undefined;
|
|
3806
|
+
} | undefined;
|
|
3807
|
+
}>;
|
|
3808
|
+
/**
|
|
3809
|
+
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=highlight&version=v1 click to debug }
|
|
3419
3810
|
*/
|
|
3420
3811
|
highlight: (payload?: {
|
|
3421
3812
|
data: {
|
|
@@ -4673,6 +5064,18 @@ declare abstract class Client$1 {
|
|
|
4673
5064
|
msg?: string | undefined;
|
|
4674
5065
|
data?: {} | undefined;
|
|
4675
5066
|
}>;
|
|
5067
|
+
/**
|
|
5068
|
+
* {@link https://open.feishu.cn/api-explorer?project=calendar&resource=calendar.acl&apiName=unsubscription&version=v4 click to debug }
|
|
5069
|
+
*/
|
|
5070
|
+
unsubscription: (payload?: {
|
|
5071
|
+
path: {
|
|
5072
|
+
calendar_id: string;
|
|
5073
|
+
};
|
|
5074
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
5075
|
+
code?: number | undefined;
|
|
5076
|
+
msg?: string | undefined;
|
|
5077
|
+
data?: {} | undefined;
|
|
5078
|
+
}>;
|
|
4676
5079
|
};
|
|
4677
5080
|
calendarEventAttendee: {
|
|
4678
5081
|
/**
|
|
@@ -5382,6 +5785,18 @@ declare abstract class Client$1 {
|
|
|
5382
5785
|
msg?: string | undefined;
|
|
5383
5786
|
data?: {} | undefined;
|
|
5384
5787
|
}>;
|
|
5788
|
+
/**
|
|
5789
|
+
* {@link https://open.feishu.cn/api-explorer?project=calendar&resource=calendar.event&apiName=unsubscription&version=v4 click to debug }
|
|
5790
|
+
*/
|
|
5791
|
+
unsubscription: (payload?: {
|
|
5792
|
+
path: {
|
|
5793
|
+
calendar_id: string;
|
|
5794
|
+
};
|
|
5795
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
5796
|
+
code?: number | undefined;
|
|
5797
|
+
msg?: string | undefined;
|
|
5798
|
+
data?: {} | undefined;
|
|
5799
|
+
}>;
|
|
5385
5800
|
};
|
|
5386
5801
|
calendar: {
|
|
5387
5802
|
/**
|
|
@@ -5640,6 +6055,14 @@ declare abstract class Client$1 {
|
|
|
5640
6055
|
}[] | undefined;
|
|
5641
6056
|
} | undefined;
|
|
5642
6057
|
}>;
|
|
6058
|
+
/**
|
|
6059
|
+
* {@link https://open.feishu.cn/api-explorer?project=calendar&resource=calendar&apiName=unsubscription&version=v4 click to debug }
|
|
6060
|
+
*/
|
|
6061
|
+
unsubscription: (payload?: {}, options?: IRequestOptions$1) => Promise<{
|
|
6062
|
+
code?: number | undefined;
|
|
6063
|
+
msg?: string | undefined;
|
|
6064
|
+
data?: {} | undefined;
|
|
6065
|
+
}>;
|
|
5643
6066
|
};
|
|
5644
6067
|
timeoffEvent: {
|
|
5645
6068
|
/**
|
|
@@ -6911,6 +7334,35 @@ declare abstract class Client$1 {
|
|
|
6911
7334
|
}[] | undefined;
|
|
6912
7335
|
} | undefined;
|
|
6913
7336
|
}>;
|
|
7337
|
+
/**
|
|
7338
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=delete&version=v3 click to debug }
|
|
7339
|
+
*/
|
|
7340
|
+
delete: (payload?: {
|
|
7341
|
+
data?: {
|
|
7342
|
+
department_chat_acceptor_user_id?: string;
|
|
7343
|
+
external_chat_acceptor_user_id?: string;
|
|
7344
|
+
docs_acceptor_user_id?: string;
|
|
7345
|
+
calendar_acceptor_user_id?: string;
|
|
7346
|
+
application_acceptor_user_id?: string;
|
|
7347
|
+
helpdesk_acceptor_user_id?: string;
|
|
7348
|
+
minutes_acceptor_user_id?: string;
|
|
7349
|
+
survey_acceptor_user_id?: string;
|
|
7350
|
+
email_acceptor?: {
|
|
7351
|
+
processing_type: "1" | "2" | "3";
|
|
7352
|
+
acceptor_user_id?: string;
|
|
7353
|
+
};
|
|
7354
|
+
};
|
|
7355
|
+
params?: {
|
|
7356
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
7357
|
+
};
|
|
7358
|
+
path: {
|
|
7359
|
+
user_id: string;
|
|
7360
|
+
};
|
|
7361
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
7362
|
+
code?: number | undefined;
|
|
7363
|
+
msg?: string | undefined;
|
|
7364
|
+
data?: {} | undefined;
|
|
7365
|
+
}>;
|
|
6914
7366
|
/**
|
|
6915
7367
|
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=list&version=v3 click to debug }
|
|
6916
7368
|
*/
|
|
@@ -6990,7 +7442,6 @@ declare abstract class Client$1 {
|
|
|
6990
7442
|
time_zone?: string | undefined;
|
|
6991
7443
|
description?: string | undefined;
|
|
6992
7444
|
job_title?: string | undefined;
|
|
6993
|
-
ent_email_password?: string | undefined;
|
|
6994
7445
|
}[] | undefined;
|
|
6995
7446
|
} | null, void, unknown>;
|
|
6996
7447
|
}>;
|
|
@@ -7077,7 +7528,6 @@ declare abstract class Client$1 {
|
|
|
7077
7528
|
time_zone?: string | undefined;
|
|
7078
7529
|
description?: string | undefined;
|
|
7079
7530
|
job_title?: string | undefined;
|
|
7080
|
-
ent_email_password?: string | undefined;
|
|
7081
7531
|
}[] | undefined;
|
|
7082
7532
|
} | undefined;
|
|
7083
7533
|
}>;
|
|
@@ -7162,7 +7612,6 @@ declare abstract class Client$1 {
|
|
|
7162
7612
|
time_zone?: string | undefined;
|
|
7163
7613
|
description?: string | undefined;
|
|
7164
7614
|
job_title?: string | undefined;
|
|
7165
|
-
ent_email_password?: string | undefined;
|
|
7166
7615
|
} | undefined;
|
|
7167
7616
|
} | undefined;
|
|
7168
7617
|
}>;
|
|
@@ -7254,7 +7703,6 @@ declare abstract class Client$1 {
|
|
|
7254
7703
|
language?: "zh-CN" | "en-US" | "ja-JP" | undefined;
|
|
7255
7704
|
} | undefined;
|
|
7256
7705
|
is_frozen?: boolean | undefined;
|
|
7257
|
-
ent_email_password?: string | undefined;
|
|
7258
7706
|
}[] | undefined;
|
|
7259
7707
|
} | null, void, unknown>;
|
|
7260
7708
|
}>;
|
|
@@ -7350,7 +7798,6 @@ declare abstract class Client$1 {
|
|
|
7350
7798
|
language?: "zh-CN" | "en-US" | "ja-JP" | undefined;
|
|
7351
7799
|
} | undefined;
|
|
7352
7800
|
is_frozen?: boolean | undefined;
|
|
7353
|
-
ent_email_password?: string | undefined;
|
|
7354
7801
|
}[] | undefined;
|
|
7355
7802
|
} | undefined;
|
|
7356
7803
|
}>;
|
|
@@ -7407,7 +7854,6 @@ declare abstract class Client$1 {
|
|
|
7407
7854
|
description?: string;
|
|
7408
7855
|
job_title?: string;
|
|
7409
7856
|
is_frozen?: boolean;
|
|
7410
|
-
ent_email_password?: string;
|
|
7411
7857
|
};
|
|
7412
7858
|
params?: {
|
|
7413
7859
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -7495,7 +7941,6 @@ declare abstract class Client$1 {
|
|
|
7495
7941
|
language?: "zh-CN" | "en-US" | "ja-JP" | undefined;
|
|
7496
7942
|
} | undefined;
|
|
7497
7943
|
is_frozen?: boolean | undefined;
|
|
7498
|
-
ent_email_password?: string | undefined;
|
|
7499
7944
|
} | undefined;
|
|
7500
7945
|
} | undefined;
|
|
7501
7946
|
}>;
|
|
@@ -7552,7 +7997,6 @@ declare abstract class Client$1 {
|
|
|
7552
7997
|
description?: string;
|
|
7553
7998
|
job_title?: string;
|
|
7554
7999
|
is_frozen?: boolean;
|
|
7555
|
-
ent_email_password?: string;
|
|
7556
8000
|
};
|
|
7557
8001
|
params?: {
|
|
7558
8002
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -7640,39 +8084,9 @@ declare abstract class Client$1 {
|
|
|
7640
8084
|
language?: "zh-CN" | "en-US" | "ja-JP" | undefined;
|
|
7641
8085
|
} | undefined;
|
|
7642
8086
|
is_frozen?: boolean | undefined;
|
|
7643
|
-
ent_email_password?: string | undefined;
|
|
7644
8087
|
} | undefined;
|
|
7645
8088
|
} | undefined;
|
|
7646
8089
|
}>;
|
|
7647
|
-
/**
|
|
7648
|
-
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=delete&version=v3 click to debug }
|
|
7649
|
-
*/
|
|
7650
|
-
delete: (payload?: {
|
|
7651
|
-
data?: {
|
|
7652
|
-
department_chat_acceptor_user_id?: string;
|
|
7653
|
-
external_chat_acceptor_user_id?: string;
|
|
7654
|
-
docs_acceptor_user_id?: string;
|
|
7655
|
-
calendar_acceptor_user_id?: string;
|
|
7656
|
-
application_acceptor_user_id?: string;
|
|
7657
|
-
helpdesk_acceptor_user_id?: string;
|
|
7658
|
-
minutes_acceptor_user_id?: string;
|
|
7659
|
-
survey_acceptor_user_id?: string;
|
|
7660
|
-
email_acceptor?: {
|
|
7661
|
-
processing_type: "1" | "2" | "3";
|
|
7662
|
-
acceptor_user_id?: string;
|
|
7663
|
-
};
|
|
7664
|
-
};
|
|
7665
|
-
params?: {
|
|
7666
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
7667
|
-
};
|
|
7668
|
-
path: {
|
|
7669
|
-
user_id: string;
|
|
7670
|
-
};
|
|
7671
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
7672
|
-
code?: number | undefined;
|
|
7673
|
-
msg?: string | undefined;
|
|
7674
|
-
data?: {} | undefined;
|
|
7675
|
-
}>;
|
|
7676
8090
|
/**
|
|
7677
8091
|
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=create&version=v3 click to debug }
|
|
7678
8092
|
*/
|
|
@@ -7731,7 +8145,6 @@ declare abstract class Client$1 {
|
|
|
7731
8145
|
channels?: Array<string>;
|
|
7732
8146
|
language?: "zh-CN" | "en-US" | "ja-JP";
|
|
7733
8147
|
};
|
|
7734
|
-
ent_email_password?: string;
|
|
7735
8148
|
};
|
|
7736
8149
|
params?: {
|
|
7737
8150
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -7817,7 +8230,6 @@ declare abstract class Client$1 {
|
|
|
7817
8230
|
language?: "zh-CN" | "en-US" | "ja-JP" | undefined;
|
|
7818
8231
|
} | undefined;
|
|
7819
8232
|
is_frozen?: boolean | undefined;
|
|
7820
|
-
ent_email_password?: string | undefined;
|
|
7821
8233
|
} | undefined;
|
|
7822
8234
|
} | undefined;
|
|
7823
8235
|
}>;
|
|
@@ -17415,21 +17827,6 @@ declare abstract class Client$1 {
|
|
|
17415
17827
|
status?: string | undefined;
|
|
17416
17828
|
} | undefined;
|
|
17417
17829
|
}>;
|
|
17418
|
-
/**
|
|
17419
|
-
* {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=subscribe&version=v1 click to debug }
|
|
17420
|
-
*/
|
|
17421
|
-
subscribe: (payload?: {
|
|
17422
|
-
params: {
|
|
17423
|
-
file_type: "doc" | "docx" | "sheet" | "bitable";
|
|
17424
|
-
};
|
|
17425
|
-
path: {
|
|
17426
|
-
file_token: string;
|
|
17427
|
-
};
|
|
17428
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
17429
|
-
code?: number | undefined;
|
|
17430
|
-
msg?: string | undefined;
|
|
17431
|
-
data?: {} | undefined;
|
|
17432
|
-
}>;
|
|
17433
17830
|
/**
|
|
17434
17831
|
* {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=move&version=v1 click to debug }
|
|
17435
17832
|
*/
|
|
@@ -17606,6 +18003,21 @@ declare abstract class Client$1 {
|
|
|
17606
18003
|
has_more?: boolean | undefined;
|
|
17607
18004
|
} | undefined;
|
|
17608
18005
|
}>;
|
|
18006
|
+
/**
|
|
18007
|
+
* {@link https://open.feishu.cn/api-explorer?project=drive&resource=file&apiName=subscribe&version=v1 click to debug }
|
|
18008
|
+
*/
|
|
18009
|
+
subscribe: (payload?: {
|
|
18010
|
+
params: {
|
|
18011
|
+
file_type: "doc" | "docx" | "sheet" | "bitable";
|
|
18012
|
+
};
|
|
18013
|
+
path: {
|
|
18014
|
+
file_token: string;
|
|
18015
|
+
};
|
|
18016
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
18017
|
+
code?: number | undefined;
|
|
18018
|
+
msg?: string | undefined;
|
|
18019
|
+
data?: {} | undefined;
|
|
18020
|
+
}>;
|
|
17609
18021
|
};
|
|
17610
18022
|
exportTask: {
|
|
17611
18023
|
/**
|
|
@@ -21924,6 +22336,21 @@ declare abstract class Client$1 {
|
|
|
21924
22336
|
invalid_user_id_list: Array<string>;
|
|
21925
22337
|
} | undefined;
|
|
21926
22338
|
}>;
|
|
22339
|
+
/**
|
|
22340
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=patch&version=v1 click to debug }
|
|
22341
|
+
*/
|
|
22342
|
+
patch: (payload?: {
|
|
22343
|
+
data: {
|
|
22344
|
+
content: string;
|
|
22345
|
+
};
|
|
22346
|
+
path: {
|
|
22347
|
+
message_id: string;
|
|
22348
|
+
};
|
|
22349
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
22350
|
+
code?: number | undefined;
|
|
22351
|
+
msg?: string | undefined;
|
|
22352
|
+
data?: {} | undefined;
|
|
22353
|
+
}>;
|
|
21927
22354
|
/**
|
|
21928
22355
|
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=reply&version=v1 click to debug }
|
|
21929
22356
|
*/
|
|
@@ -21931,6 +22358,7 @@ declare abstract class Client$1 {
|
|
|
21931
22358
|
data: {
|
|
21932
22359
|
content: string;
|
|
21933
22360
|
msg_type: string;
|
|
22361
|
+
uuid?: string;
|
|
21934
22362
|
};
|
|
21935
22363
|
path: {
|
|
21936
22364
|
message_id: string;
|
|
@@ -21975,6 +22403,7 @@ declare abstract class Client$1 {
|
|
|
21975
22403
|
receive_id: string;
|
|
21976
22404
|
content: string;
|
|
21977
22405
|
msg_type: string;
|
|
22406
|
+
uuid?: string;
|
|
21978
22407
|
};
|
|
21979
22408
|
params: {
|
|
21980
22409
|
receive_id_type: "open_id" | "user_id" | "union_id" | "email" | "chat_id";
|
|
@@ -22011,25 +22440,10 @@ declare abstract class Client$1 {
|
|
|
22011
22440
|
upper_message_id?: string | undefined;
|
|
22012
22441
|
} | undefined;
|
|
22013
22442
|
}>;
|
|
22443
|
+
};
|
|
22444
|
+
image: {
|
|
22014
22445
|
/**
|
|
22015
|
-
* {@link https://open.feishu.cn/api-explorer?project=im&resource=
|
|
22016
|
-
*/
|
|
22017
|
-
patch: (payload?: {
|
|
22018
|
-
data: {
|
|
22019
|
-
content: string;
|
|
22020
|
-
};
|
|
22021
|
-
path: {
|
|
22022
|
-
message_id: string;
|
|
22023
|
-
};
|
|
22024
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
22025
|
-
code?: number | undefined;
|
|
22026
|
-
msg?: string | undefined;
|
|
22027
|
-
data?: {} | undefined;
|
|
22028
|
-
}>;
|
|
22029
|
-
};
|
|
22030
|
-
image: {
|
|
22031
|
-
/**
|
|
22032
|
-
* {@link https://open.feishu.cn/api-explorer?project=im&resource=image&apiName=get&version=v1 click to debug }
|
|
22446
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=image&apiName=get&version=v1 click to debug }
|
|
22033
22447
|
*/
|
|
22034
22448
|
get: (payload?: {
|
|
22035
22449
|
path: {
|
|
@@ -22323,6 +22737,7 @@ declare abstract class Client$1 {
|
|
|
22323
22737
|
membership_approval?: string | undefined;
|
|
22324
22738
|
moderation_permission?: string | undefined;
|
|
22325
22739
|
labels?: string[] | undefined;
|
|
22740
|
+
toolkit_ids?: string[] | undefined;
|
|
22326
22741
|
} | undefined;
|
|
22327
22742
|
}>;
|
|
22328
22743
|
/**
|
|
@@ -22794,22 +23209,6 @@ declare abstract class Client$1 {
|
|
|
22794
23209
|
} | undefined;
|
|
22795
23210
|
}>;
|
|
22796
23211
|
};
|
|
22797
|
-
messageResource: {
|
|
22798
|
-
/**
|
|
22799
|
-
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message.resource&apiName=get&version=v1 click to debug }
|
|
22800
|
-
*/
|
|
22801
|
-
get: (payload?: {
|
|
22802
|
-
params: {
|
|
22803
|
-
type: string;
|
|
22804
|
-
};
|
|
22805
|
-
path: {
|
|
22806
|
-
message_id: string;
|
|
22807
|
-
file_key: string;
|
|
22808
|
-
};
|
|
22809
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
22810
|
-
writeFile: (filePath: string) => Promise<void>;
|
|
22811
|
-
}>;
|
|
22812
|
-
};
|
|
22813
23212
|
chatTab: {
|
|
22814
23213
|
/**
|
|
22815
23214
|
* {@link https://open.feishu.cn/api-explorer?project=im&resource=chat.tab&apiName=list_tabs&version=v1 click to debug }
|
|
@@ -22957,6 +23356,22 @@ declare abstract class Client$1 {
|
|
|
22957
23356
|
} | undefined;
|
|
22958
23357
|
}>;
|
|
22959
23358
|
};
|
|
23359
|
+
messageResource: {
|
|
23360
|
+
/**
|
|
23361
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message.resource&apiName=get&version=v1 click to debug }
|
|
23362
|
+
*/
|
|
23363
|
+
get: (payload?: {
|
|
23364
|
+
params: {
|
|
23365
|
+
type: string;
|
|
23366
|
+
};
|
|
23367
|
+
path: {
|
|
23368
|
+
message_id: string;
|
|
23369
|
+
file_key: string;
|
|
23370
|
+
};
|
|
23371
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
23372
|
+
writeFile: (filePath: string) => Promise<void>;
|
|
23373
|
+
}>;
|
|
23374
|
+
};
|
|
22960
23375
|
};
|
|
22961
23376
|
mail: {
|
|
22962
23377
|
publicMailbox: {
|
|
@@ -23540,34 +23955,6 @@ declare abstract class Client$1 {
|
|
|
23540
23955
|
msg?: string | undefined;
|
|
23541
23956
|
data?: {} | undefined;
|
|
23542
23957
|
}>;
|
|
23543
|
-
/**
|
|
23544
|
-
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=create&version=v1 click to debug }
|
|
23545
|
-
*/
|
|
23546
|
-
create: (payload?: {
|
|
23547
|
-
data?: {
|
|
23548
|
-
email?: string;
|
|
23549
|
-
user_id?: string;
|
|
23550
|
-
department_id?: string;
|
|
23551
|
-
type?: "USER" | "DEPARTMENT" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER";
|
|
23552
|
-
};
|
|
23553
|
-
params?: {
|
|
23554
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
23555
|
-
department_id_type?: "department_id" | "open_department_id";
|
|
23556
|
-
};
|
|
23557
|
-
path?: {
|
|
23558
|
-
mailgroup_id?: string;
|
|
23559
|
-
};
|
|
23560
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
23561
|
-
code?: number | undefined;
|
|
23562
|
-
msg?: string | undefined;
|
|
23563
|
-
data?: {
|
|
23564
|
-
member_id?: string | undefined;
|
|
23565
|
-
email?: string | undefined;
|
|
23566
|
-
user_id?: string | undefined;
|
|
23567
|
-
department_id?: string | undefined;
|
|
23568
|
-
type?: "DEPARTMENT" | "USER" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER" | undefined;
|
|
23569
|
-
} | undefined;
|
|
23570
|
-
}>;
|
|
23571
23958
|
/**
|
|
23572
23959
|
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=get&version=v1 click to debug }
|
|
23573
23960
|
*/
|
|
@@ -23643,6 +24030,34 @@ declare abstract class Client$1 {
|
|
|
23643
24030
|
}[] | undefined;
|
|
23644
24031
|
} | undefined;
|
|
23645
24032
|
}>;
|
|
24033
|
+
/**
|
|
24034
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.member&apiName=create&version=v1 click to debug }
|
|
24035
|
+
*/
|
|
24036
|
+
create: (payload?: {
|
|
24037
|
+
data?: {
|
|
24038
|
+
email?: string;
|
|
24039
|
+
user_id?: string;
|
|
24040
|
+
department_id?: string;
|
|
24041
|
+
type?: "USER" | "DEPARTMENT" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER";
|
|
24042
|
+
};
|
|
24043
|
+
params?: {
|
|
24044
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
24045
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
24046
|
+
};
|
|
24047
|
+
path?: {
|
|
24048
|
+
mailgroup_id?: string;
|
|
24049
|
+
};
|
|
24050
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
24051
|
+
code?: number | undefined;
|
|
24052
|
+
msg?: string | undefined;
|
|
24053
|
+
data?: {
|
|
24054
|
+
member_id?: string | undefined;
|
|
24055
|
+
email?: string | undefined;
|
|
24056
|
+
user_id?: string | undefined;
|
|
24057
|
+
department_id?: string | undefined;
|
|
24058
|
+
type?: "DEPARTMENT" | "USER" | "COMPANY" | "EXTERNAL_USER" | "MAIL_GROUP" | "PUBLIC_MAILBOX" | "OTHER_MEMBER" | undefined;
|
|
24059
|
+
} | undefined;
|
|
24060
|
+
}>;
|
|
23646
24061
|
};
|
|
23647
24062
|
mailgroupAlias: {
|
|
23648
24063
|
/**
|
|
@@ -25528,37 +25943,91 @@ declare abstract class Client$1 {
|
|
|
25528
25943
|
spend: {};
|
|
25529
25944
|
sup_project: {};
|
|
25530
25945
|
task: {
|
|
25531
|
-
|
|
25946
|
+
taskReminder: {
|
|
25532
25947
|
/**
|
|
25533
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
25948
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.reminder&apiName=list&version=v1 click to debug }
|
|
25534
25949
|
*/
|
|
25535
|
-
|
|
25950
|
+
listWithIterator: (payload?: {
|
|
25951
|
+
params?: {
|
|
25952
|
+
page_size?: number;
|
|
25953
|
+
page_token?: string;
|
|
25954
|
+
};
|
|
25955
|
+
path?: {
|
|
25956
|
+
task_id?: string;
|
|
25957
|
+
};
|
|
25958
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
25959
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
25960
|
+
items?: {
|
|
25961
|
+
id?: string | undefined;
|
|
25962
|
+
relative_fire_minute: number;
|
|
25963
|
+
}[] | undefined;
|
|
25964
|
+
} | null, void, unknown>;
|
|
25965
|
+
}>;
|
|
25966
|
+
/**
|
|
25967
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.reminder&apiName=list&version=v1 click to debug }
|
|
25968
|
+
*/
|
|
25969
|
+
list: (payload?: {
|
|
25970
|
+
params?: {
|
|
25971
|
+
page_size?: number;
|
|
25972
|
+
page_token?: string;
|
|
25973
|
+
};
|
|
25974
|
+
path?: {
|
|
25975
|
+
task_id?: string;
|
|
25976
|
+
};
|
|
25977
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
25978
|
+
code?: number | undefined;
|
|
25979
|
+
msg?: string | undefined;
|
|
25980
|
+
data?: {
|
|
25981
|
+
items?: {
|
|
25982
|
+
id?: string | undefined;
|
|
25983
|
+
relative_fire_minute: number;
|
|
25984
|
+
}[] | undefined;
|
|
25985
|
+
page_token?: string | undefined;
|
|
25986
|
+
has_more?: boolean | undefined;
|
|
25987
|
+
} | undefined;
|
|
25988
|
+
}>;
|
|
25989
|
+
/**
|
|
25990
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.reminder&apiName=create&version=v1 click to debug }
|
|
25991
|
+
*/
|
|
25992
|
+
create: (payload?: {
|
|
25993
|
+
data: {
|
|
25994
|
+
relative_fire_minute: number;
|
|
25995
|
+
};
|
|
25536
25996
|
path: {
|
|
25537
25997
|
task_id: string;
|
|
25538
25998
|
};
|
|
25539
25999
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25540
26000
|
code?: number | undefined;
|
|
25541
26001
|
msg?: string | undefined;
|
|
25542
|
-
data?: {
|
|
26002
|
+
data?: {
|
|
26003
|
+
reminder?: {
|
|
26004
|
+
id?: string | undefined;
|
|
26005
|
+
relative_fire_minute: number;
|
|
26006
|
+
} | undefined;
|
|
26007
|
+
} | undefined;
|
|
25543
26008
|
}>;
|
|
25544
26009
|
/**
|
|
25545
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
26010
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.reminder&apiName=delete&version=v1 click to debug }
|
|
25546
26011
|
*/
|
|
25547
|
-
|
|
26012
|
+
delete: (payload?: {
|
|
25548
26013
|
path: {
|
|
25549
26014
|
task_id: string;
|
|
26015
|
+
reminder_id: string;
|
|
25550
26016
|
};
|
|
25551
26017
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25552
26018
|
code?: number | undefined;
|
|
25553
26019
|
msg?: string | undefined;
|
|
25554
26020
|
data?: {} | undefined;
|
|
25555
26021
|
}>;
|
|
26022
|
+
};
|
|
26023
|
+
taskComment: {
|
|
25556
26024
|
/**
|
|
25557
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
26025
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=delete&version=v1 click to debug }
|
|
25558
26026
|
*/
|
|
25559
|
-
|
|
26027
|
+
delete: (payload?: {
|
|
25560
26028
|
path: {
|
|
25561
26029
|
task_id: string;
|
|
26030
|
+
comment_id: string;
|
|
25562
26031
|
};
|
|
25563
26032
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25564
26033
|
code?: number | undefined;
|
|
@@ -25566,140 +26035,111 @@ declare abstract class Client$1 {
|
|
|
25566
26035
|
data?: {} | undefined;
|
|
25567
26036
|
}>;
|
|
25568
26037
|
/**
|
|
25569
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
26038
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=get&version=v1 click to debug }
|
|
25570
26039
|
*/
|
|
25571
|
-
|
|
25572
|
-
data?: {
|
|
25573
|
-
id_list?: Array<string>;
|
|
25574
|
-
};
|
|
25575
|
-
params?: {
|
|
25576
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25577
|
-
};
|
|
26040
|
+
get: (payload?: {
|
|
25578
26041
|
path: {
|
|
25579
26042
|
task_id: string;
|
|
26043
|
+
comment_id: string;
|
|
25580
26044
|
};
|
|
25581
26045
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25582
26046
|
code?: number | undefined;
|
|
25583
26047
|
msg?: string | undefined;
|
|
25584
26048
|
data?: {
|
|
25585
|
-
|
|
26049
|
+
comment?: {
|
|
26050
|
+
content?: string | undefined;
|
|
26051
|
+
parent_id?: string | undefined;
|
|
26052
|
+
id?: string | undefined;
|
|
26053
|
+
create_milli_time?: string | undefined;
|
|
26054
|
+
rich_content?: string | undefined;
|
|
26055
|
+
} | undefined;
|
|
25586
26056
|
} | undefined;
|
|
25587
26057
|
}>;
|
|
25588
26058
|
/**
|
|
25589
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
26059
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=list&version=v1 click to debug }
|
|
25590
26060
|
*/
|
|
25591
|
-
|
|
25592
|
-
|
|
25593
|
-
|
|
26061
|
+
listWithIterator: (payload?: {
|
|
26062
|
+
params?: {
|
|
26063
|
+
page_size?: number;
|
|
26064
|
+
page_token?: string;
|
|
26065
|
+
list_direction?: number;
|
|
26066
|
+
};
|
|
26067
|
+
path?: {
|
|
26068
|
+
task_id?: string;
|
|
25594
26069
|
};
|
|
26070
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
26071
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
26072
|
+
items?: {
|
|
26073
|
+
content?: string | undefined;
|
|
26074
|
+
parent_id?: string | undefined;
|
|
26075
|
+
id?: string | undefined;
|
|
26076
|
+
create_milli_time?: string | undefined;
|
|
26077
|
+
rich_content?: string | undefined;
|
|
26078
|
+
}[] | undefined;
|
|
26079
|
+
} | null, void, unknown>;
|
|
26080
|
+
}>;
|
|
26081
|
+
/**
|
|
26082
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=list&version=v1 click to debug }
|
|
26083
|
+
*/
|
|
26084
|
+
list: (payload?: {
|
|
25595
26085
|
params?: {
|
|
25596
|
-
|
|
26086
|
+
page_size?: number;
|
|
26087
|
+
page_token?: string;
|
|
26088
|
+
list_direction?: number;
|
|
25597
26089
|
};
|
|
25598
|
-
path
|
|
25599
|
-
task_id
|
|
26090
|
+
path?: {
|
|
26091
|
+
task_id?: string;
|
|
25600
26092
|
};
|
|
25601
26093
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25602
26094
|
code?: number | undefined;
|
|
25603
26095
|
msg?: string | undefined;
|
|
25604
26096
|
data?: {
|
|
25605
|
-
|
|
26097
|
+
items?: {
|
|
26098
|
+
content?: string | undefined;
|
|
26099
|
+
parent_id?: string | undefined;
|
|
26100
|
+
id?: string | undefined;
|
|
26101
|
+
create_milli_time?: string | undefined;
|
|
26102
|
+
rich_content?: string | undefined;
|
|
26103
|
+
}[] | undefined;
|
|
26104
|
+
page_token?: string | undefined;
|
|
26105
|
+
has_more?: boolean | undefined;
|
|
25606
26106
|
} | undefined;
|
|
25607
26107
|
}>;
|
|
25608
26108
|
/**
|
|
25609
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
26109
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=update&version=v1 click to debug }
|
|
25610
26110
|
*/
|
|
25611
|
-
|
|
25612
|
-
|
|
25613
|
-
|
|
26111
|
+
update: (payload?: {
|
|
26112
|
+
data?: {
|
|
26113
|
+
content?: string;
|
|
26114
|
+
rich_content?: string;
|
|
25614
26115
|
};
|
|
25615
26116
|
path: {
|
|
25616
26117
|
task_id: string;
|
|
26118
|
+
comment_id: string;
|
|
25617
26119
|
};
|
|
25618
26120
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25619
26121
|
code?: number | undefined;
|
|
25620
26122
|
msg?: string | undefined;
|
|
25621
26123
|
data?: {
|
|
25622
|
-
|
|
26124
|
+
comment?: {
|
|
26125
|
+
content?: string | undefined;
|
|
26126
|
+
parent_id?: string | undefined;
|
|
25623
26127
|
id?: string | undefined;
|
|
25624
|
-
|
|
25625
|
-
|
|
25626
|
-
complete_time?: string | undefined;
|
|
25627
|
-
creator_id?: string | undefined;
|
|
25628
|
-
extra?: string | undefined;
|
|
25629
|
-
create_time?: string | undefined;
|
|
25630
|
-
update_time?: string | undefined;
|
|
25631
|
-
due?: {
|
|
25632
|
-
time?: string | undefined;
|
|
25633
|
-
timezone?: string | undefined;
|
|
25634
|
-
is_all_day?: boolean | undefined;
|
|
25635
|
-
} | undefined;
|
|
25636
|
-
origin: {
|
|
25637
|
-
platform_i18n_name: string;
|
|
25638
|
-
href?: {
|
|
25639
|
-
url?: string;
|
|
25640
|
-
title?: string;
|
|
25641
|
-
};
|
|
25642
|
-
};
|
|
25643
|
-
can_edit?: boolean | undefined;
|
|
25644
|
-
custom?: string | undefined;
|
|
25645
|
-
source?: number | undefined;
|
|
25646
|
-
followers?: {
|
|
25647
|
-
id?: string | undefined;
|
|
25648
|
-
id_list?: string[] | undefined;
|
|
25649
|
-
}[] | undefined;
|
|
25650
|
-
collaborators?: {
|
|
25651
|
-
id?: string | undefined;
|
|
25652
|
-
id_list?: string[] | undefined;
|
|
25653
|
-
}[] | undefined;
|
|
25654
|
-
collaborator_ids?: string[] | undefined;
|
|
25655
|
-
follower_ids?: string[] | undefined;
|
|
25656
|
-
repeat_rule?: string | undefined;
|
|
25657
|
-
rich_summary?: string | undefined;
|
|
25658
|
-
rich_description?: string | undefined;
|
|
26128
|
+
create_milli_time?: string | undefined;
|
|
26129
|
+
rich_content?: string | undefined;
|
|
25659
26130
|
} | undefined;
|
|
25660
26131
|
} | undefined;
|
|
25661
26132
|
}>;
|
|
25662
26133
|
/**
|
|
25663
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=
|
|
26134
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=create&version=v1 click to debug }
|
|
25664
26135
|
*/
|
|
25665
|
-
|
|
25666
|
-
data
|
|
25667
|
-
|
|
25668
|
-
|
|
25669
|
-
|
|
25670
|
-
|
|
25671
|
-
|
|
25672
|
-
time?: string;
|
|
25673
|
-
timezone?: string;
|
|
25674
|
-
is_all_day?: boolean;
|
|
25675
|
-
};
|
|
25676
|
-
origin?: {
|
|
25677
|
-
platform_i18n_name: string;
|
|
25678
|
-
href?: {
|
|
25679
|
-
url?: string;
|
|
25680
|
-
title?: string;
|
|
25681
|
-
};
|
|
25682
|
-
};
|
|
25683
|
-
can_edit?: boolean;
|
|
25684
|
-
custom?: string;
|
|
25685
|
-
followers?: Array<{
|
|
25686
|
-
id?: string;
|
|
25687
|
-
id_list?: Array<string>;
|
|
25688
|
-
}>;
|
|
25689
|
-
collaborators?: Array<{
|
|
25690
|
-
id?: string;
|
|
25691
|
-
id_list?: Array<string>;
|
|
25692
|
-
}>;
|
|
25693
|
-
collaborator_ids?: Array<string>;
|
|
25694
|
-
follower_ids?: Array<string>;
|
|
25695
|
-
repeat_rule?: string;
|
|
25696
|
-
rich_summary?: string;
|
|
25697
|
-
rich_description?: string;
|
|
25698
|
-
};
|
|
25699
|
-
update_fields: Array<string>;
|
|
25700
|
-
};
|
|
25701
|
-
params?: {
|
|
25702
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26136
|
+
create: (payload?: {
|
|
26137
|
+
data?: {
|
|
26138
|
+
content?: string;
|
|
26139
|
+
parent_id?: string;
|
|
26140
|
+
id?: string;
|
|
26141
|
+
create_milli_time?: string;
|
|
26142
|
+
rich_content?: string;
|
|
25703
26143
|
};
|
|
25704
26144
|
path: {
|
|
25705
26145
|
task_id: string;
|
|
@@ -25708,262 +26148,111 @@ declare abstract class Client$1 {
|
|
|
25708
26148
|
code?: number | undefined;
|
|
25709
26149
|
msg?: string | undefined;
|
|
25710
26150
|
data?: {
|
|
25711
|
-
|
|
26151
|
+
comment?: {
|
|
26152
|
+
content?: string | undefined;
|
|
26153
|
+
parent_id?: string | undefined;
|
|
25712
26154
|
id?: string | undefined;
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
complete_time?: string | undefined;
|
|
25716
|
-
creator_id?: string | undefined;
|
|
25717
|
-
extra?: string | undefined;
|
|
25718
|
-
create_time?: string | undefined;
|
|
25719
|
-
update_time?: string | undefined;
|
|
25720
|
-
due?: {
|
|
25721
|
-
time?: string | undefined;
|
|
25722
|
-
timezone?: string | undefined;
|
|
25723
|
-
is_all_day?: boolean | undefined;
|
|
25724
|
-
} | undefined;
|
|
25725
|
-
origin: {
|
|
25726
|
-
platform_i18n_name: string;
|
|
25727
|
-
href?: {
|
|
25728
|
-
url?: string;
|
|
25729
|
-
title?: string;
|
|
25730
|
-
};
|
|
25731
|
-
};
|
|
25732
|
-
can_edit?: boolean | undefined;
|
|
25733
|
-
custom?: string | undefined;
|
|
25734
|
-
source?: number | undefined;
|
|
25735
|
-
followers?: {
|
|
25736
|
-
id?: string | undefined;
|
|
25737
|
-
id_list?: string[] | undefined;
|
|
25738
|
-
}[] | undefined;
|
|
25739
|
-
collaborators?: {
|
|
25740
|
-
id?: string | undefined;
|
|
25741
|
-
id_list?: string[] | undefined;
|
|
25742
|
-
}[] | undefined;
|
|
25743
|
-
collaborator_ids?: string[] | undefined;
|
|
25744
|
-
follower_ids?: string[] | undefined;
|
|
25745
|
-
repeat_rule?: string | undefined;
|
|
25746
|
-
rich_summary?: string | undefined;
|
|
25747
|
-
rich_description?: string | undefined;
|
|
26155
|
+
create_milli_time?: string | undefined;
|
|
26156
|
+
rich_content?: string | undefined;
|
|
25748
26157
|
} | undefined;
|
|
25749
26158
|
} | undefined;
|
|
25750
26159
|
}>;
|
|
26160
|
+
};
|
|
26161
|
+
taskCollaborator: {
|
|
25751
26162
|
/**
|
|
25752
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=list&version=v1 click to debug }
|
|
26163
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.collaborator&apiName=list&version=v1 click to debug }
|
|
25753
26164
|
*/
|
|
25754
26165
|
listWithIterator: (payload?: {
|
|
25755
26166
|
params?: {
|
|
25756
26167
|
page_size?: number;
|
|
25757
26168
|
page_token?: string;
|
|
25758
|
-
start_create_time?: string;
|
|
25759
|
-
end_create_time?: string;
|
|
25760
|
-
task_completed?: boolean;
|
|
25761
26169
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25762
26170
|
};
|
|
26171
|
+
path?: {
|
|
26172
|
+
task_id?: string;
|
|
26173
|
+
};
|
|
25763
26174
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25764
26175
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
25765
26176
|
items?: {
|
|
25766
26177
|
id?: string | undefined;
|
|
25767
|
-
|
|
25768
|
-
description?: string | undefined;
|
|
25769
|
-
complete_time?: string | undefined;
|
|
25770
|
-
creator_id?: string | undefined;
|
|
25771
|
-
extra?: string | undefined;
|
|
25772
|
-
create_time?: string | undefined;
|
|
25773
|
-
update_time?: string | undefined;
|
|
25774
|
-
due?: {
|
|
25775
|
-
time?: string | undefined;
|
|
25776
|
-
timezone?: string | undefined;
|
|
25777
|
-
is_all_day?: boolean | undefined;
|
|
25778
|
-
} | undefined;
|
|
25779
|
-
origin: {
|
|
25780
|
-
platform_i18n_name: string;
|
|
25781
|
-
href?: {
|
|
25782
|
-
url?: string;
|
|
25783
|
-
title?: string;
|
|
25784
|
-
};
|
|
25785
|
-
};
|
|
25786
|
-
can_edit?: boolean | undefined;
|
|
25787
|
-
custom?: string | undefined;
|
|
25788
|
-
source?: number | undefined;
|
|
25789
|
-
followers?: {
|
|
25790
|
-
id?: string | undefined;
|
|
25791
|
-
id_list?: string[] | undefined;
|
|
25792
|
-
}[] | undefined;
|
|
25793
|
-
collaborators?: {
|
|
25794
|
-
id?: string | undefined;
|
|
25795
|
-
id_list?: string[] | undefined;
|
|
25796
|
-
}[] | undefined;
|
|
25797
|
-
collaborator_ids?: string[] | undefined;
|
|
25798
|
-
follower_ids?: string[] | undefined;
|
|
25799
|
-
repeat_rule?: string | undefined;
|
|
25800
|
-
rich_summary?: string | undefined;
|
|
25801
|
-
rich_description?: string | undefined;
|
|
26178
|
+
id_list?: string[] | undefined;
|
|
25802
26179
|
}[] | undefined;
|
|
25803
26180
|
} | null, void, unknown>;
|
|
25804
26181
|
}>;
|
|
25805
26182
|
/**
|
|
25806
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=list&version=v1 click to debug }
|
|
26183
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.collaborator&apiName=list&version=v1 click to debug }
|
|
25807
26184
|
*/
|
|
25808
26185
|
list: (payload?: {
|
|
25809
26186
|
params?: {
|
|
25810
26187
|
page_size?: number;
|
|
25811
26188
|
page_token?: string;
|
|
25812
|
-
start_create_time?: string;
|
|
25813
|
-
end_create_time?: string;
|
|
25814
|
-
task_completed?: boolean;
|
|
25815
26189
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25816
26190
|
};
|
|
26191
|
+
path?: {
|
|
26192
|
+
task_id?: string;
|
|
26193
|
+
};
|
|
25817
26194
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25818
26195
|
code?: number | undefined;
|
|
25819
26196
|
msg?: string | undefined;
|
|
25820
26197
|
data?: {
|
|
25821
26198
|
items?: {
|
|
25822
26199
|
id?: string | undefined;
|
|
25823
|
-
|
|
25824
|
-
description?: string | undefined;
|
|
25825
|
-
complete_time?: string | undefined;
|
|
25826
|
-
creator_id?: string | undefined;
|
|
25827
|
-
extra?: string | undefined;
|
|
25828
|
-
create_time?: string | undefined;
|
|
25829
|
-
update_time?: string | undefined;
|
|
25830
|
-
due?: {
|
|
25831
|
-
time?: string | undefined;
|
|
25832
|
-
timezone?: string | undefined;
|
|
25833
|
-
is_all_day?: boolean | undefined;
|
|
25834
|
-
} | undefined;
|
|
25835
|
-
origin: {
|
|
25836
|
-
platform_i18n_name: string;
|
|
25837
|
-
href?: {
|
|
25838
|
-
url?: string;
|
|
25839
|
-
title?: string;
|
|
25840
|
-
};
|
|
25841
|
-
};
|
|
25842
|
-
can_edit?: boolean | undefined;
|
|
25843
|
-
custom?: string | undefined;
|
|
25844
|
-
source?: number | undefined;
|
|
25845
|
-
followers?: {
|
|
25846
|
-
id?: string | undefined;
|
|
25847
|
-
id_list?: string[] | undefined;
|
|
25848
|
-
}[] | undefined;
|
|
25849
|
-
collaborators?: {
|
|
25850
|
-
id?: string | undefined;
|
|
25851
|
-
id_list?: string[] | undefined;
|
|
25852
|
-
}[] | undefined;
|
|
25853
|
-
collaborator_ids?: string[] | undefined;
|
|
25854
|
-
follower_ids?: string[] | undefined;
|
|
25855
|
-
repeat_rule?: string | undefined;
|
|
25856
|
-
rich_summary?: string | undefined;
|
|
25857
|
-
rich_description?: string | undefined;
|
|
26200
|
+
id_list?: string[] | undefined;
|
|
25858
26201
|
}[] | undefined;
|
|
25859
26202
|
page_token?: string | undefined;
|
|
25860
26203
|
has_more?: boolean | undefined;
|
|
25861
26204
|
} | undefined;
|
|
25862
26205
|
}>;
|
|
25863
26206
|
/**
|
|
25864
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=create&version=v1 click to debug }
|
|
26207
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.collaborator&apiName=create&version=v1 click to debug }
|
|
25865
26208
|
*/
|
|
25866
26209
|
create: (payload?: {
|
|
25867
|
-
data
|
|
25868
|
-
|
|
25869
|
-
|
|
25870
|
-
extra?: string;
|
|
25871
|
-
due?: {
|
|
25872
|
-
time?: string;
|
|
25873
|
-
timezone?: string;
|
|
25874
|
-
is_all_day?: boolean;
|
|
25875
|
-
};
|
|
25876
|
-
origin: {
|
|
25877
|
-
platform_i18n_name: string;
|
|
25878
|
-
href?: {
|
|
25879
|
-
url?: string;
|
|
25880
|
-
title?: string;
|
|
25881
|
-
};
|
|
25882
|
-
};
|
|
25883
|
-
can_edit?: boolean;
|
|
25884
|
-
custom?: string;
|
|
25885
|
-
collaborator_ids?: Array<string>;
|
|
25886
|
-
follower_ids?: Array<string>;
|
|
25887
|
-
repeat_rule?: string;
|
|
25888
|
-
rich_summary?: string;
|
|
25889
|
-
rich_description?: string;
|
|
26210
|
+
data?: {
|
|
26211
|
+
id?: string;
|
|
26212
|
+
id_list?: Array<string>;
|
|
25890
26213
|
};
|
|
25891
26214
|
params?: {
|
|
25892
26215
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25893
26216
|
};
|
|
26217
|
+
path: {
|
|
26218
|
+
task_id: string;
|
|
26219
|
+
};
|
|
25894
26220
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25895
26221
|
code?: number | undefined;
|
|
25896
26222
|
msg?: string | undefined;
|
|
25897
26223
|
data?: {
|
|
25898
|
-
|
|
25899
|
-
id?: string
|
|
25900
|
-
|
|
25901
|
-
|
|
25902
|
-
complete_time?: string | undefined;
|
|
25903
|
-
creator_id?: string | undefined;
|
|
25904
|
-
extra?: string | undefined;
|
|
25905
|
-
create_time?: string | undefined;
|
|
25906
|
-
update_time?: string | undefined;
|
|
25907
|
-
due?: {
|
|
25908
|
-
time?: string | undefined;
|
|
25909
|
-
timezone?: string | undefined;
|
|
25910
|
-
is_all_day?: boolean | undefined;
|
|
25911
|
-
} | undefined;
|
|
25912
|
-
origin: {
|
|
25913
|
-
platform_i18n_name: string;
|
|
25914
|
-
href?: {
|
|
25915
|
-
url?: string;
|
|
25916
|
-
title?: string;
|
|
25917
|
-
};
|
|
25918
|
-
};
|
|
25919
|
-
can_edit?: boolean | undefined;
|
|
25920
|
-
custom?: string | undefined;
|
|
25921
|
-
source?: number | undefined;
|
|
25922
|
-
followers?: {
|
|
25923
|
-
id?: string | undefined;
|
|
25924
|
-
id_list?: string[] | undefined;
|
|
25925
|
-
}[] | undefined;
|
|
25926
|
-
collaborators?: {
|
|
25927
|
-
id?: string | undefined;
|
|
25928
|
-
id_list?: string[] | undefined;
|
|
25929
|
-
}[] | undefined;
|
|
25930
|
-
collaborator_ids?: string[] | undefined;
|
|
25931
|
-
follower_ids?: string[] | undefined;
|
|
25932
|
-
repeat_rule?: string | undefined;
|
|
25933
|
-
rich_summary?: string | undefined;
|
|
25934
|
-
rich_description?: string | undefined;
|
|
25935
|
-
} | undefined;
|
|
26224
|
+
collaborator: {
|
|
26225
|
+
id?: string;
|
|
26226
|
+
id_list?: Array<string>;
|
|
26227
|
+
};
|
|
25936
26228
|
} | undefined;
|
|
25937
26229
|
}>;
|
|
25938
|
-
};
|
|
25939
|
-
taskReminder: {
|
|
25940
26230
|
/**
|
|
25941
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.
|
|
26231
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.collaborator&apiName=delete&version=v1 click to debug }
|
|
25942
26232
|
*/
|
|
25943
|
-
|
|
25944
|
-
|
|
25945
|
-
|
|
26233
|
+
delete: (payload?: {
|
|
26234
|
+
params?: {
|
|
26235
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25946
26236
|
};
|
|
25947
26237
|
path: {
|
|
25948
26238
|
task_id: string;
|
|
26239
|
+
collaborator_id: string;
|
|
25949
26240
|
};
|
|
25950
26241
|
}, options?: IRequestOptions$1) => Promise<{
|
|
25951
26242
|
code?: number | undefined;
|
|
25952
26243
|
msg?: string | undefined;
|
|
25953
|
-
data?: {
|
|
25954
|
-
reminder?: {
|
|
25955
|
-
id?: string | undefined;
|
|
25956
|
-
relative_fire_minute: number;
|
|
25957
|
-
} | undefined;
|
|
25958
|
-
} | undefined;
|
|
26244
|
+
data?: {} | undefined;
|
|
25959
26245
|
}>;
|
|
26246
|
+
};
|
|
26247
|
+
taskFollower: {
|
|
25960
26248
|
/**
|
|
25961
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.
|
|
26249
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.follower&apiName=list&version=v1 click to debug }
|
|
25962
26250
|
*/
|
|
25963
26251
|
listWithIterator: (payload?: {
|
|
25964
26252
|
params?: {
|
|
25965
26253
|
page_size?: number;
|
|
25966
26254
|
page_token?: string;
|
|
26255
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25967
26256
|
};
|
|
25968
26257
|
path?: {
|
|
25969
26258
|
task_id?: string;
|
|
@@ -25972,17 +26261,18 @@ declare abstract class Client$1 {
|
|
|
25972
26261
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
25973
26262
|
items?: {
|
|
25974
26263
|
id?: string | undefined;
|
|
25975
|
-
|
|
26264
|
+
id_list?: string[] | undefined;
|
|
25976
26265
|
}[] | undefined;
|
|
25977
26266
|
} | null, void, unknown>;
|
|
25978
26267
|
}>;
|
|
25979
26268
|
/**
|
|
25980
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.
|
|
26269
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.follower&apiName=list&version=v1 click to debug }
|
|
25981
26270
|
*/
|
|
25982
26271
|
list: (payload?: {
|
|
25983
26272
|
params?: {
|
|
25984
26273
|
page_size?: number;
|
|
25985
26274
|
page_token?: string;
|
|
26275
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
25986
26276
|
};
|
|
25987
26277
|
path?: {
|
|
25988
26278
|
task_id?: string;
|
|
@@ -25993,146 +26283,100 @@ declare abstract class Client$1 {
|
|
|
25993
26283
|
data?: {
|
|
25994
26284
|
items?: {
|
|
25995
26285
|
id?: string | undefined;
|
|
25996
|
-
|
|
26286
|
+
id_list?: string[] | undefined;
|
|
25997
26287
|
}[] | undefined;
|
|
25998
26288
|
page_token?: string | undefined;
|
|
25999
26289
|
has_more?: boolean | undefined;
|
|
26000
26290
|
} | undefined;
|
|
26001
26291
|
}>;
|
|
26002
26292
|
/**
|
|
26003
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.
|
|
26293
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.follower&apiName=create&version=v1 click to debug }
|
|
26004
26294
|
*/
|
|
26005
|
-
|
|
26295
|
+
create: (payload?: {
|
|
26296
|
+
data?: {
|
|
26297
|
+
id?: string;
|
|
26298
|
+
id_list?: Array<string>;
|
|
26299
|
+
};
|
|
26300
|
+
params?: {
|
|
26301
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26302
|
+
};
|
|
26006
26303
|
path: {
|
|
26007
26304
|
task_id: string;
|
|
26008
|
-
reminder_id: string;
|
|
26009
26305
|
};
|
|
26010
26306
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26011
26307
|
code?: number | undefined;
|
|
26012
26308
|
msg?: string | undefined;
|
|
26013
|
-
data?: {
|
|
26309
|
+
data?: {
|
|
26310
|
+
follower: {
|
|
26311
|
+
id?: string;
|
|
26312
|
+
id_list?: Array<string>;
|
|
26313
|
+
};
|
|
26314
|
+
} | undefined;
|
|
26014
26315
|
}>;
|
|
26015
|
-
};
|
|
26016
|
-
taskComment: {
|
|
26017
26316
|
/**
|
|
26018
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.
|
|
26317
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.follower&apiName=delete&version=v1 click to debug }
|
|
26019
26318
|
*/
|
|
26020
26319
|
delete: (payload?: {
|
|
26320
|
+
params?: {
|
|
26321
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26322
|
+
};
|
|
26021
26323
|
path: {
|
|
26022
26324
|
task_id: string;
|
|
26023
|
-
|
|
26325
|
+
follower_id: string;
|
|
26024
26326
|
};
|
|
26025
26327
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26026
26328
|
code?: number | undefined;
|
|
26027
26329
|
msg?: string | undefined;
|
|
26028
26330
|
data?: {} | undefined;
|
|
26029
26331
|
}>;
|
|
26332
|
+
};
|
|
26333
|
+
task: {
|
|
26030
26334
|
/**
|
|
26031
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26335
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=batch_delete_follower&version=v1 click to debug }
|
|
26032
26336
|
*/
|
|
26033
|
-
|
|
26034
|
-
path: {
|
|
26035
|
-
task_id: string;
|
|
26036
|
-
comment_id: string;
|
|
26037
|
-
};
|
|
26038
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
26039
|
-
code?: number | undefined;
|
|
26040
|
-
msg?: string | undefined;
|
|
26337
|
+
batchDeleteFollower: (payload?: {
|
|
26041
26338
|
data?: {
|
|
26042
|
-
|
|
26043
|
-
content?: string | undefined;
|
|
26044
|
-
parent_id?: string | undefined;
|
|
26045
|
-
id?: string | undefined;
|
|
26046
|
-
create_milli_time?: string | undefined;
|
|
26047
|
-
rich_content?: string | undefined;
|
|
26048
|
-
} | undefined;
|
|
26049
|
-
} | undefined;
|
|
26050
|
-
}>;
|
|
26051
|
-
/**
|
|
26052
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=list&version=v1 click to debug }
|
|
26053
|
-
*/
|
|
26054
|
-
listWithIterator: (payload?: {
|
|
26055
|
-
params?: {
|
|
26056
|
-
page_size?: number;
|
|
26057
|
-
page_token?: string;
|
|
26058
|
-
list_direction?: number;
|
|
26059
|
-
};
|
|
26060
|
-
path?: {
|
|
26061
|
-
task_id?: string;
|
|
26339
|
+
id_list?: Array<string>;
|
|
26062
26340
|
};
|
|
26063
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
26064
|
-
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
26065
|
-
items?: {
|
|
26066
|
-
content?: string | undefined;
|
|
26067
|
-
parent_id?: string | undefined;
|
|
26068
|
-
id?: string | undefined;
|
|
26069
|
-
create_milli_time?: string | undefined;
|
|
26070
|
-
rich_content?: string | undefined;
|
|
26071
|
-
}[] | undefined;
|
|
26072
|
-
} | null, void, unknown>;
|
|
26073
|
-
}>;
|
|
26074
|
-
/**
|
|
26075
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.comment&apiName=list&version=v1 click to debug }
|
|
26076
|
-
*/
|
|
26077
|
-
list: (payload?: {
|
|
26078
26341
|
params?: {
|
|
26079
|
-
|
|
26080
|
-
page_token?: string;
|
|
26081
|
-
list_direction?: number;
|
|
26342
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26082
26343
|
};
|
|
26083
|
-
path
|
|
26084
|
-
task_id
|
|
26344
|
+
path: {
|
|
26345
|
+
task_id: string;
|
|
26085
26346
|
};
|
|
26086
26347
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26087
26348
|
code?: number | undefined;
|
|
26088
26349
|
msg?: string | undefined;
|
|
26089
26350
|
data?: {
|
|
26090
|
-
|
|
26091
|
-
content?: string | undefined;
|
|
26092
|
-
parent_id?: string | undefined;
|
|
26093
|
-
id?: string | undefined;
|
|
26094
|
-
create_milli_time?: string | undefined;
|
|
26095
|
-
rich_content?: string | undefined;
|
|
26096
|
-
}[] | undefined;
|
|
26097
|
-
page_token?: string | undefined;
|
|
26098
|
-
has_more?: boolean | undefined;
|
|
26351
|
+
followers?: string[] | undefined;
|
|
26099
26352
|
} | undefined;
|
|
26100
26353
|
}>;
|
|
26101
26354
|
/**
|
|
26102
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26355
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=batch_delete_collaborator&version=v1 click to debug }
|
|
26103
26356
|
*/
|
|
26104
|
-
|
|
26357
|
+
batchDeleteCollaborator: (payload?: {
|
|
26105
26358
|
data?: {
|
|
26106
|
-
|
|
26107
|
-
|
|
26359
|
+
id_list?: Array<string>;
|
|
26360
|
+
};
|
|
26361
|
+
params?: {
|
|
26362
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26108
26363
|
};
|
|
26109
26364
|
path: {
|
|
26110
26365
|
task_id: string;
|
|
26111
|
-
comment_id: string;
|
|
26112
26366
|
};
|
|
26113
26367
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26114
26368
|
code?: number | undefined;
|
|
26115
26369
|
msg?: string | undefined;
|
|
26116
26370
|
data?: {
|
|
26117
|
-
|
|
26118
|
-
content?: string | undefined;
|
|
26119
|
-
parent_id?: string | undefined;
|
|
26120
|
-
id?: string | undefined;
|
|
26121
|
-
create_milli_time?: string | undefined;
|
|
26122
|
-
rich_content?: string | undefined;
|
|
26123
|
-
} | undefined;
|
|
26371
|
+
collaborators?: string[] | undefined;
|
|
26124
26372
|
} | undefined;
|
|
26125
26373
|
}>;
|
|
26126
26374
|
/**
|
|
26127
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26375
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=get&version=v1 click to debug }
|
|
26128
26376
|
*/
|
|
26129
|
-
|
|
26130
|
-
|
|
26131
|
-
|
|
26132
|
-
parent_id?: string;
|
|
26133
|
-
id?: string;
|
|
26134
|
-
create_milli_time?: string;
|
|
26135
|
-
rich_content?: string;
|
|
26377
|
+
get: (payload?: {
|
|
26378
|
+
params?: {
|
|
26379
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26136
26380
|
};
|
|
26137
26381
|
path: {
|
|
26138
26382
|
task_id: string;
|
|
@@ -26141,154 +26385,232 @@ declare abstract class Client$1 {
|
|
|
26141
26385
|
code?: number | undefined;
|
|
26142
26386
|
msg?: string | undefined;
|
|
26143
26387
|
data?: {
|
|
26144
|
-
|
|
26145
|
-
content?: string | undefined;
|
|
26146
|
-
parent_id?: string | undefined;
|
|
26388
|
+
task?: {
|
|
26147
26389
|
id?: string | undefined;
|
|
26148
|
-
|
|
26149
|
-
|
|
26390
|
+
summary?: string | undefined;
|
|
26391
|
+
description?: string | undefined;
|
|
26392
|
+
complete_time?: string | undefined;
|
|
26393
|
+
creator_id?: string | undefined;
|
|
26394
|
+
extra?: string | undefined;
|
|
26395
|
+
create_time?: string | undefined;
|
|
26396
|
+
update_time?: string | undefined;
|
|
26397
|
+
due?: {
|
|
26398
|
+
time?: string | undefined;
|
|
26399
|
+
timezone?: string | undefined;
|
|
26400
|
+
is_all_day?: boolean | undefined;
|
|
26401
|
+
} | undefined;
|
|
26402
|
+
origin: {
|
|
26403
|
+
platform_i18n_name: string;
|
|
26404
|
+
href?: {
|
|
26405
|
+
url?: string;
|
|
26406
|
+
title?: string;
|
|
26407
|
+
};
|
|
26408
|
+
};
|
|
26409
|
+
can_edit?: boolean | undefined;
|
|
26410
|
+
custom?: string | undefined;
|
|
26411
|
+
source?: number | undefined;
|
|
26412
|
+
followers?: {
|
|
26413
|
+
id?: string | undefined;
|
|
26414
|
+
id_list?: string[] | undefined;
|
|
26415
|
+
}[] | undefined;
|
|
26416
|
+
collaborators?: {
|
|
26417
|
+
id?: string | undefined;
|
|
26418
|
+
id_list?: string[] | undefined;
|
|
26419
|
+
}[] | undefined;
|
|
26420
|
+
collaborator_ids?: string[] | undefined;
|
|
26421
|
+
follower_ids?: string[] | undefined;
|
|
26422
|
+
repeat_rule?: string | undefined;
|
|
26423
|
+
rich_summary?: string | undefined;
|
|
26424
|
+
rich_description?: string | undefined;
|
|
26150
26425
|
} | undefined;
|
|
26151
26426
|
} | undefined;
|
|
26152
26427
|
}>;
|
|
26153
|
-
};
|
|
26154
|
-
taskCollaborator: {
|
|
26155
26428
|
/**
|
|
26156
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26429
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=list&version=v1 click to debug }
|
|
26157
26430
|
*/
|
|
26158
26431
|
listWithIterator: (payload?: {
|
|
26159
26432
|
params?: {
|
|
26160
26433
|
page_size?: number;
|
|
26161
26434
|
page_token?: string;
|
|
26435
|
+
start_create_time?: string;
|
|
26436
|
+
end_create_time?: string;
|
|
26437
|
+
task_completed?: boolean;
|
|
26162
26438
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26163
26439
|
};
|
|
26164
|
-
path?: {
|
|
26165
|
-
task_id?: string;
|
|
26166
|
-
};
|
|
26167
26440
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26168
26441
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
26169
26442
|
items?: {
|
|
26170
26443
|
id?: string | undefined;
|
|
26171
|
-
|
|
26444
|
+
summary?: string | undefined;
|
|
26445
|
+
description?: string | undefined;
|
|
26446
|
+
complete_time?: string | undefined;
|
|
26447
|
+
creator_id?: string | undefined;
|
|
26448
|
+
extra?: string | undefined;
|
|
26449
|
+
create_time?: string | undefined;
|
|
26450
|
+
update_time?: string | undefined;
|
|
26451
|
+
due?: {
|
|
26452
|
+
time?: string | undefined;
|
|
26453
|
+
timezone?: string | undefined;
|
|
26454
|
+
is_all_day?: boolean | undefined;
|
|
26455
|
+
} | undefined;
|
|
26456
|
+
origin: {
|
|
26457
|
+
platform_i18n_name: string;
|
|
26458
|
+
href?: {
|
|
26459
|
+
url?: string;
|
|
26460
|
+
title?: string;
|
|
26461
|
+
};
|
|
26462
|
+
};
|
|
26463
|
+
can_edit?: boolean | undefined;
|
|
26464
|
+
custom?: string | undefined;
|
|
26465
|
+
source?: number | undefined;
|
|
26466
|
+
followers?: {
|
|
26467
|
+
id?: string | undefined;
|
|
26468
|
+
id_list?: string[] | undefined;
|
|
26469
|
+
}[] | undefined;
|
|
26470
|
+
collaborators?: {
|
|
26471
|
+
id?: string | undefined;
|
|
26472
|
+
id_list?: string[] | undefined;
|
|
26473
|
+
}[] | undefined;
|
|
26474
|
+
collaborator_ids?: string[] | undefined;
|
|
26475
|
+
follower_ids?: string[] | undefined;
|
|
26476
|
+
repeat_rule?: string | undefined;
|
|
26477
|
+
rich_summary?: string | undefined;
|
|
26478
|
+
rich_description?: string | undefined;
|
|
26172
26479
|
}[] | undefined;
|
|
26173
26480
|
} | null, void, unknown>;
|
|
26174
26481
|
}>;
|
|
26175
26482
|
/**
|
|
26176
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26483
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=list&version=v1 click to debug }
|
|
26177
26484
|
*/
|
|
26178
26485
|
list: (payload?: {
|
|
26179
26486
|
params?: {
|
|
26180
26487
|
page_size?: number;
|
|
26181
26488
|
page_token?: string;
|
|
26489
|
+
start_create_time?: string;
|
|
26490
|
+
end_create_time?: string;
|
|
26491
|
+
task_completed?: boolean;
|
|
26182
26492
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26183
26493
|
};
|
|
26184
|
-
path?: {
|
|
26185
|
-
task_id?: string;
|
|
26186
|
-
};
|
|
26187
26494
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26188
26495
|
code?: number | undefined;
|
|
26189
26496
|
msg?: string | undefined;
|
|
26190
26497
|
data?: {
|
|
26191
26498
|
items?: {
|
|
26192
26499
|
id?: string | undefined;
|
|
26193
|
-
|
|
26500
|
+
summary?: string | undefined;
|
|
26501
|
+
description?: string | undefined;
|
|
26502
|
+
complete_time?: string | undefined;
|
|
26503
|
+
creator_id?: string | undefined;
|
|
26504
|
+
extra?: string | undefined;
|
|
26505
|
+
create_time?: string | undefined;
|
|
26506
|
+
update_time?: string | undefined;
|
|
26507
|
+
due?: {
|
|
26508
|
+
time?: string | undefined;
|
|
26509
|
+
timezone?: string | undefined;
|
|
26510
|
+
is_all_day?: boolean | undefined;
|
|
26511
|
+
} | undefined;
|
|
26512
|
+
origin: {
|
|
26513
|
+
platform_i18n_name: string;
|
|
26514
|
+
href?: {
|
|
26515
|
+
url?: string;
|
|
26516
|
+
title?: string;
|
|
26517
|
+
};
|
|
26518
|
+
};
|
|
26519
|
+
can_edit?: boolean | undefined;
|
|
26520
|
+
custom?: string | undefined;
|
|
26521
|
+
source?: number | undefined;
|
|
26522
|
+
followers?: {
|
|
26523
|
+
id?: string | undefined;
|
|
26524
|
+
id_list?: string[] | undefined;
|
|
26525
|
+
}[] | undefined;
|
|
26526
|
+
collaborators?: {
|
|
26527
|
+
id?: string | undefined;
|
|
26528
|
+
id_list?: string[] | undefined;
|
|
26529
|
+
}[] | undefined;
|
|
26530
|
+
collaborator_ids?: string[] | undefined;
|
|
26531
|
+
follower_ids?: string[] | undefined;
|
|
26532
|
+
repeat_rule?: string | undefined;
|
|
26533
|
+
rich_summary?: string | undefined;
|
|
26534
|
+
rich_description?: string | undefined;
|
|
26194
26535
|
}[] | undefined;
|
|
26195
26536
|
page_token?: string | undefined;
|
|
26196
26537
|
has_more?: boolean | undefined;
|
|
26197
26538
|
} | undefined;
|
|
26198
26539
|
}>;
|
|
26199
26540
|
/**
|
|
26200
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26541
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=delete&version=v1 click to debug }
|
|
26201
26542
|
*/
|
|
26202
|
-
|
|
26203
|
-
data?: {
|
|
26204
|
-
id?: string;
|
|
26205
|
-
id_list?: Array<string>;
|
|
26206
|
-
};
|
|
26207
|
-
params?: {
|
|
26208
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26209
|
-
};
|
|
26543
|
+
delete: (payload?: {
|
|
26210
26544
|
path: {
|
|
26211
26545
|
task_id: string;
|
|
26212
26546
|
};
|
|
26213
26547
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26214
26548
|
code?: number | undefined;
|
|
26215
26549
|
msg?: string | undefined;
|
|
26216
|
-
data?: {
|
|
26217
|
-
collaborator: {
|
|
26218
|
-
id?: string;
|
|
26219
|
-
id_list?: Array<string>;
|
|
26220
|
-
};
|
|
26221
|
-
} | undefined;
|
|
26550
|
+
data?: {} | undefined;
|
|
26222
26551
|
}>;
|
|
26223
26552
|
/**
|
|
26224
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26553
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=complete&version=v1 click to debug }
|
|
26225
26554
|
*/
|
|
26226
|
-
|
|
26227
|
-
params?: {
|
|
26228
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26229
|
-
};
|
|
26555
|
+
complete: (payload?: {
|
|
26230
26556
|
path: {
|
|
26231
26557
|
task_id: string;
|
|
26232
|
-
collaborator_id: string;
|
|
26233
26558
|
};
|
|
26234
26559
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26235
26560
|
code?: number | undefined;
|
|
26236
26561
|
msg?: string | undefined;
|
|
26237
26562
|
data?: {} | undefined;
|
|
26238
26563
|
}>;
|
|
26239
|
-
};
|
|
26240
|
-
taskFollower: {
|
|
26241
|
-
/**
|
|
26242
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task.follower&apiName=list&version=v1 click to debug }
|
|
26243
|
-
*/
|
|
26244
|
-
listWithIterator: (payload?: {
|
|
26245
|
-
params?: {
|
|
26246
|
-
page_size?: number;
|
|
26247
|
-
page_token?: string;
|
|
26248
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26249
|
-
};
|
|
26250
|
-
path?: {
|
|
26251
|
-
task_id?: string;
|
|
26252
|
-
};
|
|
26253
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
26254
|
-
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
26255
|
-
items?: {
|
|
26256
|
-
id?: string | undefined;
|
|
26257
|
-
id_list?: string[] | undefined;
|
|
26258
|
-
}[] | undefined;
|
|
26259
|
-
} | null, void, unknown>;
|
|
26260
|
-
}>;
|
|
26261
26564
|
/**
|
|
26262
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26565
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=uncomplete&version=v1 click to debug }
|
|
26263
26566
|
*/
|
|
26264
|
-
|
|
26265
|
-
|
|
26266
|
-
|
|
26267
|
-
page_token?: string;
|
|
26268
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26269
|
-
};
|
|
26270
|
-
path?: {
|
|
26271
|
-
task_id?: string;
|
|
26567
|
+
uncomplete: (payload?: {
|
|
26568
|
+
path: {
|
|
26569
|
+
task_id: string;
|
|
26272
26570
|
};
|
|
26273
26571
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26274
26572
|
code?: number | undefined;
|
|
26275
26573
|
msg?: string | undefined;
|
|
26276
|
-
data?: {
|
|
26277
|
-
items?: {
|
|
26278
|
-
id?: string | undefined;
|
|
26279
|
-
id_list?: string[] | undefined;
|
|
26280
|
-
}[] | undefined;
|
|
26281
|
-
page_token?: string | undefined;
|
|
26282
|
-
has_more?: boolean | undefined;
|
|
26283
|
-
} | undefined;
|
|
26574
|
+
data?: {} | undefined;
|
|
26284
26575
|
}>;
|
|
26285
26576
|
/**
|
|
26286
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26577
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=patch&version=v1 click to debug }
|
|
26287
26578
|
*/
|
|
26288
|
-
|
|
26289
|
-
data
|
|
26290
|
-
|
|
26291
|
-
|
|
26579
|
+
patch: (payload?: {
|
|
26580
|
+
data: {
|
|
26581
|
+
task: {
|
|
26582
|
+
summary?: string;
|
|
26583
|
+
description?: string;
|
|
26584
|
+
extra?: string;
|
|
26585
|
+
due?: {
|
|
26586
|
+
time?: string;
|
|
26587
|
+
timezone?: string;
|
|
26588
|
+
is_all_day?: boolean;
|
|
26589
|
+
};
|
|
26590
|
+
origin?: {
|
|
26591
|
+
platform_i18n_name: string;
|
|
26592
|
+
href?: {
|
|
26593
|
+
url?: string;
|
|
26594
|
+
title?: string;
|
|
26595
|
+
};
|
|
26596
|
+
};
|
|
26597
|
+
can_edit?: boolean;
|
|
26598
|
+
custom?: string;
|
|
26599
|
+
followers?: Array<{
|
|
26600
|
+
id?: string;
|
|
26601
|
+
id_list?: Array<string>;
|
|
26602
|
+
}>;
|
|
26603
|
+
collaborators?: Array<{
|
|
26604
|
+
id?: string;
|
|
26605
|
+
id_list?: Array<string>;
|
|
26606
|
+
}>;
|
|
26607
|
+
collaborator_ids?: Array<string>;
|
|
26608
|
+
follower_ids?: Array<string>;
|
|
26609
|
+
repeat_rule?: string;
|
|
26610
|
+
rich_summary?: string;
|
|
26611
|
+
rich_description?: string;
|
|
26612
|
+
};
|
|
26613
|
+
update_fields: Array<string>;
|
|
26292
26614
|
};
|
|
26293
26615
|
params?: {
|
|
26294
26616
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -26300,27 +26622,120 @@ declare abstract class Client$1 {
|
|
|
26300
26622
|
code?: number | undefined;
|
|
26301
26623
|
msg?: string | undefined;
|
|
26302
26624
|
data?: {
|
|
26303
|
-
|
|
26304
|
-
id?: string;
|
|
26305
|
-
|
|
26306
|
-
|
|
26625
|
+
task?: {
|
|
26626
|
+
id?: string | undefined;
|
|
26627
|
+
summary?: string | undefined;
|
|
26628
|
+
description?: string | undefined;
|
|
26629
|
+
complete_time?: string | undefined;
|
|
26630
|
+
creator_id?: string | undefined;
|
|
26631
|
+
extra?: string | undefined;
|
|
26632
|
+
create_time?: string | undefined;
|
|
26633
|
+
update_time?: string | undefined;
|
|
26634
|
+
due?: {
|
|
26635
|
+
time?: string | undefined;
|
|
26636
|
+
timezone?: string | undefined;
|
|
26637
|
+
is_all_day?: boolean | undefined;
|
|
26638
|
+
} | undefined;
|
|
26639
|
+
origin: {
|
|
26640
|
+
platform_i18n_name: string;
|
|
26641
|
+
href?: {
|
|
26642
|
+
url?: string;
|
|
26643
|
+
title?: string;
|
|
26644
|
+
};
|
|
26645
|
+
};
|
|
26646
|
+
can_edit?: boolean | undefined;
|
|
26647
|
+
custom?: string | undefined;
|
|
26648
|
+
source?: number | undefined;
|
|
26649
|
+
followers?: {
|
|
26650
|
+
id?: string | undefined;
|
|
26651
|
+
id_list?: string[] | undefined;
|
|
26652
|
+
}[] | undefined;
|
|
26653
|
+
collaborators?: {
|
|
26654
|
+
id?: string | undefined;
|
|
26655
|
+
id_list?: string[] | undefined;
|
|
26656
|
+
}[] | undefined;
|
|
26657
|
+
collaborator_ids?: string[] | undefined;
|
|
26658
|
+
follower_ids?: string[] | undefined;
|
|
26659
|
+
repeat_rule?: string | undefined;
|
|
26660
|
+
rich_summary?: string | undefined;
|
|
26661
|
+
rich_description?: string | undefined;
|
|
26662
|
+
} | undefined;
|
|
26307
26663
|
} | undefined;
|
|
26308
26664
|
}>;
|
|
26309
26665
|
/**
|
|
26310
|
-
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task
|
|
26666
|
+
* {@link https://open.feishu.cn/api-explorer?project=task&resource=task&apiName=create&version=v1 click to debug }
|
|
26311
26667
|
*/
|
|
26312
|
-
|
|
26668
|
+
create: (payload?: {
|
|
26669
|
+
data: {
|
|
26670
|
+
summary: string;
|
|
26671
|
+
description?: string;
|
|
26672
|
+
extra?: string;
|
|
26673
|
+
due?: {
|
|
26674
|
+
time?: string;
|
|
26675
|
+
timezone?: string;
|
|
26676
|
+
is_all_day?: boolean;
|
|
26677
|
+
};
|
|
26678
|
+
origin: {
|
|
26679
|
+
platform_i18n_name: string;
|
|
26680
|
+
href?: {
|
|
26681
|
+
url?: string;
|
|
26682
|
+
title?: string;
|
|
26683
|
+
};
|
|
26684
|
+
};
|
|
26685
|
+
can_edit?: boolean;
|
|
26686
|
+
custom?: string;
|
|
26687
|
+
collaborator_ids?: Array<string>;
|
|
26688
|
+
follower_ids?: Array<string>;
|
|
26689
|
+
repeat_rule?: string;
|
|
26690
|
+
rich_summary?: string;
|
|
26691
|
+
rich_description?: string;
|
|
26692
|
+
};
|
|
26313
26693
|
params?: {
|
|
26314
26694
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26315
26695
|
};
|
|
26316
|
-
path: {
|
|
26317
|
-
task_id: string;
|
|
26318
|
-
follower_id: string;
|
|
26319
|
-
};
|
|
26320
26696
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26321
26697
|
code?: number | undefined;
|
|
26322
26698
|
msg?: string | undefined;
|
|
26323
|
-
data?: {
|
|
26699
|
+
data?: {
|
|
26700
|
+
task?: {
|
|
26701
|
+
id?: string | undefined;
|
|
26702
|
+
summary?: string | undefined;
|
|
26703
|
+
description?: string | undefined;
|
|
26704
|
+
complete_time?: string | undefined;
|
|
26705
|
+
creator_id?: string | undefined;
|
|
26706
|
+
extra?: string | undefined;
|
|
26707
|
+
create_time?: string | undefined;
|
|
26708
|
+
update_time?: string | undefined;
|
|
26709
|
+
due?: {
|
|
26710
|
+
time?: string | undefined;
|
|
26711
|
+
timezone?: string | undefined;
|
|
26712
|
+
is_all_day?: boolean | undefined;
|
|
26713
|
+
} | undefined;
|
|
26714
|
+
origin: {
|
|
26715
|
+
platform_i18n_name: string;
|
|
26716
|
+
href?: {
|
|
26717
|
+
url?: string;
|
|
26718
|
+
title?: string;
|
|
26719
|
+
};
|
|
26720
|
+
};
|
|
26721
|
+
can_edit?: boolean | undefined;
|
|
26722
|
+
custom?: string | undefined;
|
|
26723
|
+
source?: number | undefined;
|
|
26724
|
+
followers?: {
|
|
26725
|
+
id?: string | undefined;
|
|
26726
|
+
id_list?: string[] | undefined;
|
|
26727
|
+
}[] | undefined;
|
|
26728
|
+
collaborators?: {
|
|
26729
|
+
id?: string | undefined;
|
|
26730
|
+
id_list?: string[] | undefined;
|
|
26731
|
+
}[] | undefined;
|
|
26732
|
+
collaborator_ids?: string[] | undefined;
|
|
26733
|
+
follower_ids?: string[] | undefined;
|
|
26734
|
+
repeat_rule?: string | undefined;
|
|
26735
|
+
rich_summary?: string | undefined;
|
|
26736
|
+
rich_description?: string | undefined;
|
|
26737
|
+
} | undefined;
|
|
26738
|
+
} | undefined;
|
|
26324
26739
|
}>;
|
|
26325
26740
|
};
|
|
26326
26741
|
};
|
|
@@ -26403,37 +26818,67 @@ declare abstract class Client$1 {
|
|
|
26403
26818
|
data?: {} | undefined;
|
|
26404
26819
|
}>;
|
|
26405
26820
|
/**
|
|
26406
|
-
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve&apiName=
|
|
26821
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve&apiName=get_active_meeting&version=v1 click to debug }
|
|
26407
26822
|
*/
|
|
26408
|
-
|
|
26409
|
-
|
|
26410
|
-
|
|
26411
|
-
|
|
26412
|
-
|
|
26413
|
-
|
|
26414
|
-
|
|
26415
|
-
permission_checkers: Array<{
|
|
26416
|
-
check_field: number;
|
|
26417
|
-
check_mode: number;
|
|
26418
|
-
check_list: Array<string>;
|
|
26419
|
-
}>;
|
|
26420
|
-
}>;
|
|
26421
|
-
meeting_initial_type?: number;
|
|
26422
|
-
call_setting?: {
|
|
26423
|
-
callee: {
|
|
26424
|
-
id?: string;
|
|
26425
|
-
user_type: number;
|
|
26426
|
-
pstn_sip_info?: {
|
|
26427
|
-
nickname?: string;
|
|
26428
|
-
main_address: string;
|
|
26429
|
-
};
|
|
26430
|
-
};
|
|
26431
|
-
};
|
|
26432
|
-
};
|
|
26823
|
+
getActiveMeeting: (payload?: {
|
|
26824
|
+
params?: {
|
|
26825
|
+
with_participants?: boolean;
|
|
26826
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26827
|
+
};
|
|
26828
|
+
path?: {
|
|
26829
|
+
reserve_id?: string;
|
|
26433
26830
|
};
|
|
26831
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
26832
|
+
code?: number | undefined;
|
|
26833
|
+
msg?: string | undefined;
|
|
26834
|
+
data?: {
|
|
26835
|
+
meeting?: {
|
|
26836
|
+
id?: string | undefined;
|
|
26837
|
+
topic?: string | undefined;
|
|
26838
|
+
url?: string | undefined;
|
|
26839
|
+
meeting_no?: string | undefined;
|
|
26840
|
+
create_time?: string | undefined;
|
|
26841
|
+
start_time?: string | undefined;
|
|
26842
|
+
end_time?: string | undefined;
|
|
26843
|
+
host_user?: {
|
|
26844
|
+
id?: string | undefined;
|
|
26845
|
+
user_type?: number | undefined;
|
|
26846
|
+
} | undefined;
|
|
26847
|
+
status?: number | undefined;
|
|
26848
|
+
participant_count?: string | undefined;
|
|
26849
|
+
participant_count_accumulated?: string | undefined;
|
|
26850
|
+
participants?: {
|
|
26851
|
+
id?: string | undefined;
|
|
26852
|
+
first_join_time?: string | undefined;
|
|
26853
|
+
final_leave_time?: string | undefined;
|
|
26854
|
+
in_meeting_duration?: string | undefined;
|
|
26855
|
+
user_type?: number | undefined;
|
|
26856
|
+
is_host?: boolean | undefined;
|
|
26857
|
+
is_cohost?: boolean | undefined;
|
|
26858
|
+
is_external?: boolean | undefined;
|
|
26859
|
+
status?: number | undefined;
|
|
26860
|
+
}[] | undefined;
|
|
26861
|
+
ability?: {
|
|
26862
|
+
use_video?: boolean | undefined;
|
|
26863
|
+
use_audio?: boolean | undefined;
|
|
26864
|
+
use_share_screen?: boolean | undefined;
|
|
26865
|
+
use_follow_screen?: boolean | undefined;
|
|
26866
|
+
use_recording?: boolean | undefined;
|
|
26867
|
+
use_pstn?: boolean | undefined;
|
|
26868
|
+
} | undefined;
|
|
26869
|
+
} | undefined;
|
|
26870
|
+
} | undefined;
|
|
26871
|
+
}>;
|
|
26872
|
+
/**
|
|
26873
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve&apiName=get&version=v1 click to debug }
|
|
26874
|
+
*/
|
|
26875
|
+
get: (payload?: {
|
|
26434
26876
|
params?: {
|
|
26435
26877
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26436
26878
|
};
|
|
26879
|
+
path?: {
|
|
26880
|
+
reserve_id?: string;
|
|
26881
|
+
};
|
|
26437
26882
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26438
26883
|
code?: number | undefined;
|
|
26439
26884
|
msg?: string | undefined;
|
|
@@ -26445,6 +26890,31 @@ declare abstract class Client$1 {
|
|
|
26445
26890
|
app_link?: string | undefined;
|
|
26446
26891
|
live_link?: string | undefined;
|
|
26447
26892
|
end_time?: string | undefined;
|
|
26893
|
+
expire_status?: number | undefined;
|
|
26894
|
+
reserve_user_id?: string | undefined;
|
|
26895
|
+
meeting_settings?: {
|
|
26896
|
+
topic?: string | undefined;
|
|
26897
|
+
action_permissions?: {
|
|
26898
|
+
permission: number;
|
|
26899
|
+
permission_checkers: Array<{
|
|
26900
|
+
check_field: number;
|
|
26901
|
+
check_mode: number;
|
|
26902
|
+
check_list: Array<string>;
|
|
26903
|
+
}>;
|
|
26904
|
+
}[] | undefined;
|
|
26905
|
+
meeting_initial_type?: number | undefined;
|
|
26906
|
+
call_setting?: {
|
|
26907
|
+
callee: {
|
|
26908
|
+
id?: string;
|
|
26909
|
+
user_type: number;
|
|
26910
|
+
pstn_sip_info?: {
|
|
26911
|
+
nickname?: string;
|
|
26912
|
+
main_address: string;
|
|
26913
|
+
};
|
|
26914
|
+
};
|
|
26915
|
+
} | undefined;
|
|
26916
|
+
auto_record?: boolean | undefined;
|
|
26917
|
+
} | undefined;
|
|
26448
26918
|
} | undefined;
|
|
26449
26919
|
} | undefined;
|
|
26450
26920
|
}>;
|
|
@@ -26475,6 +26945,7 @@ declare abstract class Client$1 {
|
|
|
26475
26945
|
};
|
|
26476
26946
|
};
|
|
26477
26947
|
};
|
|
26948
|
+
auto_record?: boolean;
|
|
26478
26949
|
};
|
|
26479
26950
|
};
|
|
26480
26951
|
params?: {
|
|
@@ -26498,102 +26969,49 @@ declare abstract class Client$1 {
|
|
|
26498
26969
|
} | undefined;
|
|
26499
26970
|
}>;
|
|
26500
26971
|
/**
|
|
26501
|
-
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve&apiName=
|
|
26502
|
-
*/
|
|
26503
|
-
get: (payload?: {
|
|
26504
|
-
params?: {
|
|
26505
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26506
|
-
};
|
|
26507
|
-
path?: {
|
|
26508
|
-
reserve_id?: string;
|
|
26509
|
-
};
|
|
26510
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
26511
|
-
code?: number | undefined;
|
|
26512
|
-
msg?: string | undefined;
|
|
26513
|
-
data?: {
|
|
26514
|
-
reserve?: {
|
|
26515
|
-
id?: string | undefined;
|
|
26516
|
-
meeting_no?: string | undefined;
|
|
26517
|
-
url?: string | undefined;
|
|
26518
|
-
app_link?: string | undefined;
|
|
26519
|
-
live_link?: string | undefined;
|
|
26520
|
-
end_time?: string | undefined;
|
|
26521
|
-
expire_status?: number | undefined;
|
|
26522
|
-
reserve_user_id?: string | undefined;
|
|
26523
|
-
meeting_settings?: {
|
|
26524
|
-
topic?: string | undefined;
|
|
26525
|
-
action_permissions?: {
|
|
26526
|
-
permission: number;
|
|
26527
|
-
permission_checkers: Array<{
|
|
26528
|
-
check_field: number;
|
|
26529
|
-
check_mode: number;
|
|
26530
|
-
check_list: Array<string>;
|
|
26531
|
-
}>;
|
|
26532
|
-
}[] | undefined;
|
|
26533
|
-
meeting_initial_type?: number | undefined;
|
|
26534
|
-
call_setting?: {
|
|
26535
|
-
callee: {
|
|
26536
|
-
id?: string;
|
|
26537
|
-
user_type: number;
|
|
26538
|
-
pstn_sip_info?: {
|
|
26539
|
-
nickname?: string;
|
|
26540
|
-
main_address: string;
|
|
26541
|
-
};
|
|
26542
|
-
};
|
|
26543
|
-
} | undefined;
|
|
26544
|
-
} | undefined;
|
|
26545
|
-
} | undefined;
|
|
26546
|
-
} | undefined;
|
|
26547
|
-
}>;
|
|
26548
|
-
/**
|
|
26549
|
-
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve&apiName=get_active_meeting&version=v1 click to debug }
|
|
26972
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve&apiName=apply&version=v1 click to debug }
|
|
26550
26973
|
*/
|
|
26551
|
-
|
|
26974
|
+
apply: (payload?: {
|
|
26975
|
+
data: {
|
|
26976
|
+
end_time?: string;
|
|
26977
|
+
meeting_settings: {
|
|
26978
|
+
topic?: string;
|
|
26979
|
+
action_permissions?: Array<{
|
|
26980
|
+
permission: number;
|
|
26981
|
+
permission_checkers: Array<{
|
|
26982
|
+
check_field: number;
|
|
26983
|
+
check_mode: number;
|
|
26984
|
+
check_list: Array<string>;
|
|
26985
|
+
}>;
|
|
26986
|
+
}>;
|
|
26987
|
+
meeting_initial_type?: number;
|
|
26988
|
+
call_setting?: {
|
|
26989
|
+
callee: {
|
|
26990
|
+
id?: string;
|
|
26991
|
+
user_type: number;
|
|
26992
|
+
pstn_sip_info?: {
|
|
26993
|
+
nickname?: string;
|
|
26994
|
+
main_address: string;
|
|
26995
|
+
};
|
|
26996
|
+
};
|
|
26997
|
+
};
|
|
26998
|
+
auto_record?: boolean;
|
|
26999
|
+
};
|
|
27000
|
+
};
|
|
26552
27001
|
params?: {
|
|
26553
|
-
with_participants?: boolean;
|
|
26554
27002
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
26555
27003
|
};
|
|
26556
|
-
path?: {
|
|
26557
|
-
reserve_id?: string;
|
|
26558
|
-
};
|
|
26559
27004
|
}, options?: IRequestOptions$1) => Promise<{
|
|
26560
27005
|
code?: number | undefined;
|
|
26561
27006
|
msg?: string | undefined;
|
|
26562
27007
|
data?: {
|
|
26563
|
-
|
|
27008
|
+
reserve?: {
|
|
26564
27009
|
id?: string | undefined;
|
|
26565
|
-
topic?: string | undefined;
|
|
26566
|
-
url?: string | undefined;
|
|
26567
27010
|
meeting_no?: string | undefined;
|
|
26568
|
-
|
|
26569
|
-
|
|
27011
|
+
url?: string | undefined;
|
|
27012
|
+
app_link?: string | undefined;
|
|
27013
|
+
live_link?: string | undefined;
|
|
26570
27014
|
end_time?: string | undefined;
|
|
26571
|
-
host_user?: {
|
|
26572
|
-
id?: string | undefined;
|
|
26573
|
-
user_type?: number | undefined;
|
|
26574
|
-
} | undefined;
|
|
26575
|
-
status?: number | undefined;
|
|
26576
|
-
participant_count?: string | undefined;
|
|
26577
|
-
participant_count_accumulated?: string | undefined;
|
|
26578
|
-
participants?: {
|
|
26579
|
-
id?: string | undefined;
|
|
26580
|
-
first_join_time?: string | undefined;
|
|
26581
|
-
final_leave_time?: string | undefined;
|
|
26582
|
-
in_meeting_duration?: string | undefined;
|
|
26583
|
-
user_type?: number | undefined;
|
|
26584
|
-
is_host?: boolean | undefined;
|
|
26585
|
-
is_cohost?: boolean | undefined;
|
|
26586
|
-
is_external?: boolean | undefined;
|
|
26587
|
-
status?: number | undefined;
|
|
26588
|
-
}[] | undefined;
|
|
26589
|
-
ability?: {
|
|
26590
|
-
use_video?: boolean | undefined;
|
|
26591
|
-
use_audio?: boolean | undefined;
|
|
26592
|
-
use_share_screen?: boolean | undefined;
|
|
26593
|
-
use_follow_screen?: boolean | undefined;
|
|
26594
|
-
use_recording?: boolean | undefined;
|
|
26595
|
-
use_pstn?: boolean | undefined;
|
|
26596
|
-
} | undefined;
|
|
26597
27015
|
} | undefined;
|
|
26598
27016
|
} | undefined;
|
|
26599
27017
|
}>;
|
|
@@ -27107,25 +27525,6 @@ declare abstract class Client$1 {
|
|
|
27107
27525
|
task_id?: string | undefined;
|
|
27108
27526
|
} | undefined;
|
|
27109
27527
|
}>;
|
|
27110
|
-
/**
|
|
27111
|
-
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=resource_reservation_list&version=v1 click to debug }
|
|
27112
|
-
*/
|
|
27113
|
-
resourceReservationList: (payload?: {
|
|
27114
|
-
data: {
|
|
27115
|
-
group_id: string;
|
|
27116
|
-
need_topic?: boolean;
|
|
27117
|
-
start_time: string;
|
|
27118
|
-
end_time: string;
|
|
27119
|
-
room_ids?: Array<string>;
|
|
27120
|
-
is_exclude?: boolean;
|
|
27121
|
-
};
|
|
27122
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27123
|
-
code?: number | undefined;
|
|
27124
|
-
msg?: string | undefined;
|
|
27125
|
-
data?: {
|
|
27126
|
-
task_id?: string | undefined;
|
|
27127
|
-
} | undefined;
|
|
27128
|
-
}>;
|
|
27129
27528
|
/**
|
|
27130
27529
|
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=participant_list&version=v1 click to debug }
|
|
27131
27530
|
*/
|
|
@@ -27607,23 +28006,6 @@ declare abstract class Client$1 {
|
|
|
27607
28006
|
workplace: {};
|
|
27608
28007
|
bitable: {
|
|
27609
28008
|
appTableField: {
|
|
27610
|
-
/**
|
|
27611
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.field&apiName=delete&version=v1 click to debug }
|
|
27612
|
-
*/
|
|
27613
|
-
delete: (payload?: {
|
|
27614
|
-
path: {
|
|
27615
|
-
app_token: string;
|
|
27616
|
-
table_id: string;
|
|
27617
|
-
field_id: string;
|
|
27618
|
-
};
|
|
27619
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27620
|
-
code?: number | undefined;
|
|
27621
|
-
msg?: string | undefined;
|
|
27622
|
-
data?: {
|
|
27623
|
-
field_id?: string | undefined;
|
|
27624
|
-
deleted?: boolean | undefined;
|
|
27625
|
-
} | undefined;
|
|
27626
|
-
}>;
|
|
27627
28009
|
/**
|
|
27628
28010
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.field&apiName=list&version=v1 click to debug }
|
|
27629
28011
|
*/
|
|
@@ -27865,234 +28247,80 @@ declare abstract class Client$1 {
|
|
|
27865
28247
|
} | undefined;
|
|
27866
28248
|
} | undefined;
|
|
27867
28249
|
}>;
|
|
27868
|
-
};
|
|
27869
|
-
appTable: {
|
|
27870
|
-
/**
|
|
27871
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_delete&version=v1 click to debug }
|
|
27872
|
-
*/
|
|
27873
|
-
batchDelete: (payload?: {
|
|
27874
|
-
data?: {
|
|
27875
|
-
table_ids?: Array<string>;
|
|
27876
|
-
};
|
|
27877
|
-
path: {
|
|
27878
|
-
app_token: string;
|
|
27879
|
-
};
|
|
27880
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27881
|
-
code?: number | undefined;
|
|
27882
|
-
msg?: string | undefined;
|
|
27883
|
-
data?: {} | undefined;
|
|
27884
|
-
}>;
|
|
27885
28250
|
/**
|
|
27886
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=delete&version=v1 click to debug }
|
|
28251
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.field&apiName=delete&version=v1 click to debug }
|
|
27887
28252
|
*/
|
|
27888
28253
|
delete: (payload?: {
|
|
27889
28254
|
path: {
|
|
27890
28255
|
app_token: string;
|
|
27891
28256
|
table_id: string;
|
|
27892
|
-
|
|
27893
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27894
|
-
code?: number | undefined;
|
|
27895
|
-
msg?: string | undefined;
|
|
27896
|
-
data?: {} | undefined;
|
|
27897
|
-
}>;
|
|
27898
|
-
/**
|
|
27899
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
|
|
27900
|
-
*/
|
|
27901
|
-
listWithIterator: (payload?: {
|
|
27902
|
-
params?: {
|
|
27903
|
-
page_token?: string;
|
|
27904
|
-
page_size?: number;
|
|
27905
|
-
};
|
|
27906
|
-
path: {
|
|
27907
|
-
app_token: string;
|
|
27908
|
-
};
|
|
27909
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27910
|
-
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
27911
|
-
total?: number | undefined;
|
|
27912
|
-
items?: {
|
|
27913
|
-
table_id?: string | undefined;
|
|
27914
|
-
revision?: number | undefined;
|
|
27915
|
-
name?: string | undefined;
|
|
27916
|
-
}[] | undefined;
|
|
27917
|
-
} | null, void, unknown>;
|
|
27918
|
-
}>;
|
|
27919
|
-
/**
|
|
27920
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
|
|
27921
|
-
*/
|
|
27922
|
-
list: (payload?: {
|
|
27923
|
-
params?: {
|
|
27924
|
-
page_token?: string;
|
|
27925
|
-
page_size?: number;
|
|
27926
|
-
};
|
|
27927
|
-
path: {
|
|
27928
|
-
app_token: string;
|
|
27929
|
-
};
|
|
27930
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27931
|
-
code?: number | undefined;
|
|
27932
|
-
msg?: string | undefined;
|
|
27933
|
-
data?: {
|
|
27934
|
-
has_more?: boolean | undefined;
|
|
27935
|
-
page_token?: string | undefined;
|
|
27936
|
-
total?: number | undefined;
|
|
27937
|
-
items?: {
|
|
27938
|
-
table_id?: string | undefined;
|
|
27939
|
-
revision?: number | undefined;
|
|
27940
|
-
name?: string | undefined;
|
|
27941
|
-
}[] | undefined;
|
|
27942
|
-
} | undefined;
|
|
27943
|
-
}>;
|
|
27944
|
-
/**
|
|
27945
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_create&version=v1 click to debug }
|
|
27946
|
-
*/
|
|
27947
|
-
batchCreate: (payload?: {
|
|
27948
|
-
data?: {
|
|
27949
|
-
tables?: Array<{
|
|
27950
|
-
name?: string;
|
|
27951
|
-
}>;
|
|
27952
|
-
};
|
|
27953
|
-
params?: {
|
|
27954
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
27955
|
-
};
|
|
27956
|
-
path: {
|
|
27957
|
-
app_token: string;
|
|
27958
|
-
};
|
|
27959
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
27960
|
-
code?: number | undefined;
|
|
27961
|
-
msg?: string | undefined;
|
|
27962
|
-
data?: {
|
|
27963
|
-
table_ids?: string[] | undefined;
|
|
27964
|
-
} | undefined;
|
|
27965
|
-
}>;
|
|
27966
|
-
/**
|
|
27967
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=create&version=v1 click to debug }
|
|
27968
|
-
*/
|
|
27969
|
-
create: (payload?: {
|
|
27970
|
-
data?: {
|
|
27971
|
-
table?: {
|
|
27972
|
-
name?: string;
|
|
27973
|
-
};
|
|
27974
|
-
};
|
|
27975
|
-
params?: {
|
|
27976
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
27977
|
-
};
|
|
27978
|
-
path: {
|
|
27979
|
-
app_token: string;
|
|
28257
|
+
field_id: string;
|
|
27980
28258
|
};
|
|
27981
28259
|
}, options?: IRequestOptions$1) => Promise<{
|
|
27982
28260
|
code?: number | undefined;
|
|
27983
28261
|
msg?: string | undefined;
|
|
27984
28262
|
data?: {
|
|
27985
|
-
|
|
28263
|
+
field_id?: string | undefined;
|
|
28264
|
+
deleted?: boolean | undefined;
|
|
27986
28265
|
} | undefined;
|
|
27987
28266
|
}>;
|
|
27988
28267
|
};
|
|
27989
|
-
|
|
27990
|
-
/**
|
|
27991
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
|
|
27992
|
-
*/
|
|
27993
|
-
listWithIterator: (payload?: {
|
|
27994
|
-
params?: {
|
|
27995
|
-
page_size?: number;
|
|
27996
|
-
page_token?: string;
|
|
27997
|
-
};
|
|
27998
|
-
path?: {
|
|
27999
|
-
app_token?: string;
|
|
28000
|
-
table_id?: string;
|
|
28001
|
-
};
|
|
28002
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28003
|
-
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
28004
|
-
items?: {
|
|
28005
|
-
view_id?: string | undefined;
|
|
28006
|
-
view_name?: string | undefined;
|
|
28007
|
-
view_type?: string | undefined;
|
|
28008
|
-
}[] | undefined;
|
|
28009
|
-
total?: number | undefined;
|
|
28010
|
-
} | null, void, unknown>;
|
|
28011
|
-
}>;
|
|
28268
|
+
appTableForm: {
|
|
28012
28269
|
/**
|
|
28013
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.
|
|
28270
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=patch&version=v1 click to debug }
|
|
28014
28271
|
*/
|
|
28015
|
-
|
|
28016
|
-
params?: {
|
|
28017
|
-
page_size?: number;
|
|
28018
|
-
page_token?: string;
|
|
28019
|
-
};
|
|
28020
|
-
path?: {
|
|
28021
|
-
app_token?: string;
|
|
28022
|
-
table_id?: string;
|
|
28023
|
-
};
|
|
28024
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28025
|
-
code?: number | undefined;
|
|
28026
|
-
msg?: string | undefined;
|
|
28272
|
+
patch: (payload?: {
|
|
28027
28273
|
data?: {
|
|
28028
|
-
|
|
28029
|
-
|
|
28030
|
-
|
|
28031
|
-
|
|
28032
|
-
|
|
28033
|
-
page_token?: string | undefined;
|
|
28034
|
-
has_more?: boolean | undefined;
|
|
28035
|
-
total?: number | undefined;
|
|
28036
|
-
} | undefined;
|
|
28037
|
-
}>;
|
|
28038
|
-
/**
|
|
28039
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=delete&version=v1 click to debug }
|
|
28040
|
-
*/
|
|
28041
|
-
delete: (payload?: {
|
|
28042
|
-
path?: {
|
|
28043
|
-
app_token?: string;
|
|
28044
|
-
table_id?: string;
|
|
28045
|
-
view_id?: string;
|
|
28046
|
-
};
|
|
28047
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28048
|
-
code?: number | undefined;
|
|
28049
|
-
msg?: string | undefined;
|
|
28050
|
-
data?: {} | undefined;
|
|
28051
|
-
}>;
|
|
28052
|
-
/**
|
|
28053
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=create&version=v1 click to debug }
|
|
28054
|
-
*/
|
|
28055
|
-
create: (payload?: {
|
|
28056
|
-
data: {
|
|
28057
|
-
view_name: string;
|
|
28058
|
-
view_type?: "grid" | "kanban" | "gallery" | "gantt" | "form";
|
|
28274
|
+
name?: string;
|
|
28275
|
+
description?: string;
|
|
28276
|
+
shared?: boolean;
|
|
28277
|
+
shared_limit?: "off" | "tenant_editable" | "anyone_editable";
|
|
28278
|
+
submit_limit_once?: boolean;
|
|
28059
28279
|
};
|
|
28060
|
-
path
|
|
28061
|
-
app_token
|
|
28062
|
-
table_id
|
|
28280
|
+
path: {
|
|
28281
|
+
app_token: string;
|
|
28282
|
+
table_id: string;
|
|
28283
|
+
form_id: string;
|
|
28063
28284
|
};
|
|
28064
28285
|
}, options?: IRequestOptions$1) => Promise<{
|
|
28065
28286
|
code?: number | undefined;
|
|
28066
28287
|
msg?: string | undefined;
|
|
28067
28288
|
data?: {
|
|
28068
|
-
|
|
28069
|
-
|
|
28070
|
-
|
|
28071
|
-
|
|
28072
|
-
|
|
28289
|
+
form: {
|
|
28290
|
+
name?: string;
|
|
28291
|
+
description?: string;
|
|
28292
|
+
shared?: boolean;
|
|
28293
|
+
shared_url?: string;
|
|
28294
|
+
shared_limit?: "off" | "tenant_editable" | "anyone_editable";
|
|
28295
|
+
submit_limit_once?: boolean;
|
|
28296
|
+
};
|
|
28073
28297
|
} | undefined;
|
|
28074
28298
|
}>;
|
|
28075
|
-
};
|
|
28076
|
-
app: {
|
|
28077
28299
|
/**
|
|
28078
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=get&version=v1 click to debug }
|
|
28300
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=get&version=v1 click to debug }
|
|
28079
28301
|
*/
|
|
28080
28302
|
get: (payload?: {
|
|
28081
28303
|
path: {
|
|
28082
28304
|
app_token: string;
|
|
28305
|
+
table_id: string;
|
|
28306
|
+
form_id: string;
|
|
28083
28307
|
};
|
|
28084
28308
|
}, options?: IRequestOptions$1) => Promise<{
|
|
28085
28309
|
code?: number | undefined;
|
|
28086
28310
|
msg?: string | undefined;
|
|
28087
28311
|
data?: {
|
|
28088
|
-
|
|
28089
|
-
|
|
28090
|
-
|
|
28091
|
-
|
|
28092
|
-
|
|
28093
|
-
|
|
28312
|
+
form: {
|
|
28313
|
+
name?: string;
|
|
28314
|
+
description?: string;
|
|
28315
|
+
shared?: boolean;
|
|
28316
|
+
shared_url?: string;
|
|
28317
|
+
shared_limit?: "off" | "tenant_editable" | "anyone_editable";
|
|
28318
|
+
submit_limit_once?: boolean;
|
|
28319
|
+
};
|
|
28094
28320
|
} | undefined;
|
|
28095
28321
|
}>;
|
|
28322
|
+
};
|
|
28323
|
+
app: {
|
|
28096
28324
|
/**
|
|
28097
28325
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=update&version=v1 click to debug }
|
|
28098
28326
|
*/
|
|
@@ -28115,21 +28343,27 @@ declare abstract class Client$1 {
|
|
|
28115
28343
|
} | undefined;
|
|
28116
28344
|
} | undefined;
|
|
28117
28345
|
}>;
|
|
28118
|
-
};
|
|
28119
|
-
appRole: {
|
|
28120
28346
|
/**
|
|
28121
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app
|
|
28347
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app&apiName=get&version=v1 click to debug }
|
|
28122
28348
|
*/
|
|
28123
|
-
|
|
28124
|
-
path
|
|
28125
|
-
app_token
|
|
28126
|
-
role_id?: string;
|
|
28349
|
+
get: (payload?: {
|
|
28350
|
+
path: {
|
|
28351
|
+
app_token: string;
|
|
28127
28352
|
};
|
|
28128
28353
|
}, options?: IRequestOptions$1) => Promise<{
|
|
28129
28354
|
code?: number | undefined;
|
|
28130
28355
|
msg?: string | undefined;
|
|
28131
|
-
data?: {
|
|
28356
|
+
data?: {
|
|
28357
|
+
app?: {
|
|
28358
|
+
app_token?: string | undefined;
|
|
28359
|
+
name?: string | undefined;
|
|
28360
|
+
revision?: number | undefined;
|
|
28361
|
+
is_advanced?: boolean | undefined;
|
|
28362
|
+
} | undefined;
|
|
28363
|
+
} | undefined;
|
|
28132
28364
|
}>;
|
|
28365
|
+
};
|
|
28366
|
+
appRole: {
|
|
28133
28367
|
/**
|
|
28134
28368
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=list&version=v1 click to debug }
|
|
28135
28369
|
*/
|
|
@@ -28220,6 +28454,19 @@ declare abstract class Client$1 {
|
|
|
28220
28454
|
total?: number | undefined;
|
|
28221
28455
|
} | undefined;
|
|
28222
28456
|
}>;
|
|
28457
|
+
/**
|
|
28458
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=delete&version=v1 click to debug }
|
|
28459
|
+
*/
|
|
28460
|
+
delete: (payload?: {
|
|
28461
|
+
path?: {
|
|
28462
|
+
app_token?: string;
|
|
28463
|
+
role_id?: string;
|
|
28464
|
+
};
|
|
28465
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
28466
|
+
code?: number | undefined;
|
|
28467
|
+
msg?: string | undefined;
|
|
28468
|
+
data?: {} | undefined;
|
|
28469
|
+
}>;
|
|
28223
28470
|
/**
|
|
28224
28471
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role&apiName=update&version=v1 click to debug }
|
|
28225
28472
|
*/
|
|
@@ -28368,25 +28615,6 @@ declare abstract class Client$1 {
|
|
|
28368
28615
|
msg?: string | undefined;
|
|
28369
28616
|
data?: {} | undefined;
|
|
28370
28617
|
}>;
|
|
28371
|
-
/**
|
|
28372
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=create&version=v1 click to debug }
|
|
28373
|
-
*/
|
|
28374
|
-
create: (payload?: {
|
|
28375
|
-
data: {
|
|
28376
|
-
member_id: string;
|
|
28377
|
-
};
|
|
28378
|
-
params?: {
|
|
28379
|
-
member_id_type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
|
|
28380
|
-
};
|
|
28381
|
-
path?: {
|
|
28382
|
-
app_token?: string;
|
|
28383
|
-
role_id?: string;
|
|
28384
|
-
};
|
|
28385
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28386
|
-
code?: number | undefined;
|
|
28387
|
-
msg?: string | undefined;
|
|
28388
|
-
data?: {} | undefined;
|
|
28389
|
-
}>;
|
|
28390
28618
|
/**
|
|
28391
28619
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=list&version=v1 click to debug }
|
|
28392
28620
|
*/
|
|
@@ -28447,6 +28675,25 @@ declare abstract class Client$1 {
|
|
|
28447
28675
|
total?: number | undefined;
|
|
28448
28676
|
} | undefined;
|
|
28449
28677
|
}>;
|
|
28678
|
+
/**
|
|
28679
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=create&version=v1 click to debug }
|
|
28680
|
+
*/
|
|
28681
|
+
create: (payload?: {
|
|
28682
|
+
data: {
|
|
28683
|
+
member_id: string;
|
|
28684
|
+
};
|
|
28685
|
+
params?: {
|
|
28686
|
+
member_id_type?: "open_id" | "union_id" | "user_id" | "chat_id" | "department_id" | "open_department_id";
|
|
28687
|
+
};
|
|
28688
|
+
path?: {
|
|
28689
|
+
app_token?: string;
|
|
28690
|
+
role_id?: string;
|
|
28691
|
+
};
|
|
28692
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
28693
|
+
code?: number | undefined;
|
|
28694
|
+
msg?: string | undefined;
|
|
28695
|
+
data?: {} | undefined;
|
|
28696
|
+
}>;
|
|
28450
28697
|
/**
|
|
28451
28698
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.role.member&apiName=batch_create&version=v1 click to debug }
|
|
28452
28699
|
*/
|
|
@@ -28486,139 +28733,143 @@ declare abstract class Client$1 {
|
|
|
28486
28733
|
data?: {} | undefined;
|
|
28487
28734
|
}>;
|
|
28488
28735
|
};
|
|
28489
|
-
|
|
28490
|
-
/**
|
|
28491
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=patch&version=v1 click to debug }
|
|
28492
|
-
*/
|
|
28493
|
-
patch: (payload?: {
|
|
28494
|
-
data?: {
|
|
28495
|
-
pre_field_id?: string;
|
|
28496
|
-
title?: string;
|
|
28497
|
-
description?: string;
|
|
28498
|
-
required?: boolean;
|
|
28499
|
-
visible?: boolean;
|
|
28500
|
-
};
|
|
28501
|
-
path: {
|
|
28502
|
-
app_token: string;
|
|
28503
|
-
table_id: string;
|
|
28504
|
-
form_id: string;
|
|
28505
|
-
field_id: string;
|
|
28506
|
-
};
|
|
28507
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28508
|
-
code?: number | undefined;
|
|
28509
|
-
msg?: string | undefined;
|
|
28510
|
-
data?: {
|
|
28511
|
-
field?: {
|
|
28512
|
-
pre_field_id?: string | undefined;
|
|
28513
|
-
title?: string | undefined;
|
|
28514
|
-
description?: string | undefined;
|
|
28515
|
-
required?: boolean | undefined;
|
|
28516
|
-
visible?: boolean | undefined;
|
|
28517
|
-
} | undefined;
|
|
28518
|
-
} | undefined;
|
|
28519
|
-
}>;
|
|
28736
|
+
appTableRecord: {
|
|
28520
28737
|
/**
|
|
28521
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.
|
|
28738
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=list&version=v1 click to debug }
|
|
28522
28739
|
*/
|
|
28523
28740
|
listWithIterator: (payload?: {
|
|
28524
28741
|
params?: {
|
|
28525
|
-
|
|
28742
|
+
view_id?: string;
|
|
28743
|
+
filter?: string;
|
|
28744
|
+
sort?: string;
|
|
28745
|
+
field_names?: string;
|
|
28746
|
+
text_field_as_array?: boolean;
|
|
28747
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
28748
|
+
display_formula_ref?: boolean;
|
|
28749
|
+
automatic_fields?: boolean;
|
|
28526
28750
|
page_token?: string;
|
|
28527
|
-
};
|
|
28528
|
-
path: {
|
|
28529
|
-
app_token: string;
|
|
28530
|
-
table_id: string;
|
|
28531
|
-
form_id: string;
|
|
28532
|
-
};
|
|
28533
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28534
|
-
[Symbol.asyncIterator](): AsyncGenerator<{} | null, void, unknown>;
|
|
28535
|
-
}>;
|
|
28536
|
-
/**
|
|
28537
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
|
|
28538
|
-
*/
|
|
28539
|
-
list: (payload?: {
|
|
28540
|
-
params?: {
|
|
28541
28751
|
page_size?: number;
|
|
28542
|
-
page_token?: string;
|
|
28543
|
-
};
|
|
28544
|
-
path: {
|
|
28545
|
-
app_token: string;
|
|
28546
|
-
table_id: string;
|
|
28547
|
-
form_id: string;
|
|
28548
28752
|
};
|
|
28549
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
28550
|
-
code?: number | undefined;
|
|
28551
|
-
msg?: string | undefined;
|
|
28552
|
-
data?: {
|
|
28553
|
-
items: Array<{
|
|
28554
|
-
field_id?: string;
|
|
28555
|
-
title?: string;
|
|
28556
|
-
description?: string;
|
|
28557
|
-
required?: boolean;
|
|
28558
|
-
visible?: boolean;
|
|
28559
|
-
}>;
|
|
28560
|
-
page_token: string;
|
|
28561
|
-
has_more: boolean;
|
|
28562
|
-
total: number;
|
|
28563
|
-
} | undefined;
|
|
28564
|
-
}>;
|
|
28565
|
-
};
|
|
28566
|
-
appTableForm: {
|
|
28567
|
-
/**
|
|
28568
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form&apiName=get&version=v1 click to debug }
|
|
28569
|
-
*/
|
|
28570
|
-
get: (payload?: {
|
|
28571
28753
|
path: {
|
|
28572
28754
|
app_token: string;
|
|
28573
28755
|
table_id: string;
|
|
28574
|
-
form_id: string;
|
|
28575
28756
|
};
|
|
28576
28757
|
}, options?: IRequestOptions$1) => Promise<{
|
|
28577
|
-
|
|
28578
|
-
|
|
28579
|
-
|
|
28580
|
-
|
|
28581
|
-
|
|
28582
|
-
|
|
28583
|
-
|
|
28584
|
-
|
|
28585
|
-
|
|
28586
|
-
|
|
28587
|
-
|
|
28588
|
-
|
|
28758
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
28759
|
+
total?: number | undefined;
|
|
28760
|
+
items?: {
|
|
28761
|
+
record_id?: string | undefined;
|
|
28762
|
+
created_by?: {
|
|
28763
|
+
id?: string | undefined;
|
|
28764
|
+
name?: string | undefined;
|
|
28765
|
+
en_name?: string | undefined;
|
|
28766
|
+
email?: string | undefined;
|
|
28767
|
+
} | undefined;
|
|
28768
|
+
created_time?: number | undefined;
|
|
28769
|
+
last_modified_by?: {
|
|
28770
|
+
id?: string | undefined;
|
|
28771
|
+
name?: string | undefined;
|
|
28772
|
+
en_name?: string | undefined;
|
|
28773
|
+
email?: string | undefined;
|
|
28774
|
+
} | undefined;
|
|
28775
|
+
last_modified_time?: number | undefined;
|
|
28776
|
+
fields: Map<string, string | boolean | {
|
|
28777
|
+
text?: string;
|
|
28778
|
+
link?: string;
|
|
28779
|
+
} | {
|
|
28780
|
+
location?: string;
|
|
28781
|
+
pname?: string;
|
|
28782
|
+
cityname?: string;
|
|
28783
|
+
adname?: string;
|
|
28784
|
+
address?: string;
|
|
28785
|
+
name?: string;
|
|
28786
|
+
full_address?: string;
|
|
28787
|
+
} | Array<string> | Array<{
|
|
28788
|
+
id?: string;
|
|
28789
|
+
name?: string;
|
|
28790
|
+
en_name?: string;
|
|
28791
|
+
email?: string;
|
|
28792
|
+
}> | Array<{
|
|
28793
|
+
file_token?: string;
|
|
28794
|
+
name?: string;
|
|
28795
|
+
type?: string;
|
|
28796
|
+
size?: number;
|
|
28797
|
+
url?: string;
|
|
28798
|
+
tmp_url?: string;
|
|
28799
|
+
}>>;
|
|
28800
|
+
}[] | undefined;
|
|
28801
|
+
} | null, void, unknown>;
|
|
28589
28802
|
}>;
|
|
28590
28803
|
/**
|
|
28591
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.
|
|
28804
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=list&version=v1 click to debug }
|
|
28592
28805
|
*/
|
|
28593
|
-
|
|
28594
|
-
|
|
28595
|
-
|
|
28596
|
-
|
|
28597
|
-
|
|
28598
|
-
|
|
28599
|
-
|
|
28806
|
+
list: (payload?: {
|
|
28807
|
+
params?: {
|
|
28808
|
+
view_id?: string;
|
|
28809
|
+
filter?: string;
|
|
28810
|
+
sort?: string;
|
|
28811
|
+
field_names?: string;
|
|
28812
|
+
text_field_as_array?: boolean;
|
|
28813
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
28814
|
+
display_formula_ref?: boolean;
|
|
28815
|
+
automatic_fields?: boolean;
|
|
28816
|
+
page_token?: string;
|
|
28817
|
+
page_size?: number;
|
|
28600
28818
|
};
|
|
28601
28819
|
path: {
|
|
28602
28820
|
app_token: string;
|
|
28603
28821
|
table_id: string;
|
|
28604
|
-
form_id: string;
|
|
28605
28822
|
};
|
|
28606
28823
|
}, options?: IRequestOptions$1) => Promise<{
|
|
28607
28824
|
code?: number | undefined;
|
|
28608
28825
|
msg?: string | undefined;
|
|
28609
28826
|
data?: {
|
|
28610
|
-
|
|
28611
|
-
|
|
28612
|
-
|
|
28613
|
-
|
|
28614
|
-
|
|
28615
|
-
|
|
28616
|
-
|
|
28617
|
-
|
|
28827
|
+
has_more?: boolean | undefined;
|
|
28828
|
+
page_token?: string | undefined;
|
|
28829
|
+
total?: number | undefined;
|
|
28830
|
+
items?: {
|
|
28831
|
+
record_id?: string | undefined;
|
|
28832
|
+
created_by?: {
|
|
28833
|
+
id?: string | undefined;
|
|
28834
|
+
name?: string | undefined;
|
|
28835
|
+
en_name?: string | undefined;
|
|
28836
|
+
email?: string | undefined;
|
|
28837
|
+
} | undefined;
|
|
28838
|
+
created_time?: number | undefined;
|
|
28839
|
+
last_modified_by?: {
|
|
28840
|
+
id?: string | undefined;
|
|
28841
|
+
name?: string | undefined;
|
|
28842
|
+
en_name?: string | undefined;
|
|
28843
|
+
email?: string | undefined;
|
|
28844
|
+
} | undefined;
|
|
28845
|
+
last_modified_time?: number | undefined;
|
|
28846
|
+
fields: Map<string, string | boolean | {
|
|
28847
|
+
text?: string;
|
|
28848
|
+
link?: string;
|
|
28849
|
+
} | {
|
|
28850
|
+
location?: string;
|
|
28851
|
+
pname?: string;
|
|
28852
|
+
cityname?: string;
|
|
28853
|
+
adname?: string;
|
|
28854
|
+
address?: string;
|
|
28855
|
+
name?: string;
|
|
28856
|
+
full_address?: string;
|
|
28857
|
+
} | Array<string> | Array<{
|
|
28858
|
+
id?: string;
|
|
28859
|
+
name?: string;
|
|
28860
|
+
en_name?: string;
|
|
28861
|
+
email?: string;
|
|
28862
|
+
}> | Array<{
|
|
28863
|
+
file_token?: string;
|
|
28864
|
+
name?: string;
|
|
28865
|
+
type?: string;
|
|
28866
|
+
size?: number;
|
|
28867
|
+
url?: string;
|
|
28868
|
+
tmp_url?: string;
|
|
28869
|
+
}>>;
|
|
28870
|
+
}[] | undefined;
|
|
28618
28871
|
} | undefined;
|
|
28619
28872
|
}>;
|
|
28620
|
-
};
|
|
28621
|
-
appTableRecord: {
|
|
28622
28873
|
/**
|
|
28623
28874
|
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=get&version=v1 click to debug }
|
|
28624
28875
|
*/
|
|
@@ -28868,29 +29119,64 @@ declare abstract class Client$1 {
|
|
|
28868
29119
|
} | undefined;
|
|
28869
29120
|
}>;
|
|
28870
29121
|
/**
|
|
28871
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=
|
|
29122
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=delete&version=v1 click to debug }
|
|
28872
29123
|
*/
|
|
28873
|
-
|
|
29124
|
+
delete: (payload?: {
|
|
29125
|
+
path: {
|
|
29126
|
+
app_token: string;
|
|
29127
|
+
table_id: string;
|
|
29128
|
+
record_id: string;
|
|
29129
|
+
};
|
|
29130
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29131
|
+
code?: number | undefined;
|
|
29132
|
+
msg?: string | undefined;
|
|
29133
|
+
data?: {
|
|
29134
|
+
deleted?: boolean | undefined;
|
|
29135
|
+
record_id?: string | undefined;
|
|
29136
|
+
} | undefined;
|
|
29137
|
+
}>;
|
|
29138
|
+
/**
|
|
29139
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=create&version=v1 click to debug }
|
|
29140
|
+
*/
|
|
29141
|
+
create: (payload?: {
|
|
29142
|
+
data: {
|
|
29143
|
+
fields: Map<string, string | boolean | {
|
|
29144
|
+
text?: string;
|
|
29145
|
+
link?: string;
|
|
29146
|
+
} | {
|
|
29147
|
+
location?: string;
|
|
29148
|
+
pname?: string;
|
|
29149
|
+
cityname?: string;
|
|
29150
|
+
adname?: string;
|
|
29151
|
+
address?: string;
|
|
29152
|
+
name?: string;
|
|
29153
|
+
full_address?: string;
|
|
29154
|
+
} | Array<string> | Array<{
|
|
29155
|
+
id?: string;
|
|
29156
|
+
name?: string;
|
|
29157
|
+
en_name?: string;
|
|
29158
|
+
email?: string;
|
|
29159
|
+
}> | Array<{
|
|
29160
|
+
file_token?: string;
|
|
29161
|
+
name?: string;
|
|
29162
|
+
type?: string;
|
|
29163
|
+
size?: number;
|
|
29164
|
+
url?: string;
|
|
29165
|
+
tmp_url?: string;
|
|
29166
|
+
}>>;
|
|
29167
|
+
};
|
|
28874
29168
|
params?: {
|
|
28875
|
-
view_id?: string;
|
|
28876
|
-
filter?: string;
|
|
28877
|
-
sort?: string;
|
|
28878
|
-
field_names?: string;
|
|
28879
|
-
text_field_as_array?: boolean;
|
|
28880
29169
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
28881
|
-
display_formula_ref?: boolean;
|
|
28882
|
-
automatic_fields?: boolean;
|
|
28883
|
-
page_token?: string;
|
|
28884
|
-
page_size?: number;
|
|
28885
29170
|
};
|
|
28886
29171
|
path: {
|
|
28887
29172
|
app_token: string;
|
|
28888
29173
|
table_id: string;
|
|
28889
29174
|
};
|
|
28890
29175
|
}, options?: IRequestOptions$1) => Promise<{
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
29176
|
+
code?: number | undefined;
|
|
29177
|
+
msg?: string | undefined;
|
|
29178
|
+
data?: {
|
|
29179
|
+
record?: {
|
|
28894
29180
|
record_id?: string | undefined;
|
|
28895
29181
|
created_by?: {
|
|
28896
29182
|
id?: string | undefined;
|
|
@@ -28930,24 +29216,15 @@ declare abstract class Client$1 {
|
|
|
28930
29216
|
url?: string;
|
|
28931
29217
|
tmp_url?: string;
|
|
28932
29218
|
}>>;
|
|
28933
|
-
}
|
|
28934
|
-
} |
|
|
29219
|
+
} | undefined;
|
|
29220
|
+
} | undefined;
|
|
28935
29221
|
}>;
|
|
28936
29222
|
/**
|
|
28937
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=
|
|
29223
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_delete&version=v1 click to debug }
|
|
28938
29224
|
*/
|
|
28939
|
-
|
|
28940
|
-
|
|
28941
|
-
|
|
28942
|
-
filter?: string;
|
|
28943
|
-
sort?: string;
|
|
28944
|
-
field_names?: string;
|
|
28945
|
-
text_field_as_array?: boolean;
|
|
28946
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
28947
|
-
display_formula_ref?: boolean;
|
|
28948
|
-
automatic_fields?: boolean;
|
|
28949
|
-
page_token?: string;
|
|
28950
|
-
page_size?: number;
|
|
29225
|
+
batchDelete: (payload?: {
|
|
29226
|
+
data: {
|
|
29227
|
+
records: Array<string>;
|
|
28951
29228
|
};
|
|
28952
29229
|
path: {
|
|
28953
29230
|
app_token: string;
|
|
@@ -28957,25 +29234,32 @@ declare abstract class Client$1 {
|
|
|
28957
29234
|
code?: number | undefined;
|
|
28958
29235
|
msg?: string | undefined;
|
|
28959
29236
|
data?: {
|
|
28960
|
-
|
|
28961
|
-
|
|
28962
|
-
total?: number | undefined;
|
|
28963
|
-
items?: {
|
|
29237
|
+
records?: {
|
|
29238
|
+
deleted?: boolean | undefined;
|
|
28964
29239
|
record_id?: string | undefined;
|
|
29240
|
+
}[] | undefined;
|
|
29241
|
+
} | undefined;
|
|
29242
|
+
}>;
|
|
29243
|
+
/**
|
|
29244
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=batch_create&version=v1 click to debug }
|
|
29245
|
+
*/
|
|
29246
|
+
batchCreate: (payload?: {
|
|
29247
|
+
data: {
|
|
29248
|
+
records: Array<{
|
|
28965
29249
|
created_by?: {
|
|
28966
|
-
id?: string
|
|
28967
|
-
name?: string
|
|
28968
|
-
en_name?: string
|
|
28969
|
-
email?: string
|
|
28970
|
-
}
|
|
28971
|
-
created_time?: number
|
|
29250
|
+
id?: string;
|
|
29251
|
+
name?: string;
|
|
29252
|
+
en_name?: string;
|
|
29253
|
+
email?: string;
|
|
29254
|
+
};
|
|
29255
|
+
created_time?: number;
|
|
28972
29256
|
last_modified_by?: {
|
|
28973
|
-
id?: string
|
|
28974
|
-
name?: string
|
|
28975
|
-
en_name?: string
|
|
28976
|
-
email?: string
|
|
28977
|
-
}
|
|
28978
|
-
last_modified_time?: number
|
|
29257
|
+
id?: string;
|
|
29258
|
+
name?: string;
|
|
29259
|
+
en_name?: string;
|
|
29260
|
+
email?: string;
|
|
29261
|
+
};
|
|
29262
|
+
last_modified_time?: number;
|
|
28979
29263
|
fields: Map<string, string | boolean | {
|
|
28980
29264
|
text?: string;
|
|
28981
29265
|
link?: string;
|
|
@@ -28998,57 +29282,9 @@ declare abstract class Client$1 {
|
|
|
28998
29282
|
type?: string;
|
|
28999
29283
|
size?: number;
|
|
29000
29284
|
url?: string;
|
|
29001
|
-
tmp_url?: string;
|
|
29002
|
-
}>>;
|
|
29003
|
-
}
|
|
29004
|
-
} | undefined;
|
|
29005
|
-
}>;
|
|
29006
|
-
/**
|
|
29007
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=delete&version=v1 click to debug }
|
|
29008
|
-
*/
|
|
29009
|
-
delete: (payload?: {
|
|
29010
|
-
path: {
|
|
29011
|
-
app_token: string;
|
|
29012
|
-
table_id: string;
|
|
29013
|
-
record_id: string;
|
|
29014
|
-
};
|
|
29015
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
29016
|
-
code?: number | undefined;
|
|
29017
|
-
msg?: string | undefined;
|
|
29018
|
-
data?: {
|
|
29019
|
-
deleted?: boolean | undefined;
|
|
29020
|
-
record_id?: string | undefined;
|
|
29021
|
-
} | undefined;
|
|
29022
|
-
}>;
|
|
29023
|
-
/**
|
|
29024
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.record&apiName=create&version=v1 click to debug }
|
|
29025
|
-
*/
|
|
29026
|
-
create: (payload?: {
|
|
29027
|
-
data: {
|
|
29028
|
-
fields: Map<string, string | boolean | {
|
|
29029
|
-
text?: string;
|
|
29030
|
-
link?: string;
|
|
29031
|
-
} | {
|
|
29032
|
-
location?: string;
|
|
29033
|
-
pname?: string;
|
|
29034
|
-
cityname?: string;
|
|
29035
|
-
adname?: string;
|
|
29036
|
-
address?: string;
|
|
29037
|
-
name?: string;
|
|
29038
|
-
full_address?: string;
|
|
29039
|
-
} | Array<string> | Array<{
|
|
29040
|
-
id?: string;
|
|
29041
|
-
name?: string;
|
|
29042
|
-
en_name?: string;
|
|
29043
|
-
email?: string;
|
|
29044
|
-
}> | Array<{
|
|
29045
|
-
file_token?: string;
|
|
29046
|
-
name?: string;
|
|
29047
|
-
type?: string;
|
|
29048
|
-
size?: number;
|
|
29049
|
-
url?: string;
|
|
29050
|
-
tmp_url?: string;
|
|
29051
|
-
}>>;
|
|
29285
|
+
tmp_url?: string;
|
|
29286
|
+
}>>;
|
|
29287
|
+
}>;
|
|
29052
29288
|
};
|
|
29053
29289
|
params?: {
|
|
29054
29290
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -29061,7 +29297,7 @@ declare abstract class Client$1 {
|
|
|
29061
29297
|
code?: number | undefined;
|
|
29062
29298
|
msg?: string | undefined;
|
|
29063
29299
|
data?: {
|
|
29064
|
-
|
|
29300
|
+
records?: {
|
|
29065
29301
|
record_id?: string | undefined;
|
|
29066
29302
|
created_by?: {
|
|
29067
29303
|
id?: string | undefined;
|
|
@@ -29101,128 +29337,291 @@ declare abstract class Client$1 {
|
|
|
29101
29337
|
url?: string;
|
|
29102
29338
|
tmp_url?: string;
|
|
29103
29339
|
}>>;
|
|
29104
|
-
} | undefined;
|
|
29340
|
+
}[] | undefined;
|
|
29105
29341
|
} | undefined;
|
|
29106
29342
|
}>;
|
|
29343
|
+
};
|
|
29344
|
+
appTable: {
|
|
29107
29345
|
/**
|
|
29108
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table
|
|
29346
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_delete&version=v1 click to debug }
|
|
29109
29347
|
*/
|
|
29110
29348
|
batchDelete: (payload?: {
|
|
29111
|
-
data
|
|
29112
|
-
|
|
29349
|
+
data?: {
|
|
29350
|
+
table_ids?: Array<string>;
|
|
29351
|
+
};
|
|
29352
|
+
path: {
|
|
29353
|
+
app_token: string;
|
|
29113
29354
|
};
|
|
29355
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29356
|
+
code?: number | undefined;
|
|
29357
|
+
msg?: string | undefined;
|
|
29358
|
+
data?: {} | undefined;
|
|
29359
|
+
}>;
|
|
29360
|
+
/**
|
|
29361
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=delete&version=v1 click to debug }
|
|
29362
|
+
*/
|
|
29363
|
+
delete: (payload?: {
|
|
29114
29364
|
path: {
|
|
29115
29365
|
app_token: string;
|
|
29116
29366
|
table_id: string;
|
|
29117
29367
|
};
|
|
29368
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29369
|
+
code?: number | undefined;
|
|
29370
|
+
msg?: string | undefined;
|
|
29371
|
+
data?: {} | undefined;
|
|
29372
|
+
}>;
|
|
29373
|
+
/**
|
|
29374
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
|
|
29375
|
+
*/
|
|
29376
|
+
listWithIterator: (payload?: {
|
|
29377
|
+
params?: {
|
|
29378
|
+
page_token?: string;
|
|
29379
|
+
page_size?: number;
|
|
29380
|
+
};
|
|
29381
|
+
path: {
|
|
29382
|
+
app_token: string;
|
|
29383
|
+
};
|
|
29384
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29385
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
29386
|
+
total?: number | undefined;
|
|
29387
|
+
items?: {
|
|
29388
|
+
table_id?: string | undefined;
|
|
29389
|
+
revision?: number | undefined;
|
|
29390
|
+
name?: string | undefined;
|
|
29391
|
+
}[] | undefined;
|
|
29392
|
+
} | null, void, unknown>;
|
|
29393
|
+
}>;
|
|
29394
|
+
/**
|
|
29395
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=list&version=v1 click to debug }
|
|
29396
|
+
*/
|
|
29397
|
+
list: (payload?: {
|
|
29398
|
+
params?: {
|
|
29399
|
+
page_token?: string;
|
|
29400
|
+
page_size?: number;
|
|
29401
|
+
};
|
|
29402
|
+
path: {
|
|
29403
|
+
app_token: string;
|
|
29404
|
+
};
|
|
29118
29405
|
}, options?: IRequestOptions$1) => Promise<{
|
|
29119
29406
|
code?: number | undefined;
|
|
29120
29407
|
msg?: string | undefined;
|
|
29121
29408
|
data?: {
|
|
29122
|
-
|
|
29123
|
-
|
|
29124
|
-
|
|
29409
|
+
has_more?: boolean | undefined;
|
|
29410
|
+
page_token?: string | undefined;
|
|
29411
|
+
total?: number | undefined;
|
|
29412
|
+
items?: {
|
|
29413
|
+
table_id?: string | undefined;
|
|
29414
|
+
revision?: number | undefined;
|
|
29415
|
+
name?: string | undefined;
|
|
29125
29416
|
}[] | undefined;
|
|
29126
29417
|
} | undefined;
|
|
29127
29418
|
}>;
|
|
29128
29419
|
/**
|
|
29129
|
-
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table
|
|
29420
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=batch_create&version=v1 click to debug }
|
|
29130
29421
|
*/
|
|
29131
29422
|
batchCreate: (payload?: {
|
|
29132
|
-
data
|
|
29133
|
-
|
|
29134
|
-
|
|
29135
|
-
id?: string;
|
|
29136
|
-
name?: string;
|
|
29137
|
-
en_name?: string;
|
|
29138
|
-
email?: string;
|
|
29139
|
-
};
|
|
29140
|
-
created_time?: number;
|
|
29141
|
-
last_modified_by?: {
|
|
29142
|
-
id?: string;
|
|
29143
|
-
name?: string;
|
|
29144
|
-
en_name?: string;
|
|
29145
|
-
email?: string;
|
|
29146
|
-
};
|
|
29147
|
-
last_modified_time?: number;
|
|
29148
|
-
fields: Map<string, string | boolean | {
|
|
29149
|
-
text?: string;
|
|
29150
|
-
link?: string;
|
|
29151
|
-
} | {
|
|
29152
|
-
location?: string;
|
|
29153
|
-
pname?: string;
|
|
29154
|
-
cityname?: string;
|
|
29155
|
-
adname?: string;
|
|
29156
|
-
address?: string;
|
|
29157
|
-
name?: string;
|
|
29158
|
-
full_address?: string;
|
|
29159
|
-
} | Array<string> | Array<{
|
|
29160
|
-
id?: string;
|
|
29161
|
-
name?: string;
|
|
29162
|
-
en_name?: string;
|
|
29163
|
-
email?: string;
|
|
29164
|
-
}> | Array<{
|
|
29165
|
-
file_token?: string;
|
|
29166
|
-
name?: string;
|
|
29167
|
-
type?: string;
|
|
29168
|
-
size?: number;
|
|
29169
|
-
url?: string;
|
|
29170
|
-
tmp_url?: string;
|
|
29171
|
-
}>>;
|
|
29423
|
+
data?: {
|
|
29424
|
+
tables?: Array<{
|
|
29425
|
+
name?: string;
|
|
29172
29426
|
}>;
|
|
29173
29427
|
};
|
|
29174
29428
|
params?: {
|
|
29175
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
29429
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
29430
|
+
};
|
|
29431
|
+
path: {
|
|
29432
|
+
app_token: string;
|
|
29433
|
+
};
|
|
29434
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29435
|
+
code?: number | undefined;
|
|
29436
|
+
msg?: string | undefined;
|
|
29437
|
+
data?: {
|
|
29438
|
+
table_ids?: string[] | undefined;
|
|
29439
|
+
} | undefined;
|
|
29440
|
+
}>;
|
|
29441
|
+
/**
|
|
29442
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table&apiName=create&version=v1 click to debug }
|
|
29443
|
+
*/
|
|
29444
|
+
create: (payload?: {
|
|
29445
|
+
data?: {
|
|
29446
|
+
table?: {
|
|
29447
|
+
name?: string;
|
|
29448
|
+
};
|
|
29449
|
+
};
|
|
29450
|
+
params?: {
|
|
29451
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
29452
|
+
};
|
|
29453
|
+
path: {
|
|
29454
|
+
app_token: string;
|
|
29455
|
+
};
|
|
29456
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29457
|
+
code?: number | undefined;
|
|
29458
|
+
msg?: string | undefined;
|
|
29459
|
+
data?: {
|
|
29460
|
+
table_id?: string | undefined;
|
|
29461
|
+
} | undefined;
|
|
29462
|
+
}>;
|
|
29463
|
+
};
|
|
29464
|
+
appTableView: {
|
|
29465
|
+
/**
|
|
29466
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
|
|
29467
|
+
*/
|
|
29468
|
+
listWithIterator: (payload?: {
|
|
29469
|
+
params?: {
|
|
29470
|
+
page_size?: number;
|
|
29471
|
+
page_token?: string;
|
|
29472
|
+
};
|
|
29473
|
+
path?: {
|
|
29474
|
+
app_token?: string;
|
|
29475
|
+
table_id?: string;
|
|
29476
|
+
};
|
|
29477
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29478
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
29479
|
+
items?: {
|
|
29480
|
+
view_id?: string | undefined;
|
|
29481
|
+
view_name?: string | undefined;
|
|
29482
|
+
view_type?: string | undefined;
|
|
29483
|
+
}[] | undefined;
|
|
29484
|
+
total?: number | undefined;
|
|
29485
|
+
} | null, void, unknown>;
|
|
29486
|
+
}>;
|
|
29487
|
+
/**
|
|
29488
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=list&version=v1 click to debug }
|
|
29489
|
+
*/
|
|
29490
|
+
list: (payload?: {
|
|
29491
|
+
params?: {
|
|
29492
|
+
page_size?: number;
|
|
29493
|
+
page_token?: string;
|
|
29494
|
+
};
|
|
29495
|
+
path?: {
|
|
29496
|
+
app_token?: string;
|
|
29497
|
+
table_id?: string;
|
|
29498
|
+
};
|
|
29499
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29500
|
+
code?: number | undefined;
|
|
29501
|
+
msg?: string | undefined;
|
|
29502
|
+
data?: {
|
|
29503
|
+
items?: {
|
|
29504
|
+
view_id?: string | undefined;
|
|
29505
|
+
view_name?: string | undefined;
|
|
29506
|
+
view_type?: string | undefined;
|
|
29507
|
+
}[] | undefined;
|
|
29508
|
+
page_token?: string | undefined;
|
|
29509
|
+
has_more?: boolean | undefined;
|
|
29510
|
+
total?: number | undefined;
|
|
29511
|
+
} | undefined;
|
|
29512
|
+
}>;
|
|
29513
|
+
/**
|
|
29514
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=delete&version=v1 click to debug }
|
|
29515
|
+
*/
|
|
29516
|
+
delete: (payload?: {
|
|
29517
|
+
path?: {
|
|
29518
|
+
app_token?: string;
|
|
29519
|
+
table_id?: string;
|
|
29520
|
+
view_id?: string;
|
|
29521
|
+
};
|
|
29522
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29523
|
+
code?: number | undefined;
|
|
29524
|
+
msg?: string | undefined;
|
|
29525
|
+
data?: {} | undefined;
|
|
29526
|
+
}>;
|
|
29527
|
+
/**
|
|
29528
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=create&version=v1 click to debug }
|
|
29529
|
+
*/
|
|
29530
|
+
create: (payload?: {
|
|
29531
|
+
data: {
|
|
29532
|
+
view_name: string;
|
|
29533
|
+
view_type?: "grid" | "kanban" | "gallery" | "gantt" | "form";
|
|
29534
|
+
};
|
|
29535
|
+
path?: {
|
|
29536
|
+
app_token?: string;
|
|
29537
|
+
table_id?: string;
|
|
29538
|
+
};
|
|
29539
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29540
|
+
code?: number | undefined;
|
|
29541
|
+
msg?: string | undefined;
|
|
29542
|
+
data?: {
|
|
29543
|
+
view?: {
|
|
29544
|
+
view_id?: string | undefined;
|
|
29545
|
+
view_name?: string | undefined;
|
|
29546
|
+
view_type?: string | undefined;
|
|
29547
|
+
} | undefined;
|
|
29548
|
+
} | undefined;
|
|
29549
|
+
}>;
|
|
29550
|
+
};
|
|
29551
|
+
appTableFormField: {
|
|
29552
|
+
/**
|
|
29553
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=patch&version=v1 click to debug }
|
|
29554
|
+
*/
|
|
29555
|
+
patch: (payload?: {
|
|
29556
|
+
data?: {
|
|
29557
|
+
pre_field_id?: string;
|
|
29558
|
+
title?: string;
|
|
29559
|
+
description?: string;
|
|
29560
|
+
required?: boolean;
|
|
29561
|
+
visible?: boolean;
|
|
29562
|
+
};
|
|
29563
|
+
path: {
|
|
29564
|
+
app_token: string;
|
|
29565
|
+
table_id: string;
|
|
29566
|
+
form_id: string;
|
|
29567
|
+
field_id: string;
|
|
29568
|
+
};
|
|
29569
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29570
|
+
code?: number | undefined;
|
|
29571
|
+
msg?: string | undefined;
|
|
29572
|
+
data?: {
|
|
29573
|
+
field?: {
|
|
29574
|
+
pre_field_id?: string | undefined;
|
|
29575
|
+
title?: string | undefined;
|
|
29576
|
+
description?: string | undefined;
|
|
29577
|
+
required?: boolean | undefined;
|
|
29578
|
+
visible?: boolean | undefined;
|
|
29579
|
+
} | undefined;
|
|
29580
|
+
} | undefined;
|
|
29581
|
+
}>;
|
|
29582
|
+
/**
|
|
29583
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
|
|
29584
|
+
*/
|
|
29585
|
+
listWithIterator: (payload?: {
|
|
29586
|
+
params?: {
|
|
29587
|
+
page_size?: number;
|
|
29588
|
+
page_token?: string;
|
|
29589
|
+
};
|
|
29590
|
+
path: {
|
|
29591
|
+
app_token: string;
|
|
29592
|
+
table_id: string;
|
|
29593
|
+
form_id: string;
|
|
29594
|
+
};
|
|
29595
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
29596
|
+
[Symbol.asyncIterator](): AsyncGenerator<{} | null, void, unknown>;
|
|
29597
|
+
}>;
|
|
29598
|
+
/**
|
|
29599
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.form.field&apiName=list&version=v1 click to debug }
|
|
29600
|
+
*/
|
|
29601
|
+
list: (payload?: {
|
|
29602
|
+
params?: {
|
|
29603
|
+
page_size?: number;
|
|
29604
|
+
page_token?: string;
|
|
29176
29605
|
};
|
|
29177
29606
|
path: {
|
|
29178
29607
|
app_token: string;
|
|
29179
29608
|
table_id: string;
|
|
29609
|
+
form_id: string;
|
|
29180
29610
|
};
|
|
29181
29611
|
}, options?: IRequestOptions$1) => Promise<{
|
|
29182
29612
|
code?: number | undefined;
|
|
29183
29613
|
msg?: string | undefined;
|
|
29184
29614
|
data?: {
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29188
|
-
|
|
29189
|
-
|
|
29190
|
-
|
|
29191
|
-
|
|
29192
|
-
|
|
29193
|
-
|
|
29194
|
-
|
|
29195
|
-
id?: string | undefined;
|
|
29196
|
-
name?: string | undefined;
|
|
29197
|
-
en_name?: string | undefined;
|
|
29198
|
-
email?: string | undefined;
|
|
29199
|
-
} | undefined;
|
|
29200
|
-
last_modified_time?: number | undefined;
|
|
29201
|
-
fields: Map<string, string | boolean | {
|
|
29202
|
-
text?: string;
|
|
29203
|
-
link?: string;
|
|
29204
|
-
} | {
|
|
29205
|
-
location?: string;
|
|
29206
|
-
pname?: string;
|
|
29207
|
-
cityname?: string;
|
|
29208
|
-
adname?: string;
|
|
29209
|
-
address?: string;
|
|
29210
|
-
name?: string;
|
|
29211
|
-
full_address?: string;
|
|
29212
|
-
} | Array<string> | Array<{
|
|
29213
|
-
id?: string;
|
|
29214
|
-
name?: string;
|
|
29215
|
-
en_name?: string;
|
|
29216
|
-
email?: string;
|
|
29217
|
-
}> | Array<{
|
|
29218
|
-
file_token?: string;
|
|
29219
|
-
name?: string;
|
|
29220
|
-
type?: string;
|
|
29221
|
-
size?: number;
|
|
29222
|
-
url?: string;
|
|
29223
|
-
tmp_url?: string;
|
|
29224
|
-
}>>;
|
|
29225
|
-
}[] | undefined;
|
|
29615
|
+
items: Array<{
|
|
29616
|
+
field_id?: string;
|
|
29617
|
+
title?: string;
|
|
29618
|
+
description?: string;
|
|
29619
|
+
required?: boolean;
|
|
29620
|
+
visible?: boolean;
|
|
29621
|
+
}>;
|
|
29622
|
+
page_token: string;
|
|
29623
|
+
has_more: boolean;
|
|
29624
|
+
total: number;
|
|
29226
29625
|
} | undefined;
|
|
29227
29626
|
}>;
|
|
29228
29627
|
};
|
|
@@ -29308,7 +29707,7 @@ declare class TokenManager {
|
|
|
29308
29707
|
constructor(params: IParams);
|
|
29309
29708
|
getCustomTenantAccessToken(): Promise<any>;
|
|
29310
29709
|
getMarketTenantAccessToken(tenantKey: string): Promise<any>;
|
|
29311
|
-
|
|
29710
|
+
getTenantAccessToken(params?: {
|
|
29312
29711
|
[CTenantKey]?: string;
|
|
29313
29712
|
}): Promise<any>;
|
|
29314
29713
|
}
|
|
@@ -30713,71 +31112,178 @@ interface IHandles extends IOtherEventHandles {
|
|
|
30713
31112
|
}>;
|
|
30714
31113
|
};
|
|
30715
31114
|
old_object?: {
|
|
30716
|
-
open_id?: string;
|
|
30717
|
-
union_id?: string;
|
|
30718
|
-
user_id?: string;
|
|
30719
|
-
name: string;
|
|
30720
|
-
en_name?: string;
|
|
30721
|
-
nickname?: string;
|
|
30722
|
-
email?: string;
|
|
30723
|
-
enterprise_email?: string;
|
|
30724
|
-
job_title?: string;
|
|
30725
|
-
mobile: string;
|
|
30726
|
-
mobile_visible?: boolean;
|
|
30727
|
-
gender?: number;
|
|
30728
|
-
avatar?: {
|
|
30729
|
-
avatar_72?: string;
|
|
30730
|
-
avatar_240?: string;
|
|
30731
|
-
avatar_640?: string;
|
|
30732
|
-
avatar_origin?: string;
|
|
30733
|
-
};
|
|
31115
|
+
open_id?: string;
|
|
31116
|
+
union_id?: string;
|
|
31117
|
+
user_id?: string;
|
|
31118
|
+
name: string;
|
|
31119
|
+
en_name?: string;
|
|
31120
|
+
nickname?: string;
|
|
31121
|
+
email?: string;
|
|
31122
|
+
enterprise_email?: string;
|
|
31123
|
+
job_title?: string;
|
|
31124
|
+
mobile: string;
|
|
31125
|
+
mobile_visible?: boolean;
|
|
31126
|
+
gender?: number;
|
|
31127
|
+
avatar?: {
|
|
31128
|
+
avatar_72?: string;
|
|
31129
|
+
avatar_240?: string;
|
|
31130
|
+
avatar_640?: string;
|
|
31131
|
+
avatar_origin?: string;
|
|
31132
|
+
};
|
|
31133
|
+
status?: {
|
|
31134
|
+
is_frozen?: boolean;
|
|
31135
|
+
is_resigned?: boolean;
|
|
31136
|
+
is_activated?: boolean;
|
|
31137
|
+
is_exited?: boolean;
|
|
31138
|
+
is_unjoin?: boolean;
|
|
31139
|
+
};
|
|
31140
|
+
department_ids?: Array<string>;
|
|
31141
|
+
leader_user_id?: string;
|
|
31142
|
+
city?: string;
|
|
31143
|
+
country?: string;
|
|
31144
|
+
work_station?: string;
|
|
31145
|
+
join_time?: number;
|
|
31146
|
+
is_tenant_manager?: boolean;
|
|
31147
|
+
employee_no?: string;
|
|
31148
|
+
employee_type?: number;
|
|
31149
|
+
positions?: Array<{
|
|
31150
|
+
position_code?: string;
|
|
31151
|
+
position_name?: string;
|
|
31152
|
+
department_id?: string;
|
|
31153
|
+
leader_user_id?: string;
|
|
31154
|
+
leader_position_code?: string;
|
|
31155
|
+
is_major?: boolean;
|
|
31156
|
+
}>;
|
|
31157
|
+
orders?: Array<{
|
|
31158
|
+
department_id?: string;
|
|
31159
|
+
user_order?: number;
|
|
31160
|
+
department_order?: number;
|
|
31161
|
+
}>;
|
|
31162
|
+
time_zone?: string;
|
|
31163
|
+
custom_attrs?: Array<{
|
|
31164
|
+
type?: string;
|
|
31165
|
+
id?: string;
|
|
31166
|
+
value?: {
|
|
31167
|
+
text?: string;
|
|
31168
|
+
url?: string;
|
|
31169
|
+
pc_url?: string;
|
|
31170
|
+
option_id?: string;
|
|
31171
|
+
option_value?: string;
|
|
31172
|
+
name?: string;
|
|
31173
|
+
picture_url?: string;
|
|
31174
|
+
generic_user?: {
|
|
31175
|
+
id: string;
|
|
31176
|
+
type: number;
|
|
31177
|
+
};
|
|
31178
|
+
};
|
|
31179
|
+
}>;
|
|
31180
|
+
};
|
|
31181
|
+
}) => Promise<any> | any;
|
|
31182
|
+
"contact.department.created_v3"?: (data: {
|
|
31183
|
+
event_id?: string;
|
|
31184
|
+
token?: string;
|
|
31185
|
+
create_time?: string;
|
|
31186
|
+
event_type?: string;
|
|
31187
|
+
tenant_key?: string;
|
|
31188
|
+
ts?: string;
|
|
31189
|
+
uuid?: string;
|
|
31190
|
+
type?: string;
|
|
31191
|
+
app_id?: string;
|
|
31192
|
+
object?: {
|
|
31193
|
+
name: string;
|
|
31194
|
+
parent_department_id: string;
|
|
31195
|
+
department_id?: string;
|
|
31196
|
+
open_department_id?: string;
|
|
31197
|
+
leader_user_id?: string;
|
|
31198
|
+
chat_id?: string;
|
|
31199
|
+
order?: number;
|
|
31200
|
+
unit_ids?: Array<string>;
|
|
31201
|
+
status?: {
|
|
31202
|
+
is_deleted?: boolean;
|
|
31203
|
+
};
|
|
31204
|
+
leaders?: Array<{
|
|
31205
|
+
leaderType: number;
|
|
31206
|
+
leaderID: string;
|
|
31207
|
+
}>;
|
|
31208
|
+
};
|
|
31209
|
+
}) => Promise<any> | any;
|
|
31210
|
+
"contact.department.updated_v3"?: (data: {
|
|
31211
|
+
event_id?: string;
|
|
31212
|
+
token?: string;
|
|
31213
|
+
create_time?: string;
|
|
31214
|
+
event_type?: string;
|
|
31215
|
+
tenant_key?: string;
|
|
31216
|
+
ts?: string;
|
|
31217
|
+
uuid?: string;
|
|
31218
|
+
type?: string;
|
|
31219
|
+
app_id?: string;
|
|
31220
|
+
object?: {
|
|
31221
|
+
name: string;
|
|
31222
|
+
parent_department_id: string;
|
|
31223
|
+
department_id?: string;
|
|
31224
|
+
open_department_id?: string;
|
|
31225
|
+
leader_user_id?: string;
|
|
31226
|
+
chat_id?: string;
|
|
31227
|
+
order?: number;
|
|
31228
|
+
unit_ids?: Array<string>;
|
|
31229
|
+
status?: {
|
|
31230
|
+
is_deleted?: boolean;
|
|
31231
|
+
};
|
|
31232
|
+
leaders?: Array<{
|
|
31233
|
+
leaderType: number;
|
|
31234
|
+
leaderID: string;
|
|
31235
|
+
}>;
|
|
31236
|
+
};
|
|
31237
|
+
old_object?: {
|
|
31238
|
+
name: string;
|
|
31239
|
+
parent_department_id: string;
|
|
31240
|
+
department_id?: string;
|
|
31241
|
+
open_department_id?: string;
|
|
31242
|
+
leader_user_id?: string;
|
|
31243
|
+
chat_id?: string;
|
|
31244
|
+
order?: number;
|
|
31245
|
+
unit_ids?: Array<string>;
|
|
31246
|
+
status?: {
|
|
31247
|
+
is_deleted?: boolean;
|
|
31248
|
+
};
|
|
31249
|
+
leaders?: Array<{
|
|
31250
|
+
leaderType: number;
|
|
31251
|
+
leaderID: string;
|
|
31252
|
+
}>;
|
|
31253
|
+
};
|
|
31254
|
+
}) => Promise<any> | any;
|
|
31255
|
+
"contact.department.deleted_v3"?: (data: {
|
|
31256
|
+
event_id?: string;
|
|
31257
|
+
token?: string;
|
|
31258
|
+
create_time?: string;
|
|
31259
|
+
event_type?: string;
|
|
31260
|
+
tenant_key?: string;
|
|
31261
|
+
ts?: string;
|
|
31262
|
+
uuid?: string;
|
|
31263
|
+
type?: string;
|
|
31264
|
+
app_id?: string;
|
|
31265
|
+
object?: {
|
|
31266
|
+
name: string;
|
|
31267
|
+
parent_department_id: string;
|
|
31268
|
+
department_id?: string;
|
|
31269
|
+
open_department_id?: string;
|
|
31270
|
+
leader_user_id?: string;
|
|
31271
|
+
chat_id?: string;
|
|
31272
|
+
order?: number;
|
|
31273
|
+
unit_ids?: Array<string>;
|
|
31274
|
+
status?: {
|
|
31275
|
+
is_deleted?: boolean;
|
|
31276
|
+
};
|
|
31277
|
+
leaders?: Array<{
|
|
31278
|
+
leaderType: number;
|
|
31279
|
+
leaderID: string;
|
|
31280
|
+
}>;
|
|
31281
|
+
};
|
|
31282
|
+
old_object?: {
|
|
30734
31283
|
status?: {
|
|
30735
|
-
|
|
30736
|
-
is_resigned?: boolean;
|
|
30737
|
-
is_activated?: boolean;
|
|
30738
|
-
is_exited?: boolean;
|
|
30739
|
-
is_unjoin?: boolean;
|
|
31284
|
+
is_deleted?: boolean;
|
|
30740
31285
|
};
|
|
30741
|
-
|
|
30742
|
-
leader_user_id?: string;
|
|
30743
|
-
city?: string;
|
|
30744
|
-
country?: string;
|
|
30745
|
-
work_station?: string;
|
|
30746
|
-
join_time?: number;
|
|
30747
|
-
is_tenant_manager?: boolean;
|
|
30748
|
-
employee_no?: string;
|
|
30749
|
-
employee_type?: number;
|
|
30750
|
-
positions?: Array<{
|
|
30751
|
-
position_code?: string;
|
|
30752
|
-
position_name?: string;
|
|
30753
|
-
department_id?: string;
|
|
30754
|
-
leader_user_id?: string;
|
|
30755
|
-
leader_position_code?: string;
|
|
30756
|
-
is_major?: boolean;
|
|
30757
|
-
}>;
|
|
30758
|
-
orders?: Array<{
|
|
30759
|
-
department_id?: string;
|
|
30760
|
-
user_order?: number;
|
|
30761
|
-
department_order?: number;
|
|
30762
|
-
}>;
|
|
30763
|
-
time_zone?: string;
|
|
30764
|
-
custom_attrs?: Array<{
|
|
30765
|
-
type?: string;
|
|
30766
|
-
id?: string;
|
|
30767
|
-
value?: {
|
|
30768
|
-
text?: string;
|
|
30769
|
-
url?: string;
|
|
30770
|
-
pc_url?: string;
|
|
30771
|
-
option_id?: string;
|
|
30772
|
-
option_value?: string;
|
|
30773
|
-
name?: string;
|
|
30774
|
-
picture_url?: string;
|
|
30775
|
-
generic_user?: {
|
|
30776
|
-
id: string;
|
|
30777
|
-
type: number;
|
|
30778
|
-
};
|
|
30779
|
-
};
|
|
30780
|
-
}>;
|
|
31286
|
+
open_department_id?: string;
|
|
30781
31287
|
};
|
|
30782
31288
|
}) => Promise<any> | any;
|
|
30783
31289
|
"contact.scope.updated_v3"?: (data: {
|
|
@@ -30878,7 +31384,6 @@ interface IHandles extends IOtherEventHandles {
|
|
|
30878
31384
|
language?: "zh-CN" | "en-US" | "ja-JP";
|
|
30879
31385
|
};
|
|
30880
31386
|
is_frozen?: boolean;
|
|
30881
|
-
ent_email_password?: string;
|
|
30882
31387
|
}>;
|
|
30883
31388
|
user_groups?: Array<{
|
|
30884
31389
|
user_group_id: string;
|
|
@@ -30976,7 +31481,6 @@ interface IHandles extends IOtherEventHandles {
|
|
|
30976
31481
|
language?: "zh-CN" | "en-US" | "ja-JP";
|
|
30977
31482
|
};
|
|
30978
31483
|
is_frozen?: boolean;
|
|
30979
|
-
ent_email_password?: string;
|
|
30980
31484
|
}>;
|
|
30981
31485
|
user_groups?: Array<{
|
|
30982
31486
|
user_group_id: string;
|
|
@@ -30987,113 +31491,6 @@ interface IHandles extends IOtherEventHandles {
|
|
|
30987
31491
|
}>;
|
|
30988
31492
|
};
|
|
30989
31493
|
}) => Promise<any> | any;
|
|
30990
|
-
"contact.department.created_v3"?: (data: {
|
|
30991
|
-
event_id?: string;
|
|
30992
|
-
token?: string;
|
|
30993
|
-
create_time?: string;
|
|
30994
|
-
event_type?: string;
|
|
30995
|
-
tenant_key?: string;
|
|
30996
|
-
ts?: string;
|
|
30997
|
-
uuid?: string;
|
|
30998
|
-
type?: string;
|
|
30999
|
-
app_id?: string;
|
|
31000
|
-
object?: {
|
|
31001
|
-
name: string;
|
|
31002
|
-
parent_department_id: string;
|
|
31003
|
-
department_id?: string;
|
|
31004
|
-
open_department_id?: string;
|
|
31005
|
-
leader_user_id?: string;
|
|
31006
|
-
chat_id?: string;
|
|
31007
|
-
order?: number;
|
|
31008
|
-
unit_ids?: Array<string>;
|
|
31009
|
-
status?: {
|
|
31010
|
-
is_deleted?: boolean;
|
|
31011
|
-
};
|
|
31012
|
-
leaders?: Array<{
|
|
31013
|
-
leaderType: number;
|
|
31014
|
-
leaderID: string;
|
|
31015
|
-
}>;
|
|
31016
|
-
};
|
|
31017
|
-
}) => Promise<any> | any;
|
|
31018
|
-
"contact.department.updated_v3"?: (data: {
|
|
31019
|
-
event_id?: string;
|
|
31020
|
-
token?: string;
|
|
31021
|
-
create_time?: string;
|
|
31022
|
-
event_type?: string;
|
|
31023
|
-
tenant_key?: string;
|
|
31024
|
-
ts?: string;
|
|
31025
|
-
uuid?: string;
|
|
31026
|
-
type?: string;
|
|
31027
|
-
app_id?: string;
|
|
31028
|
-
object?: {
|
|
31029
|
-
name: string;
|
|
31030
|
-
parent_department_id: string;
|
|
31031
|
-
department_id?: string;
|
|
31032
|
-
open_department_id?: string;
|
|
31033
|
-
leader_user_id?: string;
|
|
31034
|
-
chat_id?: string;
|
|
31035
|
-
order?: number;
|
|
31036
|
-
unit_ids?: Array<string>;
|
|
31037
|
-
status?: {
|
|
31038
|
-
is_deleted?: boolean;
|
|
31039
|
-
};
|
|
31040
|
-
leaders?: Array<{
|
|
31041
|
-
leaderType: number;
|
|
31042
|
-
leaderID: string;
|
|
31043
|
-
}>;
|
|
31044
|
-
};
|
|
31045
|
-
old_object?: {
|
|
31046
|
-
name: string;
|
|
31047
|
-
parent_department_id: string;
|
|
31048
|
-
department_id?: string;
|
|
31049
|
-
open_department_id?: string;
|
|
31050
|
-
leader_user_id?: string;
|
|
31051
|
-
chat_id?: string;
|
|
31052
|
-
order?: number;
|
|
31053
|
-
unit_ids?: Array<string>;
|
|
31054
|
-
status?: {
|
|
31055
|
-
is_deleted?: boolean;
|
|
31056
|
-
};
|
|
31057
|
-
leaders?: Array<{
|
|
31058
|
-
leaderType: number;
|
|
31059
|
-
leaderID: string;
|
|
31060
|
-
}>;
|
|
31061
|
-
};
|
|
31062
|
-
}) => Promise<any> | any;
|
|
31063
|
-
"contact.department.deleted_v3"?: (data: {
|
|
31064
|
-
event_id?: string;
|
|
31065
|
-
token?: string;
|
|
31066
|
-
create_time?: string;
|
|
31067
|
-
event_type?: string;
|
|
31068
|
-
tenant_key?: string;
|
|
31069
|
-
ts?: string;
|
|
31070
|
-
uuid?: string;
|
|
31071
|
-
type?: string;
|
|
31072
|
-
app_id?: string;
|
|
31073
|
-
object?: {
|
|
31074
|
-
name: string;
|
|
31075
|
-
parent_department_id: string;
|
|
31076
|
-
department_id?: string;
|
|
31077
|
-
open_department_id?: string;
|
|
31078
|
-
leader_user_id?: string;
|
|
31079
|
-
chat_id?: string;
|
|
31080
|
-
order?: number;
|
|
31081
|
-
unit_ids?: Array<string>;
|
|
31082
|
-
status?: {
|
|
31083
|
-
is_deleted?: boolean;
|
|
31084
|
-
};
|
|
31085
|
-
leaders?: Array<{
|
|
31086
|
-
leaderType: number;
|
|
31087
|
-
leaderID: string;
|
|
31088
|
-
}>;
|
|
31089
|
-
};
|
|
31090
|
-
old_object?: {
|
|
31091
|
-
status?: {
|
|
31092
|
-
is_deleted?: boolean;
|
|
31093
|
-
};
|
|
31094
|
-
open_department_id?: string;
|
|
31095
|
-
};
|
|
31096
|
-
}) => Promise<any> | any;
|
|
31097
31494
|
"drive.file.deleted_v1"?: (data: {
|
|
31098
31495
|
event_id?: string;
|
|
31099
31496
|
token?: string;
|
|
@@ -31643,6 +32040,46 @@ interface IHandles extends IOtherEventHandles {
|
|
|
31643
32040
|
external?: boolean;
|
|
31644
32041
|
operator_tenant_key?: string;
|
|
31645
32042
|
}) => Promise<any> | any;
|
|
32043
|
+
"im.message.receive_v1"?: (data: {
|
|
32044
|
+
event_id?: string;
|
|
32045
|
+
token?: string;
|
|
32046
|
+
create_time?: string;
|
|
32047
|
+
event_type?: string;
|
|
32048
|
+
tenant_key?: string;
|
|
32049
|
+
ts?: string;
|
|
32050
|
+
uuid?: string;
|
|
32051
|
+
type?: string;
|
|
32052
|
+
app_id?: string;
|
|
32053
|
+
sender: {
|
|
32054
|
+
sender_id?: {
|
|
32055
|
+
union_id?: string;
|
|
32056
|
+
user_id?: string;
|
|
32057
|
+
open_id?: string;
|
|
32058
|
+
};
|
|
32059
|
+
sender_type: string;
|
|
32060
|
+
tenant_key?: string;
|
|
32061
|
+
};
|
|
32062
|
+
message: {
|
|
32063
|
+
message_id: string;
|
|
32064
|
+
root_id?: string;
|
|
32065
|
+
parent_id?: string;
|
|
32066
|
+
create_time: string;
|
|
32067
|
+
chat_id: string;
|
|
32068
|
+
chat_type: string;
|
|
32069
|
+
message_type: string;
|
|
32070
|
+
content: string;
|
|
32071
|
+
mentions?: Array<{
|
|
32072
|
+
key: string;
|
|
32073
|
+
id: {
|
|
32074
|
+
union_id?: string;
|
|
32075
|
+
user_id?: string;
|
|
32076
|
+
open_id?: string;
|
|
32077
|
+
};
|
|
32078
|
+
name: string;
|
|
32079
|
+
tenant_key?: string;
|
|
32080
|
+
}>;
|
|
32081
|
+
};
|
|
32082
|
+
}) => Promise<any> | any;
|
|
31646
32083
|
"im.chat.updated_v1"?: (data: {
|
|
31647
32084
|
event_id?: string;
|
|
31648
32085
|
token?: string;
|
|
@@ -31728,46 +32165,6 @@ interface IHandles extends IOtherEventHandles {
|
|
|
31728
32165
|
}>;
|
|
31729
32166
|
};
|
|
31730
32167
|
}) => Promise<any> | any;
|
|
31731
|
-
"im.message.receive_v1"?: (data: {
|
|
31732
|
-
event_id?: string;
|
|
31733
|
-
token?: string;
|
|
31734
|
-
create_time?: string;
|
|
31735
|
-
event_type?: string;
|
|
31736
|
-
tenant_key?: string;
|
|
31737
|
-
ts?: string;
|
|
31738
|
-
uuid?: string;
|
|
31739
|
-
type?: string;
|
|
31740
|
-
app_id?: string;
|
|
31741
|
-
sender: {
|
|
31742
|
-
sender_id?: {
|
|
31743
|
-
union_id?: string;
|
|
31744
|
-
user_id?: string;
|
|
31745
|
-
open_id?: string;
|
|
31746
|
-
};
|
|
31747
|
-
sender_type: string;
|
|
31748
|
-
tenant_key?: string;
|
|
31749
|
-
};
|
|
31750
|
-
message: {
|
|
31751
|
-
message_id: string;
|
|
31752
|
-
root_id?: string;
|
|
31753
|
-
parent_id?: string;
|
|
31754
|
-
create_time: string;
|
|
31755
|
-
chat_id: string;
|
|
31756
|
-
chat_type: string;
|
|
31757
|
-
message_type: string;
|
|
31758
|
-
content: string;
|
|
31759
|
-
mentions?: Array<{
|
|
31760
|
-
key: string;
|
|
31761
|
-
id: {
|
|
31762
|
-
union_id?: string;
|
|
31763
|
-
user_id?: string;
|
|
31764
|
-
open_id?: string;
|
|
31765
|
-
};
|
|
31766
|
-
name: string;
|
|
31767
|
-
tenant_key?: string;
|
|
31768
|
-
}>;
|
|
31769
|
-
};
|
|
31770
|
-
}) => Promise<any> | any;
|
|
31771
32168
|
"meeting_room.meeting_room.created_v1"?: (data: {
|
|
31772
32169
|
event_id?: string;
|
|
31773
32170
|
token?: string;
|