@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/src/types/index.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'
|
|
@@ -63,6 +66,22 @@ export interface Ability {
|
|
|
63
66
|
description?: I18n
|
|
64
67
|
}
|
|
65
68
|
|
|
69
|
+
export const enum AbnormalCode {
|
|
70
|
+
/** 成功 */
|
|
71
|
+
SUCCESS = 0,
|
|
72
|
+
/** 没权限 */
|
|
73
|
+
FORBIDDEN = 1000,
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface AbnormalRecord {
|
|
77
|
+
/** 异常ID */
|
|
78
|
+
id?: string
|
|
79
|
+
/** 行级异常 */
|
|
80
|
+
row_error?: AbnormalCode
|
|
81
|
+
/** 列级异常 */
|
|
82
|
+
field_errors?: Record<string, AbnormalCode>
|
|
83
|
+
}
|
|
84
|
+
|
|
66
85
|
export interface Acceptance {
|
|
67
86
|
/** 操作类型 */
|
|
68
87
|
operator_type?: 1 | 2
|
|
@@ -109,6 +128,13 @@ export interface Account {
|
|
|
109
128
|
status?: 1 | 2
|
|
110
129
|
}
|
|
111
130
|
|
|
131
|
+
export interface AccountingItemValue {
|
|
132
|
+
/** 算薪项数据原始值,当发薪明细的数据来源为「人工导入」时,如果当前算薪项类型为引用类型,那么算薪项原始值可能为空。 */
|
|
133
|
+
original_value?: string
|
|
134
|
+
/** 引用类型算薪项展示值 */
|
|
135
|
+
reference_values?: I18nContent[]
|
|
136
|
+
}
|
|
137
|
+
|
|
112
138
|
export interface AcctItem {
|
|
113
139
|
/** 算薪项ID */
|
|
114
140
|
id?: string
|
|
@@ -923,6 +949,13 @@ export interface AppAbility {
|
|
|
923
949
|
plus_menu?: PlusMenu
|
|
924
950
|
}
|
|
925
951
|
|
|
952
|
+
export interface AppCollaborator {
|
|
953
|
+
/** 人员类型 */
|
|
954
|
+
type: 'administrator' | 'developer' | 'operator'
|
|
955
|
+
/** 用户ID */
|
|
956
|
+
user_id: string
|
|
957
|
+
}
|
|
958
|
+
|
|
926
959
|
export interface AppContactsRangeIdList {
|
|
927
960
|
/** 成员id列表 */
|
|
928
961
|
user_ids?: string[]
|
|
@@ -2173,6 +2206,13 @@ export interface Attachment {
|
|
|
2173
2206
|
file_token?: string
|
|
2174
2207
|
}
|
|
2175
2208
|
|
|
2209
|
+
export interface AttachmentDownloadUrlItem {
|
|
2210
|
+
/** 附件 id */
|
|
2211
|
+
attachment_id?: string
|
|
2212
|
+
/** 下载链接 */
|
|
2213
|
+
download_url?: string
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2176
2216
|
export interface AttachmentInfo {
|
|
2177
2217
|
/** 附件id */
|
|
2178
2218
|
id?: string
|
|
@@ -3192,6 +3232,13 @@ export interface BlockIdRelation {
|
|
|
3192
3232
|
block_id?: string
|
|
3193
3233
|
}
|
|
3194
3234
|
|
|
3235
|
+
export interface BlockRole {
|
|
3236
|
+
/** Block ID */
|
|
3237
|
+
block_id: string
|
|
3238
|
+
/** Block权限 */
|
|
3239
|
+
block_perm: 0 | 1
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3195
3242
|
export interface Board {
|
|
3196
3243
|
/** 画板 token */
|
|
3197
3244
|
token?: string
|
|
@@ -3248,13 +3295,6 @@ export interface Bp {
|
|
|
3248
3295
|
hrbp_id?: string
|
|
3249
3296
|
}
|
|
3250
3297
|
|
|
3251
|
-
export interface BpmDataengineI18n {
|
|
3252
|
-
/** (注json key是zh-CN,不是zh_cn)i18n类型字段,中文值 */
|
|
3253
|
-
zh_cn?: string
|
|
3254
|
-
/** (注json key是en-US,不是en_us)i18n类型字段,英文值 */
|
|
3255
|
-
en_us?: string
|
|
3256
|
-
}
|
|
3257
|
-
|
|
3258
3298
|
export interface BpRoleOrganization {
|
|
3259
3299
|
/** 角色类型的唯一标识 */
|
|
3260
3300
|
role_key: string
|
|
@@ -3283,6 +3323,13 @@ export interface BusinessManagementScope {
|
|
|
3283
3323
|
permission_groups?: PermissionGroupInfo[]
|
|
3284
3324
|
}
|
|
3285
3325
|
|
|
3326
|
+
export interface CalculationActivity {
|
|
3327
|
+
/** 算薪活动唯一标识 */
|
|
3328
|
+
calculation_activity_id?: string
|
|
3329
|
+
/** 算薪活动名称 */
|
|
3330
|
+
calculation_activity_names?: I18nContent[]
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3286
3333
|
export interface Calendar {
|
|
3287
3334
|
/** 日历OpenId */
|
|
3288
3335
|
calendar_id: string
|
|
@@ -3721,6 +3768,159 @@ export interface CodeNameObject {
|
|
|
3721
3768
|
name?: I18n
|
|
3722
3769
|
}
|
|
3723
3770
|
|
|
3771
|
+
export interface CollaborationDepartment {
|
|
3772
|
+
/** 关联组织的部门open id */
|
|
3773
|
+
open_department_id?: string
|
|
3774
|
+
/** 关联组织的部门id */
|
|
3775
|
+
department_id?: string
|
|
3776
|
+
/** 关联组织的部门名称 */
|
|
3777
|
+
name?: string
|
|
3778
|
+
/** 关联组织的的国际化部门名称 */
|
|
3779
|
+
i18n_name?: I18nName
|
|
3780
|
+
/** 关联组织的部门排序 */
|
|
3781
|
+
order?: string
|
|
3782
|
+
/** 部门负责人 */
|
|
3783
|
+
leaders?: CollaborationDepartmentLeader[]
|
|
3784
|
+
/** 父部门ID */
|
|
3785
|
+
parent_department_id?: CollaborationDepartmentId
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
export interface CollaborationDepartmentId {
|
|
3789
|
+
/** 部门ID */
|
|
3790
|
+
department_id?: string
|
|
3791
|
+
/** 部门open ID */
|
|
3792
|
+
open_department_id?: string
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
export interface CollaborationDepartmentLeader {
|
|
3796
|
+
/** 负责人类型 */
|
|
3797
|
+
leader_type: 1 | 2
|
|
3798
|
+
/** 负责人ID */
|
|
3799
|
+
id: CollaborationUserId
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
export interface CollaborationEntity {
|
|
3803
|
+
/** 关联组织实体类型 */
|
|
3804
|
+
collaboration_entity_type: 'user' | 'department' | 'group'
|
|
3805
|
+
/** 部门ID */
|
|
3806
|
+
department_id?: string
|
|
3807
|
+
/** 部门的open ID */
|
|
3808
|
+
open_department_id?: string
|
|
3809
|
+
/** 用户ID */
|
|
3810
|
+
user_id?: string
|
|
3811
|
+
/** 用户的open ID */
|
|
3812
|
+
open_user_id?: string
|
|
3813
|
+
/** 用户的union_id */
|
|
3814
|
+
union_user_id?: string
|
|
3815
|
+
/** 部门名称 */
|
|
3816
|
+
department_name?: string
|
|
3817
|
+
/** 部门的国际化名称 */
|
|
3818
|
+
i18n_department_name?: I18nName
|
|
3819
|
+
/** 部门顺序 */
|
|
3820
|
+
department_order?: string
|
|
3821
|
+
/** 对方成员名称 */
|
|
3822
|
+
user_name?: string
|
|
3823
|
+
/** 对方成员i18n名称 */
|
|
3824
|
+
i18n_user_name?: I18nName
|
|
3825
|
+
/** 对方租户的成员头像 */
|
|
3826
|
+
user_avatar?: AvatarInfo
|
|
3827
|
+
/** 用户组ID */
|
|
3828
|
+
group_id?: string
|
|
3829
|
+
/** 用户组的open ID */
|
|
3830
|
+
open_group_id?: string
|
|
3831
|
+
/** 对方用户组名称 */
|
|
3832
|
+
group_name?: string
|
|
3833
|
+
/** 对方用户组i18n名称 */
|
|
3834
|
+
i18n_group_name?: I18nName
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
export interface CollaborationRule {
|
|
3838
|
+
/** 规则ID */
|
|
3839
|
+
rule_id?: string
|
|
3840
|
+
/** 实体数量之和需要小于100 */
|
|
3841
|
+
subjects?: CollaborationRuleEntities
|
|
3842
|
+
/** 是否生效,如果规则主体超出了分享的范围,则is_valid为false,规则主体将不返回 */
|
|
3843
|
+
subject_is_valid?: boolean
|
|
3844
|
+
/** 实体数量之和需要小于100 */
|
|
3845
|
+
objects?: CollaborationRuleEntities
|
|
3846
|
+
/** 是否生效,如果规则客体超出了分享的范围,则is_valid为false,规则客体将不返回 */
|
|
3847
|
+
object_is_valid?: boolean
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
export interface CollaborationRuleEntities {
|
|
3851
|
+
/** user open id */
|
|
3852
|
+
open_user_ids?: string[]
|
|
3853
|
+
/** department open id,0代表全部成员 */
|
|
3854
|
+
open_department_ids?: string[]
|
|
3855
|
+
/** group open id */
|
|
3856
|
+
open_group_ids?: string[]
|
|
3857
|
+
}
|
|
3858
|
+
|
|
3859
|
+
export interface CollaborationTenant {
|
|
3860
|
+
/** 关联租户ID */
|
|
3861
|
+
tenant_key?: string
|
|
3862
|
+
/** 目标租户的租户名称 */
|
|
3863
|
+
tenant_name?: string
|
|
3864
|
+
/** 目标租户的租户i18n名称 */
|
|
3865
|
+
i18n_tenant_name?: I18nName
|
|
3866
|
+
/** 目标租户的租户简称 */
|
|
3867
|
+
tenant_short_name?: string
|
|
3868
|
+
/** 目标租户的租户i18n简称 */
|
|
3869
|
+
i18n_tenant_short_name?: I18nName
|
|
3870
|
+
/** 关联时间 */
|
|
3871
|
+
connect_time?: number
|
|
3872
|
+
/** 标签 */
|
|
3873
|
+
tenant_tag?: string
|
|
3874
|
+
/** i18n标签 */
|
|
3875
|
+
i18n_tenant_tag?: I18nName
|
|
3876
|
+
/** 租户icon信息 */
|
|
3877
|
+
avatar?: AvatarInfo
|
|
3878
|
+
/** 租户品牌 */
|
|
3879
|
+
brand?: string
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3882
|
+
export interface CollaborationUser {
|
|
3883
|
+
/** 对方关联组织用户的open_id */
|
|
3884
|
+
open_id?: string
|
|
3885
|
+
/** 对方关联组织用户的id */
|
|
3886
|
+
user_id?: string
|
|
3887
|
+
/** 对方关联组织用户的union id */
|
|
3888
|
+
union_id?: string
|
|
3889
|
+
/** 用户的名称 */
|
|
3890
|
+
name: string
|
|
3891
|
+
/** 关联组织的的国际化用户名称 */
|
|
3892
|
+
i18n_name?: I18nName
|
|
3893
|
+
/** 用户头像信息 */
|
|
3894
|
+
avatar?: AvatarInfo
|
|
3895
|
+
/** 手机号 */
|
|
3896
|
+
mobile?: string
|
|
3897
|
+
/** 用户状态 */
|
|
3898
|
+
status?: UserStatus
|
|
3899
|
+
/** 用户所属部门的ID列表,deprecate */
|
|
3900
|
+
department_ids?: string[]
|
|
3901
|
+
/** 用户的直接主管的用户ID,deprecate */
|
|
3902
|
+
leader_user_id?: string
|
|
3903
|
+
/** 职务 */
|
|
3904
|
+
job_title?: string
|
|
3905
|
+
/** 自定义属性 */
|
|
3906
|
+
custom_attrs?: UserCustomAttr[]
|
|
3907
|
+
/** 工号 */
|
|
3908
|
+
employee_no?: string
|
|
3909
|
+
/** 父部门ID */
|
|
3910
|
+
parent_department_ids?: CollaborationDepartmentId[]
|
|
3911
|
+
/** 用户的leader */
|
|
3912
|
+
leader_id?: CollaborationUserId
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
export interface CollaborationUserId {
|
|
3916
|
+
/** 用户ID */
|
|
3917
|
+
user_id?: string
|
|
3918
|
+
/** 用户open ID */
|
|
3919
|
+
open_id?: string
|
|
3920
|
+
/** 用户union ID */
|
|
3921
|
+
union_id?: string
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3724
3924
|
export interface Collaborator {
|
|
3725
3925
|
/** 任务协作者的 ID */
|
|
3726
3926
|
id?: string
|
|
@@ -3932,6 +4132,8 @@ export interface Company {
|
|
|
3932
4132
|
office_address_info?: Address
|
|
3933
4133
|
}
|
|
3934
4134
|
|
|
4135
|
+
export type CompareOperator = string
|
|
4136
|
+
|
|
3935
4137
|
export interface CompensationCost {
|
|
3936
4138
|
/** 成本项值 */
|
|
3937
4139
|
compensation_cost_value?: string
|
|
@@ -4309,6 +4511,29 @@ export interface ContractPeriodInfo {
|
|
|
4309
4511
|
period: number
|
|
4310
4512
|
}
|
|
4311
4513
|
|
|
4514
|
+
export interface CooperationProject {
|
|
4515
|
+
/** 合作项目 ID */
|
|
4516
|
+
id?: string
|
|
4517
|
+
/** 合作项目的名称 */
|
|
4518
|
+
name?: I18n
|
|
4519
|
+
/** 项目角色 */
|
|
4520
|
+
roles?: CooperationRole[]
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4523
|
+
export interface CooperationRole {
|
|
4524
|
+
/** 评估人的项目角色。在未配置项目角色情况下,该字段为空值。 */
|
|
4525
|
+
reviewer_role?: CooperationUserRole
|
|
4526
|
+
/** 被评估人的项目角色。在未配置项目角色情况下,该字段为空值。 */
|
|
4527
|
+
reviewee_role?: CooperationUserRole
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
export interface CooperationUserRole {
|
|
4531
|
+
/** 角色 ID */
|
|
4532
|
+
role_id?: string
|
|
4533
|
+
/** 名称 */
|
|
4534
|
+
name?: I18n
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4312
4537
|
export interface CostAllocationPlan {
|
|
4313
4538
|
/** 唯一标识 */
|
|
4314
4539
|
id?: string
|
|
@@ -4460,6 +4685,23 @@ export interface CpstStandardType {
|
|
|
4460
4685
|
api_name?: 'standard_value' | 'bandwidth_and_standard_value' | 'bandwidth_upper_and_lower_limit'
|
|
4461
4686
|
}
|
|
4462
4687
|
|
|
4688
|
+
export interface CreateDepartment {
|
|
4689
|
+
/** 标识租户内一个唯一的部门,支持自定义,未自定义时系统自动生成。ID支持修改。详细说明参见 部门ID说明,获取department_id的方式:企业管理员在 管理后台 > 组织架构 > 成员与部门 页面,点击 部门详情,查询部门ID */
|
|
4690
|
+
custom_department_id?: string
|
|
4691
|
+
/** i18n文本 */
|
|
4692
|
+
name?: I18nText
|
|
4693
|
+
/** 父部门ID */
|
|
4694
|
+
parent_department_id?: string
|
|
4695
|
+
/** 部门负责人 */
|
|
4696
|
+
leaders?: DepartmentLeader[]
|
|
4697
|
+
/** 在上级部门下的排序权重 */
|
|
4698
|
+
order_weight?: string
|
|
4699
|
+
/** 是否启用 */
|
|
4700
|
+
enabled_status?: boolean
|
|
4701
|
+
/** 自定义字段 */
|
|
4702
|
+
custom_field_values?: CustomFieldValue[]
|
|
4703
|
+
}
|
|
4704
|
+
|
|
4463
4705
|
export interface CreateEmpCustomOrg {
|
|
4464
4706
|
/** 自定义组织ID */
|
|
4465
4707
|
id: string
|
|
@@ -4467,6 +4709,54 @@ export interface CreateEmpCustomOrg {
|
|
|
4467
4709
|
rate?: number
|
|
4468
4710
|
}
|
|
4469
4711
|
|
|
4712
|
+
export interface CreateEmployee {
|
|
4713
|
+
/** 姓名 */
|
|
4714
|
+
name?: UpsertName
|
|
4715
|
+
/** 员工的联系手机号 */
|
|
4716
|
+
mobile?: string
|
|
4717
|
+
/** 用户的user_id */
|
|
4718
|
+
custom_employee_id?: string
|
|
4719
|
+
/** 头像的文件key */
|
|
4720
|
+
avatar_key?: string
|
|
4721
|
+
/** 员工的联系邮箱 */
|
|
4722
|
+
email?: string
|
|
4723
|
+
/** 员工的企业邮箱 */
|
|
4724
|
+
enterprise_email?: string
|
|
4725
|
+
/** 性别 */
|
|
4726
|
+
gender?: GenderDirectory
|
|
4727
|
+
/** 部门排序 */
|
|
4728
|
+
employee_order_in_departments?: UpsertUserDepartmentSortInfo[]
|
|
4729
|
+
/** 员工直属上级的user_id */
|
|
4730
|
+
leader_id?: string
|
|
4731
|
+
/** 员工虚线上级的user_id */
|
|
4732
|
+
dotted_line_leader_ids?: string[]
|
|
4733
|
+
/** 工作地国家/地区 */
|
|
4734
|
+
work_country_or_region?: string
|
|
4735
|
+
/** 工作地点 */
|
|
4736
|
+
work_place_id?: string
|
|
4737
|
+
/** i18n文本 */
|
|
4738
|
+
work_station?: I18nText
|
|
4739
|
+
/** 工号 */
|
|
4740
|
+
job_number?: string
|
|
4741
|
+
/** 分机号 */
|
|
4742
|
+
extension_number?: string
|
|
4743
|
+
/** 入职日期 */
|
|
4744
|
+
join_date?: string
|
|
4745
|
+
/** 员工类型 */
|
|
4746
|
+
employment_type?: EmployeeTypeDirectory
|
|
4747
|
+
/** 职务ID */
|
|
4748
|
+
job_title_id?: string
|
|
4749
|
+
/** 自定义字段 */
|
|
4750
|
+
custom_field_values?: CustomFieldValue[]
|
|
4751
|
+
}
|
|
4752
|
+
|
|
4753
|
+
export interface CreateEmployeeOptions {
|
|
4754
|
+
/** 用户指定geo/unit */
|
|
4755
|
+
geo_name?: string
|
|
4756
|
+
/** 席位信息 */
|
|
4757
|
+
subscription_ids?: string[]
|
|
4758
|
+
}
|
|
4759
|
+
|
|
4470
4760
|
export interface CreateTag {
|
|
4471
4761
|
/** 标签类型 */
|
|
4472
4762
|
tag_type: 'tenant'
|
|
@@ -4666,6 +4956,48 @@ export interface CustomFields {
|
|
|
4666
4956
|
value?: string
|
|
4667
4957
|
}
|
|
4668
4958
|
|
|
4959
|
+
export interface CustomFieldValue {
|
|
4960
|
+
/** 自定义字段key */
|
|
4961
|
+
field_key?: string
|
|
4962
|
+
/** 自定义字段类型 */
|
|
4963
|
+
field_type?: CustomFieldValueType
|
|
4964
|
+
/** i18n文本 */
|
|
4965
|
+
text_value?: I18nText
|
|
4966
|
+
/** 网页链接字段值 */
|
|
4967
|
+
url_value?: UrlValue
|
|
4968
|
+
/** 枚举 */
|
|
4969
|
+
enum_value?: EnumValue
|
|
4970
|
+
/** 人员字段值 */
|
|
4971
|
+
user_values?: UserValue[]
|
|
4972
|
+
}
|
|
4973
|
+
|
|
4974
|
+
export const enum CustomFieldValueEnumType {
|
|
4975
|
+
/** 文本 */
|
|
4976
|
+
CustomFieldValueEnumTypeText = '1',
|
|
4977
|
+
/** 图片 */
|
|
4978
|
+
CustomFieldValueEnumTypePicture = '2',
|
|
4979
|
+
}
|
|
4980
|
+
|
|
4981
|
+
export const enum CustomFieldValueType {
|
|
4982
|
+
/** 多行文本 */
|
|
4983
|
+
CustomFieldValueTypeText = '1',
|
|
4984
|
+
/** 网页链接 */
|
|
4985
|
+
CustomFieldValueTypeUrl = '2',
|
|
4986
|
+
/** 枚举选项 */
|
|
4987
|
+
CustomFieldValueTypeEnum = '3',
|
|
4988
|
+
/** 人员 */
|
|
4989
|
+
CustomFieldValueTypeGenericUser = '4',
|
|
4990
|
+
/** 多选枚举类型(目前仅支持文本类型) */
|
|
4991
|
+
CustomFieldFieldTypeDirectoryMultiEnum = '10',
|
|
4992
|
+
/** 人员列表 */
|
|
4993
|
+
CustomFieldFieldTypeDirectoryMultiGenericUser = '11',
|
|
4994
|
+
}
|
|
4995
|
+
|
|
4996
|
+
export const enum CustomFieldValueUserType {
|
|
4997
|
+
/** 员工 */
|
|
4998
|
+
CustomFieldValueUserTypeEmployee = '1',
|
|
4999
|
+
}
|
|
5000
|
+
|
|
4669
5001
|
export interface CustomizationOption {
|
|
4670
5002
|
/** the option unique key */
|
|
4671
5003
|
option_key?: string
|
|
@@ -4699,6 +5031,33 @@ export interface CustomMetricConfig {
|
|
|
4699
5031
|
add_metric_options?: (1 | 2)[]
|
|
4700
5032
|
}
|
|
4701
5033
|
|
|
5034
|
+
export interface CustomOrg {
|
|
5035
|
+
/** 组织类型编码 */
|
|
5036
|
+
object_api_name: string
|
|
5037
|
+
/** 组织名称 */
|
|
5038
|
+
names?: I18n[]
|
|
5039
|
+
/** 编码 */
|
|
5040
|
+
code?: string
|
|
5041
|
+
/** 上级组织 ID */
|
|
5042
|
+
parent_id?: string
|
|
5043
|
+
/** 负责人ID 列表 */
|
|
5044
|
+
manager_ids?: string[]
|
|
5045
|
+
/** 描述 */
|
|
5046
|
+
description?: I18n[]
|
|
5047
|
+
/** 生效时间 */
|
|
5048
|
+
effective_time?: string
|
|
5049
|
+
/** 组织角色 */
|
|
5050
|
+
org_roles?: OrgRole[]
|
|
5051
|
+
/** 匹配规则组,组间并集 */
|
|
5052
|
+
match_rule_groups?: MatchRules[]
|
|
5053
|
+
/** 是否启用 */
|
|
5054
|
+
active?: boolean
|
|
5055
|
+
/** 组织ID */
|
|
5056
|
+
org_id?: string
|
|
5057
|
+
/** 自定义字段 */
|
|
5058
|
+
custom_fields?: CustomFieldData[]
|
|
5059
|
+
}
|
|
5060
|
+
|
|
4702
5061
|
export interface CustomWorkplaceAccessData {
|
|
4703
5062
|
/** 定制工作台ID */
|
|
4704
5063
|
custom_workplace_id?: string
|
|
@@ -4735,6 +5094,71 @@ export interface DataAsset {
|
|
|
4735
5094
|
updated_time?: string
|
|
4736
5095
|
}
|
|
4737
5096
|
|
|
5097
|
+
export interface DataAssetFile {
|
|
5098
|
+
/** 文件token */
|
|
5099
|
+
token: string
|
|
5100
|
+
/** 文件内容类型 */
|
|
5101
|
+
mime_type: string
|
|
5102
|
+
}
|
|
5103
|
+
|
|
5104
|
+
export interface DataAssetImportKnowledgeFile {
|
|
5105
|
+
/** 文件标题 */
|
|
5106
|
+
title?: string
|
|
5107
|
+
/** 上传文件获取到的token。和content二选一,优先使用token。 */
|
|
5108
|
+
token?: string
|
|
5109
|
+
/** 文件内容。和token二选一,优先使用token。有长度限制,大文件优先使用token方式。 */
|
|
5110
|
+
content?: string
|
|
5111
|
+
/** 文件内容对应的 MIME 类型,使用token方式必须填写 */
|
|
5112
|
+
mime_type?: string
|
|
5113
|
+
/** 文件源的URL */
|
|
5114
|
+
url?: string
|
|
5115
|
+
}
|
|
5116
|
+
|
|
5117
|
+
export interface DataAssetImportKnowledgeHelpdesk {
|
|
5118
|
+
/** 飞书服务台ID */
|
|
5119
|
+
helpdesk_id: string
|
|
5120
|
+
}
|
|
5121
|
+
|
|
5122
|
+
export interface DataAssetImportKnowledgeLarkDoc {
|
|
5123
|
+
/** 云文档类型 */
|
|
5124
|
+
type: 'doc' | 'file' | 'wiki' | 'docx' | 'folder'
|
|
5125
|
+
/** 云文档标识 */
|
|
5126
|
+
token: string
|
|
5127
|
+
/** 是否包含子文档,只有wiki类型的云文档支持 */
|
|
5128
|
+
with_sub_docs?: boolean
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
export interface DataAssetImportKnowledgeSetting {
|
|
5132
|
+
/** 知识切片配置 */
|
|
5133
|
+
chunk_setting?: DataAssetKnowledgeChunkSetting
|
|
5134
|
+
/** 知识导入-文件 */
|
|
5135
|
+
file?: DataAssetImportKnowledgeFile
|
|
5136
|
+
/** 知识导入-飞书云文档 */
|
|
5137
|
+
lark_doc?: DataAssetImportKnowledgeLarkDoc
|
|
5138
|
+
/** 知识导入-飞书知识空间 */
|
|
5139
|
+
lark_wiki_space?: DataAssetImportKnowledgeWiki
|
|
5140
|
+
/** 知识导入-飞书服务台 */
|
|
5141
|
+
lark_helpdesk?: DataAssetImportKnowledgeHelpdesk
|
|
5142
|
+
}
|
|
5143
|
+
|
|
5144
|
+
export interface DataAssetImportKnowledgeWiki {
|
|
5145
|
+
/** 飞书知识空间ID */
|
|
5146
|
+
space_id: string
|
|
5147
|
+
/** 指定知识空间子节点时使用 */
|
|
5148
|
+
sub_docs?: DataAssetImportKnowledgeWikiSubDoc[]
|
|
5149
|
+
/** 知识空间URL */
|
|
5150
|
+
url?: string
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
export interface DataAssetImportKnowledgeWikiSubDoc {
|
|
5154
|
+
/** 云文档类型,只支持wiki中的云文档 */
|
|
5155
|
+
type: 'wiki'
|
|
5156
|
+
/** 云文档标识 */
|
|
5157
|
+
token: string
|
|
5158
|
+
/** 云文档链接 */
|
|
5159
|
+
url?: string
|
|
5160
|
+
}
|
|
5161
|
+
|
|
4738
5162
|
export interface DataAssetItem {
|
|
4739
5163
|
/** 数据知识项ID */
|
|
4740
5164
|
data_asset_item_id?: string
|
|
@@ -4748,6 +5172,17 @@ export interface DataAssetItem {
|
|
|
4748
5172
|
resources?: DataAssetResource[]
|
|
4749
5173
|
}
|
|
4750
5174
|
|
|
5175
|
+
export interface DataAssetKnowledgeChunkSetting {
|
|
5176
|
+
/** 切片规则 */
|
|
5177
|
+
rule_type: 'separator' | 'intelligent'
|
|
5178
|
+
/** 切片分割符类型 */
|
|
5179
|
+
separate_type?: 'paragraph' | 'title'
|
|
5180
|
+
/** 分段最大长度(字符),按标识符切片时必须填写 */
|
|
5181
|
+
size?: number
|
|
5182
|
+
/** 分段重叠字符数,按标识符切片时必须填写,不能超过size的数值 */
|
|
5183
|
+
overlap?: number
|
|
5184
|
+
}
|
|
5185
|
+
|
|
4751
5186
|
export interface DataAssetResource {
|
|
4752
5187
|
/** 数据知识资源ID */
|
|
4753
5188
|
resource_id?: string
|
|
@@ -4778,41 +5213,68 @@ export interface DataPermission {
|
|
|
4778
5213
|
select_status?: 0 | 1 | 2
|
|
4779
5214
|
}
|
|
4780
5215
|
|
|
4781
|
-
export interface
|
|
4782
|
-
/**
|
|
4783
|
-
|
|
4784
|
-
/**
|
|
4785
|
-
|
|
4786
|
-
/**
|
|
4787
|
-
|
|
4788
|
-
/**
|
|
4789
|
-
|
|
4790
|
-
/**
|
|
4791
|
-
|
|
4792
|
-
/**
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
/**
|
|
4807
|
-
|
|
4808
|
-
/**
|
|
4809
|
-
|
|
4810
|
-
/**
|
|
4811
|
-
|
|
4812
|
-
/**
|
|
4813
|
-
|
|
4814
|
-
/**
|
|
4815
|
-
|
|
5216
|
+
export interface Datasource {
|
|
5217
|
+
/** 数据源编码 */
|
|
5218
|
+
code: string
|
|
5219
|
+
/** 数据源名称 */
|
|
5220
|
+
i18n_names: I18nContent[]
|
|
5221
|
+
/** 启停用状态 */
|
|
5222
|
+
active_status: 1 | 2
|
|
5223
|
+
/** 数据源字段列表 */
|
|
5224
|
+
fields: DatasourceField[]
|
|
5225
|
+
/** 数据源描述 */
|
|
5226
|
+
i18n_description?: I18nContent[]
|
|
5227
|
+
/** 数据期间类型(数据写入维度) */
|
|
5228
|
+
data_period_type?: 1 | 2 | 3
|
|
5229
|
+
}
|
|
5230
|
+
|
|
5231
|
+
export const enum DataSource {
|
|
5232
|
+
/** 管理后台 */
|
|
5233
|
+
FEISHU_ADMIN = 1,
|
|
5234
|
+
/** 人事企业版 */
|
|
5235
|
+
CORE_HR = 2,
|
|
5236
|
+
/** SCIM */
|
|
5237
|
+
DIR_SYNC_VISA_SCIM = 3,
|
|
5238
|
+
}
|
|
5239
|
+
|
|
5240
|
+
export interface DatasourceField {
|
|
5241
|
+
/** 数据源字段编码 */
|
|
5242
|
+
code: string
|
|
5243
|
+
/** 数据源字段名称 */
|
|
5244
|
+
i18n_names: I18nContent[]
|
|
5245
|
+
/** 字段类型 */
|
|
5246
|
+
field_type: 1 | 2 | 3 | 4 | 5
|
|
5247
|
+
/** 字段启停用状态 */
|
|
5248
|
+
active_status: 1 | 2
|
|
5249
|
+
/** 数据源字段描述 */
|
|
5250
|
+
i18n_description?: I18nContent[]
|
|
5251
|
+
/** 保留小数位数。目前只有number、money类型字段需要设置保留小数 */
|
|
5252
|
+
decimal_places?: number
|
|
5253
|
+
}
|
|
5254
|
+
|
|
5255
|
+
export interface DatasourceRecord {
|
|
5256
|
+
/** 记录的启停用状态 */
|
|
5257
|
+
active_status: 1 | 2
|
|
5258
|
+
/** 记录的字段值列表 */
|
|
5259
|
+
field_values: DatasourceRecordField[]
|
|
5260
|
+
}
|
|
5261
|
+
|
|
5262
|
+
export interface DatasourceRecordField {
|
|
5263
|
+
/** 数据源字段编码 */
|
|
5264
|
+
field_code: string
|
|
5265
|
+
/** 字段值 通过string传输,确保字段的值符合协议。 - money:金额 eg: "12.23" 超过设定精度会被四舍五入,目前只支持人民币¥元 - number:数值 eg: "12.87" 超过设定精度会被四舍五入 - text:文本 eg: "我是一段文本"。文本字符个数不允许超过500,一条记录的文本总的字符个数不允许超过3000. - date:日期 yyyy-MM-dd eg: "2024-05-09" - percentage:百分比 "10" 代表10%,最多保留两位小数,超过后四舍五入 */
|
|
5266
|
+
value: string
|
|
5267
|
+
/** 字段类型 */
|
|
5268
|
+
field_type?: number
|
|
5269
|
+
}
|
|
5270
|
+
|
|
5271
|
+
export interface DatasourceRecordFieldFilter {
|
|
5272
|
+
/** 查询条件的字段编码 */
|
|
5273
|
+
field_code: string
|
|
5274
|
+
/** 条件值列表 */
|
|
5275
|
+
field_values?: string[]
|
|
5276
|
+
/** 查询操作符 */
|
|
5277
|
+
operator?: 1 | 2
|
|
4816
5278
|
}
|
|
4817
5279
|
|
|
4818
5280
|
export interface DataSummaryDimension {
|
|
@@ -4835,6 +5297,11 @@ export interface DatetimeSetting {
|
|
|
4835
5297
|
format?: string
|
|
4836
5298
|
}
|
|
4837
5299
|
|
|
5300
|
+
export interface DeleteEmployeeOptions {
|
|
5301
|
+
/** 资源转移方式 */
|
|
5302
|
+
resigned_employee_resource_receiver?: ResignedUserResouceReceiver
|
|
5303
|
+
}
|
|
5304
|
+
|
|
4838
5305
|
export interface DeleteGridColumnRequest {
|
|
4839
5306
|
/** 删除列索引,从 0 开始,如 0 表示删除第一列(-1表示删除最后一列) */
|
|
4840
5307
|
column_index: number
|
|
@@ -4894,6 +5361,13 @@ export interface Department {
|
|
|
4894
5361
|
primary_member_count?: number
|
|
4895
5362
|
}
|
|
4896
5363
|
|
|
5364
|
+
export interface DepartmentBaseInfo {
|
|
5365
|
+
/** 部门ID */
|
|
5366
|
+
department_id?: string
|
|
5367
|
+
/** i18n文本 */
|
|
5368
|
+
department_name?: I18nText
|
|
5369
|
+
}
|
|
5370
|
+
|
|
4897
5371
|
export interface DepartmentChange {
|
|
4898
5372
|
/** 部门调整记录 ID */
|
|
4899
5373
|
department_change_id?: string
|
|
@@ -4948,6 +5422,15 @@ export interface DepartmentI18nName {
|
|
|
4948
5422
|
en_us?: string
|
|
4949
5423
|
}
|
|
4950
5424
|
|
|
5425
|
+
export interface DepartmentIdConvertResult {
|
|
5426
|
+
/** ID */
|
|
5427
|
+
id: string
|
|
5428
|
+
/** 部门ID */
|
|
5429
|
+
department_id?: string
|
|
5430
|
+
/** 部门OpenID */
|
|
5431
|
+
open_department_id?: string
|
|
5432
|
+
}
|
|
5433
|
+
|
|
4951
5434
|
export interface DepartmentLeader {
|
|
4952
5435
|
/** 负责人类型 */
|
|
4953
5436
|
leaderType: 1 | 2
|
|
@@ -5079,13 +5562,6 @@ export interface Device {
|
|
|
5079
5562
|
name: string
|
|
5080
5563
|
}
|
|
5081
5564
|
|
|
5082
|
-
export interface DeviceExternal {
|
|
5083
|
-
/** 设备id */
|
|
5084
|
-
id?: string
|
|
5085
|
-
/** 设备名称 */
|
|
5086
|
-
name?: string
|
|
5087
|
-
}
|
|
5088
|
-
|
|
5089
5565
|
export interface Diagram {
|
|
5090
5566
|
/** 绘图类型 */
|
|
5091
5567
|
diagram_type?: 1 | 2
|
|
@@ -5163,6 +5639,13 @@ export interface DimensionEntity {
|
|
|
5163
5639
|
dimension_value: string
|
|
5164
5640
|
}
|
|
5165
5641
|
|
|
5642
|
+
export interface DimensionIdInData {
|
|
5643
|
+
/** 维度 key */
|
|
5644
|
+
dimension_key?: string
|
|
5645
|
+
/** 维度 ids */
|
|
5646
|
+
dimension_ids?: string[]
|
|
5647
|
+
}
|
|
5648
|
+
|
|
5166
5649
|
export interface DimensionInfo {
|
|
5167
5650
|
/** 维度id */
|
|
5168
5651
|
id: string
|
|
@@ -5170,6 +5653,13 @@ export interface DimensionInfo {
|
|
|
5170
5653
|
name?: I18n[]
|
|
5171
5654
|
}
|
|
5172
5655
|
|
|
5656
|
+
export interface DimensionInfoData {
|
|
5657
|
+
/** 维度 key */
|
|
5658
|
+
dimension_key?: string
|
|
5659
|
+
/** 维度信息 */
|
|
5660
|
+
dimension_info?: DimensionInfo
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5173
5663
|
export interface DimensionOption {
|
|
5174
5664
|
/** 选项ID */
|
|
5175
5665
|
id?: string
|
|
@@ -5179,6 +5669,13 @@ export interface DimensionOption {
|
|
|
5179
5669
|
score_val?: number
|
|
5180
5670
|
}
|
|
5181
5671
|
|
|
5672
|
+
export interface DirectProjectLeaderRecordInfo {
|
|
5673
|
+
/** 评估人 ID */
|
|
5674
|
+
reviewer_id?: User
|
|
5675
|
+
/** 评估人作为直属项目上级所在的项目 */
|
|
5676
|
+
cooperation_projects?: CooperationProject[]
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5182
5679
|
export interface DisableInformConfig {
|
|
5183
5680
|
/** 是否覆盖子层级及会议室 */
|
|
5184
5681
|
if_cover_child_scope?: boolean
|
|
@@ -5513,11 +6010,107 @@ export interface Employee {
|
|
|
5513
6010
|
custom_fields?: CustomFields[]
|
|
5514
6011
|
}
|
|
5515
6012
|
|
|
6013
|
+
export const enum EmployeeActiveStatusDirectory {
|
|
6014
|
+
/** 未激活 */
|
|
6015
|
+
EmployeeActiveStatusDirectoryUnregister = 1,
|
|
6016
|
+
/** 激活 */
|
|
6017
|
+
EmployeeActiveStatusDirectoryRegister = 2,
|
|
6018
|
+
/** 冻结 */
|
|
6019
|
+
EmployeeActiveStatusDirectoryFrozen = 3,
|
|
6020
|
+
/** 主动退出 */
|
|
6021
|
+
EmployeeActiveStatusDirectoryQuit = 4,
|
|
6022
|
+
/** 未加入 */
|
|
6023
|
+
EmployeeActiveStatusDirectoryUnjoined = 5,
|
|
6024
|
+
}
|
|
6025
|
+
|
|
6026
|
+
export interface EmployeeBaseEntity {
|
|
6027
|
+
/** EmployeeID 和UserID一致 */
|
|
6028
|
+
employee_id: string
|
|
6029
|
+
/** 姓名 */
|
|
6030
|
+
name: Name
|
|
6031
|
+
/** 手机号 */
|
|
6032
|
+
mobile?: string
|
|
6033
|
+
/** 登录邮箱 */
|
|
6034
|
+
email?: string
|
|
6035
|
+
/** 企业邮箱 */
|
|
6036
|
+
enterprise_email?: string
|
|
6037
|
+
/** 性别 */
|
|
6038
|
+
gender?: GenderDirectory
|
|
6039
|
+
/** 部门信息 */
|
|
6040
|
+
departments?: Department[]
|
|
6041
|
+
/** 用户在部门内的排序信息, 第一个部门为主部门 */
|
|
6042
|
+
employee_order_in_departments?: UserDepartmentSortInfo[]
|
|
6043
|
+
/** 个人签名 */
|
|
6044
|
+
description?: string
|
|
6045
|
+
/** 用户活跃状态 */
|
|
6046
|
+
active_status?: EmployeeActiveStatusDirectory
|
|
6047
|
+
/** 是否离职 */
|
|
6048
|
+
is_resigned?: boolean
|
|
6049
|
+
/** 直属上级ID */
|
|
6050
|
+
leader_id?: string
|
|
6051
|
+
/** 虚线上级ID */
|
|
6052
|
+
dotted_line_leader_ids?: string[]
|
|
6053
|
+
/** 是否租户超级管理员 */
|
|
6054
|
+
is_primary_admin?: boolean
|
|
6055
|
+
/** 企业邮箱别名 */
|
|
6056
|
+
enterprise_email_aliases?: string[]
|
|
6057
|
+
/** 自定义字段值 */
|
|
6058
|
+
custom_field_values?: CustomFieldValue[]
|
|
6059
|
+
/** 员工部门全路径节点 本字段不含根部门信息,部门顺序为父部门->当前部门 例如:三级部门为员工当前部门[[DepartmentBaseInfo{1,一级部门},DepartmentBaseInfo{2,二级部门}, DepartmentBaseInfo{3,三级部门}]] */
|
|
6060
|
+
department_path_infos?: DepartmentBaseInfo[][]
|
|
6061
|
+
/** 离职时间 管理后台进行离职操作的时间,系统自动生成,无法写入 */
|
|
6062
|
+
resign_time?: string
|
|
6063
|
+
/** 头像url */
|
|
6064
|
+
avatar?: ImageLink
|
|
6065
|
+
/** 自定义背景图 url */
|
|
6066
|
+
background_image?: string
|
|
6067
|
+
/** 是否租户普通管理员 */
|
|
6068
|
+
is_admin?: boolean
|
|
6069
|
+
/** 数据来源 */
|
|
6070
|
+
data_source?: DataSource
|
|
6071
|
+
/** 员工Geo */
|
|
6072
|
+
geo_name?: string
|
|
6073
|
+
/** 员工license */
|
|
6074
|
+
subscription_ids?: string[]
|
|
6075
|
+
}
|
|
6076
|
+
|
|
5516
6077
|
export interface EmployeeConversionInfo {
|
|
5517
6078
|
/** 实际转正日期 */
|
|
5518
6079
|
actual_conversion_time?: number
|
|
5519
6080
|
}
|
|
5520
6081
|
|
|
6082
|
+
export interface EmployeeCostAllocation {
|
|
6083
|
+
/** 员工id */
|
|
6084
|
+
employment_id?: string
|
|
6085
|
+
/** 成本分摊 */
|
|
6086
|
+
cost_allocations?: EmploymentCostAllocation[]
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
export interface EmployeeDefaultCostCenter {
|
|
6090
|
+
/** 用户id */
|
|
6091
|
+
employment_id?: string
|
|
6092
|
+
/** 默认成本中心 */
|
|
6093
|
+
default_cost_centers?: EmploymentDefaultCostCenter[]
|
|
6094
|
+
}
|
|
6095
|
+
|
|
6096
|
+
export interface EmployeeEntity {
|
|
6097
|
+
/** 员工基础信息 */
|
|
6098
|
+
base_info?: EmployeeBaseEntity
|
|
6099
|
+
/** 员工工作信息 */
|
|
6100
|
+
work_info?: EmployeeWorkEntity
|
|
6101
|
+
}
|
|
6102
|
+
|
|
6103
|
+
export interface EmployeeIdConvertResult {
|
|
6104
|
+
/** ID */
|
|
6105
|
+
id: string
|
|
6106
|
+
/** 员工ID */
|
|
6107
|
+
employee_id?: string
|
|
6108
|
+
/** 员工OpenID */
|
|
6109
|
+
open_employee_id?: string
|
|
6110
|
+
/** 员工UnionID */
|
|
6111
|
+
union_employee_id?: string
|
|
6112
|
+
}
|
|
6113
|
+
|
|
5521
6114
|
export interface EmployeeJobData {
|
|
5522
6115
|
/** Employment ID */
|
|
5523
6116
|
employment_id: string
|
|
@@ -5625,6 +6218,19 @@ export interface EmployeesAdditionalJobWriteResp {
|
|
|
5625
6218
|
employee_subtype_id?: string
|
|
5626
6219
|
}
|
|
5627
6220
|
|
|
6221
|
+
export const enum EmployeeStaffStatusDirectory {
|
|
6222
|
+
/** 在职 */
|
|
6223
|
+
EmployeeStaffStatusDirectoryUnResigned = 1,
|
|
6224
|
+
/** 离职 */
|
|
6225
|
+
EmployeeStaffStatusDirectoryResigned = 2,
|
|
6226
|
+
/** 待入职 */
|
|
6227
|
+
EmployeeStaffStatusDirectoryPreEntry = 3,
|
|
6228
|
+
/** 取消入职 */
|
|
6229
|
+
EmployeeStaffStatusDirectoryCancelledEntry = 4,
|
|
6230
|
+
/** 待离职 */
|
|
6231
|
+
EmployeeStaffStatusDirectoryPreResigned = 5,
|
|
6232
|
+
}
|
|
6233
|
+
|
|
5628
6234
|
export interface EmployeeType {
|
|
5629
6235
|
/** 实体在CoreHR内部的唯一键 */
|
|
5630
6236
|
id?: string
|
|
@@ -5640,6 +6246,8 @@ export interface EmployeeType {
|
|
|
5640
6246
|
custom_fields?: ObjectFieldData[]
|
|
5641
6247
|
}
|
|
5642
6248
|
|
|
6249
|
+
export type EmployeeTypeDirectory = number
|
|
6250
|
+
|
|
5643
6251
|
export interface EmployeeTypeEnum {
|
|
5644
6252
|
/** 枚举值id */
|
|
5645
6253
|
enum_id?: string
|
|
@@ -5690,6 +6298,39 @@ export interface EmployeeV2 {
|
|
|
5690
6298
|
job_requirement_id?: string
|
|
5691
6299
|
}
|
|
5692
6300
|
|
|
6301
|
+
export interface EmployeeWorkEntity {
|
|
6302
|
+
/** 工作地国家/地区 */
|
|
6303
|
+
work_country_or_region?: string
|
|
6304
|
+
/** 地点 */
|
|
6305
|
+
work_place?: Place
|
|
6306
|
+
/** i18n文本 */
|
|
6307
|
+
work_station?: I18nText
|
|
6308
|
+
/** 工号 */
|
|
6309
|
+
job_number?: string
|
|
6310
|
+
/** 分机号 */
|
|
6311
|
+
extension_number?: string
|
|
6312
|
+
/** 入职日期 2007-03-20 */
|
|
6313
|
+
join_date?: string
|
|
6314
|
+
/** 员工类型 */
|
|
6315
|
+
employment_type?: EmployeeTypeDirectory
|
|
6316
|
+
/** 员工人事状态 */
|
|
6317
|
+
staff_status?: EmployeeStaffStatusDirectory
|
|
6318
|
+
/** 职务 */
|
|
6319
|
+
job_title?: JobTitle
|
|
6320
|
+
/** 职级 */
|
|
6321
|
+
job_level?: JobLevel
|
|
6322
|
+
/** 序列 */
|
|
6323
|
+
job_family?: JobFamily
|
|
6324
|
+
/** 离职日期 2007-03-20 */
|
|
6325
|
+
resign_date?: string
|
|
6326
|
+
/** 离职原因 */
|
|
6327
|
+
resign_reason?: ResignReasonDirectory
|
|
6328
|
+
/** 离职备注 */
|
|
6329
|
+
resign_remark?: string
|
|
6330
|
+
/** 离职类型 */
|
|
6331
|
+
resign_type?: ResignTypeDirectory
|
|
6332
|
+
}
|
|
6333
|
+
|
|
5693
6334
|
export interface Employment {
|
|
5694
6335
|
/** 待入职ID */
|
|
5695
6336
|
prehire_id?: string
|
|
@@ -5764,6 +6405,19 @@ export interface EmploymentBp {
|
|
|
5764
6405
|
location_bp_ids?: string[]
|
|
5765
6406
|
}
|
|
5766
6407
|
|
|
6408
|
+
export interface EmploymentCostAllocation {
|
|
6409
|
+
/** id */
|
|
6410
|
+
wk_id: string
|
|
6411
|
+
/** 分摊生效日期 */
|
|
6412
|
+
effective_time?: string
|
|
6413
|
+
/** 分摊失效日期 */
|
|
6414
|
+
expiration_time?: string
|
|
6415
|
+
/** 成本分摊 */
|
|
6416
|
+
job_data_cost_center_id?: JobDataCostCenter[]
|
|
6417
|
+
/** 变更原因 */
|
|
6418
|
+
reason?: string
|
|
6419
|
+
}
|
|
6420
|
+
|
|
5767
6421
|
export interface EmploymentCreate {
|
|
5768
6422
|
/** 待入职 ID */
|
|
5769
6423
|
prehire_id?: string
|
|
@@ -5827,6 +6481,21 @@ export interface EmploymentCreate {
|
|
|
5827
6481
|
rehire_employment_id?: string
|
|
5828
6482
|
}
|
|
5829
6483
|
|
|
6484
|
+
export interface EmploymentDefaultCostCenter {
|
|
6485
|
+
/** id */
|
|
6486
|
+
wk_id: string
|
|
6487
|
+
/** id */
|
|
6488
|
+
wk_tid: string
|
|
6489
|
+
/** 生效日期 */
|
|
6490
|
+
effective_time?: string
|
|
6491
|
+
/** 成本中心id */
|
|
6492
|
+
cost_center_id?: string
|
|
6493
|
+
/** 是否继承自岗位/部门的默认成本中心 */
|
|
6494
|
+
is_inherit?: boolean
|
|
6495
|
+
/** 变更原因 */
|
|
6496
|
+
reason?: string
|
|
6497
|
+
}
|
|
6498
|
+
|
|
5830
6499
|
export interface EmploymentLeaveBalance {
|
|
5831
6500
|
/** 雇佣信息ID */
|
|
5832
6501
|
employment_id: string
|
|
@@ -5890,6 +6559,21 @@ export interface Enum {
|
|
|
5890
6559
|
display?: I18n[]
|
|
5891
6560
|
}
|
|
5892
6561
|
|
|
6562
|
+
export interface EnumField {
|
|
6563
|
+
/** ApiName */
|
|
6564
|
+
api_name?: string
|
|
6565
|
+
/** 枚举值名 */
|
|
6566
|
+
name?: I18n[]
|
|
6567
|
+
/** 枚举值描述 */
|
|
6568
|
+
description?: I18n[]
|
|
6569
|
+
/** 所属枚举常量ApiName */
|
|
6570
|
+
enum_api_name?: string
|
|
6571
|
+
/** 顺序 */
|
|
6572
|
+
order?: number
|
|
6573
|
+
/** 状态 */
|
|
6574
|
+
status?: 1 | 0
|
|
6575
|
+
}
|
|
6576
|
+
|
|
5893
6577
|
export interface EnumFieldOption {
|
|
5894
6578
|
/** 枚举值选项 API Name,即选项的唯一标识 */
|
|
5895
6579
|
option_api_name: string
|
|
@@ -5904,6 +6588,20 @@ export interface EnumObject {
|
|
|
5904
6588
|
enum_key?: string
|
|
5905
6589
|
}
|
|
5906
6590
|
|
|
6591
|
+
export interface Enums {
|
|
6592
|
+
/** 枚举名称 */
|
|
6593
|
+
enum_apiname?: string
|
|
6594
|
+
/** 枚举值 */
|
|
6595
|
+
enum_items?: EnumField[]
|
|
6596
|
+
}
|
|
6597
|
+
|
|
6598
|
+
export interface EnumValue {
|
|
6599
|
+
/** 选项结果ID */
|
|
6600
|
+
enum_ids: string[]
|
|
6601
|
+
/** 选项类型 */
|
|
6602
|
+
enum_type: CustomFieldValueEnumType
|
|
6603
|
+
}
|
|
6604
|
+
|
|
5907
6605
|
export interface EnvironmentVariable {
|
|
5908
6606
|
/** 环境变量 API 名称 */
|
|
5909
6607
|
api_name: string
|
|
@@ -6043,6 +6741,15 @@ export interface ExportTask {
|
|
|
6043
6741
|
job_status?: 0 | 1 | 2 | 3 | 107 | 108 | 109 | 110 | 111 | 122 | 123 | 6000
|
|
6044
6742
|
}
|
|
6045
6743
|
|
|
6744
|
+
export interface Expression {
|
|
6745
|
+
/** 字段名 */
|
|
6746
|
+
field: string
|
|
6747
|
+
/** 运算符 */
|
|
6748
|
+
operator: Operator
|
|
6749
|
+
/** 字段值 */
|
|
6750
|
+
value: Value
|
|
6751
|
+
}
|
|
6752
|
+
|
|
6046
6753
|
export interface ExteranlInstanceCheck {
|
|
6047
6754
|
/** 审批实例 id */
|
|
6048
6755
|
instance_id: string
|
|
@@ -6450,6 +7157,8 @@ export interface FieldGroup {
|
|
|
6450
7157
|
readable: string[]
|
|
6451
7158
|
}
|
|
6452
7159
|
|
|
7160
|
+
export type FieldName = string
|
|
7161
|
+
|
|
6453
7162
|
export interface FieldVariableSubVlaue {
|
|
6454
7163
|
/** 用于关联list和record类型变量值中的key */
|
|
6455
7164
|
key?: string
|
|
@@ -6666,15 +7375,20 @@ export interface FileViewRecord {
|
|
|
6666
7375
|
last_view_time?: string
|
|
6667
7376
|
}
|
|
6668
7377
|
|
|
7378
|
+
export interface Filter {
|
|
7379
|
+
/** 与、或条件 */
|
|
7380
|
+
logic: Logic
|
|
7381
|
+
/** 过滤条件 */
|
|
7382
|
+
expressions?: Expression[]
|
|
7383
|
+
}
|
|
7384
|
+
|
|
6669
7385
|
export interface FilterCondition {
|
|
6670
|
-
/**
|
|
6671
|
-
|
|
6672
|
-
/**
|
|
6673
|
-
|
|
6674
|
-
/**
|
|
6675
|
-
|
|
6676
|
-
/** 右值类型 */
|
|
6677
|
-
right_value_type?: number
|
|
7386
|
+
/** 筛选条件的左值,值为字段的参数名称。具体可填哪些字段请看 https://bytedance.larkoffice.com/wiki/Yyrgw6kLLiGxMIkrEZece1ZvnWg */
|
|
7387
|
+
field: FieldName
|
|
7388
|
+
/** 比较操作符。可选值有: - equal:等于,支持任何类型的左值 - in:属于任一 */
|
|
7389
|
+
operator: CompareOperator
|
|
7390
|
+
/** 筛选条件的右值。内容为左值字段类型及操作符组合下,对应的值类型。注意: 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. 示例值:"\正式\"" */
|
|
7391
|
+
value: string
|
|
6678
7392
|
}
|
|
6679
7393
|
|
|
6680
7394
|
export interface FilterExpression {
|
|
@@ -6691,17 +7405,6 @@ export interface FilterInfo {
|
|
|
6691
7405
|
conditions: Condition[]
|
|
6692
7406
|
}
|
|
6693
7407
|
|
|
6694
|
-
export interface FilterRuleValue {
|
|
6695
|
-
/** 规则值类型 */
|
|
6696
|
-
type?: number
|
|
6697
|
-
/** 规则值 */
|
|
6698
|
-
value?: string
|
|
6699
|
-
/** 下钻值 */
|
|
6700
|
-
lookup_value?: string
|
|
6701
|
-
/** 下钻类型 */
|
|
6702
|
-
lookup_type?: string
|
|
6703
|
-
}
|
|
6704
|
-
|
|
6705
7408
|
export interface FilterView {
|
|
6706
7409
|
/** 筛选视图 id */
|
|
6707
7410
|
filter_view_id?: string
|
|
@@ -6781,6 +7484,21 @@ export interface FloatImage {
|
|
|
6781
7484
|
offset_y?: number
|
|
6782
7485
|
}
|
|
6783
7486
|
|
|
7487
|
+
export interface Folder {
|
|
7488
|
+
/** folder id */
|
|
7489
|
+
id?: string
|
|
7490
|
+
/** 文件夹名称 */
|
|
7491
|
+
name: string
|
|
7492
|
+
/** 父文件夹 id,该值为 0 表示根文件夹 */
|
|
7493
|
+
parent_folder_id: string
|
|
7494
|
+
/** 文件夹类型 */
|
|
7495
|
+
folder_type?: 1 | 2
|
|
7496
|
+
/** 未读邮件数量 */
|
|
7497
|
+
unread_message_count?: number
|
|
7498
|
+
/** 未读会话数量 */
|
|
7499
|
+
unread_thread_count?: number
|
|
7500
|
+
}
|
|
7501
|
+
|
|
6784
7502
|
export interface Follower {
|
|
6785
7503
|
/** 任务关注者 ID */
|
|
6786
7504
|
id?: string
|
|
@@ -6819,134 +7537,6 @@ export interface FoodProduceLicense {
|
|
|
6819
7537
|
entities?: FoodProduceEntity[]
|
|
6820
7538
|
}
|
|
6821
7539
|
|
|
6822
|
-
export interface FormFieldVariable {
|
|
6823
|
-
/** 变量api名称 */
|
|
6824
|
-
variable_api_name?: string
|
|
6825
|
-
/** 变量名称的i18n描述 */
|
|
6826
|
-
variable_name?: BpmDataengineI18n
|
|
6827
|
-
/** 变量值的对象 */
|
|
6828
|
-
variable_value?: FormVariableValueInfo
|
|
6829
|
-
}
|
|
6830
|
-
|
|
6831
|
-
export interface FormFieldVariableBoolValue {
|
|
6832
|
-
/** 布尔变量的值 */
|
|
6833
|
-
value?: boolean
|
|
6834
|
-
}
|
|
6835
|
-
|
|
6836
|
-
export interface FormFieldVariableDatetimeValue {
|
|
6837
|
-
/** 毫秒的时间戳 */
|
|
6838
|
-
value?: number
|
|
6839
|
-
/** 时区 */
|
|
6840
|
-
zone?: string
|
|
6841
|
-
}
|
|
6842
|
-
|
|
6843
|
-
export interface FormFieldVariableDateValue {
|
|
6844
|
-
/** 日期变量的值,从1970起的天数 */
|
|
6845
|
-
value?: number
|
|
6846
|
-
}
|
|
6847
|
-
|
|
6848
|
-
export interface FormFieldVariableDepartmentValue {
|
|
6849
|
-
/** 部门ID */
|
|
6850
|
-
value?: string
|
|
6851
|
-
}
|
|
6852
|
-
|
|
6853
|
-
export interface FormFieldVariableEmploymentValue {
|
|
6854
|
-
/** employmentID */
|
|
6855
|
-
value?: string
|
|
6856
|
-
/** 员工ID 如3158117 */
|
|
6857
|
-
user_id?: string
|
|
6858
|
-
}
|
|
6859
|
-
|
|
6860
|
-
export interface FormFieldVariableEnumValue {
|
|
6861
|
-
/** 枚举值 */
|
|
6862
|
-
value?: string
|
|
6863
|
-
/** 枚举的名称 */
|
|
6864
|
-
name?: BpmDataengineI18n
|
|
6865
|
-
/** 枚举的描述 */
|
|
6866
|
-
desc?: BpmDataengineI18n
|
|
6867
|
-
}
|
|
6868
|
-
|
|
6869
|
-
export interface FormFieldVariableFileValue {
|
|
6870
|
-
/** 文件源类型(1BPM; 2主数据) */
|
|
6871
|
-
source_type?: number
|
|
6872
|
-
/** 文件id */
|
|
6873
|
-
file_id?: string
|
|
6874
|
-
/** 文件名称 */
|
|
6875
|
-
file_name?: string
|
|
6876
|
-
/** 文件长度 */
|
|
6877
|
-
length?: number
|
|
6878
|
-
/** mime type */
|
|
6879
|
-
mime_type?: string
|
|
6880
|
-
}
|
|
6881
|
-
|
|
6882
|
-
export interface FormFieldVariableI18nValue {
|
|
6883
|
-
/** i18n值 */
|
|
6884
|
-
value?: BpmDataengineI18n
|
|
6885
|
-
}
|
|
6886
|
-
|
|
6887
|
-
export interface FormFieldVariableListObject {
|
|
6888
|
-
/** 文本变量对象 */
|
|
6889
|
-
text_value?: FormFieldVariableTextValue
|
|
6890
|
-
/** 数值变量对象 */
|
|
6891
|
-
number_value?: FormFieldVariableNumberValue
|
|
6892
|
-
/** 日期变量对象 */
|
|
6893
|
-
date_value?: FormFieldVariableDateValue
|
|
6894
|
-
/** 员工变量对象 */
|
|
6895
|
-
employment_value?: FormFieldVariableEmploymentValue
|
|
6896
|
-
/** 日期时间变量对象 */
|
|
6897
|
-
date_time_value?: FormFieldVariableDatetimeValue
|
|
6898
|
-
/** 枚举变量对象 */
|
|
6899
|
-
enum_value?: FormFieldVariableEnumValue
|
|
6900
|
-
/** 空变量对象 */
|
|
6901
|
-
null_value?: FormFieldVariableNullValue
|
|
6902
|
-
/** 布尔变量对象 */
|
|
6903
|
-
bool_value?: FormFieldVariableBoolValue
|
|
6904
|
-
/** 部门变量对象 */
|
|
6905
|
-
department_value?: FormFieldVariableDepartmentValue
|
|
6906
|
-
/** 文件变量对象 */
|
|
6907
|
-
file_value?: FormFieldVariableFileValue
|
|
6908
|
-
/** i18n变量对象 */
|
|
6909
|
-
i18n_value?: FormFieldVariableI18nValue
|
|
6910
|
-
/** 对象变量 */
|
|
6911
|
-
object_value?: FormFieldVariableObjectValue
|
|
6912
|
-
/** 记录对象 */
|
|
6913
|
-
record_value?: FormFieldVariableRecordValue
|
|
6914
|
-
}
|
|
6915
|
-
|
|
6916
|
-
export interface FormFieldVariableListValue {
|
|
6917
|
-
/** 列表值 */
|
|
6918
|
-
values?: FormFieldVariableListObject[]
|
|
6919
|
-
}
|
|
6920
|
-
|
|
6921
|
-
export type FormFieldVariableNullValue = unknown
|
|
6922
|
-
|
|
6923
|
-
export interface FormFieldVariableNumberValue {
|
|
6924
|
-
/** 数值类型变量的值 */
|
|
6925
|
-
value?: string
|
|
6926
|
-
}
|
|
6927
|
-
|
|
6928
|
-
export interface FormFieldVariableObjectValue {
|
|
6929
|
-
/** 对象ID */
|
|
6930
|
-
value?: string
|
|
6931
|
-
/** 主数据apiName */
|
|
6932
|
-
wk_api_name?: string
|
|
6933
|
-
}
|
|
6934
|
-
|
|
6935
|
-
export interface FormFieldVariableRecordValue {
|
|
6936
|
-
/** 注意:这个值是一个map,key是变量唯一标识,value是变量值(平台限制,没法录入Map类型,这里用object示意一下) */
|
|
6937
|
-
values?: FormFieldVariableRecordValueExample
|
|
6938
|
-
}
|
|
6939
|
-
|
|
6940
|
-
export interface FormFieldVariableRecordValueExample {
|
|
6941
|
-
/** 这个属性名称是map的key的示例,属性值是map的value的示例,值和外层的variable_value是的一样的结构。 */
|
|
6942
|
-
country_region?: FormVariableValueInfoExample
|
|
6943
|
-
}
|
|
6944
|
-
|
|
6945
|
-
export interface FormFieldVariableTextValue {
|
|
6946
|
-
/** 文本类型变量的值 */
|
|
6947
|
-
value?: string
|
|
6948
|
-
}
|
|
6949
|
-
|
|
6950
7540
|
export interface Formula {
|
|
6951
7541
|
/** 公式表达式 */
|
|
6952
7542
|
expr?: string
|
|
@@ -6961,42 +7551,6 @@ export interface FormulaParam {
|
|
|
6961
7551
|
id?: string
|
|
6962
7552
|
}
|
|
6963
7553
|
|
|
6964
|
-
export interface FormVariableValueInfo {
|
|
6965
|
-
/** 文本变量对象 */
|
|
6966
|
-
text_value?: FormFieldVariableTextValue
|
|
6967
|
-
/** 数值变量对象 */
|
|
6968
|
-
number_value?: FormFieldVariableNumberValue
|
|
6969
|
-
/** 日期变量对象 */
|
|
6970
|
-
date_value?: FormFieldVariableDateValue
|
|
6971
|
-
/** 员工变量对象 */
|
|
6972
|
-
employment_value?: FormFieldVariableEmploymentValue
|
|
6973
|
-
/** 日期时间变量对象 */
|
|
6974
|
-
date_time_value?: FormFieldVariableDatetimeValue
|
|
6975
|
-
/** 枚举变量对象 */
|
|
6976
|
-
enum_value?: FormFieldVariableEnumValue
|
|
6977
|
-
/** 空变量对象 */
|
|
6978
|
-
null_value?: FormFieldVariableNullValue
|
|
6979
|
-
/** 布尔变量对象 */
|
|
6980
|
-
bool_value?: FormFieldVariableBoolValue
|
|
6981
|
-
/** 部门变量对象 */
|
|
6982
|
-
department_value?: FormFieldVariableDepartmentValue
|
|
6983
|
-
/** 文件变量对象 */
|
|
6984
|
-
file_value?: FormFieldVariableFileValue
|
|
6985
|
-
/** i18n变量对象 */
|
|
6986
|
-
i18n_value?: FormFieldVariableI18nValue
|
|
6987
|
-
/** 对象变量 */
|
|
6988
|
-
object_value?: FormFieldVariableObjectValue
|
|
6989
|
-
/** 列表对象 */
|
|
6990
|
-
list_value?: FormFieldVariableListValue
|
|
6991
|
-
/** 记录对象 */
|
|
6992
|
-
record_value?: FormFieldVariableRecordValue
|
|
6993
|
-
}
|
|
6994
|
-
|
|
6995
|
-
export interface FormVariableValueInfoExample {
|
|
6996
|
-
/** 示例的国家地区变量对象 */
|
|
6997
|
-
object_value?: FormFieldVariableObjectValue
|
|
6998
|
-
}
|
|
6999
|
-
|
|
7000
7554
|
export interface Freebusy {
|
|
7001
7555
|
/** 忙闲信息开始时间,RFC3339 date_time格式 */
|
|
7002
7556
|
start_time: string
|
|
@@ -7052,6 +7606,17 @@ export interface Gadget {
|
|
|
7052
7606
|
pc_min_lark_version?: string
|
|
7053
7607
|
}
|
|
7054
7608
|
|
|
7609
|
+
export const enum GenderDirectory {
|
|
7610
|
+
/** 未知 */
|
|
7611
|
+
GenderDirectoryUnknown = 0,
|
|
7612
|
+
/** 男 */
|
|
7613
|
+
GenderDirectoryMan = 1,
|
|
7614
|
+
/** 女 */
|
|
7615
|
+
GenderDirectoryWoman = 2,
|
|
7616
|
+
/** 其他 */
|
|
7617
|
+
GenderDirectoryOther = 3,
|
|
7618
|
+
}
|
|
7619
|
+
|
|
7055
7620
|
export interface GetSpreadsheet {
|
|
7056
7621
|
/** 电子表格标题 */
|
|
7057
7622
|
title?: string
|
|
@@ -7215,10 +7780,12 @@ export interface I18nMeta {
|
|
|
7215
7780
|
}
|
|
7216
7781
|
|
|
7217
7782
|
export interface I18nName {
|
|
7218
|
-
/**
|
|
7219
|
-
|
|
7220
|
-
/**
|
|
7221
|
-
|
|
7783
|
+
/** 中文名 */
|
|
7784
|
+
zh_cn?: string
|
|
7785
|
+
/** 日文名 */
|
|
7786
|
+
ja_jp?: string
|
|
7787
|
+
/** 英文名 */
|
|
7788
|
+
en_us?: string
|
|
7222
7789
|
}
|
|
7223
7790
|
|
|
7224
7791
|
export interface I18nNames {
|
|
@@ -7247,30 +7814,10 @@ export interface I18nResourceText {
|
|
|
7247
7814
|
export type I18ns = I18n[]
|
|
7248
7815
|
|
|
7249
7816
|
export interface I18nText {
|
|
7250
|
-
/**
|
|
7251
|
-
|
|
7252
|
-
/**
|
|
7253
|
-
|
|
7254
|
-
/** 中文(香港地区) */
|
|
7255
|
-
zh_hk?: string
|
|
7256
|
-
/** 中文(台湾地区) */
|
|
7257
|
-
zh_tw?: string
|
|
7258
|
-
/** 日语 */
|
|
7259
|
-
ja_jp?: string
|
|
7260
|
-
/** 法语 */
|
|
7261
|
-
fr_fr?: string
|
|
7262
|
-
/** 意大利语 */
|
|
7263
|
-
it_it?: string
|
|
7264
|
-
/** 德语 */
|
|
7265
|
-
de_de?: string
|
|
7266
|
-
/** 俄语 */
|
|
7267
|
-
ru_ru?: string
|
|
7268
|
-
/** 泰语 */
|
|
7269
|
-
th_th?: string
|
|
7270
|
-
/** 西班牙语 */
|
|
7271
|
-
es_es?: string
|
|
7272
|
-
/** 韩语 */
|
|
7273
|
-
ko_kr?: string
|
|
7817
|
+
/** 默认值 */
|
|
7818
|
+
default_value: string
|
|
7819
|
+
/** 国际化值,key为zh_cn, ja_jp, en_us, value为对应的值 */
|
|
7820
|
+
i18n_value?: Record<string, string>
|
|
7274
7821
|
}
|
|
7275
7822
|
|
|
7276
7823
|
export interface IdCard {
|
|
@@ -7335,6 +7882,17 @@ export interface Image {
|
|
|
7335
7882
|
align?: 1 | 2 | 3
|
|
7336
7883
|
}
|
|
7337
7884
|
|
|
7885
|
+
export interface ImageLink {
|
|
7886
|
+
/** 72*72像素头像链接 */
|
|
7887
|
+
avatar_72?: string
|
|
7888
|
+
/** 240*240像素头像链接 */
|
|
7889
|
+
avatar_240?: string
|
|
7890
|
+
/** 640*640像素头像链接 */
|
|
7891
|
+
avatar_640?: string
|
|
7892
|
+
/** 原始头像链接 */
|
|
7893
|
+
avatar_origin?: string
|
|
7894
|
+
}
|
|
7895
|
+
|
|
7338
7896
|
export interface ImportedMetric {
|
|
7339
7897
|
/** 被评估人 ID */
|
|
7340
7898
|
reviewee_user_id: string
|
|
@@ -8065,6 +8623,23 @@ export interface InterviewTask {
|
|
|
8065
8623
|
activity_status?: 1 | 2 | 3 | 5
|
|
8066
8624
|
}
|
|
8067
8625
|
|
|
8626
|
+
export interface InvitedReviewRecordInfo {
|
|
8627
|
+
/** 评估人 ID。如果开启了 360 匿名评估,并且是对全部查看者匿名,则不返回该值 */
|
|
8628
|
+
reviewer_id?: User
|
|
8629
|
+
/** 是否拒绝 */
|
|
8630
|
+
is_rejected?: boolean
|
|
8631
|
+
/** 360° 评估人拒绝评估的理由,当 360° 评估环节被评估人拒绝时有值 */
|
|
8632
|
+
rejected_reason?: string
|
|
8633
|
+
/** 360° 评估人的评估尺度标签 */
|
|
8634
|
+
distribute_type?: 1 | 2 | 3
|
|
8635
|
+
/** 360° 评估人的评估尺度数值 */
|
|
8636
|
+
avg_diff?: string
|
|
8637
|
+
/** 360° 评估人的与被评估人关系。如果开启了 360 匿名评估,并且是对全部查看者匿名,且配置隐藏描述信息则不返回该值 */
|
|
8638
|
+
relationship_with_reviewee?: 'direct_report' | 'skiplevel_report' | 'former_direct_manager' | 'skiplevel_manager' | 'teammate' | 'crossteam_colleague'
|
|
8639
|
+
/** 360° 评估人的邀请人类型。如果开启了 360 匿名评估,并且是对全部查看者匿名,且配置隐藏描述信息则不返回该值 */
|
|
8640
|
+
invitedby?: 'system_default' | 'reviewee' | 'manager' | 'hrbp_or_others' | 'voluntary'
|
|
8641
|
+
}
|
|
8642
|
+
|
|
8068
8643
|
export interface Isv {
|
|
8069
8644
|
/** 团队互动应用唯一ID */
|
|
8070
8645
|
component_id?: string
|
|
@@ -8800,6 +9375,17 @@ export interface JobUserInfo {
|
|
|
8800
9375
|
name?: I18n
|
|
8801
9376
|
}
|
|
8802
9377
|
|
|
9378
|
+
export interface KeyresultData {
|
|
9379
|
+
/** 关键举措 ID */
|
|
9380
|
+
keyresult_id: string
|
|
9381
|
+
/** 关键举措的评分 */
|
|
9382
|
+
score?: string
|
|
9383
|
+
/** 该关键举措的填写项内容 */
|
|
9384
|
+
text?: string
|
|
9385
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
9386
|
+
richtext?: string
|
|
9387
|
+
}
|
|
9388
|
+
|
|
8803
9389
|
export interface KvEntity {
|
|
8804
9390
|
/** 识别的实体类型 */
|
|
8805
9391
|
type?: string
|
|
@@ -9226,6 +9812,8 @@ export interface LocationState {
|
|
|
9226
9812
|
state_name_info?: LocationNameInfo
|
|
9227
9813
|
}
|
|
9228
9814
|
|
|
9815
|
+
export type Logic = string
|
|
9816
|
+
|
|
9229
9817
|
export interface LookupWithAvatar {
|
|
9230
9818
|
/** 用户ID */
|
|
9231
9819
|
id?: string
|
|
@@ -9251,6 +9839,27 @@ export interface MailAddress {
|
|
|
9251
9839
|
name?: string
|
|
9252
9840
|
}
|
|
9253
9841
|
|
|
9842
|
+
export interface MailContact {
|
|
9843
|
+
/** 联系人 id */
|
|
9844
|
+
id?: string
|
|
9845
|
+
/** 联系人姓名 */
|
|
9846
|
+
name: string
|
|
9847
|
+
/** 联系人公司 */
|
|
9848
|
+
company?: string
|
|
9849
|
+
/** 联系人手机号 */
|
|
9850
|
+
phone?: string
|
|
9851
|
+
/** 联系人邮箱 */
|
|
9852
|
+
mail_address?: string
|
|
9853
|
+
/** 联系人标签 */
|
|
9854
|
+
tag?: string
|
|
9855
|
+
/** 联系人备注 */
|
|
9856
|
+
remark?: string
|
|
9857
|
+
/** 联系人头像 */
|
|
9858
|
+
avatar?: string
|
|
9859
|
+
/** 联系人职位 */
|
|
9860
|
+
position?: string
|
|
9861
|
+
}
|
|
9862
|
+
|
|
9254
9863
|
export interface Mailgroup {
|
|
9255
9864
|
/** The unique ID of a mail group */
|
|
9256
9865
|
mailgroup_id?: string
|
|
@@ -9332,6 +9941,20 @@ export interface MatchInfo {
|
|
|
9332
9941
|
type?: 0 | 1 | 2
|
|
9333
9942
|
}
|
|
9334
9943
|
|
|
9944
|
+
export interface MatchRule {
|
|
9945
|
+
/** 左值 */
|
|
9946
|
+
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'
|
|
9947
|
+
/** 操作符 */
|
|
9948
|
+
operator: 'contains' | 'notContains'
|
|
9949
|
+
/** 右值 */
|
|
9950
|
+
right_values?: string[]
|
|
9951
|
+
}
|
|
9952
|
+
|
|
9953
|
+
export interface MatchRules {
|
|
9954
|
+
/** 匹配规则组,组内取交集 */
|
|
9955
|
+
match_rules?: MatchRule[]
|
|
9956
|
+
}
|
|
9957
|
+
|
|
9335
9958
|
export interface Meeting {
|
|
9336
9959
|
/** 会议ID */
|
|
9337
9960
|
id?: string
|
|
@@ -9678,6 +10301,13 @@ export interface MetaFailed {
|
|
|
9678
10301
|
code: 970002 | 970003 | 970005
|
|
9679
10302
|
}
|
|
9680
10303
|
|
|
10304
|
+
export interface MetricData {
|
|
10305
|
+
/** 指标 ID,可以通过获取指标详情接口获取详细信息 */
|
|
10306
|
+
id: string
|
|
10307
|
+
/** 指标评分 */
|
|
10308
|
+
score?: string
|
|
10309
|
+
}
|
|
10310
|
+
|
|
9681
10311
|
export interface MetricDetail {
|
|
9682
10312
|
/** 指标 ID */
|
|
9683
10313
|
metric_id?: string
|
|
@@ -9909,11 +10539,16 @@ export interface MoveResult {
|
|
|
9909
10539
|
status_msg: string
|
|
9910
10540
|
}
|
|
9911
10541
|
|
|
10542
|
+
export interface MultiFilterCondition {
|
|
10543
|
+
/** 比较表达式列表,内容如 base_info.mobile eq "\"+8613000000001\""的比较条件,多个表达式之间的关系为且 */
|
|
10544
|
+
conditions: FilterCondition[]
|
|
10545
|
+
}
|
|
10546
|
+
|
|
9912
10547
|
export interface Name {
|
|
9913
|
-
/**
|
|
9914
|
-
|
|
9915
|
-
/**
|
|
9916
|
-
|
|
10548
|
+
/** i18n文本 */
|
|
10549
|
+
name?: I18nText
|
|
10550
|
+
/** 别名 */
|
|
10551
|
+
another_name?: string
|
|
9917
10552
|
}
|
|
9918
10553
|
|
|
9919
10554
|
export interface NameForUpdate {
|
|
@@ -10230,6 +10865,19 @@ export interface ObjectFieldData {
|
|
|
10230
10865
|
value: string
|
|
10231
10866
|
}
|
|
10232
10867
|
|
|
10868
|
+
export interface ObjectiveData {
|
|
10869
|
+
/** 目标 ID */
|
|
10870
|
+
objective_id: string
|
|
10871
|
+
/** 目标的评分 */
|
|
10872
|
+
score?: string
|
|
10873
|
+
/** 评估人在该填写项填写的文本 */
|
|
10874
|
+
text?: string
|
|
10875
|
+
/** 评估的关键举措,当评估内容是对关键举措(KR)评估时有值 */
|
|
10876
|
+
keyresult_data?: KeyresultData[]
|
|
10877
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
10878
|
+
richtext?: string
|
|
10879
|
+
}
|
|
10880
|
+
|
|
10233
10881
|
export interface ObjectMeta {
|
|
10234
10882
|
/** 对象信息 */
|
|
10235
10883
|
object?: Object
|
|
@@ -11178,29 +11826,6 @@ export interface OpenFeedStatusLabel {
|
|
|
11178
11826
|
type: 'primary' | 'secondary' | 'success' | 'danger'
|
|
11179
11827
|
}
|
|
11180
11828
|
|
|
11181
|
-
export interface OpeningTimeExternal {
|
|
11182
|
-
/** 有效日期 */
|
|
11183
|
-
valid_day?: OpeningTimeValidDayExternal
|
|
11184
|
-
/** 有效星期 */
|
|
11185
|
-
weekdays?: number[]
|
|
11186
|
-
/** 有效时间 */
|
|
11187
|
-
day_times?: OpeningTimePeriodExternal[]
|
|
11188
|
-
}
|
|
11189
|
-
|
|
11190
|
-
export interface OpeningTimePeriodExternal {
|
|
11191
|
-
/** 起始时间 */
|
|
11192
|
-
start_hhmm: number
|
|
11193
|
-
/** 结束时间 */
|
|
11194
|
-
end_hhmm: number
|
|
11195
|
-
}
|
|
11196
|
-
|
|
11197
|
-
export interface OpeningTimeValidDayExternal {
|
|
11198
|
-
/** 权限开始时间 */
|
|
11199
|
-
start_day: number
|
|
11200
|
-
/** 权限结束时间 */
|
|
11201
|
-
end_day: number
|
|
11202
|
-
}
|
|
11203
|
-
|
|
11204
11829
|
export interface OperationLogEntityField {
|
|
11205
11830
|
/** 变更字段 */
|
|
11206
11831
|
field?: string
|
|
@@ -11273,6 +11898,26 @@ export interface OrgdraftDepartmentId {
|
|
|
11273
11898
|
draft_department_id?: string
|
|
11274
11899
|
}
|
|
11275
11900
|
|
|
11901
|
+
export interface OrgRole {
|
|
11902
|
+
/** 角色key */
|
|
11903
|
+
api_name: string
|
|
11904
|
+
/** 角色ID */
|
|
11905
|
+
security_group_id?: string
|
|
11906
|
+
/** 授权员工列表 */
|
|
11907
|
+
employment_ids?: string[]
|
|
11908
|
+
/** 继承至上级授权员工列表 */
|
|
11909
|
+
inherit_employment_ids?: string[]
|
|
11910
|
+
}
|
|
11911
|
+
|
|
11912
|
+
export interface OrgRoleUpdate {
|
|
11913
|
+
/** 角色key(ID、key必须填一个) */
|
|
11914
|
+
api_name?: string
|
|
11915
|
+
/** 角色ID(ID、key必须填一个) */
|
|
11916
|
+
security_group_id?: string
|
|
11917
|
+
/** 授权员工列表 */
|
|
11918
|
+
employment_ids?: string[]
|
|
11919
|
+
}
|
|
11920
|
+
|
|
11276
11921
|
export interface OrgTruncation {
|
|
11277
11922
|
/** 组织名称 */
|
|
11278
11923
|
org_key?: string
|
|
@@ -11289,6 +11934,13 @@ export interface Origin {
|
|
|
11289
11934
|
href?: Href
|
|
11290
11935
|
}
|
|
11291
11936
|
|
|
11937
|
+
export interface OtherRecRule {
|
|
11938
|
+
/** 记录筛选条件 */
|
|
11939
|
+
conditions?: RecRuleCondition[]
|
|
11940
|
+
/** 多个筛选条件的关系 */
|
|
11941
|
+
conjunction?: 'and' | 'or'
|
|
11942
|
+
}
|
|
11943
|
+
|
|
11292
11944
|
export interface OuterInfo {
|
|
11293
11945
|
/** 数据提供方(不能包含中横线 "-") */
|
|
11294
11946
|
provider: string
|
|
@@ -11310,6 +11962,20 @@ export interface OvertimeRule {
|
|
|
11310
11962
|
off_overtime: string
|
|
11311
11963
|
}
|
|
11312
11964
|
|
|
11965
|
+
export interface PageCondition {
|
|
11966
|
+
/** 本次请求条数 */
|
|
11967
|
+
page_size?: number
|
|
11968
|
+
/** 顺序分页查询,不能跳页查询,支持深分页,在需要遍历全部数据的场景只能使用该方式。第一次传空字符串或者不传,后面传上一次的返回值中的page_token */
|
|
11969
|
+
page_token?: string
|
|
11970
|
+
}
|
|
11971
|
+
|
|
11972
|
+
export interface PageResponse {
|
|
11973
|
+
/** 是否还有后续结果 */
|
|
11974
|
+
has_more?: boolean
|
|
11975
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
11976
|
+
page_token?: string
|
|
11977
|
+
}
|
|
11978
|
+
|
|
11313
11979
|
export interface Participant {
|
|
11314
11980
|
/** 参会者 */
|
|
11315
11981
|
participant_name?: string
|
|
@@ -11419,6 +12085,52 @@ export interface Paygroup {
|
|
|
11419
12085
|
country_region?: CountryRegion
|
|
11420
12086
|
}
|
|
11421
12087
|
|
|
12088
|
+
export interface PaymentAccountingItem {
|
|
12089
|
+
/** 算薪项唯一标识 */
|
|
12090
|
+
id?: string
|
|
12091
|
+
/** 算薪项名称 */
|
|
12092
|
+
accounting_item_names?: I18nContent[]
|
|
12093
|
+
/** 算薪项值 */
|
|
12094
|
+
accounting_item_value?: AccountingItemValue
|
|
12095
|
+
/** 算薪项分段数据 */
|
|
12096
|
+
segment_values?: SegmentValue[]
|
|
12097
|
+
/** 算薪项类型,1-文本;2-金额;3-数值;4-百分比;5-日期;6-引用 */
|
|
12098
|
+
accounting_item_type?: number
|
|
12099
|
+
}
|
|
12100
|
+
|
|
12101
|
+
export interface PaymentActivity {
|
|
12102
|
+
/** 发薪活动唯一标识 */
|
|
12103
|
+
activity_id?: string
|
|
12104
|
+
/** 发薪活动名称 */
|
|
12105
|
+
activity_names?: I18nContent[]
|
|
12106
|
+
/** 发薪活动发薪日期 */
|
|
12107
|
+
pay_date?: string
|
|
12108
|
+
/** 发薪总笔数 */
|
|
12109
|
+
total_number_of_payroll?: number
|
|
12110
|
+
/** 关联的算薪活动个数 */
|
|
12111
|
+
number_of_calculation_activities?: number
|
|
12112
|
+
/** 发薪活动关联的算薪活动详情 */
|
|
12113
|
+
calculation_activities?: CalculationActivity[]
|
|
12114
|
+
/** 发薪活动审批状态,其中:100-待确认发薪名单;150-待提交审批;200-审批中;300-审批被拒绝;350-审批被撤回;360-审批被撤销;375-审批通过;400-已封存。 */
|
|
12115
|
+
activity_status?: number
|
|
12116
|
+
}
|
|
12117
|
+
|
|
12118
|
+
export interface PaymentActivityDetail {
|
|
12119
|
+
/** 员工的唯一标识 */
|
|
12120
|
+
employee_id?: string
|
|
12121
|
+
/** 发薪明细详情 */
|
|
12122
|
+
payment_details?: PaymentAccountingItem[]
|
|
12123
|
+
}
|
|
12124
|
+
|
|
12125
|
+
export interface PaymentDetail {
|
|
12126
|
+
/** 员工的唯一标识 */
|
|
12127
|
+
employee_id?: string
|
|
12128
|
+
/** 发薪明细所在的发薪活动 ID */
|
|
12129
|
+
activity_id?: string
|
|
12130
|
+
/** 发薪明细详情 */
|
|
12131
|
+
payment_accounting_items?: PaymentAccountingItem[]
|
|
12132
|
+
}
|
|
12133
|
+
|
|
11422
12134
|
export interface Period {
|
|
11423
12135
|
/** id */
|
|
11424
12136
|
id?: string
|
|
@@ -11483,18 +12195,20 @@ export interface PermissionNameInfo {
|
|
|
11483
12195
|
|
|
11484
12196
|
export interface PermissionPublic {
|
|
11485
12197
|
/** 允许内容被分享到组织外 */
|
|
11486
|
-
|
|
11487
|
-
/**
|
|
12198
|
+
external_access_entity?: 'open' | 'closed' | 'allow_share_partner_tenant'
|
|
12199
|
+
/** 谁可以创建副本、打印、下载 */
|
|
11488
12200
|
security_entity?: 'anyone_can_view' | 'anyone_can_edit' | 'only_full_access'
|
|
11489
12201
|
/** 谁可以评论 */
|
|
11490
12202
|
comment_entity?: 'anyone_can_view' | 'anyone_can_edit'
|
|
11491
|
-
/**
|
|
11492
|
-
share_entity?: 'anyone' | 'same_tenant'
|
|
12203
|
+
/** 谁可以添加和管理协作者-组织维度 */
|
|
12204
|
+
share_entity?: 'anyone' | 'same_tenant'
|
|
12205
|
+
/** 谁可以添加和管理协作者-协作者维度 */
|
|
12206
|
+
manage_collaborator_entity?: 'collaborator_can_view' | 'collaborator_can_edit' | 'collaborator_full_access'
|
|
11493
12207
|
/** 链接分享设置 */
|
|
11494
|
-
link_share_entity?: 'tenant_readable' | 'tenant_editable' | 'anyone_readable' | 'anyone_editable' | 'closed'
|
|
11495
|
-
/**
|
|
11496
|
-
|
|
11497
|
-
/**
|
|
12208
|
+
link_share_entity?: 'tenant_readable' | 'tenant_editable' | 'partner_tenant_readable' | 'partner_tenant_editable' | 'anyone_readable' | 'anyone_editable' | 'closed'
|
|
12209
|
+
/** 谁可以复制内容 */
|
|
12210
|
+
copy_entity?: 'anyone_can_view' | 'anyone_can_edit' | 'only_full_access'
|
|
12211
|
+
/** 节点是否已加锁,加锁之后不再继承父级页面的权限 */
|
|
11498
12212
|
lock_switch?: boolean
|
|
11499
12213
|
}
|
|
11500
12214
|
|
|
@@ -11728,6 +12442,17 @@ export interface Pin {
|
|
|
11728
12442
|
create_time?: string
|
|
11729
12443
|
}
|
|
11730
12444
|
|
|
12445
|
+
export interface Place {
|
|
12446
|
+
/** ID */
|
|
12447
|
+
place_id: string
|
|
12448
|
+
/** i18n文本 */
|
|
12449
|
+
place_name?: I18nText
|
|
12450
|
+
/** 是否启用 */
|
|
12451
|
+
is_enabled?: boolean
|
|
12452
|
+
/** i18n文本 */
|
|
12453
|
+
description?: I18nText
|
|
12454
|
+
}
|
|
12455
|
+
|
|
11731
12456
|
export interface PlanCondition {
|
|
11732
12457
|
/** 适用范围左值 */
|
|
11733
12458
|
left_type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
|
|
@@ -13219,6 +13944,24 @@ export interface RecordScore {
|
|
|
13219
13944
|
total_score?: number
|
|
13220
13945
|
}
|
|
13221
13946
|
|
|
13947
|
+
export interface RecRule {
|
|
13948
|
+
/** 记录筛选条件 */
|
|
13949
|
+
conditions?: RecRuleCondition[]
|
|
13950
|
+
/** 多个筛选条件的关系 */
|
|
13951
|
+
conjunction?: 'and' | 'or'
|
|
13952
|
+
/** 其他记录权限,仅在table_perm为2时有效 */
|
|
13953
|
+
other_perm?: 0 | 1
|
|
13954
|
+
}
|
|
13955
|
+
|
|
13956
|
+
export interface RecRuleCondition {
|
|
13957
|
+
/** 字段名 */
|
|
13958
|
+
field_name: string
|
|
13959
|
+
/** 运算符 */
|
|
13960
|
+
operator?: 'is' | 'isNot' | 'contains' | 'doesNotContain' | 'isEmpty' | 'isNotEmpty'
|
|
13961
|
+
/** 单选或多选字段的选项id */
|
|
13962
|
+
values?: string[]
|
|
13963
|
+
}
|
|
13964
|
+
|
|
13222
13965
|
export interface ReferenceObject {
|
|
13223
13966
|
/** cpst_item(项目)、 cpst_indicator(指标) */
|
|
13224
13967
|
api_name?: 'cpst_item' | 'cpst_indicator'
|
|
@@ -13673,6 +14416,97 @@ export interface ResidentTaxForUpdate {
|
|
|
13673
14416
|
year_resident_tax?: string
|
|
13674
14417
|
}
|
|
13675
14418
|
|
|
14419
|
+
export interface ResignedUserResouceReceiver {
|
|
14420
|
+
/** 部门群owner */
|
|
14421
|
+
department_chat_acceptor_employee_id?: string
|
|
14422
|
+
/** 外部群owner */
|
|
14423
|
+
external_chat_acceptor_employee_id?: string
|
|
14424
|
+
/** 文档owner */
|
|
14425
|
+
docs_acceptor_employee_id?: string
|
|
14426
|
+
/** 日历owner */
|
|
14427
|
+
calendar_acceptor_employee_id?: string
|
|
14428
|
+
/** 开放平台应用owner */
|
|
14429
|
+
application_acceptor_employee_id?: string
|
|
14430
|
+
/** 服务台owner */
|
|
14431
|
+
helpdesk_acceptor_employee_id?: string
|
|
14432
|
+
/** 审批owner */
|
|
14433
|
+
approval_acceptor_employee_id?: string
|
|
14434
|
+
/** 邮件owner */
|
|
14435
|
+
email_acceptor_employee_id?: string
|
|
14436
|
+
/** 妙记Owner */
|
|
14437
|
+
minutes_acceptor_employee_id?: string
|
|
14438
|
+
/** 飞书问卷Owner */
|
|
14439
|
+
survey_acceptor_employee_id?: string
|
|
14440
|
+
/** 集成平台资源Owner */
|
|
14441
|
+
anycross_acceptor_employee_id?: string
|
|
14442
|
+
}
|
|
14443
|
+
|
|
14444
|
+
export const enum ResignReasonDirectory {
|
|
14445
|
+
/** 置空 */
|
|
14446
|
+
ResignReasonDirectoryEmpty = '0',
|
|
14447
|
+
/** 薪酬不符合预期 */
|
|
14448
|
+
ResignReasonDirectoryNotSatisfiedWithSalary = '1',
|
|
14449
|
+
/** 工作时间过长 */
|
|
14450
|
+
ResignReasonDirectoryWorkingPressure = '2',
|
|
14451
|
+
/** 不满意工作内容 */
|
|
14452
|
+
ResignReasonDirectoryNotSatisfiedWithWorkContent = '3',
|
|
14453
|
+
/** 不认可上级或管理层 */
|
|
14454
|
+
ResignReasonDirectoryLackOfRecognitionOfLeader = '4',
|
|
14455
|
+
/** 职业发展机会有限 */
|
|
14456
|
+
ResignReasonDirectoryCareerDevelopment = '5',
|
|
14457
|
+
/** 对公司文化缺乏认同 */
|
|
14458
|
+
ResignReasonDirectoryLackOfRecognitionOfCompanyCulture = '6',
|
|
14459
|
+
/** 组织架构调整(主动离职) */
|
|
14460
|
+
ResignReasonDirectoryActiveOrganizeBusinessAdjustment = '7',
|
|
14461
|
+
/** 合同到期 */
|
|
14462
|
+
ResignReasonDirectoryContractNotRenewed = '8',
|
|
14463
|
+
/** 跳槽 */
|
|
14464
|
+
ResignReasonDirectoryJobHopping = '9',
|
|
14465
|
+
/** 转行 */
|
|
14466
|
+
ResignReasonDirectoryChangeCareer = '10',
|
|
14467
|
+
/** 家庭原因 */
|
|
14468
|
+
ResignReasonDirectoryFamily = '11',
|
|
14469
|
+
/** 健康状况不佳 */
|
|
14470
|
+
ResignReasonDirectoryPoorHealth = '12',
|
|
14471
|
+
/** 工作地点原因 */
|
|
14472
|
+
ResignReasonDirectoryWorkPlace = '13',
|
|
14473
|
+
/** 其他(主动离职) */
|
|
14474
|
+
ResignReasonDirectoryActiveResignationOtherReason = '14',
|
|
14475
|
+
/** 意外 */
|
|
14476
|
+
ResignReasonDirectoryAccident = '15',
|
|
14477
|
+
/** 身故 */
|
|
14478
|
+
ResignReasonDirectoryDeath = '16',
|
|
14479
|
+
/** 解雇 */
|
|
14480
|
+
ResignReasonDirectoryFired = '17',
|
|
14481
|
+
/** 试用期不通过 */
|
|
14482
|
+
ResignReasonDirectoryFailedToPassProbationPeriod = '18',
|
|
14483
|
+
/** 工作表现不佳 */
|
|
14484
|
+
ResignReasonDirectoryNotUpToTheJob = '19',
|
|
14485
|
+
/** 工作产出低 */
|
|
14486
|
+
ResignReasonDirectoryLowWorkOutput = '20',
|
|
14487
|
+
/** 组织架构调整(被动离职) */
|
|
14488
|
+
ResignReasonDirectoryPassiveOrganizeBusinessAdjustment = '21',
|
|
14489
|
+
/** 违纪 */
|
|
14490
|
+
ResignReasonDirectoryBreachOfCompanyOrdinance = '22',
|
|
14491
|
+
/** 违法 */
|
|
14492
|
+
ResignReasonDirectoryBreakTheLaw = '23',
|
|
14493
|
+
/** 其他(被动离职) */
|
|
14494
|
+
ResignReasonDirectoryPassiveResignationOtherReason = '24',
|
|
14495
|
+
/** 其他(其他) */
|
|
14496
|
+
ResignReasonDirectoryOtherReason = '25',
|
|
14497
|
+
}
|
|
14498
|
+
|
|
14499
|
+
export const enum ResignTypeDirectory {
|
|
14500
|
+
/** 置空 */
|
|
14501
|
+
ResignTypeDirectoryEmpty = '0',
|
|
14502
|
+
/** 主动 */
|
|
14503
|
+
ResignTypeDirectoryAcitve = '1',
|
|
14504
|
+
/** 被动 */
|
|
14505
|
+
ResignTypeDirectoryPassive = '2',
|
|
14506
|
+
/** 其他 */
|
|
14507
|
+
ResignTypeDirectoryyOther = '3',
|
|
14508
|
+
}
|
|
14509
|
+
|
|
13676
14510
|
export interface ResourceAcceptor {
|
|
13677
14511
|
/** 资源处理类型 */
|
|
13678
14512
|
processing_type: '1' | '2' | '3'
|
|
@@ -13858,29 +14692,48 @@ export interface ResumeSource {
|
|
|
13858
14692
|
resume_source_type?: string
|
|
13859
14693
|
}
|
|
13860
14694
|
|
|
14695
|
+
export interface ResurrectEmployeeOptions {
|
|
14696
|
+
/** License订阅ID */
|
|
14697
|
+
subscription_ids?: string[]
|
|
14698
|
+
}
|
|
14699
|
+
|
|
13861
14700
|
export interface ReviewDetail {
|
|
13862
|
-
/**
|
|
13863
|
-
|
|
13864
|
-
/**
|
|
13865
|
-
unit_id?: string
|
|
13866
|
-
/** 评估控件 ID */
|
|
13867
|
-
field_id?: string
|
|
13868
|
-
/** 评估人 ID */
|
|
14701
|
+
/** 评估题 ID,指评估内容中的每个评估项或填写项 */
|
|
14702
|
+
field_id: string
|
|
14703
|
+
/** 评估人 ID。如果开启了 360 匿名评估,并且是对全部查看者匿名,则不返回该值 */
|
|
13869
14704
|
reviewer_user_id?: User
|
|
13870
|
-
/**
|
|
14705
|
+
/** 该评估题的最后提交时间 */
|
|
13871
14706
|
submit_time?: string
|
|
13872
|
-
/** 评估项 ID */
|
|
14707
|
+
/** 评估项 ID(不包含子评估项),option_id 或 score 有值的时候有值 */
|
|
13873
14708
|
indicator_id?: string
|
|
13874
|
-
/**
|
|
14709
|
+
/** 评估等级 ID */
|
|
13875
14710
|
option_id?: string
|
|
13876
|
-
/**
|
|
14711
|
+
/** 评分 */
|
|
13877
14712
|
score?: string
|
|
13878
|
-
/**
|
|
14713
|
+
/** 填写项填写的文本 */
|
|
13879
14714
|
text?: string
|
|
14715
|
+
/** 标签填写题的 ID */
|
|
14716
|
+
tag_based_question_id?: string
|
|
14717
|
+
/** 标签填写项的内容 */
|
|
14718
|
+
tag_text_item_data?: TagText[]
|
|
13880
14719
|
/** 绩效系数值 */
|
|
13881
|
-
|
|
14720
|
+
perf_coefficient_value?: string
|
|
14721
|
+
/** 子评估项内容 */
|
|
14722
|
+
sub_indicator_data?: SubIndicator[]
|
|
14723
|
+
/** 评估的目标数据,当评估内容是对目标(O)或关键举措(KR)评估时有值 */
|
|
14724
|
+
objective_data?: ObjectiveData[]
|
|
14725
|
+
/** 评估的指标,当评估内容是对指标评估时有值 */
|
|
14726
|
+
metric_data?: MetricData[]
|
|
14727
|
+
/** 终评环节填写内容的来源(仅终评环节的数据有值) */
|
|
14728
|
+
leader_review_data_source?: 'review' | 'calibaration' | 'reconsideration'
|
|
14729
|
+
/** 工作/总结类型的文本内容 */
|
|
14730
|
+
multi_texts?: string[]
|
|
13882
14731
|
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
13883
14732
|
richtext?: string
|
|
14733
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
14734
|
+
multi_richtexts?: string[]
|
|
14735
|
+
/** 该评估题是否是首要评估项 */
|
|
14736
|
+
is_principal_review_item?: boolean
|
|
13884
14737
|
}
|
|
13885
14738
|
|
|
13886
14739
|
export interface Reviewee {
|
|
@@ -13908,17 +14761,36 @@ export interface ReviewProfile {
|
|
|
13908
14761
|
semester_id?: string
|
|
13909
14762
|
/** 绩效评估项目 ID */
|
|
13910
14763
|
activity_id?: string
|
|
14764
|
+
/** 被评估人在该周期对应的后台评估模板 ID */
|
|
14765
|
+
review_template_id?: string
|
|
13911
14766
|
/** 本周期内各环节内容 */
|
|
13912
14767
|
stages?: ReviewStage[]
|
|
13913
14768
|
}
|
|
13914
14769
|
|
|
14770
|
+
export interface ReviewRecord {
|
|
14771
|
+
/** 评估人的环节状态。各类型的环节分别有以下环节状态: 绩效结果查看环节状态 可选值: 0:已开通,绩效结果已开通,未发起复议也无需确认结果 1:待确认,绩效结果已开通但被评估人还未确认结果,确认的截止时间还未到达 2:已截止,绩效结果已开通但被评估人还未确认结果,确认的截止时间已到达 3:已确认,绩效结果已开通,被评估人已确认结果 4:已复议,绩效结果已开通,且被评估人已发起 绩效结果复议环节状态 可选值: 1:待完成,任务未完成 2:已截止,任务的截止时间已到达,且任务未完成 3:已完成,任务已完成 除上述类型外的其他环节类型状态 可选值: 0:未开始,任务的开始时间未到达 1:待完成,任务的开始时间到达而截止时间未到达,且任务未完成 2:已截止,任务的截止时间已到达,且任务未完成 3:已完成,任务已完成 */
|
|
14772
|
+
progress?: number
|
|
14773
|
+
/** 评估记录中的评估内容明细 */
|
|
14774
|
+
units?: ReviewUnit[]
|
|
14775
|
+
/** 360 ° 评估记录的信息。如果开启了 360 匿名评估,并且是对全部查看者匿名,则不返回评估人的部分信息 */
|
|
14776
|
+
invited_review_record_info?: InvitedReviewRecordInfo
|
|
14777
|
+
/** 项目上级评估记录信息 */
|
|
14778
|
+
direct_project_leader_record_info?: DirectProjectLeaderRecordInfo
|
|
14779
|
+
/** 评估记录 ID */
|
|
14780
|
+
record_id?: string
|
|
14781
|
+
}
|
|
14782
|
+
|
|
13915
14783
|
export interface ReviewStage {
|
|
14784
|
+
/** 环节 ID */
|
|
14785
|
+
stage_id?: string
|
|
13916
14786
|
/** 环节类型 */
|
|
13917
|
-
stage_type?:
|
|
13918
|
-
/**
|
|
13919
|
-
|
|
13920
|
-
/**
|
|
13921
|
-
|
|
14787
|
+
stage_type?: 'summarize_key_outputs' | 'review' | 'communication_and_open_result' | 'view_result' | 'reconsideration' | 'leader_review'
|
|
14788
|
+
/** 该环节对应的环节模板的 ID */
|
|
14789
|
+
template_id?: string
|
|
14790
|
+
/** 评估内容记录。多人评估的环节有多份记录,比如 360 评估环节。如果开启了 360 匿名评估,并且是对全部查看者匿名,则评估记录数低于匿名下限,则不返回 360 评估记录 */
|
|
14791
|
+
records?: ReviewRecord[]
|
|
14792
|
+
/** 评估型环节的执行人角色 */
|
|
14793
|
+
review_stage_role?: 'reviewee' | 'invited_reviewer' | 'solid_line_leader' | 'dotted_line_leader' | 'secondary_solid_line_leader' | 'direct_project_leader' | 'custom_review_role' | 'metric_reviewer'
|
|
13922
14794
|
}
|
|
13923
14795
|
|
|
13924
14796
|
export interface ReviewTemplate {
|
|
@@ -13936,6 +14808,15 @@ export interface ReviewTemplate {
|
|
|
13936
14808
|
status?: string
|
|
13937
14809
|
}
|
|
13938
14810
|
|
|
14811
|
+
export interface ReviewUnit {
|
|
14812
|
+
/** 评估内容 ID */
|
|
14813
|
+
unit_id?: string
|
|
14814
|
+
/** 是否为不了解。当评估人选不了解时,会返回为 true,其他时候不返回。 */
|
|
14815
|
+
is_unknown?: boolean
|
|
14816
|
+
/** 评估题列表,指评估内容中的每个题,可能是评估项或者填写项 */
|
|
14817
|
+
data?: ReviewDetail[]
|
|
14818
|
+
}
|
|
14819
|
+
|
|
13939
14820
|
export interface Richtext {
|
|
13940
14821
|
/** 内容 */
|
|
13941
14822
|
content?: string
|
|
@@ -13944,20 +14825,16 @@ export interface Richtext {
|
|
|
13944
14825
|
}
|
|
13945
14826
|
|
|
13946
14827
|
export interface Role {
|
|
13947
|
-
/**
|
|
13948
|
-
|
|
13949
|
-
/**
|
|
13950
|
-
|
|
13951
|
-
/**
|
|
13952
|
-
|
|
13953
|
-
/**
|
|
13954
|
-
|
|
13955
|
-
/**
|
|
13956
|
-
|
|
13957
|
-
/** 停启用状态 */
|
|
13958
|
-
role_status?: 1 | 2
|
|
13959
|
-
/** 角色类型 */
|
|
13960
|
-
role_type?: 1 | 2 | 5
|
|
14828
|
+
/** 自定义权限的名字 */
|
|
14829
|
+
role_name: string
|
|
14830
|
+
/** 数据表权限 */
|
|
14831
|
+
table_roles: TableRole[]
|
|
14832
|
+
/** 自定义权限的id */
|
|
14833
|
+
role_id?: string
|
|
14834
|
+
/** block权限 */
|
|
14835
|
+
block_roles?: BlockRole[]
|
|
14836
|
+
/** base权限 */
|
|
14837
|
+
base_rule?: Record<string, number>
|
|
13961
14838
|
}
|
|
13962
14839
|
|
|
13963
14840
|
export interface RoleAuthorization {
|
|
@@ -14159,26 +15036,46 @@ export interface RoomStatus {
|
|
|
14159
15036
|
}
|
|
14160
15037
|
|
|
14161
15038
|
export interface Rule {
|
|
14162
|
-
/**
|
|
15039
|
+
/** 规则 id */
|
|
14163
15040
|
id?: string
|
|
14164
|
-
/**
|
|
14165
|
-
|
|
14166
|
-
/**
|
|
14167
|
-
|
|
14168
|
-
/**
|
|
14169
|
-
|
|
14170
|
-
/**
|
|
14171
|
-
|
|
14172
|
-
/**
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
15041
|
+
/** 匹配条件 */
|
|
15042
|
+
condition: RuleCondition
|
|
15043
|
+
/** 匹配命中后的操作 */
|
|
15044
|
+
action: RuleAction
|
|
15045
|
+
/** 是否终点规则 */
|
|
15046
|
+
ignore_the_rest_of_rules: boolean
|
|
15047
|
+
/** 规则名称 */
|
|
15048
|
+
name: string
|
|
15049
|
+
/** 是否启用 */
|
|
15050
|
+
is_enable: boolean
|
|
15051
|
+
}
|
|
15052
|
+
|
|
15053
|
+
export interface RuleAction {
|
|
15054
|
+
/** 匹配中规则后的操作列表 */
|
|
15055
|
+
items: RuleActionItem[]
|
|
15056
|
+
}
|
|
15057
|
+
|
|
15058
|
+
export interface RuleActionItem {
|
|
15059
|
+
/** 操作类型 */
|
|
15060
|
+
type: 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13
|
|
15061
|
+
/** 当 type 为移动到文件夹时,该字段填文件夹的 id */
|
|
15062
|
+
input?: string
|
|
15063
|
+
}
|
|
15064
|
+
|
|
15065
|
+
export interface RuleCondition {
|
|
15066
|
+
/** 匹配类型 */
|
|
15067
|
+
match_type: 1 | 2
|
|
15068
|
+
/** 匹配规则列表 */
|
|
15069
|
+
items: RuleConditionItem[]
|
|
15070
|
+
}
|
|
15071
|
+
|
|
15072
|
+
export interface RuleConditionItem {
|
|
15073
|
+
/** 匹配条件左值 */
|
|
15074
|
+
type: 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 14 | 15 | 16
|
|
15075
|
+
/** 匹配条件操作符 */
|
|
15076
|
+
operator?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10
|
|
15077
|
+
/** 匹配条件右值 */
|
|
15078
|
+
input?: string
|
|
14182
15079
|
}
|
|
14183
15080
|
|
|
14184
15081
|
export interface RuleDetail {
|
|
@@ -14436,6 +15333,26 @@ export interface SearchObjectParam {
|
|
|
14436
15333
|
order_by?: OrderCondition
|
|
14437
15334
|
}
|
|
14438
15335
|
|
|
15336
|
+
export interface SeatActivity {
|
|
15337
|
+
/** aPaaS 产品用户的 ID */
|
|
15338
|
+
user_id?: number
|
|
15339
|
+
/** aPaaS 产品应用的 namespace */
|
|
15340
|
+
namespace?: string
|
|
15341
|
+
/** 席位状态,枚举值:1. in_use 2. released */
|
|
15342
|
+
status?: 'in_use' | 'released'
|
|
15343
|
+
/** 用户使用席位访问应用且席位验证通过时,记录或更新的时间 */
|
|
15344
|
+
active_time?: number
|
|
15345
|
+
}
|
|
15346
|
+
|
|
15347
|
+
export interface SeatAssignment {
|
|
15348
|
+
/** aPaaS 产品用户的 ID */
|
|
15349
|
+
user_id?: number
|
|
15350
|
+
/** aPaaS 产品应用的 namespace */
|
|
15351
|
+
namespace?: string
|
|
15352
|
+
/** 席位状态,枚举值:1. in_use 2. released */
|
|
15353
|
+
status?: 'in_use' | 'released'
|
|
15354
|
+
}
|
|
15355
|
+
|
|
14439
15356
|
export interface Section {
|
|
14440
15357
|
/** 分区标题 */
|
|
14441
15358
|
title?: string
|
|
@@ -14463,6 +15380,17 @@ export interface SecurityGroup {
|
|
|
14463
15380
|
org_truncation?: OrgTruncation[]
|
|
14464
15381
|
}
|
|
14465
15382
|
|
|
15383
|
+
export interface SegmentValue {
|
|
15384
|
+
/** 分段开始时间-毫秒级时间戳,[start_time, end_time] 是一个左闭右闭区间。 */
|
|
15385
|
+
start_time?: string
|
|
15386
|
+
/** 分段结束时间-毫秒级时间戳,[start_time, end_time] 是一个左闭右闭区间。 */
|
|
15387
|
+
end_time?: string
|
|
15388
|
+
/** 引用类型算薪项分段展示值 */
|
|
15389
|
+
reference_values?: I18nContent[]
|
|
15390
|
+
/** 算薪项分段原始值 */
|
|
15391
|
+
original_value?: string
|
|
15392
|
+
}
|
|
15393
|
+
|
|
14466
15394
|
export interface SelectOptionResult {
|
|
14467
15395
|
/** 选项 ID */
|
|
14468
15396
|
option_id?: string
|
|
@@ -14558,6 +15486,17 @@ export interface Sentence {
|
|
|
14558
15486
|
speaker_name?: I18n
|
|
14559
15487
|
}
|
|
14560
15488
|
|
|
15489
|
+
export interface SetEmployeePreResigned {
|
|
15490
|
+
/** 离职日期 */
|
|
15491
|
+
resign_date: string
|
|
15492
|
+
/** 离职原因 */
|
|
15493
|
+
resign_reason: ResignReasonDirectory
|
|
15494
|
+
/** 离职类型 */
|
|
15495
|
+
resign_type: ResignTypeDirectory
|
|
15496
|
+
/** 离职备注 */
|
|
15497
|
+
resign_remark?: string
|
|
15498
|
+
}
|
|
15499
|
+
|
|
14561
15500
|
export interface Setting {
|
|
14562
15501
|
/** 谁可以创建空间的一级页面: "admin_and_member" = 管理员和成员 "admin" - 仅管理员 */
|
|
14563
15502
|
create_setting?: string
|
|
@@ -14567,6 +15506,29 @@ export interface Setting {
|
|
|
14567
15506
|
comment_setting?: string
|
|
14568
15507
|
}
|
|
14569
15508
|
|
|
15509
|
+
export interface ShareDepartment {
|
|
15510
|
+
/** 部门open ID */
|
|
15511
|
+
open_department_id?: string
|
|
15512
|
+
/** i18n文本 */
|
|
15513
|
+
name?: I18nText
|
|
15514
|
+
}
|
|
15515
|
+
|
|
15516
|
+
export interface ShareGroup {
|
|
15517
|
+
/** 用户组的open_id */
|
|
15518
|
+
open_group_id?: string
|
|
15519
|
+
/** i18n文本 */
|
|
15520
|
+
name?: I18nText
|
|
15521
|
+
}
|
|
15522
|
+
|
|
15523
|
+
export interface ShareUser {
|
|
15524
|
+
/** user open ID */
|
|
15525
|
+
open_user_id?: string
|
|
15526
|
+
/** i18n文本 */
|
|
15527
|
+
name?: I18nText
|
|
15528
|
+
/** 用户的头像 */
|
|
15529
|
+
avatar?: ImageLink
|
|
15530
|
+
}
|
|
15531
|
+
|
|
14570
15532
|
export interface Sheet {
|
|
14571
15533
|
/** 电子表格文档 Token。格式为 {SpreadsheetToken}_{SheetID},其中 SpreadsheetToken 是一篇电子表格的唯一标识,SheetID 是一张工作表的唯一标识,使用时请注意拆分。 */
|
|
14572
15534
|
token?: string
|
|
@@ -14843,6 +15805,21 @@ export interface Subdivision {
|
|
|
14843
15805
|
subdivision_type: Enum
|
|
14844
15806
|
}
|
|
14845
15807
|
|
|
15808
|
+
export interface SubIndicator {
|
|
15809
|
+
/** 子评估项的 ID */
|
|
15810
|
+
field_id: string
|
|
15811
|
+
/** 子评估项的评估等级 ID */
|
|
15812
|
+
indicator_id?: string
|
|
15813
|
+
/** 子评估项的评分 */
|
|
15814
|
+
option_id?: string
|
|
15815
|
+
/** 子评估项的填写项标题名称 */
|
|
15816
|
+
score?: string
|
|
15817
|
+
/** 评估人在该子评估项填写的文本 */
|
|
15818
|
+
text?: string
|
|
15819
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
15820
|
+
richtext?: string
|
|
15821
|
+
}
|
|
15822
|
+
|
|
14846
15823
|
export interface Subject {
|
|
14847
15824
|
/** ID */
|
|
14848
15825
|
id?: string
|
|
@@ -15122,6 +16099,31 @@ export interface TableProperty {
|
|
|
15122
16099
|
header_column?: boolean
|
|
15123
16100
|
}
|
|
15124
16101
|
|
|
16102
|
+
export interface TableRole {
|
|
16103
|
+
/** 数据表权限 */
|
|
16104
|
+
table_perm: 0 | 1 | 2 | 4
|
|
16105
|
+
/** 数据表名 */
|
|
16106
|
+
table_name?: string
|
|
16107
|
+
/** 数据表ID */
|
|
16108
|
+
table_id?: string
|
|
16109
|
+
/** 记录筛选条件,在table_perm为1或2时有意义,用于指定可编辑或可阅读某些记录 */
|
|
16110
|
+
rec_rule?: RecRule
|
|
16111
|
+
/** 记录筛选条件,在rec_rule.Perm为2时有意义,用于指定剩余可阅读的记录 */
|
|
16112
|
+
other_rec_rule?: OtherRecRule
|
|
16113
|
+
/** 字段权限,仅在table_perm为2时有意义,设置字段可编辑或可阅读 */
|
|
16114
|
+
field_perm?: Record<string, number>
|
|
16115
|
+
/** 新增记录权限,仅在table_perm为2时有意义,用于设置记录是否可以新增 */
|
|
16116
|
+
allow_add_record?: boolean
|
|
16117
|
+
/** 删除记录权限,仅在table_perm为2时有意义,用于设置记录是否可以删除 */
|
|
16118
|
+
allow_delete_record?: boolean
|
|
16119
|
+
/** 视图权限 */
|
|
16120
|
+
view_perm?: 1 | 2
|
|
16121
|
+
/** 可读的视图集合,仅在view_perm为1时有意义,未设置表示所有视图可读 */
|
|
16122
|
+
view_rules?: Record<string, number>
|
|
16123
|
+
/** 可读的视图集合,仅在view_perm为1时有意义,未设置表示所有视图可读 */
|
|
16124
|
+
field_action_rules?: Record<string, Record<string, number>>
|
|
16125
|
+
}
|
|
16126
|
+
|
|
15125
16127
|
export interface TagI18nName {
|
|
15126
16128
|
/** 语言 */
|
|
15127
16129
|
locale: string
|
|
@@ -15151,6 +16153,15 @@ export interface TagInfoWithBindVersion {
|
|
|
15151
16153
|
bind_version?: string
|
|
15152
16154
|
}
|
|
15153
16155
|
|
|
16156
|
+
export interface TagText {
|
|
16157
|
+
/** 标签 ID */
|
|
16158
|
+
tag_text_id?: string
|
|
16159
|
+
/** 评估人在该标签下填写的文本 */
|
|
16160
|
+
tag_text?: string
|
|
16161
|
+
/** 富文本格式的填写内容,解析方式见 [editor](https://open.larkoffice.com/document/client-docs/gadget/component-component/basic-component/form/editor#51af2f4f) */
|
|
16162
|
+
tag_richtext?: string
|
|
16163
|
+
}
|
|
16164
|
+
|
|
15154
16165
|
export interface Talent {
|
|
15155
16166
|
/** 人才ID */
|
|
15156
16167
|
id?: string
|
|
@@ -16489,6 +17500,82 @@ export interface UpdateBlockRequest {
|
|
|
16489
17500
|
update_task?: UpdateTaskRequest
|
|
16490
17501
|
}
|
|
16491
17502
|
|
|
17503
|
+
export interface UpdateDepartment {
|
|
17504
|
+
/** 自定义部门ID */
|
|
17505
|
+
custom_department_id?: string
|
|
17506
|
+
/** i18n文本 */
|
|
17507
|
+
name?: I18nText
|
|
17508
|
+
/** 父部门ID */
|
|
17509
|
+
parent_department_id?: string
|
|
17510
|
+
/** 部门负责人 */
|
|
17511
|
+
leaders?: DepartmentLeader[]
|
|
17512
|
+
/** 在上级部门下的排序权重 */
|
|
17513
|
+
order_weight?: string
|
|
17514
|
+
/** 是否启用 */
|
|
17515
|
+
enabled_status?: boolean
|
|
17516
|
+
/** 自定义字段 */
|
|
17517
|
+
custom_field_values?: CustomFieldValue[]
|
|
17518
|
+
}
|
|
17519
|
+
|
|
17520
|
+
export interface UpdateEmployee {
|
|
17521
|
+
/** 姓名 */
|
|
17522
|
+
name?: UpsertName
|
|
17523
|
+
/** 员工的联系手机号 */
|
|
17524
|
+
mobile?: string
|
|
17525
|
+
/** 用户的user_id */
|
|
17526
|
+
custom_employee_id?: string
|
|
17527
|
+
/** 头像的文件key */
|
|
17528
|
+
avatar_key?: string
|
|
17529
|
+
/** 员工的联系邮箱 */
|
|
17530
|
+
email?: string
|
|
17531
|
+
/** 员工的企业邮箱 */
|
|
17532
|
+
enterprise_email?: string
|
|
17533
|
+
/** 性别 */
|
|
17534
|
+
gender?: GenderDirectory
|
|
17535
|
+
/** 部门排序 */
|
|
17536
|
+
employee_order_in_departments?: UpsertUserDepartmentSortInfo[]
|
|
17537
|
+
/** 背景图的key */
|
|
17538
|
+
background_image_key?: string
|
|
17539
|
+
/** 员工的个性签名 */
|
|
17540
|
+
description?: string
|
|
17541
|
+
/** 员工直属上级的user_id */
|
|
17542
|
+
leader_id?: string
|
|
17543
|
+
/** 员工虚线上级的user_id */
|
|
17544
|
+
dotted_line_leader_ids?: string[]
|
|
17545
|
+
/** 工作地国家/地区 */
|
|
17546
|
+
work_country_or_region?: string
|
|
17547
|
+
/** 工作地点 */
|
|
17548
|
+
work_place_id?: string
|
|
17549
|
+
/** i18n文本 */
|
|
17550
|
+
work_station?: I18nText
|
|
17551
|
+
/** 工号 */
|
|
17552
|
+
job_number?: string
|
|
17553
|
+
/** 分机号 */
|
|
17554
|
+
extension_number?: string
|
|
17555
|
+
/** 入职日期 */
|
|
17556
|
+
join_date?: string
|
|
17557
|
+
/** 员工类型 */
|
|
17558
|
+
employment_type?: EmployeeTypeDirectory
|
|
17559
|
+
/** 职务ID */
|
|
17560
|
+
job_title_id?: string
|
|
17561
|
+
/** 职级ID */
|
|
17562
|
+
job_level_id?: string
|
|
17563
|
+
/** 序列ID */
|
|
17564
|
+
job_family_id?: string
|
|
17565
|
+
/** 离职日期 */
|
|
17566
|
+
resign_date?: string
|
|
17567
|
+
/** 离职原因 */
|
|
17568
|
+
resign_reason?: ResignReasonDirectory
|
|
17569
|
+
/** 离职备注信息 */
|
|
17570
|
+
resign_remark?: string
|
|
17571
|
+
/** 离职类型 */
|
|
17572
|
+
resign_type?: ResignTypeDirectory
|
|
17573
|
+
/** 暂停 true, false 恢复暂停 */
|
|
17574
|
+
is_frozen?: boolean
|
|
17575
|
+
/** 自定义字段 */
|
|
17576
|
+
custom_field_values?: CustomFieldValue[]
|
|
17577
|
+
}
|
|
17578
|
+
|
|
16492
17579
|
export interface UpdateGridColumnWidthRatioRequest {
|
|
16493
17580
|
/** 更新列宽比例时,需要传入所有列宽占比 */
|
|
16494
17581
|
width_ratios: number[]
|
|
@@ -16532,6 +17619,33 @@ export interface UpdateTextStyleRequest {
|
|
|
16532
17619
|
fields: (1 | 2 | 3 | 4 | 5 | 6 | 7)[]
|
|
16533
17620
|
}
|
|
16534
17621
|
|
|
17622
|
+
export interface UpsertName {
|
|
17623
|
+
/** i18n文本 */
|
|
17624
|
+
name: I18nText
|
|
17625
|
+
/** 别名 */
|
|
17626
|
+
another_name?: string
|
|
17627
|
+
}
|
|
17628
|
+
|
|
17629
|
+
export interface UpsertUserDepartmentSortInfo {
|
|
17630
|
+
/** 部门id */
|
|
17631
|
+
department_id?: string
|
|
17632
|
+
/** 用户在部门内的排序权重 */
|
|
17633
|
+
order_weight_in_deparment?: string
|
|
17634
|
+
/** 用户多个部门间的排序权重 */
|
|
17635
|
+
order_weight_among_deparments?: string
|
|
17636
|
+
/** 是否为用户的主部门(用户只能有一个主部门,且排序权重应最大,不填则默认使用排序第一的部门作为主部门) */
|
|
17637
|
+
is_main_department?: boolean
|
|
17638
|
+
}
|
|
17639
|
+
|
|
17640
|
+
export interface UrlValue {
|
|
17641
|
+
/** i18n文本 */
|
|
17642
|
+
link_text: I18nText
|
|
17643
|
+
/** 移动端网页链接 */
|
|
17644
|
+
url: string
|
|
17645
|
+
/** 桌面端网页链接 */
|
|
17646
|
+
pcurl: string
|
|
17647
|
+
}
|
|
17648
|
+
|
|
16535
17649
|
export interface User {
|
|
16536
17650
|
/** 用户的union_id */
|
|
16537
17651
|
union_id?: string
|
|
@@ -16742,6 +17856,15 @@ export interface UserDepartmentInfo {
|
|
|
16742
17856
|
department_order?: number
|
|
16743
17857
|
}
|
|
16744
17858
|
|
|
17859
|
+
export interface UserDepartmentSortInfo {
|
|
17860
|
+
/** 部门id */
|
|
17861
|
+
department_id?: string
|
|
17862
|
+
/** 用户在部门内的排序权重 */
|
|
17863
|
+
order_weight_in_deparment?: string
|
|
17864
|
+
/** 用户多个部门间的排序权重 */
|
|
17865
|
+
order_weight_among_deparments?: string
|
|
17866
|
+
}
|
|
17867
|
+
|
|
16745
17868
|
export interface UserExternal {
|
|
16746
17869
|
/** 用户类型 */
|
|
16747
17870
|
user_type: 1 | 2 | 10 | 11
|
|
@@ -16790,6 +17913,15 @@ export interface UserFlow {
|
|
|
16790
17913
|
idempotent_id?: string
|
|
16791
17914
|
}
|
|
16792
17915
|
|
|
17916
|
+
export interface UserInfo {
|
|
17917
|
+
/** 个人邮箱还是公共邮箱 */
|
|
17918
|
+
type: string
|
|
17919
|
+
/** 卡片owner的ID,卡片owner为个人邮箱时非空 */
|
|
17920
|
+
owner_user_id?: string
|
|
17921
|
+
/** 公共邮箱唯一标识 */
|
|
17922
|
+
public_mailbox_id?: string
|
|
17923
|
+
}
|
|
17924
|
+
|
|
16793
17925
|
export interface UserLeave {
|
|
16794
17926
|
/** 审批实例id */
|
|
16795
17927
|
approval_id?: string
|
|
@@ -17100,6 +18232,13 @@ export interface UserTrip {
|
|
|
17100
18232
|
remarks?: string
|
|
17101
18233
|
}
|
|
17102
18234
|
|
|
18235
|
+
export interface UserValue {
|
|
18236
|
+
/** 人员ID */
|
|
18237
|
+
ids: string[]
|
|
18238
|
+
/** 人员类型 */
|
|
18239
|
+
user_type: CustomFieldValueUserType
|
|
18240
|
+
}
|
|
18241
|
+
|
|
17103
18242
|
export interface UserViewDetail {
|
|
17104
18243
|
/** 用户ID */
|
|
17105
18244
|
user_id?: string
|
|
@@ -17107,6 +18246,19 @@ export interface UserViewDetail {
|
|
|
17107
18246
|
view_time?: string
|
|
17108
18247
|
}
|
|
17109
18248
|
|
|
18249
|
+
export interface Value {
|
|
18250
|
+
/** 字符串值 */
|
|
18251
|
+
string_value?: string
|
|
18252
|
+
/** 布尔值 */
|
|
18253
|
+
bool_value?: boolean
|
|
18254
|
+
/** 整形值 */
|
|
18255
|
+
int_value?: string
|
|
18256
|
+
/** 字符串列表值 */
|
|
18257
|
+
string_list_value?: string[]
|
|
18258
|
+
/** 整形列表值 */
|
|
18259
|
+
int_list_value?: string[]
|
|
18260
|
+
}
|
|
18261
|
+
|
|
17110
18262
|
export interface VatEntity {
|
|
17111
18263
|
/** 识别的实体类型 */
|
|
17112
18264
|
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'
|
|
@@ -17740,6 +18892,29 @@ export interface WorkforcePlanDetailRow {
|
|
|
17740
18892
|
plan_value?: string
|
|
17741
18893
|
}
|
|
17742
18894
|
|
|
18895
|
+
export interface WorkforcePlanDetailV2 {
|
|
18896
|
+
/** 编制规划明细 ID */
|
|
18897
|
+
workforce_plan_detail_id?: string
|
|
18898
|
+
/** 维度信息 */
|
|
18899
|
+
dimension_info_datas?: DimensionInfoData[]
|
|
18900
|
+
/** 编制规划值 */
|
|
18901
|
+
workforce_plan?: string
|
|
18902
|
+
/** 在职人数 */
|
|
18903
|
+
active_individuals?: string
|
|
18904
|
+
/** 预增员数量 */
|
|
18905
|
+
individuals_to_be_added?: string
|
|
18906
|
+
/** 预减员数量 */
|
|
18907
|
+
individuals_to_be_removed?: string
|
|
18908
|
+
/** 预估在职人数明细 */
|
|
18909
|
+
estimated_active_individuals_details?: WorkforcePlanEaiDetail[]
|
|
18910
|
+
/** 多周期的编制规划信息 */
|
|
18911
|
+
multi_period_values?: WorkforcePlanMultiPeriodValue[]
|
|
18912
|
+
/** 是否为缺维度的明细行,true为缺维度明细行,false为非缺维度明细行 */
|
|
18913
|
+
is_missing_dimension?: boolean
|
|
18914
|
+
/** 是否在职、预增/预减人员、编制数、预估在职人数都为0的明细行,true代表在职、预增/预减人员、编制数、预估在职人数都为0的明细行,false代表在职、预增/预减人员、编制数、预估在职人数不全为0的明细行 */
|
|
18915
|
+
is_all_zero_value?: boolean
|
|
18916
|
+
}
|
|
18917
|
+
|
|
17743
18918
|
export interface WorkforcePlanEaiDetail {
|
|
17744
18919
|
/** 预估月份 */
|
|
17745
18920
|
date?: string
|
|
@@ -17747,6 +18922,17 @@ export interface WorkforcePlanEaiDetail {
|
|
|
17747
18922
|
estimated_active_individuals?: string
|
|
17748
18923
|
}
|
|
17749
18924
|
|
|
18925
|
+
export interface WorkforcePlanMultiPeriodValue {
|
|
18926
|
+
/** 周期的最后一天 */
|
|
18927
|
+
period_date?: string
|
|
18928
|
+
/** 对应周期的编制规划值 */
|
|
18929
|
+
workforce_plan?: string
|
|
18930
|
+
/** 预增员数量 */
|
|
18931
|
+
individuals_to_be_added?: string
|
|
18932
|
+
/** 预减员数量 */
|
|
18933
|
+
individuals_to_be_removed?: string
|
|
18934
|
+
}
|
|
18935
|
+
|
|
17750
18936
|
export interface WorkingHoursType {
|
|
17751
18937
|
/** 实体在CoreHR内部的唯一键 */
|
|
17752
18938
|
id?: string
|