@satorijs/adapter-lark 3.10.6 → 3.11.1
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/lib/content.d.ts +211 -93
- package/lib/index.cjs +2954 -2474
- package/lib/internal.d.ts +4 -4
- package/lib/message.d.ts +2 -3
- package/lib/types/acs.d.ts +212 -172
- package/lib/types/admin.d.ts +331 -291
- package/lib/types/aily.d.ts +331 -216
- package/lib/types/apaas.d.ts +646 -494
- package/lib/types/application.d.ts +559 -458
- package/lib/types/approval.d.ts +826 -791
- package/lib/types/attendance.d.ts +1094 -994
- package/lib/types/auth.d.ts +66 -61
- package/lib/types/authen.d.ts +221 -186
- package/lib/types/baike.d.ts +258 -233
- package/lib/types/base.d.ts +74 -0
- package/lib/types/bitable.d.ts +830 -770
- package/lib/types/board.d.ts +29 -14
- package/lib/types/calendar.d.ts +660 -605
- package/lib/types/cardkit.d.ts +149 -134
- package/lib/types/compensation.d.ts +84 -49
- package/lib/types/contact.d.ts +1279 -1204
- package/lib/types/corehr.d.ts +4982 -4526
- package/lib/types/directory.d.ts +447 -0
- package/lib/types/docs.d.ts +28 -18
- package/lib/types/document_ai.d.ts +347 -252
- package/lib/types/docx.d.ts +428 -383
- package/lib/types/drive.d.ts +1093 -1048
- package/lib/types/ehr.d.ts +66 -51
- package/lib/types/event.d.ts +16 -6
- package/lib/types/helpdesk.d.ts +816 -741
- package/lib/types/hire.d.ts +3955 -3589
- package/lib/types/human_authentication.d.ts +32 -22
- package/lib/types/im.d.ts +1420 -1295
- package/lib/types/index.d.ts +1422 -330
- package/lib/types/lingo.d.ts +279 -249
- package/lib/types/mail.d.ts +1032 -675
- package/lib/types/mdm.d.ts +105 -37
- package/lib/types/minutes.d.ts +73 -26
- package/lib/types/moments.d.ts +23 -13
- package/lib/types/okr.d.ts +266 -225
- package/lib/types/optical_char_recognition.d.ts +22 -12
- package/lib/types/passport.d.ts +58 -48
- package/lib/types/payroll.d.ts +210 -53
- package/lib/types/performance.d.ts +463 -414
- package/lib/types/personal_settings.d.ts +93 -82
- package/lib/types/report.d.ts +79 -58
- package/lib/types/search.d.ts +265 -235
- package/lib/types/security_and_compliance.d.ts +30 -19
- package/lib/types/sheets.d.ts +356 -321
- package/lib/types/speech_to_text.d.ts +44 -34
- package/lib/types/task.d.ts +998 -1087
- package/lib/types/tenant.d.ts +25 -15
- package/lib/types/translation.d.ts +42 -32
- package/lib/types/trust_party.d.ts +81 -0
- package/lib/types/vc.d.ts +1218 -1123
- package/lib/types/verification.d.ts +11 -6
- package/lib/types/wiki.d.ts +270 -235
- package/lib/types/workplace.d.ts +58 -38
- package/lib/utils.d.ts +2 -2
- package/package.json +4 -4
- package/src/bot.ts +15 -15
- package/src/content.ts +230 -107
- package/src/internal.ts +29 -12
- package/src/message.ts +82 -111
- package/src/types/acs.ts +234 -186
- package/src/types/admin.ts +353 -305
- package/src/types/aily.ts +375 -233
- package/src/types/apaas.ts +754 -568
- package/src/types/application.ts +633 -507
- package/src/types/approval.ts +914 -872
- package/src/types/attendance.ts +1226 -1104
- package/src/types/auth.ts +72 -66
- package/src/types/authen.ts +233 -191
- package/src/types/baike.ts +276 -246
- package/src/types/base.ts +93 -0
- package/src/types/bitable.ts +966 -894
- package/src/types/board.ts +34 -16
- package/src/types/calendar.ts +751 -685
- package/src/types/cardkit.ts +164 -146
- package/src/types/compensation.ts +97 -55
- package/src/types/contact.ts +1465 -1375
- package/src/types/corehr.ts +5664 -5077
- package/src/types/directory.ts +569 -0
- package/src/types/docs.ts +31 -19
- package/src/types/document_ai.ts +401 -287
- package/src/types/docx.ts +492 -438
- package/src/types/drive.ts +1266 -1213
- package/src/types/ehr.ts +71 -53
- package/src/types/event.ts +19 -7
- package/src/types/helpdesk.ts +930 -840
- package/src/types/hire.ts +4453 -4019
- package/src/types/human_authentication.ts +35 -23
- package/src/types/im.ts +1626 -1476
- package/src/types/index.ts +1532 -346
- package/src/types/lingo.ts +299 -263
- package/src/types/mail.ts +1231 -779
- package/src/types/mdm.ts +122 -39
- package/src/types/minutes.ts +88 -28
- package/src/types/moments.ts +26 -14
- package/src/types/okr.ts +286 -238
- package/src/types/optical_char_recognition.ts +25 -13
- package/src/types/passport.ts +62 -50
- package/src/types/payroll.ts +254 -57
- package/src/types/performance.ts +528 -467
- package/src/types/personal_settings.ts +101 -89
- package/src/types/report.ts +86 -62
- package/src/types/search.ts +285 -249
- package/src/types/security_and_compliance.ts +33 -21
- package/src/types/sheets.ts +421 -379
- package/src/types/speech_to_text.ts +48 -36
- package/src/types/task.ts +1152 -1260
- package/src/types/tenant.ts +29 -17
- package/src/types/translation.ts +46 -34
- package/src/types/trust_party.ts +110 -0
- package/src/types/vc.ts +1397 -1283
- package/src/types/verification.ts +13 -7
- package/src/types/wiki.ts +293 -251
- package/src/types/workplace.ts +65 -41
- package/src/utils.ts +3 -3
package/lib/types/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './attendance';
|
|
|
8
8
|
export * from './auth';
|
|
9
9
|
export * from './authen';
|
|
10
10
|
export * from './baike';
|
|
11
|
+
export * from './base';
|
|
11
12
|
export * from './bitable';
|
|
12
13
|
export * from './board';
|
|
13
14
|
export * from './calendar';
|
|
@@ -15,6 +16,7 @@ export * from './cardkit';
|
|
|
15
16
|
export * from './compensation';
|
|
16
17
|
export * from './contact';
|
|
17
18
|
export * from './corehr';
|
|
19
|
+
export * from './directory';
|
|
18
20
|
export * from './docs';
|
|
19
21
|
export * from './document_ai';
|
|
20
22
|
export * from './docx';
|
|
@@ -44,6 +46,7 @@ export * from './speech_to_text';
|
|
|
44
46
|
export * from './task';
|
|
45
47
|
export * from './tenant';
|
|
46
48
|
export * from './translation';
|
|
49
|
+
export * from './trust_party';
|
|
47
50
|
export * from './vc';
|
|
48
51
|
export * from './verification';
|
|
49
52
|
export * from './wiki';
|
|
@@ -60,6 +63,20 @@ export interface Ability {
|
|
|
60
63
|
/** 能力项描述 */
|
|
61
64
|
description?: I18n;
|
|
62
65
|
}
|
|
66
|
+
export declare const enum AbnormalCode {
|
|
67
|
+
/** 成功 */
|
|
68
|
+
SUCCESS = 0,
|
|
69
|
+
/** 没权限 */
|
|
70
|
+
FORBIDDEN = 1000
|
|
71
|
+
}
|
|
72
|
+
export interface AbnormalRecord {
|
|
73
|
+
/** 异常ID */
|
|
74
|
+
id?: string;
|
|
75
|
+
/** 行级异常 */
|
|
76
|
+
row_error?: AbnormalCode;
|
|
77
|
+
/** 列级异常 */
|
|
78
|
+
field_errors?: Record<string, AbnormalCode>;
|
|
79
|
+
}
|
|
63
80
|
export interface Acceptance {
|
|
64
81
|
/** 操作类型 */
|
|
65
82
|
operator_type?: 1 | 2;
|
|
@@ -102,6 +119,12 @@ export interface Account {
|
|
|
102
119
|
/** 账号状态 */
|
|
103
120
|
status?: 1 | 2;
|
|
104
121
|
}
|
|
122
|
+
export interface AccountingItemValue {
|
|
123
|
+
/** 算薪项数据原始值,当发薪明细的数据来源为「人工导入」时,如果当前算薪项类型为引用类型,那么算薪项原始值可能为空。 */
|
|
124
|
+
original_value?: string;
|
|
125
|
+
/** 引用类型算薪项展示值 */
|
|
126
|
+
reference_values?: I18nContent[];
|
|
127
|
+
}
|
|
105
128
|
export interface AcctItem {
|
|
106
129
|
/** 算薪项ID */
|
|
107
130
|
id?: string;
|
|
@@ -863,6 +886,12 @@ export interface AppAbility {
|
|
|
863
886
|
/** 加号菜单 */
|
|
864
887
|
plus_menu?: PlusMenu;
|
|
865
888
|
}
|
|
889
|
+
export interface AppCollaborator {
|
|
890
|
+
/** 人员类型 */
|
|
891
|
+
type: 'administrator' | 'developer' | 'operator';
|
|
892
|
+
/** 用户ID */
|
|
893
|
+
user_id: string;
|
|
894
|
+
}
|
|
866
895
|
export interface AppContactsRangeIdList {
|
|
867
896
|
/** 成员id列表 */
|
|
868
897
|
user_ids?: string[];
|
|
@@ -2020,6 +2049,12 @@ export interface Attachment {
|
|
|
2020
2049
|
/** 附件token */
|
|
2021
2050
|
file_token?: string;
|
|
2022
2051
|
}
|
|
2052
|
+
export interface AttachmentDownloadUrlItem {
|
|
2053
|
+
/** 附件 id */
|
|
2054
|
+
attachment_id?: string;
|
|
2055
|
+
/** 下载链接 */
|
|
2056
|
+
download_url?: string;
|
|
2057
|
+
}
|
|
2023
2058
|
export interface AttachmentInfo {
|
|
2024
2059
|
/** 附件id */
|
|
2025
2060
|
id?: string;
|
|
@@ -2982,6 +3017,12 @@ export interface BlockIdRelation {
|
|
|
2982
3017
|
/** 真实使用的 BlockID */
|
|
2983
3018
|
block_id?: string;
|
|
2984
3019
|
}
|
|
3020
|
+
export interface BlockRole {
|
|
3021
|
+
/** Block ID */
|
|
3022
|
+
block_id: string;
|
|
3023
|
+
/** Block权限 */
|
|
3024
|
+
block_perm: 0 | 1;
|
|
3025
|
+
}
|
|
2985
3026
|
export interface Board {
|
|
2986
3027
|
/** 画板 token */
|
|
2987
3028
|
token?: string;
|
|
@@ -3032,12 +3073,6 @@ export interface Bp {
|
|
|
3032
3073
|
/** 部门 HRBP 的雇佣 ID,不包括上级部门的 HRBP */
|
|
3033
3074
|
hrbp_id?: string;
|
|
3034
3075
|
}
|
|
3035
|
-
export interface BpmDataengineI18n {
|
|
3036
|
-
/** (注json key是zh-CN,不是zh_cn)i18n类型字段,中文值 */
|
|
3037
|
-
zh_cn?: string;
|
|
3038
|
-
/** (注json key是en-US,不是en_us)i18n类型字段,英文值 */
|
|
3039
|
-
en_us?: string;
|
|
3040
|
-
}
|
|
3041
3076
|
export interface BpRoleOrganization {
|
|
3042
3077
|
/** 角色类型的唯一标识 */
|
|
3043
3078
|
role_key: string;
|
|
@@ -3062,6 +3097,12 @@ export interface BusinessManagementScope {
|
|
|
3062
3097
|
/** 权限分组 */
|
|
3063
3098
|
permission_groups?: PermissionGroupInfo[];
|
|
3064
3099
|
}
|
|
3100
|
+
export interface CalculationActivity {
|
|
3101
|
+
/** 算薪活动唯一标识 */
|
|
3102
|
+
calculation_activity_id?: string;
|
|
3103
|
+
/** 算薪活动名称 */
|
|
3104
|
+
calculation_activity_names?: I18nContent[];
|
|
3105
|
+
}
|
|
3065
3106
|
export interface Calendar {
|
|
3066
3107
|
/** 日历OpenId */
|
|
3067
3108
|
calendar_id: string;
|
|
@@ -3460,6 +3501,150 @@ export interface CodeNameObject {
|
|
|
3460
3501
|
/** 名称 */
|
|
3461
3502
|
name?: I18n;
|
|
3462
3503
|
}
|
|
3504
|
+
export interface CollaborationDepartment {
|
|
3505
|
+
/** 关联组织的部门open id */
|
|
3506
|
+
open_department_id?: string;
|
|
3507
|
+
/** 关联组织的部门id */
|
|
3508
|
+
department_id?: string;
|
|
3509
|
+
/** 关联组织的部门名称 */
|
|
3510
|
+
name?: string;
|
|
3511
|
+
/** 关联组织的的国际化部门名称 */
|
|
3512
|
+
i18n_name?: I18nName;
|
|
3513
|
+
/** 关联组织的部门排序 */
|
|
3514
|
+
order?: string;
|
|
3515
|
+
/** 部门负责人 */
|
|
3516
|
+
leaders?: CollaborationDepartmentLeader[];
|
|
3517
|
+
/** 父部门ID */
|
|
3518
|
+
parent_department_id?: CollaborationDepartmentId;
|
|
3519
|
+
}
|
|
3520
|
+
export interface CollaborationDepartmentId {
|
|
3521
|
+
/** 部门ID */
|
|
3522
|
+
department_id?: string;
|
|
3523
|
+
/** 部门open ID */
|
|
3524
|
+
open_department_id?: string;
|
|
3525
|
+
}
|
|
3526
|
+
export interface CollaborationDepartmentLeader {
|
|
3527
|
+
/** 负责人类型 */
|
|
3528
|
+
leader_type: 1 | 2;
|
|
3529
|
+
/** 负责人ID */
|
|
3530
|
+
id: CollaborationUserId;
|
|
3531
|
+
}
|
|
3532
|
+
export interface CollaborationEntity {
|
|
3533
|
+
/** 关联组织实体类型 */
|
|
3534
|
+
collaboration_entity_type: 'user' | 'department' | 'group';
|
|
3535
|
+
/** 部门ID */
|
|
3536
|
+
department_id?: string;
|
|
3537
|
+
/** 部门的open ID */
|
|
3538
|
+
open_department_id?: string;
|
|
3539
|
+
/** 用户ID */
|
|
3540
|
+
user_id?: string;
|
|
3541
|
+
/** 用户的open ID */
|
|
3542
|
+
open_user_id?: string;
|
|
3543
|
+
/** 用户的union_id */
|
|
3544
|
+
union_user_id?: string;
|
|
3545
|
+
/** 部门名称 */
|
|
3546
|
+
department_name?: string;
|
|
3547
|
+
/** 部门的国际化名称 */
|
|
3548
|
+
i18n_department_name?: I18nName;
|
|
3549
|
+
/** 部门顺序 */
|
|
3550
|
+
department_order?: string;
|
|
3551
|
+
/** 对方成员名称 */
|
|
3552
|
+
user_name?: string;
|
|
3553
|
+
/** 对方成员i18n名称 */
|
|
3554
|
+
i18n_user_name?: I18nName;
|
|
3555
|
+
/** 对方租户的成员头像 */
|
|
3556
|
+
user_avatar?: AvatarInfo;
|
|
3557
|
+
/** 用户组ID */
|
|
3558
|
+
group_id?: string;
|
|
3559
|
+
/** 用户组的open ID */
|
|
3560
|
+
open_group_id?: string;
|
|
3561
|
+
/** 对方用户组名称 */
|
|
3562
|
+
group_name?: string;
|
|
3563
|
+
/** 对方用户组i18n名称 */
|
|
3564
|
+
i18n_group_name?: I18nName;
|
|
3565
|
+
}
|
|
3566
|
+
export interface CollaborationRule {
|
|
3567
|
+
/** 规则ID */
|
|
3568
|
+
rule_id?: string;
|
|
3569
|
+
/** 实体数量之和需要小于100 */
|
|
3570
|
+
subjects?: CollaborationRuleEntities;
|
|
3571
|
+
/** 是否生效,如果规则主体超出了分享的范围,则is_valid为false,规则主体将不返回 */
|
|
3572
|
+
subject_is_valid?: boolean;
|
|
3573
|
+
/** 实体数量之和需要小于100 */
|
|
3574
|
+
objects?: CollaborationRuleEntities;
|
|
3575
|
+
/** 是否生效,如果规则客体超出了分享的范围,则is_valid为false,规则客体将不返回 */
|
|
3576
|
+
object_is_valid?: boolean;
|
|
3577
|
+
}
|
|
3578
|
+
export interface CollaborationRuleEntities {
|
|
3579
|
+
/** user open id */
|
|
3580
|
+
open_user_ids?: string[];
|
|
3581
|
+
/** department open id,0代表全部成员 */
|
|
3582
|
+
open_department_ids?: string[];
|
|
3583
|
+
/** group open id */
|
|
3584
|
+
open_group_ids?: string[];
|
|
3585
|
+
}
|
|
3586
|
+
export interface CollaborationTenant {
|
|
3587
|
+
/** 关联租户ID */
|
|
3588
|
+
tenant_key?: string;
|
|
3589
|
+
/** 目标租户的租户名称 */
|
|
3590
|
+
tenant_name?: string;
|
|
3591
|
+
/** 目标租户的租户i18n名称 */
|
|
3592
|
+
i18n_tenant_name?: I18nName;
|
|
3593
|
+
/** 目标租户的租户简称 */
|
|
3594
|
+
tenant_short_name?: string;
|
|
3595
|
+
/** 目标租户的租户i18n简称 */
|
|
3596
|
+
i18n_tenant_short_name?: I18nName;
|
|
3597
|
+
/** 关联时间 */
|
|
3598
|
+
connect_time?: number;
|
|
3599
|
+
/** 标签 */
|
|
3600
|
+
tenant_tag?: string;
|
|
3601
|
+
/** i18n标签 */
|
|
3602
|
+
i18n_tenant_tag?: I18nName;
|
|
3603
|
+
/** 租户icon信息 */
|
|
3604
|
+
avatar?: AvatarInfo;
|
|
3605
|
+
/** 租户品牌 */
|
|
3606
|
+
brand?: string;
|
|
3607
|
+
}
|
|
3608
|
+
export interface CollaborationUser {
|
|
3609
|
+
/** 对方关联组织用户的open_id */
|
|
3610
|
+
open_id?: string;
|
|
3611
|
+
/** 对方关联组织用户的id */
|
|
3612
|
+
user_id?: string;
|
|
3613
|
+
/** 对方关联组织用户的union id */
|
|
3614
|
+
union_id?: string;
|
|
3615
|
+
/** 用户的名称 */
|
|
3616
|
+
name: string;
|
|
3617
|
+
/** 关联组织的的国际化用户名称 */
|
|
3618
|
+
i18n_name?: I18nName;
|
|
3619
|
+
/** 用户头像信息 */
|
|
3620
|
+
avatar?: AvatarInfo;
|
|
3621
|
+
/** 手机号 */
|
|
3622
|
+
mobile?: string;
|
|
3623
|
+
/** 用户状态 */
|
|
3624
|
+
status?: UserStatus;
|
|
3625
|
+
/** 用户所属部门的ID列表,deprecate */
|
|
3626
|
+
department_ids?: string[];
|
|
3627
|
+
/** 用户的直接主管的用户ID,deprecate */
|
|
3628
|
+
leader_user_id?: string;
|
|
3629
|
+
/** 职务 */
|
|
3630
|
+
job_title?: string;
|
|
3631
|
+
/** 自定义属性 */
|
|
3632
|
+
custom_attrs?: UserCustomAttr[];
|
|
3633
|
+
/** 工号 */
|
|
3634
|
+
employee_no?: string;
|
|
3635
|
+
/** 父部门ID */
|
|
3636
|
+
parent_department_ids?: CollaborationDepartmentId[];
|
|
3637
|
+
/** 用户的leader */
|
|
3638
|
+
leader_id?: CollaborationUserId;
|
|
3639
|
+
}
|
|
3640
|
+
export interface CollaborationUserId {
|
|
3641
|
+
/** 用户ID */
|
|
3642
|
+
user_id?: string;
|
|
3643
|
+
/** 用户open ID */
|
|
3644
|
+
open_id?: string;
|
|
3645
|
+
/** 用户union ID */
|
|
3646
|
+
union_id?: string;
|
|
3647
|
+
}
|
|
3463
3648
|
export interface Collaborator {
|
|
3464
3649
|
/** 任务协作者的 ID */
|
|
3465
3650
|
id?: string;
|
|
@@ -3656,6 +3841,7 @@ export interface Company {
|
|
|
3656
3841
|
/** 办公地址详细信息 */
|
|
3657
3842
|
office_address_info?: Address;
|
|
3658
3843
|
}
|
|
3844
|
+
export type CompareOperator = string;
|
|
3659
3845
|
export interface CompensationCost {
|
|
3660
3846
|
/** 成本项值 */
|
|
3661
3847
|
compensation_cost_value?: string;
|
|
@@ -3997,6 +4183,26 @@ export interface ContractPeriodInfo {
|
|
|
3997
4183
|
/** 合同时长 */
|
|
3998
4184
|
period: number;
|
|
3999
4185
|
}
|
|
4186
|
+
export interface CooperationProject {
|
|
4187
|
+
/** 合作项目 ID */
|
|
4188
|
+
id?: string;
|
|
4189
|
+
/** 合作项目的名称 */
|
|
4190
|
+
name?: I18n;
|
|
4191
|
+
/** 项目角色 */
|
|
4192
|
+
roles?: CooperationRole[];
|
|
4193
|
+
}
|
|
4194
|
+
export interface CooperationRole {
|
|
4195
|
+
/** 评估人的项目角色。在未配置项目角色情况下,该字段为空值。 */
|
|
4196
|
+
reviewer_role?: CooperationUserRole;
|
|
4197
|
+
/** 被评估人的项目角色。在未配置项目角色情况下,该字段为空值。 */
|
|
4198
|
+
reviewee_role?: CooperationUserRole;
|
|
4199
|
+
}
|
|
4200
|
+
export interface CooperationUserRole {
|
|
4201
|
+
/** 角色 ID */
|
|
4202
|
+
role_id?: string;
|
|
4203
|
+
/** 名称 */
|
|
4204
|
+
name?: I18n;
|
|
4205
|
+
}
|
|
4000
4206
|
export interface CostAllocationPlan {
|
|
4001
4207
|
/** 唯一标识 */
|
|
4002
4208
|
id?: string;
|
|
@@ -4135,12 +4341,74 @@ export interface CpstStandardType {
|
|
|
4135
4341
|
/** 薪资标准类型 */
|
|
4136
4342
|
api_name?: 'standard_value' | 'bandwidth_and_standard_value' | 'bandwidth_upper_and_lower_limit';
|
|
4137
4343
|
}
|
|
4344
|
+
export interface CreateDepartment {
|
|
4345
|
+
/** 标识租户内一个唯一的部门,支持自定义,未自定义时系统自动生成。ID支持修改。详细说明参见 部门ID说明,获取department_id的方式:企业管理员在 管理后台 > 组织架构 > 成员与部门 页面,点击 部门详情,查询部门ID */
|
|
4346
|
+
custom_department_id?: string;
|
|
4347
|
+
/** i18n文本 */
|
|
4348
|
+
name?: I18nText;
|
|
4349
|
+
/** 父部门ID */
|
|
4350
|
+
parent_department_id?: string;
|
|
4351
|
+
/** 部门负责人 */
|
|
4352
|
+
leaders?: DepartmentLeader[];
|
|
4353
|
+
/** 在上级部门下的排序权重 */
|
|
4354
|
+
order_weight?: string;
|
|
4355
|
+
/** 是否启用 */
|
|
4356
|
+
enabled_status?: boolean;
|
|
4357
|
+
/** 自定义字段 */
|
|
4358
|
+
custom_field_values?: CustomFieldValue[];
|
|
4359
|
+
}
|
|
4138
4360
|
export interface CreateEmpCustomOrg {
|
|
4139
4361
|
/** 自定义组织ID */
|
|
4140
4362
|
id: string;
|
|
4141
4363
|
/** 比例 如果是非比例的可不填写 */
|
|
4142
4364
|
rate?: number;
|
|
4143
4365
|
}
|
|
4366
|
+
export interface CreateEmployee {
|
|
4367
|
+
/** 姓名 */
|
|
4368
|
+
name?: UpsertName;
|
|
4369
|
+
/** 员工的联系手机号 */
|
|
4370
|
+
mobile?: string;
|
|
4371
|
+
/** 用户的user_id */
|
|
4372
|
+
custom_employee_id?: string;
|
|
4373
|
+
/** 头像的文件key */
|
|
4374
|
+
avatar_key?: string;
|
|
4375
|
+
/** 员工的联系邮箱 */
|
|
4376
|
+
email?: string;
|
|
4377
|
+
/** 员工的企业邮箱 */
|
|
4378
|
+
enterprise_email?: string;
|
|
4379
|
+
/** 性别 */
|
|
4380
|
+
gender?: GenderDirectory;
|
|
4381
|
+
/** 部门排序 */
|
|
4382
|
+
employee_order_in_departments?: UpsertUserDepartmentSortInfo[];
|
|
4383
|
+
/** 员工直属上级的user_id */
|
|
4384
|
+
leader_id?: string;
|
|
4385
|
+
/** 员工虚线上级的user_id */
|
|
4386
|
+
dotted_line_leader_ids?: string[];
|
|
4387
|
+
/** 工作地国家/地区 */
|
|
4388
|
+
work_country_or_region?: string;
|
|
4389
|
+
/** 工作地点 */
|
|
4390
|
+
work_place_id?: string;
|
|
4391
|
+
/** i18n文本 */
|
|
4392
|
+
work_station?: I18nText;
|
|
4393
|
+
/** 工号 */
|
|
4394
|
+
job_number?: string;
|
|
4395
|
+
/** 分机号 */
|
|
4396
|
+
extension_number?: string;
|
|
4397
|
+
/** 入职日期 */
|
|
4398
|
+
join_date?: string;
|
|
4399
|
+
/** 员工类型 */
|
|
4400
|
+
employment_type?: EmployeeTypeDirectory;
|
|
4401
|
+
/** 职务ID */
|
|
4402
|
+
job_title_id?: string;
|
|
4403
|
+
/** 自定义字段 */
|
|
4404
|
+
custom_field_values?: CustomFieldValue[];
|
|
4405
|
+
}
|
|
4406
|
+
export interface CreateEmployeeOptions {
|
|
4407
|
+
/** 用户指定geo/unit */
|
|
4408
|
+
geo_name?: string;
|
|
4409
|
+
/** 席位信息 */
|
|
4410
|
+
subscription_ids?: string[];
|
|
4411
|
+
}
|
|
4144
4412
|
export interface CreateTag {
|
|
4145
4413
|
/** 标签类型 */
|
|
4146
4414
|
tag_type: 'tenant';
|
|
@@ -4326,6 +4594,44 @@ export interface CustomFields {
|
|
|
4326
4594
|
/** 根据type不同,结构不同,不同type对应的数据结构在type的枚举值中有描述 */
|
|
4327
4595
|
value?: string;
|
|
4328
4596
|
}
|
|
4597
|
+
export interface CustomFieldValue {
|
|
4598
|
+
/** 自定义字段key */
|
|
4599
|
+
field_key?: string;
|
|
4600
|
+
/** 自定义字段类型 */
|
|
4601
|
+
field_type?: CustomFieldValueType;
|
|
4602
|
+
/** i18n文本 */
|
|
4603
|
+
text_value?: I18nText;
|
|
4604
|
+
/** 网页链接字段值 */
|
|
4605
|
+
url_value?: UrlValue;
|
|
4606
|
+
/** 枚举 */
|
|
4607
|
+
enum_value?: EnumValue;
|
|
4608
|
+
/** 人员字段值 */
|
|
4609
|
+
user_values?: UserValue[];
|
|
4610
|
+
}
|
|
4611
|
+
export declare const enum CustomFieldValueEnumType {
|
|
4612
|
+
/** 文本 */
|
|
4613
|
+
CustomFieldValueEnumTypeText = "1",
|
|
4614
|
+
/** 图片 */
|
|
4615
|
+
CustomFieldValueEnumTypePicture = "2"
|
|
4616
|
+
}
|
|
4617
|
+
export declare const enum CustomFieldValueType {
|
|
4618
|
+
/** 多行文本 */
|
|
4619
|
+
CustomFieldValueTypeText = "1",
|
|
4620
|
+
/** 网页链接 */
|
|
4621
|
+
CustomFieldValueTypeUrl = "2",
|
|
4622
|
+
/** 枚举选项 */
|
|
4623
|
+
CustomFieldValueTypeEnum = "3",
|
|
4624
|
+
/** 人员 */
|
|
4625
|
+
CustomFieldValueTypeGenericUser = "4",
|
|
4626
|
+
/** 多选枚举类型(目前仅支持文本类型) */
|
|
4627
|
+
CustomFieldFieldTypeDirectoryMultiEnum = "10",
|
|
4628
|
+
/** 人员列表 */
|
|
4629
|
+
CustomFieldFieldTypeDirectoryMultiGenericUser = "11"
|
|
4630
|
+
}
|
|
4631
|
+
export declare const enum CustomFieldValueUserType {
|
|
4632
|
+
/** 员工 */
|
|
4633
|
+
CustomFieldValueUserTypeEmployee = "1"
|
|
4634
|
+
}
|
|
4329
4635
|
export interface CustomizationOption {
|
|
4330
4636
|
/** the option unique key */
|
|
4331
4637
|
option_key?: string;
|
|
@@ -4356,6 +4662,32 @@ export interface CustomMetricConfig {
|
|
|
4356
4662
|
/** 添加的指标方式 */
|
|
4357
4663
|
add_metric_options?: (1 | 2)[];
|
|
4358
4664
|
}
|
|
4665
|
+
export interface CustomOrg {
|
|
4666
|
+
/** 组织类型编码 */
|
|
4667
|
+
object_api_name: string;
|
|
4668
|
+
/** 组织名称 */
|
|
4669
|
+
names?: I18n[];
|
|
4670
|
+
/** 编码 */
|
|
4671
|
+
code?: string;
|
|
4672
|
+
/** 上级组织 ID */
|
|
4673
|
+
parent_id?: string;
|
|
4674
|
+
/** 负责人ID 列表 */
|
|
4675
|
+
manager_ids?: string[];
|
|
4676
|
+
/** 描述 */
|
|
4677
|
+
description?: I18n[];
|
|
4678
|
+
/** 生效时间 */
|
|
4679
|
+
effective_time?: string;
|
|
4680
|
+
/** 组织角色 */
|
|
4681
|
+
org_roles?: OrgRole[];
|
|
4682
|
+
/** 匹配规则组,组间并集 */
|
|
4683
|
+
match_rule_groups?: MatchRules[];
|
|
4684
|
+
/** 是否启用 */
|
|
4685
|
+
active?: boolean;
|
|
4686
|
+
/** 组织ID */
|
|
4687
|
+
org_id?: string;
|
|
4688
|
+
/** 自定义字段 */
|
|
4689
|
+
custom_fields?: CustomFieldData[];
|
|
4690
|
+
}
|
|
4359
4691
|
export interface CustomWorkplaceAccessData {
|
|
4360
4692
|
/** 定制工作台ID */
|
|
4361
4693
|
custom_workplace_id?: string;
|
|
@@ -4390,6 +4722,64 @@ export interface DataAsset {
|
|
|
4390
4722
|
/** 更新时间,毫秒时间戳 */
|
|
4391
4723
|
updated_time?: string;
|
|
4392
4724
|
}
|
|
4725
|
+
export interface DataAssetFile {
|
|
4726
|
+
/** 文件token */
|
|
4727
|
+
token: string;
|
|
4728
|
+
/** 文件内容类型 */
|
|
4729
|
+
mime_type: string;
|
|
4730
|
+
}
|
|
4731
|
+
export interface DataAssetImportKnowledgeFile {
|
|
4732
|
+
/** 文件标题 */
|
|
4733
|
+
title?: string;
|
|
4734
|
+
/** 上传文件获取到的token。和content二选一,优先使用token。 */
|
|
4735
|
+
token?: string;
|
|
4736
|
+
/** 文件内容。和token二选一,优先使用token。有长度限制,大文件优先使用token方式。 */
|
|
4737
|
+
content?: string;
|
|
4738
|
+
/** 文件内容对应的 MIME 类型,使用token方式必须填写 */
|
|
4739
|
+
mime_type?: string;
|
|
4740
|
+
/** 文件源的URL */
|
|
4741
|
+
url?: string;
|
|
4742
|
+
}
|
|
4743
|
+
export interface DataAssetImportKnowledgeHelpdesk {
|
|
4744
|
+
/** 飞书服务台ID */
|
|
4745
|
+
helpdesk_id: string;
|
|
4746
|
+
}
|
|
4747
|
+
export interface DataAssetImportKnowledgeLarkDoc {
|
|
4748
|
+
/** 云文档类型 */
|
|
4749
|
+
type: 'doc' | 'file' | 'wiki' | 'docx' | 'folder';
|
|
4750
|
+
/** 云文档标识 */
|
|
4751
|
+
token: string;
|
|
4752
|
+
/** 是否包含子文档,只有wiki类型的云文档支持 */
|
|
4753
|
+
with_sub_docs?: boolean;
|
|
4754
|
+
}
|
|
4755
|
+
export interface DataAssetImportKnowledgeSetting {
|
|
4756
|
+
/** 知识切片配置 */
|
|
4757
|
+
chunk_setting?: DataAssetKnowledgeChunkSetting;
|
|
4758
|
+
/** 知识导入-文件 */
|
|
4759
|
+
file?: DataAssetImportKnowledgeFile;
|
|
4760
|
+
/** 知识导入-飞书云文档 */
|
|
4761
|
+
lark_doc?: DataAssetImportKnowledgeLarkDoc;
|
|
4762
|
+
/** 知识导入-飞书知识空间 */
|
|
4763
|
+
lark_wiki_space?: DataAssetImportKnowledgeWiki;
|
|
4764
|
+
/** 知识导入-飞书服务台 */
|
|
4765
|
+
lark_helpdesk?: DataAssetImportKnowledgeHelpdesk;
|
|
4766
|
+
}
|
|
4767
|
+
export interface DataAssetImportKnowledgeWiki {
|
|
4768
|
+
/** 飞书知识空间ID */
|
|
4769
|
+
space_id: string;
|
|
4770
|
+
/** 指定知识空间子节点时使用 */
|
|
4771
|
+
sub_docs?: DataAssetImportKnowledgeWikiSubDoc[];
|
|
4772
|
+
/** 知识空间URL */
|
|
4773
|
+
url?: string;
|
|
4774
|
+
}
|
|
4775
|
+
export interface DataAssetImportKnowledgeWikiSubDoc {
|
|
4776
|
+
/** 云文档类型,只支持wiki中的云文档 */
|
|
4777
|
+
type: 'wiki';
|
|
4778
|
+
/** 云文档标识 */
|
|
4779
|
+
token: string;
|
|
4780
|
+
/** 云文档链接 */
|
|
4781
|
+
url?: string;
|
|
4782
|
+
}
|
|
4393
4783
|
export interface DataAssetItem {
|
|
4394
4784
|
/** 数据知识项ID */
|
|
4395
4785
|
data_asset_item_id?: string;
|
|
@@ -4402,6 +4792,16 @@ export interface DataAssetItem {
|
|
|
4402
4792
|
/** 数据知识资源 */
|
|
4403
4793
|
resources?: DataAssetResource[];
|
|
4404
4794
|
}
|
|
4795
|
+
export interface DataAssetKnowledgeChunkSetting {
|
|
4796
|
+
/** 切片规则 */
|
|
4797
|
+
rule_type: 'separator' | 'intelligent';
|
|
4798
|
+
/** 切片分割符类型 */
|
|
4799
|
+
separate_type?: 'paragraph' | 'title';
|
|
4800
|
+
/** 分段最大长度(字符),按标识符切片时必须填写 */
|
|
4801
|
+
size?: number;
|
|
4802
|
+
/** 分段重叠字符数,按标识符切片时必须填写,不能超过size的数值 */
|
|
4803
|
+
overlap?: number;
|
|
4804
|
+
}
|
|
4405
4805
|
export interface DataAssetResource {
|
|
4406
4806
|
/** 数据知识资源ID */
|
|
4407
4807
|
resource_id?: string;
|
|
@@ -4428,41 +4828,63 @@ export interface DataPermission {
|
|
|
4428
4828
|
/** 数据权限状态 */
|
|
4429
4829
|
select_status?: 0 | 1 | 2;
|
|
4430
4830
|
}
|
|
4431
|
-
export interface
|
|
4432
|
-
/**
|
|
4433
|
-
|
|
4434
|
-
/**
|
|
4435
|
-
|
|
4436
|
-
/**
|
|
4437
|
-
|
|
4438
|
-
/**
|
|
4439
|
-
|
|
4440
|
-
/**
|
|
4441
|
-
|
|
4442
|
-
/**
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
/**
|
|
4447
|
-
|
|
4448
|
-
/**
|
|
4449
|
-
|
|
4450
|
-
/**
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
/**
|
|
4455
|
-
|
|
4456
|
-
/**
|
|
4457
|
-
|
|
4458
|
-
/**
|
|
4459
|
-
|
|
4460
|
-
/**
|
|
4461
|
-
|
|
4462
|
-
/**
|
|
4463
|
-
|
|
4464
|
-
/**
|
|
4465
|
-
|
|
4831
|
+
export interface Datasource {
|
|
4832
|
+
/** 数据源编码 */
|
|
4833
|
+
code: string;
|
|
4834
|
+
/** 数据源名称 */
|
|
4835
|
+
i18n_names: I18nContent[];
|
|
4836
|
+
/** 启停用状态 */
|
|
4837
|
+
active_status: 1 | 2;
|
|
4838
|
+
/** 数据源字段列表 */
|
|
4839
|
+
fields: DatasourceField[];
|
|
4840
|
+
/** 数据源描述 */
|
|
4841
|
+
i18n_description?: I18nContent[];
|
|
4842
|
+
/** 数据期间类型(数据写入维度) */
|
|
4843
|
+
data_period_type?: 1 | 2 | 3;
|
|
4844
|
+
}
|
|
4845
|
+
export declare const enum DataSource {
|
|
4846
|
+
/** 管理后台 */
|
|
4847
|
+
FEISHU_ADMIN = 1,
|
|
4848
|
+
/** 人事企业版 */
|
|
4849
|
+
CORE_HR = 2,
|
|
4850
|
+
/** SCIM */
|
|
4851
|
+
DIR_SYNC_VISA_SCIM = 3
|
|
4852
|
+
}
|
|
4853
|
+
export interface DatasourceField {
|
|
4854
|
+
/** 数据源字段编码 */
|
|
4855
|
+
code: string;
|
|
4856
|
+
/** 数据源字段名称 */
|
|
4857
|
+
i18n_names: I18nContent[];
|
|
4858
|
+
/** 字段类型 */
|
|
4859
|
+
field_type: 1 | 2 | 3 | 4 | 5;
|
|
4860
|
+
/** 字段启停用状态 */
|
|
4861
|
+
active_status: 1 | 2;
|
|
4862
|
+
/** 数据源字段描述 */
|
|
4863
|
+
i18n_description?: I18nContent[];
|
|
4864
|
+
/** 保留小数位数。目前只有number、money类型字段需要设置保留小数 */
|
|
4865
|
+
decimal_places?: number;
|
|
4866
|
+
}
|
|
4867
|
+
export interface DatasourceRecord {
|
|
4868
|
+
/** 记录的启停用状态 */
|
|
4869
|
+
active_status: 1 | 2;
|
|
4870
|
+
/** 记录的字段值列表 */
|
|
4871
|
+
field_values: DatasourceRecordField[];
|
|
4872
|
+
}
|
|
4873
|
+
export interface DatasourceRecordField {
|
|
4874
|
+
/** 数据源字段编码 */
|
|
4875
|
+
field_code: string;
|
|
4876
|
+
/** 字段值 通过string传输,确保字段的值符合协议。 - money:金额 eg: "12.23" 超过设定精度会被四舍五入,目前只支持人民币¥元 - number:数值 eg: "12.87" 超过设定精度会被四舍五入 - text:文本 eg: "我是一段文本"。文本字符个数不允许超过500,一条记录的文本总的字符个数不允许超过3000. - date:日期 yyyy-MM-dd eg: "2024-05-09" - percentage:百分比 "10" 代表10%,最多保留两位小数,超过后四舍五入 */
|
|
4877
|
+
value: string;
|
|
4878
|
+
/** 字段类型 */
|
|
4879
|
+
field_type?: number;
|
|
4880
|
+
}
|
|
4881
|
+
export interface DatasourceRecordFieldFilter {
|
|
4882
|
+
/** 查询条件的字段编码 */
|
|
4883
|
+
field_code: string;
|
|
4884
|
+
/** 条件值列表 */
|
|
4885
|
+
field_values?: string[];
|
|
4886
|
+
/** 查询操作符 */
|
|
4887
|
+
operator?: 1 | 2;
|
|
4466
4888
|
}
|
|
4467
4889
|
export interface DataSummaryDimension {
|
|
4468
4890
|
/** 层级 */
|
|
@@ -4482,6 +4904,10 @@ export interface DatetimeSetting {
|
|
|
4482
4904
|
/** 日期显示格式 */
|
|
4483
4905
|
format?: string;
|
|
4484
4906
|
}
|
|
4907
|
+
export interface DeleteEmployeeOptions {
|
|
4908
|
+
/** 资源转移方式 */
|
|
4909
|
+
resigned_employee_resource_receiver?: ResignedUserResouceReceiver;
|
|
4910
|
+
}
|
|
4485
4911
|
export interface DeleteGridColumnRequest {
|
|
4486
4912
|
/** 删除列索引,从 0 开始,如 0 表示删除第一列(-1表示删除最后一列) */
|
|
4487
4913
|
column_index: number;
|
|
@@ -4536,6 +4962,12 @@ export interface Department {
|
|
|
4536
4962
|
/** 部门下主属用户的个数 */
|
|
4537
4963
|
primary_member_count?: number;
|
|
4538
4964
|
}
|
|
4965
|
+
export interface DepartmentBaseInfo {
|
|
4966
|
+
/** 部门ID */
|
|
4967
|
+
department_id?: string;
|
|
4968
|
+
/** i18n文本 */
|
|
4969
|
+
department_name?: I18nText;
|
|
4970
|
+
}
|
|
4539
4971
|
export interface DepartmentChange {
|
|
4540
4972
|
/** 部门调整记录 ID */
|
|
4541
4973
|
department_change_id?: string;
|
|
@@ -4586,6 +5018,14 @@ export interface DepartmentI18nName {
|
|
|
4586
5018
|
/** 部门的英文名 */
|
|
4587
5019
|
en_us?: string;
|
|
4588
5020
|
}
|
|
5021
|
+
export interface DepartmentIdConvertResult {
|
|
5022
|
+
/** ID */
|
|
5023
|
+
id: string;
|
|
5024
|
+
/** 部门ID */
|
|
5025
|
+
department_id?: string;
|
|
5026
|
+
/** 部门OpenID */
|
|
5027
|
+
open_department_id?: string;
|
|
5028
|
+
}
|
|
4589
5029
|
export interface DepartmentLeader {
|
|
4590
5030
|
/** 负责人类型 */
|
|
4591
5031
|
leaderType: 1 | 2;
|
|
@@ -4708,12 +5148,6 @@ export interface Device {
|
|
|
4708
5148
|
/** 设施名称 */
|
|
4709
5149
|
name: string;
|
|
4710
5150
|
}
|
|
4711
|
-
export interface DeviceExternal {
|
|
4712
|
-
/** 设备id */
|
|
4713
|
-
id?: string;
|
|
4714
|
-
/** 设备名称 */
|
|
4715
|
-
name?: string;
|
|
4716
|
-
}
|
|
4717
5151
|
export interface Diagram {
|
|
4718
5152
|
/** 绘图类型 */
|
|
4719
5153
|
diagram_type?: 1 | 2;
|
|
@@ -4784,12 +5218,24 @@ export interface DimensionEntity {
|
|
|
4784
5218
|
/** 维度值 */
|
|
4785
5219
|
dimension_value: string;
|
|
4786
5220
|
}
|
|
5221
|
+
export interface DimensionIdInData {
|
|
5222
|
+
/** 维度 key */
|
|
5223
|
+
dimension_key?: string;
|
|
5224
|
+
/** 维度 ids */
|
|
5225
|
+
dimension_ids?: string[];
|
|
5226
|
+
}
|
|
4787
5227
|
export interface DimensionInfo {
|
|
4788
5228
|
/** 维度id */
|
|
4789
5229
|
id: string;
|
|
4790
5230
|
/** 维度名称 */
|
|
4791
5231
|
name?: I18n[];
|
|
4792
5232
|
}
|
|
5233
|
+
export interface DimensionInfoData {
|
|
5234
|
+
/** 维度 key */
|
|
5235
|
+
dimension_key?: string;
|
|
5236
|
+
/** 维度信息 */
|
|
5237
|
+
dimension_info?: DimensionInfo;
|
|
5238
|
+
}
|
|
4793
5239
|
export interface DimensionOption {
|
|
4794
5240
|
/** 选项ID */
|
|
4795
5241
|
id?: string;
|
|
@@ -4798,6 +5244,12 @@ export interface DimensionOption {
|
|
|
4798
5244
|
/** 选项对应的分数 */
|
|
4799
5245
|
score_val?: number;
|
|
4800
5246
|
}
|
|
5247
|
+
export interface DirectProjectLeaderRecordInfo {
|
|
5248
|
+
/** 评估人 ID */
|
|
5249
|
+
reviewer_id?: User;
|
|
5250
|
+
/** 评估人作为直属项目上级所在的项目 */
|
|
5251
|
+
cooperation_projects?: CooperationProject[];
|
|
5252
|
+
}
|
|
4801
5253
|
export interface DisableInformConfig {
|
|
4802
5254
|
/** 是否覆盖子层级及会议室 */
|
|
4803
5255
|
if_cover_child_scope?: boolean;
|
|
@@ -5096,10 +5548,100 @@ export interface Employee {
|
|
|
5096
5548
|
/** 自定义字段 */
|
|
5097
5549
|
custom_fields?: CustomFields[];
|
|
5098
5550
|
}
|
|
5551
|
+
export declare const enum EmployeeActiveStatusDirectory {
|
|
5552
|
+
/** 未激活 */
|
|
5553
|
+
EmployeeActiveStatusDirectoryUnregister = 1,
|
|
5554
|
+
/** 激活 */
|
|
5555
|
+
EmployeeActiveStatusDirectoryRegister = 2,
|
|
5556
|
+
/** 冻结 */
|
|
5557
|
+
EmployeeActiveStatusDirectoryFrozen = 3,
|
|
5558
|
+
/** 主动退出 */
|
|
5559
|
+
EmployeeActiveStatusDirectoryQuit = 4,
|
|
5560
|
+
/** 未加入 */
|
|
5561
|
+
EmployeeActiveStatusDirectoryUnjoined = 5
|
|
5562
|
+
}
|
|
5563
|
+
export interface EmployeeBaseEntity {
|
|
5564
|
+
/** EmployeeID 和UserID一致 */
|
|
5565
|
+
employee_id: string;
|
|
5566
|
+
/** 姓名 */
|
|
5567
|
+
name: Name;
|
|
5568
|
+
/** 手机号 */
|
|
5569
|
+
mobile?: string;
|
|
5570
|
+
/** 登录邮箱 */
|
|
5571
|
+
email?: string;
|
|
5572
|
+
/** 企业邮箱 */
|
|
5573
|
+
enterprise_email?: string;
|
|
5574
|
+
/** 性别 */
|
|
5575
|
+
gender?: GenderDirectory;
|
|
5576
|
+
/** 部门信息 */
|
|
5577
|
+
departments?: Department[];
|
|
5578
|
+
/** 用户在部门内的排序信息, 第一个部门为主部门 */
|
|
5579
|
+
employee_order_in_departments?: UserDepartmentSortInfo[];
|
|
5580
|
+
/** 个人签名 */
|
|
5581
|
+
description?: string;
|
|
5582
|
+
/** 用户活跃状态 */
|
|
5583
|
+
active_status?: EmployeeActiveStatusDirectory;
|
|
5584
|
+
/** 是否离职 */
|
|
5585
|
+
is_resigned?: boolean;
|
|
5586
|
+
/** 直属上级ID */
|
|
5587
|
+
leader_id?: string;
|
|
5588
|
+
/** 虚线上级ID */
|
|
5589
|
+
dotted_line_leader_ids?: string[];
|
|
5590
|
+
/** 是否租户超级管理员 */
|
|
5591
|
+
is_primary_admin?: boolean;
|
|
5592
|
+
/** 企业邮箱别名 */
|
|
5593
|
+
enterprise_email_aliases?: string[];
|
|
5594
|
+
/** 自定义字段值 */
|
|
5595
|
+
custom_field_values?: CustomFieldValue[];
|
|
5596
|
+
/** 员工部门全路径节点 本字段不含根部门信息,部门顺序为父部门->当前部门 例如:三级部门为员工当前部门[[DepartmentBaseInfo{1,一级部门},DepartmentBaseInfo{2,二级部门}, DepartmentBaseInfo{3,三级部门}]] */
|
|
5597
|
+
department_path_infos?: DepartmentBaseInfo[][];
|
|
5598
|
+
/** 离职时间 管理后台进行离职操作的时间,系统自动生成,无法写入 */
|
|
5599
|
+
resign_time?: string;
|
|
5600
|
+
/** 头像url */
|
|
5601
|
+
avatar?: ImageLink;
|
|
5602
|
+
/** 自定义背景图 url */
|
|
5603
|
+
background_image?: string;
|
|
5604
|
+
/** 是否租户普通管理员 */
|
|
5605
|
+
is_admin?: boolean;
|
|
5606
|
+
/** 数据来源 */
|
|
5607
|
+
data_source?: DataSource;
|
|
5608
|
+
/** 员工Geo */
|
|
5609
|
+
geo_name?: string;
|
|
5610
|
+
/** 员工license */
|
|
5611
|
+
subscription_ids?: string[];
|
|
5612
|
+
}
|
|
5099
5613
|
export interface EmployeeConversionInfo {
|
|
5100
5614
|
/** 实际转正日期 */
|
|
5101
5615
|
actual_conversion_time?: number;
|
|
5102
5616
|
}
|
|
5617
|
+
export interface EmployeeCostAllocation {
|
|
5618
|
+
/** 员工id */
|
|
5619
|
+
employment_id?: string;
|
|
5620
|
+
/** 成本分摊 */
|
|
5621
|
+
cost_allocations?: EmploymentCostAllocation[];
|
|
5622
|
+
}
|
|
5623
|
+
export interface EmployeeDefaultCostCenter {
|
|
5624
|
+
/** 用户id */
|
|
5625
|
+
employment_id?: string;
|
|
5626
|
+
/** 默认成本中心 */
|
|
5627
|
+
default_cost_centers?: EmploymentDefaultCostCenter[];
|
|
5628
|
+
}
|
|
5629
|
+
export interface EmployeeEntity {
|
|
5630
|
+
/** 员工基础信息 */
|
|
5631
|
+
base_info?: EmployeeBaseEntity;
|
|
5632
|
+
/** 员工工作信息 */
|
|
5633
|
+
work_info?: EmployeeWorkEntity;
|
|
5634
|
+
}
|
|
5635
|
+
export interface EmployeeIdConvertResult {
|
|
5636
|
+
/** ID */
|
|
5637
|
+
id: string;
|
|
5638
|
+
/** 员工ID */
|
|
5639
|
+
employee_id?: string;
|
|
5640
|
+
/** 员工OpenID */
|
|
5641
|
+
open_employee_id?: string;
|
|
5642
|
+
/** 员工UnionID */
|
|
5643
|
+
union_employee_id?: string;
|
|
5644
|
+
}
|
|
5103
5645
|
export interface EmployeeJobData {
|
|
5104
5646
|
/** Employment ID */
|
|
5105
5647
|
employment_id: string;
|
|
@@ -5202,6 +5744,18 @@ export interface EmployeesAdditionalJobWriteResp {
|
|
|
5202
5744
|
/** 人员子类型 ID */
|
|
5203
5745
|
employee_subtype_id?: string;
|
|
5204
5746
|
}
|
|
5747
|
+
export declare const enum EmployeeStaffStatusDirectory {
|
|
5748
|
+
/** 在职 */
|
|
5749
|
+
EmployeeStaffStatusDirectoryUnResigned = 1,
|
|
5750
|
+
/** 离职 */
|
|
5751
|
+
EmployeeStaffStatusDirectoryResigned = 2,
|
|
5752
|
+
/** 待入职 */
|
|
5753
|
+
EmployeeStaffStatusDirectoryPreEntry = 3,
|
|
5754
|
+
/** 取消入职 */
|
|
5755
|
+
EmployeeStaffStatusDirectoryCancelledEntry = 4,
|
|
5756
|
+
/** 待离职 */
|
|
5757
|
+
EmployeeStaffStatusDirectoryPreResigned = 5
|
|
5758
|
+
}
|
|
5205
5759
|
export interface EmployeeType {
|
|
5206
5760
|
/** 实体在CoreHR内部的唯一键 */
|
|
5207
5761
|
id?: string;
|
|
@@ -5216,6 +5770,7 @@ export interface EmployeeType {
|
|
|
5216
5770
|
/** 自定义字段 */
|
|
5217
5771
|
custom_fields?: ObjectFieldData[];
|
|
5218
5772
|
}
|
|
5773
|
+
export type EmployeeTypeDirectory = number;
|
|
5219
5774
|
export interface EmployeeTypeEnum {
|
|
5220
5775
|
/** 枚举值id */
|
|
5221
5776
|
enum_id?: string;
|
|
@@ -5264,6 +5819,38 @@ export interface EmployeeV2 {
|
|
|
5264
5819
|
/** 招聘需求ID */
|
|
5265
5820
|
job_requirement_id?: string;
|
|
5266
5821
|
}
|
|
5822
|
+
export interface EmployeeWorkEntity {
|
|
5823
|
+
/** 工作地国家/地区 */
|
|
5824
|
+
work_country_or_region?: string;
|
|
5825
|
+
/** 地点 */
|
|
5826
|
+
work_place?: Place;
|
|
5827
|
+
/** i18n文本 */
|
|
5828
|
+
work_station?: I18nText;
|
|
5829
|
+
/** 工号 */
|
|
5830
|
+
job_number?: string;
|
|
5831
|
+
/** 分机号 */
|
|
5832
|
+
extension_number?: string;
|
|
5833
|
+
/** 入职日期 2007-03-20 */
|
|
5834
|
+
join_date?: string;
|
|
5835
|
+
/** 员工类型 */
|
|
5836
|
+
employment_type?: EmployeeTypeDirectory;
|
|
5837
|
+
/** 员工人事状态 */
|
|
5838
|
+
staff_status?: EmployeeStaffStatusDirectory;
|
|
5839
|
+
/** 职务 */
|
|
5840
|
+
job_title?: JobTitle;
|
|
5841
|
+
/** 职级 */
|
|
5842
|
+
job_level?: JobLevel;
|
|
5843
|
+
/** 序列 */
|
|
5844
|
+
job_family?: JobFamily;
|
|
5845
|
+
/** 离职日期 2007-03-20 */
|
|
5846
|
+
resign_date?: string;
|
|
5847
|
+
/** 离职原因 */
|
|
5848
|
+
resign_reason?: ResignReasonDirectory;
|
|
5849
|
+
/** 离职备注 */
|
|
5850
|
+
resign_remark?: string;
|
|
5851
|
+
/** 离职类型 */
|
|
5852
|
+
resign_type?: ResignTypeDirectory;
|
|
5853
|
+
}
|
|
5267
5854
|
export interface Employment {
|
|
5268
5855
|
/** 待入职ID */
|
|
5269
5856
|
prehire_id?: string;
|
|
@@ -5336,6 +5923,18 @@ export interface EmploymentBp {
|
|
|
5336
5923
|
/** 员工直属属地 BP 雇佣 ID */
|
|
5337
5924
|
location_bp_ids?: string[];
|
|
5338
5925
|
}
|
|
5926
|
+
export interface EmploymentCostAllocation {
|
|
5927
|
+
/** id */
|
|
5928
|
+
wk_id: string;
|
|
5929
|
+
/** 分摊生效日期 */
|
|
5930
|
+
effective_time?: string;
|
|
5931
|
+
/** 分摊失效日期 */
|
|
5932
|
+
expiration_time?: string;
|
|
5933
|
+
/** 成本分摊 */
|
|
5934
|
+
job_data_cost_center_id?: JobDataCostCenter[];
|
|
5935
|
+
/** 变更原因 */
|
|
5936
|
+
reason?: string;
|
|
5937
|
+
}
|
|
5339
5938
|
export interface EmploymentCreate {
|
|
5340
5939
|
/** 待入职 ID */
|
|
5341
5940
|
prehire_id?: string;
|
|
@@ -5398,6 +5997,20 @@ export interface EmploymentCreate {
|
|
|
5398
5997
|
/** 历史雇佣信息 ID */
|
|
5399
5998
|
rehire_employment_id?: string;
|
|
5400
5999
|
}
|
|
6000
|
+
export interface EmploymentDefaultCostCenter {
|
|
6001
|
+
/** id */
|
|
6002
|
+
wk_id: string;
|
|
6003
|
+
/** id */
|
|
6004
|
+
wk_tid: string;
|
|
6005
|
+
/** 生效日期 */
|
|
6006
|
+
effective_time?: string;
|
|
6007
|
+
/** 成本中心id */
|
|
6008
|
+
cost_center_id?: string;
|
|
6009
|
+
/** 是否继承自岗位/部门的默认成本中心 */
|
|
6010
|
+
is_inherit?: boolean;
|
|
6011
|
+
/** 变更原因 */
|
|
6012
|
+
reason?: string;
|
|
6013
|
+
}
|
|
5401
6014
|
export interface EmploymentLeaveBalance {
|
|
5402
6015
|
/** 雇佣信息ID */
|
|
5403
6016
|
employment_id: string;
|
|
@@ -5456,6 +6069,20 @@ export interface Enum {
|
|
|
5456
6069
|
/** 枚举多语展示 */
|
|
5457
6070
|
display?: I18n[];
|
|
5458
6071
|
}
|
|
6072
|
+
export interface EnumField {
|
|
6073
|
+
/** ApiName */
|
|
6074
|
+
api_name?: string;
|
|
6075
|
+
/** 枚举值名 */
|
|
6076
|
+
name?: I18n[];
|
|
6077
|
+
/** 枚举值描述 */
|
|
6078
|
+
description?: I18n[];
|
|
6079
|
+
/** 所属枚举常量ApiName */
|
|
6080
|
+
enum_api_name?: string;
|
|
6081
|
+
/** 顺序 */
|
|
6082
|
+
order?: number;
|
|
6083
|
+
/** 状态 */
|
|
6084
|
+
status?: 1 | 0;
|
|
6085
|
+
}
|
|
5459
6086
|
export interface EnumFieldOption {
|
|
5460
6087
|
/** 枚举值选项 API Name,即选项的唯一标识 */
|
|
5461
6088
|
option_api_name: string;
|
|
@@ -5468,6 +6095,18 @@ export interface EnumObject {
|
|
|
5468
6095
|
/** 枚举对象 */
|
|
5469
6096
|
enum_key?: string;
|
|
5470
6097
|
}
|
|
6098
|
+
export interface Enums {
|
|
6099
|
+
/** 枚举名称 */
|
|
6100
|
+
enum_apiname?: string;
|
|
6101
|
+
/** 枚举值 */
|
|
6102
|
+
enum_items?: EnumField[];
|
|
6103
|
+
}
|
|
6104
|
+
export interface EnumValue {
|
|
6105
|
+
/** 选项结果ID */
|
|
6106
|
+
enum_ids: string[];
|
|
6107
|
+
/** 选项类型 */
|
|
6108
|
+
enum_type: CustomFieldValueEnumType;
|
|
6109
|
+
}
|
|
5471
6110
|
export interface EnvironmentVariable {
|
|
5472
6111
|
/** 环境变量 API 名称 */
|
|
5473
6112
|
api_name: string;
|
|
@@ -5596,6 +6235,14 @@ export interface ExportTask {
|
|
|
5596
6235
|
/** 任务状态 */
|
|
5597
6236
|
job_status?: 0 | 1 | 2 | 3 | 107 | 108 | 109 | 110 | 111 | 122 | 123 | 6000;
|
|
5598
6237
|
}
|
|
6238
|
+
export interface Expression {
|
|
6239
|
+
/** 字段名 */
|
|
6240
|
+
field: string;
|
|
6241
|
+
/** 运算符 */
|
|
6242
|
+
operator: Operator;
|
|
6243
|
+
/** 字段值 */
|
|
6244
|
+
value: Value;
|
|
6245
|
+
}
|
|
5599
6246
|
export interface ExteranlInstanceCheck {
|
|
5600
6247
|
/** 审批实例 id */
|
|
5601
6248
|
instance_id: string;
|
|
@@ -5974,6 +6621,7 @@ export interface FieldGroup {
|
|
|
5974
6621
|
/** 可读权限的表单项的 id列表 */
|
|
5975
6622
|
readable: string[];
|
|
5976
6623
|
}
|
|
6624
|
+
export type FieldName = string;
|
|
5977
6625
|
export interface FieldVariableSubVlaue {
|
|
5978
6626
|
/** 用于关联list和record类型变量值中的key */
|
|
5979
6627
|
key?: string;
|
|
@@ -6174,15 +6822,19 @@ export interface FileViewRecord {
|
|
|
6174
6822
|
/** 最近访问时间,秒级时间戳 */
|
|
6175
6823
|
last_view_time?: string;
|
|
6176
6824
|
}
|
|
6825
|
+
export interface Filter {
|
|
6826
|
+
/** 与、或条件 */
|
|
6827
|
+
logic: Logic;
|
|
6828
|
+
/** 过滤条件 */
|
|
6829
|
+
expressions?: Expression[];
|
|
6830
|
+
}
|
|
6177
6831
|
export interface FilterCondition {
|
|
6178
|
-
/**
|
|
6179
|
-
|
|
6180
|
-
/**
|
|
6181
|
-
|
|
6182
|
-
/**
|
|
6183
|
-
|
|
6184
|
-
/** 右值类型 */
|
|
6185
|
-
right_value_type?: number;
|
|
6832
|
+
/** 筛选条件的左值,值为字段的参数名称。具体可填哪些字段请看 https://bytedance.larkoffice.com/wiki/Yyrgw6kLLiGxMIkrEZece1ZvnWg */
|
|
6833
|
+
field: FieldName;
|
|
6834
|
+
/** 比较操作符。可选值有: - equal:等于,支持任何类型的左值 - in:属于任一 */
|
|
6835
|
+
operator: CompareOperator;
|
|
6836
|
+
/** 筛选条件的右值。内容为左值字段类型及操作符组合下,对应的值类型。注意: 1. field为int类型,operator为in时,value应当为list<int>的json字符串 1. 示例值:"[11,22]" 2. field为string类型,operator为in时,value应当为json序列化后的json字符串 1. 示例值:"[\"正式\",\"实习\"]" 3. field为string类型,operator为eq时,value应当为json序列化后的string 1. 示例值:"\正式\"" */
|
|
6837
|
+
value: string;
|
|
6186
6838
|
}
|
|
6187
6839
|
export interface FilterExpression {
|
|
6188
6840
|
/** 规则 */
|
|
@@ -6196,16 +6848,6 @@ export interface FilterInfo {
|
|
|
6196
6848
|
/** 筛选条件 */
|
|
6197
6849
|
conditions: Condition[];
|
|
6198
6850
|
}
|
|
6199
|
-
export interface FilterRuleValue {
|
|
6200
|
-
/** 规则值类型 */
|
|
6201
|
-
type?: number;
|
|
6202
|
-
/** 规则值 */
|
|
6203
|
-
value?: string;
|
|
6204
|
-
/** 下钻值 */
|
|
6205
|
-
lookup_value?: string;
|
|
6206
|
-
/** 下钻类型 */
|
|
6207
|
-
lookup_type?: string;
|
|
6208
|
-
}
|
|
6209
6851
|
export interface FilterView {
|
|
6210
6852
|
/** 筛选视图 id */
|
|
6211
6853
|
filter_view_id?: string;
|
|
@@ -6278,6 +6920,20 @@ export interface FloatImage {
|
|
|
6278
6920
|
/** 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度 */
|
|
6279
6921
|
offset_y?: number;
|
|
6280
6922
|
}
|
|
6923
|
+
export interface Folder {
|
|
6924
|
+
/** folder id */
|
|
6925
|
+
id?: string;
|
|
6926
|
+
/** 文件夹名称 */
|
|
6927
|
+
name: string;
|
|
6928
|
+
/** 父文件夹 id,该值为 0 表示根文件夹 */
|
|
6929
|
+
parent_folder_id: string;
|
|
6930
|
+
/** 文件夹类型 */
|
|
6931
|
+
folder_type?: 1 | 2;
|
|
6932
|
+
/** 未读邮件数量 */
|
|
6933
|
+
unread_message_count?: number;
|
|
6934
|
+
/** 未读会话数量 */
|
|
6935
|
+
unread_thread_count?: number;
|
|
6936
|
+
}
|
|
6281
6937
|
export interface Follower {
|
|
6282
6938
|
/** 任务关注者 ID */
|
|
6283
6939
|
id?: string;
|
|
@@ -6298,129 +6954,18 @@ export interface FoodManageEntity {
|
|
|
6298
6954
|
}
|
|
6299
6955
|
export interface FoodManageLicense {
|
|
6300
6956
|
/** 识别出的实体列表 */
|
|
6301
|
-
entities?: FoodManageEntity[];
|
|
6302
|
-
}
|
|
6303
|
-
export interface FoodProduceEntity {
|
|
6304
|
-
/** 识别的字段种类 */
|
|
6305
|
-
type?: 'validity_period' | 'issuer' | 'issuing_authority' | 'complaints_hotline' | 'food_category' | 'production_address' | 'license_number' | 'domicile' | 'legal_representative' | 'credit_code' | 'producer' | 'daily_supervisory_authorities' | 'daily_supervisor';
|
|
6306
|
-
/** 识别出字段的文本信息 */
|
|
6307
|
-
value?: string;
|
|
6308
|
-
}
|
|
6309
|
-
export interface FoodProduceLicense {
|
|
6310
|
-
/** 识别出的实体列表 */
|
|
6311
|
-
entities?: FoodProduceEntity[];
|
|
6312
|
-
}
|
|
6313
|
-
export interface FormFieldVariable {
|
|
6314
|
-
/** 变量api名称 */
|
|
6315
|
-
variable_api_name?: string;
|
|
6316
|
-
/** 变量名称的i18n描述 */
|
|
6317
|
-
variable_name?: BpmDataengineI18n;
|
|
6318
|
-
/** 变量值的对象 */
|
|
6319
|
-
variable_value?: FormVariableValueInfo;
|
|
6320
|
-
}
|
|
6321
|
-
export interface FormFieldVariableBoolValue {
|
|
6322
|
-
/** 布尔变量的值 */
|
|
6323
|
-
value?: boolean;
|
|
6324
|
-
}
|
|
6325
|
-
export interface FormFieldVariableDatetimeValue {
|
|
6326
|
-
/** 毫秒的时间戳 */
|
|
6327
|
-
value?: number;
|
|
6328
|
-
/** 时区 */
|
|
6329
|
-
zone?: string;
|
|
6330
|
-
}
|
|
6331
|
-
export interface FormFieldVariableDateValue {
|
|
6332
|
-
/** 日期变量的值,从1970起的天数 */
|
|
6333
|
-
value?: number;
|
|
6334
|
-
}
|
|
6335
|
-
export interface FormFieldVariableDepartmentValue {
|
|
6336
|
-
/** 部门ID */
|
|
6337
|
-
value?: string;
|
|
6338
|
-
}
|
|
6339
|
-
export interface FormFieldVariableEmploymentValue {
|
|
6340
|
-
/** employmentID */
|
|
6341
|
-
value?: string;
|
|
6342
|
-
/** 员工ID 如3158117 */
|
|
6343
|
-
user_id?: string;
|
|
6344
|
-
}
|
|
6345
|
-
export interface FormFieldVariableEnumValue {
|
|
6346
|
-
/** 枚举值 */
|
|
6347
|
-
value?: string;
|
|
6348
|
-
/** 枚举的名称 */
|
|
6349
|
-
name?: BpmDataengineI18n;
|
|
6350
|
-
/** 枚举的描述 */
|
|
6351
|
-
desc?: BpmDataengineI18n;
|
|
6352
|
-
}
|
|
6353
|
-
export interface FormFieldVariableFileValue {
|
|
6354
|
-
/** 文件源类型(1BPM; 2主数据) */
|
|
6355
|
-
source_type?: number;
|
|
6356
|
-
/** 文件id */
|
|
6357
|
-
file_id?: string;
|
|
6358
|
-
/** 文件名称 */
|
|
6359
|
-
file_name?: string;
|
|
6360
|
-
/** 文件长度 */
|
|
6361
|
-
length?: number;
|
|
6362
|
-
/** mime type */
|
|
6363
|
-
mime_type?: string;
|
|
6364
|
-
}
|
|
6365
|
-
export interface FormFieldVariableI18nValue {
|
|
6366
|
-
/** i18n值 */
|
|
6367
|
-
value?: BpmDataengineI18n;
|
|
6368
|
-
}
|
|
6369
|
-
export interface FormFieldVariableListObject {
|
|
6370
|
-
/** 文本变量对象 */
|
|
6371
|
-
text_value?: FormFieldVariableTextValue;
|
|
6372
|
-
/** 数值变量对象 */
|
|
6373
|
-
number_value?: FormFieldVariableNumberValue;
|
|
6374
|
-
/** 日期变量对象 */
|
|
6375
|
-
date_value?: FormFieldVariableDateValue;
|
|
6376
|
-
/** 员工变量对象 */
|
|
6377
|
-
employment_value?: FormFieldVariableEmploymentValue;
|
|
6378
|
-
/** 日期时间变量对象 */
|
|
6379
|
-
date_time_value?: FormFieldVariableDatetimeValue;
|
|
6380
|
-
/** 枚举变量对象 */
|
|
6381
|
-
enum_value?: FormFieldVariableEnumValue;
|
|
6382
|
-
/** 空变量对象 */
|
|
6383
|
-
null_value?: FormFieldVariableNullValue;
|
|
6384
|
-
/** 布尔变量对象 */
|
|
6385
|
-
bool_value?: FormFieldVariableBoolValue;
|
|
6386
|
-
/** 部门变量对象 */
|
|
6387
|
-
department_value?: FormFieldVariableDepartmentValue;
|
|
6388
|
-
/** 文件变量对象 */
|
|
6389
|
-
file_value?: FormFieldVariableFileValue;
|
|
6390
|
-
/** i18n变量对象 */
|
|
6391
|
-
i18n_value?: FormFieldVariableI18nValue;
|
|
6392
|
-
/** 对象变量 */
|
|
6393
|
-
object_value?: FormFieldVariableObjectValue;
|
|
6394
|
-
/** 记录对象 */
|
|
6395
|
-
record_value?: FormFieldVariableRecordValue;
|
|
6396
|
-
}
|
|
6397
|
-
export interface FormFieldVariableListValue {
|
|
6398
|
-
/** 列表值 */
|
|
6399
|
-
values?: FormFieldVariableListObject[];
|
|
6400
|
-
}
|
|
6401
|
-
export type FormFieldVariableNullValue = unknown;
|
|
6402
|
-
export interface FormFieldVariableNumberValue {
|
|
6403
|
-
/** 数值类型变量的值 */
|
|
6404
|
-
value?: string;
|
|
6405
|
-
}
|
|
6406
|
-
export interface FormFieldVariableObjectValue {
|
|
6407
|
-
/** 对象ID */
|
|
6408
|
-
value?: string;
|
|
6409
|
-
/** 主数据apiName */
|
|
6410
|
-
wk_api_name?: string;
|
|
6411
|
-
}
|
|
6412
|
-
export interface FormFieldVariableRecordValue {
|
|
6413
|
-
/** 注意:这个值是一个map,key是变量唯一标识,value是变量值(平台限制,没法录入Map类型,这里用object示意一下) */
|
|
6414
|
-
values?: FormFieldVariableRecordValueExample;
|
|
6415
|
-
}
|
|
6416
|
-
export interface FormFieldVariableRecordValueExample {
|
|
6417
|
-
/** 这个属性名称是map的key的示例,属性值是map的value的示例,值和外层的variable_value是的一样的结构。 */
|
|
6418
|
-
country_region?: FormVariableValueInfoExample;
|
|
6957
|
+
entities?: FoodManageEntity[];
|
|
6419
6958
|
}
|
|
6420
|
-
export interface
|
|
6421
|
-
/**
|
|
6959
|
+
export interface FoodProduceEntity {
|
|
6960
|
+
/** 识别的字段种类 */
|
|
6961
|
+
type?: 'validity_period' | 'issuer' | 'issuing_authority' | 'complaints_hotline' | 'food_category' | 'production_address' | 'license_number' | 'domicile' | 'legal_representative' | 'credit_code' | 'producer' | 'daily_supervisory_authorities' | 'daily_supervisor';
|
|
6962
|
+
/** 识别出字段的文本信息 */
|
|
6422
6963
|
value?: string;
|
|
6423
6964
|
}
|
|
6965
|
+
export interface FoodProduceLicense {
|
|
6966
|
+
/** 识别出的实体列表 */
|
|
6967
|
+
entities?: FoodProduceEntity[];
|
|
6968
|
+
}
|
|
6424
6969
|
export interface Formula {
|
|
6425
6970
|
/** 公式表达式 */
|
|
6426
6971
|
expr?: string;
|
|
@@ -6433,40 +6978,6 @@ export interface FormulaParam {
|
|
|
6433
6978
|
/** 引用类型ID */
|
|
6434
6979
|
id?: string;
|
|
6435
6980
|
}
|
|
6436
|
-
export interface FormVariableValueInfo {
|
|
6437
|
-
/** 文本变量对象 */
|
|
6438
|
-
text_value?: FormFieldVariableTextValue;
|
|
6439
|
-
/** 数值变量对象 */
|
|
6440
|
-
number_value?: FormFieldVariableNumberValue;
|
|
6441
|
-
/** 日期变量对象 */
|
|
6442
|
-
date_value?: FormFieldVariableDateValue;
|
|
6443
|
-
/** 员工变量对象 */
|
|
6444
|
-
employment_value?: FormFieldVariableEmploymentValue;
|
|
6445
|
-
/** 日期时间变量对象 */
|
|
6446
|
-
date_time_value?: FormFieldVariableDatetimeValue;
|
|
6447
|
-
/** 枚举变量对象 */
|
|
6448
|
-
enum_value?: FormFieldVariableEnumValue;
|
|
6449
|
-
/** 空变量对象 */
|
|
6450
|
-
null_value?: FormFieldVariableNullValue;
|
|
6451
|
-
/** 布尔变量对象 */
|
|
6452
|
-
bool_value?: FormFieldVariableBoolValue;
|
|
6453
|
-
/** 部门变量对象 */
|
|
6454
|
-
department_value?: FormFieldVariableDepartmentValue;
|
|
6455
|
-
/** 文件变量对象 */
|
|
6456
|
-
file_value?: FormFieldVariableFileValue;
|
|
6457
|
-
/** i18n变量对象 */
|
|
6458
|
-
i18n_value?: FormFieldVariableI18nValue;
|
|
6459
|
-
/** 对象变量 */
|
|
6460
|
-
object_value?: FormFieldVariableObjectValue;
|
|
6461
|
-
/** 列表对象 */
|
|
6462
|
-
list_value?: FormFieldVariableListValue;
|
|
6463
|
-
/** 记录对象 */
|
|
6464
|
-
record_value?: FormFieldVariableRecordValue;
|
|
6465
|
-
}
|
|
6466
|
-
export interface FormVariableValueInfoExample {
|
|
6467
|
-
/** 示例的国家地区变量对象 */
|
|
6468
|
-
object_value?: FormFieldVariableObjectValue;
|
|
6469
|
-
}
|
|
6470
6981
|
export interface Freebusy {
|
|
6471
6982
|
/** 忙闲信息开始时间,RFC3339 date_time格式 */
|
|
6472
6983
|
start_time: string;
|
|
@@ -6517,6 +7028,16 @@ export interface Gadget {
|
|
|
6517
7028
|
/** pc 端兼容的最低飞书版本 */
|
|
6518
7029
|
pc_min_lark_version?: string;
|
|
6519
7030
|
}
|
|
7031
|
+
export declare const enum GenderDirectory {
|
|
7032
|
+
/** 未知 */
|
|
7033
|
+
GenderDirectoryUnknown = 0,
|
|
7034
|
+
/** 男 */
|
|
7035
|
+
GenderDirectoryMan = 1,
|
|
7036
|
+
/** 女 */
|
|
7037
|
+
GenderDirectoryWoman = 2,
|
|
7038
|
+
/** 其他 */
|
|
7039
|
+
GenderDirectoryOther = 3
|
|
7040
|
+
}
|
|
6520
7041
|
export interface GetSpreadsheet {
|
|
6521
7042
|
/** 电子表格标题 */
|
|
6522
7043
|
title?: string;
|
|
@@ -6662,10 +7183,12 @@ export interface I18nMeta {
|
|
|
6662
7183
|
ja_jp?: string;
|
|
6663
7184
|
}
|
|
6664
7185
|
export interface I18nName {
|
|
6665
|
-
/**
|
|
6666
|
-
|
|
6667
|
-
/**
|
|
6668
|
-
|
|
7186
|
+
/** 中文名 */
|
|
7187
|
+
zh_cn?: string;
|
|
7188
|
+
/** 日文名 */
|
|
7189
|
+
ja_jp?: string;
|
|
7190
|
+
/** 英文名 */
|
|
7191
|
+
en_us?: string;
|
|
6669
7192
|
}
|
|
6670
7193
|
export interface I18nNames {
|
|
6671
7194
|
/** 中文名 */
|
|
@@ -6689,30 +7212,10 @@ export interface I18nResourceText {
|
|
|
6689
7212
|
}
|
|
6690
7213
|
export type I18ns = I18n[];
|
|
6691
7214
|
export interface I18nText {
|
|
6692
|
-
/**
|
|
6693
|
-
|
|
6694
|
-
/**
|
|
6695
|
-
|
|
6696
|
-
/** 中文(香港地区) */
|
|
6697
|
-
zh_hk?: string;
|
|
6698
|
-
/** 中文(台湾地区) */
|
|
6699
|
-
zh_tw?: string;
|
|
6700
|
-
/** 日语 */
|
|
6701
|
-
ja_jp?: string;
|
|
6702
|
-
/** 法语 */
|
|
6703
|
-
fr_fr?: string;
|
|
6704
|
-
/** 意大利语 */
|
|
6705
|
-
it_it?: string;
|
|
6706
|
-
/** 德语 */
|
|
6707
|
-
de_de?: string;
|
|
6708
|
-
/** 俄语 */
|
|
6709
|
-
ru_ru?: string;
|
|
6710
|
-
/** 泰语 */
|
|
6711
|
-
th_th?: string;
|
|
6712
|
-
/** 西班牙语 */
|
|
6713
|
-
es_es?: string;
|
|
6714
|
-
/** 韩语 */
|
|
6715
|
-
ko_kr?: string;
|
|
7215
|
+
/** 默认值 */
|
|
7216
|
+
default_value: string;
|
|
7217
|
+
/** 国际化值,key为zh_cn, ja_jp, en_us, value为对应的值 */
|
|
7218
|
+
i18n_value?: Record<string, string>;
|
|
6716
7219
|
}
|
|
6717
7220
|
export interface IdCard {
|
|
6718
7221
|
/** 识别的实体列表 */
|
|
@@ -6768,6 +7271,16 @@ export interface Image {
|
|
|
6768
7271
|
/** 对齐方式 */
|
|
6769
7272
|
align?: 1 | 2 | 3;
|
|
6770
7273
|
}
|
|
7274
|
+
export interface ImageLink {
|
|
7275
|
+
/** 72*72像素头像链接 */
|
|
7276
|
+
avatar_72?: string;
|
|
7277
|
+
/** 240*240像素头像链接 */
|
|
7278
|
+
avatar_240?: string;
|
|
7279
|
+
/** 640*640像素头像链接 */
|
|
7280
|
+
avatar_640?: string;
|
|
7281
|
+
/** 原始头像链接 */
|
|
7282
|
+
avatar_origin?: string;
|
|
7283
|
+
}
|
|
6771
7284
|
export interface ImportedMetric {
|
|
6772
7285
|
/** 被评估人 ID */
|
|
6773
7286
|
reviewee_user_id: string;
|
|
@@ -7447,6 +7960,22 @@ export interface InterviewTask {
|
|
|
7447
7960
|
/** 任务状态 */
|
|
7448
7961
|
activity_status?: 1 | 2 | 3 | 5;
|
|
7449
7962
|
}
|
|
7963
|
+
export interface InvitedReviewRecordInfo {
|
|
7964
|
+
/** 评估人 ID。如果开启了 360 匿名评估,并且是对全部查看者匿名,则不返回该值 */
|
|
7965
|
+
reviewer_id?: User;
|
|
7966
|
+
/** 是否拒绝 */
|
|
7967
|
+
is_rejected?: boolean;
|
|
7968
|
+
/** 360° 评估人拒绝评估的理由,当 360° 评估环节被评估人拒绝时有值 */
|
|
7969
|
+
rejected_reason?: string;
|
|
7970
|
+
/** 360° 评估人的评估尺度标签 */
|
|
7971
|
+
distribute_type?: 1 | 2 | 3;
|
|
7972
|
+
/** 360° 评估人的评估尺度数值 */
|
|
7973
|
+
avg_diff?: string;
|
|
7974
|
+
/** 360° 评估人的与被评估人关系。如果开启了 360 匿名评估,并且是对全部查看者匿名,且配置隐藏描述信息则不返回该值 */
|
|
7975
|
+
relationship_with_reviewee?: 'direct_report' | 'skiplevel_report' | 'former_direct_manager' | 'skiplevel_manager' | 'teammate' | 'crossteam_colleague';
|
|
7976
|
+
/** 360° 评估人的邀请人类型。如果开启了 360 匿名评估,并且是对全部查看者匿名,且配置隐藏描述信息则不返回该值 */
|
|
7977
|
+
invitedby?: 'system_default' | 'reviewee' | 'manager' | 'hrbp_or_others' | 'voluntary';
|
|
7978
|
+
}
|
|
7450
7979
|
export interface Isv {
|
|
7451
7980
|
/** 团队互动应用唯一ID */
|
|
7452
7981
|
component_id?: string;
|
|
@@ -8127,6 +8656,16 @@ export interface JobUserInfo {
|
|
|
8127
8656
|
/** 名称 */
|
|
8128
8657
|
name?: I18n;
|
|
8129
8658
|
}
|
|
8659
|
+
export interface KeyresultData {
|
|
8660
|
+
/** 关键举措 ID */
|
|
8661
|
+
keyresult_id: string;
|
|
8662
|
+
/** 关键举措的评分 */
|
|
8663
|
+
score?: string;
|
|
8664
|
+
/** 该关键举措的填写项内容 */
|
|
8665
|
+
text?: string;
|
|
8666
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
8667
|
+
richtext?: string;
|
|
8668
|
+
}
|
|
8130
8669
|
export interface KvEntity {
|
|
8131
8670
|
/** 识别的实体类型 */
|
|
8132
8671
|
type?: string;
|
|
@@ -8525,6 +9064,7 @@ export interface LocationState {
|
|
|
8525
9064
|
/** 省份/州地址名称信息聚合 */
|
|
8526
9065
|
state_name_info?: LocationNameInfo;
|
|
8527
9066
|
}
|
|
9067
|
+
export type Logic = string;
|
|
8528
9068
|
export interface LookupWithAvatar {
|
|
8529
9069
|
/** 用户ID */
|
|
8530
9070
|
id?: string;
|
|
@@ -8547,6 +9087,26 @@ export interface MailAddress {
|
|
|
8547
9087
|
/** 名称 */
|
|
8548
9088
|
name?: string;
|
|
8549
9089
|
}
|
|
9090
|
+
export interface MailContact {
|
|
9091
|
+
/** 联系人 id */
|
|
9092
|
+
id?: string;
|
|
9093
|
+
/** 联系人姓名 */
|
|
9094
|
+
name: string;
|
|
9095
|
+
/** 联系人公司 */
|
|
9096
|
+
company?: string;
|
|
9097
|
+
/** 联系人手机号 */
|
|
9098
|
+
phone?: string;
|
|
9099
|
+
/** 联系人邮箱 */
|
|
9100
|
+
mail_address?: string;
|
|
9101
|
+
/** 联系人标签 */
|
|
9102
|
+
tag?: string;
|
|
9103
|
+
/** 联系人备注 */
|
|
9104
|
+
remark?: string;
|
|
9105
|
+
/** 联系人头像 */
|
|
9106
|
+
avatar?: string;
|
|
9107
|
+
/** 联系人职位 */
|
|
9108
|
+
position?: string;
|
|
9109
|
+
}
|
|
8550
9110
|
export interface Mailgroup {
|
|
8551
9111
|
/** The unique ID of a mail group */
|
|
8552
9112
|
mailgroup_id?: string;
|
|
@@ -8620,6 +9180,18 @@ export interface MatchInfo {
|
|
|
8620
9180
|
/** 匹配中的字段 */
|
|
8621
9181
|
type?: 0 | 1 | 2;
|
|
8622
9182
|
}
|
|
9183
|
+
export interface MatchRule {
|
|
9184
|
+
/** 左值 */
|
|
9185
|
+
left_value: 'department' | 'department_hierarchy' | 'work_location' | 'work_location_hierarchy' | 'cost_center' | 'cost_center_hierarchy' | 'job' | 'job_level' | 'job_family' | 'job_family_hierarchy' | 'employee_type';
|
|
9186
|
+
/** 操作符 */
|
|
9187
|
+
operator: 'contains' | 'notContains';
|
|
9188
|
+
/** 右值 */
|
|
9189
|
+
right_values?: string[];
|
|
9190
|
+
}
|
|
9191
|
+
export interface MatchRules {
|
|
9192
|
+
/** 匹配规则组,组内取交集 */
|
|
9193
|
+
match_rules?: MatchRule[];
|
|
9194
|
+
}
|
|
8623
9195
|
export interface Meeting {
|
|
8624
9196
|
/** 会议ID */
|
|
8625
9197
|
id?: string;
|
|
@@ -8940,6 +9512,12 @@ export interface MetaFailed {
|
|
|
8940
9512
|
/** 获取元数据失败的错误码 */
|
|
8941
9513
|
code: 970002 | 970003 | 970005;
|
|
8942
9514
|
}
|
|
9515
|
+
export interface MetricData {
|
|
9516
|
+
/** 指标 ID,可以通过获取指标详情接口获取详细信息 */
|
|
9517
|
+
id: string;
|
|
9518
|
+
/** 指标评分 */
|
|
9519
|
+
score?: string;
|
|
9520
|
+
}
|
|
8943
9521
|
export interface MetricDetail {
|
|
8944
9522
|
/** 指标 ID */
|
|
8945
9523
|
metric_id?: string;
|
|
@@ -9152,11 +9730,15 @@ export interface MoveResult {
|
|
|
9152
9730
|
/** 节点移动状态信息 */
|
|
9153
9731
|
status_msg: string;
|
|
9154
9732
|
}
|
|
9733
|
+
export interface MultiFilterCondition {
|
|
9734
|
+
/** 比较表达式列表,内容如 base_info.mobile eq "\"+8613000000001\""的比较条件,多个表达式之间的关系为且 */
|
|
9735
|
+
conditions: FilterCondition[];
|
|
9736
|
+
}
|
|
9155
9737
|
export interface Name {
|
|
9156
|
-
/**
|
|
9157
|
-
|
|
9158
|
-
/**
|
|
9159
|
-
|
|
9738
|
+
/** i18n文本 */
|
|
9739
|
+
name?: I18nText;
|
|
9740
|
+
/** 别名 */
|
|
9741
|
+
another_name?: string;
|
|
9160
9742
|
}
|
|
9161
9743
|
export interface NameForUpdate {
|
|
9162
9744
|
/** 全名 */
|
|
@@ -9450,6 +10032,18 @@ export interface ObjectFieldData {
|
|
|
9450
10032
|
/** 字段值,是json转义后的字符串,根据元数据定义不同,字段格式不同(123, 123.23, true, [\"id1\",\"id2\], 2006-01-02 15:04:05]) */
|
|
9451
10033
|
value: string;
|
|
9452
10034
|
}
|
|
10035
|
+
export interface ObjectiveData {
|
|
10036
|
+
/** 目标 ID */
|
|
10037
|
+
objective_id: string;
|
|
10038
|
+
/** 目标的评分 */
|
|
10039
|
+
score?: string;
|
|
10040
|
+
/** 评估人在该填写项填写的文本 */
|
|
10041
|
+
text?: string;
|
|
10042
|
+
/** 评估的关键举措,当评估内容是对关键举措(KR)评估时有值 */
|
|
10043
|
+
keyresult_data?: KeyresultData[];
|
|
10044
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
10045
|
+
richtext?: string;
|
|
10046
|
+
}
|
|
9453
10047
|
export interface ObjectMeta {
|
|
9454
10048
|
/** 对象信息 */
|
|
9455
10049
|
object?: Object;
|
|
@@ -10337,26 +10931,6 @@ export interface OpenFeedStatusLabel {
|
|
|
10337
10931
|
/** 标签类型 */
|
|
10338
10932
|
type: 'primary' | 'secondary' | 'success' | 'danger';
|
|
10339
10933
|
}
|
|
10340
|
-
export interface OpeningTimeExternal {
|
|
10341
|
-
/** 有效日期 */
|
|
10342
|
-
valid_day?: OpeningTimeValidDayExternal;
|
|
10343
|
-
/** 有效星期 */
|
|
10344
|
-
weekdays?: number[];
|
|
10345
|
-
/** 有效时间 */
|
|
10346
|
-
day_times?: OpeningTimePeriodExternal[];
|
|
10347
|
-
}
|
|
10348
|
-
export interface OpeningTimePeriodExternal {
|
|
10349
|
-
/** 起始时间 */
|
|
10350
|
-
start_hhmm: number;
|
|
10351
|
-
/** 结束时间 */
|
|
10352
|
-
end_hhmm: number;
|
|
10353
|
-
}
|
|
10354
|
-
export interface OpeningTimeValidDayExternal {
|
|
10355
|
-
/** 权限开始时间 */
|
|
10356
|
-
start_day: number;
|
|
10357
|
-
/** 权限结束时间 */
|
|
10358
|
-
end_day: number;
|
|
10359
|
-
}
|
|
10360
10934
|
export interface OperationLogEntityField {
|
|
10361
10935
|
/** 变更字段 */
|
|
10362
10936
|
field?: string;
|
|
@@ -10421,6 +10995,24 @@ export interface OrgdraftDepartmentId {
|
|
|
10421
10995
|
/** 调整部门 ID ,新建部门审批通过前会返回格式为 td_xxx 的临时 ID */
|
|
10422
10996
|
draft_department_id?: string;
|
|
10423
10997
|
}
|
|
10998
|
+
export interface OrgRole {
|
|
10999
|
+
/** 角色key */
|
|
11000
|
+
api_name: string;
|
|
11001
|
+
/** 角色ID */
|
|
11002
|
+
security_group_id?: string;
|
|
11003
|
+
/** 授权员工列表 */
|
|
11004
|
+
employment_ids?: string[];
|
|
11005
|
+
/** 继承至上级授权员工列表 */
|
|
11006
|
+
inherit_employment_ids?: string[];
|
|
11007
|
+
}
|
|
11008
|
+
export interface OrgRoleUpdate {
|
|
11009
|
+
/** 角色key(ID、key必须填一个) */
|
|
11010
|
+
api_name?: string;
|
|
11011
|
+
/** 角色ID(ID、key必须填一个) */
|
|
11012
|
+
security_group_id?: string;
|
|
11013
|
+
/** 授权员工列表 */
|
|
11014
|
+
employment_ids?: string[];
|
|
11015
|
+
}
|
|
10424
11016
|
export interface OrgTruncation {
|
|
10425
11017
|
/** 组织名称 */
|
|
10426
11018
|
org_key?: string;
|
|
@@ -10435,6 +11027,12 @@ export interface Origin {
|
|
|
10435
11027
|
/** 任务关联的来源平台详情页链接 */
|
|
10436
11028
|
href?: Href;
|
|
10437
11029
|
}
|
|
11030
|
+
export interface OtherRecRule {
|
|
11031
|
+
/** 记录筛选条件 */
|
|
11032
|
+
conditions?: RecRuleCondition[];
|
|
11033
|
+
/** 多个筛选条件的关系 */
|
|
11034
|
+
conjunction?: 'and' | 'or';
|
|
11035
|
+
}
|
|
10438
11036
|
export interface OuterInfo {
|
|
10439
11037
|
/** 数据提供方(不能包含中横线 "-") */
|
|
10440
11038
|
provider: string;
|
|
@@ -10453,6 +11051,18 @@ export interface OvertimeRule {
|
|
|
10453
11051
|
/** 下班时间 */
|
|
10454
11052
|
off_overtime: string;
|
|
10455
11053
|
}
|
|
11054
|
+
export interface PageCondition {
|
|
11055
|
+
/** 本次请求条数 */
|
|
11056
|
+
page_size?: number;
|
|
11057
|
+
/** 顺序分页查询,不能跳页查询,支持深分页,在需要遍历全部数据的场景只能使用该方式。第一次传空字符串或者不传,后面传上一次的返回值中的page_token */
|
|
11058
|
+
page_token?: string;
|
|
11059
|
+
}
|
|
11060
|
+
export interface PageResponse {
|
|
11061
|
+
/** 是否还有后续结果 */
|
|
11062
|
+
has_more?: boolean;
|
|
11063
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
11064
|
+
page_token?: string;
|
|
11065
|
+
}
|
|
10456
11066
|
export interface Participant {
|
|
10457
11067
|
/** 参会者 */
|
|
10458
11068
|
participant_name?: string;
|
|
@@ -10555,6 +11165,48 @@ export interface Paygroup {
|
|
|
10555
11165
|
/** 薪资组所属国家/地区 */
|
|
10556
11166
|
country_region?: CountryRegion;
|
|
10557
11167
|
}
|
|
11168
|
+
export interface PaymentAccountingItem {
|
|
11169
|
+
/** 算薪项唯一标识 */
|
|
11170
|
+
id?: string;
|
|
11171
|
+
/** 算薪项名称 */
|
|
11172
|
+
accounting_item_names?: I18nContent[];
|
|
11173
|
+
/** 算薪项值 */
|
|
11174
|
+
accounting_item_value?: AccountingItemValue;
|
|
11175
|
+
/** 算薪项分段数据 */
|
|
11176
|
+
segment_values?: SegmentValue[];
|
|
11177
|
+
/** 算薪项类型,1-文本;2-金额;3-数值;4-百分比;5-日期;6-引用 */
|
|
11178
|
+
accounting_item_type?: number;
|
|
11179
|
+
}
|
|
11180
|
+
export interface PaymentActivity {
|
|
11181
|
+
/** 发薪活动唯一标识 */
|
|
11182
|
+
activity_id?: string;
|
|
11183
|
+
/** 发薪活动名称 */
|
|
11184
|
+
activity_names?: I18nContent[];
|
|
11185
|
+
/** 发薪活动发薪日期 */
|
|
11186
|
+
pay_date?: string;
|
|
11187
|
+
/** 发薪总笔数 */
|
|
11188
|
+
total_number_of_payroll?: number;
|
|
11189
|
+
/** 关联的算薪活动个数 */
|
|
11190
|
+
number_of_calculation_activities?: number;
|
|
11191
|
+
/** 发薪活动关联的算薪活动详情 */
|
|
11192
|
+
calculation_activities?: CalculationActivity[];
|
|
11193
|
+
/** 发薪活动审批状态,其中:100-待确认发薪名单;150-待提交审批;200-审批中;300-审批被拒绝;350-审批被撤回;360-审批被撤销;375-审批通过;400-已封存。 */
|
|
11194
|
+
activity_status?: number;
|
|
11195
|
+
}
|
|
11196
|
+
export interface PaymentActivityDetail {
|
|
11197
|
+
/** 员工的唯一标识 */
|
|
11198
|
+
employee_id?: string;
|
|
11199
|
+
/** 发薪明细详情 */
|
|
11200
|
+
payment_details?: PaymentAccountingItem[];
|
|
11201
|
+
}
|
|
11202
|
+
export interface PaymentDetail {
|
|
11203
|
+
/** 员工的唯一标识 */
|
|
11204
|
+
employee_id?: string;
|
|
11205
|
+
/** 发薪明细所在的发薪活动 ID */
|
|
11206
|
+
activity_id?: string;
|
|
11207
|
+
/** 发薪明细详情 */
|
|
11208
|
+
payment_accounting_items?: PaymentAccountingItem[];
|
|
11209
|
+
}
|
|
10558
11210
|
export interface Period {
|
|
10559
11211
|
/** id */
|
|
10560
11212
|
id?: string;
|
|
@@ -10613,18 +11265,20 @@ export interface PermissionNameInfo {
|
|
|
10613
11265
|
}
|
|
10614
11266
|
export interface PermissionPublic {
|
|
10615
11267
|
/** 允许内容被分享到组织外 */
|
|
10616
|
-
|
|
10617
|
-
/**
|
|
11268
|
+
external_access_entity?: 'open' | 'closed' | 'allow_share_partner_tenant';
|
|
11269
|
+
/** 谁可以创建副本、打印、下载 */
|
|
10618
11270
|
security_entity?: 'anyone_can_view' | 'anyone_can_edit' | 'only_full_access';
|
|
10619
11271
|
/** 谁可以评论 */
|
|
10620
11272
|
comment_entity?: 'anyone_can_view' | 'anyone_can_edit';
|
|
10621
|
-
/**
|
|
10622
|
-
share_entity?: 'anyone' | 'same_tenant'
|
|
11273
|
+
/** 谁可以添加和管理协作者-组织维度 */
|
|
11274
|
+
share_entity?: 'anyone' | 'same_tenant';
|
|
11275
|
+
/** 谁可以添加和管理协作者-协作者维度 */
|
|
11276
|
+
manage_collaborator_entity?: 'collaborator_can_view' | 'collaborator_can_edit' | 'collaborator_full_access';
|
|
10623
11277
|
/** 链接分享设置 */
|
|
10624
|
-
link_share_entity?: 'tenant_readable' | 'tenant_editable' | 'anyone_readable' | 'anyone_editable' | 'closed';
|
|
10625
|
-
/**
|
|
10626
|
-
|
|
10627
|
-
/**
|
|
11278
|
+
link_share_entity?: 'tenant_readable' | 'tenant_editable' | 'partner_tenant_readable' | 'partner_tenant_editable' | 'anyone_readable' | 'anyone_editable' | 'closed';
|
|
11279
|
+
/** 谁可以复制内容 */
|
|
11280
|
+
copy_entity?: 'anyone_can_view' | 'anyone_can_edit' | 'only_full_access';
|
|
11281
|
+
/** 节点是否已加锁,加锁之后不再继承父级页面的权限 */
|
|
10628
11282
|
lock_switch?: boolean;
|
|
10629
11283
|
}
|
|
10630
11284
|
export interface PermissionScopeRule {
|
|
@@ -10845,6 +11499,16 @@ export interface Pin {
|
|
|
10845
11499
|
/** Pin的创建时间(毫秒级时间戳) */
|
|
10846
11500
|
create_time?: string;
|
|
10847
11501
|
}
|
|
11502
|
+
export interface Place {
|
|
11503
|
+
/** ID */
|
|
11504
|
+
place_id: string;
|
|
11505
|
+
/** i18n文本 */
|
|
11506
|
+
place_name?: I18nText;
|
|
11507
|
+
/** 是否启用 */
|
|
11508
|
+
is_enabled?: boolean;
|
|
11509
|
+
/** i18n文本 */
|
|
11510
|
+
description?: I18nText;
|
|
11511
|
+
}
|
|
10848
11512
|
export interface PlanCondition {
|
|
10849
11513
|
/** 适用范围左值 */
|
|
10850
11514
|
left_type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
|
|
@@ -12246,6 +12910,22 @@ export interface RecordScore {
|
|
|
12246
12910
|
/** 满分,即面试评价的总分 */
|
|
12247
12911
|
total_score?: number;
|
|
12248
12912
|
}
|
|
12913
|
+
export interface RecRule {
|
|
12914
|
+
/** 记录筛选条件 */
|
|
12915
|
+
conditions?: RecRuleCondition[];
|
|
12916
|
+
/** 多个筛选条件的关系 */
|
|
12917
|
+
conjunction?: 'and' | 'or';
|
|
12918
|
+
/** 其他记录权限,仅在table_perm为2时有效 */
|
|
12919
|
+
other_perm?: 0 | 1;
|
|
12920
|
+
}
|
|
12921
|
+
export interface RecRuleCondition {
|
|
12922
|
+
/** 字段名 */
|
|
12923
|
+
field_name: string;
|
|
12924
|
+
/** 运算符 */
|
|
12925
|
+
operator?: 'is' | 'isNot' | 'contains' | 'doesNotContain' | 'isEmpty' | 'isNotEmpty';
|
|
12926
|
+
/** 单选或多选字段的选项id */
|
|
12927
|
+
values?: string[];
|
|
12928
|
+
}
|
|
12249
12929
|
export interface ReferenceObject {
|
|
12250
12930
|
/** cpst_item(项目)、 cpst_indicator(指标) */
|
|
12251
12931
|
api_name?: 'cpst_item' | 'cpst_indicator';
|
|
@@ -12657,6 +13337,94 @@ export interface ResidentTaxForUpdate {
|
|
|
12657
13337
|
/** 年度 */
|
|
12658
13338
|
year_resident_tax?: string;
|
|
12659
13339
|
}
|
|
13340
|
+
export interface ResignedUserResouceReceiver {
|
|
13341
|
+
/** 部门群owner */
|
|
13342
|
+
department_chat_acceptor_employee_id?: string;
|
|
13343
|
+
/** 外部群owner */
|
|
13344
|
+
external_chat_acceptor_employee_id?: string;
|
|
13345
|
+
/** 文档owner */
|
|
13346
|
+
docs_acceptor_employee_id?: string;
|
|
13347
|
+
/** 日历owner */
|
|
13348
|
+
calendar_acceptor_employee_id?: string;
|
|
13349
|
+
/** 开放平台应用owner */
|
|
13350
|
+
application_acceptor_employee_id?: string;
|
|
13351
|
+
/** 服务台owner */
|
|
13352
|
+
helpdesk_acceptor_employee_id?: string;
|
|
13353
|
+
/** 审批owner */
|
|
13354
|
+
approval_acceptor_employee_id?: string;
|
|
13355
|
+
/** 邮件owner */
|
|
13356
|
+
email_acceptor_employee_id?: string;
|
|
13357
|
+
/** 妙记Owner */
|
|
13358
|
+
minutes_acceptor_employee_id?: string;
|
|
13359
|
+
/** 飞书问卷Owner */
|
|
13360
|
+
survey_acceptor_employee_id?: string;
|
|
13361
|
+
/** 集成平台资源Owner */
|
|
13362
|
+
anycross_acceptor_employee_id?: string;
|
|
13363
|
+
}
|
|
13364
|
+
export declare const enum ResignReasonDirectory {
|
|
13365
|
+
/** 置空 */
|
|
13366
|
+
ResignReasonDirectoryEmpty = "0",
|
|
13367
|
+
/** 薪酬不符合预期 */
|
|
13368
|
+
ResignReasonDirectoryNotSatisfiedWithSalary = "1",
|
|
13369
|
+
/** 工作时间过长 */
|
|
13370
|
+
ResignReasonDirectoryWorkingPressure = "2",
|
|
13371
|
+
/** 不满意工作内容 */
|
|
13372
|
+
ResignReasonDirectoryNotSatisfiedWithWorkContent = "3",
|
|
13373
|
+
/** 不认可上级或管理层 */
|
|
13374
|
+
ResignReasonDirectoryLackOfRecognitionOfLeader = "4",
|
|
13375
|
+
/** 职业发展机会有限 */
|
|
13376
|
+
ResignReasonDirectoryCareerDevelopment = "5",
|
|
13377
|
+
/** 对公司文化缺乏认同 */
|
|
13378
|
+
ResignReasonDirectoryLackOfRecognitionOfCompanyCulture = "6",
|
|
13379
|
+
/** 组织架构调整(主动离职) */
|
|
13380
|
+
ResignReasonDirectoryActiveOrganizeBusinessAdjustment = "7",
|
|
13381
|
+
/** 合同到期 */
|
|
13382
|
+
ResignReasonDirectoryContractNotRenewed = "8",
|
|
13383
|
+
/** 跳槽 */
|
|
13384
|
+
ResignReasonDirectoryJobHopping = "9",
|
|
13385
|
+
/** 转行 */
|
|
13386
|
+
ResignReasonDirectoryChangeCareer = "10",
|
|
13387
|
+
/** 家庭原因 */
|
|
13388
|
+
ResignReasonDirectoryFamily = "11",
|
|
13389
|
+
/** 健康状况不佳 */
|
|
13390
|
+
ResignReasonDirectoryPoorHealth = "12",
|
|
13391
|
+
/** 工作地点原因 */
|
|
13392
|
+
ResignReasonDirectoryWorkPlace = "13",
|
|
13393
|
+
/** 其他(主动离职) */
|
|
13394
|
+
ResignReasonDirectoryActiveResignationOtherReason = "14",
|
|
13395
|
+
/** 意外 */
|
|
13396
|
+
ResignReasonDirectoryAccident = "15",
|
|
13397
|
+
/** 身故 */
|
|
13398
|
+
ResignReasonDirectoryDeath = "16",
|
|
13399
|
+
/** 解雇 */
|
|
13400
|
+
ResignReasonDirectoryFired = "17",
|
|
13401
|
+
/** 试用期不通过 */
|
|
13402
|
+
ResignReasonDirectoryFailedToPassProbationPeriod = "18",
|
|
13403
|
+
/** 工作表现不佳 */
|
|
13404
|
+
ResignReasonDirectoryNotUpToTheJob = "19",
|
|
13405
|
+
/** 工作产出低 */
|
|
13406
|
+
ResignReasonDirectoryLowWorkOutput = "20",
|
|
13407
|
+
/** 组织架构调整(被动离职) */
|
|
13408
|
+
ResignReasonDirectoryPassiveOrganizeBusinessAdjustment = "21",
|
|
13409
|
+
/** 违纪 */
|
|
13410
|
+
ResignReasonDirectoryBreachOfCompanyOrdinance = "22",
|
|
13411
|
+
/** 违法 */
|
|
13412
|
+
ResignReasonDirectoryBreakTheLaw = "23",
|
|
13413
|
+
/** 其他(被动离职) */
|
|
13414
|
+
ResignReasonDirectoryPassiveResignationOtherReason = "24",
|
|
13415
|
+
/** 其他(其他) */
|
|
13416
|
+
ResignReasonDirectoryOtherReason = "25"
|
|
13417
|
+
}
|
|
13418
|
+
export declare const enum ResignTypeDirectory {
|
|
13419
|
+
/** 置空 */
|
|
13420
|
+
ResignTypeDirectoryEmpty = "0",
|
|
13421
|
+
/** 主动 */
|
|
13422
|
+
ResignTypeDirectoryAcitve = "1",
|
|
13423
|
+
/** 被动 */
|
|
13424
|
+
ResignTypeDirectoryPassive = "2",
|
|
13425
|
+
/** 其他 */
|
|
13426
|
+
ResignTypeDirectoryyOther = "3"
|
|
13427
|
+
}
|
|
12660
13428
|
export interface ResourceAcceptor {
|
|
12661
13429
|
/** 资源处理类型 */
|
|
12662
13430
|
processing_type: '1' | '2' | '3';
|
|
@@ -12829,29 +13597,47 @@ export interface ResumeSource {
|
|
|
12829
13597
|
/** 来源类型 */
|
|
12830
13598
|
resume_source_type?: string;
|
|
12831
13599
|
}
|
|
13600
|
+
export interface ResurrectEmployeeOptions {
|
|
13601
|
+
/** License订阅ID */
|
|
13602
|
+
subscription_ids?: string[];
|
|
13603
|
+
}
|
|
12832
13604
|
export interface ReviewDetail {
|
|
12833
|
-
/**
|
|
12834
|
-
|
|
12835
|
-
/**
|
|
12836
|
-
unit_id?: string;
|
|
12837
|
-
/** 评估控件 ID */
|
|
12838
|
-
field_id?: string;
|
|
12839
|
-
/** 评估人 ID */
|
|
13605
|
+
/** 评估题 ID,指评估内容中的每个评估项或填写项 */
|
|
13606
|
+
field_id: string;
|
|
13607
|
+
/** 评估人 ID。如果开启了 360 匿名评估,并且是对全部查看者匿名,则不返回该值 */
|
|
12840
13608
|
reviewer_user_id?: User;
|
|
12841
|
-
/**
|
|
13609
|
+
/** 该评估题的最后提交时间 */
|
|
12842
13610
|
submit_time?: string;
|
|
12843
|
-
/** 评估项 ID */
|
|
13611
|
+
/** 评估项 ID(不包含子评估项),option_id 或 score 有值的时候有值 */
|
|
12844
13612
|
indicator_id?: string;
|
|
12845
|
-
/**
|
|
13613
|
+
/** 评估等级 ID */
|
|
12846
13614
|
option_id?: string;
|
|
12847
|
-
/**
|
|
13615
|
+
/** 评分 */
|
|
12848
13616
|
score?: string;
|
|
12849
|
-
/**
|
|
13617
|
+
/** 填写项填写的文本 */
|
|
12850
13618
|
text?: string;
|
|
13619
|
+
/** 标签填写题的 ID */
|
|
13620
|
+
tag_based_question_id?: string;
|
|
13621
|
+
/** 标签填写项的内容 */
|
|
13622
|
+
tag_text_item_data?: TagText[];
|
|
12851
13623
|
/** 绩效系数值 */
|
|
12852
|
-
|
|
13624
|
+
perf_coefficient_value?: string;
|
|
13625
|
+
/** 子评估项内容 */
|
|
13626
|
+
sub_indicator_data?: SubIndicator[];
|
|
13627
|
+
/** 评估的目标数据,当评估内容是对目标(O)或关键举措(KR)评估时有值 */
|
|
13628
|
+
objective_data?: ObjectiveData[];
|
|
13629
|
+
/** 评估的指标,当评估内容是对指标评估时有值 */
|
|
13630
|
+
metric_data?: MetricData[];
|
|
13631
|
+
/** 终评环节填写内容的来源(仅终评环节的数据有值) */
|
|
13632
|
+
leader_review_data_source?: 'review' | 'calibaration' | 'reconsideration';
|
|
13633
|
+
/** 工作/总结类型的文本内容 */
|
|
13634
|
+
multi_texts?: string[];
|
|
12853
13635
|
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
12854
13636
|
richtext?: string;
|
|
13637
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
13638
|
+
multi_richtexts?: string[];
|
|
13639
|
+
/** 该评估题是否是首要评估项 */
|
|
13640
|
+
is_principal_review_item?: boolean;
|
|
12855
13641
|
}
|
|
12856
13642
|
export interface Reviewee {
|
|
12857
13643
|
/** 被评估人 ID */
|
|
@@ -12876,16 +13662,34 @@ export interface ReviewProfile {
|
|
|
12876
13662
|
semester_id?: string;
|
|
12877
13663
|
/** 绩效评估项目 ID */
|
|
12878
13664
|
activity_id?: string;
|
|
13665
|
+
/** 被评估人在该周期对应的后台评估模板 ID */
|
|
13666
|
+
review_template_id?: string;
|
|
12879
13667
|
/** 本周期内各环节内容 */
|
|
12880
13668
|
stages?: ReviewStage[];
|
|
12881
13669
|
}
|
|
13670
|
+
export interface ReviewRecord {
|
|
13671
|
+
/** 评估人的环节状态。各类型的环节分别有以下环节状态: 绩效结果查看环节状态 可选值: 0:已开通,绩效结果已开通,未发起复议也无需确认结果 1:待确认,绩效结果已开通但被评估人还未确认结果,确认的截止时间还未到达 2:已截止,绩效结果已开通但被评估人还未确认结果,确认的截止时间已到达 3:已确认,绩效结果已开通,被评估人已确认结果 4:已复议,绩效结果已开通,且被评估人已发起 绩效结果复议环节状态 可选值: 1:待完成,任务未完成 2:已截止,任务的截止时间已到达,且任务未完成 3:已完成,任务已完成 除上述类型外的其他环节类型状态 可选值: 0:未开始,任务的开始时间未到达 1:待完成,任务的开始时间到达而截止时间未到达,且任务未完成 2:已截止,任务的截止时间已到达,且任务未完成 3:已完成,任务已完成 */
|
|
13672
|
+
progress?: number;
|
|
13673
|
+
/** 评估记录中的评估内容明细 */
|
|
13674
|
+
units?: ReviewUnit[];
|
|
13675
|
+
/** 360 ° 评估记录的信息。如果开启了 360 匿名评估,并且是对全部查看者匿名,则不返回评估人的部分信息 */
|
|
13676
|
+
invited_review_record_info?: InvitedReviewRecordInfo;
|
|
13677
|
+
/** 项目上级评估记录信息 */
|
|
13678
|
+
direct_project_leader_record_info?: DirectProjectLeaderRecordInfo;
|
|
13679
|
+
/** 评估记录 ID */
|
|
13680
|
+
record_id?: string;
|
|
13681
|
+
}
|
|
12882
13682
|
export interface ReviewStage {
|
|
13683
|
+
/** 环节 ID */
|
|
13684
|
+
stage_id?: string;
|
|
12883
13685
|
/** 环节类型 */
|
|
12884
|
-
stage_type?:
|
|
12885
|
-
/**
|
|
12886
|
-
|
|
12887
|
-
/**
|
|
12888
|
-
|
|
13686
|
+
stage_type?: 'summarize_key_outputs' | 'review' | 'communication_and_open_result' | 'view_result' | 'reconsideration' | 'leader_review';
|
|
13687
|
+
/** 该环节对应的环节模板的 ID */
|
|
13688
|
+
template_id?: string;
|
|
13689
|
+
/** 评估内容记录。多人评估的环节有多份记录,比如 360 评估环节。如果开启了 360 匿名评估,并且是对全部查看者匿名,则评估记录数低于匿名下限,则不返回 360 评估记录 */
|
|
13690
|
+
records?: ReviewRecord[];
|
|
13691
|
+
/** 评估型环节的执行人角色 */
|
|
13692
|
+
review_stage_role?: 'reviewee' | 'invited_reviewer' | 'solid_line_leader' | 'dotted_line_leader' | 'secondary_solid_line_leader' | 'direct_project_leader' | 'custom_review_role' | 'metric_reviewer';
|
|
12889
13693
|
}
|
|
12890
13694
|
export interface ReviewTemplate {
|
|
12891
13695
|
/** 环节模板列表 */
|
|
@@ -12901,6 +13705,14 @@ export interface ReviewTemplate {
|
|
|
12901
13705
|
/** 状态 */
|
|
12902
13706
|
status?: string;
|
|
12903
13707
|
}
|
|
13708
|
+
export interface ReviewUnit {
|
|
13709
|
+
/** 评估内容 ID */
|
|
13710
|
+
unit_id?: string;
|
|
13711
|
+
/** 是否为不了解。当评估人选不了解时,会返回为 true,其他时候不返回。 */
|
|
13712
|
+
is_unknown?: boolean;
|
|
13713
|
+
/** 评估题列表,指评估内容中的每个题,可能是评估项或者填写项 */
|
|
13714
|
+
data?: ReviewDetail[];
|
|
13715
|
+
}
|
|
12904
13716
|
export interface Richtext {
|
|
12905
13717
|
/** 内容 */
|
|
12906
13718
|
content?: string;
|
|
@@ -12908,20 +13720,16 @@ export interface Richtext {
|
|
|
12908
13720
|
type?: string;
|
|
12909
13721
|
}
|
|
12910
13722
|
export interface Role {
|
|
12911
|
-
/**
|
|
12912
|
-
|
|
12913
|
-
/**
|
|
12914
|
-
|
|
12915
|
-
/**
|
|
12916
|
-
|
|
12917
|
-
/**
|
|
12918
|
-
|
|
12919
|
-
/**
|
|
12920
|
-
|
|
12921
|
-
/** 停启用状态 */
|
|
12922
|
-
role_status?: 1 | 2;
|
|
12923
|
-
/** 角色类型 */
|
|
12924
|
-
role_type?: 1 | 2 | 5;
|
|
13723
|
+
/** 自定义权限的名字 */
|
|
13724
|
+
role_name: string;
|
|
13725
|
+
/** 数据表权限 */
|
|
13726
|
+
table_roles: TableRole[];
|
|
13727
|
+
/** 自定义权限的id */
|
|
13728
|
+
role_id?: string;
|
|
13729
|
+
/** block权限 */
|
|
13730
|
+
block_roles?: BlockRole[];
|
|
13731
|
+
/** base权限 */
|
|
13732
|
+
base_rule?: Record<string, number>;
|
|
12925
13733
|
}
|
|
12926
13734
|
export interface RoleAuthorization {
|
|
12927
13735
|
/** 雇员 ID */
|
|
@@ -13112,26 +13920,42 @@ export interface RoomStatus {
|
|
|
13112
13920
|
resume_notice?: boolean;
|
|
13113
13921
|
}
|
|
13114
13922
|
export interface Rule {
|
|
13115
|
-
/**
|
|
13923
|
+
/** 规则 id */
|
|
13116
13924
|
id?: string;
|
|
13117
|
-
/**
|
|
13118
|
-
|
|
13119
|
-
/**
|
|
13120
|
-
|
|
13121
|
-
/**
|
|
13122
|
-
|
|
13123
|
-
/**
|
|
13124
|
-
|
|
13125
|
-
/**
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
/**
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
/**
|
|
13134
|
-
|
|
13925
|
+
/** 匹配条件 */
|
|
13926
|
+
condition: RuleCondition;
|
|
13927
|
+
/** 匹配命中后的操作 */
|
|
13928
|
+
action: RuleAction;
|
|
13929
|
+
/** 是否终点规则 */
|
|
13930
|
+
ignore_the_rest_of_rules: boolean;
|
|
13931
|
+
/** 规则名称 */
|
|
13932
|
+
name: string;
|
|
13933
|
+
/** 是否启用 */
|
|
13934
|
+
is_enable: boolean;
|
|
13935
|
+
}
|
|
13936
|
+
export interface RuleAction {
|
|
13937
|
+
/** 匹配中规则后的操作列表 */
|
|
13938
|
+
items: RuleActionItem[];
|
|
13939
|
+
}
|
|
13940
|
+
export interface RuleActionItem {
|
|
13941
|
+
/** 操作类型 */
|
|
13942
|
+
type: 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
13943
|
+
/** 当 type 为移动到文件夹时,该字段填文件夹的 id */
|
|
13944
|
+
input?: string;
|
|
13945
|
+
}
|
|
13946
|
+
export interface RuleCondition {
|
|
13947
|
+
/** 匹配类型 */
|
|
13948
|
+
match_type: 1 | 2;
|
|
13949
|
+
/** 匹配规则列表 */
|
|
13950
|
+
items: RuleConditionItem[];
|
|
13951
|
+
}
|
|
13952
|
+
export interface RuleConditionItem {
|
|
13953
|
+
/** 匹配条件左值 */
|
|
13954
|
+
type: 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | 16;
|
|
13955
|
+
/** 匹配条件操作符 */
|
|
13956
|
+
operator?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10;
|
|
13957
|
+
/** 匹配条件右值 */
|
|
13958
|
+
input?: string;
|
|
13135
13959
|
}
|
|
13136
13960
|
export interface RuleDetail {
|
|
13137
13961
|
/** 开始生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.时间戳必须是所在时区当天的零点时间戳,如时区为Asia/Shanghai时区时的1649606400 */
|
|
@@ -13364,6 +14188,24 @@ export interface SearchObjectParam {
|
|
|
13364
14188
|
/** 排序条件 */
|
|
13365
14189
|
order_by?: OrderCondition;
|
|
13366
14190
|
}
|
|
14191
|
+
export interface SeatActivity {
|
|
14192
|
+
/** aPaaS 产品用户的 ID */
|
|
14193
|
+
user_id?: number;
|
|
14194
|
+
/** aPaaS 产品应用的 namespace */
|
|
14195
|
+
namespace?: string;
|
|
14196
|
+
/** 席位状态,枚举值:1. in_use 2. released */
|
|
14197
|
+
status?: 'in_use' | 'released';
|
|
14198
|
+
/** 用户使用席位访问应用且席位验证通过时,记录或更新的时间 */
|
|
14199
|
+
active_time?: number;
|
|
14200
|
+
}
|
|
14201
|
+
export interface SeatAssignment {
|
|
14202
|
+
/** aPaaS 产品用户的 ID */
|
|
14203
|
+
user_id?: number;
|
|
14204
|
+
/** aPaaS 产品应用的 namespace */
|
|
14205
|
+
namespace?: string;
|
|
14206
|
+
/** 席位状态,枚举值:1. in_use 2. released */
|
|
14207
|
+
status?: 'in_use' | 'released';
|
|
14208
|
+
}
|
|
13367
14209
|
export interface Section {
|
|
13368
14210
|
/** 分区标题 */
|
|
13369
14211
|
title?: string;
|
|
@@ -13388,6 +14230,16 @@ export interface SecurityGroup {
|
|
|
13388
14230
|
/** 组织管理维度 */
|
|
13389
14231
|
org_truncation?: OrgTruncation[];
|
|
13390
14232
|
}
|
|
14233
|
+
export interface SegmentValue {
|
|
14234
|
+
/** 分段开始时间-毫秒级时间戳,[start_time, end_time] 是一个左闭右闭区间。 */
|
|
14235
|
+
start_time?: string;
|
|
14236
|
+
/** 分段结束时间-毫秒级时间戳,[start_time, end_time] 是一个左闭右闭区间。 */
|
|
14237
|
+
end_time?: string;
|
|
14238
|
+
/** 引用类型算薪项分段展示值 */
|
|
14239
|
+
reference_values?: I18nContent[];
|
|
14240
|
+
/** 算薪项分段原始值 */
|
|
14241
|
+
original_value?: string;
|
|
14242
|
+
}
|
|
13391
14243
|
export interface SelectOptionResult {
|
|
13392
14244
|
/** 选项 ID */
|
|
13393
14245
|
option_id?: string;
|
|
@@ -13476,6 +14328,16 @@ export interface Sentence {
|
|
|
13476
14328
|
/** 该句子的说话人名称 */
|
|
13477
14329
|
speaker_name?: I18n;
|
|
13478
14330
|
}
|
|
14331
|
+
export interface SetEmployeePreResigned {
|
|
14332
|
+
/** 离职日期 */
|
|
14333
|
+
resign_date: string;
|
|
14334
|
+
/** 离职原因 */
|
|
14335
|
+
resign_reason: ResignReasonDirectory;
|
|
14336
|
+
/** 离职类型 */
|
|
14337
|
+
resign_type: ResignTypeDirectory;
|
|
14338
|
+
/** 离职备注 */
|
|
14339
|
+
resign_remark?: string;
|
|
14340
|
+
}
|
|
13479
14341
|
export interface Setting {
|
|
13480
14342
|
/** 谁可以创建空间的一级页面: "admin_and_member" = 管理员和成员 "admin" - 仅管理员 */
|
|
13481
14343
|
create_setting?: string;
|
|
@@ -13484,6 +14346,26 @@ export interface Setting {
|
|
|
13484
14346
|
/** 可阅读用户可否评论: "allow" - 允许 "not_allow" - 不允许 */
|
|
13485
14347
|
comment_setting?: string;
|
|
13486
14348
|
}
|
|
14349
|
+
export interface ShareDepartment {
|
|
14350
|
+
/** 部门open ID */
|
|
14351
|
+
open_department_id?: string;
|
|
14352
|
+
/** i18n文本 */
|
|
14353
|
+
name?: I18nText;
|
|
14354
|
+
}
|
|
14355
|
+
export interface ShareGroup {
|
|
14356
|
+
/** 用户组的open_id */
|
|
14357
|
+
open_group_id?: string;
|
|
14358
|
+
/** i18n文本 */
|
|
14359
|
+
name?: I18nText;
|
|
14360
|
+
}
|
|
14361
|
+
export interface ShareUser {
|
|
14362
|
+
/** user open ID */
|
|
14363
|
+
open_user_id?: string;
|
|
14364
|
+
/** i18n文本 */
|
|
14365
|
+
name?: I18nText;
|
|
14366
|
+
/** 用户的头像 */
|
|
14367
|
+
avatar?: ImageLink;
|
|
14368
|
+
}
|
|
13487
14369
|
export interface Sheet {
|
|
13488
14370
|
/** 电子表格文档 Token。格式为 {SpreadsheetToken}_{SheetID},其中 SpreadsheetToken 是一篇电子表格的唯一标识,SheetID 是一张工作表的唯一标识,使用时请注意拆分。 */
|
|
13489
14371
|
token?: string;
|
|
@@ -13736,6 +14618,20 @@ export interface Subdivision {
|
|
|
13736
14618
|
/** 行政区类型,枚举值可通过文档【飞书人事枚举常量】行政区类型(subdivision_type)枚举定义部分获得 */
|
|
13737
14619
|
subdivision_type: Enum;
|
|
13738
14620
|
}
|
|
14621
|
+
export interface SubIndicator {
|
|
14622
|
+
/** 子评估项的 ID */
|
|
14623
|
+
field_id: string;
|
|
14624
|
+
/** 子评估项的评估等级 ID */
|
|
14625
|
+
indicator_id?: string;
|
|
14626
|
+
/** 子评估项的评分 */
|
|
14627
|
+
option_id?: string;
|
|
14628
|
+
/** 子评估项的填写项标题名称 */
|
|
14629
|
+
score?: string;
|
|
14630
|
+
/** 评估人在该子评估项填写的文本 */
|
|
14631
|
+
text?: string;
|
|
14632
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
14633
|
+
richtext?: string;
|
|
14634
|
+
}
|
|
13739
14635
|
export interface Subject {
|
|
13740
14636
|
/** ID */
|
|
13741
14637
|
id?: string;
|
|
@@ -13997,6 +14893,30 @@ export interface TableProperty {
|
|
|
13997
14893
|
/** 设置首列为标题列 */
|
|
13998
14894
|
header_column?: boolean;
|
|
13999
14895
|
}
|
|
14896
|
+
export interface TableRole {
|
|
14897
|
+
/** 数据表权限 */
|
|
14898
|
+
table_perm: 0 | 1 | 2 | 4;
|
|
14899
|
+
/** 数据表名 */
|
|
14900
|
+
table_name?: string;
|
|
14901
|
+
/** 数据表ID */
|
|
14902
|
+
table_id?: string;
|
|
14903
|
+
/** 记录筛选条件,在table_perm为1或2时有意义,用于指定可编辑或可阅读某些记录 */
|
|
14904
|
+
rec_rule?: RecRule;
|
|
14905
|
+
/** 记录筛选条件,在rec_rule.Perm为2时有意义,用于指定剩余可阅读的记录 */
|
|
14906
|
+
other_rec_rule?: OtherRecRule;
|
|
14907
|
+
/** 字段权限,仅在table_perm为2时有意义,设置字段可编辑或可阅读 */
|
|
14908
|
+
field_perm?: Record<string, number>;
|
|
14909
|
+
/** 新增记录权限,仅在table_perm为2时有意义,用于设置记录是否可以新增 */
|
|
14910
|
+
allow_add_record?: boolean;
|
|
14911
|
+
/** 删除记录权限,仅在table_perm为2时有意义,用于设置记录是否可以删除 */
|
|
14912
|
+
allow_delete_record?: boolean;
|
|
14913
|
+
/** 视图权限 */
|
|
14914
|
+
view_perm?: 1 | 2;
|
|
14915
|
+
/** 可读的视图集合,仅在view_perm为1时有意义,未设置表示所有视图可读 */
|
|
14916
|
+
view_rules?: Record<string, number>;
|
|
14917
|
+
/** 可读的视图集合,仅在view_perm为1时有意义,未设置表示所有视图可读 */
|
|
14918
|
+
field_action_rules?: Record<string, Record<string, number>>;
|
|
14919
|
+
}
|
|
14000
14920
|
export interface TagI18nName {
|
|
14001
14921
|
/** 语言 */
|
|
14002
14922
|
locale: string;
|
|
@@ -14023,6 +14943,14 @@ export interface TagInfoWithBindVersion {
|
|
|
14023
14943
|
/** 绑定时间 */
|
|
14024
14944
|
bind_version?: string;
|
|
14025
14945
|
}
|
|
14946
|
+
export interface TagText {
|
|
14947
|
+
/** 标签 ID */
|
|
14948
|
+
tag_text_id?: string;
|
|
14949
|
+
/** 评估人在该标签下填写的文本 */
|
|
14950
|
+
tag_text?: string;
|
|
14951
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
14952
|
+
tag_richtext?: string;
|
|
14953
|
+
}
|
|
14026
14954
|
export interface Talent {
|
|
14027
14955
|
/** 人才ID */
|
|
14028
14956
|
id?: string;
|
|
@@ -15262,6 +16190,80 @@ export interface UpdateBlockRequest {
|
|
|
15262
16190
|
/** 更新任务 Block 请求 */
|
|
15263
16191
|
update_task?: UpdateTaskRequest;
|
|
15264
16192
|
}
|
|
16193
|
+
export interface UpdateDepartment {
|
|
16194
|
+
/** 自定义部门ID */
|
|
16195
|
+
custom_department_id?: string;
|
|
16196
|
+
/** i18n文本 */
|
|
16197
|
+
name?: I18nText;
|
|
16198
|
+
/** 父部门ID */
|
|
16199
|
+
parent_department_id?: string;
|
|
16200
|
+
/** 部门负责人 */
|
|
16201
|
+
leaders?: DepartmentLeader[];
|
|
16202
|
+
/** 在上级部门下的排序权重 */
|
|
16203
|
+
order_weight?: string;
|
|
16204
|
+
/** 是否启用 */
|
|
16205
|
+
enabled_status?: boolean;
|
|
16206
|
+
/** 自定义字段 */
|
|
16207
|
+
custom_field_values?: CustomFieldValue[];
|
|
16208
|
+
}
|
|
16209
|
+
export interface UpdateEmployee {
|
|
16210
|
+
/** 姓名 */
|
|
16211
|
+
name?: UpsertName;
|
|
16212
|
+
/** 员工的联系手机号 */
|
|
16213
|
+
mobile?: string;
|
|
16214
|
+
/** 用户的user_id */
|
|
16215
|
+
custom_employee_id?: string;
|
|
16216
|
+
/** 头像的文件key */
|
|
16217
|
+
avatar_key?: string;
|
|
16218
|
+
/** 员工的联系邮箱 */
|
|
16219
|
+
email?: string;
|
|
16220
|
+
/** 员工的企业邮箱 */
|
|
16221
|
+
enterprise_email?: string;
|
|
16222
|
+
/** 性别 */
|
|
16223
|
+
gender?: GenderDirectory;
|
|
16224
|
+
/** 部门排序 */
|
|
16225
|
+
employee_order_in_departments?: UpsertUserDepartmentSortInfo[];
|
|
16226
|
+
/** 背景图的key */
|
|
16227
|
+
background_image_key?: string;
|
|
16228
|
+
/** 员工的个性签名 */
|
|
16229
|
+
description?: string;
|
|
16230
|
+
/** 员工直属上级的user_id */
|
|
16231
|
+
leader_id?: string;
|
|
16232
|
+
/** 员工虚线上级的user_id */
|
|
16233
|
+
dotted_line_leader_ids?: string[];
|
|
16234
|
+
/** 工作地国家/地区 */
|
|
16235
|
+
work_country_or_region?: string;
|
|
16236
|
+
/** 工作地点 */
|
|
16237
|
+
work_place_id?: string;
|
|
16238
|
+
/** i18n文本 */
|
|
16239
|
+
work_station?: I18nText;
|
|
16240
|
+
/** 工号 */
|
|
16241
|
+
job_number?: string;
|
|
16242
|
+
/** 分机号 */
|
|
16243
|
+
extension_number?: string;
|
|
16244
|
+
/** 入职日期 */
|
|
16245
|
+
join_date?: string;
|
|
16246
|
+
/** 员工类型 */
|
|
16247
|
+
employment_type?: EmployeeTypeDirectory;
|
|
16248
|
+
/** 职务ID */
|
|
16249
|
+
job_title_id?: string;
|
|
16250
|
+
/** 职级ID */
|
|
16251
|
+
job_level_id?: string;
|
|
16252
|
+
/** 序列ID */
|
|
16253
|
+
job_family_id?: string;
|
|
16254
|
+
/** 离职日期 */
|
|
16255
|
+
resign_date?: string;
|
|
16256
|
+
/** 离职原因 */
|
|
16257
|
+
resign_reason?: ResignReasonDirectory;
|
|
16258
|
+
/** 离职备注信息 */
|
|
16259
|
+
resign_remark?: string;
|
|
16260
|
+
/** 离职类型 */
|
|
16261
|
+
resign_type?: ResignTypeDirectory;
|
|
16262
|
+
/** 暂停 true, false 恢复暂停 */
|
|
16263
|
+
is_frozen?: boolean;
|
|
16264
|
+
/** 自定义字段 */
|
|
16265
|
+
custom_field_values?: CustomFieldValue[];
|
|
16266
|
+
}
|
|
15265
16267
|
export interface UpdateGridColumnWidthRatioRequest {
|
|
15266
16268
|
/** 更新列宽比例时,需要传入所有列宽占比 */
|
|
15267
16269
|
width_ratios: number[];
|
|
@@ -15299,6 +16301,30 @@ export interface UpdateTextStyleRequest {
|
|
|
15299
16301
|
/** 应更新的字段,必须至少指定一个字段。例如,要调整 Block 对齐方式,请设置 fields 为 [1]。 */
|
|
15300
16302
|
fields: (1 | 2 | 3 | 4 | 5 | 6 | 7)[];
|
|
15301
16303
|
}
|
|
16304
|
+
export interface UpsertName {
|
|
16305
|
+
/** i18n文本 */
|
|
16306
|
+
name: I18nText;
|
|
16307
|
+
/** 别名 */
|
|
16308
|
+
another_name?: string;
|
|
16309
|
+
}
|
|
16310
|
+
export interface UpsertUserDepartmentSortInfo {
|
|
16311
|
+
/** 部门id */
|
|
16312
|
+
department_id?: string;
|
|
16313
|
+
/** 用户在部门内的排序权重 */
|
|
16314
|
+
order_weight_in_deparment?: string;
|
|
16315
|
+
/** 用户多个部门间的排序权重 */
|
|
16316
|
+
order_weight_among_deparments?: string;
|
|
16317
|
+
/** 是否为用户的主部门(用户只能有一个主部门,且排序权重应最大,不填则默认使用排序第一的部门作为主部门) */
|
|
16318
|
+
is_main_department?: boolean;
|
|
16319
|
+
}
|
|
16320
|
+
export interface UrlValue {
|
|
16321
|
+
/** i18n文本 */
|
|
16322
|
+
link_text: I18nText;
|
|
16323
|
+
/** 移动端网页链接 */
|
|
16324
|
+
url: string;
|
|
16325
|
+
/** 桌面端网页链接 */
|
|
16326
|
+
pcurl: string;
|
|
16327
|
+
}
|
|
15302
16328
|
export interface User {
|
|
15303
16329
|
/** 用户的union_id */
|
|
15304
16330
|
union_id?: string;
|
|
@@ -15497,6 +16523,14 @@ export interface UserDepartmentInfo {
|
|
|
15497
16523
|
/** 用户的部门间的排序 */
|
|
15498
16524
|
department_order?: number;
|
|
15499
16525
|
}
|
|
16526
|
+
export interface UserDepartmentSortInfo {
|
|
16527
|
+
/** 部门id */
|
|
16528
|
+
department_id?: string;
|
|
16529
|
+
/** 用户在部门内的排序权重 */
|
|
16530
|
+
order_weight_in_deparment?: string;
|
|
16531
|
+
/** 用户多个部门间的排序权重 */
|
|
16532
|
+
order_weight_among_deparments?: string;
|
|
16533
|
+
}
|
|
15500
16534
|
export interface UserExternal {
|
|
15501
16535
|
/** 用户类型 */
|
|
15502
16536
|
user_type: 1 | 2 | 10 | 11;
|
|
@@ -15543,6 +16577,14 @@ export interface UserFlow {
|
|
|
15543
16577
|
/** 唯一幂等键 */
|
|
15544
16578
|
idempotent_id?: string;
|
|
15545
16579
|
}
|
|
16580
|
+
export interface UserInfo {
|
|
16581
|
+
/** 个人邮箱还是公共邮箱 */
|
|
16582
|
+
type: string;
|
|
16583
|
+
/** 卡片owner的ID,卡片owner为个人邮箱时非空 */
|
|
16584
|
+
owner_user_id?: string;
|
|
16585
|
+
/** 公共邮箱唯一标识 */
|
|
16586
|
+
public_mailbox_id?: string;
|
|
16587
|
+
}
|
|
15546
16588
|
export interface UserLeave {
|
|
15547
16589
|
/** 审批实例id */
|
|
15548
16590
|
approval_id?: string;
|
|
@@ -15833,12 +16875,30 @@ export interface UserTrip {
|
|
|
15833
16875
|
/** 出差备注 */
|
|
15834
16876
|
remarks?: string;
|
|
15835
16877
|
}
|
|
16878
|
+
export interface UserValue {
|
|
16879
|
+
/** 人员ID */
|
|
16880
|
+
ids: string[];
|
|
16881
|
+
/** 人员类型 */
|
|
16882
|
+
user_type: CustomFieldValueUserType;
|
|
16883
|
+
}
|
|
15836
16884
|
export interface UserViewDetail {
|
|
15837
16885
|
/** 用户ID */
|
|
15838
16886
|
user_id?: string;
|
|
15839
16887
|
/** 用户的最近查看时间timestamp(ms级别) */
|
|
15840
16888
|
view_time?: string;
|
|
15841
16889
|
}
|
|
16890
|
+
export interface Value {
|
|
16891
|
+
/** 字符串值 */
|
|
16892
|
+
string_value?: string;
|
|
16893
|
+
/** 布尔值 */
|
|
16894
|
+
bool_value?: boolean;
|
|
16895
|
+
/** 整形值 */
|
|
16896
|
+
int_value?: string;
|
|
16897
|
+
/** 字符串列表值 */
|
|
16898
|
+
string_list_value?: string[];
|
|
16899
|
+
/** 整形列表值 */
|
|
16900
|
+
int_list_value?: string[];
|
|
16901
|
+
}
|
|
15842
16902
|
export interface VatEntity {
|
|
15843
16903
|
/** 识别的实体类型 */
|
|
15844
16904
|
type?: 'invoice_name' | 'invoice_code' | 'invoice_no' | 'invoice_date' | 'total_price' | 'total_tax' | 'big_total_price_and_tax' | 'check_code' | 'total_price_and_tax' | 'buyer_name' | 'buyer_taxpayer_no' | 'buyer_address_phone' | 'buyer_account' | 'seller_name' | 'seller_taxpayer_no' | 'seller_address_phone' | 'seller_account' | 'payee' | 'invoice_date' | 'password_area' | 'remarks' | 'reviewer' | 'drawer' | 'is_sealed' | 'seller_name_in_seal' | 'seller_taxpayer_no_in_seal' | 'invoice_special_seal' | 'machine_num';
|
|
@@ -16423,12 +17483,44 @@ export interface WorkforcePlanDetailRow {
|
|
|
16423
17483
|
/** 编制规划值 */
|
|
16424
17484
|
plan_value?: string;
|
|
16425
17485
|
}
|
|
17486
|
+
export interface WorkforcePlanDetailV2 {
|
|
17487
|
+
/** 编制规划明细 ID */
|
|
17488
|
+
workforce_plan_detail_id?: string;
|
|
17489
|
+
/** 维度信息 */
|
|
17490
|
+
dimension_info_datas?: DimensionInfoData[];
|
|
17491
|
+
/** 编制规划值 */
|
|
17492
|
+
workforce_plan?: string;
|
|
17493
|
+
/** 在职人数 */
|
|
17494
|
+
active_individuals?: string;
|
|
17495
|
+
/** 预增员数量 */
|
|
17496
|
+
individuals_to_be_added?: string;
|
|
17497
|
+
/** 预减员数量 */
|
|
17498
|
+
individuals_to_be_removed?: string;
|
|
17499
|
+
/** 预估在职人数明细 */
|
|
17500
|
+
estimated_active_individuals_details?: WorkforcePlanEaiDetail[];
|
|
17501
|
+
/** 多周期的编制规划信息 */
|
|
17502
|
+
multi_period_values?: WorkforcePlanMultiPeriodValue[];
|
|
17503
|
+
/** 是否为缺维度的明细行,true为缺维度明细行,false为非缺维度明细行 */
|
|
17504
|
+
is_missing_dimension?: boolean;
|
|
17505
|
+
/** 是否在职、预增/预减人员、编制数、预估在职人数都为0的明细行,true代表在职、预增/预减人员、编制数、预估在职人数都为0的明细行,false代表在职、预增/预减人员、编制数、预估在职人数不全为0的明细行 */
|
|
17506
|
+
is_all_zero_value?: boolean;
|
|
17507
|
+
}
|
|
16426
17508
|
export interface WorkforcePlanEaiDetail {
|
|
16427
17509
|
/** 预估月份 */
|
|
16428
17510
|
date?: string;
|
|
16429
17511
|
/** 预估在职人数 */
|
|
16430
17512
|
estimated_active_individuals?: string;
|
|
16431
17513
|
}
|
|
17514
|
+
export interface WorkforcePlanMultiPeriodValue {
|
|
17515
|
+
/** 周期的最后一天 */
|
|
17516
|
+
period_date?: string;
|
|
17517
|
+
/** 对应周期的编制规划值 */
|
|
17518
|
+
workforce_plan?: string;
|
|
17519
|
+
/** 预增员数量 */
|
|
17520
|
+
individuals_to_be_added?: string;
|
|
17521
|
+
/** 预减员数量 */
|
|
17522
|
+
individuals_to_be_removed?: string;
|
|
17523
|
+
}
|
|
16432
17524
|
export interface WorkingHoursType {
|
|
16433
17525
|
/** 实体在CoreHR内部的唯一键 */
|
|
16434
17526
|
id?: string;
|