@satorijs/adapter-lark 3.11.8 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bot.d.ts +5 -5
- package/lib/http.d.ts +6 -3
- package/lib/index.cjs +634 -261
- package/lib/types/acs.d.ts +4 -1
- package/lib/types/aily.d.ts +3 -3
- package/lib/types/apaas.d.ts +190 -28
- package/lib/types/application.d.ts +20 -4
- package/lib/types/approval.d.ts +0 -13
- package/lib/types/attendance.d.ts +11 -5
- package/lib/types/authen.d.ts +8 -2
- package/lib/types/bitable.d.ts +25 -4
- package/lib/types/board.d.ts +56 -0
- package/lib/types/calendar.d.ts +71 -5
- package/lib/types/cardkit.d.ts +2 -2
- package/lib/types/compensation.d.ts +400 -0
- package/lib/types/contact.d.ts +55 -12
- package/lib/types/corehr.d.ts +1287 -79
- package/lib/types/directory.d.ts +3 -41
- package/lib/types/docx.d.ts +23 -0
- package/lib/types/drive.d.ts +107 -90
- package/lib/types/ehr.d.ts +11 -2
- package/lib/types/helpdesk.d.ts +15 -6
- package/lib/types/hire.d.ts +52 -3
- package/lib/types/human_authentication.d.ts +1 -1
- package/lib/types/im.d.ts +77 -21
- package/lib/types/index.d.ts +1670 -105
- package/lib/types/mail.d.ts +106 -16
- package/lib/types/payroll.d.ts +117 -81
- package/lib/types/performance.d.ts +1 -1
- package/lib/types/search.d.ts +4 -1
- package/lib/types/security_and_compliance.d.ts +254 -1
- package/lib/ws.d.ts +30 -0
- package/package.json +6 -3
- package/src/bot.ts +28 -15
- package/src/http.ts +10 -4
- package/src/types/acs.ts +4 -1
- package/src/types/aily.ts +3 -3
- package/src/types/apaas.ts +237 -38
- package/src/types/application.ts +20 -4
- package/src/types/approval.ts +0 -15
- package/src/types/attendance.ts +11 -5
- package/src/types/authen.ts +8 -2
- package/src/types/bitable.ts +25 -4
- package/src/types/board.ts +75 -2
- package/src/types/calendar.ts +88 -5
- package/src/types/cardkit.ts +2 -2
- package/src/types/compensation.ts +485 -0
- package/src/types/contact.ts +55 -12
- package/src/types/corehr.ts +1480 -123
- package/src/types/directory.ts +3 -53
- package/src/types/docx.ts +29 -0
- package/src/types/drive.ts +129 -112
- package/src/types/ehr.ts +11 -2
- package/src/types/helpdesk.ts +15 -6
- package/src/types/hire.ts +66 -3
- package/src/types/human_authentication.ts +1 -1
- package/src/types/im.ts +77 -21
- package/src/types/index.ts +1751 -107
- package/src/types/mail.ts +106 -16
- package/src/types/payroll.ts +146 -103
- package/src/types/performance.ts +1 -1
- package/src/types/search.ts +4 -1
- package/src/types/security_and_compliance.ts +292 -1
- package/src/ws.ts +183 -0
- package/lib/types/api.d.ts +0 -28510
- package/lib/types/internal.d.ts +0 -21
- package/lib/types/message/content.d.ts +0 -433
- package/lib/types/message/index.d.ts +0 -95
package/lib/types/index.d.ts
CHANGED
|
@@ -1971,6 +1971,14 @@ export interface ArchiveItem {
|
|
|
1971
1971
|
/** 档案关联薪酬项转正后数值 */
|
|
1972
1972
|
item_result_regular?: string;
|
|
1973
1973
|
}
|
|
1974
|
+
export interface ArchiveItemValue {
|
|
1975
|
+
/** 薪资项ID */
|
|
1976
|
+
item_id: string;
|
|
1977
|
+
/** 薪资项的值 */
|
|
1978
|
+
item_value: string;
|
|
1979
|
+
/** 员工转正后薪资项的值,仅用于开启试用期的薪资方案,以及员工处于实习期 */
|
|
1980
|
+
item_value_regular?: string;
|
|
1981
|
+
}
|
|
1974
1982
|
export interface ArchiveReportData {
|
|
1975
1983
|
/** 用户ID */
|
|
1976
1984
|
member_id: string;
|
|
@@ -2578,7 +2586,7 @@ export interface Bank {
|
|
|
2578
2586
|
bank_name?: I18n[];
|
|
2579
2587
|
/** 总行代码 */
|
|
2580
2588
|
bank_code?: string;
|
|
2581
|
-
/** 国家/地区 ID,可通过[查询国家/地区信息](/
|
|
2589
|
+
/** 国家/地区 ID,可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询 */
|
|
2582
2590
|
country_region_id?: string;
|
|
2583
2591
|
/** 状态 */
|
|
2584
2592
|
status?: 1 | 0;
|
|
@@ -2640,7 +2648,7 @@ export interface BankBranch {
|
|
|
2640
2648
|
bank_branch_id?: string;
|
|
2641
2649
|
/** 支行名称 */
|
|
2642
2650
|
bank_branch_name?: I18n[];
|
|
2643
|
-
/** 所属银行 ID,可通过[查询银行信息](/
|
|
2651
|
+
/** 所属银行 ID,可通过[查询银行信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-bank/search)接口查询 */
|
|
2644
2652
|
bank_id?: string;
|
|
2645
2653
|
/** 金融分支机构编码(联行号) */
|
|
2646
2654
|
code?: string;
|
|
@@ -3017,6 +3025,12 @@ export interface BlockIdRelation {
|
|
|
3017
3025
|
/** 真实使用的 BlockID */
|
|
3018
3026
|
block_id?: string;
|
|
3019
3027
|
}
|
|
3028
|
+
export interface BlockIdToImageUrl {
|
|
3029
|
+
/** 块 ID */
|
|
3030
|
+
block_id: string;
|
|
3031
|
+
/** 图片 URL */
|
|
3032
|
+
image_url: string;
|
|
3033
|
+
}
|
|
3020
3034
|
export interface BlockRole {
|
|
3021
3035
|
/** Block ID */
|
|
3022
3036
|
block_id: string;
|
|
@@ -3188,7 +3202,13 @@ export interface CalendarEvent {
|
|
|
3188
3202
|
attachments?: Attachment[];
|
|
3189
3203
|
}
|
|
3190
3204
|
export interface CalendarEventAttendee {
|
|
3191
|
-
/**
|
|
3205
|
+
/**
|
|
3206
|
+
* 参与人类型,仅当新建参与人时可设置类型
|
|
3207
|
+
* type为User时,值为open_id/user_id/union_id
|
|
3208
|
+
* type为Chat时,值为open_chat_id
|
|
3209
|
+
* type为Resource时,值为open_room_id
|
|
3210
|
+
* type为ThirdParty时,值为third_party_email;不支持通过API新建该类型参与人
|
|
3211
|
+
*/
|
|
3192
3212
|
type?: 'user' | 'chat' | 'resource' | 'third_party';
|
|
3193
3213
|
/** 参与人是否为「可选参加」,无法编辑群参与人的此字段 */
|
|
3194
3214
|
is_optional?: boolean;
|
|
@@ -3222,7 +3242,13 @@ export interface CalendarEventAttendeeChatMember {
|
|
|
3222
3242
|
is_external?: boolean;
|
|
3223
3243
|
}
|
|
3224
3244
|
export interface CalendarEventAttendeeId {
|
|
3225
|
-
/**
|
|
3245
|
+
/**
|
|
3246
|
+
* 参与人类型,仅当新建参与人时可设置类型
|
|
3247
|
+
* type为User时,值为open_id/user_id/union_id
|
|
3248
|
+
* type为Chat时,值为open_chat_id
|
|
3249
|
+
* type为Resource时,值为open_room_id
|
|
3250
|
+
* type为ThirdParty时,值为third_party_email;不支持通过API新建该类型参与人
|
|
3251
|
+
*/
|
|
3226
3252
|
type?: 'user' | 'chat' | 'resource' | 'third_party';
|
|
3227
3253
|
/** 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id */
|
|
3228
3254
|
user_id?: string;
|
|
@@ -3355,7 +3381,11 @@ export interface ChatMenuItem {
|
|
|
3355
3381
|
image_key?: string;
|
|
3356
3382
|
/** 名称 */
|
|
3357
3383
|
name: string;
|
|
3358
|
-
/**
|
|
3384
|
+
/**
|
|
3385
|
+
* 国际化名称,一级菜单名称字符数要在1到8范围内,二级菜单名称字符数要在1到24范围内。
|
|
3386
|
+
* **注意:**
|
|
3387
|
+
* 1中文=2英文=2其他语言字符=2字符
|
|
3388
|
+
*/
|
|
3359
3389
|
i18n_names?: I18nNames;
|
|
3360
3390
|
}
|
|
3361
3391
|
export interface ChatMenuItemRedirectLink {
|
|
@@ -3448,7 +3478,7 @@ export interface City {
|
|
|
3448
3478
|
city_id?: string;
|
|
3449
3479
|
/** 城市名称 */
|
|
3450
3480
|
name?: I18n[];
|
|
3451
|
-
/** 所属省份/主要行政区 ID,详细信息可通过[查询省份/主要行政区信息](/
|
|
3481
|
+
/** 所属省份/主要行政区 ID,详细信息可通过[查询省份/主要行政区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)接口获得 */
|
|
3452
3482
|
country_region_subdivision_id?: string;
|
|
3453
3483
|
/** 城市三位字母代码 */
|
|
3454
3484
|
code?: string;
|
|
@@ -3651,6 +3681,12 @@ export interface Collaborator {
|
|
|
3651
3681
|
/** 协作人的用户ID列表 */
|
|
3652
3682
|
id_list?: string[];
|
|
3653
3683
|
}
|
|
3684
|
+
export declare const enum ColorType {
|
|
3685
|
+
/** 系统颜色 */
|
|
3686
|
+
SystemColor = 0,
|
|
3687
|
+
/** 自定义颜色 */
|
|
3688
|
+
CustomColor = 1
|
|
3689
|
+
}
|
|
3654
3690
|
export interface CombinedJobObjectValueMap {
|
|
3655
3691
|
/** 结构 ID */
|
|
3656
3692
|
object_id?: string;
|
|
@@ -3849,14 +3885,20 @@ export interface CompensationCost {
|
|
|
3849
3885
|
i18n_names?: I18nContent[];
|
|
3850
3886
|
}
|
|
3851
3887
|
export interface CompensationCostItem {
|
|
3852
|
-
/** 发薪人数 */
|
|
3853
|
-
number_of_individuals_for_payment?: number;
|
|
3854
3888
|
/** 成本项数据 */
|
|
3855
3889
|
compensation_costs?: CompensationCost[];
|
|
3856
3890
|
}
|
|
3857
3891
|
export interface CompositeShape {
|
|
3858
3892
|
/** 基础图形的具体类型 */
|
|
3859
|
-
type: 'round_rect2' | 'ellipse' | 'hexagon' | 'cylinder' | 'parallelogram' | 'trapezoid' | 'triangle' | 'round_rect' | 'step' | 'diamond' | 'rect' | 'star' | 'bubble' | 'pentagon' | 'forward_arrow' | 'document_shape' | 'condition_shape' | 'cloud' | 'cross' | 'step2' | 'predefined_process' | 'delay_shape' | 'off_page_connector' | 'note_shape' | 'data_process' | 'data_store' | 'data_store2' | 'data_store3' | 'star2' | 'star3' | 'star4' | 'actor' | 'brace' | 'condition_shape2' | 'double_arrow' | 'data_flow_round_rect3' | 'rect_bubble' | 'manual_input' | 'flow_chart_round_rect' | 'flow_chart_round_rect2' | 'flow_chart_diamond' | 'flow_chart_parallelogram' | 'flow_chart_cylinder' | 'flow_chart_trapezoid' | 'flow_chart_hexagon' | 'data_flow_round_rect' | 'data_flow_ellipse' | 'backward_arrow' | 'brace_reverse' | 'flow_chart_mq' | 'horiz_cylinder' | 'class_interface' | 'classifier' | 'circular_ring' | 'pie' | 'right_triangle' | 'octagon' | 'state_start' | 'state_end' | 'state_concurrence' | 'component_shape' | 'component_shape2' | 'component_interface' | 'component_required_interface' | 'component_assembly' | 'cube';
|
|
3893
|
+
type: 'round_rect2' | 'ellipse' | 'hexagon' | 'cylinder' | 'parallelogram' | 'trapezoid' | 'triangle' | 'round_rect' | 'step' | 'diamond' | 'rect' | 'star' | 'bubble' | 'pentagon' | 'forward_arrow' | 'document_shape' | 'condition_shape' | 'cloud' | 'cross' | 'step2' | 'predefined_process' | 'delay_shape' | 'off_page_connector' | 'note_shape' | 'data_process' | 'data_store' | 'data_store2' | 'data_store3' | 'star2' | 'star3' | 'star4' | 'actor' | 'brace' | 'condition_shape2' | 'double_arrow' | 'data_flow_round_rect3' | 'rect_bubble' | 'manual_input' | 'flow_chart_round_rect' | 'flow_chart_round_rect2' | 'flow_chart_diamond' | 'flow_chart_parallelogram' | 'flow_chart_cylinder' | 'flow_chart_trapezoid' | 'flow_chart_hexagon' | 'data_flow_round_rect' | 'data_flow_ellipse' | 'backward_arrow' | 'brace_reverse' | 'flow_chart_mq' | 'horiz_cylinder' | 'class_interface' | 'classifier' | 'circular_ring' | 'pie' | 'right_triangle' | 'octagon' | 'state_start' | 'state_end' | 'state_concurrence' | 'component_shape' | 'component_shape2' | 'component_interface' | 'component_required_interface' | 'component_assembly' | 'cube' | 'boundary' | 'control' | 'entity' | 'data_base' | 'boundary' | 'queue' | 'collection' | 'actor_lifeline' | 'object_lifeline' | 'mind_node_full_round_rect' | 'mind_node_round_rect' | 'mind_node_text';
|
|
3894
|
+
/** 饼图属性,type=pie时需要设置 */
|
|
3895
|
+
pie?: Pie;
|
|
3896
|
+
/** 圆环属性,type=circular_ring时需要设置 */
|
|
3897
|
+
circular_ring?: Pie;
|
|
3898
|
+
/** 梯形属性,type=trapezoid时可以设置 */
|
|
3899
|
+
trapezoid?: Trapezoid;
|
|
3900
|
+
/** 六面体属性,type=cube时可以设置 */
|
|
3901
|
+
cube?: Cube;
|
|
3860
3902
|
}
|
|
3861
3903
|
export interface CompositeTalentAwardInfo {
|
|
3862
3904
|
/** 名称 */
|
|
@@ -4019,21 +4061,85 @@ export interface Condition {
|
|
|
4019
4061
|
expected: string[];
|
|
4020
4062
|
}
|
|
4021
4063
|
export interface Connector {
|
|
4022
|
-
/**
|
|
4023
|
-
|
|
4024
|
-
/**
|
|
4025
|
-
|
|
4064
|
+
/** 连线端点信息 */
|
|
4065
|
+
start?: ConnectorInfo;
|
|
4066
|
+
/** 连线端点信息 */
|
|
4067
|
+
end?: ConnectorInfo;
|
|
4026
4068
|
/** 连线文本 */
|
|
4027
4069
|
captions?: ConnectorCaption;
|
|
4070
|
+
/** 连线类型 */
|
|
4071
|
+
shape?: ConnectorLineShape;
|
|
4072
|
+
/** 连线转向点 */
|
|
4073
|
+
turning_points?: Point[];
|
|
4074
|
+
/** 连线上的文本方向是否自动跟随连线方向 */
|
|
4075
|
+
caption_auto_direction?: boolean;
|
|
4076
|
+
/** 文本在连线上的相对位置,范围0-1,0表示在连线的起始点,1表示在连线的终点 */
|
|
4077
|
+
caption_position?: number;
|
|
4078
|
+
/** 指定连线坐标及长宽。为 true 时需要用户设置连线的坐标及长宽信息。为 false 时会根据连线的开始、结束端点自动计算连线的坐标及长宽信息 */
|
|
4079
|
+
specified_coordinate?: boolean;
|
|
4080
|
+
}
|
|
4081
|
+
export declare const enum ConnectorArrowStyle {
|
|
4082
|
+
/** 无箭头样式 */
|
|
4083
|
+
None = "none",
|
|
4084
|
+
/** 线型箭头 */
|
|
4085
|
+
LineArrow = "line_arrow",
|
|
4086
|
+
/** 三角形箭头 */
|
|
4087
|
+
TriangleArrow = "triangle_arrow",
|
|
4088
|
+
/** 空心三角形箭头 */
|
|
4089
|
+
EmptyTriangleArrow = "empty_triangle_arrow",
|
|
4090
|
+
/** 圆形箭头 */
|
|
4091
|
+
CircleArrow = "circle_arrow",
|
|
4092
|
+
/** 空心圆形箭头 */
|
|
4093
|
+
EmptyCircleArrow = "empty_circle_arrow",
|
|
4094
|
+
/** 菱形箭头 */
|
|
4095
|
+
DiamondArrow = "diamond_arrow",
|
|
4096
|
+
/** 空心菱形箭头 */
|
|
4097
|
+
EmptyDiamondArrow = "empty_diamond_arrow",
|
|
4098
|
+
/** 单箭头 */
|
|
4099
|
+
SingleArrow = "single_arrow",
|
|
4100
|
+
/** 多箭头 */
|
|
4101
|
+
MultiArrow = "multi_arrow",
|
|
4102
|
+
/** 精确单箭头 */
|
|
4103
|
+
ExactSingleArrow = "exact_single_arrow",
|
|
4104
|
+
/** 零个或多个箭头 */
|
|
4105
|
+
ZeroOrMultiArrow = "zero_or_multi_arrow",
|
|
4106
|
+
/** 零个或单个箭头 */
|
|
4107
|
+
ZeroOrSingleArrow = "zero_or_single_arrow",
|
|
4108
|
+
/** 单个或多个箭头 */
|
|
4109
|
+
SingleOrMultiArrow = "single_or_multi_arrow",
|
|
4110
|
+
/** x型箭头 */
|
|
4111
|
+
XArrow = "x_arrow"
|
|
4028
4112
|
}
|
|
4029
4113
|
export interface ConnectorAttachedObject {
|
|
4030
4114
|
/** 连接图形的 id */
|
|
4031
4115
|
id?: string;
|
|
4116
|
+
/** 连接图形的方向 */
|
|
4117
|
+
snap_to?: SnapTo;
|
|
4118
|
+
/** 连接图形的相对坐标,0-1 */
|
|
4119
|
+
position?: Point;
|
|
4032
4120
|
}
|
|
4033
4121
|
export interface ConnectorCaption {
|
|
4034
4122
|
/** 文本 */
|
|
4035
4123
|
data?: Text[];
|
|
4036
4124
|
}
|
|
4125
|
+
export interface ConnectorInfo {
|
|
4126
|
+
/** 连接图形信息 */
|
|
4127
|
+
attached_object?: ConnectorAttachedObject;
|
|
4128
|
+
/** 连线端点在画布内的坐标,position与attached_object二选一 */
|
|
4129
|
+
position?: Point;
|
|
4130
|
+
/** 连线端点箭头样式 */
|
|
4131
|
+
arrow_style?: ConnectorArrowStyle;
|
|
4132
|
+
}
|
|
4133
|
+
export declare const enum ConnectorLineShape {
|
|
4134
|
+
/** 直线 */
|
|
4135
|
+
Straight = "straight",
|
|
4136
|
+
/** 折线 */
|
|
4137
|
+
Polyline = "polyline",
|
|
4138
|
+
/** 曲线 */
|
|
4139
|
+
Curve = "curve",
|
|
4140
|
+
/** 直角折线 */
|
|
4141
|
+
RightAngledPolyline = "right_angled_polyline"
|
|
4142
|
+
}
|
|
4037
4143
|
export interface ConnectorParam {
|
|
4038
4144
|
/** 回调时Request里面的id类型 */
|
|
4039
4145
|
callback_user_id_type?: 0 | 1 | 2 | 3;
|
|
@@ -4216,6 +4322,8 @@ export interface CostAllocationReportData {
|
|
|
4216
4322
|
data_summary_dimensions?: DataSummaryDimension[];
|
|
4217
4323
|
/** 成本项数据 */
|
|
4218
4324
|
compensation_cost_item?: CompensationCostItem;
|
|
4325
|
+
/** 员工id */
|
|
4326
|
+
employment_id?: string;
|
|
4219
4327
|
}
|
|
4220
4328
|
export interface CostCenter {
|
|
4221
4329
|
/** 成本中心ID */
|
|
@@ -4286,9 +4394,9 @@ export interface CountryRegionSubdivision {
|
|
|
4286
4394
|
country_region_subdivision_id?: string;
|
|
4287
4395
|
/** 省份/主要行政区名称 */
|
|
4288
4396
|
name?: I18n[];
|
|
4289
|
-
/** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](/
|
|
4397
|
+
/** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
|
|
4290
4398
|
country_region_id?: string;
|
|
4291
|
-
/** 行政区类型,枚举值可通过飞书人事[枚举常量介绍](/
|
|
4399
|
+
/** 行政区类型,枚举值可通过飞书人事[枚举常量介绍](https://open.feishu.cn/document/server-docs/corehr-v1/feishu-people-enum-constant#402ea9a0)文档中行政区类型(subdivision_type)定义部分获得 */
|
|
4292
4400
|
subdivision_type?: Enum;
|
|
4293
4401
|
/** 省份/主要行政区编码(ISO 3166-2) */
|
|
4294
4402
|
iso_code?: string;
|
|
@@ -4495,10 +4603,14 @@ export interface Criterion {
|
|
|
4495
4603
|
/** 逻辑关系 */
|
|
4496
4604
|
logic_expression?: string;
|
|
4497
4605
|
}
|
|
4606
|
+
export interface Cube {
|
|
4607
|
+
/** 六面体控制点,相对六面体外接矩形的相对坐标。默认控制点为外接矩形长的0.8,宽的0.25 */
|
|
4608
|
+
control_point?: Point;
|
|
4609
|
+
}
|
|
4498
4610
|
export interface Currency {
|
|
4499
4611
|
/** 货币 ID */
|
|
4500
4612
|
currency_id?: string;
|
|
4501
|
-
/** 货币所属国家/地区 ID 列表,详细信息可通过[查询国家/地区信息](/
|
|
4613
|
+
/** 货币所属国家/地区 ID 列表,详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
|
|
4502
4614
|
country_region_id_list?: string[];
|
|
4503
4615
|
/** 货币名称 */
|
|
4504
4616
|
currency_name?: I18n[];
|
|
@@ -4895,6 +5007,8 @@ export interface DataSummaryDimension {
|
|
|
4895
5007
|
dimension_value_id?: string;
|
|
4896
5008
|
/** 算薪项汇总维度时,当算薪项是特定枚举值,会使用该字段返回枚举值ID以及枚举值Key */
|
|
4897
5009
|
enum_dimension?: EnumObject;
|
|
5010
|
+
/** 维度引用对象的基础信息,当维度为引用类型字段才会有值,目前支持的引用对象类型见type */
|
|
5011
|
+
dimension_value_lookup_info?: DimensionValueLookupInfo;
|
|
4898
5012
|
/** 维度名称,自定义维度使用 */
|
|
4899
5013
|
dimension_names?: I18nContent[];
|
|
4900
5014
|
/** 数据维度表头,自定义维度使用 */
|
|
@@ -5018,14 +5132,6 @@ export interface DepartmentI18nName {
|
|
|
5018
5132
|
/** 部门的英文名 */
|
|
5019
5133
|
en_us?: string;
|
|
5020
5134
|
}
|
|
5021
|
-
export interface DepartmentIdConvertResult {
|
|
5022
|
-
/** ID */
|
|
5023
|
-
id: string;
|
|
5024
|
-
/** 部门ID */
|
|
5025
|
-
department_id?: string;
|
|
5026
|
-
/** 部门OpenID */
|
|
5027
|
-
open_department_id?: string;
|
|
5028
|
-
}
|
|
5029
5135
|
export interface DepartmentLeader {
|
|
5030
5136
|
/** 负责人类型 */
|
|
5031
5137
|
leaderType: 1 | 2;
|
|
@@ -5148,10 +5254,76 @@ export interface Device {
|
|
|
5148
5254
|
/** 设施名称 */
|
|
5149
5255
|
name: string;
|
|
5150
5256
|
}
|
|
5257
|
+
export interface DeviceRecord {
|
|
5258
|
+
/** 设备认证编码 */
|
|
5259
|
+
device_record_id: string;
|
|
5260
|
+
/** 版本号 */
|
|
5261
|
+
version: string;
|
|
5262
|
+
/** 当前登录用户ID */
|
|
5263
|
+
current_user_id?: string;
|
|
5264
|
+
/** 设备名称 */
|
|
5265
|
+
device_name?: string;
|
|
5266
|
+
/** 设备型号 */
|
|
5267
|
+
model?: string;
|
|
5268
|
+
/** 操作系统 */
|
|
5269
|
+
device_system: 1 | 2 | 3 | 4 | 5 | 6;
|
|
5270
|
+
/** 生产序列号 */
|
|
5271
|
+
serial_number?: string;
|
|
5272
|
+
/** 硬盘序列号 */
|
|
5273
|
+
disk_serial_number?: string;
|
|
5274
|
+
/** 主板UUID */
|
|
5275
|
+
uuid?: string;
|
|
5276
|
+
/** MAC地址 */
|
|
5277
|
+
mac_address?: string;
|
|
5278
|
+
/** Android标识符 */
|
|
5279
|
+
android_id?: string;
|
|
5280
|
+
/** iOS供应商标识符 */
|
|
5281
|
+
idfv?: string;
|
|
5282
|
+
/** Harmony供应商标识符 */
|
|
5283
|
+
aaid?: string;
|
|
5284
|
+
/** 设备归属 */
|
|
5285
|
+
device_ownership: 0 | 1 | 2;
|
|
5286
|
+
/** 可信状态 */
|
|
5287
|
+
device_status: 0 | 1 | 2;
|
|
5288
|
+
/** 认证方式 */
|
|
5289
|
+
certification_level: 0 | 1 | 2;
|
|
5290
|
+
/** 设备类型 */
|
|
5291
|
+
device_terminal_type: 0 | 1 | 2;
|
|
5292
|
+
/** 最近登录用户ID */
|
|
5293
|
+
latest_user_id?: string;
|
|
5294
|
+
/** 设备指纹列表 */
|
|
5295
|
+
dids?: string[];
|
|
5296
|
+
}
|
|
5151
5297
|
export interface Diagram {
|
|
5152
5298
|
/** 绘图类型 */
|
|
5153
5299
|
diagram_type?: 1 | 2;
|
|
5154
5300
|
}
|
|
5301
|
+
export declare const enum DiagramType {
|
|
5302
|
+
/** 未知 */
|
|
5303
|
+
UNKOWN = 0,
|
|
5304
|
+
/** 思维导图 */
|
|
5305
|
+
MIND_MAP = 1,
|
|
5306
|
+
/** 时序图 */
|
|
5307
|
+
SEQUENCE = 2,
|
|
5308
|
+
/** 活动图 */
|
|
5309
|
+
ACTIVITY = 3,
|
|
5310
|
+
/** 类图 */
|
|
5311
|
+
CLASS = 4,
|
|
5312
|
+
/** ER */
|
|
5313
|
+
ER = 5,
|
|
5314
|
+
/** 流程图 */
|
|
5315
|
+
FLOWCHART = 6,
|
|
5316
|
+
/** 用例图 */
|
|
5317
|
+
STATE = 7,
|
|
5318
|
+
/** 组件图 */
|
|
5319
|
+
COMPONENT_DIAGRAM = 8,
|
|
5320
|
+
/** ai流式生成流程图 */
|
|
5321
|
+
STREAMING_ACTIVITY = 101,
|
|
5322
|
+
/** ai流式生成时序图 */
|
|
5323
|
+
STREAMING_SEQUENCE = 102,
|
|
5324
|
+
/** plantUML语法补充超集GML */
|
|
5325
|
+
TIMELINE_GML = 201
|
|
5326
|
+
}
|
|
5155
5327
|
export interface DiData {
|
|
5156
5328
|
/** 字段值 1. 单选: "1" 2. 多选:"["1", "2"]" 3. 月份选择:"{"date":"2022-01"}" 4. 年份选择:"{"date":"2022"}" 5. 数字:"123" 6. 单行文本:"xxx " 7. 多行文本:"xxx xxxx" 8. 日期范围 "[1688140800000,1688140800000]" */
|
|
5157
5329
|
value?: string;
|
|
@@ -5244,6 +5416,14 @@ export interface DimensionOption {
|
|
|
5244
5416
|
/** 选项对应的分数 */
|
|
5245
5417
|
score_val?: number;
|
|
5246
5418
|
}
|
|
5419
|
+
export interface DimensionValueLookupInfo {
|
|
5420
|
+
/** 引用对象类型 */
|
|
5421
|
+
type?: string;
|
|
5422
|
+
/** 引用对象的id,可根据相关API查询到对象的完整信息 */
|
|
5423
|
+
id?: string;
|
|
5424
|
+
/** 引用对象的code,目前下面的对象会有code */
|
|
5425
|
+
code?: string;
|
|
5426
|
+
}
|
|
5247
5427
|
export interface DirectProjectLeaderRecordInfo {
|
|
5248
5428
|
/** 评估人 ID */
|
|
5249
5429
|
reviewer_id?: User;
|
|
@@ -5291,7 +5471,7 @@ export interface District {
|
|
|
5291
5471
|
district_id?: string;
|
|
5292
5472
|
/** 名称 */
|
|
5293
5473
|
name?: I18n[];
|
|
5294
|
-
/** 所属城市 ID,详细信息可通过[查询城市信息](/
|
|
5474
|
+
/** 所属城市 ID,详细信息可通过[查询城市信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-city/search)接口获得 */
|
|
5295
5475
|
city_id?: string;
|
|
5296
5476
|
/** 行政区划代码 */
|
|
5297
5477
|
subregion_code?: string;
|
|
@@ -5632,16 +5812,6 @@ export interface EmployeeEntity {
|
|
|
5632
5812
|
/** 员工工作信息 */
|
|
5633
5813
|
work_info?: EmployeeWorkEntity;
|
|
5634
5814
|
}
|
|
5635
|
-
export interface EmployeeIdConvertResult {
|
|
5636
|
-
/** ID */
|
|
5637
|
-
id: string;
|
|
5638
|
-
/** 员工ID */
|
|
5639
|
-
employee_id?: string;
|
|
5640
|
-
/** 员工OpenID */
|
|
5641
|
-
open_employee_id?: string;
|
|
5642
|
-
/** 员工UnionID */
|
|
5643
|
-
union_employee_id?: string;
|
|
5644
|
-
}
|
|
5645
5815
|
export interface EmployeeJobData {
|
|
5646
5816
|
/** Employment ID */
|
|
5647
5817
|
employment_id: string;
|
|
@@ -5657,39 +5827,47 @@ export interface EmployeeOverboardInfo {
|
|
|
5657
5827
|
export interface EmployeesAdditionalJob {
|
|
5658
5828
|
/** 兼职记录ID */
|
|
5659
5829
|
id?: string;
|
|
5660
|
-
/** 人员类型 ID,可通过[【查询单个人员类型】](/
|
|
5830
|
+
/** 人员类型 ID,可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
|
|
5661
5831
|
employee_type_id: string;
|
|
5662
|
-
/** 工时制度 ID,可通过[【查询单个工时制度】](/
|
|
5832
|
+
/** 工时制度 ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
|
|
5663
5833
|
working_hours_type_id?: string;
|
|
5664
|
-
/** 工作地点 ID,可通过[【查询单个地点】](/
|
|
5834
|
+
/** 工作地点 ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
|
|
5665
5835
|
work_location_id?: string;
|
|
5666
|
-
/** 部门 ID,可通过[【查询单个部门】](/
|
|
5836
|
+
/** 部门 ID,可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型与department_id_type一致 */
|
|
5667
5837
|
department_id: string;
|
|
5668
|
-
/** 职务 ID,可通过[【查询单个职务】](/
|
|
5838
|
+
/** 职务 ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
|
|
5669
5839
|
job_id?: string;
|
|
5670
|
-
/** 职级 ID,可通过[【查询单个职级】](/
|
|
5840
|
+
/** 职级 ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
|
|
5671
5841
|
job_level_id?: string;
|
|
5672
|
-
/** 序列 ID,可通过[【查询单个序列】](/
|
|
5842
|
+
/** 序列 ID,可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
|
|
5673
5843
|
job_family_id?: string;
|
|
5674
|
-
/** 雇佣 ID,可通过[【批量查询员工信息】](/
|
|
5844
|
+
/** 雇佣 ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
|
|
5675
5845
|
employment_id: string;
|
|
5676
5846
|
/** 兼职开始日期 */
|
|
5677
5847
|
start_date: string;
|
|
5678
5848
|
/** 兼职结束日期 */
|
|
5679
5849
|
end_date?: string;
|
|
5680
|
-
/** 直属上级的雇佣ID,可通过[【批量查询员工信息】](/
|
|
5850
|
+
/** 直属上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
|
|
5681
5851
|
direct_manager_id?: string;
|
|
5682
|
-
/** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](/
|
|
5852
|
+
/** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
|
|
5683
5853
|
dotted_line_manager_id?: string;
|
|
5684
|
-
/**
|
|
5854
|
+
/**
|
|
5855
|
+
* 排班类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
5856
|
+
* - object_api_name = "job_data"
|
|
5857
|
+
* - custom_api_name = "work_shift"
|
|
5858
|
+
*/
|
|
5685
5859
|
work_shift?: Enum;
|
|
5686
|
-
/**
|
|
5860
|
+
/**
|
|
5861
|
+
* 薪资类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
5862
|
+
* - object_api_name = "job_data"
|
|
5863
|
+
* - custom_api_name = "compensation_type"
|
|
5864
|
+
*/
|
|
5687
5865
|
compensation_type?: Enum;
|
|
5688
|
-
/** 任职公司,可通过[【查询单个公司】](/
|
|
5866
|
+
/** 任职公司,可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
|
|
5689
5867
|
service_company?: string;
|
|
5690
5868
|
/** 周工作时长【0~168】 */
|
|
5691
5869
|
weekly_working_hours?: string;
|
|
5692
|
-
/** 工作日历ID,可通过[【查询工作日历】](/
|
|
5870
|
+
/** 工作日历ID,可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
|
|
5693
5871
|
work_calendar_id?: string;
|
|
5694
5872
|
/** 岗位 ID */
|
|
5695
5873
|
position_id?: string;
|
|
@@ -5705,45 +5883,319 @@ export interface EmployeesAdditionalJobBatchReqDate {
|
|
|
5705
5883
|
export interface EmployeesAdditionalJobWriteResp {
|
|
5706
5884
|
/** 兼职记录ID */
|
|
5707
5885
|
id?: string;
|
|
5708
|
-
/** 人员类型 ID,可通过[【查询单个人员类型】](/
|
|
5886
|
+
/** 人员类型 ID,可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
|
|
5709
5887
|
employee_type_id: string;
|
|
5710
|
-
/** 工时制度 ID,可通过[【查询单个工时制度】](/
|
|
5888
|
+
/** 工时制度 ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
|
|
5711
5889
|
working_hours_type_id?: string;
|
|
5712
|
-
/** 工作地点 ID,可通过[【查询单个地点】](/
|
|
5890
|
+
/** 工作地点 ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
|
|
5713
5891
|
work_location_id?: string;
|
|
5714
|
-
/** 部门 ID,可通过[【查询单个部门】](/
|
|
5892
|
+
/** 部门 ID,可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型与department_id_type一致 */
|
|
5715
5893
|
department_id: string;
|
|
5716
|
-
/** 职务 ID,可通过[【查询单个职务】](/
|
|
5894
|
+
/** 职务 ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
|
|
5717
5895
|
job_id?: string;
|
|
5718
|
-
/** 职级 ID,可通过[【查询单个职级】](/
|
|
5896
|
+
/** 职级 ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
|
|
5719
5897
|
job_level_id?: string;
|
|
5720
|
-
/** 序列 ID,可通过[【查询单个序列】](/
|
|
5898
|
+
/** 序列 ID,可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
|
|
5721
5899
|
job_family_id?: string;
|
|
5722
|
-
/** 雇佣 ID,可通过[【批量查询员工信息】](/
|
|
5900
|
+
/** 雇佣 ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
|
|
5723
5901
|
employment_id: string;
|
|
5724
5902
|
/** 兼职开始日期 */
|
|
5725
5903
|
start_date: string;
|
|
5726
5904
|
/** 兼职结束日期 */
|
|
5727
5905
|
end_date?: string;
|
|
5728
|
-
/** 直属上级的雇佣ID,可通过[【批量查询员工信息】](/
|
|
5906
|
+
/** 直属上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
|
|
5729
5907
|
direct_manager_id?: string;
|
|
5730
|
-
/** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](/
|
|
5908
|
+
/** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
|
|
5731
5909
|
dotted_line_manager_id?: string;
|
|
5732
|
-
/**
|
|
5910
|
+
/**
|
|
5911
|
+
* 排班类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
5912
|
+
* - object_api_name = "job_data"
|
|
5913
|
+
* - custom_api_name = "work_shift"
|
|
5914
|
+
*/
|
|
5733
5915
|
work_shift?: Enum;
|
|
5734
|
-
/**
|
|
5916
|
+
/**
|
|
5917
|
+
* 薪资类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
5918
|
+
* - object_api_name = "job_data"
|
|
5919
|
+
* - custom_api_name = "compensation_type"
|
|
5920
|
+
*/
|
|
5735
5921
|
compensation_type?: Enum;
|
|
5736
|
-
/** 任职公司,可通过[【查询单个公司】](/
|
|
5922
|
+
/** 任职公司,可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
|
|
5737
5923
|
service_company?: string;
|
|
5738
5924
|
/** 周工作时长【0~168】 */
|
|
5739
5925
|
weekly_working_hours?: string;
|
|
5740
|
-
/** 工作日历ID,可通过[【查询工作日历】](/
|
|
5926
|
+
/** 工作日历ID,可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
|
|
5741
5927
|
work_calendar_id?: string;
|
|
5742
5928
|
/** 岗位 ID */
|
|
5743
5929
|
position_id?: string;
|
|
5744
5930
|
/** 人员子类型 ID */
|
|
5745
5931
|
employee_subtype_id?: string;
|
|
5746
5932
|
}
|
|
5933
|
+
export interface EmployeesInternationalAssignment {
|
|
5934
|
+
/**
|
|
5935
|
+
* 外派工作地点 ID
|
|
5936
|
+
* - 可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息
|
|
5937
|
+
*/
|
|
5938
|
+
work_location_id?: string;
|
|
5939
|
+
/**
|
|
5940
|
+
* 外派任职公司 ID
|
|
5941
|
+
* - 可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息
|
|
5942
|
+
*/
|
|
5943
|
+
service_company?: string;
|
|
5944
|
+
/**
|
|
5945
|
+
* 排班类型
|
|
5946
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
5947
|
+
* - object_api_name:job_data
|
|
5948
|
+
* - custom_api_name:work_shift
|
|
5949
|
+
*/
|
|
5950
|
+
work_shift?: Enum;
|
|
5951
|
+
/**
|
|
5952
|
+
* 工时制度ID
|
|
5953
|
+
* - 可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息
|
|
5954
|
+
*/
|
|
5955
|
+
working_hours_type_id?: string;
|
|
5956
|
+
/**
|
|
5957
|
+
* 人员类型ID
|
|
5958
|
+
* - 可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
|
|
5959
|
+
*/
|
|
5960
|
+
employee_type_id?: string;
|
|
5961
|
+
/** 周工作时长 */
|
|
5962
|
+
weekly_working_hours_v2?: number;
|
|
5963
|
+
/**
|
|
5964
|
+
* 部门 ID
|
|
5965
|
+
* - 可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息
|
|
5966
|
+
* - 类型与 department_id_type 一致
|
|
5967
|
+
*/
|
|
5968
|
+
department_id?: string;
|
|
5969
|
+
/**
|
|
5970
|
+
* 职务 ID
|
|
5971
|
+
* - 可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息
|
|
5972
|
+
*/
|
|
5973
|
+
job_id?: string;
|
|
5974
|
+
/**
|
|
5975
|
+
* 序列 ID
|
|
5976
|
+
* - 可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息
|
|
5977
|
+
*/
|
|
5978
|
+
job_family_id?: string;
|
|
5979
|
+
/**
|
|
5980
|
+
* 职级 ID
|
|
5981
|
+
* - 可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
|
|
5982
|
+
*/
|
|
5983
|
+
job_level_id?: string;
|
|
5984
|
+
/**
|
|
5985
|
+
* 职等 ID
|
|
5986
|
+
* - 可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息
|
|
5987
|
+
*/
|
|
5988
|
+
job_grade_id?: string;
|
|
5989
|
+
/**
|
|
5990
|
+
* 薪资类型
|
|
5991
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
5992
|
+
* - object_api_name:job_data
|
|
5993
|
+
* - custom_api_name:compensation_type
|
|
5994
|
+
*/
|
|
5995
|
+
compensation_type?: Enum;
|
|
5996
|
+
/**
|
|
5997
|
+
* 直属上级雇佣 ID
|
|
5998
|
+
* - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
|
|
5999
|
+
* - 类型与 user_id_type 一致
|
|
6000
|
+
*/
|
|
6001
|
+
direct_manager_id?: string;
|
|
6002
|
+
/**
|
|
6003
|
+
* 虚线上级雇佣 ID
|
|
6004
|
+
* - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
|
|
6005
|
+
* - 类型与 user_id_type 一致
|
|
6006
|
+
*/
|
|
6007
|
+
dotted_line_manager_id?: string;
|
|
6008
|
+
/**
|
|
6009
|
+
* 工作日历 ID
|
|
6010
|
+
* - 可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息
|
|
6011
|
+
*/
|
|
6012
|
+
work_calendar_id?: string;
|
|
6013
|
+
/**
|
|
6014
|
+
* 岗位 ID
|
|
6015
|
+
* - 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
|
|
6016
|
+
*/
|
|
6017
|
+
position_id?: string;
|
|
6018
|
+
/**
|
|
6019
|
+
* 雇佣 ID
|
|
6020
|
+
* - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
|
|
6021
|
+
* - 类型与 user_id_type 一致
|
|
6022
|
+
*/
|
|
6023
|
+
employment_id?: string;
|
|
6024
|
+
/**
|
|
6025
|
+
* 自定义字段
|
|
6026
|
+
* - 请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
|
|
6027
|
+
*/
|
|
6028
|
+
custom_fields?: ObjectFieldData[];
|
|
6029
|
+
/** 外派原因说明 */
|
|
6030
|
+
international_assignment_reason?: string;
|
|
6031
|
+
/** 备注 */
|
|
6032
|
+
description?: string;
|
|
6033
|
+
/**
|
|
6034
|
+
* 预计结束日期
|
|
6035
|
+
* - 格式:yyyy-mm-dd
|
|
6036
|
+
*/
|
|
6037
|
+
international_assignment_expected_end_date?: string;
|
|
6038
|
+
/**
|
|
6039
|
+
* 外派状态
|
|
6040
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
6041
|
+
* - object_api_name:international_assignment
|
|
6042
|
+
* - custom_api_name:international_assignment_status
|
|
6043
|
+
*/
|
|
6044
|
+
international_assignment_status?: Enum;
|
|
6045
|
+
/**
|
|
6046
|
+
* 外派类型
|
|
6047
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
6048
|
+
* - object_api_name:international_assignment
|
|
6049
|
+
* - custom_api_name:international_assignment_type
|
|
6050
|
+
*/
|
|
6051
|
+
international_assignment_type?: Enum;
|
|
6052
|
+
/**
|
|
6053
|
+
* 开始日期
|
|
6054
|
+
* - 格式:yyyy-mm-dd
|
|
6055
|
+
*/
|
|
6056
|
+
effective_time?: string;
|
|
6057
|
+
/**
|
|
6058
|
+
* 结束日期
|
|
6059
|
+
* - 格式:yyyy-mm-dd
|
|
6060
|
+
* - 在外派未结束时,该值默认为 9999-12-31
|
|
6061
|
+
*/
|
|
6062
|
+
expiration_time?: string;
|
|
6063
|
+
/** 外派ID */
|
|
6064
|
+
id?: string;
|
|
6065
|
+
}
|
|
6066
|
+
export interface EmployeesInternationalAssignmentResp {
|
|
6067
|
+
/**
|
|
6068
|
+
* 外派工作地点 ID
|
|
6069
|
+
* - 可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息
|
|
6070
|
+
*/
|
|
6071
|
+
work_location_id?: string;
|
|
6072
|
+
/**
|
|
6073
|
+
* 外派任职公司 ID
|
|
6074
|
+
* - 可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息
|
|
6075
|
+
*/
|
|
6076
|
+
service_company?: string;
|
|
6077
|
+
/**
|
|
6078
|
+
* 排班类型
|
|
6079
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
6080
|
+
* - object_api_name:job_data
|
|
6081
|
+
* - custom_api_name:work_shift
|
|
6082
|
+
*/
|
|
6083
|
+
work_shift?: Enum;
|
|
6084
|
+
/**
|
|
6085
|
+
* 工时制度ID
|
|
6086
|
+
* - 可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息
|
|
6087
|
+
*/
|
|
6088
|
+
working_hours_type_id?: string;
|
|
6089
|
+
/**
|
|
6090
|
+
* 人员类型ID
|
|
6091
|
+
* - 可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
|
|
6092
|
+
*/
|
|
6093
|
+
employee_type_id?: string;
|
|
6094
|
+
/** 周工作时长 */
|
|
6095
|
+
weekly_working_hours_v2?: number;
|
|
6096
|
+
/**
|
|
6097
|
+
* 部门 ID
|
|
6098
|
+
* - 可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息
|
|
6099
|
+
* - 类型与 department_id_type 一致
|
|
6100
|
+
*/
|
|
6101
|
+
department_id?: string;
|
|
6102
|
+
/**
|
|
6103
|
+
* 职务 ID
|
|
6104
|
+
* - 可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息
|
|
6105
|
+
*/
|
|
6106
|
+
job_id?: string;
|
|
6107
|
+
/**
|
|
6108
|
+
* 序列 ID
|
|
6109
|
+
* - 可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息
|
|
6110
|
+
*/
|
|
6111
|
+
job_family_id?: string;
|
|
6112
|
+
/**
|
|
6113
|
+
* 职级 ID
|
|
6114
|
+
* - 可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
|
|
6115
|
+
*/
|
|
6116
|
+
job_level_id?: string;
|
|
6117
|
+
/**
|
|
6118
|
+
* 职等 ID
|
|
6119
|
+
* - 可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息
|
|
6120
|
+
*/
|
|
6121
|
+
job_grade_id?: string;
|
|
6122
|
+
/**
|
|
6123
|
+
* 薪资类型
|
|
6124
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
6125
|
+
* - object_api_name:job_data
|
|
6126
|
+
* - custom_api_name:compensation_type
|
|
6127
|
+
*/
|
|
6128
|
+
compensation_type?: Enum;
|
|
6129
|
+
/**
|
|
6130
|
+
* 直属上级雇佣 ID
|
|
6131
|
+
* - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
|
|
6132
|
+
* - 类型与 user_id_type 一致
|
|
6133
|
+
*/
|
|
6134
|
+
direct_manager_id?: string;
|
|
6135
|
+
/**
|
|
6136
|
+
* 虚线上级雇佣 ID
|
|
6137
|
+
* - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
|
|
6138
|
+
* - 类型与 user_id_type 一致
|
|
6139
|
+
*/
|
|
6140
|
+
dotted_line_manager_id?: string;
|
|
6141
|
+
/**
|
|
6142
|
+
* 工作日历 ID
|
|
6143
|
+
* - 可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息
|
|
6144
|
+
*/
|
|
6145
|
+
work_calendar_id?: string;
|
|
6146
|
+
/**
|
|
6147
|
+
* 岗位 ID
|
|
6148
|
+
* - 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
|
|
6149
|
+
*/
|
|
6150
|
+
position_id?: string;
|
|
6151
|
+
/**
|
|
6152
|
+
* 雇佣 ID
|
|
6153
|
+
* - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
|
|
6154
|
+
* - 类型与 user_id_type 一致
|
|
6155
|
+
*/
|
|
6156
|
+
employment_id?: string;
|
|
6157
|
+
/**
|
|
6158
|
+
* 自定义字段
|
|
6159
|
+
* - 请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
|
|
6160
|
+
*/
|
|
6161
|
+
custom_fields?: ObjectFieldData[];
|
|
6162
|
+
/** 外派原因说明 */
|
|
6163
|
+
international_assignment_reason?: string;
|
|
6164
|
+
/** 备注 */
|
|
6165
|
+
description?: string;
|
|
6166
|
+
/**
|
|
6167
|
+
* 预计结束日期
|
|
6168
|
+
* - 格式:yyyy-mm-dd
|
|
6169
|
+
*/
|
|
6170
|
+
international_assignment_expected_end_date?: string;
|
|
6171
|
+
/**
|
|
6172
|
+
* 外派状态
|
|
6173
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
6174
|
+
* - object_api_name:international_assignment
|
|
6175
|
+
* - custom_api_name:international_assignment_status
|
|
6176
|
+
*/
|
|
6177
|
+
international_assignment_status?: Enum;
|
|
6178
|
+
/**
|
|
6179
|
+
* 外派类型
|
|
6180
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
6181
|
+
* - object_api_name:international_assignment
|
|
6182
|
+
* - custom_api_name:international_assignment_type
|
|
6183
|
+
*/
|
|
6184
|
+
international_assignment_type?: Enum;
|
|
6185
|
+
/**
|
|
6186
|
+
* 开始日期
|
|
6187
|
+
* - 格式:yyyy-mm-dd
|
|
6188
|
+
*/
|
|
6189
|
+
effective_time?: string;
|
|
6190
|
+
/**
|
|
6191
|
+
* 结束日期
|
|
6192
|
+
* - 格式:yyyy-mm-dd
|
|
6193
|
+
* - 在外派未结束时,该值默认为 9999-12-31
|
|
6194
|
+
*/
|
|
6195
|
+
expiration_time?: string;
|
|
6196
|
+
/** 外派ID */
|
|
6197
|
+
id?: string;
|
|
6198
|
+
}
|
|
5747
6199
|
export declare const enum EmployeeStaffStatusDirectory {
|
|
5748
6200
|
/** 在职 */
|
|
5749
6201
|
EmployeeStaffStatusDirectoryUnResigned = 1,
|
|
@@ -6686,7 +7138,7 @@ export interface FieldVariableValueToFile {
|
|
|
6686
7138
|
/** 文件名称 */
|
|
6687
7139
|
file_name?: string;
|
|
6688
7140
|
/** 文件大小,单位:Byte */
|
|
6689
|
-
length?:
|
|
7141
|
+
length?: number;
|
|
6690
7142
|
/** 文件类型,如`application/pdf` */
|
|
6691
7143
|
mime_type?: string;
|
|
6692
7144
|
}
|
|
@@ -6725,6 +7177,8 @@ export interface FieldVariableValueToRecord {
|
|
|
6725
7177
|
variable_api_name?: string;
|
|
6726
7178
|
/** 变量值,对应subValues中的key */
|
|
6727
7179
|
sub_value_key?: string;
|
|
7180
|
+
/** 记录唯一ID */
|
|
7181
|
+
record_id?: string;
|
|
6728
7182
|
}
|
|
6729
7183
|
export interface File {
|
|
6730
7184
|
/** 附件 Token */
|
|
@@ -8394,6 +8848,34 @@ export interface JobFamily {
|
|
|
8394
8848
|
/** 职级序列ID */
|
|
8395
8849
|
job_family_id?: string;
|
|
8396
8850
|
}
|
|
8851
|
+
export interface JobFamilyTimeline {
|
|
8852
|
+
/** 序列版本信息 */
|
|
8853
|
+
job_family_version_data?: JobFamilyVersionData[];
|
|
8854
|
+
}
|
|
8855
|
+
export interface JobFamilyVersionData {
|
|
8856
|
+
/** 序列 ID */
|
|
8857
|
+
job_family_id?: string;
|
|
8858
|
+
/** 序列版本 ID */
|
|
8859
|
+
job_family_version_id?: string;
|
|
8860
|
+
/** 序列名称 */
|
|
8861
|
+
job_family_names?: I18n[];
|
|
8862
|
+
/** 生效日期 */
|
|
8863
|
+
effective_date?: string;
|
|
8864
|
+
/** 失效时间 */
|
|
8865
|
+
expiration_date?: string;
|
|
8866
|
+
/** 是否启用 */
|
|
8867
|
+
active?: boolean;
|
|
8868
|
+
/** 描述 */
|
|
8869
|
+
descriptions?: I18n[];
|
|
8870
|
+
/** 可选 */
|
|
8871
|
+
selectable?: boolean;
|
|
8872
|
+
/** 上级序列 */
|
|
8873
|
+
parent_job_family_id?: string;
|
|
8874
|
+
/** 通道 ID 列表 */
|
|
8875
|
+
pathway_ids?: string[];
|
|
8876
|
+
/** 编码 */
|
|
8877
|
+
code?: string;
|
|
8878
|
+
}
|
|
8397
8879
|
export interface JobFunction {
|
|
8398
8880
|
/** 职能分类 ID */
|
|
8399
8881
|
id?: string;
|
|
@@ -8632,6 +9114,10 @@ export interface JobStorefront {
|
|
|
8632
9114
|
/** 备注 */
|
|
8633
9115
|
remark?: I18n;
|
|
8634
9116
|
}
|
|
9117
|
+
export interface JobTimeline {
|
|
9118
|
+
/** 职务版本信息 */
|
|
9119
|
+
job_version_data?: JobVersionData[];
|
|
9120
|
+
}
|
|
8635
9121
|
export interface JobTitle {
|
|
8636
9122
|
/** 职务ID */
|
|
8637
9123
|
job_title_id?: string;
|
|
@@ -8656,6 +9142,34 @@ export interface JobUserInfo {
|
|
|
8656
9142
|
/** 名称 */
|
|
8657
9143
|
name?: I18n;
|
|
8658
9144
|
}
|
|
9145
|
+
export interface JobVersionData {
|
|
9146
|
+
/** 职务 ID */
|
|
9147
|
+
job_id?: string;
|
|
9148
|
+
/** 职务版本 ID */
|
|
9149
|
+
job_version_id?: string;
|
|
9150
|
+
/** 职务名称 */
|
|
9151
|
+
job_names?: I18n[];
|
|
9152
|
+
/** 生效日期 */
|
|
9153
|
+
effective_date?: string;
|
|
9154
|
+
/** 失效时间 */
|
|
9155
|
+
expiration_date?: string;
|
|
9156
|
+
/** 是否启用 */
|
|
9157
|
+
active?: boolean;
|
|
9158
|
+
/** 描述 */
|
|
9159
|
+
descriptions?: I18n[];
|
|
9160
|
+
/** 编码 */
|
|
9161
|
+
code?: string;
|
|
9162
|
+
/** 职务头衔 */
|
|
9163
|
+
job_titles?: I18n[];
|
|
9164
|
+
/** 序列 */
|
|
9165
|
+
job_family_ids?: string[];
|
|
9166
|
+
/** 职级 */
|
|
9167
|
+
job_level_ids?: string[];
|
|
9168
|
+
/** 通道ID */
|
|
9169
|
+
pathway_id?: string;
|
|
9170
|
+
/** 工时制度,引用WorkingHoursType的ID */
|
|
9171
|
+
working_hours_type_id?: string;
|
|
9172
|
+
}
|
|
8659
9173
|
export interface KeyresultData {
|
|
8660
9174
|
/** 关键举措 ID */
|
|
8661
9175
|
keyresult_id: string;
|
|
@@ -8938,6 +9452,12 @@ export interface LeaveType {
|
|
|
8938
9452
|
/** 假期类型的更新人,值为更新人的员工 ID */
|
|
8939
9453
|
updated_by: string;
|
|
8940
9454
|
}
|
|
9455
|
+
export interface Lifeline {
|
|
9456
|
+
/** 生命线长度 */
|
|
9457
|
+
size?: number;
|
|
9458
|
+
/** 生命线类型 */
|
|
9459
|
+
type?: string;
|
|
9460
|
+
}
|
|
8941
9461
|
export interface Link {
|
|
8942
9462
|
/** 超链接指向的 url (需要 url_encode) */
|
|
8943
9463
|
url: string;
|
|
@@ -9075,6 +9595,168 @@ export interface LookupWithAvatar {
|
|
|
9075
9595
|
/** 用户邮箱 */
|
|
9076
9596
|
email?: string;
|
|
9077
9597
|
}
|
|
9598
|
+
export interface LumpSumPayment {
|
|
9599
|
+
/** 一次性支付记录id */
|
|
9600
|
+
id?: string;
|
|
9601
|
+
/** 外部幂等id,由上游业务决定 */
|
|
9602
|
+
unique_id?: string;
|
|
9603
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
9604
|
+
user_id?: string;
|
|
9605
|
+
/** 总金额,字符串表达的数字 */
|
|
9606
|
+
total_amount?: string;
|
|
9607
|
+
/** 绑定期,单位为月 */
|
|
9608
|
+
binding_period?: number;
|
|
9609
|
+
/** 币种id */
|
|
9610
|
+
currency_id?: string;
|
|
9611
|
+
/** 发放次数 */
|
|
9612
|
+
issuance_frequency?: number;
|
|
9613
|
+
/** 薪酬项id */
|
|
9614
|
+
item_id?: string;
|
|
9615
|
+
/** 备注 */
|
|
9616
|
+
remark?: string;
|
|
9617
|
+
/** 发放规则描述文本 */
|
|
9618
|
+
issuance_detail_text?: I18n;
|
|
9619
|
+
/** 申请来源 */
|
|
9620
|
+
apply_source?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
9621
|
+
/** 应退回金额(税前) */
|
|
9622
|
+
return_amount_before_tax?: string;
|
|
9623
|
+
/** 应退回金额(税后) */
|
|
9624
|
+
return_amount_after_tax?: string;
|
|
9625
|
+
/** 绑定期内离职类型 */
|
|
9626
|
+
binding_period_offboarding_type?: 'yes' | 'no' | 'default';
|
|
9627
|
+
/** 创建时间 */
|
|
9628
|
+
create_time?: string;
|
|
9629
|
+
/** 更新时间 */
|
|
9630
|
+
modify_time?: string;
|
|
9631
|
+
/** 所属期开始日期 */
|
|
9632
|
+
reference_period_start_date?: string;
|
|
9633
|
+
/** 所属期结束日期 */
|
|
9634
|
+
reference_period_end_date?: string;
|
|
9635
|
+
/** 发放明细列表 */
|
|
9636
|
+
details?: LumpSumPaymentDetail[];
|
|
9637
|
+
/** 绑定期带小数 */
|
|
9638
|
+
binding_period_decimal?: string;
|
|
9639
|
+
}
|
|
9640
|
+
export interface LumpSumPaymentDetail {
|
|
9641
|
+
/** 一次性支付记录明细id */
|
|
9642
|
+
id?: string;
|
|
9643
|
+
/** 一次性支付记录id */
|
|
9644
|
+
record_id?: string;
|
|
9645
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
9646
|
+
user_id?: string;
|
|
9647
|
+
/** 一次性支付明细发放金额,可转数字的字符串 */
|
|
9648
|
+
issuance_amount?: string;
|
|
9649
|
+
/** 发放状态 */
|
|
9650
|
+
issuance_status?: 'to_be_issued' | 'not_issued';
|
|
9651
|
+
/** 发放方式 */
|
|
9652
|
+
issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus';
|
|
9653
|
+
/** 发放日期 */
|
|
9654
|
+
issuance_time?: string;
|
|
9655
|
+
/** 币种id */
|
|
9656
|
+
currency_id?: string;
|
|
9657
|
+
/** 申请发放日期 */
|
|
9658
|
+
belong_time?: string;
|
|
9659
|
+
/** 创建时间 */
|
|
9660
|
+
create_time?: string;
|
|
9661
|
+
/** 更新时间 */
|
|
9662
|
+
modify_time?: string;
|
|
9663
|
+
/** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
9664
|
+
issuance_country_region_id?: string;
|
|
9665
|
+
/** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
|
|
9666
|
+
issuance_pay_group_id?: string;
|
|
9667
|
+
}
|
|
9668
|
+
export interface LumpSumPaymentDetailForCreate {
|
|
9669
|
+
/** 一次性支付明细发放金额,可转数字的字符串 */
|
|
9670
|
+
issuance_amount: string;
|
|
9671
|
+
/** 发放状态 */
|
|
9672
|
+
issuance_status: 'to_be_issued' | 'not_issued';
|
|
9673
|
+
/** 发放方式 */
|
|
9674
|
+
issuance_way: 'with_salary' | 'with_cash' | 'with_year_end_bonus';
|
|
9675
|
+
/** 发放日期 */
|
|
9676
|
+
issuance_time: string;
|
|
9677
|
+
/** 申请发放日期 */
|
|
9678
|
+
belong_time: string;
|
|
9679
|
+
/** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
9680
|
+
issuance_country_region_id?: string;
|
|
9681
|
+
/** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
|
|
9682
|
+
issuance_pay_group_id?: string;
|
|
9683
|
+
}
|
|
9684
|
+
export interface LumpSumPaymentDetailForUpdate {
|
|
9685
|
+
/** 一次性支付记录明细id。传入已有的id代表直接在原明细上进行更新,不传则代表创建新的明细 */
|
|
9686
|
+
id?: string;
|
|
9687
|
+
/** 一次性支付明细发放金额,可转数字的字符串 */
|
|
9688
|
+
issuance_amount?: string;
|
|
9689
|
+
/** 发放状态 */
|
|
9690
|
+
issuance_status?: 'to_be_issued' | 'not_issued';
|
|
9691
|
+
/** 发放方式 */
|
|
9692
|
+
issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus';
|
|
9693
|
+
/** 发放日期 */
|
|
9694
|
+
issuance_time?: string;
|
|
9695
|
+
/** 申请发放日期 */
|
|
9696
|
+
belong_time?: string;
|
|
9697
|
+
/** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
9698
|
+
issuance_country_region_id?: string;
|
|
9699
|
+
/** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
|
|
9700
|
+
issuance_pay_group_id?: string;
|
|
9701
|
+
}
|
|
9702
|
+
export interface LumpSumPaymentForCreate {
|
|
9703
|
+
/** 外部幂等id,由上游业务决定 */
|
|
9704
|
+
unique_id: string;
|
|
9705
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
9706
|
+
user_id: string;
|
|
9707
|
+
/** 总金额,字符串表达的数字 */
|
|
9708
|
+
total_amount: string;
|
|
9709
|
+
/** 绑定期,单位为月 */
|
|
9710
|
+
binding_period: number;
|
|
9711
|
+
/** 币种id */
|
|
9712
|
+
currency_id: string;
|
|
9713
|
+
/** 发放次数,必须与 details 的长度一致 */
|
|
9714
|
+
issuance_frequency: number;
|
|
9715
|
+
/** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
|
|
9716
|
+
item_id: string;
|
|
9717
|
+
/** 所属期开始日期 */
|
|
9718
|
+
reference_period_start_date?: string;
|
|
9719
|
+
/** 所属期结束日期 */
|
|
9720
|
+
reference_period_end_date?: string;
|
|
9721
|
+
/** 发放明细列表 */
|
|
9722
|
+
details: LumpSumPaymentDetailForCreate[];
|
|
9723
|
+
/** 备注 */
|
|
9724
|
+
remark?: string;
|
|
9725
|
+
/** 绑定期带小数 */
|
|
9726
|
+
binding_period_decimal?: string;
|
|
9727
|
+
}
|
|
9728
|
+
export interface LumpSumPaymentForUpdate {
|
|
9729
|
+
/** 一次性支付记录id */
|
|
9730
|
+
id?: string;
|
|
9731
|
+
/** 总金额,字符串表达的数字 */
|
|
9732
|
+
total_amount: string;
|
|
9733
|
+
/** 绑定期,单位为月 */
|
|
9734
|
+
binding_period?: number;
|
|
9735
|
+
/** 币种id */
|
|
9736
|
+
currency_id: string;
|
|
9737
|
+
/** 发放次数,必须与details的长度一致 */
|
|
9738
|
+
issuance_frequency: number;
|
|
9739
|
+
/** 备注 */
|
|
9740
|
+
remark?: string;
|
|
9741
|
+
/** 所属期开始日期 */
|
|
9742
|
+
reference_period_start_date?: string;
|
|
9743
|
+
/** 所属期结束日期 */
|
|
9744
|
+
reference_period_end_date?: string;
|
|
9745
|
+
/** 发放明细列表 */
|
|
9746
|
+
details: LumpSumPaymentDetailForUpdate[];
|
|
9747
|
+
/** 绑定期带小数 */
|
|
9748
|
+
binding_period_decimal?: string;
|
|
9749
|
+
}
|
|
9750
|
+
export interface LumpSumPaymentOperateResult {
|
|
9751
|
+
/** 操作的记录的 id */
|
|
9752
|
+
id?: string;
|
|
9753
|
+
/** 操作的记录的 unique_id */
|
|
9754
|
+
unique_id?: string;
|
|
9755
|
+
/** 操作结果状态码 */
|
|
9756
|
+
code?: 0 | 21270201 | 21270202 | 21270203 | 21270205 | 21270206 | 21270207 | 21270208 | 21270209 | 21270210 | 21270211 | 21270213 | 21270214 | 21270215 | 21270217 | 21270218 | 21270219 | 21270220 | 21270221 | 21270222 | 21270223 | 21270224 | 21270225 | 21270226 | 21270227 | 21270228 | 21270229 | 21270230 | 21270070;
|
|
9757
|
+
/** 操作结果描述 */
|
|
9758
|
+
message?: string;
|
|
9759
|
+
}
|
|
9078
9760
|
export interface Machine {
|
|
9079
9761
|
/** 考勤机序列号 */
|
|
9080
9762
|
machine_sn: string;
|
|
@@ -9122,7 +9804,13 @@ export interface Mailgroup {
|
|
|
9122
9804
|
include_external_member?: boolean;
|
|
9123
9805
|
/** Value is true if all company members are in this mail group */
|
|
9124
9806
|
include_all_company_member?: boolean;
|
|
9125
|
-
/**
|
|
9807
|
+
/**
|
|
9808
|
+
* Who can send mail to this mail group. Possible values are:
|
|
9809
|
+
* - ANYONE: Any Internet user can send mail to this mail group
|
|
9810
|
+
* - ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group
|
|
9811
|
+
* - ALL_GROUP_MEMBERS: Any group member can send mail to this mail group
|
|
9812
|
+
* - CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
|
|
9813
|
+
*/
|
|
9126
9814
|
who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS';
|
|
9127
9815
|
}
|
|
9128
9816
|
export interface MailgroupManager {
|
|
@@ -9138,7 +9826,16 @@ export interface MailgroupMember {
|
|
|
9138
9826
|
user_id?: string;
|
|
9139
9827
|
/** The member's department id. Value is valid when type is DEPARTMENT */
|
|
9140
9828
|
department_id?: string;
|
|
9141
|
-
/**
|
|
9829
|
+
/**
|
|
9830
|
+
* The type of member. Possible values are:
|
|
9831
|
+
* - USER: internal user in the team
|
|
9832
|
+
* - DEPARTMENT: member is a department
|
|
9833
|
+
* - COMPANY: member is the company
|
|
9834
|
+
* - EXTERNAL_USER: internet user outside the organization
|
|
9835
|
+
* - MAIL_GROUP: member is another mail group
|
|
9836
|
+
* - PUBLIC_MAILBOX: member is a public mailbox
|
|
9837
|
+
* - OTHER_MEMBER: other internal member
|
|
9838
|
+
*/
|
|
9142
9839
|
type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER';
|
|
9143
9840
|
}
|
|
9144
9841
|
export interface MailgroupPermissionMember {
|
|
@@ -9150,7 +9847,11 @@ export interface MailgroupPermissionMember {
|
|
|
9150
9847
|
department_id?: string;
|
|
9151
9848
|
/** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
|
|
9152
9849
|
email?: string;
|
|
9153
|
-
/**
|
|
9850
|
+
/**
|
|
9851
|
+
* The type of member. Possible values are:
|
|
9852
|
+
* - USER: internal user in the team
|
|
9853
|
+
* - DEPARTMENT: member is a department
|
|
9854
|
+
*/
|
|
9154
9855
|
type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX';
|
|
9155
9856
|
}
|
|
9156
9857
|
export interface ManagementScope {
|
|
@@ -9674,9 +10375,49 @@ export interface MetricTemplate {
|
|
|
9674
10375
|
/** 人群分组 */
|
|
9675
10376
|
groups?: MetricGroup[];
|
|
9676
10377
|
}
|
|
9677
|
-
export
|
|
9678
|
-
/**
|
|
9679
|
-
|
|
10378
|
+
export declare const enum MindMapLayout {
|
|
10379
|
+
/** 上下布局 */
|
|
10380
|
+
UpDown = "up_down",
|
|
10381
|
+
/** 左右布局 */
|
|
10382
|
+
LeftRight = "left_right",
|
|
10383
|
+
/** 左树布局 */
|
|
10384
|
+
TreeLeft = "tree_left",
|
|
10385
|
+
/** 右树布局 */
|
|
10386
|
+
TreeRight = "tree_right",
|
|
10387
|
+
/** 左右交替平衡树布局 */
|
|
10388
|
+
TreeBalance = "tree_balance",
|
|
10389
|
+
/** 垂直时间线布局 */
|
|
10390
|
+
VerticalTimeLine = "vertical_time_line",
|
|
10391
|
+
/** 水平时间线布局 */
|
|
10392
|
+
HorizontalTimeLine = "horizontal_time_line"
|
|
10393
|
+
}
|
|
10394
|
+
export interface MindMapNode {
|
|
10395
|
+
/** 思维导图节点的父节点,必须为思维导图节点 */
|
|
10396
|
+
parent_id: string;
|
|
10397
|
+
/** 思维导图节点图形类型 */
|
|
10398
|
+
type?: MindMapType;
|
|
10399
|
+
/** 思维导图节点在兄弟节点中的位置index */
|
|
10400
|
+
z_index?: number;
|
|
10401
|
+
/** 子节点相对根节点的方向(根节点下的子节点设置才生效) */
|
|
10402
|
+
layout_position?: 'left' | 'right' | 'up' | 'down';
|
|
10403
|
+
/** 是否收起子节点 */
|
|
10404
|
+
collapsed?: boolean;
|
|
10405
|
+
}
|
|
10406
|
+
export interface MindMapRoot {
|
|
10407
|
+
/** 思维导图布局方式 */
|
|
10408
|
+
layout?: MindMapLayout;
|
|
10409
|
+
/** 思维导图根节点图形类型 */
|
|
10410
|
+
type?: MindMapType;
|
|
10411
|
+
/** 思维导图图形连接线样式 */
|
|
10412
|
+
line_style?: 'curve' | 'right_angle' | 'round_angle';
|
|
10413
|
+
}
|
|
10414
|
+
export declare const enum MindMapType {
|
|
10415
|
+
/** 思维导图文本节点类型 */
|
|
10416
|
+
MindMapText = "mind_map_text",
|
|
10417
|
+
/** 思维导图全圆角矩形节点类型 */
|
|
10418
|
+
MindMapFullRoundRect = "mind_map_full_round_rect",
|
|
10419
|
+
/** 思维导图矩形节点类型 */
|
|
10420
|
+
MindMapRoundRect = "mind_map_round_rect"
|
|
9680
10421
|
}
|
|
9681
10422
|
export interface Mindnote {
|
|
9682
10423
|
/** 思维导图 token */
|
|
@@ -9815,7 +10556,7 @@ export interface NationalIdType {
|
|
|
9815
10556
|
custom_fields?: ObjectFieldData[];
|
|
9816
10557
|
}
|
|
9817
10558
|
export interface Nationality {
|
|
9818
|
-
/** 国籍 ID,对应[搜索员工信息](/
|
|
10559
|
+
/** 国籍 ID,对应[搜索员工信息](https://open.feishu.cn/document/server-docs/corehr-v1/employee/search)等接口返回的 `nationality_id_v2` 字段 */
|
|
9819
10560
|
nationality_id?: string;
|
|
9820
10561
|
/** 名称 */
|
|
9821
10562
|
name?: I18n[];
|
|
@@ -9825,7 +10566,7 @@ export interface Nationality {
|
|
|
9825
10566
|
alpha_3_code?: string;
|
|
9826
10567
|
/** 数字代码 */
|
|
9827
10568
|
numeric_code?: number;
|
|
9828
|
-
/** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](/
|
|
10569
|
+
/** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
|
|
9829
10570
|
country_region_id?: string;
|
|
9830
10571
|
/** 状态 */
|
|
9831
10572
|
status?: 1 | 0;
|
|
@@ -9849,9 +10590,9 @@ export interface NavigateMeta {
|
|
|
9849
10590
|
hover_image_url?: string;
|
|
9850
10591
|
}
|
|
9851
10592
|
export interface Node {
|
|
9852
|
-
/** 知识空间id,[获取方式](/
|
|
10593
|
+
/** 知识空间id,[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) */
|
|
9853
10594
|
space_id?: string;
|
|
9854
|
-
/** 节点token,[获取方式](/
|
|
10595
|
+
/** 节点token,[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) */
|
|
9855
10596
|
node_token?: string;
|
|
9856
10597
|
/** 对应文档类型的token,可根据 obj_type 判断属于哪种文档类型。 */
|
|
9857
10598
|
obj_token?: string;
|
|
@@ -10278,6 +11019,18 @@ export interface OfferApplyFormSchema {
|
|
|
10278
11019
|
/** 模块列表 */
|
|
10279
11020
|
module_list?: OfferApplyFormModuleInfo[];
|
|
10280
11021
|
}
|
|
11022
|
+
export interface OfferApprovalTemplate {
|
|
11023
|
+
/** ID */
|
|
11024
|
+
id?: string;
|
|
11025
|
+
/** 名称 */
|
|
11026
|
+
name?: I18n;
|
|
11027
|
+
/** 创建时间 */
|
|
11028
|
+
create_time?: string;
|
|
11029
|
+
/** 备注 */
|
|
11030
|
+
remark?: string;
|
|
11031
|
+
/** 适用部门 */
|
|
11032
|
+
department_list?: Department[];
|
|
11033
|
+
}
|
|
10281
11034
|
export interface OfferAttachmentInfo {
|
|
10282
11035
|
/** Offer 附件 ID */
|
|
10283
11036
|
id?: string;
|
|
@@ -11063,6 +11816,22 @@ export interface PageResponse {
|
|
|
11063
11816
|
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
11064
11817
|
page_token?: string;
|
|
11065
11818
|
}
|
|
11819
|
+
export interface Paint {
|
|
11820
|
+
/** 画笔类型 */
|
|
11821
|
+
type?: PaintType;
|
|
11822
|
+
/** 画板线段,由系列坐标点表示 */
|
|
11823
|
+
lines?: Point[];
|
|
11824
|
+
/** 画笔粗细,单位px */
|
|
11825
|
+
width?: number;
|
|
11826
|
+
/** 画笔颜色 */
|
|
11827
|
+
color?: string;
|
|
11828
|
+
}
|
|
11829
|
+
export declare const enum PaintType {
|
|
11830
|
+
/** 马克笔 */
|
|
11831
|
+
Marker = "marker",
|
|
11832
|
+
/** 高亮笔 */
|
|
11833
|
+
Highlight = "highlight"
|
|
11834
|
+
}
|
|
11066
11835
|
export interface Participant {
|
|
11067
11836
|
/** 参会者 */
|
|
11068
11837
|
participant_name?: string;
|
|
@@ -11153,6 +11922,18 @@ export interface PatchTagFailReason {
|
|
|
11153
11922
|
/** 名称重复的标签id */
|
|
11154
11923
|
duplicate_id?: string;
|
|
11155
11924
|
}
|
|
11925
|
+
export interface Pathway {
|
|
11926
|
+
/** 通道 ID */
|
|
11927
|
+
pathway_id?: string;
|
|
11928
|
+
/** 编码 */
|
|
11929
|
+
code?: string;
|
|
11930
|
+
/** 名称 */
|
|
11931
|
+
names?: I18n[];
|
|
11932
|
+
/** 描述 */
|
|
11933
|
+
descriptions?: I18n[];
|
|
11934
|
+
/** 启用 */
|
|
11935
|
+
active?: boolean;
|
|
11936
|
+
}
|
|
11156
11937
|
export interface Paygroup {
|
|
11157
11938
|
/** 薪资组ID */
|
|
11158
11939
|
pay_group_id: string;
|
|
@@ -11416,15 +12197,28 @@ export interface PersonName {
|
|
|
11416
12197
|
local_primary?: string;
|
|
11417
12198
|
/** 名 - 本地文字 */
|
|
11418
12199
|
local_first_name?: string;
|
|
11419
|
-
/**
|
|
12200
|
+
/**
|
|
12201
|
+
* 国家 / 地区
|
|
12202
|
+
* - 详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得
|
|
12203
|
+
*/
|
|
11420
12204
|
country_region_id: string;
|
|
11421
|
-
/**
|
|
12205
|
+
/**
|
|
12206
|
+
* 姓名类型
|
|
12207
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12208
|
+
* - object_api_name:person_name
|
|
12209
|
+
* - custom_api_name:name_type
|
|
12210
|
+
*/
|
|
11422
12211
|
name_type: Enum;
|
|
11423
12212
|
/** 名 - 第二本地文字 */
|
|
11424
12213
|
local_first_name_2?: string;
|
|
11425
12214
|
/** 姓 - 第二本地文字 */
|
|
11426
12215
|
local_primary_2?: string;
|
|
11427
|
-
/**
|
|
12216
|
+
/**
|
|
12217
|
+
* 补充姓名类型
|
|
12218
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12219
|
+
* - object_api_name:person_name
|
|
12220
|
+
* - custom_api_name:additional_name_type
|
|
12221
|
+
*/
|
|
11428
12222
|
additional_name_type?: Enum;
|
|
11429
12223
|
/** 名 */
|
|
11430
12224
|
first_name?: string;
|
|
@@ -11444,9 +12238,19 @@ export interface PersonName {
|
|
|
11444
12238
|
secondary?: string;
|
|
11445
12239
|
/** 婚后姓氏 */
|
|
11446
12240
|
tertiary?: string;
|
|
11447
|
-
/**
|
|
12241
|
+
/**
|
|
12242
|
+
* 尊称
|
|
12243
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12244
|
+
* - object_api_name:person_name
|
|
12245
|
+
* - custom_api_name:social
|
|
12246
|
+
*/
|
|
11448
12247
|
social?: Enum;
|
|
11449
|
-
/**
|
|
12248
|
+
/**
|
|
12249
|
+
* 头衔
|
|
12250
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12251
|
+
* - object_api_name:person_name
|
|
12252
|
+
* - custom_api_name:title
|
|
12253
|
+
*/
|
|
11450
12254
|
title?: Enum;
|
|
11451
12255
|
/** 本地中间名 */
|
|
11452
12256
|
local_middle_name?: string;
|
|
@@ -11487,6 +12291,16 @@ export interface Phrase {
|
|
|
11487
12291
|
/** 实体词所在位置 */
|
|
11488
12292
|
span: Span;
|
|
11489
12293
|
}
|
|
12294
|
+
export interface Pie {
|
|
12295
|
+
/** 开始径向边角度,水平向右x轴正方向为0度,顺时针方向角度值递增 */
|
|
12296
|
+
start_radial_line_angle: number;
|
|
12297
|
+
/** 圆心角角度,角度方向为始径向边逆时针方向 */
|
|
12298
|
+
central_angle: number;
|
|
12299
|
+
/** 半径长度 */
|
|
12300
|
+
radius: number;
|
|
12301
|
+
/** 扇区占比,0为一个圆周线,1为一个圆盘 */
|
|
12302
|
+
sector_ratio?: number;
|
|
12303
|
+
}
|
|
11490
12304
|
export interface Pin {
|
|
11491
12305
|
/** Pin的消息ID */
|
|
11492
12306
|
message_id: string;
|
|
@@ -11573,6 +12387,12 @@ export interface PlusMenu {
|
|
|
11573
12387
|
/** 移动端链接 */
|
|
11574
12388
|
mobile_app_link?: string;
|
|
11575
12389
|
}
|
|
12390
|
+
export interface Point {
|
|
12391
|
+
/** 点位置x坐标 */
|
|
12392
|
+
x?: number;
|
|
12393
|
+
/** 点位置y坐标 */
|
|
12394
|
+
y?: number;
|
|
12395
|
+
}
|
|
11576
12396
|
export interface PortalJobPost {
|
|
11577
12397
|
/** 职位广告 ID */
|
|
11578
12398
|
id?: string;
|
|
@@ -11629,6 +12449,134 @@ export interface PortalJobPost {
|
|
|
11629
12449
|
/** 职位广告地址列表 */
|
|
11630
12450
|
address_list?: CommonAddress[];
|
|
11631
12451
|
}
|
|
12452
|
+
export interface Position {
|
|
12453
|
+
/** 岗位 ID */
|
|
12454
|
+
position_id?: string;
|
|
12455
|
+
/** 编码 */
|
|
12456
|
+
code?: string;
|
|
12457
|
+
/** 名称 */
|
|
12458
|
+
names?: I18n[];
|
|
12459
|
+
/** 描述 */
|
|
12460
|
+
descriptions?: I18n[];
|
|
12461
|
+
/** 状态 */
|
|
12462
|
+
active: boolean;
|
|
12463
|
+
/** 序列 */
|
|
12464
|
+
job_family_id_list?: string[];
|
|
12465
|
+
/** 成本中心 */
|
|
12466
|
+
cost_center_id?: string;
|
|
12467
|
+
/** 职务 */
|
|
12468
|
+
job_id?: string;
|
|
12469
|
+
/** 职级 */
|
|
12470
|
+
job_level_id_list?: string[];
|
|
12471
|
+
/** 人员类型 */
|
|
12472
|
+
employee_type_id_list?: string[];
|
|
12473
|
+
/** 职等 */
|
|
12474
|
+
job_grade_id_list?: string[];
|
|
12475
|
+
/** 工作地点 */
|
|
12476
|
+
work_location_id_list?: string[];
|
|
12477
|
+
/** 工时制度 */
|
|
12478
|
+
working_hours_type_id?: string;
|
|
12479
|
+
/** 部门 */
|
|
12480
|
+
department_id: string;
|
|
12481
|
+
/** 直属上级岗位 */
|
|
12482
|
+
direct_leader_id?: string;
|
|
12483
|
+
/** 虚线上级岗位 */
|
|
12484
|
+
dotted_line_leader_id?: string;
|
|
12485
|
+
/** 是否关键岗位 */
|
|
12486
|
+
is_key_position?: boolean;
|
|
12487
|
+
/** 生效日期 */
|
|
12488
|
+
effective_time: string;
|
|
12489
|
+
/** 失效日期 */
|
|
12490
|
+
expiration_time: string;
|
|
12491
|
+
/** 自定义字段 */
|
|
12492
|
+
custom_fields?: CustomFieldData[];
|
|
12493
|
+
/** 创建人 */
|
|
12494
|
+
created_by?: string;
|
|
12495
|
+
}
|
|
12496
|
+
export interface PositionAdjustmentInfo {
|
|
12497
|
+
/** 原序列 ID */
|
|
12498
|
+
original_job_families?: string[];
|
|
12499
|
+
/** 新序列 ID */
|
|
12500
|
+
target_job_families?: string[];
|
|
12501
|
+
/** 原所属部门 ID */
|
|
12502
|
+
original_department?: string;
|
|
12503
|
+
/** 新所属部门 ID */
|
|
12504
|
+
target_department?: string;
|
|
12505
|
+
/** 新所属部门 ID,新建部门审批完成前会返回 td_xxx 的临时 ID */
|
|
12506
|
+
target_draft_department?: string;
|
|
12507
|
+
/** 原岗位默认成本中心 ID */
|
|
12508
|
+
original_cost_center?: string;
|
|
12509
|
+
/** 新岗位默认成本中心 ID */
|
|
12510
|
+
target_cost_center?: string;
|
|
12511
|
+
/** 原工时制度 ID */
|
|
12512
|
+
original_working_hours_type?: string;
|
|
12513
|
+
/** 新工时制度 ID */
|
|
12514
|
+
target_working_hours_type?: string;
|
|
12515
|
+
/** 原职务 ID */
|
|
12516
|
+
original_job?: string;
|
|
12517
|
+
/** 新职务 ID */
|
|
12518
|
+
target_job?: string;
|
|
12519
|
+
/** 原是否关键岗位 */
|
|
12520
|
+
original_is_key_position?: boolean;
|
|
12521
|
+
/** 新是否关键岗位 */
|
|
12522
|
+
target_is_key_position?: boolean;
|
|
12523
|
+
/** 原人员类型 ID */
|
|
12524
|
+
original_employee_types?: string[];
|
|
12525
|
+
/** 新人员类型 ID */
|
|
12526
|
+
target_employee_types?: string[];
|
|
12527
|
+
/** 原名称 */
|
|
12528
|
+
original_names?: I18n[];
|
|
12529
|
+
/** 新名称 */
|
|
12530
|
+
target_names?: I18n[];
|
|
12531
|
+
/** 原职等 ID */
|
|
12532
|
+
original_job_grades?: string[];
|
|
12533
|
+
/** 新职等 ID */
|
|
12534
|
+
target_job_grades?: string[];
|
|
12535
|
+
/** 原编码 */
|
|
12536
|
+
original_code?: string;
|
|
12537
|
+
/** 新编码 */
|
|
12538
|
+
target_code?: string;
|
|
12539
|
+
/** 原职级 ID */
|
|
12540
|
+
original_job_levels?: string[];
|
|
12541
|
+
/** 新职级 ID */
|
|
12542
|
+
target_job_levels?: string[];
|
|
12543
|
+
/** 原状态 */
|
|
12544
|
+
original_active?: boolean;
|
|
12545
|
+
/** 新状态 */
|
|
12546
|
+
target_active?: boolean;
|
|
12547
|
+
/** 原直线上级(岗位) ID */
|
|
12548
|
+
original_direct_leader?: string;
|
|
12549
|
+
/** 新直线上级(岗位) ID */
|
|
12550
|
+
target_direct_leader?: string;
|
|
12551
|
+
/** 新直线上级(岗位) ID,新建岗位审批完成前会返回 td_xxx 的临时 ID */
|
|
12552
|
+
target_draft_direct_leader?: string;
|
|
12553
|
+
/** 原工作地点 ID */
|
|
12554
|
+
original_work_locations?: string[];
|
|
12555
|
+
/** 新工作地点 ID */
|
|
12556
|
+
target_work_locations?: string[];
|
|
12557
|
+
/** 原描述 */
|
|
12558
|
+
original_descriptions?: I18n[];
|
|
12559
|
+
/** 新描述 */
|
|
12560
|
+
target_descriptions?: I18n[];
|
|
12561
|
+
/** 原部门全路径,从根部门开始自上而下返回部门 ID 列表 */
|
|
12562
|
+
original_department_id_paths?: OrgdraftDepartmentId[];
|
|
12563
|
+
/** 新部门全路径,从根部门开始自上而下返回部门 ID 列表 */
|
|
12564
|
+
target_department_id_paths?: OrgdraftDepartmentId[];
|
|
12565
|
+
/** 自定义字段 */
|
|
12566
|
+
custom_fields?: ChangeFieldPair[];
|
|
12567
|
+
}
|
|
12568
|
+
export interface PositionChange {
|
|
12569
|
+
/** 岗位调整记录 ID */
|
|
12570
|
+
position_change_id?: string;
|
|
12571
|
+
/** 岗位 ID */
|
|
12572
|
+
position_id?: string;
|
|
12573
|
+
/** 调整过程岗位 ID 。对于在本次调整中新建的岗位,在调整未生效前会返回格式为 td_xxx 的过程岗位 ID,生效后将返回正式的岗位 ID */
|
|
12574
|
+
draft_position_id?: string;
|
|
12575
|
+
/** 调整类型 */
|
|
12576
|
+
position_change_type?: 'Unknown' | 'Create' | 'Modify' | 'Inactive';
|
|
12577
|
+
/** 调整详细信息 */
|
|
12578
|
+
position_adjustment_info?: PositionAdjustmentInfo;
|
|
12579
|
+
}
|
|
11632
12580
|
export interface Post {
|
|
11633
12581
|
/** 发帖用户ID */
|
|
11634
12582
|
user_id?: string;
|
|
@@ -11868,21 +12816,46 @@ export interface PreHireQuery {
|
|
|
11868
12816
|
department_id?: string;
|
|
11869
12817
|
}
|
|
11870
12818
|
export interface PrehireSeniorityAdjustInformation {
|
|
11871
|
-
/**
|
|
12819
|
+
/**
|
|
12820
|
+
* 调整值
|
|
12821
|
+
* - 精确度:两位小数
|
|
12822
|
+
* - 单位:年
|
|
12823
|
+
* - 自动计算逻辑:如果这个值为空,司龄调整的开始日期和结束日期均不为空,会自动计算出调整值
|
|
12824
|
+
*/
|
|
11872
12825
|
seniority_adjustment?: number;
|
|
11873
|
-
/**
|
|
12826
|
+
/**
|
|
12827
|
+
* 调整类型
|
|
12828
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12829
|
+
* - object_api_name:seniority_adjust_information
|
|
12830
|
+
* - custom_api_name:seniority_adjustment_type
|
|
12831
|
+
*/
|
|
11874
12832
|
seniority_adjustment_type: 'decrease' | 'increase';
|
|
11875
12833
|
/** 司龄调整原因 */
|
|
11876
12834
|
reasons_for_seniority_adjustment?: string;
|
|
11877
|
-
/**
|
|
12835
|
+
/**
|
|
12836
|
+
* 开始日期
|
|
12837
|
+
* - 格式: yyyy-mm-dd
|
|
12838
|
+
*/
|
|
11878
12839
|
start_date?: string;
|
|
11879
|
-
/**
|
|
12840
|
+
/**
|
|
12841
|
+
* 结束日期
|
|
12842
|
+
* - 格式: yyyy-mm-dd
|
|
12843
|
+
*/
|
|
11880
12844
|
end_date?: string;
|
|
11881
12845
|
}
|
|
11882
12846
|
export interface PrehireSeniorityAdjustInformationQuery {
|
|
11883
|
-
/**
|
|
12847
|
+
/**
|
|
12848
|
+
* 调整值
|
|
12849
|
+
* - 精确度:两位小数
|
|
12850
|
+
* - 单位:年
|
|
12851
|
+
*/
|
|
11884
12852
|
seniority_adjustment?: number;
|
|
11885
|
-
/**
|
|
12853
|
+
/**
|
|
12854
|
+
* 调整类型
|
|
12855
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12856
|
+
* - object_api_name:seniority_adjust_information
|
|
12857
|
+
* - custom_api_name:seniority_adjustment_type
|
|
12858
|
+
*/
|
|
11886
12859
|
seniority_adjustment_type?: Enum;
|
|
11887
12860
|
/** 司龄调整原因 */
|
|
11888
12861
|
reasons_for_seniority_adjustment?: string;
|
|
@@ -11894,15 +12867,31 @@ export interface PrehireSeniorityAdjustInformationQuery {
|
|
|
11894
12867
|
custom_fields?: CustomFieldData[];
|
|
11895
12868
|
}
|
|
11896
12869
|
export interface PrehireSeniorityAdjustInformationUpdate {
|
|
11897
|
-
/**
|
|
12870
|
+
/**
|
|
12871
|
+
* 调整值
|
|
12872
|
+
* - 精确度:两位小数
|
|
12873
|
+
* - 单位:年
|
|
12874
|
+
* - 自动计算逻辑:如果这个值为空,司龄调整的开始日期和结束日期均不为空,会自动计算出调整值
|
|
12875
|
+
*/
|
|
11898
12876
|
seniority_adjustment?: number;
|
|
11899
|
-
/**
|
|
12877
|
+
/**
|
|
12878
|
+
* 调整类型
|
|
12879
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
12880
|
+
* - object_api_name:seniority_adjust_information
|
|
12881
|
+
* - custom_api_name:seniority_adjustment_type
|
|
12882
|
+
*/
|
|
11900
12883
|
seniority_adjustment_type: 'decrease' | 'increase';
|
|
11901
12884
|
/** 司龄调整原因 */
|
|
11902
12885
|
reasons_for_seniority_adjustment?: string;
|
|
11903
|
-
/**
|
|
12886
|
+
/**
|
|
12887
|
+
* 开始日期
|
|
12888
|
+
* - 格式: yyyy-mm-dd
|
|
12889
|
+
*/
|
|
11904
12890
|
start_date?: string;
|
|
11905
|
-
/**
|
|
12891
|
+
/**
|
|
12892
|
+
* 结束日期
|
|
12893
|
+
* - 格式: yyyy-mm-dd
|
|
12894
|
+
*/
|
|
11906
12895
|
end_date?: string;
|
|
11907
12896
|
}
|
|
11908
12897
|
export interface PreviewNode {
|
|
@@ -12085,6 +13074,12 @@ export interface ProcessFormVariableV2 {
|
|
|
12085
13074
|
/** 在list_values和record_values中引用的变量 */
|
|
12086
13075
|
sub_values?: FieldVariableSubVlaueForReview[];
|
|
12087
13076
|
}
|
|
13077
|
+
export interface ProcessInfo {
|
|
13078
|
+
/** 组织架构调整流程 ID */
|
|
13079
|
+
process_id?: string;
|
|
13080
|
+
/** 组织架构调整流程状态 */
|
|
13081
|
+
approval_group_status?: '0' | '1' | '2' | '3' | '4' | '5';
|
|
13082
|
+
}
|
|
12088
13083
|
export interface ProcessLink {
|
|
12089
13084
|
/** web端单据详情页地址 */
|
|
12090
13085
|
web_link?: string;
|
|
@@ -12656,7 +13651,10 @@ export interface PublicMailboxMember {
|
|
|
12656
13651
|
member_id?: string;
|
|
12657
13652
|
/** The member's user id. Value is valid when type is USER */
|
|
12658
13653
|
user_id?: string;
|
|
12659
|
-
/**
|
|
13654
|
+
/**
|
|
13655
|
+
* The type of member. Possible values are:
|
|
13656
|
+
* - USER: internal user in the team
|
|
13657
|
+
*/
|
|
12660
13658
|
type?: 'USER';
|
|
12661
13659
|
}
|
|
12662
13660
|
export interface PunchMember {
|
|
@@ -12926,6 +13924,84 @@ export interface RecRuleCondition {
|
|
|
12926
13924
|
/** 单选或多选字段的选项id */
|
|
12927
13925
|
values?: string[];
|
|
12928
13926
|
}
|
|
13927
|
+
export interface RecurringPayment {
|
|
13928
|
+
/** 经常性支付记录id */
|
|
13929
|
+
id?: string;
|
|
13930
|
+
/** 外部幂等id,由上游业务决定 */
|
|
13931
|
+
unique_id?: string;
|
|
13932
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
13933
|
+
user_id?: string;
|
|
13934
|
+
/** 薪酬项id */
|
|
13935
|
+
item_id?: string;
|
|
13936
|
+
/** 发放方式 */
|
|
13937
|
+
issuance_type?: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus';
|
|
13938
|
+
/** 单次发放金额 */
|
|
13939
|
+
each_amount?: string;
|
|
13940
|
+
/** 发放开始日期 */
|
|
13941
|
+
start_date?: string;
|
|
13942
|
+
/** 发放结束日期 */
|
|
13943
|
+
end_date?: string;
|
|
13944
|
+
/** 发放频率 */
|
|
13945
|
+
issuance_period?: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour';
|
|
13946
|
+
/** 币种id */
|
|
13947
|
+
currency_id?: string;
|
|
13948
|
+
/** 备注 */
|
|
13949
|
+
remark?: string;
|
|
13950
|
+
/** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
13951
|
+
issuance_country_region_id?: string;
|
|
13952
|
+
}
|
|
13953
|
+
export interface RecurringPaymentForCreate {
|
|
13954
|
+
/** 外部幂等id,由上游业务决定 */
|
|
13955
|
+
unique_id: string;
|
|
13956
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
13957
|
+
user_id: string;
|
|
13958
|
+
/** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
|
|
13959
|
+
item_id: string;
|
|
13960
|
+
/** 每次发放金额 */
|
|
13961
|
+
each_amount: string;
|
|
13962
|
+
/** 发放开始时间 */
|
|
13963
|
+
start_date: string;
|
|
13964
|
+
/** 发放结束时间 */
|
|
13965
|
+
end_date: string;
|
|
13966
|
+
/** 币种id */
|
|
13967
|
+
currency_id: string;
|
|
13968
|
+
/** 发放方式 */
|
|
13969
|
+
issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus';
|
|
13970
|
+
/** 发放频率 */
|
|
13971
|
+
issuance_period: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour';
|
|
13972
|
+
/** 备注 */
|
|
13973
|
+
remark?: string;
|
|
13974
|
+
/** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
13975
|
+
issuance_country_region_id?: string;
|
|
13976
|
+
}
|
|
13977
|
+
export interface RecurringPaymentForUpdate {
|
|
13978
|
+
/** 经常性支付记录id */
|
|
13979
|
+
id: string;
|
|
13980
|
+
/** 每次发放金额 */
|
|
13981
|
+
each_amount: string;
|
|
13982
|
+
/** 发放开始时间 */
|
|
13983
|
+
start_date: string;
|
|
13984
|
+
/** 发放结束时间 */
|
|
13985
|
+
end_date: string;
|
|
13986
|
+
/** 币种id */
|
|
13987
|
+
currency_id: string;
|
|
13988
|
+
/** 发放方式 */
|
|
13989
|
+
issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus';
|
|
13990
|
+
/** 原因 */
|
|
13991
|
+
remark?: string;
|
|
13992
|
+
/** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
13993
|
+
issuance_country_region_id?: string;
|
|
13994
|
+
}
|
|
13995
|
+
export interface RecurringPaymentOperateResult {
|
|
13996
|
+
/** 操作记录的id */
|
|
13997
|
+
id?: string;
|
|
13998
|
+
/** 操作的记录的 unique_id */
|
|
13999
|
+
unique_id?: string;
|
|
14000
|
+
/** 操作结果状态码 */
|
|
14001
|
+
code?: 0 | 21280001 | 21280002 | 21280003 | 21270304 | 21270305 | 21270306 | 21270307 | 21270308 | 21270309 | 21270310 | 21270311 | 21270312 | 21270313 | 21270314 | 21270315 | 21270316 | 21270317 | 21270318;
|
|
14002
|
+
/** 操作结果描述 */
|
|
14003
|
+
message?: string;
|
|
14004
|
+
}
|
|
12929
14005
|
export interface ReferenceObject {
|
|
12930
14006
|
/** cpst_item(项目)、 cpst_indicator(指标) */
|
|
12931
14007
|
api_name?: 'cpst_item' | 'cpst_indicator';
|
|
@@ -14305,17 +15381,35 @@ export interface Sender {
|
|
|
14305
15381
|
tenant_key?: string;
|
|
14306
15382
|
}
|
|
14307
15383
|
export interface SeniorityAdjustInformationEdit {
|
|
14308
|
-
/**
|
|
15384
|
+
/**
|
|
15385
|
+
* 调整类型
|
|
15386
|
+
* - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
|
|
15387
|
+
* - object_api_name:seniority_adjust_information
|
|
15388
|
+
* - custom_api_name:seniority_adjustment_type
|
|
15389
|
+
*/
|
|
14309
15390
|
seniority_adjustment_type: 'increase' | 'decrease';
|
|
14310
|
-
/**
|
|
15391
|
+
/**
|
|
15392
|
+
* 开始日期
|
|
15393
|
+
* - 格式: yyyy-mm-dd
|
|
15394
|
+
*/
|
|
14311
15395
|
start_date?: string;
|
|
14312
|
-
/**
|
|
15396
|
+
/**
|
|
15397
|
+
* 结束日期
|
|
15398
|
+
* - 格式: yyyy-mm-dd
|
|
15399
|
+
*/
|
|
14313
15400
|
end_date?: string;
|
|
14314
15401
|
/** 调整原因 */
|
|
14315
15402
|
reasons_for_seniority_adjustment?: string;
|
|
14316
|
-
/**
|
|
15403
|
+
/**
|
|
15404
|
+
* 调整值
|
|
15405
|
+
* - 精确度:两位小数
|
|
15406
|
+
* - 单位:年
|
|
15407
|
+
*/
|
|
14317
15408
|
seniority_adjustment: number;
|
|
14318
|
-
/**
|
|
15409
|
+
/**
|
|
15410
|
+
* 自定义字段
|
|
15411
|
+
* - 具体支持的对象请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
|
|
15412
|
+
*/
|
|
14319
15413
|
custom_fields?: ProfileSettingCustomField[];
|
|
14320
15414
|
}
|
|
14321
15415
|
export interface Sentence {
|
|
@@ -14448,6 +15542,266 @@ export interface SignatureAttachment {
|
|
|
14448
15542
|
/** 文件模板类型名称 */
|
|
14449
15543
|
file_template_type_name?: string;
|
|
14450
15544
|
}
|
|
15545
|
+
export interface SignatureEnumInfoLabel {
|
|
15546
|
+
/** zh-CN */
|
|
15547
|
+
zh?: string;
|
|
15548
|
+
/** en-US */
|
|
15549
|
+
en?: string;
|
|
15550
|
+
}
|
|
15551
|
+
export interface SignatureFile {
|
|
15552
|
+
/** 电子签文件ID */
|
|
15553
|
+
signature_file_id: string;
|
|
15554
|
+
/** 名称 */
|
|
15555
|
+
names?: I18n[];
|
|
15556
|
+
/** 创建时间 */
|
|
15557
|
+
create_time?: string;
|
|
15558
|
+
/** 更新时间 */
|
|
15559
|
+
update_time?: string;
|
|
15560
|
+
/** 雇员 id */
|
|
15561
|
+
employment_id?: string;
|
|
15562
|
+
/** 待入职 id */
|
|
15563
|
+
pre_hire_id?: string;
|
|
15564
|
+
/** 电子签文件状态,枚举值可通过文档【飞书人事枚举常量】电子签文件状态(signature_file_state)枚举定义部分获得 */
|
|
15565
|
+
signature_file_state?: Enum;
|
|
15566
|
+
/** 供应商侧的合同编号,作为幂等key */
|
|
15567
|
+
contract_code?: string;
|
|
15568
|
+
/** 电子签文件生效日期 */
|
|
15569
|
+
effective_date?: string;
|
|
15570
|
+
/** 电子签模板ID */
|
|
15571
|
+
template_id?: string;
|
|
15572
|
+
/** 签署链接 */
|
|
15573
|
+
sign_url?: string;
|
|
15574
|
+
}
|
|
15575
|
+
export interface SignatureMetaInfo {
|
|
15576
|
+
/** 元数据api_name */
|
|
15577
|
+
api_name?: string;
|
|
15578
|
+
/** wukong id */
|
|
15579
|
+
wk_id?: string;
|
|
15580
|
+
/** 多语描述 */
|
|
15581
|
+
label?: I18n[];
|
|
15582
|
+
}
|
|
15583
|
+
export interface SignatureNode {
|
|
15584
|
+
/** 电子签节点列表 */
|
|
15585
|
+
user_infos?: SignatureUserInfo[];
|
|
15586
|
+
/** 电子签文件节点状态 */
|
|
15587
|
+
state: string;
|
|
15588
|
+
/** 节点完成时间 */
|
|
15589
|
+
finish_time?: string;
|
|
15590
|
+
/** 节点最近更新时间 */
|
|
15591
|
+
updated_time?: string;
|
|
15592
|
+
/** 当前节点是否为正在处理的节点 */
|
|
15593
|
+
is_ongoing: boolean;
|
|
15594
|
+
/** 当前操作节点的角色名称 */
|
|
15595
|
+
role_label: SignatureEnumInfoLabel;
|
|
15596
|
+
/** 签署角色 */
|
|
15597
|
+
sign_role?: string;
|
|
15598
|
+
}
|
|
15599
|
+
export interface SignatureSignatoryLabel {
|
|
15600
|
+
/** 电子签模板签订人类型 */
|
|
15601
|
+
template_signatory_type: Enum;
|
|
15602
|
+
/** 中英文描述 */
|
|
15603
|
+
label: I18n[];
|
|
15604
|
+
/** 主数据apiname */
|
|
15605
|
+
apiname?: string;
|
|
15606
|
+
}
|
|
15607
|
+
export interface SignatureTemplate {
|
|
15608
|
+
/** 电子签模板id */
|
|
15609
|
+
id?: string;
|
|
15610
|
+
/** 简略信息 */
|
|
15611
|
+
brief_info?: SignatureTemplateBriefInfo;
|
|
15612
|
+
/** 模板内容信息 */
|
|
15613
|
+
content_info?: SignatureTemplateContentInfo;
|
|
15614
|
+
}
|
|
15615
|
+
export interface SignatureTemplateBriefInfo {
|
|
15616
|
+
/** id */
|
|
15617
|
+
id?: string;
|
|
15618
|
+
/** 名称 支持多语 */
|
|
15619
|
+
label?: I18n[];
|
|
15620
|
+
/** 模版类别 */
|
|
15621
|
+
category?: Enum;
|
|
15622
|
+
/** 模版用法 */
|
|
15623
|
+
usage?: Enum;
|
|
15624
|
+
/** 模版签署人标签 */
|
|
15625
|
+
signatory_labels?: SignatureSignatoryLabel[];
|
|
15626
|
+
/** 是否激活 */
|
|
15627
|
+
active?: boolean;
|
|
15628
|
+
/** 创建人 */
|
|
15629
|
+
create_by?: string;
|
|
15630
|
+
/** 修改人 */
|
|
15631
|
+
modify_by?: string;
|
|
15632
|
+
/** 适用范围 */
|
|
15633
|
+
applicability?: Enum;
|
|
15634
|
+
/** 创建方法 */
|
|
15635
|
+
creation_method?: string;
|
|
15636
|
+
/** 版本 */
|
|
15637
|
+
version?: string;
|
|
15638
|
+
/** 更新时间 */
|
|
15639
|
+
update_time?: string;
|
|
15640
|
+
/** 创建时间 */
|
|
15641
|
+
create_time?: string;
|
|
15642
|
+
/** 模板设置,包含开启骑缝章的类型等 */
|
|
15643
|
+
template_setting?: SignatureTemplateSetting;
|
|
15644
|
+
/** 模板适用区域 */
|
|
15645
|
+
template_region_info?: SignatureTemplateRegionInfo;
|
|
15646
|
+
/** 模板编码 */
|
|
15647
|
+
template_code?: string;
|
|
15648
|
+
/** 模板描述 支持多语 */
|
|
15649
|
+
template_desc?: I18n[];
|
|
15650
|
+
}
|
|
15651
|
+
export interface SignatureTemplateCombinationFieldInfo {
|
|
15652
|
+
/** total_apiname */
|
|
15653
|
+
total_apiname: string;
|
|
15654
|
+
/** apiname */
|
|
15655
|
+
apiname: string;
|
|
15656
|
+
/** 中英文描述 */
|
|
15657
|
+
title: I18n[];
|
|
15658
|
+
/** 适用区域名称 */
|
|
15659
|
+
contents?: SignatureTemplateCombinationSubFieldInfo[][];
|
|
15660
|
+
/** 电子签模板字段源类型 */
|
|
15661
|
+
source: Enum;
|
|
15662
|
+
}
|
|
15663
|
+
export interface SignatureTemplateCombinationFieldInfoV2 {
|
|
15664
|
+
/** total_apiname */
|
|
15665
|
+
total_apiname: string;
|
|
15666
|
+
/** apiname */
|
|
15667
|
+
apiname: string;
|
|
15668
|
+
/** 电子签模板字段源类型 */
|
|
15669
|
+
source?: Enum;
|
|
15670
|
+
}
|
|
15671
|
+
export interface SignatureTemplateCombinationSubFieldInfo {
|
|
15672
|
+
/** 字段类型枚举 */
|
|
15673
|
+
field_type: Enum;
|
|
15674
|
+
/** 公共字段信息 */
|
|
15675
|
+
info?: SignatureTemplateCommonFieldInfo;
|
|
15676
|
+
/** 双语描述 */
|
|
15677
|
+
label?: I18n[];
|
|
15678
|
+
}
|
|
15679
|
+
export interface SignatureTemplateCommonFieldInfo {
|
|
15680
|
+
/** 模板字段源类型;枚举值填到enum_name中,如:"System" "MainData" */
|
|
15681
|
+
source: Enum;
|
|
15682
|
+
/** 主数据apiname */
|
|
15683
|
+
apiname: string;
|
|
15684
|
+
}
|
|
15685
|
+
export interface SignatureTemplateContentInfo {
|
|
15686
|
+
/** 模版内容list */
|
|
15687
|
+
contents?: SignatureTemplateContentItem[];
|
|
15688
|
+
/** 自定义字段列表 */
|
|
15689
|
+
custom_fields?: SignatureTemplateCustomField[];
|
|
15690
|
+
/** 筛选条件列表 */
|
|
15691
|
+
filter_fields?: SignatureTemplateFilter[];
|
|
15692
|
+
/** 模板公共字段信息列表 */
|
|
15693
|
+
using_fields?: SignatureTemplateCommonFieldInfo[];
|
|
15694
|
+
/** 系统设置字段列表 */
|
|
15695
|
+
system_setting_fields?: SignatureTemplateField[];
|
|
15696
|
+
}
|
|
15697
|
+
export interface SignatureTemplateContentItem {
|
|
15698
|
+
/** 电子签模版内容的类型 */
|
|
15699
|
+
content_type: Enum;
|
|
15700
|
+
/** 显示规则左值 */
|
|
15701
|
+
filter_apiname?: string;
|
|
15702
|
+
/** 模版内容 */
|
|
15703
|
+
content?: string;
|
|
15704
|
+
/** 中英文描述 */
|
|
15705
|
+
label?: I18n[];
|
|
15706
|
+
/** 内容描述 */
|
|
15707
|
+
content_desc?: string;
|
|
15708
|
+
}
|
|
15709
|
+
export interface SignatureTemplateCustomField {
|
|
15710
|
+
/** 中英文描述 */
|
|
15711
|
+
label?: I18n[];
|
|
15712
|
+
/** 主数据apiname */
|
|
15713
|
+
apiname: string;
|
|
15714
|
+
/** 用户自定义字段类型 */
|
|
15715
|
+
custom_field_type: Enum;
|
|
15716
|
+
/** 是否使用到 */
|
|
15717
|
+
used: boolean;
|
|
15718
|
+
/** 是否需要 */
|
|
15719
|
+
is_required?: boolean;
|
|
15720
|
+
/** 自定义描述 */
|
|
15721
|
+
custom_desc?: string;
|
|
15722
|
+
/** 电子签模版公共字段信息 */
|
|
15723
|
+
common_info?: SignatureTemplateCommonFieldInfo;
|
|
15724
|
+
}
|
|
15725
|
+
export interface SignatureTemplateField {
|
|
15726
|
+
/** 模板字段值类型枚举 */
|
|
15727
|
+
field_type: Enum;
|
|
15728
|
+
/** 双语描述 */
|
|
15729
|
+
label?: I18n[];
|
|
15730
|
+
/** 通用字段信息 */
|
|
15731
|
+
common_info?: SignatureTemplateCommonFieldInfo;
|
|
15732
|
+
/** 组合字段信息 */
|
|
15733
|
+
combination_info?: SignatureTemplateCombinationFieldInfo;
|
|
15734
|
+
/** 子模板配置信息列表对应的string,避免循环引用问题 */
|
|
15735
|
+
children?: string;
|
|
15736
|
+
/** 组合字段信息v2 */
|
|
15737
|
+
combination_info_v2?: SignatureTemplateCombinationFieldInfoV2;
|
|
15738
|
+
}
|
|
15739
|
+
export interface SignatureTemplateFilter {
|
|
15740
|
+
/** 双语描述 */
|
|
15741
|
+
label: I18n[];
|
|
15742
|
+
/** 主数据apiname */
|
|
15743
|
+
apiname: string;
|
|
15744
|
+
/** 过滤条件列表 */
|
|
15745
|
+
filters?: SignatureTemplateFilterItem[];
|
|
15746
|
+
/** 多个生效条件的logic */
|
|
15747
|
+
logic?: Enum;
|
|
15748
|
+
/** 是否被校验 */
|
|
15749
|
+
is_checked?: boolean;
|
|
15750
|
+
/** 过滤条件描述 */
|
|
15751
|
+
filter_desc?: string;
|
|
15752
|
+
/** 过滤条件列表,使用string类型描述list的原因是为了避免循环引用问题,因为该list的item类型就是这个数据类型 */
|
|
15753
|
+
criterion_list?: string;
|
|
15754
|
+
}
|
|
15755
|
+
export interface SignatureTemplateFilterItem {
|
|
15756
|
+
/** 左值 */
|
|
15757
|
+
left: string;
|
|
15758
|
+
/** 右值列表 */
|
|
15759
|
+
rights?: string[];
|
|
15760
|
+
/** 操作符 */
|
|
15761
|
+
op: Enum;
|
|
15762
|
+
}
|
|
15763
|
+
export interface SignatureTemplateInfoWithThumbnail {
|
|
15764
|
+
/** id */
|
|
15765
|
+
id?: string;
|
|
15766
|
+
/** 名称 支持多语 */
|
|
15767
|
+
label?: I18n[];
|
|
15768
|
+
/** 模版类别 */
|
|
15769
|
+
category?: Enum;
|
|
15770
|
+
/** 模版用法 */
|
|
15771
|
+
usage?: Enum;
|
|
15772
|
+
/** 创建日期 */
|
|
15773
|
+
create_time?: string;
|
|
15774
|
+
/** 修改日期 */
|
|
15775
|
+
modify_time?: string;
|
|
15776
|
+
/** 创建人 */
|
|
15777
|
+
created_by?: SignatureUserInfo;
|
|
15778
|
+
/** 修改人 */
|
|
15779
|
+
updated_by?: SignatureUserInfo;
|
|
15780
|
+
/** 缩略图url */
|
|
15781
|
+
thumbnail_url?: string;
|
|
15782
|
+
/** 模版签署人标签 */
|
|
15783
|
+
signatory_labels?: SignatureSignatoryLabel[];
|
|
15784
|
+
/** 模板编码 */
|
|
15785
|
+
template_code?: string;
|
|
15786
|
+
/** 模板描述 */
|
|
15787
|
+
template_desc?: string;
|
|
15788
|
+
/** 模板适用区域 */
|
|
15789
|
+
template_region_info?: SignatureTemplateRegionInfo;
|
|
15790
|
+
}
|
|
15791
|
+
export interface SignatureTemplateRegionInfo {
|
|
15792
|
+
/** 是否全球适用 */
|
|
15793
|
+
is_global_scope?: string;
|
|
15794
|
+
/** 适用区域名称 */
|
|
15795
|
+
meta_infos?: SignatureMetaInfo[];
|
|
15796
|
+
}
|
|
15797
|
+
export interface SignatureTemplateSetting {
|
|
15798
|
+
/** 骑缝章类型 */
|
|
15799
|
+
page_seal_types?: string[];
|
|
15800
|
+
}
|
|
15801
|
+
export interface SignatureUserInfo {
|
|
15802
|
+
/** employmentID */
|
|
15803
|
+
id: string;
|
|
15804
|
+
}
|
|
14451
15805
|
export interface Skill {
|
|
14452
15806
|
/** 技能 ID */
|
|
14453
15807
|
id?: string;
|
|
@@ -14470,6 +15824,152 @@ export interface SkillGlobalVariable {
|
|
|
14470
15824
|
/** 渠道信息 */
|
|
14471
15825
|
channel?: Channel;
|
|
14472
15826
|
}
|
|
15827
|
+
export declare const enum SnapTo {
|
|
15828
|
+
/** 连接方向自动匹配 */
|
|
15829
|
+
Auto = "auto",
|
|
15830
|
+
/** 连接图形顶部方向 */
|
|
15831
|
+
Top = "top",
|
|
15832
|
+
/** 连接图形右边方向 */
|
|
15833
|
+
Right = "right",
|
|
15834
|
+
/** 连接图形底部方向 */
|
|
15835
|
+
Bottom = "bottom",
|
|
15836
|
+
/** 连接图形左边方向 */
|
|
15837
|
+
Left = "left"
|
|
15838
|
+
}
|
|
15839
|
+
export interface SocialArchive {
|
|
15840
|
+
/** 员工ID */
|
|
15841
|
+
user_id: string;
|
|
15842
|
+
/** 员工参保档案,包含社保、公积金档案 */
|
|
15843
|
+
details: SocialArchiveDetail[];
|
|
15844
|
+
}
|
|
15845
|
+
export interface SocialArchiveAdjustRecord {
|
|
15846
|
+
/** 员工ID */
|
|
15847
|
+
user_id?: string;
|
|
15848
|
+
/** 类型,increase: 增员; attrition: 减员 */
|
|
15849
|
+
record_type?: 'increase' | 'attrition';
|
|
15850
|
+
/** 员工增减员记录,包括社保、公积金记录 */
|
|
15851
|
+
details?: SocialArchiveDetail[];
|
|
15852
|
+
}
|
|
15853
|
+
export interface SocialArchiveDetail {
|
|
15854
|
+
/** 调整说明 */
|
|
15855
|
+
description: I18n;
|
|
15856
|
+
/** 类型。social_insurance: 社保; provident_fund: 公积金 */
|
|
15857
|
+
insurance_type: 'social_insurance' | 'provident_fund';
|
|
15858
|
+
/** 参保状态,非「参保」状态下,基数、险种数据等为空 */
|
|
15859
|
+
insurance_status: 'contribution' | 'not_contribution' | 'stopped_contribution';
|
|
15860
|
+
/** 档案时间轴对象ID,仅参保档案对象会包含 */
|
|
15861
|
+
id?: string;
|
|
15862
|
+
/** 档案时间轴对象版本ID,仅参保档案对象会包含 */
|
|
15863
|
+
tid?: string;
|
|
15864
|
+
/** 参保方案ID,详细信息可通过「查询参保方案」接口获取 */
|
|
15865
|
+
plan_id?: string;
|
|
15866
|
+
/** 参保方案版本ID */
|
|
15867
|
+
plan_tid?: string;
|
|
15868
|
+
/** 参保城市ID,可通过获取地点信息接口查询详细信息 */
|
|
15869
|
+
location_id?: string;
|
|
15870
|
+
/** 社保缴纳主体ID,可通过获取公司主体接口查询详细信息 */
|
|
15871
|
+
company_id?: string;
|
|
15872
|
+
/** 社保账户类型 */
|
|
15873
|
+
account_type?: 'associated_company' | 'supplier';
|
|
15874
|
+
/** 社保账号 */
|
|
15875
|
+
insurance_account?: string;
|
|
15876
|
+
/** 申报缴纳基数 */
|
|
15877
|
+
base_salary?: string;
|
|
15878
|
+
/** 险种数据详情 */
|
|
15879
|
+
insurance_details?: SocialArchiveItem[];
|
|
15880
|
+
/** 档案生效时间,HHHH-MM-DD */
|
|
15881
|
+
effective_date?: string;
|
|
15882
|
+
}
|
|
15883
|
+
export interface SocialArchiveItem {
|
|
15884
|
+
/** 险种ID,详细信息可通过社保险种接口查询 */
|
|
15885
|
+
insurance_id: string;
|
|
15886
|
+
/** 企业缴纳金额 */
|
|
15887
|
+
company_deduction: string;
|
|
15888
|
+
/** 险种缴纳配置 */
|
|
15889
|
+
company_setting: SocialPlanItemSetting;
|
|
15890
|
+
/** 企业缴纳金额 */
|
|
15891
|
+
personal_deduction: string;
|
|
15892
|
+
/** 险种缴纳配置 */
|
|
15893
|
+
personal_setting: SocialPlanItemSetting;
|
|
15894
|
+
/** 缴纳频率 */
|
|
15895
|
+
payment_frequency: 'annually' | 'monthly' | 'quarterly';
|
|
15896
|
+
/** 缴纳月份 */
|
|
15897
|
+
payment_months: number[];
|
|
15898
|
+
}
|
|
15899
|
+
export interface SocialInsurance {
|
|
15900
|
+
/** 险种唯一ID */
|
|
15901
|
+
id: string;
|
|
15902
|
+
/** 险种名称 */
|
|
15903
|
+
name: I18n;
|
|
15904
|
+
/** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
|
|
15905
|
+
insurance_type: 'social_insurance' | 'provident_fund';
|
|
15906
|
+
/** 启用状态 */
|
|
15907
|
+
active: boolean;
|
|
15908
|
+
/** 是否为系统预置险种。养老保险、医疗保险、失业保险、工伤保险、生育保险、住房公积金为系统预置险种。 */
|
|
15909
|
+
is_system: boolean;
|
|
15910
|
+
}
|
|
15911
|
+
export interface SocialPlan {
|
|
15912
|
+
/** 参保方案ID */
|
|
15913
|
+
plan_id: string;
|
|
15914
|
+
/** 参保方案版本ID */
|
|
15915
|
+
plan_tid: string;
|
|
15916
|
+
/** 参保方案名称 */
|
|
15917
|
+
name: I18n;
|
|
15918
|
+
/** 生效时间,HHHH-MM-DD */
|
|
15919
|
+
effective_date: string;
|
|
15920
|
+
/** 是否启用 */
|
|
15921
|
+
active: boolean;
|
|
15922
|
+
/** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
|
|
15923
|
+
insurance_type: 'social_insurance' | 'provident_fund';
|
|
15924
|
+
/** 参保方案适用范围 */
|
|
15925
|
+
scope?: SocialPlanScope;
|
|
15926
|
+
/** 参保信息 */
|
|
15927
|
+
item_detail: SocialPlanItemDetail[];
|
|
15928
|
+
/** 备注 */
|
|
15929
|
+
remark: I18n;
|
|
15930
|
+
}
|
|
15931
|
+
export interface SocialPlanCondition {
|
|
15932
|
+
/** 适用范围左值 */
|
|
15933
|
+
left_type?: 1 | 2;
|
|
15934
|
+
/** 适用范围操作 */
|
|
15935
|
+
operator?: 1 | 2;
|
|
15936
|
+
/** 适用范围右值 */
|
|
15937
|
+
right_values?: string[];
|
|
15938
|
+
}
|
|
15939
|
+
export interface SocialPlanItemDetail {
|
|
15940
|
+
/** 险种ID,详细信息可通过社保险种接口查询 */
|
|
15941
|
+
item_id: string;
|
|
15942
|
+
/** 险种名 */
|
|
15943
|
+
item_name: I18n;
|
|
15944
|
+
/** 险种缴纳配置 */
|
|
15945
|
+
item_setting_of_person: SocialPlanItemSetting;
|
|
15946
|
+
/** 险种缴纳配置 */
|
|
15947
|
+
item_setting_of_company: SocialPlanItemSetting;
|
|
15948
|
+
/** 缴纳频率 */
|
|
15949
|
+
payment_frequency: 'annually' | 'monthly' | 'quarterly';
|
|
15950
|
+
/** 缴纳月份 */
|
|
15951
|
+
payment_months: number[];
|
|
15952
|
+
}
|
|
15953
|
+
export interface SocialPlanItemSetting {
|
|
15954
|
+
/** 基数下限,浮点数,保留二位小数 */
|
|
15955
|
+
lower_limit: string;
|
|
15956
|
+
/** 基数上限,浮点数,保留二位小数 */
|
|
15957
|
+
upper_limit: string;
|
|
15958
|
+
/** 缴纳比例,浮点数,默认填充到二位小数,支持输入到四位,单位为 % */
|
|
15959
|
+
payment_ratio: string;
|
|
15960
|
+
/** 缴纳金舍入规则。rounding: 四舍五入; round_up: 向上舍入; round_down: 向下舍入 */
|
|
15961
|
+
payment_rounding_rule: 'rounding' | 'round_up' | 'round_down';
|
|
15962
|
+
/** 缴纳金小数位数,0-6之间选择 */
|
|
15963
|
+
payment_decimals: number;
|
|
15964
|
+
/** 附加固定金额,浮点数,保留二位小数 */
|
|
15965
|
+
fixed_payment: string;
|
|
15966
|
+
}
|
|
15967
|
+
export interface SocialPlanScope {
|
|
15968
|
+
/** 是否适用于全部 */
|
|
15969
|
+
is_all: boolean;
|
|
15970
|
+
/** 适用范围,二维。外层or连接,内层and连接 */
|
|
15971
|
+
rules?: SocialPlanCondition[][];
|
|
15972
|
+
}
|
|
14473
15973
|
export interface Sort {
|
|
14474
15974
|
/** 字段名称 */
|
|
14475
15975
|
field_name?: string;
|
|
@@ -14582,6 +16082,12 @@ export interface Statistics {
|
|
|
14582
16082
|
/** 点踩数量 */
|
|
14583
16083
|
dislike_count: number;
|
|
14584
16084
|
}
|
|
16085
|
+
export interface StickyNote {
|
|
16086
|
+
/** 用户id */
|
|
16087
|
+
user_id?: string;
|
|
16088
|
+
/** 是否展示用户信息 */
|
|
16089
|
+
show_author_info?: boolean;
|
|
16090
|
+
}
|
|
14585
16091
|
export interface StreamConfig {
|
|
14586
16092
|
/** 仅包含字母数字和下划线的 16 位字符串作为同一数据流的标识,用户生成 */
|
|
14587
16093
|
stream_id: string;
|
|
@@ -14595,18 +16101,36 @@ export interface StreamConfig {
|
|
|
14595
16101
|
engine_type: string;
|
|
14596
16102
|
}
|
|
14597
16103
|
export interface Style {
|
|
16104
|
+
/** 填充颜色,16 进制 rbg 值 */
|
|
16105
|
+
fill_color?: string;
|
|
14598
16106
|
/** 填充透明度 */
|
|
14599
16107
|
fill_opacity?: number;
|
|
14600
16108
|
/** 边框样式 */
|
|
14601
16109
|
border_style?: 'solid' | 'none' | 'dash' | 'dot';
|
|
14602
16110
|
/** 边框宽度 */
|
|
14603
|
-
border_width?: 'extra_narrow' | 'narrow' | 'medium' | '
|
|
16111
|
+
border_width?: 'extra_narrow' | 'narrow' | 'medium' | 'bold';
|
|
14604
16112
|
/** 边框透明度 */
|
|
14605
16113
|
border_opacity?: number;
|
|
14606
16114
|
/** 水平翻折 */
|
|
14607
16115
|
h_flip?: boolean;
|
|
14608
16116
|
/** 垂直翻折 */
|
|
14609
16117
|
v_flip?: boolean;
|
|
16118
|
+
/** 边框颜色,16 进制 rgb 值 */
|
|
16119
|
+
border_color?: string;
|
|
16120
|
+
/** 填充颜色主题配色编码值 */
|
|
16121
|
+
theme_fill_color_code?: number;
|
|
16122
|
+
/** 边框颜色主题配色编码值 */
|
|
16123
|
+
theme_border_color_code?: number;
|
|
16124
|
+
/** 填充颜色类型:0=系统颜色,取theme_fill_color_code,1=自定义颜色,取fill_color */
|
|
16125
|
+
fill_color_type?: ColorType;
|
|
16126
|
+
/** 边框颜色类型:0=系统颜色,取theme_border_color_code,1=自定义颜色,取border_color */
|
|
16127
|
+
border_color_type?: ColorType;
|
|
16128
|
+
}
|
|
16129
|
+
export declare const enum StyleType {
|
|
16130
|
+
/** 画板样式 */
|
|
16131
|
+
Board = 1,
|
|
16132
|
+
/** 经典样式 */
|
|
16133
|
+
Classic = 2
|
|
14610
16134
|
}
|
|
14611
16135
|
export interface Subdivision {
|
|
14612
16136
|
/** 省份/行政区id */
|
|
@@ -14670,6 +16194,18 @@ export interface SupportCostCenterItem {
|
|
|
14670
16194
|
/** 分摊比例 */
|
|
14671
16195
|
rate?: number;
|
|
14672
16196
|
}
|
|
16197
|
+
export interface Svg {
|
|
16198
|
+
/** svg code */
|
|
16199
|
+
svg_code?: string;
|
|
16200
|
+
}
|
|
16201
|
+
export declare const enum SyntaxType {
|
|
16202
|
+
/** 未知 */
|
|
16203
|
+
UNKOWN = 0,
|
|
16204
|
+
/** Plantuml解析 */
|
|
16205
|
+
PLANT_UML = 1,
|
|
16206
|
+
/** Mermaid解析 */
|
|
16207
|
+
MERMAID = 2
|
|
16208
|
+
}
|
|
14673
16209
|
export interface SystemFields {
|
|
14674
16210
|
/** 中文姓名 */
|
|
14675
16211
|
name?: string;
|
|
@@ -15657,6 +17193,12 @@ export interface Term {
|
|
|
15657
17193
|
/** 译文 */
|
|
15658
17194
|
to: string;
|
|
15659
17195
|
}
|
|
17196
|
+
export interface TerminateSignatureFailIdAndReason {
|
|
17197
|
+
/** 终止操作失败的文件ID */
|
|
17198
|
+
signature_file_id: string;
|
|
17199
|
+
/** 终止失败的原因 */
|
|
17200
|
+
fail_reason: string;
|
|
17201
|
+
}
|
|
15660
17202
|
export interface TerminationReason {
|
|
15661
17203
|
/** 终止原因 ID */
|
|
15662
17204
|
id?: string;
|
|
@@ -16090,6 +17632,10 @@ export interface TransferType {
|
|
|
16090
17632
|
/** 更新时间 */
|
|
16091
17633
|
updated_time?: string;
|
|
16092
17634
|
}
|
|
17635
|
+
export interface Trapezoid {
|
|
17636
|
+
/** 梯形上底长(短边)。默认为下底边长度的2/3,不能超过下底边长度。 */
|
|
17637
|
+
top_length?: number;
|
|
17638
|
+
}
|
|
16093
17639
|
export interface TripartiteAgreementInfo {
|
|
16094
17640
|
/** 三方协议 ID */
|
|
16095
17641
|
id?: string;
|
|
@@ -16577,6 +18123,12 @@ export interface UserFlow {
|
|
|
16577
18123
|
/** 唯一幂等键 */
|
|
16578
18124
|
idempotent_id?: string;
|
|
16579
18125
|
}
|
|
18126
|
+
export interface UserFreebusy {
|
|
18127
|
+
/** 日历上请求时间区间内的忙闲信息 */
|
|
18128
|
+
freebusy_items?: Freebusy[];
|
|
18129
|
+
/** 日历的创建者userID */
|
|
18130
|
+
user_id?: string;
|
|
18131
|
+
}
|
|
16580
18132
|
export interface UserInfo {
|
|
16581
18133
|
/** 个人邮箱还是公共邮箱 */
|
|
16582
18134
|
type: string;
|
|
@@ -16887,6 +18439,7 @@ export interface UserViewDetail {
|
|
|
16887
18439
|
/** 用户的最近查看时间timestamp(ms级别) */
|
|
16888
18440
|
view_time?: string;
|
|
16889
18441
|
}
|
|
18442
|
+
export type Uuid = string;
|
|
16890
18443
|
export interface Value {
|
|
16891
18444
|
/** 字符串值 */
|
|
16892
18445
|
string_value?: string;
|
|
@@ -17335,21 +18888,17 @@ export interface WeekdaySchedule {
|
|
|
17335
18888
|
}
|
|
17336
18889
|
export interface WhiteboardNode {
|
|
17337
18890
|
/** 节点 id */
|
|
17338
|
-
id
|
|
17339
|
-
/**
|
|
17340
|
-
type: 'image' | 'text_shape' | 'group' | 'composite_shape' | 'svg' | 'connector' | 'table' | 'life_line' | 'activation' | 'section' | 'table_uml' | 'table_er' | 'sticky_note' | 'mind_map' | 'paint';
|
|
18891
|
+
id?: string;
|
|
18892
|
+
/** 节点图形类型,目前创建节点仅支持创建图片、文本、基础图形等类型 */
|
|
18893
|
+
type: 'image' | 'text_shape' | 'group' | 'composite_shape' | 'svg' | 'connector' | 'table' | 'life_line' | 'activation' | 'section' | 'table_uml' | 'table_er' | 'sticky_note' | 'mind_map' | 'paint' | 'combined_fragment';
|
|
17341
18894
|
/** 父节点 id */
|
|
17342
18895
|
parent_id?: string;
|
|
17343
|
-
/** 子节点 */
|
|
17344
|
-
children?: string[];
|
|
17345
18896
|
/** 图形相对画布的 x 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
|
|
17346
18897
|
x?: number;
|
|
17347
18898
|
/** 图形相对画布的 y 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
|
|
17348
18899
|
y?: number;
|
|
17349
18900
|
/** 图形旋转角度 */
|
|
17350
18901
|
angle?: number;
|
|
17351
|
-
/** 图形宽度,单位为 px */
|
|
17352
|
-
width?: number;
|
|
17353
18902
|
/** 图形高度,单位为 px */
|
|
17354
18903
|
height?: number;
|
|
17355
18904
|
/** 图形内文字 */
|
|
@@ -17362,12 +18911,28 @@ export interface WhiteboardNode {
|
|
|
17362
18911
|
composite_shape?: CompositeShape;
|
|
17363
18912
|
/** 连线属性 */
|
|
17364
18913
|
connector?: Connector;
|
|
18914
|
+
/** 图形宽度,单位为 px */
|
|
18915
|
+
width?: number;
|
|
17365
18916
|
/** 分区属性 */
|
|
17366
18917
|
section?: Section;
|
|
17367
18918
|
/** 表格属性 */
|
|
17368
18919
|
table?: Table;
|
|
17369
|
-
/**
|
|
17370
|
-
|
|
18920
|
+
/** 图形是否锁定 */
|
|
18921
|
+
locked?: boolean;
|
|
18922
|
+
/** 图形在兄弟节点中的层级,层级大的会覆盖层级小的 */
|
|
18923
|
+
z_index?: number;
|
|
18924
|
+
/** 生命对象属性 */
|
|
18925
|
+
lifeline?: Lifeline;
|
|
18926
|
+
/** 画笔属性 */
|
|
18927
|
+
paint?: Paint;
|
|
18928
|
+
/** svg图形属性 */
|
|
18929
|
+
svg?: Svg;
|
|
18930
|
+
/** 便签图形属性 */
|
|
18931
|
+
sticky_note?: StickyNote;
|
|
18932
|
+
/** 思维导图节点属性 */
|
|
18933
|
+
mind_map_node?: MindMapNode;
|
|
18934
|
+
/** 思维导图根节点属性 */
|
|
18935
|
+
mind_map_root?: MindMapRoot;
|
|
17371
18936
|
}
|
|
17372
18937
|
export interface WikiCatalog {
|
|
17373
18938
|
/** 知识库 token */
|