@satorijs/adapter-lark 3.11.7 → 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.
@@ -2120,6 +2120,15 @@ export interface ArchiveItem {
2120
2120
  item_result_regular?: string
2121
2121
  }
2122
2122
 
2123
+ export interface ArchiveItemValue {
2124
+ /** 薪资项ID */
2125
+ item_id: string
2126
+ /** 薪资项的值 */
2127
+ item_value: string
2128
+ /** 员工转正后薪资项的值,仅用于开启试用期的薪资方案,以及员工处于实习期 */
2129
+ item_value_regular?: string
2130
+ }
2131
+
2123
2132
  export interface ArchiveReportData {
2124
2133
  /** 用户ID */
2125
2134
  member_id: string
@@ -3232,6 +3241,13 @@ export interface BlockIdRelation {
3232
3241
  block_id?: string
3233
3242
  }
3234
3243
 
3244
+ export interface BlockIdToImageUrl {
3245
+ /** 块 ID */
3246
+ block_id: string
3247
+ /** 图片 URL */
3248
+ image_url: string
3249
+ }
3250
+
3235
3251
  export interface BlockRole {
3236
3252
  /** Block ID */
3237
3253
  block_id: string
@@ -3928,6 +3944,13 @@ export interface Collaborator {
3928
3944
  id_list?: string[]
3929
3945
  }
3930
3946
 
3947
+ export const enum ColorType {
3948
+ /** 系统颜色 */
3949
+ SystemColor = 0,
3950
+ /** 自定义颜色 */
3951
+ CustomColor = 1,
3952
+ }
3953
+
3931
3954
  export interface CombinedJobObjectValueMap {
3932
3955
  /** 结构 ID */
3933
3956
  object_id?: string
@@ -4043,6 +4066,8 @@ export interface CommonSchema {
4043
4066
  is_customized?: boolean
4044
4067
  /** 是否必填 */
4045
4068
  is_required?: boolean
4069
+ /** 是否可见 */
4070
+ is_visible?: boolean
4046
4071
  /** 是否启用 */
4047
4072
  active_status?: 1 | 2
4048
4073
  /** 字段列表 */
@@ -4064,6 +4089,8 @@ export interface CommonSchemaChild {
4064
4089
  is_customized?: boolean
4065
4090
  /** 是否必填 */
4066
4091
  is_required?: boolean
4092
+ /** 是否可见 */
4093
+ is_visible?: boolean
4067
4094
  /** 是否启用 */
4068
4095
  active_status?: 1 | 2
4069
4096
  }
@@ -4086,7 +4113,7 @@ export interface CommonSchemaOption {
4086
4113
 
4087
4114
  export interface CommonSchemaSetting {
4088
4115
  /** 字段类型 */
4089
- object_type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13
4116
+ object_type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13
4090
4117
  /** 配置信息 */
4091
4118
  config?: CommonSchemaConfig
4092
4119
  }
@@ -4142,15 +4169,21 @@ export interface CompensationCost {
4142
4169
  }
4143
4170
 
4144
4171
  export interface CompensationCostItem {
4145
- /** 发薪人数 */
4146
- number_of_individuals_for_payment?: number
4147
4172
  /** 成本项数据 */
4148
4173
  compensation_costs?: CompensationCost[]
4149
4174
  }
4150
4175
 
4151
4176
  export interface CompositeShape {
4152
4177
  /** 基础图形的具体类型 */
4153
- 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'
4178
+ 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'
4179
+ /** 饼图属性,type=pie时需要设置 */
4180
+ pie?: Pie
4181
+ /** 圆环属性,type=circular_ring时需要设置 */
4182
+ circular_ring?: Pie
4183
+ /** 梯形属性,type=trapezoid时可以设置 */
4184
+ trapezoid?: Trapezoid
4185
+ /** 六面体属性,type=cube时可以设置 */
4186
+ cube?: Cube
4154
4187
  }
4155
4188
 
4156
4189
  export interface CompositeTalentAwardInfo {
@@ -4325,17 +4358,64 @@ export interface Condition {
4325
4358
  }
4326
4359
 
4327
4360
  export interface Connector {
4328
- /** 连线连接的起点图形 */
4329
- start_object?: ConnectorAttachedObject
4330
- /** 连线连接的终点图形 */
4331
- end_object?: ConnectorAttachedObject
4361
+ /** 连线端点信息 */
4362
+ start?: ConnectorInfo
4363
+ /** 连线端点信息 */
4364
+ end?: ConnectorInfo
4332
4365
  /** 连线文本 */
4333
4366
  captions?: ConnectorCaption
4367
+ /** 连线类型 */
4368
+ shape?: ConnectorLineShape
4369
+ /** 连线转向点 */
4370
+ turning_points?: Point[]
4371
+ /** 连线上的文本方向是否自动跟随连线方向 */
4372
+ caption_auto_direction?: boolean
4373
+ /** 文本在连线上的相对位置,范围0-1,0表示在连线的起始点,1表示在连线的终点 */
4374
+ caption_position?: number
4375
+ /** 指定连线坐标及长宽。为 true 时需要用户设置连线的坐标及长宽信息。为 false 时会根据连线的开始、结束端点自动计算连线的坐标及长宽信息 */
4376
+ specified_coordinate?: boolean
4377
+ }
4378
+
4379
+ export const enum ConnectorArrowStyle {
4380
+ /** 无箭头样式 */
4381
+ None = 'none',
4382
+ /** 线型箭头 */
4383
+ LineArrow = 'line_arrow',
4384
+ /** 三角形箭头 */
4385
+ TriangleArrow = 'triangle_arrow',
4386
+ /** 空心三角形箭头 */
4387
+ EmptyTriangleArrow = 'empty_triangle_arrow',
4388
+ /** 圆形箭头 */
4389
+ CircleArrow = 'circle_arrow',
4390
+ /** 空心圆形箭头 */
4391
+ EmptyCircleArrow = 'empty_circle_arrow',
4392
+ /** 菱形箭头 */
4393
+ DiamondArrow = 'diamond_arrow',
4394
+ /** 空心菱形箭头 */
4395
+ EmptyDiamondArrow = 'empty_diamond_arrow',
4396
+ /** 单箭头 */
4397
+ SingleArrow = 'single_arrow',
4398
+ /** 多箭头 */
4399
+ MultiArrow = 'multi_arrow',
4400
+ /** 精确单箭头 */
4401
+ ExactSingleArrow = 'exact_single_arrow',
4402
+ /** 零个或多个箭头 */
4403
+ ZeroOrMultiArrow = 'zero_or_multi_arrow',
4404
+ /** 零个或单个箭头 */
4405
+ ZeroOrSingleArrow = 'zero_or_single_arrow',
4406
+ /** 单个或多个箭头 */
4407
+ SingleOrMultiArrow = 'single_or_multi_arrow',
4408
+ /** x型箭头 */
4409
+ XArrow = 'x_arrow',
4334
4410
  }
4335
4411
 
4336
4412
  export interface ConnectorAttachedObject {
4337
4413
  /** 连接图形的 id */
4338
4414
  id?: string
4415
+ /** 连接图形的方向 */
4416
+ snap_to?: SnapTo
4417
+ /** 连接图形的相对坐标,0-1 */
4418
+ position?: Point
4339
4419
  }
4340
4420
 
4341
4421
  export interface ConnectorCaption {
@@ -4343,6 +4423,26 @@ export interface ConnectorCaption {
4343
4423
  data?: Text[]
4344
4424
  }
4345
4425
 
4426
+ export interface ConnectorInfo {
4427
+ /** 连接图形信息 */
4428
+ attached_object?: ConnectorAttachedObject
4429
+ /** 连线端点在画布内的坐标,position与attached_object二选一 */
4430
+ position?: Point
4431
+ /** 连线端点箭头样式 */
4432
+ arrow_style?: ConnectorArrowStyle
4433
+ }
4434
+
4435
+ export const enum ConnectorLineShape {
4436
+ /** 直线 */
4437
+ Straight = 'straight',
4438
+ /** 折线 */
4439
+ Polyline = 'polyline',
4440
+ /** 曲线 */
4441
+ Curve = 'curve',
4442
+ /** 直角折线 */
4443
+ RightAngledPolyline = 'right_angled_polyline',
4444
+ }
4445
+
4346
4446
  export interface ConnectorParam {
4347
4447
  /** 回调时Request里面的id类型 */
4348
4448
  callback_user_id_type?: 0 | 1 | 2 | 3
@@ -4548,6 +4648,8 @@ export interface CostAllocationReportData {
4548
4648
  data_summary_dimensions?: DataSummaryDimension[]
4549
4649
  /** 成本项数据 */
4550
4650
  compensation_cost_item?: CompensationCostItem
4651
+ /** 员工id */
4652
+ employment_id?: string
4551
4653
  }
4552
4654
 
4553
4655
  export interface CostCenter {
@@ -4847,6 +4949,11 @@ export interface Criterion {
4847
4949
  logic_expression?: string
4848
4950
  }
4849
4951
 
4952
+ export interface Cube {
4953
+ /** 六面体控制点,相对六面体外接矩形的相对坐标。默认控制点为外接矩形长的0.8,宽的0.25 */
4954
+ control_point?: Point
4955
+ }
4956
+
4850
4957
  export interface Currency {
4851
4958
  /** 货币 ID */
4852
4959
  currency_id?: string
@@ -5286,6 +5393,8 @@ export interface DataSummaryDimension {
5286
5393
  dimension_value_id?: string
5287
5394
  /** 算薪项汇总维度时,当算薪项是特定枚举值,会使用该字段返回枚举值ID以及枚举值Key */
5288
5395
  enum_dimension?: EnumObject
5396
+ /** 维度引用对象的基础信息,当维度为引用类型字段才会有值,目前支持的引用对象类型见type */
5397
+ dimension_value_lookup_info?: DimensionValueLookupInfo
5289
5398
  /** 维度名称,自定义维度使用 */
5290
5399
  dimension_names?: I18nContent[]
5291
5400
  /** 数据维度表头,自定义维度使用 */
@@ -5422,15 +5531,6 @@ export interface DepartmentI18nName {
5422
5531
  en_us?: string
5423
5532
  }
5424
5533
 
5425
- export interface DepartmentIdConvertResult {
5426
- /** ID */
5427
- id: string
5428
- /** 部门ID */
5429
- department_id?: string
5430
- /** 部门OpenID */
5431
- open_department_id?: string
5432
- }
5433
-
5434
5534
  export interface DepartmentLeader {
5435
5535
  /** 负责人类型 */
5436
5536
  leaderType: 1 | 2
@@ -5562,6 +5662,47 @@ export interface Device {
5562
5662
  name: string
5563
5663
  }
5564
5664
 
5665
+ export interface DeviceRecord {
5666
+ /** 设备认证编码 */
5667
+ device_record_id: string
5668
+ /** 版本号 */
5669
+ version: string
5670
+ /** 当前登录用户ID */
5671
+ current_user_id?: string
5672
+ /** 设备名称 */
5673
+ device_name?: string
5674
+ /** 设备型号 */
5675
+ model?: string
5676
+ /** 操作系统 */
5677
+ device_system: 1 | 2 | 3 | 4 | 5 | 6
5678
+ /** 生产序列号 */
5679
+ serial_number?: string
5680
+ /** 硬盘序列号 */
5681
+ disk_serial_number?: string
5682
+ /** 主板UUID */
5683
+ uuid?: string
5684
+ /** MAC地址 */
5685
+ mac_address?: string
5686
+ /** Android标识符 */
5687
+ android_id?: string
5688
+ /** iOS供应商标识符 */
5689
+ idfv?: string
5690
+ /** Harmony供应商标识符 */
5691
+ aaid?: string
5692
+ /** 设备归属 */
5693
+ device_ownership: 0 | 1 | 2
5694
+ /** 可信状态 */
5695
+ device_status: 0 | 1 | 2
5696
+ /** 认证方式 */
5697
+ certification_level: 0 | 1 | 2
5698
+ /** 设备类型 */
5699
+ device_terminal_type: 0 | 1 | 2
5700
+ /** 最近登录用户ID */
5701
+ latest_user_id?: string
5702
+ /** 设备指纹列表 */
5703
+ dids?: string[]
5704
+ }
5705
+
5565
5706
  export interface Diagram {
5566
5707
  /** 绘图类型 */
5567
5708
  diagram_type?: 1 | 2
@@ -5669,6 +5810,15 @@ export interface DimensionOption {
5669
5810
  score_val?: number
5670
5811
  }
5671
5812
 
5813
+ export interface DimensionValueLookupInfo {
5814
+ /** 引用对象类型 */
5815
+ type?: string
5816
+ /** 引用对象的id,可根据相关API查询到对象的完整信息 */
5817
+ id?: string
5818
+ /** 引用对象的code,目前下面的对象会有code */
5819
+ code?: string
5820
+ }
5821
+
5672
5822
  export interface DirectProjectLeaderRecordInfo {
5673
5823
  /** 评估人 ID */
5674
5824
  reviewer_id?: User
@@ -6100,17 +6250,6 @@ export interface EmployeeEntity {
6100
6250
  work_info?: EmployeeWorkEntity
6101
6251
  }
6102
6252
 
6103
- export interface EmployeeIdConvertResult {
6104
- /** ID */
6105
- id: string
6106
- /** 员工ID */
6107
- employee_id?: string
6108
- /** 员工OpenID */
6109
- open_employee_id?: string
6110
- /** 员工UnionID */
6111
- union_employee_id?: string
6112
- }
6113
-
6114
6253
  export interface EmployeeJobData {
6115
6254
  /** Employment ID */
6116
6255
  employment_id: string
@@ -6218,6 +6357,116 @@ export interface EmployeesAdditionalJobWriteResp {
6218
6357
  employee_subtype_id?: string
6219
6358
  }
6220
6359
 
6360
+ export interface EmployeesInternationalAssignment {
6361
+ /** 外派工作地点 ID - 可通过[【查询单个地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
6362
+ work_location_id?: string
6363
+ /** 外派任职公司 ID- 可通过[【查询单个公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
6364
+ service_company?: string
6365
+ /** 排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift */
6366
+ work_shift?: Enum
6367
+ /** 工时制度ID- 可通过[【查询单个工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
6368
+ working_hours_type_id?: string
6369
+ /** 人员类型ID- 可通过[【查询单个人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
6370
+ employee_type_id?: string
6371
+ /** 周工作时长 */
6372
+ weekly_working_hours_v2?: number
6373
+ /** 部门 ID- 可通过[【查询单个部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息- 类型与 department_id_type 一致 */
6374
+ department_id?: string
6375
+ /** 职务 ID- 可通过[【查询单个职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
6376
+ job_id?: string
6377
+ /** 序列 ID- 可通过[【查询单个序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
6378
+ job_family_id?: string
6379
+ /** 职级 ID- 可通过[【查询单个职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
6380
+ job_level_id?: string
6381
+ /** 职等 ID- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息 */
6382
+ job_grade_id?: string
6383
+ /** 薪资类型 - 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type */
6384
+ compensation_type?: Enum
6385
+ /** 直属上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
6386
+ direct_manager_id?: string
6387
+ /** 虚线上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
6388
+ dotted_line_manager_id?: string
6389
+ /** 工作日历 ID- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
6390
+ work_calendar_id?: string
6391
+ /** 岗位 ID- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW) */
6392
+ position_id?: string
6393
+ /** 雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
6394
+ employment_id?: string
6395
+ /** 自定义字段- 请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
6396
+ custom_fields?: ObjectFieldData[]
6397
+ /** 外派原因说明 */
6398
+ international_assignment_reason?: string
6399
+ /** 备注 */
6400
+ description?: string
6401
+ /** 预计结束日期- 格式:yyyy-mm-dd */
6402
+ international_assignment_expected_end_date?: string
6403
+ /** 外派状态- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_status */
6404
+ international_assignment_status?: Enum
6405
+ /** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
6406
+ international_assignment_type?: Enum
6407
+ /** 开始日期- 格式:yyyy-mm-dd */
6408
+ effective_time?: string
6409
+ /** 结束日期- 格式:yyyy-mm-dd- 在外派未结束时,该值默认为 9999-12-31 */
6410
+ expiration_time?: string
6411
+ /** 外派ID */
6412
+ id?: string
6413
+ }
6414
+
6415
+ export interface EmployeesInternationalAssignmentResp {
6416
+ /** 外派工作地点 ID - 可通过[【查询单个地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
6417
+ work_location_id?: string
6418
+ /** 外派任职公司 ID- 可通过[【查询单个公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
6419
+ service_company?: string
6420
+ /** 排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift */
6421
+ work_shift?: Enum
6422
+ /** 工时制度ID- 可通过[【查询单个工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
6423
+ working_hours_type_id?: string
6424
+ /** 人员类型ID- 可通过[【查询单个人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
6425
+ employee_type_id?: string
6426
+ /** 周工作时长 */
6427
+ weekly_working_hours_v2?: number
6428
+ /** 部门 ID- 可通过[【查询单个部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息- 类型与 department_id_type 一致 */
6429
+ department_id?: string
6430
+ /** 职务 ID- 可通过[【查询单个职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
6431
+ job_id?: string
6432
+ /** 序列 ID- 可通过[【查询单个序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
6433
+ job_family_id?: string
6434
+ /** 职级 ID- 可通过[【查询单个职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
6435
+ job_level_id?: string
6436
+ /** 职等 ID- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息 */
6437
+ job_grade_id?: string
6438
+ /** 薪资类型 - 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type */
6439
+ compensation_type?: Enum
6440
+ /** 直属上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
6441
+ direct_manager_id?: string
6442
+ /** 虚线上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
6443
+ dotted_line_manager_id?: string
6444
+ /** 工作日历 ID- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
6445
+ work_calendar_id?: string
6446
+ /** 岗位 ID- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW) */
6447
+ position_id?: string
6448
+ /** 雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型与 user_id_type 一致 */
6449
+ employment_id?: string
6450
+ /** 自定义字段- 请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
6451
+ custom_fields?: ObjectFieldData[]
6452
+ /** 外派原因说明 */
6453
+ international_assignment_reason?: string
6454
+ /** 备注 */
6455
+ description?: string
6456
+ /** 预计结束日期- 格式:yyyy-mm-dd */
6457
+ international_assignment_expected_end_date?: string
6458
+ /** 外派状态- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_status */
6459
+ international_assignment_status?: Enum
6460
+ /** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
6461
+ international_assignment_type?: Enum
6462
+ /** 开始日期- 格式:yyyy-mm-dd */
6463
+ effective_time?: string
6464
+ /** 结束日期- 格式:yyyy-mm-dd- 在外派未结束时,该值默认为 9999-12-31 */
6465
+ expiration_time?: string
6466
+ /** 外派ID */
6467
+ id?: string
6468
+ }
6469
+
6221
6470
  export const enum EmployeeStaffStatusDirectory {
6222
6471
  /** 在职 */
6223
6472
  EmployeeStaffStatusDirectoryUnResigned = 1,
@@ -7228,7 +7477,7 @@ export interface FieldVariableValueToFile {
7228
7477
  /** 文件名称 */
7229
7478
  file_name?: string
7230
7479
  /** 文件大小,单位:Byte */
7231
- length?: string
7480
+ length?: number
7232
7481
  /** 文件类型,如`application/pdf` */
7233
7482
  mime_type?: string
7234
7483
  }
@@ -7270,6 +7519,8 @@ export interface FieldVariableValueToRecord {
7270
7519
  variable_api_name?: string
7271
7520
  /** 变量值,对应subValues中的key */
7272
7521
  sub_value_key?: string
7522
+ /** 记录唯一ID */
7523
+ record_id?: string
7273
7524
  }
7274
7525
 
7275
7526
  export interface File {
@@ -9092,6 +9343,36 @@ export interface JobFamily {
9092
9343
  job_family_id?: string
9093
9344
  }
9094
9345
 
9346
+ export interface JobFamilyTimeline {
9347
+ /** 序列版本信息 */
9348
+ job_family_version_data?: JobFamilyVersionData[]
9349
+ }
9350
+
9351
+ export interface JobFamilyVersionData {
9352
+ /** 序列 ID */
9353
+ job_family_id?: string
9354
+ /** 序列版本 ID */
9355
+ job_family_version_id?: string
9356
+ /** 序列名称 */
9357
+ job_family_names?: I18n[]
9358
+ /** 生效日期 */
9359
+ effective_date?: string
9360
+ /** 失效时间 */
9361
+ expiration_date?: string
9362
+ /** 是否启用 */
9363
+ active?: boolean
9364
+ /** 描述 */
9365
+ descriptions?: I18n[]
9366
+ /** 可选 */
9367
+ selectable?: boolean
9368
+ /** 上级序列 */
9369
+ parent_job_family_id?: string
9370
+ /** 通道 ID 列表 */
9371
+ pathway_ids?: string[]
9372
+ /** 编码 */
9373
+ code?: string
9374
+ }
9375
+
9095
9376
  export interface JobFunction {
9096
9377
  /** 职能分类 ID */
9097
9378
  id?: string
@@ -9348,6 +9629,11 @@ export interface JobStorefront {
9348
9629
  remark?: I18n
9349
9630
  }
9350
9631
 
9632
+ export interface JobTimeline {
9633
+ /** 职务版本信息 */
9634
+ job_version_data?: JobVersionData[]
9635
+ }
9636
+
9351
9637
  export interface JobTitle {
9352
9638
  /** 职务ID */
9353
9639
  job_title_id?: string
@@ -9375,6 +9661,35 @@ export interface JobUserInfo {
9375
9661
  name?: I18n
9376
9662
  }
9377
9663
 
9664
+ export interface JobVersionData {
9665
+ /** 职务 ID */
9666
+ job_id?: string
9667
+ /** 职务版本 ID */
9668
+ job_version_id?: string
9669
+ /** 职务名称 */
9670
+ job_names?: I18n[]
9671
+ /** 生效日期 */
9672
+ effective_date?: string
9673
+ /** 失效时间 */
9674
+ expiration_date?: string
9675
+ /** 是否启用 */
9676
+ active?: boolean
9677
+ /** 描述 */
9678
+ descriptions?: I18n[]
9679
+ /** 编码 */
9680
+ code?: string
9681
+ /** 职务头衔 */
9682
+ job_titles?: I18n[]
9683
+ /** 序列 */
9684
+ job_family_ids?: string[]
9685
+ /** 职级 */
9686
+ job_level_ids?: string[]
9687
+ /** 通道ID */
9688
+ pathway_id?: string
9689
+ /** 工时制度,引用WorkingHoursType的ID */
9690
+ working_hours_type_id?: string
9691
+ }
9692
+
9378
9693
  export interface KeyresultData {
9379
9694
  /** 关键举措 ID */
9380
9695
  keyresult_id: string
@@ -9674,6 +9989,13 @@ export interface LeaveType {
9674
9989
  updated_by: string
9675
9990
  }
9676
9991
 
9992
+ export interface Lifeline {
9993
+ /** 生命线长度 */
9994
+ size?: number
9995
+ /** 生命线类型 */
9996
+ type?: string
9997
+ }
9998
+
9677
9999
  export interface Link {
9678
10000
  /** 超链接指向的 url (需要 url_encode) */
9679
10001
  url: string
@@ -9825,6 +10147,175 @@ export interface LookupWithAvatar {
9825
10147
  email?: string
9826
10148
  }
9827
10149
 
10150
+ export interface LumpSumPayment {
10151
+ /** 一次性支付记录id */
10152
+ id?: string
10153
+ /** 外部幂等id,由上游业务决定 */
10154
+ unique_id?: string
10155
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
10156
+ user_id?: string
10157
+ /** 总金额,字符串表达的数字 */
10158
+ total_amount?: string
10159
+ /** 绑定期,单位为月 */
10160
+ binding_period?: number
10161
+ /** 币种id */
10162
+ currency_id?: string
10163
+ /** 发放次数 */
10164
+ issuance_frequency?: number
10165
+ /** 薪酬项id */
10166
+ item_id?: string
10167
+ /** 备注 */
10168
+ remark?: string
10169
+ /** 发放规则描述文本 */
10170
+ issuance_detail_text?: I18n
10171
+ /** 申请来源 */
10172
+ apply_source?: 1 | 2 | 3 | 4 | 5 | 6 | 7
10173
+ /** 应退回金额(税前) */
10174
+ return_amount_before_tax?: string
10175
+ /** 应退回金额(税后) */
10176
+ return_amount_after_tax?: string
10177
+ /** 绑定期内离职类型 */
10178
+ binding_period_offboarding_type?: 'yes' | 'no' | 'default'
10179
+ /** 创建时间 */
10180
+ create_time?: string
10181
+ /** 更新时间 */
10182
+ modify_time?: string
10183
+ /** 所属期开始日期 */
10184
+ reference_period_start_date?: string
10185
+ /** 所属期结束日期 */
10186
+ reference_period_end_date?: string
10187
+ /** 发放明细列表 */
10188
+ details?: LumpSumPaymentDetail[]
10189
+ /** 绑定期带小数 */
10190
+ binding_period_decimal?: string
10191
+ }
10192
+
10193
+ export interface LumpSumPaymentDetail {
10194
+ /** 一次性支付记录明细id */
10195
+ id?: string
10196
+ /** 一次性支付记录id */
10197
+ record_id?: string
10198
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
10199
+ user_id?: string
10200
+ /** 一次性支付明细发放金额,可转数字的字符串 */
10201
+ issuance_amount?: string
10202
+ /** 发放状态 */
10203
+ issuance_status?: 'to_be_issued' | 'not_issued'
10204
+ /** 发放方式 */
10205
+ issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus'
10206
+ /** 发放日期 */
10207
+ issuance_time?: string
10208
+ /** 币种id */
10209
+ currency_id?: string
10210
+ /** 申请发放日期 */
10211
+ belong_time?: string
10212
+ /** 创建时间 */
10213
+ create_time?: string
10214
+ /** 更新时间 */
10215
+ modify_time?: string
10216
+ /** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
10217
+ issuance_country_region_id?: string
10218
+ /** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
10219
+ issuance_pay_group_id?: string
10220
+ }
10221
+
10222
+ export interface LumpSumPaymentDetailForCreate {
10223
+ /** 一次性支付明细发放金额,可转数字的字符串 */
10224
+ issuance_amount: string
10225
+ /** 发放状态 */
10226
+ issuance_status: 'to_be_issued' | 'not_issued'
10227
+ /** 发放方式 */
10228
+ issuance_way: 'with_salary' | 'with_cash' | 'with_year_end_bonus'
10229
+ /** 发放日期 */
10230
+ issuance_time: string
10231
+ /** 申请发放日期 */
10232
+ belong_time: string
10233
+ /** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
10234
+ issuance_country_region_id?: string
10235
+ /** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
10236
+ issuance_pay_group_id?: string
10237
+ }
10238
+
10239
+ export interface LumpSumPaymentDetailForUpdate {
10240
+ /** 一次性支付记录明细id。传入已有的id代表直接在原明细上进行更新,不传则代表创建新的明细 */
10241
+ id?: string
10242
+ /** 一次性支付明细发放金额,可转数字的字符串 */
10243
+ issuance_amount?: string
10244
+ /** 发放状态 */
10245
+ issuance_status?: 'to_be_issued' | 'not_issued'
10246
+ /** 发放方式 */
10247
+ issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus'
10248
+ /** 发放日期 */
10249
+ issuance_time?: string
10250
+ /** 申请发放日期 */
10251
+ belong_time?: string
10252
+ /** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
10253
+ issuance_country_region_id?: string
10254
+ /** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
10255
+ issuance_pay_group_id?: string
10256
+ }
10257
+
10258
+ export interface LumpSumPaymentForCreate {
10259
+ /** 外部幂等id,由上游业务决定 */
10260
+ unique_id: string
10261
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
10262
+ user_id: string
10263
+ /** 总金额,字符串表达的数字 */
10264
+ total_amount: string
10265
+ /** 绑定期,单位为月 */
10266
+ binding_period: number
10267
+ /** 币种id */
10268
+ currency_id: string
10269
+ /** 发放次数,必须与 details 的长度一致 */
10270
+ issuance_frequency: number
10271
+ /** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
10272
+ item_id: string
10273
+ /** 所属期开始日期 */
10274
+ reference_period_start_date?: string
10275
+ /** 所属期结束日期 */
10276
+ reference_period_end_date?: string
10277
+ /** 发放明细列表 */
10278
+ details: LumpSumPaymentDetailForCreate[]
10279
+ /** 备注 */
10280
+ remark?: string
10281
+ /** 绑定期带小数 */
10282
+ binding_period_decimal?: string
10283
+ }
10284
+
10285
+ export interface LumpSumPaymentForUpdate {
10286
+ /** 一次性支付记录id */
10287
+ id?: string
10288
+ /** 总金额,字符串表达的数字 */
10289
+ total_amount: string
10290
+ /** 绑定期,单位为月 */
10291
+ binding_period?: number
10292
+ /** 币种id */
10293
+ currency_id: string
10294
+ /** 发放次数,必须与details的长度一致 */
10295
+ issuance_frequency: number
10296
+ /** 备注 */
10297
+ remark?: string
10298
+ /** 所属期开始日期 */
10299
+ reference_period_start_date?: string
10300
+ /** 所属期结束日期 */
10301
+ reference_period_end_date?: string
10302
+ /** 发放明细列表 */
10303
+ details: LumpSumPaymentDetailForUpdate[]
10304
+ /** 绑定期带小数 */
10305
+ binding_period_decimal?: string
10306
+ }
10307
+
10308
+ export interface LumpSumPaymentOperateResult {
10309
+ /** 操作的记录的 id */
10310
+ id?: string
10311
+ /** 操作的记录的 unique_id */
10312
+ unique_id?: string
10313
+ /** 操作结果状态码 */
10314
+ 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
10315
+ /** 操作结果描述 */
10316
+ message?: string
10317
+ }
10318
+
9828
10319
  export interface Machine {
9829
10320
  /** 考勤机序列号 */
9830
10321
  machine_sn: string
@@ -10476,9 +10967,52 @@ export interface MetricTemplate {
10476
10967
  groups?: MetricGroup[]
10477
10968
  }
10478
10969
 
10479
- export interface MindMap {
10480
- /** 思维导图父节点 id ,为空表示是思维导图的根节点 */
10481
- parent_id?: string
10970
+ export const enum MindMapLayout {
10971
+ /** 上下布局 */
10972
+ UpDown = 'up_down',
10973
+ /** 左右布局 */
10974
+ LeftRight = 'left_right',
10975
+ /** 左树布局 */
10976
+ TreeLeft = 'tree_left',
10977
+ /** 右树布局 */
10978
+ TreeRight = 'tree_right',
10979
+ /** 左右交替平衡树布局 */
10980
+ TreeBalance = 'tree_balance',
10981
+ /** 垂直时间线布局 */
10982
+ VerticalTimeLine = 'vertical_time_line',
10983
+ /** 水平时间线布局 */
10984
+ HorizontalTimeLine = 'horizontal_time_line',
10985
+ }
10986
+
10987
+ export interface MindMapNode {
10988
+ /** 思维导图节点的父节点,必须为思维导图节点 */
10989
+ parent_id: string
10990
+ /** 思维导图节点图形类型 */
10991
+ type?: MindMapType
10992
+ /** 思维导图节点在兄弟节点中的位置index */
10993
+ z_index?: number
10994
+ /** 子节点相对根节点的方向(根节点下的子节点设置才生效) */
10995
+ layout_position?: 'left' | 'right' | 'up' | 'down'
10996
+ /** 是否收起子节点 */
10997
+ collapsed?: boolean
10998
+ }
10999
+
11000
+ export interface MindMapRoot {
11001
+ /** 思维导图布局方式 */
11002
+ layout?: MindMapLayout
11003
+ /** 思维导图根节点图形类型 */
11004
+ type?: MindMapType
11005
+ /** 思维导图图形连接线样式 */
11006
+ line_style?: 'curve' | 'right_angle' | 'round_angle'
11007
+ }
11008
+
11009
+ export const enum MindMapType {
11010
+ /** 思维导图文本节点类型 */
11011
+ MindMapText = 'mind_map_text',
11012
+ /** 思维导图全圆角矩形节点类型 */
11013
+ MindMapFullRoundRect = 'mind_map_full_round_rect',
11014
+ /** 思维导图矩形节点类型 */
11015
+ MindMapRoundRect = 'mind_map_round_rect',
10482
11016
  }
10483
11017
 
10484
11018
  export interface Mindnote {
@@ -11131,6 +11665,19 @@ export interface OfferApplyFormSchema {
11131
11665
  module_list?: OfferApplyFormModuleInfo[]
11132
11666
  }
11133
11667
 
11668
+ export interface OfferApprovalTemplate {
11669
+ /** ID */
11670
+ id?: string
11671
+ /** 名称 */
11672
+ name?: I18n
11673
+ /** 创建时间 */
11674
+ create_time?: string
11675
+ /** 备注 */
11676
+ remark?: string
11677
+ /** 适用部门 */
11678
+ department_list?: Department[]
11679
+ }
11680
+
11134
11681
  export interface OfferAttachmentInfo {
11135
11682
  /** Offer 附件 ID */
11136
11683
  id?: string
@@ -11976,6 +12523,24 @@ export interface PageResponse {
11976
12523
  page_token?: string
11977
12524
  }
11978
12525
 
12526
+ export interface Paint {
12527
+ /** 画笔类型 */
12528
+ type?: PaintType
12529
+ /** 画板线段,由系列坐标点表示 */
12530
+ lines?: Point[]
12531
+ /** 画笔粗细,单位px */
12532
+ width?: number
12533
+ /** 画笔颜色 */
12534
+ color?: string
12535
+ }
12536
+
12537
+ export const enum PaintType {
12538
+ /** 马克笔 */
12539
+ Marker = 'marker',
12540
+ /** 高亮笔 */
12541
+ Highlight = 'highlight',
12542
+ }
12543
+
11979
12544
  export interface Participant {
11980
12545
  /** 参会者 */
11981
12546
  participant_name?: string
@@ -12072,6 +12637,19 @@ export interface PatchTagFailReason {
12072
12637
  duplicate_id?: string
12073
12638
  }
12074
12639
 
12640
+ export interface Pathway {
12641
+ /** 通道 ID */
12642
+ pathway_id?: string
12643
+ /** 编码 */
12644
+ code?: string
12645
+ /** 名称 */
12646
+ names?: I18n[]
12647
+ /** 描述 */
12648
+ descriptions?: I18n[]
12649
+ /** 启用 */
12650
+ active?: boolean
12651
+ }
12652
+
12075
12653
  export interface Paygroup {
12076
12654
  /** 薪资组ID */
12077
12655
  pay_group_id: string
@@ -12429,6 +13007,17 @@ export interface Phrase {
12429
13007
  span: Span
12430
13008
  }
12431
13009
 
13010
+ export interface Pie {
13011
+ /** 开始径向边角度,水平向右x轴正方向为0度,顺时针方向角度值递增 */
13012
+ start_radial_line_angle: number
13013
+ /** 圆心角角度,角度方向为始径向边逆时针方向 */
13014
+ central_angle: number
13015
+ /** 半径长度 */
13016
+ radius: number
13017
+ /** 扇区占比,0为一个圆周线,1为一个圆盘 */
13018
+ sector_ratio?: number
13019
+ }
13020
+
12432
13021
  export interface Pin {
12433
13022
  /** Pin的消息ID */
12434
13023
  message_id: string
@@ -12523,6 +13112,13 @@ export interface PlusMenu {
12523
13112
  mobile_app_link?: string
12524
13113
  }
12525
13114
 
13115
+ export interface Point {
13116
+ /** 点位置x坐标 */
13117
+ x?: number
13118
+ /** 点位置y坐标 */
13119
+ y?: number
13120
+ }
13121
+
12526
13122
  export interface PortalJobPost {
12527
13123
  /** 职位广告 ID */
12528
13124
  id?: string
@@ -12580,6 +13176,137 @@ export interface PortalJobPost {
12580
13176
  address_list?: CommonAddress[]
12581
13177
  }
12582
13178
 
13179
+ export interface Position {
13180
+ /** 岗位 ID */
13181
+ position_id?: string
13182
+ /** 编码 */
13183
+ code?: string
13184
+ /** 名称 */
13185
+ names?: I18n[]
13186
+ /** 描述 */
13187
+ descriptions?: I18n[]
13188
+ /** 状态 */
13189
+ active: boolean
13190
+ /** 序列 */
13191
+ job_family_id_list?: string[]
13192
+ /** 成本中心 */
13193
+ cost_center_id?: string
13194
+ /** 职务 */
13195
+ job_id?: string
13196
+ /** 职级 */
13197
+ job_level_id_list?: string[]
13198
+ /** 人员类型 */
13199
+ employee_type_id_list?: string[]
13200
+ /** 职等 */
13201
+ job_grade_id_list?: string[]
13202
+ /** 工作地点 */
13203
+ work_location_id_list?: string[]
13204
+ /** 工时制度 */
13205
+ working_hours_type_id?: string
13206
+ /** 部门 */
13207
+ department_id: string
13208
+ /** 直属上级岗位 */
13209
+ direct_leader_id?: string
13210
+ /** 虚线上级岗位 */
13211
+ dotted_line_leader_id?: string
13212
+ /** 是否关键岗位 */
13213
+ is_key_position?: boolean
13214
+ /** 生效日期 */
13215
+ effective_time: string
13216
+ /** 失效日期 */
13217
+ expiration_time: string
13218
+ /** 自定义字段 */
13219
+ custom_fields?: CustomFieldData[]
13220
+ /** 创建人 */
13221
+ created_by?: string
13222
+ }
13223
+
13224
+ export interface PositionAdjustmentInfo {
13225
+ /** 原序列 ID */
13226
+ original_job_families?: string[]
13227
+ /** 新序列 ID */
13228
+ target_job_families?: string[]
13229
+ /** 原所属部门 ID */
13230
+ original_department?: string
13231
+ /** 新所属部门 ID */
13232
+ target_department?: string
13233
+ /** 新所属部门 ID,新建部门审批完成前会返回 td_xxx 的临时 ID */
13234
+ target_draft_department?: string
13235
+ /** 原岗位默认成本中心 ID */
13236
+ original_cost_center?: string
13237
+ /** 新岗位默认成本中心 ID */
13238
+ target_cost_center?: string
13239
+ /** 原工时制度 ID */
13240
+ original_working_hours_type?: string
13241
+ /** 新工时制度 ID */
13242
+ target_working_hours_type?: string
13243
+ /** 原职务 ID */
13244
+ original_job?: string
13245
+ /** 新职务 ID */
13246
+ target_job?: string
13247
+ /** 原是否关键岗位 */
13248
+ original_is_key_position?: boolean
13249
+ /** 新是否关键岗位 */
13250
+ target_is_key_position?: boolean
13251
+ /** 原人员类型 ID */
13252
+ original_employee_types?: string[]
13253
+ /** 新人员类型 ID */
13254
+ target_employee_types?: string[]
13255
+ /** 原名称 */
13256
+ original_names?: I18n[]
13257
+ /** 新名称 */
13258
+ target_names?: I18n[]
13259
+ /** 原职等 ID */
13260
+ original_job_grades?: string[]
13261
+ /** 新职等 ID */
13262
+ target_job_grades?: string[]
13263
+ /** 原编码 */
13264
+ original_code?: string
13265
+ /** 新编码 */
13266
+ target_code?: string
13267
+ /** 原职级 ID */
13268
+ original_job_levels?: string[]
13269
+ /** 新职级 ID */
13270
+ target_job_levels?: string[]
13271
+ /** 原状态 */
13272
+ original_active?: boolean
13273
+ /** 新状态 */
13274
+ target_active?: boolean
13275
+ /** 原直线上级(岗位) ID */
13276
+ original_direct_leader?: string
13277
+ /** 新直线上级(岗位) ID */
13278
+ target_direct_leader?: string
13279
+ /** 新直线上级(岗位) ID,新建岗位审批完成前会返回 td_xxx 的临时 ID */
13280
+ target_draft_direct_leader?: string
13281
+ /** 原工作地点 ID */
13282
+ original_work_locations?: string[]
13283
+ /** 新工作地点 ID */
13284
+ target_work_locations?: string[]
13285
+ /** 原描述 */
13286
+ original_descriptions?: I18n[]
13287
+ /** 新描述 */
13288
+ target_descriptions?: I18n[]
13289
+ /** 原部门全路径,从根部门开始自上而下返回部门 ID 列表 */
13290
+ original_department_id_paths?: OrgdraftDepartmentId[]
13291
+ /** 新部门全路径,从根部门开始自上而下返回部门 ID 列表 */
13292
+ target_department_id_paths?: OrgdraftDepartmentId[]
13293
+ /** 自定义字段 */
13294
+ custom_fields?: ChangeFieldPair[]
13295
+ }
13296
+
13297
+ export interface PositionChange {
13298
+ /** 岗位调整记录 ID */
13299
+ position_change_id?: string
13300
+ /** 岗位 ID */
13301
+ position_id?: string
13302
+ /** 调整过程岗位 ID 。对于在本次调整中新建的岗位,在调整未生效前会返回格式为 td_xxx 的过程岗位 ID,生效后将返回正式的岗位 ID */
13303
+ draft_position_id?: string
13304
+ /** 调整类型 */
13305
+ position_change_type?: 'Unknown' | 'Create' | 'Modify' | 'Inactive'
13306
+ /** 调整详细信息 */
13307
+ position_adjustment_info?: PositionAdjustmentInfo
13308
+ }
13309
+
12583
13310
  export interface Post {
12584
13311
  /** 发帖用户ID */
12585
13312
  user_id?: string
@@ -13056,6 +13783,13 @@ export interface ProcessFormVariableV2 {
13056
13783
  sub_values?: FieldVariableSubVlaueForReview[]
13057
13784
  }
13058
13785
 
13786
+ export interface ProcessInfo {
13787
+ /** 组织架构调整流程 ID */
13788
+ process_id?: string
13789
+ /** 组织架构调整流程状态 */
13790
+ approval_group_status?: '0' | '1' | '2' | '3' | '4' | '5'
13791
+ }
13792
+
13059
13793
  export interface ProcessLink {
13060
13794
  /** web端单据详情页地址 */
13061
13795
  web_link?: string
@@ -13962,6 +14696,88 @@ export interface RecRuleCondition {
13962
14696
  values?: string[]
13963
14697
  }
13964
14698
 
14699
+ export interface RecurringPayment {
14700
+ /** 经常性支付记录id */
14701
+ id?: string
14702
+ /** 外部幂等id,由上游业务决定 */
14703
+ unique_id?: string
14704
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
14705
+ user_id?: string
14706
+ /** 薪酬项id */
14707
+ item_id?: string
14708
+ /** 发放方式 */
14709
+ issuance_type?: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus'
14710
+ /** 单次发放金额 */
14711
+ each_amount?: string
14712
+ /** 发放开始日期 */
14713
+ start_date?: string
14714
+ /** 发放结束日期 */
14715
+ end_date?: string
14716
+ /** 发放频率 */
14717
+ issuance_period?: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour'
14718
+ /** 币种id */
14719
+ currency_id?: string
14720
+ /** 备注 */
14721
+ remark?: string
14722
+ /** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
14723
+ issuance_country_region_id?: string
14724
+ }
14725
+
14726
+ export interface RecurringPaymentForCreate {
14727
+ /** 外部幂等id,由上游业务决定 */
14728
+ unique_id: string
14729
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
14730
+ user_id: string
14731
+ /** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
14732
+ item_id: string
14733
+ /** 每次发放金额 */
14734
+ each_amount: string
14735
+ /** 发放开始时间 */
14736
+ start_date: string
14737
+ /** 发放结束时间 */
14738
+ end_date: string
14739
+ /** 币种id */
14740
+ currency_id: string
14741
+ /** 发放方式 */
14742
+ issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus'
14743
+ /** 发放频率 */
14744
+ issuance_period: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour'
14745
+ /** 备注 */
14746
+ remark?: string
14747
+ /** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
14748
+ issuance_country_region_id?: string
14749
+ }
14750
+
14751
+ export interface RecurringPaymentForUpdate {
14752
+ /** 经常性支付记录id */
14753
+ id: string
14754
+ /** 每次发放金额 */
14755
+ each_amount: string
14756
+ /** 发放开始时间 */
14757
+ start_date: string
14758
+ /** 发放结束时间 */
14759
+ end_date: string
14760
+ /** 币种id */
14761
+ currency_id: string
14762
+ /** 发放方式 */
14763
+ issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus'
14764
+ /** 原因 */
14765
+ remark?: string
14766
+ /** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
14767
+ issuance_country_region_id?: string
14768
+ }
14769
+
14770
+ export interface RecurringPaymentOperateResult {
14771
+ /** 操作记录的id */
14772
+ id?: string
14773
+ /** 操作的记录的 unique_id */
14774
+ unique_id?: string
14775
+ /** 操作结果状态码 */
14776
+ code?: 0 | 21280001 | 21280002 | 21280003 | 21270304 | 21270305 | 21270306 | 21270307 | 21270308 | 21270309 | 21270310 | 21270311 | 21270312 | 21270313 | 21270314 | 21270315 | 21270316 | 21270317 | 21270318
14777
+ /** 操作结果描述 */
14778
+ message?: string
14779
+ }
14780
+
13965
14781
  export interface ReferenceObject {
13966
14782
  /** cpst_item(项目)、 cpst_indicator(指标) */
13967
14783
  api_name?: 'cpst_item' | 'cpst_indicator'
@@ -15641,6 +16457,163 @@ export interface SkillGlobalVariable {
15641
16457
  channel?: Channel
15642
16458
  }
15643
16459
 
16460
+ export const enum SnapTo {
16461
+ /** 连接方向自动匹配 */
16462
+ Auto = 'auto',
16463
+ /** 连接图形顶部方向 */
16464
+ Top = 'top',
16465
+ /** 连接图形右边方向 */
16466
+ Right = 'right',
16467
+ /** 连接图形底部方向 */
16468
+ Bottom = 'bottom',
16469
+ /** 连接图形左边方向 */
16470
+ Left = 'left',
16471
+ }
16472
+
16473
+ export interface SocialArchive {
16474
+ /** 员工ID */
16475
+ user_id: string
16476
+ /** 员工参保档案,包含社保、公积金档案 */
16477
+ details: SocialArchiveDetail[]
16478
+ }
16479
+
16480
+ export interface SocialArchiveAdjustRecord {
16481
+ /** 员工ID */
16482
+ user_id?: string
16483
+ /** 类型,increase: 增员; attrition: 减员 */
16484
+ record_type?: 'increase' | 'attrition'
16485
+ /** 员工增减员记录,包括社保、公积金记录 */
16486
+ details?: SocialArchiveDetail[]
16487
+ }
16488
+
16489
+ export interface SocialArchiveDetail {
16490
+ /** 调整说明 */
16491
+ description: I18n
16492
+ /** 类型。social_insurance: 社保; provident_fund: 公积金 */
16493
+ insurance_type: 'social_insurance' | 'provident_fund'
16494
+ /** 参保状态,非「参保」状态下,基数、险种数据等为空 */
16495
+ insurance_status: 'contribution' | 'not_contribution' | 'stopped_contribution'
16496
+ /** 档案时间轴对象ID,仅参保档案对象会包含 */
16497
+ id?: string
16498
+ /** 档案时间轴对象版本ID,仅参保档案对象会包含 */
16499
+ tid?: string
16500
+ /** 参保方案ID,详细信息可通过「查询参保方案」接口获取 */
16501
+ plan_id?: string
16502
+ /** 参保方案版本ID */
16503
+ plan_tid?: string
16504
+ /** 参保城市ID,可通过获取地点信息接口查询详细信息 */
16505
+ location_id?: string
16506
+ /** 社保缴纳主体ID,可通过获取公司主体接口查询详细信息 */
16507
+ company_id?: string
16508
+ /** 社保账户类型 */
16509
+ account_type?: 'associated_company' | 'supplier'
16510
+ /** 社保账号 */
16511
+ insurance_account?: string
16512
+ /** 申报缴纳基数 */
16513
+ base_salary?: string
16514
+ /** 险种数据详情 */
16515
+ insurance_details?: SocialArchiveItem[]
16516
+ /** 档案生效时间,HHHH-MM-DD */
16517
+ effective_date?: string
16518
+ }
16519
+
16520
+ export interface SocialArchiveItem {
16521
+ /** 险种ID,详细信息可通过社保险种接口查询 */
16522
+ insurance_id: string
16523
+ /** 企业缴纳金额 */
16524
+ company_deduction: string
16525
+ /** 险种缴纳配置 */
16526
+ company_setting: SocialPlanItemSetting
16527
+ /** 企业缴纳金额 */
16528
+ personal_deduction: string
16529
+ /** 险种缴纳配置 */
16530
+ personal_setting: SocialPlanItemSetting
16531
+ /** 缴纳频率 */
16532
+ payment_frequency: 'annually' | 'monthly' | 'quarterly'
16533
+ /** 缴纳月份 */
16534
+ payment_months: number[]
16535
+ }
16536
+
16537
+ export interface SocialInsurance {
16538
+ /** 险种唯一ID */
16539
+ id: string
16540
+ /** 险种名称 */
16541
+ name: I18n
16542
+ /** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
16543
+ insurance_type: 'social_insurance' | 'provident_fund'
16544
+ /** 启用状态 */
16545
+ active: boolean
16546
+ /** 是否为系统预置险种。养老保险、医疗保险、失业保险、工伤保险、生育保险、住房公积金为系统预置险种。 */
16547
+ is_system: boolean
16548
+ }
16549
+
16550
+ export interface SocialPlan {
16551
+ /** 参保方案ID */
16552
+ plan_id: string
16553
+ /** 参保方案版本ID */
16554
+ plan_tid: string
16555
+ /** 参保方案名称 */
16556
+ name: I18n
16557
+ /** 生效时间,HHHH-MM-DD */
16558
+ effective_date: string
16559
+ /** 是否启用 */
16560
+ active: boolean
16561
+ /** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
16562
+ insurance_type: 'social_insurance' | 'provident_fund'
16563
+ /** 参保方案适用范围 */
16564
+ scope?: SocialPlanScope
16565
+ /** 参保信息 */
16566
+ item_detail: SocialPlanItemDetail[]
16567
+ /** 备注 */
16568
+ remark: I18n
16569
+ }
16570
+
16571
+ export interface SocialPlanCondition {
16572
+ /** 适用范围左值 */
16573
+ left_type?: 1 | 2
16574
+ /** 适用范围操作 */
16575
+ operator?: 1 | 2
16576
+ /** 适用范围右值 */
16577
+ right_values?: string[]
16578
+ }
16579
+
16580
+ export interface SocialPlanItemDetail {
16581
+ /** 险种ID,详细信息可通过社保险种接口查询 */
16582
+ item_id: string
16583
+ /** 险种名 */
16584
+ item_name: I18n
16585
+ /** 险种缴纳配置 */
16586
+ item_setting_of_person: SocialPlanItemSetting
16587
+ /** 险种缴纳配置 */
16588
+ item_setting_of_company: SocialPlanItemSetting
16589
+ /** 缴纳频率 */
16590
+ payment_frequency: 'annually' | 'monthly' | 'quarterly'
16591
+ /** 缴纳月份 */
16592
+ payment_months: number[]
16593
+ }
16594
+
16595
+ export interface SocialPlanItemSetting {
16596
+ /** 基数下限,浮点数,保留二位小数 */
16597
+ lower_limit: string
16598
+ /** 基数上限,浮点数,保留二位小数 */
16599
+ upper_limit: string
16600
+ /** 缴纳比例,浮点数,默认填充到二位小数,支持输入到四位,单位为 % */
16601
+ payment_ratio: string
16602
+ /** 缴纳金舍入规则。rounding: 四舍五入; round_up: 向上舍入; round_down: 向下舍入 */
16603
+ payment_rounding_rule: 'rounding' | 'round_up' | 'round_down'
16604
+ /** 缴纳金小数位数,0-6之间选择 */
16605
+ payment_decimals: number
16606
+ /** 附加固定金额,浮点数,保留二位小数 */
16607
+ fixed_payment: string
16608
+ }
16609
+
16610
+ export interface SocialPlanScope {
16611
+ /** 是否适用于全部 */
16612
+ is_all: boolean
16613
+ /** 适用范围,二维。外层or连接,内层and连接 */
16614
+ rules?: SocialPlanCondition[][]
16615
+ }
16616
+
15644
16617
  export interface Sort {
15645
16618
  /** 字段名称 */
15646
16619
  field_name?: string
@@ -15766,6 +16739,13 @@ export interface Statistics {
15766
16739
  dislike_count: number
15767
16740
  }
15768
16741
 
16742
+ export interface StickyNote {
16743
+ /** 用户id */
16744
+ user_id?: string
16745
+ /** 是否展示用户信息 */
16746
+ show_author_info?: boolean
16747
+ }
16748
+
15769
16749
  export interface StreamConfig {
15770
16750
  /** 仅包含字母数字和下划线的 16 位字符串作为同一数据流的标识,用户生成 */
15771
16751
  stream_id: string
@@ -15780,18 +16760,30 @@ export interface StreamConfig {
15780
16760
  }
15781
16761
 
15782
16762
  export interface Style {
16763
+ /** 填充颜色,16 进制 rbg 值 */
16764
+ fill_color?: string
15783
16765
  /** 填充透明度 */
15784
16766
  fill_opacity?: number
15785
16767
  /** 边框样式 */
15786
16768
  border_style?: 'solid' | 'none' | 'dash' | 'dot'
15787
16769
  /** 边框宽度 */
15788
- border_width?: 'extra_narrow' | 'narrow' | 'medium' | 'wide'
16770
+ border_width?: 'extra_narrow' | 'narrow' | 'medium' | 'bold'
15789
16771
  /** 边框透明度 */
15790
16772
  border_opacity?: number
15791
16773
  /** 水平翻折 */
15792
16774
  h_flip?: boolean
15793
16775
  /** 垂直翻折 */
15794
16776
  v_flip?: boolean
16777
+ /** 边框颜色,16 进制 rgb 值 */
16778
+ border_color?: string
16779
+ /** 填充颜色主题配色编码值 */
16780
+ theme_fill_color_code?: number
16781
+ /** 边框颜色主题配色编码值 */
16782
+ theme_border_color_code?: number
16783
+ /** 填充颜色类型:0=系统颜色,取theme_fill_color_code,1=自定义颜色,取fill_color */
16784
+ fill_color_type?: ColorType
16785
+ /** 边框颜色类型:0=系统颜色,取theme_border_color_code,1=自定义颜色,取border_color */
16786
+ border_color_type?: ColorType
15795
16787
  }
15796
16788
 
15797
16789
  export interface Subdivision {
@@ -15863,6 +16855,11 @@ export interface SupportCostCenterItem {
15863
16855
  rate?: number
15864
16856
  }
15865
16857
 
16858
+ export interface Svg {
16859
+ /** svg code */
16860
+ svg_code?: string
16861
+ }
16862
+
15866
16863
  export interface SystemFields {
15867
16864
  /** 中文姓名 */
15868
16865
  name?: string
@@ -17389,6 +18386,11 @@ export interface TransferType {
17389
18386
  updated_time?: string
17390
18387
  }
17391
18388
 
18389
+ export interface Trapezoid {
18390
+ /** 梯形上底长(短边)。默认为下底边长度的2/3,不能超过下底边长度。 */
18391
+ top_length?: number
18392
+ }
18393
+
17392
18394
  export interface TripartiteAgreementInfo {
17393
18395
  /** 三方协议 ID */
17394
18396
  id?: string
@@ -17913,6 +18915,13 @@ export interface UserFlow {
17913
18915
  idempotent_id?: string
17914
18916
  }
17915
18917
 
18918
+ export interface UserFreebusy {
18919
+ /** 日历上请求时间区间内的忙闲信息 */
18920
+ freebusy_items?: Freebusy[]
18921
+ /** 日历的创建者userID */
18922
+ user_id?: string
18923
+ }
18924
+
17916
18925
  export interface UserInfo {
17917
18926
  /** 个人邮箱还是公共邮箱 */
17918
18927
  type: string
@@ -18732,21 +19741,17 @@ export interface WeekdaySchedule {
18732
19741
 
18733
19742
  export interface WhiteboardNode {
18734
19743
  /** 节点 id */
18735
- id: string
18736
- /** 节点图形类型,目前创建节点仅支持创建图片、文本、基础图形等类型,读取到不支持创建的图形时只返回一些基础信息,如 id、type、text、style 等 */
18737
- type: 'image' | 'text_shape' | 'group' | 'composite_shape' | 'svg' | 'connector' | 'table' | 'life_line' | 'activation' | 'section' | 'table_uml' | 'table_er' | 'sticky_note' | 'mind_map' | 'paint'
19744
+ id?: string
19745
+ /** 节点图形类型,目前创建节点仅支持创建图片、文本、基础图形等类型 */
19746
+ 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'
18738
19747
  /** 父节点 id */
18739
19748
  parent_id?: string
18740
- /** 子节点 */
18741
- children?: string[]
18742
19749
  /** 图形相对画布的 x 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
18743
19750
  x?: number
18744
19751
  /** 图形相对画布的 y 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
18745
19752
  y?: number
18746
19753
  /** 图形旋转角度 */
18747
19754
  angle?: number
18748
- /** 图形宽度,单位为 px */
18749
- width?: number
18750
19755
  /** 图形高度,单位为 px */
18751
19756
  height?: number
18752
19757
  /** 图形内文字 */
@@ -18759,12 +19764,28 @@ export interface WhiteboardNode {
18759
19764
  composite_shape?: CompositeShape
18760
19765
  /** 连线属性 */
18761
19766
  connector?: Connector
19767
+ /** 图形宽度,单位为 px */
19768
+ width?: number
18762
19769
  /** 分区属性 */
18763
19770
  section?: Section
18764
19771
  /** 表格属性 */
18765
19772
  table?: Table
18766
- /** 思维导图属性 */
18767
- mind_map?: MindMap
19773
+ /** 图形是否锁定 */
19774
+ locked?: boolean
19775
+ /** 图形在兄弟节点中的层级,层级大的会覆盖层级小的 */
19776
+ z_index?: number
19777
+ /** 生命对象属性 */
19778
+ lifeline?: Lifeline
19779
+ /** 画笔属性 */
19780
+ paint?: Paint
19781
+ /** svg图形属性 */
19782
+ svg?: Svg
19783
+ /** 便签图形属性 */
19784
+ sticky_note?: StickyNote
19785
+ /** 思维导图节点属性 */
19786
+ mind_map_node?: MindMapNode
19787
+ /** 思维导图根节点属性 */
19788
+ mind_map_root?: MindMapRoot
18768
19789
  }
18769
19790
 
18770
19791
  export interface WikiCatalog {