@satorijs/adapter-lark 3.11.8 → 3.11.9
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/index.cjs +344 -41
- package/lib/types/aily.d.ts +3 -3
- package/lib/types/apaas.d.ts +38 -28
- package/lib/types/board.d.ts +39 -0
- package/lib/types/calendar.d.ts +55 -0
- package/lib/types/cardkit.d.ts +2 -2
- package/lib/types/compensation.d.ts +400 -0
- package/lib/types/corehr.d.ts +598 -2
- package/lib/types/directory.d.ts +3 -41
- package/lib/types/docx.d.ts +23 -0
- package/lib/types/drive.d.ts +88 -88
- package/lib/types/hire.d.ts +49 -0
- package/lib/types/im.d.ts +1 -1
- package/lib/types/index.d.ts +1008 -40
- package/lib/types/payroll.d.ts +117 -81
- package/lib/types/performance.d.ts +1 -1
- package/lib/types/security_and_compliance.d.ts +254 -1
- package/package.json +1 -1
- package/src/types/aily.ts +3 -3
- package/src/types/apaas.ts +52 -38
- package/src/types/board.ts +53 -2
- package/src/types/calendar.ts +72 -0
- package/src/types/cardkit.ts +2 -2
- package/src/types/compensation.ts +485 -0
- package/src/types/corehr.ts +705 -2
- package/src/types/directory.ts +3 -53
- package/src/types/docx.ts +29 -0
- package/src/types/drive.ts +110 -110
- package/src/types/hire.ts +63 -0
- package/src/types/im.ts +1 -1
- package/src/types/index.ts +1063 -42
- package/src/types/payroll.ts +146 -103
- package/src/types/performance.ts +1 -1
- package/src/types/security_and_compliance.ts +292 -1
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;
|
|
@@ -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;
|
|
@@ -3651,6 +3665,12 @@ export interface Collaborator {
|
|
|
3651
3665
|
/** 协作人的用户ID列表 */
|
|
3652
3666
|
id_list?: string[];
|
|
3653
3667
|
}
|
|
3668
|
+
export declare const enum ColorType {
|
|
3669
|
+
/** 系统颜色 */
|
|
3670
|
+
SystemColor = 0,
|
|
3671
|
+
/** 自定义颜色 */
|
|
3672
|
+
CustomColor = 1
|
|
3673
|
+
}
|
|
3654
3674
|
export interface CombinedJobObjectValueMap {
|
|
3655
3675
|
/** 结构 ID */
|
|
3656
3676
|
object_id?: string;
|
|
@@ -3758,6 +3778,8 @@ export interface CommonSchema {
|
|
|
3758
3778
|
is_customized?: boolean;
|
|
3759
3779
|
/** 是否必填 */
|
|
3760
3780
|
is_required?: boolean;
|
|
3781
|
+
/** 是否可见 */
|
|
3782
|
+
is_visible?: boolean;
|
|
3761
3783
|
/** 是否启用 */
|
|
3762
3784
|
active_status?: 1 | 2;
|
|
3763
3785
|
/** 字段列表 */
|
|
@@ -3778,6 +3800,8 @@ export interface CommonSchemaChild {
|
|
|
3778
3800
|
is_customized?: boolean;
|
|
3779
3801
|
/** 是否必填 */
|
|
3780
3802
|
is_required?: boolean;
|
|
3803
|
+
/** 是否可见 */
|
|
3804
|
+
is_visible?: boolean;
|
|
3781
3805
|
/** 是否启用 */
|
|
3782
3806
|
active_status?: 1 | 2;
|
|
3783
3807
|
}
|
|
@@ -3797,7 +3821,7 @@ export interface CommonSchemaOption {
|
|
|
3797
3821
|
}
|
|
3798
3822
|
export interface CommonSchemaSetting {
|
|
3799
3823
|
/** 字段类型 */
|
|
3800
|
-
object_type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13;
|
|
3824
|
+
object_type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
3801
3825
|
/** 配置信息 */
|
|
3802
3826
|
config?: CommonSchemaConfig;
|
|
3803
3827
|
}
|
|
@@ -3849,14 +3873,20 @@ export interface CompensationCost {
|
|
|
3849
3873
|
i18n_names?: I18nContent[];
|
|
3850
3874
|
}
|
|
3851
3875
|
export interface CompensationCostItem {
|
|
3852
|
-
/** 发薪人数 */
|
|
3853
|
-
number_of_individuals_for_payment?: number;
|
|
3854
3876
|
/** 成本项数据 */
|
|
3855
3877
|
compensation_costs?: CompensationCost[];
|
|
3856
3878
|
}
|
|
3857
3879
|
export interface CompositeShape {
|
|
3858
3880
|
/** 基础图形的具体类型 */
|
|
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';
|
|
3881
|
+
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';
|
|
3882
|
+
/** 饼图属性,type=pie时需要设置 */
|
|
3883
|
+
pie?: Pie;
|
|
3884
|
+
/** 圆环属性,type=circular_ring时需要设置 */
|
|
3885
|
+
circular_ring?: Pie;
|
|
3886
|
+
/** 梯形属性,type=trapezoid时可以设置 */
|
|
3887
|
+
trapezoid?: Trapezoid;
|
|
3888
|
+
/** 六面体属性,type=cube时可以设置 */
|
|
3889
|
+
cube?: Cube;
|
|
3860
3890
|
}
|
|
3861
3891
|
export interface CompositeTalentAwardInfo {
|
|
3862
3892
|
/** 名称 */
|
|
@@ -4019,21 +4049,85 @@ export interface Condition {
|
|
|
4019
4049
|
expected: string[];
|
|
4020
4050
|
}
|
|
4021
4051
|
export interface Connector {
|
|
4022
|
-
/**
|
|
4023
|
-
|
|
4024
|
-
/**
|
|
4025
|
-
|
|
4052
|
+
/** 连线端点信息 */
|
|
4053
|
+
start?: ConnectorInfo;
|
|
4054
|
+
/** 连线端点信息 */
|
|
4055
|
+
end?: ConnectorInfo;
|
|
4026
4056
|
/** 连线文本 */
|
|
4027
4057
|
captions?: ConnectorCaption;
|
|
4058
|
+
/** 连线类型 */
|
|
4059
|
+
shape?: ConnectorLineShape;
|
|
4060
|
+
/** 连线转向点 */
|
|
4061
|
+
turning_points?: Point[];
|
|
4062
|
+
/** 连线上的文本方向是否自动跟随连线方向 */
|
|
4063
|
+
caption_auto_direction?: boolean;
|
|
4064
|
+
/** 文本在连线上的相对位置,范围0-1,0表示在连线的起始点,1表示在连线的终点 */
|
|
4065
|
+
caption_position?: number;
|
|
4066
|
+
/** 指定连线坐标及长宽。为 true 时需要用户设置连线的坐标及长宽信息。为 false 时会根据连线的开始、结束端点自动计算连线的坐标及长宽信息 */
|
|
4067
|
+
specified_coordinate?: boolean;
|
|
4068
|
+
}
|
|
4069
|
+
export declare const enum ConnectorArrowStyle {
|
|
4070
|
+
/** 无箭头样式 */
|
|
4071
|
+
None = "none",
|
|
4072
|
+
/** 线型箭头 */
|
|
4073
|
+
LineArrow = "line_arrow",
|
|
4074
|
+
/** 三角形箭头 */
|
|
4075
|
+
TriangleArrow = "triangle_arrow",
|
|
4076
|
+
/** 空心三角形箭头 */
|
|
4077
|
+
EmptyTriangleArrow = "empty_triangle_arrow",
|
|
4078
|
+
/** 圆形箭头 */
|
|
4079
|
+
CircleArrow = "circle_arrow",
|
|
4080
|
+
/** 空心圆形箭头 */
|
|
4081
|
+
EmptyCircleArrow = "empty_circle_arrow",
|
|
4082
|
+
/** 菱形箭头 */
|
|
4083
|
+
DiamondArrow = "diamond_arrow",
|
|
4084
|
+
/** 空心菱形箭头 */
|
|
4085
|
+
EmptyDiamondArrow = "empty_diamond_arrow",
|
|
4086
|
+
/** 单箭头 */
|
|
4087
|
+
SingleArrow = "single_arrow",
|
|
4088
|
+
/** 多箭头 */
|
|
4089
|
+
MultiArrow = "multi_arrow",
|
|
4090
|
+
/** 精确单箭头 */
|
|
4091
|
+
ExactSingleArrow = "exact_single_arrow",
|
|
4092
|
+
/** 零个或多个箭头 */
|
|
4093
|
+
ZeroOrMultiArrow = "zero_or_multi_arrow",
|
|
4094
|
+
/** 零个或单个箭头 */
|
|
4095
|
+
ZeroOrSingleArrow = "zero_or_single_arrow",
|
|
4096
|
+
/** 单个或多个箭头 */
|
|
4097
|
+
SingleOrMultiArrow = "single_or_multi_arrow",
|
|
4098
|
+
/** x型箭头 */
|
|
4099
|
+
XArrow = "x_arrow"
|
|
4028
4100
|
}
|
|
4029
4101
|
export interface ConnectorAttachedObject {
|
|
4030
4102
|
/** 连接图形的 id */
|
|
4031
4103
|
id?: string;
|
|
4104
|
+
/** 连接图形的方向 */
|
|
4105
|
+
snap_to?: SnapTo;
|
|
4106
|
+
/** 连接图形的相对坐标,0-1 */
|
|
4107
|
+
position?: Point;
|
|
4032
4108
|
}
|
|
4033
4109
|
export interface ConnectorCaption {
|
|
4034
4110
|
/** 文本 */
|
|
4035
4111
|
data?: Text[];
|
|
4036
4112
|
}
|
|
4113
|
+
export interface ConnectorInfo {
|
|
4114
|
+
/** 连接图形信息 */
|
|
4115
|
+
attached_object?: ConnectorAttachedObject;
|
|
4116
|
+
/** 连线端点在画布内的坐标,position与attached_object二选一 */
|
|
4117
|
+
position?: Point;
|
|
4118
|
+
/** 连线端点箭头样式 */
|
|
4119
|
+
arrow_style?: ConnectorArrowStyle;
|
|
4120
|
+
}
|
|
4121
|
+
export declare const enum ConnectorLineShape {
|
|
4122
|
+
/** 直线 */
|
|
4123
|
+
Straight = "straight",
|
|
4124
|
+
/** 折线 */
|
|
4125
|
+
Polyline = "polyline",
|
|
4126
|
+
/** 曲线 */
|
|
4127
|
+
Curve = "curve",
|
|
4128
|
+
/** 直角折线 */
|
|
4129
|
+
RightAngledPolyline = "right_angled_polyline"
|
|
4130
|
+
}
|
|
4037
4131
|
export interface ConnectorParam {
|
|
4038
4132
|
/** 回调时Request里面的id类型 */
|
|
4039
4133
|
callback_user_id_type?: 0 | 1 | 2 | 3;
|
|
@@ -4216,6 +4310,8 @@ export interface CostAllocationReportData {
|
|
|
4216
4310
|
data_summary_dimensions?: DataSummaryDimension[];
|
|
4217
4311
|
/** 成本项数据 */
|
|
4218
4312
|
compensation_cost_item?: CompensationCostItem;
|
|
4313
|
+
/** 员工id */
|
|
4314
|
+
employment_id?: string;
|
|
4219
4315
|
}
|
|
4220
4316
|
export interface CostCenter {
|
|
4221
4317
|
/** 成本中心ID */
|
|
@@ -4495,6 +4591,10 @@ export interface Criterion {
|
|
|
4495
4591
|
/** 逻辑关系 */
|
|
4496
4592
|
logic_expression?: string;
|
|
4497
4593
|
}
|
|
4594
|
+
export interface Cube {
|
|
4595
|
+
/** 六面体控制点,相对六面体外接矩形的相对坐标。默认控制点为外接矩形长的0.8,宽的0.25 */
|
|
4596
|
+
control_point?: Point;
|
|
4597
|
+
}
|
|
4498
4598
|
export interface Currency {
|
|
4499
4599
|
/** 货币 ID */
|
|
4500
4600
|
currency_id?: string;
|
|
@@ -4895,6 +4995,8 @@ export interface DataSummaryDimension {
|
|
|
4895
4995
|
dimension_value_id?: string;
|
|
4896
4996
|
/** 算薪项汇总维度时,当算薪项是特定枚举值,会使用该字段返回枚举值ID以及枚举值Key */
|
|
4897
4997
|
enum_dimension?: EnumObject;
|
|
4998
|
+
/** 维度引用对象的基础信息,当维度为引用类型字段才会有值,目前支持的引用对象类型见type */
|
|
4999
|
+
dimension_value_lookup_info?: DimensionValueLookupInfo;
|
|
4898
5000
|
/** 维度名称,自定义维度使用 */
|
|
4899
5001
|
dimension_names?: I18nContent[];
|
|
4900
5002
|
/** 数据维度表头,自定义维度使用 */
|
|
@@ -5018,14 +5120,6 @@ export interface DepartmentI18nName {
|
|
|
5018
5120
|
/** 部门的英文名 */
|
|
5019
5121
|
en_us?: string;
|
|
5020
5122
|
}
|
|
5021
|
-
export interface DepartmentIdConvertResult {
|
|
5022
|
-
/** ID */
|
|
5023
|
-
id: string;
|
|
5024
|
-
/** 部门ID */
|
|
5025
|
-
department_id?: string;
|
|
5026
|
-
/** 部门OpenID */
|
|
5027
|
-
open_department_id?: string;
|
|
5028
|
-
}
|
|
5029
5123
|
export interface DepartmentLeader {
|
|
5030
5124
|
/** 负责人类型 */
|
|
5031
5125
|
leaderType: 1 | 2;
|
|
@@ -5148,6 +5242,46 @@ export interface Device {
|
|
|
5148
5242
|
/** 设施名称 */
|
|
5149
5243
|
name: string;
|
|
5150
5244
|
}
|
|
5245
|
+
export interface DeviceRecord {
|
|
5246
|
+
/** 设备认证编码 */
|
|
5247
|
+
device_record_id: string;
|
|
5248
|
+
/** 版本号 */
|
|
5249
|
+
version: string;
|
|
5250
|
+
/** 当前登录用户ID */
|
|
5251
|
+
current_user_id?: string;
|
|
5252
|
+
/** 设备名称 */
|
|
5253
|
+
device_name?: string;
|
|
5254
|
+
/** 设备型号 */
|
|
5255
|
+
model?: string;
|
|
5256
|
+
/** 操作系统 */
|
|
5257
|
+
device_system: 1 | 2 | 3 | 4 | 5 | 6;
|
|
5258
|
+
/** 生产序列号 */
|
|
5259
|
+
serial_number?: string;
|
|
5260
|
+
/** 硬盘序列号 */
|
|
5261
|
+
disk_serial_number?: string;
|
|
5262
|
+
/** 主板UUID */
|
|
5263
|
+
uuid?: string;
|
|
5264
|
+
/** MAC地址 */
|
|
5265
|
+
mac_address?: string;
|
|
5266
|
+
/** Android标识符 */
|
|
5267
|
+
android_id?: string;
|
|
5268
|
+
/** iOS供应商标识符 */
|
|
5269
|
+
idfv?: string;
|
|
5270
|
+
/** Harmony供应商标识符 */
|
|
5271
|
+
aaid?: string;
|
|
5272
|
+
/** 设备归属 */
|
|
5273
|
+
device_ownership: 0 | 1 | 2;
|
|
5274
|
+
/** 可信状态 */
|
|
5275
|
+
device_status: 0 | 1 | 2;
|
|
5276
|
+
/** 认证方式 */
|
|
5277
|
+
certification_level: 0 | 1 | 2;
|
|
5278
|
+
/** 设备类型 */
|
|
5279
|
+
device_terminal_type: 0 | 1 | 2;
|
|
5280
|
+
/** 最近登录用户ID */
|
|
5281
|
+
latest_user_id?: string;
|
|
5282
|
+
/** 设备指纹列表 */
|
|
5283
|
+
dids?: string[];
|
|
5284
|
+
}
|
|
5151
5285
|
export interface Diagram {
|
|
5152
5286
|
/** 绘图类型 */
|
|
5153
5287
|
diagram_type?: 1 | 2;
|
|
@@ -5244,6 +5378,14 @@ export interface DimensionOption {
|
|
|
5244
5378
|
/** 选项对应的分数 */
|
|
5245
5379
|
score_val?: number;
|
|
5246
5380
|
}
|
|
5381
|
+
export interface DimensionValueLookupInfo {
|
|
5382
|
+
/** 引用对象类型 */
|
|
5383
|
+
type?: string;
|
|
5384
|
+
/** 引用对象的id,可根据相关API查询到对象的完整信息 */
|
|
5385
|
+
id?: string;
|
|
5386
|
+
/** 引用对象的code,目前下面的对象会有code */
|
|
5387
|
+
code?: string;
|
|
5388
|
+
}
|
|
5247
5389
|
export interface DirectProjectLeaderRecordInfo {
|
|
5248
5390
|
/** 评估人 ID */
|
|
5249
5391
|
reviewer_id?: User;
|
|
@@ -5632,16 +5774,6 @@ export interface EmployeeEntity {
|
|
|
5632
5774
|
/** 员工工作信息 */
|
|
5633
5775
|
work_info?: EmployeeWorkEntity;
|
|
5634
5776
|
}
|
|
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
5777
|
export interface EmployeeJobData {
|
|
5646
5778
|
/** Employment ID */
|
|
5647
5779
|
employment_id: string;
|
|
@@ -5744,6 +5876,114 @@ export interface EmployeesAdditionalJobWriteResp {
|
|
|
5744
5876
|
/** 人员子类型 ID */
|
|
5745
5877
|
employee_subtype_id?: string;
|
|
5746
5878
|
}
|
|
5879
|
+
export interface EmployeesInternationalAssignment {
|
|
5880
|
+
/** 外派工作地点 ID - 可通过[【查询单个地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
|
|
5881
|
+
work_location_id?: string;
|
|
5882
|
+
/** 外派任职公司 ID- 可通过[【查询单个公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
|
|
5883
|
+
service_company?: string;
|
|
5884
|
+
/** 排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift */
|
|
5885
|
+
work_shift?: Enum;
|
|
5886
|
+
/** 工时制度ID- 可通过[【查询单个工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
|
|
5887
|
+
working_hours_type_id?: string;
|
|
5888
|
+
/** 人员类型ID- 可通过[【查询单个人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
|
|
5889
|
+
employee_type_id?: string;
|
|
5890
|
+
/** 周工作时长 */
|
|
5891
|
+
weekly_working_hours_v2?: number;
|
|
5892
|
+
/** 部门 ID- 可通过[【查询单个部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息- 类型与 department_id_type 一致 */
|
|
5893
|
+
department_id?: string;
|
|
5894
|
+
/** 职务 ID- 可通过[【查询单个职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
|
|
5895
|
+
job_id?: string;
|
|
5896
|
+
/** 序列 ID- 可通过[【查询单个序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
|
|
5897
|
+
job_family_id?: string;
|
|
5898
|
+
/** 职级 ID- 可通过[【查询单个职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
|
|
5899
|
+
job_level_id?: string;
|
|
5900
|
+
/** 职等 ID- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息 */
|
|
5901
|
+
job_grade_id?: string;
|
|
5902
|
+
/** 薪资类型 - 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type */
|
|
5903
|
+
compensation_type?: Enum;
|
|
5904
|
+
/** 直属上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
|
|
5905
|
+
direct_manager_id?: string;
|
|
5906
|
+
/** 虚线上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
|
|
5907
|
+
dotted_line_manager_id?: string;
|
|
5908
|
+
/** 工作日历 ID- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
|
|
5909
|
+
work_calendar_id?: string;
|
|
5910
|
+
/** 岗位 ID- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW) */
|
|
5911
|
+
position_id?: string;
|
|
5912
|
+
/** 雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
|
|
5913
|
+
employment_id?: string;
|
|
5914
|
+
/** 自定义字段- 请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
|
|
5915
|
+
custom_fields?: ObjectFieldData[];
|
|
5916
|
+
/** 外派原因说明 */
|
|
5917
|
+
international_assignment_reason?: string;
|
|
5918
|
+
/** 备注 */
|
|
5919
|
+
description?: string;
|
|
5920
|
+
/** 预计结束日期- 格式:yyyy-mm-dd */
|
|
5921
|
+
international_assignment_expected_end_date?: string;
|
|
5922
|
+
/** 外派状态- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_status */
|
|
5923
|
+
international_assignment_status?: Enum;
|
|
5924
|
+
/** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
|
|
5925
|
+
international_assignment_type?: Enum;
|
|
5926
|
+
/** 开始日期- 格式:yyyy-mm-dd */
|
|
5927
|
+
effective_time?: string;
|
|
5928
|
+
/** 结束日期- 格式:yyyy-mm-dd- 在外派未结束时,该值默认为 9999-12-31 */
|
|
5929
|
+
expiration_time?: string;
|
|
5930
|
+
/** 外派ID */
|
|
5931
|
+
id?: string;
|
|
5932
|
+
}
|
|
5933
|
+
export interface EmployeesInternationalAssignmentResp {
|
|
5934
|
+
/** 外派工作地点 ID - 可通过[【查询单个地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
|
|
5935
|
+
work_location_id?: string;
|
|
5936
|
+
/** 外派任职公司 ID- 可通过[【查询单个公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
|
|
5937
|
+
service_company?: string;
|
|
5938
|
+
/** 排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift */
|
|
5939
|
+
work_shift?: Enum;
|
|
5940
|
+
/** 工时制度ID- 可通过[【查询单个工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
|
|
5941
|
+
working_hours_type_id?: string;
|
|
5942
|
+
/** 人员类型ID- 可通过[【查询单个人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
|
|
5943
|
+
employee_type_id?: string;
|
|
5944
|
+
/** 周工作时长 */
|
|
5945
|
+
weekly_working_hours_v2?: number;
|
|
5946
|
+
/** 部门 ID- 可通过[【查询单个部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息- 类型与 department_id_type 一致 */
|
|
5947
|
+
department_id?: string;
|
|
5948
|
+
/** 职务 ID- 可通过[【查询单个职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
|
|
5949
|
+
job_id?: string;
|
|
5950
|
+
/** 序列 ID- 可通过[【查询单个序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
|
|
5951
|
+
job_family_id?: string;
|
|
5952
|
+
/** 职级 ID- 可通过[【查询单个职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
|
|
5953
|
+
job_level_id?: string;
|
|
5954
|
+
/** 职等 ID- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息 */
|
|
5955
|
+
job_grade_id?: string;
|
|
5956
|
+
/** 薪资类型 - 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type */
|
|
5957
|
+
compensation_type?: Enum;
|
|
5958
|
+
/** 直属上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
|
|
5959
|
+
direct_manager_id?: string;
|
|
5960
|
+
/** 虚线上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
|
|
5961
|
+
dotted_line_manager_id?: string;
|
|
5962
|
+
/** 工作日历 ID- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
|
|
5963
|
+
work_calendar_id?: string;
|
|
5964
|
+
/** 岗位 ID- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW) */
|
|
5965
|
+
position_id?: string;
|
|
5966
|
+
/** 雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
|
|
5967
|
+
employment_id?: string;
|
|
5968
|
+
/** 自定义字段- 请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
|
|
5969
|
+
custom_fields?: ObjectFieldData[];
|
|
5970
|
+
/** 外派原因说明 */
|
|
5971
|
+
international_assignment_reason?: string;
|
|
5972
|
+
/** 备注 */
|
|
5973
|
+
description?: string;
|
|
5974
|
+
/** 预计结束日期- 格式:yyyy-mm-dd */
|
|
5975
|
+
international_assignment_expected_end_date?: string;
|
|
5976
|
+
/** 外派状态- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_status */
|
|
5977
|
+
international_assignment_status?: Enum;
|
|
5978
|
+
/** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
|
|
5979
|
+
international_assignment_type?: Enum;
|
|
5980
|
+
/** 开始日期- 格式:yyyy-mm-dd */
|
|
5981
|
+
effective_time?: string;
|
|
5982
|
+
/** 结束日期- 格式:yyyy-mm-dd- 在外派未结束时,该值默认为 9999-12-31 */
|
|
5983
|
+
expiration_time?: string;
|
|
5984
|
+
/** 外派ID */
|
|
5985
|
+
id?: string;
|
|
5986
|
+
}
|
|
5747
5987
|
export declare const enum EmployeeStaffStatusDirectory {
|
|
5748
5988
|
/** 在职 */
|
|
5749
5989
|
EmployeeStaffStatusDirectoryUnResigned = 1,
|
|
@@ -6686,7 +6926,7 @@ export interface FieldVariableValueToFile {
|
|
|
6686
6926
|
/** 文件名称 */
|
|
6687
6927
|
file_name?: string;
|
|
6688
6928
|
/** 文件大小,单位:Byte */
|
|
6689
|
-
length?:
|
|
6929
|
+
length?: number;
|
|
6690
6930
|
/** 文件类型,如`application/pdf` */
|
|
6691
6931
|
mime_type?: string;
|
|
6692
6932
|
}
|
|
@@ -6725,6 +6965,8 @@ export interface FieldVariableValueToRecord {
|
|
|
6725
6965
|
variable_api_name?: string;
|
|
6726
6966
|
/** 变量值,对应subValues中的key */
|
|
6727
6967
|
sub_value_key?: string;
|
|
6968
|
+
/** 记录唯一ID */
|
|
6969
|
+
record_id?: string;
|
|
6728
6970
|
}
|
|
6729
6971
|
export interface File {
|
|
6730
6972
|
/** 附件 Token */
|
|
@@ -8394,6 +8636,34 @@ export interface JobFamily {
|
|
|
8394
8636
|
/** 职级序列ID */
|
|
8395
8637
|
job_family_id?: string;
|
|
8396
8638
|
}
|
|
8639
|
+
export interface JobFamilyTimeline {
|
|
8640
|
+
/** 序列版本信息 */
|
|
8641
|
+
job_family_version_data?: JobFamilyVersionData[];
|
|
8642
|
+
}
|
|
8643
|
+
export interface JobFamilyVersionData {
|
|
8644
|
+
/** 序列 ID */
|
|
8645
|
+
job_family_id?: string;
|
|
8646
|
+
/** 序列版本 ID */
|
|
8647
|
+
job_family_version_id?: string;
|
|
8648
|
+
/** 序列名称 */
|
|
8649
|
+
job_family_names?: I18n[];
|
|
8650
|
+
/** 生效日期 */
|
|
8651
|
+
effective_date?: string;
|
|
8652
|
+
/** 失效时间 */
|
|
8653
|
+
expiration_date?: string;
|
|
8654
|
+
/** 是否启用 */
|
|
8655
|
+
active?: boolean;
|
|
8656
|
+
/** 描述 */
|
|
8657
|
+
descriptions?: I18n[];
|
|
8658
|
+
/** 可选 */
|
|
8659
|
+
selectable?: boolean;
|
|
8660
|
+
/** 上级序列 */
|
|
8661
|
+
parent_job_family_id?: string;
|
|
8662
|
+
/** 通道 ID 列表 */
|
|
8663
|
+
pathway_ids?: string[];
|
|
8664
|
+
/** 编码 */
|
|
8665
|
+
code?: string;
|
|
8666
|
+
}
|
|
8397
8667
|
export interface JobFunction {
|
|
8398
8668
|
/** 职能分类 ID */
|
|
8399
8669
|
id?: string;
|
|
@@ -8632,6 +8902,10 @@ export interface JobStorefront {
|
|
|
8632
8902
|
/** 备注 */
|
|
8633
8903
|
remark?: I18n;
|
|
8634
8904
|
}
|
|
8905
|
+
export interface JobTimeline {
|
|
8906
|
+
/** 职务版本信息 */
|
|
8907
|
+
job_version_data?: JobVersionData[];
|
|
8908
|
+
}
|
|
8635
8909
|
export interface JobTitle {
|
|
8636
8910
|
/** 职务ID */
|
|
8637
8911
|
job_title_id?: string;
|
|
@@ -8656,6 +8930,34 @@ export interface JobUserInfo {
|
|
|
8656
8930
|
/** 名称 */
|
|
8657
8931
|
name?: I18n;
|
|
8658
8932
|
}
|
|
8933
|
+
export interface JobVersionData {
|
|
8934
|
+
/** 职务 ID */
|
|
8935
|
+
job_id?: string;
|
|
8936
|
+
/** 职务版本 ID */
|
|
8937
|
+
job_version_id?: string;
|
|
8938
|
+
/** 职务名称 */
|
|
8939
|
+
job_names?: I18n[];
|
|
8940
|
+
/** 生效日期 */
|
|
8941
|
+
effective_date?: string;
|
|
8942
|
+
/** 失效时间 */
|
|
8943
|
+
expiration_date?: string;
|
|
8944
|
+
/** 是否启用 */
|
|
8945
|
+
active?: boolean;
|
|
8946
|
+
/** 描述 */
|
|
8947
|
+
descriptions?: I18n[];
|
|
8948
|
+
/** 编码 */
|
|
8949
|
+
code?: string;
|
|
8950
|
+
/** 职务头衔 */
|
|
8951
|
+
job_titles?: I18n[];
|
|
8952
|
+
/** 序列 */
|
|
8953
|
+
job_family_ids?: string[];
|
|
8954
|
+
/** 职级 */
|
|
8955
|
+
job_level_ids?: string[];
|
|
8956
|
+
/** 通道ID */
|
|
8957
|
+
pathway_id?: string;
|
|
8958
|
+
/** 工时制度,引用WorkingHoursType的ID */
|
|
8959
|
+
working_hours_type_id?: string;
|
|
8960
|
+
}
|
|
8659
8961
|
export interface KeyresultData {
|
|
8660
8962
|
/** 关键举措 ID */
|
|
8661
8963
|
keyresult_id: string;
|
|
@@ -8938,6 +9240,12 @@ export interface LeaveType {
|
|
|
8938
9240
|
/** 假期类型的更新人,值为更新人的员工 ID */
|
|
8939
9241
|
updated_by: string;
|
|
8940
9242
|
}
|
|
9243
|
+
export interface Lifeline {
|
|
9244
|
+
/** 生命线长度 */
|
|
9245
|
+
size?: number;
|
|
9246
|
+
/** 生命线类型 */
|
|
9247
|
+
type?: string;
|
|
9248
|
+
}
|
|
8941
9249
|
export interface Link {
|
|
8942
9250
|
/** 超链接指向的 url (需要 url_encode) */
|
|
8943
9251
|
url: string;
|
|
@@ -9075,6 +9383,168 @@ export interface LookupWithAvatar {
|
|
|
9075
9383
|
/** 用户邮箱 */
|
|
9076
9384
|
email?: string;
|
|
9077
9385
|
}
|
|
9386
|
+
export interface LumpSumPayment {
|
|
9387
|
+
/** 一次性支付记录id */
|
|
9388
|
+
id?: string;
|
|
9389
|
+
/** 外部幂等id,由上游业务决定 */
|
|
9390
|
+
unique_id?: string;
|
|
9391
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
9392
|
+
user_id?: string;
|
|
9393
|
+
/** 总金额,字符串表达的数字 */
|
|
9394
|
+
total_amount?: string;
|
|
9395
|
+
/** 绑定期,单位为月 */
|
|
9396
|
+
binding_period?: number;
|
|
9397
|
+
/** 币种id */
|
|
9398
|
+
currency_id?: string;
|
|
9399
|
+
/** 发放次数 */
|
|
9400
|
+
issuance_frequency?: number;
|
|
9401
|
+
/** 薪酬项id */
|
|
9402
|
+
item_id?: string;
|
|
9403
|
+
/** 备注 */
|
|
9404
|
+
remark?: string;
|
|
9405
|
+
/** 发放规则描述文本 */
|
|
9406
|
+
issuance_detail_text?: I18n;
|
|
9407
|
+
/** 申请来源 */
|
|
9408
|
+
apply_source?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
9409
|
+
/** 应退回金额(税前) */
|
|
9410
|
+
return_amount_before_tax?: string;
|
|
9411
|
+
/** 应退回金额(税后) */
|
|
9412
|
+
return_amount_after_tax?: string;
|
|
9413
|
+
/** 绑定期内离职类型 */
|
|
9414
|
+
binding_period_offboarding_type?: 'yes' | 'no' | 'default';
|
|
9415
|
+
/** 创建时间 */
|
|
9416
|
+
create_time?: string;
|
|
9417
|
+
/** 更新时间 */
|
|
9418
|
+
modify_time?: string;
|
|
9419
|
+
/** 所属期开始日期 */
|
|
9420
|
+
reference_period_start_date?: string;
|
|
9421
|
+
/** 所属期结束日期 */
|
|
9422
|
+
reference_period_end_date?: string;
|
|
9423
|
+
/** 发放明细列表 */
|
|
9424
|
+
details?: LumpSumPaymentDetail[];
|
|
9425
|
+
/** 绑定期带小数 */
|
|
9426
|
+
binding_period_decimal?: string;
|
|
9427
|
+
}
|
|
9428
|
+
export interface LumpSumPaymentDetail {
|
|
9429
|
+
/** 一次性支付记录明细id */
|
|
9430
|
+
id?: string;
|
|
9431
|
+
/** 一次性支付记录id */
|
|
9432
|
+
record_id?: string;
|
|
9433
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
9434
|
+
user_id?: string;
|
|
9435
|
+
/** 一次性支付明细发放金额,可转数字的字符串 */
|
|
9436
|
+
issuance_amount?: string;
|
|
9437
|
+
/** 发放状态 */
|
|
9438
|
+
issuance_status?: 'to_be_issued' | 'not_issued';
|
|
9439
|
+
/** 发放方式 */
|
|
9440
|
+
issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus';
|
|
9441
|
+
/** 发放日期 */
|
|
9442
|
+
issuance_time?: string;
|
|
9443
|
+
/** 币种id */
|
|
9444
|
+
currency_id?: string;
|
|
9445
|
+
/** 申请发放日期 */
|
|
9446
|
+
belong_time?: string;
|
|
9447
|
+
/** 创建时间 */
|
|
9448
|
+
create_time?: string;
|
|
9449
|
+
/** 更新时间 */
|
|
9450
|
+
modify_time?: string;
|
|
9451
|
+
/** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
9452
|
+
issuance_country_region_id?: string;
|
|
9453
|
+
/** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
|
|
9454
|
+
issuance_pay_group_id?: string;
|
|
9455
|
+
}
|
|
9456
|
+
export interface LumpSumPaymentDetailForCreate {
|
|
9457
|
+
/** 一次性支付明细发放金额,可转数字的字符串 */
|
|
9458
|
+
issuance_amount: string;
|
|
9459
|
+
/** 发放状态 */
|
|
9460
|
+
issuance_status: 'to_be_issued' | 'not_issued';
|
|
9461
|
+
/** 发放方式 */
|
|
9462
|
+
issuance_way: 'with_salary' | 'with_cash' | 'with_year_end_bonus';
|
|
9463
|
+
/** 发放日期 */
|
|
9464
|
+
issuance_time: string;
|
|
9465
|
+
/** 申请发放日期 */
|
|
9466
|
+
belong_time: string;
|
|
9467
|
+
/** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
9468
|
+
issuance_country_region_id?: string;
|
|
9469
|
+
/** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
|
|
9470
|
+
issuance_pay_group_id?: string;
|
|
9471
|
+
}
|
|
9472
|
+
export interface LumpSumPaymentDetailForUpdate {
|
|
9473
|
+
/** 一次性支付记录明细id。传入已有的id代表直接在原明细上进行更新,不传则代表创建新的明细 */
|
|
9474
|
+
id?: string;
|
|
9475
|
+
/** 一次性支付明细发放金额,可转数字的字符串 */
|
|
9476
|
+
issuance_amount?: string;
|
|
9477
|
+
/** 发放状态 */
|
|
9478
|
+
issuance_status?: 'to_be_issued' | 'not_issued';
|
|
9479
|
+
/** 发放方式 */
|
|
9480
|
+
issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus';
|
|
9481
|
+
/** 发放日期 */
|
|
9482
|
+
issuance_time?: string;
|
|
9483
|
+
/** 申请发放日期 */
|
|
9484
|
+
belong_time?: string;
|
|
9485
|
+
/** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
9486
|
+
issuance_country_region_id?: string;
|
|
9487
|
+
/** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
|
|
9488
|
+
issuance_pay_group_id?: string;
|
|
9489
|
+
}
|
|
9490
|
+
export interface LumpSumPaymentForCreate {
|
|
9491
|
+
/** 外部幂等id,由上游业务决定 */
|
|
9492
|
+
unique_id: string;
|
|
9493
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
9494
|
+
user_id: string;
|
|
9495
|
+
/** 总金额,字符串表达的数字 */
|
|
9496
|
+
total_amount: string;
|
|
9497
|
+
/** 绑定期,单位为月 */
|
|
9498
|
+
binding_period: number;
|
|
9499
|
+
/** 币种id */
|
|
9500
|
+
currency_id: string;
|
|
9501
|
+
/** 发放次数,必须与 details 的长度一致 */
|
|
9502
|
+
issuance_frequency: number;
|
|
9503
|
+
/** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
|
|
9504
|
+
item_id: string;
|
|
9505
|
+
/** 所属期开始日期 */
|
|
9506
|
+
reference_period_start_date?: string;
|
|
9507
|
+
/** 所属期结束日期 */
|
|
9508
|
+
reference_period_end_date?: string;
|
|
9509
|
+
/** 发放明细列表 */
|
|
9510
|
+
details: LumpSumPaymentDetailForCreate[];
|
|
9511
|
+
/** 备注 */
|
|
9512
|
+
remark?: string;
|
|
9513
|
+
/** 绑定期带小数 */
|
|
9514
|
+
binding_period_decimal?: string;
|
|
9515
|
+
}
|
|
9516
|
+
export interface LumpSumPaymentForUpdate {
|
|
9517
|
+
/** 一次性支付记录id */
|
|
9518
|
+
id?: string;
|
|
9519
|
+
/** 总金额,字符串表达的数字 */
|
|
9520
|
+
total_amount: string;
|
|
9521
|
+
/** 绑定期,单位为月 */
|
|
9522
|
+
binding_period?: number;
|
|
9523
|
+
/** 币种id */
|
|
9524
|
+
currency_id: string;
|
|
9525
|
+
/** 发放次数,必须与details的长度一致 */
|
|
9526
|
+
issuance_frequency: number;
|
|
9527
|
+
/** 备注 */
|
|
9528
|
+
remark?: string;
|
|
9529
|
+
/** 所属期开始日期 */
|
|
9530
|
+
reference_period_start_date?: string;
|
|
9531
|
+
/** 所属期结束日期 */
|
|
9532
|
+
reference_period_end_date?: string;
|
|
9533
|
+
/** 发放明细列表 */
|
|
9534
|
+
details: LumpSumPaymentDetailForUpdate[];
|
|
9535
|
+
/** 绑定期带小数 */
|
|
9536
|
+
binding_period_decimal?: string;
|
|
9537
|
+
}
|
|
9538
|
+
export interface LumpSumPaymentOperateResult {
|
|
9539
|
+
/** 操作的记录的 id */
|
|
9540
|
+
id?: string;
|
|
9541
|
+
/** 操作的记录的 unique_id */
|
|
9542
|
+
unique_id?: string;
|
|
9543
|
+
/** 操作结果状态码 */
|
|
9544
|
+
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;
|
|
9545
|
+
/** 操作结果描述 */
|
|
9546
|
+
message?: string;
|
|
9547
|
+
}
|
|
9078
9548
|
export interface Machine {
|
|
9079
9549
|
/** 考勤机序列号 */
|
|
9080
9550
|
machine_sn: string;
|
|
@@ -9674,9 +10144,49 @@ export interface MetricTemplate {
|
|
|
9674
10144
|
/** 人群分组 */
|
|
9675
10145
|
groups?: MetricGroup[];
|
|
9676
10146
|
}
|
|
9677
|
-
export
|
|
9678
|
-
/**
|
|
9679
|
-
|
|
10147
|
+
export declare const enum MindMapLayout {
|
|
10148
|
+
/** 上下布局 */
|
|
10149
|
+
UpDown = "up_down",
|
|
10150
|
+
/** 左右布局 */
|
|
10151
|
+
LeftRight = "left_right",
|
|
10152
|
+
/** 左树布局 */
|
|
10153
|
+
TreeLeft = "tree_left",
|
|
10154
|
+
/** 右树布局 */
|
|
10155
|
+
TreeRight = "tree_right",
|
|
10156
|
+
/** 左右交替平衡树布局 */
|
|
10157
|
+
TreeBalance = "tree_balance",
|
|
10158
|
+
/** 垂直时间线布局 */
|
|
10159
|
+
VerticalTimeLine = "vertical_time_line",
|
|
10160
|
+
/** 水平时间线布局 */
|
|
10161
|
+
HorizontalTimeLine = "horizontal_time_line"
|
|
10162
|
+
}
|
|
10163
|
+
export interface MindMapNode {
|
|
10164
|
+
/** 思维导图节点的父节点,必须为思维导图节点 */
|
|
10165
|
+
parent_id: string;
|
|
10166
|
+
/** 思维导图节点图形类型 */
|
|
10167
|
+
type?: MindMapType;
|
|
10168
|
+
/** 思维导图节点在兄弟节点中的位置index */
|
|
10169
|
+
z_index?: number;
|
|
10170
|
+
/** 子节点相对根节点的方向(根节点下的子节点设置才生效) */
|
|
10171
|
+
layout_position?: 'left' | 'right' | 'up' | 'down';
|
|
10172
|
+
/** 是否收起子节点 */
|
|
10173
|
+
collapsed?: boolean;
|
|
10174
|
+
}
|
|
10175
|
+
export interface MindMapRoot {
|
|
10176
|
+
/** 思维导图布局方式 */
|
|
10177
|
+
layout?: MindMapLayout;
|
|
10178
|
+
/** 思维导图根节点图形类型 */
|
|
10179
|
+
type?: MindMapType;
|
|
10180
|
+
/** 思维导图图形连接线样式 */
|
|
10181
|
+
line_style?: 'curve' | 'right_angle' | 'round_angle';
|
|
10182
|
+
}
|
|
10183
|
+
export declare const enum MindMapType {
|
|
10184
|
+
/** 思维导图文本节点类型 */
|
|
10185
|
+
MindMapText = "mind_map_text",
|
|
10186
|
+
/** 思维导图全圆角矩形节点类型 */
|
|
10187
|
+
MindMapFullRoundRect = "mind_map_full_round_rect",
|
|
10188
|
+
/** 思维导图矩形节点类型 */
|
|
10189
|
+
MindMapRoundRect = "mind_map_round_rect"
|
|
9680
10190
|
}
|
|
9681
10191
|
export interface Mindnote {
|
|
9682
10192
|
/** 思维导图 token */
|
|
@@ -10278,6 +10788,18 @@ export interface OfferApplyFormSchema {
|
|
|
10278
10788
|
/** 模块列表 */
|
|
10279
10789
|
module_list?: OfferApplyFormModuleInfo[];
|
|
10280
10790
|
}
|
|
10791
|
+
export interface OfferApprovalTemplate {
|
|
10792
|
+
/** ID */
|
|
10793
|
+
id?: string;
|
|
10794
|
+
/** 名称 */
|
|
10795
|
+
name?: I18n;
|
|
10796
|
+
/** 创建时间 */
|
|
10797
|
+
create_time?: string;
|
|
10798
|
+
/** 备注 */
|
|
10799
|
+
remark?: string;
|
|
10800
|
+
/** 适用部门 */
|
|
10801
|
+
department_list?: Department[];
|
|
10802
|
+
}
|
|
10281
10803
|
export interface OfferAttachmentInfo {
|
|
10282
10804
|
/** Offer 附件 ID */
|
|
10283
10805
|
id?: string;
|
|
@@ -11063,6 +11585,22 @@ export interface PageResponse {
|
|
|
11063
11585
|
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
11064
11586
|
page_token?: string;
|
|
11065
11587
|
}
|
|
11588
|
+
export interface Paint {
|
|
11589
|
+
/** 画笔类型 */
|
|
11590
|
+
type?: PaintType;
|
|
11591
|
+
/** 画板线段,由系列坐标点表示 */
|
|
11592
|
+
lines?: Point[];
|
|
11593
|
+
/** 画笔粗细,单位px */
|
|
11594
|
+
width?: number;
|
|
11595
|
+
/** 画笔颜色 */
|
|
11596
|
+
color?: string;
|
|
11597
|
+
}
|
|
11598
|
+
export declare const enum PaintType {
|
|
11599
|
+
/** 马克笔 */
|
|
11600
|
+
Marker = "marker",
|
|
11601
|
+
/** 高亮笔 */
|
|
11602
|
+
Highlight = "highlight"
|
|
11603
|
+
}
|
|
11066
11604
|
export interface Participant {
|
|
11067
11605
|
/** 参会者 */
|
|
11068
11606
|
participant_name?: string;
|
|
@@ -11153,6 +11691,18 @@ export interface PatchTagFailReason {
|
|
|
11153
11691
|
/** 名称重复的标签id */
|
|
11154
11692
|
duplicate_id?: string;
|
|
11155
11693
|
}
|
|
11694
|
+
export interface Pathway {
|
|
11695
|
+
/** 通道 ID */
|
|
11696
|
+
pathway_id?: string;
|
|
11697
|
+
/** 编码 */
|
|
11698
|
+
code?: string;
|
|
11699
|
+
/** 名称 */
|
|
11700
|
+
names?: I18n[];
|
|
11701
|
+
/** 描述 */
|
|
11702
|
+
descriptions?: I18n[];
|
|
11703
|
+
/** 启用 */
|
|
11704
|
+
active?: boolean;
|
|
11705
|
+
}
|
|
11156
11706
|
export interface Paygroup {
|
|
11157
11707
|
/** 薪资组ID */
|
|
11158
11708
|
pay_group_id: string;
|
|
@@ -11487,6 +12037,16 @@ export interface Phrase {
|
|
|
11487
12037
|
/** 实体词所在位置 */
|
|
11488
12038
|
span: Span;
|
|
11489
12039
|
}
|
|
12040
|
+
export interface Pie {
|
|
12041
|
+
/** 开始径向边角度,水平向右x轴正方向为0度,顺时针方向角度值递增 */
|
|
12042
|
+
start_radial_line_angle: number;
|
|
12043
|
+
/** 圆心角角度,角度方向为始径向边逆时针方向 */
|
|
12044
|
+
central_angle: number;
|
|
12045
|
+
/** 半径长度 */
|
|
12046
|
+
radius: number;
|
|
12047
|
+
/** 扇区占比,0为一个圆周线,1为一个圆盘 */
|
|
12048
|
+
sector_ratio?: number;
|
|
12049
|
+
}
|
|
11490
12050
|
export interface Pin {
|
|
11491
12051
|
/** Pin的消息ID */
|
|
11492
12052
|
message_id: string;
|
|
@@ -11573,6 +12133,12 @@ export interface PlusMenu {
|
|
|
11573
12133
|
/** 移动端链接 */
|
|
11574
12134
|
mobile_app_link?: string;
|
|
11575
12135
|
}
|
|
12136
|
+
export interface Point {
|
|
12137
|
+
/** 点位置x坐标 */
|
|
12138
|
+
x?: number;
|
|
12139
|
+
/** 点位置y坐标 */
|
|
12140
|
+
y?: number;
|
|
12141
|
+
}
|
|
11576
12142
|
export interface PortalJobPost {
|
|
11577
12143
|
/** 职位广告 ID */
|
|
11578
12144
|
id?: string;
|
|
@@ -11629,6 +12195,134 @@ export interface PortalJobPost {
|
|
|
11629
12195
|
/** 职位广告地址列表 */
|
|
11630
12196
|
address_list?: CommonAddress[];
|
|
11631
12197
|
}
|
|
12198
|
+
export interface Position {
|
|
12199
|
+
/** 岗位 ID */
|
|
12200
|
+
position_id?: string;
|
|
12201
|
+
/** 编码 */
|
|
12202
|
+
code?: string;
|
|
12203
|
+
/** 名称 */
|
|
12204
|
+
names?: I18n[];
|
|
12205
|
+
/** 描述 */
|
|
12206
|
+
descriptions?: I18n[];
|
|
12207
|
+
/** 状态 */
|
|
12208
|
+
active: boolean;
|
|
12209
|
+
/** 序列 */
|
|
12210
|
+
job_family_id_list?: string[];
|
|
12211
|
+
/** 成本中心 */
|
|
12212
|
+
cost_center_id?: string;
|
|
12213
|
+
/** 职务 */
|
|
12214
|
+
job_id?: string;
|
|
12215
|
+
/** 职级 */
|
|
12216
|
+
job_level_id_list?: string[];
|
|
12217
|
+
/** 人员类型 */
|
|
12218
|
+
employee_type_id_list?: string[];
|
|
12219
|
+
/** 职等 */
|
|
12220
|
+
job_grade_id_list?: string[];
|
|
12221
|
+
/** 工作地点 */
|
|
12222
|
+
work_location_id_list?: string[];
|
|
12223
|
+
/** 工时制度 */
|
|
12224
|
+
working_hours_type_id?: string;
|
|
12225
|
+
/** 部门 */
|
|
12226
|
+
department_id: string;
|
|
12227
|
+
/** 直属上级岗位 */
|
|
12228
|
+
direct_leader_id?: string;
|
|
12229
|
+
/** 虚线上级岗位 */
|
|
12230
|
+
dotted_line_leader_id?: string;
|
|
12231
|
+
/** 是否关键岗位 */
|
|
12232
|
+
is_key_position?: boolean;
|
|
12233
|
+
/** 生效日期 */
|
|
12234
|
+
effective_time: string;
|
|
12235
|
+
/** 失效日期 */
|
|
12236
|
+
expiration_time: string;
|
|
12237
|
+
/** 自定义字段 */
|
|
12238
|
+
custom_fields?: CustomFieldData[];
|
|
12239
|
+
/** 创建人 */
|
|
12240
|
+
created_by?: string;
|
|
12241
|
+
}
|
|
12242
|
+
export interface PositionAdjustmentInfo {
|
|
12243
|
+
/** 原序列 ID */
|
|
12244
|
+
original_job_families?: string[];
|
|
12245
|
+
/** 新序列 ID */
|
|
12246
|
+
target_job_families?: string[];
|
|
12247
|
+
/** 原所属部门 ID */
|
|
12248
|
+
original_department?: string;
|
|
12249
|
+
/** 新所属部门 ID */
|
|
12250
|
+
target_department?: string;
|
|
12251
|
+
/** 新所属部门 ID,新建部门审批完成前会返回 td_xxx 的临时 ID */
|
|
12252
|
+
target_draft_department?: string;
|
|
12253
|
+
/** 原岗位默认成本中心 ID */
|
|
12254
|
+
original_cost_center?: string;
|
|
12255
|
+
/** 新岗位默认成本中心 ID */
|
|
12256
|
+
target_cost_center?: string;
|
|
12257
|
+
/** 原工时制度 ID */
|
|
12258
|
+
original_working_hours_type?: string;
|
|
12259
|
+
/** 新工时制度 ID */
|
|
12260
|
+
target_working_hours_type?: string;
|
|
12261
|
+
/** 原职务 ID */
|
|
12262
|
+
original_job?: string;
|
|
12263
|
+
/** 新职务 ID */
|
|
12264
|
+
target_job?: string;
|
|
12265
|
+
/** 原是否关键岗位 */
|
|
12266
|
+
original_is_key_position?: boolean;
|
|
12267
|
+
/** 新是否关键岗位 */
|
|
12268
|
+
target_is_key_position?: boolean;
|
|
12269
|
+
/** 原人员类型 ID */
|
|
12270
|
+
original_employee_types?: string[];
|
|
12271
|
+
/** 新人员类型 ID */
|
|
12272
|
+
target_employee_types?: string[];
|
|
12273
|
+
/** 原名称 */
|
|
12274
|
+
original_names?: I18n[];
|
|
12275
|
+
/** 新名称 */
|
|
12276
|
+
target_names?: I18n[];
|
|
12277
|
+
/** 原职等 ID */
|
|
12278
|
+
original_job_grades?: string[];
|
|
12279
|
+
/** 新职等 ID */
|
|
12280
|
+
target_job_grades?: string[];
|
|
12281
|
+
/** 原编码 */
|
|
12282
|
+
original_code?: string;
|
|
12283
|
+
/** 新编码 */
|
|
12284
|
+
target_code?: string;
|
|
12285
|
+
/** 原职级 ID */
|
|
12286
|
+
original_job_levels?: string[];
|
|
12287
|
+
/** 新职级 ID */
|
|
12288
|
+
target_job_levels?: string[];
|
|
12289
|
+
/** 原状态 */
|
|
12290
|
+
original_active?: boolean;
|
|
12291
|
+
/** 新状态 */
|
|
12292
|
+
target_active?: boolean;
|
|
12293
|
+
/** 原直线上级(岗位) ID */
|
|
12294
|
+
original_direct_leader?: string;
|
|
12295
|
+
/** 新直线上级(岗位) ID */
|
|
12296
|
+
target_direct_leader?: string;
|
|
12297
|
+
/** 新直线上级(岗位) ID,新建岗位审批完成前会返回 td_xxx 的临时 ID */
|
|
12298
|
+
target_draft_direct_leader?: string;
|
|
12299
|
+
/** 原工作地点 ID */
|
|
12300
|
+
original_work_locations?: string[];
|
|
12301
|
+
/** 新工作地点 ID */
|
|
12302
|
+
target_work_locations?: string[];
|
|
12303
|
+
/** 原描述 */
|
|
12304
|
+
original_descriptions?: I18n[];
|
|
12305
|
+
/** 新描述 */
|
|
12306
|
+
target_descriptions?: I18n[];
|
|
12307
|
+
/** 原部门全路径,从根部门开始自上而下返回部门 ID 列表 */
|
|
12308
|
+
original_department_id_paths?: OrgdraftDepartmentId[];
|
|
12309
|
+
/** 新部门全路径,从根部门开始自上而下返回部门 ID 列表 */
|
|
12310
|
+
target_department_id_paths?: OrgdraftDepartmentId[];
|
|
12311
|
+
/** 自定义字段 */
|
|
12312
|
+
custom_fields?: ChangeFieldPair[];
|
|
12313
|
+
}
|
|
12314
|
+
export interface PositionChange {
|
|
12315
|
+
/** 岗位调整记录 ID */
|
|
12316
|
+
position_change_id?: string;
|
|
12317
|
+
/** 岗位 ID */
|
|
12318
|
+
position_id?: string;
|
|
12319
|
+
/** 调整过程岗位 ID 。对于在本次调整中新建的岗位,在调整未生效前会返回格式为 td_xxx 的过程岗位 ID,生效后将返回正式的岗位 ID */
|
|
12320
|
+
draft_position_id?: string;
|
|
12321
|
+
/** 调整类型 */
|
|
12322
|
+
position_change_type?: 'Unknown' | 'Create' | 'Modify' | 'Inactive';
|
|
12323
|
+
/** 调整详细信息 */
|
|
12324
|
+
position_adjustment_info?: PositionAdjustmentInfo;
|
|
12325
|
+
}
|
|
11632
12326
|
export interface Post {
|
|
11633
12327
|
/** 发帖用户ID */
|
|
11634
12328
|
user_id?: string;
|
|
@@ -12085,6 +12779,12 @@ export interface ProcessFormVariableV2 {
|
|
|
12085
12779
|
/** 在list_values和record_values中引用的变量 */
|
|
12086
12780
|
sub_values?: FieldVariableSubVlaueForReview[];
|
|
12087
12781
|
}
|
|
12782
|
+
export interface ProcessInfo {
|
|
12783
|
+
/** 组织架构调整流程 ID */
|
|
12784
|
+
process_id?: string;
|
|
12785
|
+
/** 组织架构调整流程状态 */
|
|
12786
|
+
approval_group_status?: '0' | '1' | '2' | '3' | '4' | '5';
|
|
12787
|
+
}
|
|
12088
12788
|
export interface ProcessLink {
|
|
12089
12789
|
/** web端单据详情页地址 */
|
|
12090
12790
|
web_link?: string;
|
|
@@ -12926,6 +13626,84 @@ export interface RecRuleCondition {
|
|
|
12926
13626
|
/** 单选或多选字段的选项id */
|
|
12927
13627
|
values?: string[];
|
|
12928
13628
|
}
|
|
13629
|
+
export interface RecurringPayment {
|
|
13630
|
+
/** 经常性支付记录id */
|
|
13631
|
+
id?: string;
|
|
13632
|
+
/** 外部幂等id,由上游业务决定 */
|
|
13633
|
+
unique_id?: string;
|
|
13634
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
13635
|
+
user_id?: string;
|
|
13636
|
+
/** 薪酬项id */
|
|
13637
|
+
item_id?: string;
|
|
13638
|
+
/** 发放方式 */
|
|
13639
|
+
issuance_type?: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus';
|
|
13640
|
+
/** 单次发放金额 */
|
|
13641
|
+
each_amount?: string;
|
|
13642
|
+
/** 发放开始日期 */
|
|
13643
|
+
start_date?: string;
|
|
13644
|
+
/** 发放结束日期 */
|
|
13645
|
+
end_date?: string;
|
|
13646
|
+
/** 发放频率 */
|
|
13647
|
+
issuance_period?: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour';
|
|
13648
|
+
/** 币种id */
|
|
13649
|
+
currency_id?: string;
|
|
13650
|
+
/** 备注 */
|
|
13651
|
+
remark?: string;
|
|
13652
|
+
/** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
13653
|
+
issuance_country_region_id?: string;
|
|
13654
|
+
}
|
|
13655
|
+
export interface RecurringPaymentForCreate {
|
|
13656
|
+
/** 外部幂等id,由上游业务决定 */
|
|
13657
|
+
unique_id: string;
|
|
13658
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
13659
|
+
user_id: string;
|
|
13660
|
+
/** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
|
|
13661
|
+
item_id: string;
|
|
13662
|
+
/** 每次发放金额 */
|
|
13663
|
+
each_amount: string;
|
|
13664
|
+
/** 发放开始时间 */
|
|
13665
|
+
start_date: string;
|
|
13666
|
+
/** 发放结束时间 */
|
|
13667
|
+
end_date: string;
|
|
13668
|
+
/** 币种id */
|
|
13669
|
+
currency_id: string;
|
|
13670
|
+
/** 发放方式 */
|
|
13671
|
+
issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus';
|
|
13672
|
+
/** 发放频率 */
|
|
13673
|
+
issuance_period: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour';
|
|
13674
|
+
/** 备注 */
|
|
13675
|
+
remark?: string;
|
|
13676
|
+
/** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
13677
|
+
issuance_country_region_id?: string;
|
|
13678
|
+
}
|
|
13679
|
+
export interface RecurringPaymentForUpdate {
|
|
13680
|
+
/** 经常性支付记录id */
|
|
13681
|
+
id: string;
|
|
13682
|
+
/** 每次发放金额 */
|
|
13683
|
+
each_amount: string;
|
|
13684
|
+
/** 发放开始时间 */
|
|
13685
|
+
start_date: string;
|
|
13686
|
+
/** 发放结束时间 */
|
|
13687
|
+
end_date: string;
|
|
13688
|
+
/** 币种id */
|
|
13689
|
+
currency_id: string;
|
|
13690
|
+
/** 发放方式 */
|
|
13691
|
+
issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus';
|
|
13692
|
+
/** 原因 */
|
|
13693
|
+
remark?: string;
|
|
13694
|
+
/** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
|
|
13695
|
+
issuance_country_region_id?: string;
|
|
13696
|
+
}
|
|
13697
|
+
export interface RecurringPaymentOperateResult {
|
|
13698
|
+
/** 操作记录的id */
|
|
13699
|
+
id?: string;
|
|
13700
|
+
/** 操作的记录的 unique_id */
|
|
13701
|
+
unique_id?: string;
|
|
13702
|
+
/** 操作结果状态码 */
|
|
13703
|
+
code?: 0 | 21280001 | 21280002 | 21280003 | 21270304 | 21270305 | 21270306 | 21270307 | 21270308 | 21270309 | 21270310 | 21270311 | 21270312 | 21270313 | 21270314 | 21270315 | 21270316 | 21270317 | 21270318;
|
|
13704
|
+
/** 操作结果描述 */
|
|
13705
|
+
message?: string;
|
|
13706
|
+
}
|
|
12929
13707
|
export interface ReferenceObject {
|
|
12930
13708
|
/** cpst_item(项目)、 cpst_indicator(指标) */
|
|
12931
13709
|
api_name?: 'cpst_item' | 'cpst_indicator';
|
|
@@ -14470,6 +15248,152 @@ export interface SkillGlobalVariable {
|
|
|
14470
15248
|
/** 渠道信息 */
|
|
14471
15249
|
channel?: Channel;
|
|
14472
15250
|
}
|
|
15251
|
+
export declare const enum SnapTo {
|
|
15252
|
+
/** 连接方向自动匹配 */
|
|
15253
|
+
Auto = "auto",
|
|
15254
|
+
/** 连接图形顶部方向 */
|
|
15255
|
+
Top = "top",
|
|
15256
|
+
/** 连接图形右边方向 */
|
|
15257
|
+
Right = "right",
|
|
15258
|
+
/** 连接图形底部方向 */
|
|
15259
|
+
Bottom = "bottom",
|
|
15260
|
+
/** 连接图形左边方向 */
|
|
15261
|
+
Left = "left"
|
|
15262
|
+
}
|
|
15263
|
+
export interface SocialArchive {
|
|
15264
|
+
/** 员工ID */
|
|
15265
|
+
user_id: string;
|
|
15266
|
+
/** 员工参保档案,包含社保、公积金档案 */
|
|
15267
|
+
details: SocialArchiveDetail[];
|
|
15268
|
+
}
|
|
15269
|
+
export interface SocialArchiveAdjustRecord {
|
|
15270
|
+
/** 员工ID */
|
|
15271
|
+
user_id?: string;
|
|
15272
|
+
/** 类型,increase: 增员; attrition: 减员 */
|
|
15273
|
+
record_type?: 'increase' | 'attrition';
|
|
15274
|
+
/** 员工增减员记录,包括社保、公积金记录 */
|
|
15275
|
+
details?: SocialArchiveDetail[];
|
|
15276
|
+
}
|
|
15277
|
+
export interface SocialArchiveDetail {
|
|
15278
|
+
/** 调整说明 */
|
|
15279
|
+
description: I18n;
|
|
15280
|
+
/** 类型。social_insurance: 社保; provident_fund: 公积金 */
|
|
15281
|
+
insurance_type: 'social_insurance' | 'provident_fund';
|
|
15282
|
+
/** 参保状态,非「参保」状态下,基数、险种数据等为空 */
|
|
15283
|
+
insurance_status: 'contribution' | 'not_contribution' | 'stopped_contribution';
|
|
15284
|
+
/** 档案时间轴对象ID,仅参保档案对象会包含 */
|
|
15285
|
+
id?: string;
|
|
15286
|
+
/** 档案时间轴对象版本ID,仅参保档案对象会包含 */
|
|
15287
|
+
tid?: string;
|
|
15288
|
+
/** 参保方案ID,详细信息可通过「查询参保方案」接口获取 */
|
|
15289
|
+
plan_id?: string;
|
|
15290
|
+
/** 参保方案版本ID */
|
|
15291
|
+
plan_tid?: string;
|
|
15292
|
+
/** 参保城市ID,可通过获取地点信息接口查询详细信息 */
|
|
15293
|
+
location_id?: string;
|
|
15294
|
+
/** 社保缴纳主体ID,可通过获取公司主体接口查询详细信息 */
|
|
15295
|
+
company_id?: string;
|
|
15296
|
+
/** 社保账户类型 */
|
|
15297
|
+
account_type?: 'associated_company' | 'supplier';
|
|
15298
|
+
/** 社保账号 */
|
|
15299
|
+
insurance_account?: string;
|
|
15300
|
+
/** 申报缴纳基数 */
|
|
15301
|
+
base_salary?: string;
|
|
15302
|
+
/** 险种数据详情 */
|
|
15303
|
+
insurance_details?: SocialArchiveItem[];
|
|
15304
|
+
/** 档案生效时间,HHHH-MM-DD */
|
|
15305
|
+
effective_date?: string;
|
|
15306
|
+
}
|
|
15307
|
+
export interface SocialArchiveItem {
|
|
15308
|
+
/** 险种ID,详细信息可通过社保险种接口查询 */
|
|
15309
|
+
insurance_id: string;
|
|
15310
|
+
/** 企业缴纳金额 */
|
|
15311
|
+
company_deduction: string;
|
|
15312
|
+
/** 险种缴纳配置 */
|
|
15313
|
+
company_setting: SocialPlanItemSetting;
|
|
15314
|
+
/** 企业缴纳金额 */
|
|
15315
|
+
personal_deduction: string;
|
|
15316
|
+
/** 险种缴纳配置 */
|
|
15317
|
+
personal_setting: SocialPlanItemSetting;
|
|
15318
|
+
/** 缴纳频率 */
|
|
15319
|
+
payment_frequency: 'annually' | 'monthly' | 'quarterly';
|
|
15320
|
+
/** 缴纳月份 */
|
|
15321
|
+
payment_months: number[];
|
|
15322
|
+
}
|
|
15323
|
+
export interface SocialInsurance {
|
|
15324
|
+
/** 险种唯一ID */
|
|
15325
|
+
id: string;
|
|
15326
|
+
/** 险种名称 */
|
|
15327
|
+
name: I18n;
|
|
15328
|
+
/** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
|
|
15329
|
+
insurance_type: 'social_insurance' | 'provident_fund';
|
|
15330
|
+
/** 启用状态 */
|
|
15331
|
+
active: boolean;
|
|
15332
|
+
/** 是否为系统预置险种。养老保险、医疗保险、失业保险、工伤保险、生育保险、住房公积金为系统预置险种。 */
|
|
15333
|
+
is_system: boolean;
|
|
15334
|
+
}
|
|
15335
|
+
export interface SocialPlan {
|
|
15336
|
+
/** 参保方案ID */
|
|
15337
|
+
plan_id: string;
|
|
15338
|
+
/** 参保方案版本ID */
|
|
15339
|
+
plan_tid: string;
|
|
15340
|
+
/** 参保方案名称 */
|
|
15341
|
+
name: I18n;
|
|
15342
|
+
/** 生效时间,HHHH-MM-DD */
|
|
15343
|
+
effective_date: string;
|
|
15344
|
+
/** 是否启用 */
|
|
15345
|
+
active: boolean;
|
|
15346
|
+
/** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
|
|
15347
|
+
insurance_type: 'social_insurance' | 'provident_fund';
|
|
15348
|
+
/** 参保方案适用范围 */
|
|
15349
|
+
scope?: SocialPlanScope;
|
|
15350
|
+
/** 参保信息 */
|
|
15351
|
+
item_detail: SocialPlanItemDetail[];
|
|
15352
|
+
/** 备注 */
|
|
15353
|
+
remark: I18n;
|
|
15354
|
+
}
|
|
15355
|
+
export interface SocialPlanCondition {
|
|
15356
|
+
/** 适用范围左值 */
|
|
15357
|
+
left_type?: 1 | 2;
|
|
15358
|
+
/** 适用范围操作 */
|
|
15359
|
+
operator?: 1 | 2;
|
|
15360
|
+
/** 适用范围右值 */
|
|
15361
|
+
right_values?: string[];
|
|
15362
|
+
}
|
|
15363
|
+
export interface SocialPlanItemDetail {
|
|
15364
|
+
/** 险种ID,详细信息可通过社保险种接口查询 */
|
|
15365
|
+
item_id: string;
|
|
15366
|
+
/** 险种名 */
|
|
15367
|
+
item_name: I18n;
|
|
15368
|
+
/** 险种缴纳配置 */
|
|
15369
|
+
item_setting_of_person: SocialPlanItemSetting;
|
|
15370
|
+
/** 险种缴纳配置 */
|
|
15371
|
+
item_setting_of_company: SocialPlanItemSetting;
|
|
15372
|
+
/** 缴纳频率 */
|
|
15373
|
+
payment_frequency: 'annually' | 'monthly' | 'quarterly';
|
|
15374
|
+
/** 缴纳月份 */
|
|
15375
|
+
payment_months: number[];
|
|
15376
|
+
}
|
|
15377
|
+
export interface SocialPlanItemSetting {
|
|
15378
|
+
/** 基数下限,浮点数,保留二位小数 */
|
|
15379
|
+
lower_limit: string;
|
|
15380
|
+
/** 基数上限,浮点数,保留二位小数 */
|
|
15381
|
+
upper_limit: string;
|
|
15382
|
+
/** 缴纳比例,浮点数,默认填充到二位小数,支持输入到四位,单位为 % */
|
|
15383
|
+
payment_ratio: string;
|
|
15384
|
+
/** 缴纳金舍入规则。rounding: 四舍五入; round_up: 向上舍入; round_down: 向下舍入 */
|
|
15385
|
+
payment_rounding_rule: 'rounding' | 'round_up' | 'round_down';
|
|
15386
|
+
/** 缴纳金小数位数,0-6之间选择 */
|
|
15387
|
+
payment_decimals: number;
|
|
15388
|
+
/** 附加固定金额,浮点数,保留二位小数 */
|
|
15389
|
+
fixed_payment: string;
|
|
15390
|
+
}
|
|
15391
|
+
export interface SocialPlanScope {
|
|
15392
|
+
/** 是否适用于全部 */
|
|
15393
|
+
is_all: boolean;
|
|
15394
|
+
/** 适用范围,二维。外层or连接,内层and连接 */
|
|
15395
|
+
rules?: SocialPlanCondition[][];
|
|
15396
|
+
}
|
|
14473
15397
|
export interface Sort {
|
|
14474
15398
|
/** 字段名称 */
|
|
14475
15399
|
field_name?: string;
|
|
@@ -14582,6 +15506,12 @@ export interface Statistics {
|
|
|
14582
15506
|
/** 点踩数量 */
|
|
14583
15507
|
dislike_count: number;
|
|
14584
15508
|
}
|
|
15509
|
+
export interface StickyNote {
|
|
15510
|
+
/** 用户id */
|
|
15511
|
+
user_id?: string;
|
|
15512
|
+
/** 是否展示用户信息 */
|
|
15513
|
+
show_author_info?: boolean;
|
|
15514
|
+
}
|
|
14585
15515
|
export interface StreamConfig {
|
|
14586
15516
|
/** 仅包含字母数字和下划线的 16 位字符串作为同一数据流的标识,用户生成 */
|
|
14587
15517
|
stream_id: string;
|
|
@@ -14595,18 +15525,30 @@ export interface StreamConfig {
|
|
|
14595
15525
|
engine_type: string;
|
|
14596
15526
|
}
|
|
14597
15527
|
export interface Style {
|
|
15528
|
+
/** 填充颜色,16 进制 rbg 值 */
|
|
15529
|
+
fill_color?: string;
|
|
14598
15530
|
/** 填充透明度 */
|
|
14599
15531
|
fill_opacity?: number;
|
|
14600
15532
|
/** 边框样式 */
|
|
14601
15533
|
border_style?: 'solid' | 'none' | 'dash' | 'dot';
|
|
14602
15534
|
/** 边框宽度 */
|
|
14603
|
-
border_width?: 'extra_narrow' | 'narrow' | 'medium' | '
|
|
15535
|
+
border_width?: 'extra_narrow' | 'narrow' | 'medium' | 'bold';
|
|
14604
15536
|
/** 边框透明度 */
|
|
14605
15537
|
border_opacity?: number;
|
|
14606
15538
|
/** 水平翻折 */
|
|
14607
15539
|
h_flip?: boolean;
|
|
14608
15540
|
/** 垂直翻折 */
|
|
14609
15541
|
v_flip?: boolean;
|
|
15542
|
+
/** 边框颜色,16 进制 rgb 值 */
|
|
15543
|
+
border_color?: string;
|
|
15544
|
+
/** 填充颜色主题配色编码值 */
|
|
15545
|
+
theme_fill_color_code?: number;
|
|
15546
|
+
/** 边框颜色主题配色编码值 */
|
|
15547
|
+
theme_border_color_code?: number;
|
|
15548
|
+
/** 填充颜色类型:0=系统颜色,取theme_fill_color_code,1=自定义颜色,取fill_color */
|
|
15549
|
+
fill_color_type?: ColorType;
|
|
15550
|
+
/** 边框颜色类型:0=系统颜色,取theme_border_color_code,1=自定义颜色,取border_color */
|
|
15551
|
+
border_color_type?: ColorType;
|
|
14610
15552
|
}
|
|
14611
15553
|
export interface Subdivision {
|
|
14612
15554
|
/** 省份/行政区id */
|
|
@@ -14670,6 +15612,10 @@ export interface SupportCostCenterItem {
|
|
|
14670
15612
|
/** 分摊比例 */
|
|
14671
15613
|
rate?: number;
|
|
14672
15614
|
}
|
|
15615
|
+
export interface Svg {
|
|
15616
|
+
/** svg code */
|
|
15617
|
+
svg_code?: string;
|
|
15618
|
+
}
|
|
14673
15619
|
export interface SystemFields {
|
|
14674
15620
|
/** 中文姓名 */
|
|
14675
15621
|
name?: string;
|
|
@@ -16090,6 +17036,10 @@ export interface TransferType {
|
|
|
16090
17036
|
/** 更新时间 */
|
|
16091
17037
|
updated_time?: string;
|
|
16092
17038
|
}
|
|
17039
|
+
export interface Trapezoid {
|
|
17040
|
+
/** 梯形上底长(短边)。默认为下底边长度的2/3,不能超过下底边长度。 */
|
|
17041
|
+
top_length?: number;
|
|
17042
|
+
}
|
|
16093
17043
|
export interface TripartiteAgreementInfo {
|
|
16094
17044
|
/** 三方协议 ID */
|
|
16095
17045
|
id?: string;
|
|
@@ -16577,6 +17527,12 @@ export interface UserFlow {
|
|
|
16577
17527
|
/** 唯一幂等键 */
|
|
16578
17528
|
idempotent_id?: string;
|
|
16579
17529
|
}
|
|
17530
|
+
export interface UserFreebusy {
|
|
17531
|
+
/** 日历上请求时间区间内的忙闲信息 */
|
|
17532
|
+
freebusy_items?: Freebusy[];
|
|
17533
|
+
/** 日历的创建者userID */
|
|
17534
|
+
user_id?: string;
|
|
17535
|
+
}
|
|
16580
17536
|
export interface UserInfo {
|
|
16581
17537
|
/** 个人邮箱还是公共邮箱 */
|
|
16582
17538
|
type: string;
|
|
@@ -17335,21 +18291,17 @@ export interface WeekdaySchedule {
|
|
|
17335
18291
|
}
|
|
17336
18292
|
export interface WhiteboardNode {
|
|
17337
18293
|
/** 节点 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';
|
|
18294
|
+
id?: string;
|
|
18295
|
+
/** 节点图形类型,目前创建节点仅支持创建图片、文本、基础图形等类型 */
|
|
18296
|
+
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
18297
|
/** 父节点 id */
|
|
17342
18298
|
parent_id?: string;
|
|
17343
|
-
/** 子节点 */
|
|
17344
|
-
children?: string[];
|
|
17345
18299
|
/** 图形相对画布的 x 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
|
|
17346
18300
|
x?: number;
|
|
17347
18301
|
/** 图形相对画布的 y 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
|
|
17348
18302
|
y?: number;
|
|
17349
18303
|
/** 图形旋转角度 */
|
|
17350
18304
|
angle?: number;
|
|
17351
|
-
/** 图形宽度,单位为 px */
|
|
17352
|
-
width?: number;
|
|
17353
18305
|
/** 图形高度,单位为 px */
|
|
17354
18306
|
height?: number;
|
|
17355
18307
|
/** 图形内文字 */
|
|
@@ -17362,12 +18314,28 @@ export interface WhiteboardNode {
|
|
|
17362
18314
|
composite_shape?: CompositeShape;
|
|
17363
18315
|
/** 连线属性 */
|
|
17364
18316
|
connector?: Connector;
|
|
18317
|
+
/** 图形宽度,单位为 px */
|
|
18318
|
+
width?: number;
|
|
17365
18319
|
/** 分区属性 */
|
|
17366
18320
|
section?: Section;
|
|
17367
18321
|
/** 表格属性 */
|
|
17368
18322
|
table?: Table;
|
|
17369
|
-
/**
|
|
17370
|
-
|
|
18323
|
+
/** 图形是否锁定 */
|
|
18324
|
+
locked?: boolean;
|
|
18325
|
+
/** 图形在兄弟节点中的层级,层级大的会覆盖层级小的 */
|
|
18326
|
+
z_index?: number;
|
|
18327
|
+
/** 生命对象属性 */
|
|
18328
|
+
lifeline?: Lifeline;
|
|
18329
|
+
/** 画笔属性 */
|
|
18330
|
+
paint?: Paint;
|
|
18331
|
+
/** svg图形属性 */
|
|
18332
|
+
svg?: Svg;
|
|
18333
|
+
/** 便签图形属性 */
|
|
18334
|
+
sticky_note?: StickyNote;
|
|
18335
|
+
/** 思维导图节点属性 */
|
|
18336
|
+
mind_map_node?: MindMapNode;
|
|
18337
|
+
/** 思维导图根节点属性 */
|
|
18338
|
+
mind_map_root?: MindMapRoot;
|
|
17371
18339
|
}
|
|
17372
18340
|
export interface WikiCatalog {
|
|
17373
18341
|
/** 知识库 token */
|