@satorijs/adapter-lark 3.11.8 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/lib/bot.d.ts +5 -5
  2. package/lib/http.d.ts +6 -3
  3. package/lib/index.cjs +634 -261
  4. package/lib/types/acs.d.ts +4 -1
  5. package/lib/types/aily.d.ts +3 -3
  6. package/lib/types/apaas.d.ts +190 -28
  7. package/lib/types/application.d.ts +20 -4
  8. package/lib/types/approval.d.ts +0 -13
  9. package/lib/types/attendance.d.ts +11 -5
  10. package/lib/types/authen.d.ts +8 -2
  11. package/lib/types/bitable.d.ts +25 -4
  12. package/lib/types/board.d.ts +56 -0
  13. package/lib/types/calendar.d.ts +71 -5
  14. package/lib/types/cardkit.d.ts +2 -2
  15. package/lib/types/compensation.d.ts +400 -0
  16. package/lib/types/contact.d.ts +55 -12
  17. package/lib/types/corehr.d.ts +1287 -79
  18. package/lib/types/directory.d.ts +3 -41
  19. package/lib/types/docx.d.ts +23 -0
  20. package/lib/types/drive.d.ts +107 -90
  21. package/lib/types/ehr.d.ts +11 -2
  22. package/lib/types/helpdesk.d.ts +15 -6
  23. package/lib/types/hire.d.ts +52 -3
  24. package/lib/types/human_authentication.d.ts +1 -1
  25. package/lib/types/im.d.ts +77 -21
  26. package/lib/types/index.d.ts +1670 -105
  27. package/lib/types/mail.d.ts +106 -16
  28. package/lib/types/payroll.d.ts +117 -81
  29. package/lib/types/performance.d.ts +1 -1
  30. package/lib/types/search.d.ts +4 -1
  31. package/lib/types/security_and_compliance.d.ts +254 -1
  32. package/lib/ws.d.ts +30 -0
  33. package/package.json +6 -3
  34. package/src/bot.ts +28 -15
  35. package/src/http.ts +10 -4
  36. package/src/types/acs.ts +4 -1
  37. package/src/types/aily.ts +3 -3
  38. package/src/types/apaas.ts +237 -38
  39. package/src/types/application.ts +20 -4
  40. package/src/types/approval.ts +0 -15
  41. package/src/types/attendance.ts +11 -5
  42. package/src/types/authen.ts +8 -2
  43. package/src/types/bitable.ts +25 -4
  44. package/src/types/board.ts +75 -2
  45. package/src/types/calendar.ts +88 -5
  46. package/src/types/cardkit.ts +2 -2
  47. package/src/types/compensation.ts +485 -0
  48. package/src/types/contact.ts +55 -12
  49. package/src/types/corehr.ts +1480 -123
  50. package/src/types/directory.ts +3 -53
  51. package/src/types/docx.ts +29 -0
  52. package/src/types/drive.ts +129 -112
  53. package/src/types/ehr.ts +11 -2
  54. package/src/types/helpdesk.ts +15 -6
  55. package/src/types/hire.ts +66 -3
  56. package/src/types/human_authentication.ts +1 -1
  57. package/src/types/im.ts +77 -21
  58. package/src/types/index.ts +1751 -107
  59. package/src/types/mail.ts +106 -16
  60. package/src/types/payroll.ts +146 -103
  61. package/src/types/performance.ts +1 -1
  62. package/src/types/search.ts +4 -1
  63. package/src/types/security_and_compliance.ts +292 -1
  64. package/src/ws.ts +183 -0
  65. package/lib/types/api.d.ts +0 -28510
  66. package/lib/types/internal.d.ts +0 -21
  67. package/lib/types/message/content.d.ts +0 -433
  68. package/lib/types/message/index.d.ts +0 -95
@@ -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
@@ -2765,7 +2774,7 @@ export interface Bank {
2765
2774
  bank_name?: I18n[]
2766
2775
  /** 总行代码 */
2767
2776
  bank_code?: string
2768
- /** 国家/地区 ID,可通过[查询国家/地区信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询 */
2777
+ /** 国家/地区 ID,可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询 */
2769
2778
  country_region_id?: string
2770
2779
  /** 状态 */
2771
2780
  status?: 1 | 0
@@ -2830,7 +2839,7 @@ export interface BankBranch {
2830
2839
  bank_branch_id?: string
2831
2840
  /** 支行名称 */
2832
2841
  bank_branch_name?: I18n[]
2833
- /** 所属银行 ID,可通过[查询银行信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-bank/search)接口查询 */
2842
+ /** 所属银行 ID,可通过[查询银行信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-bank/search)接口查询 */
2834
2843
  bank_id?: string
2835
2844
  /** 金融分支机构编码(联行号) */
2836
2845
  code?: 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
@@ -3419,7 +3435,13 @@ export interface CalendarEvent {
3419
3435
  }
3420
3436
 
3421
3437
  export interface CalendarEventAttendee {
3422
- /** 参与人类型,仅当新建参与人时可设置类型<br>type为User时,值为open_id/user_id/union_id<br>type为Chat时,值为open_chat_id<br>type为Resource时,值为open_room_id<br>type为ThirdParty时,值为third_party_email;不支持通过API新建该类型参与人 */
3438
+ /**
3439
+ * 参与人类型,仅当新建参与人时可设置类型
3440
+ * type为User时,值为open_id/user_id/union_id
3441
+ * type为Chat时,值为open_chat_id
3442
+ * type为Resource时,值为open_room_id
3443
+ * type为ThirdParty时,值为third_party_email;不支持通过API新建该类型参与人
3444
+ */
3423
3445
  type?: 'user' | 'chat' | 'resource' | 'third_party'
3424
3446
  /** 参与人是否为「可选参加」,无法编辑群参与人的此字段 */
3425
3447
  is_optional?: boolean
@@ -3455,7 +3477,13 @@ export interface CalendarEventAttendeeChatMember {
3455
3477
  }
3456
3478
 
3457
3479
  export interface CalendarEventAttendeeId {
3458
- /** 参与人类型,仅当新建参与人时可设置类型<br>type为User时,值为open_id/user_id/union_id<br>type为Chat时,值为open_chat_id<br>type为Resource时,值为open_room_id<br>type为ThirdParty时,值为third_party_email;不支持通过API新建该类型参与人 */
3480
+ /**
3481
+ * 参与人类型,仅当新建参与人时可设置类型
3482
+ * type为User时,值为open_id/user_id/union_id
3483
+ * type为Chat时,值为open_chat_id
3484
+ * type为Resource时,值为open_room_id
3485
+ * type为ThirdParty时,值为third_party_email;不支持通过API新建该类型参与人
3486
+ */
3459
3487
  type?: 'user' | 'chat' | 'resource' | 'third_party'
3460
3488
  /** 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id */
3461
3489
  user_id?: string
@@ -3601,7 +3629,11 @@ export interface ChatMenuItem {
3601
3629
  image_key?: string
3602
3630
  /** 名称 */
3603
3631
  name: string
3604
- /** 国际化名称,一级菜单名称字符数要在1到8范围内,二级菜单名称字符数要在1到24范围内。<br><br>**注意:**<br>1中文=2英文=2其他语言字符=2字符 */
3632
+ /**
3633
+ * 国际化名称,一级菜单名称字符数要在1到8范围内,二级菜单名称字符数要在1到24范围内。
3634
+ * **注意:**
3635
+ * 1中文=2英文=2其他语言字符=2字符
3636
+ */
3605
3637
  i18n_names?: I18nNames
3606
3638
  }
3607
3639
 
@@ -3708,7 +3740,7 @@ export interface City {
3708
3740
  city_id?: string
3709
3741
  /** 城市名称 */
3710
3742
  name?: I18n[]
3711
- /** 所属省份/主要行政区 ID,详细信息可通过[查询省份/主要行政区信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)接口获得 */
3743
+ /** 所属省份/主要行政区 ID,详细信息可通过[查询省份/主要行政区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region_subdivision/search)接口获得 */
3712
3744
  country_region_subdivision_id?: string
3713
3745
  /** 城市三位字母代码 */
3714
3746
  code?: string
@@ -3928,6 +3960,13 @@ export interface Collaborator {
3928
3960
  id_list?: string[]
3929
3961
  }
3930
3962
 
3963
+ export const enum ColorType {
3964
+ /** 系统颜色 */
3965
+ SystemColor = 0,
3966
+ /** 自定义颜色 */
3967
+ CustomColor = 1,
3968
+ }
3969
+
3931
3970
  export interface CombinedJobObjectValueMap {
3932
3971
  /** 结构 ID */
3933
3972
  object_id?: string
@@ -4142,15 +4181,21 @@ export interface CompensationCost {
4142
4181
  }
4143
4182
 
4144
4183
  export interface CompensationCostItem {
4145
- /** 发薪人数 */
4146
- number_of_individuals_for_payment?: number
4147
4184
  /** 成本项数据 */
4148
4185
  compensation_costs?: CompensationCost[]
4149
4186
  }
4150
4187
 
4151
4188
  export interface CompositeShape {
4152
4189
  /** 基础图形的具体类型 */
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'
4190
+ 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'
4191
+ /** 饼图属性,type=pie时需要设置 */
4192
+ pie?: Pie
4193
+ /** 圆环属性,type=circular_ring时需要设置 */
4194
+ circular_ring?: Pie
4195
+ /** 梯形属性,type=trapezoid时可以设置 */
4196
+ trapezoid?: Trapezoid
4197
+ /** 六面体属性,type=cube时可以设置 */
4198
+ cube?: Cube
4154
4199
  }
4155
4200
 
4156
4201
  export interface CompositeTalentAwardInfo {
@@ -4325,17 +4370,64 @@ export interface Condition {
4325
4370
  }
4326
4371
 
4327
4372
  export interface Connector {
4328
- /** 连线连接的起点图形 */
4329
- start_object?: ConnectorAttachedObject
4330
- /** 连线连接的终点图形 */
4331
- end_object?: ConnectorAttachedObject
4373
+ /** 连线端点信息 */
4374
+ start?: ConnectorInfo
4375
+ /** 连线端点信息 */
4376
+ end?: ConnectorInfo
4332
4377
  /** 连线文本 */
4333
4378
  captions?: ConnectorCaption
4379
+ /** 连线类型 */
4380
+ shape?: ConnectorLineShape
4381
+ /** 连线转向点 */
4382
+ turning_points?: Point[]
4383
+ /** 连线上的文本方向是否自动跟随连线方向 */
4384
+ caption_auto_direction?: boolean
4385
+ /** 文本在连线上的相对位置,范围0-1,0表示在连线的起始点,1表示在连线的终点 */
4386
+ caption_position?: number
4387
+ /** 指定连线坐标及长宽。为 true 时需要用户设置连线的坐标及长宽信息。为 false 时会根据连线的开始、结束端点自动计算连线的坐标及长宽信息 */
4388
+ specified_coordinate?: boolean
4389
+ }
4390
+
4391
+ export const enum ConnectorArrowStyle {
4392
+ /** 无箭头样式 */
4393
+ None = 'none',
4394
+ /** 线型箭头 */
4395
+ LineArrow = 'line_arrow',
4396
+ /** 三角形箭头 */
4397
+ TriangleArrow = 'triangle_arrow',
4398
+ /** 空心三角形箭头 */
4399
+ EmptyTriangleArrow = 'empty_triangle_arrow',
4400
+ /** 圆形箭头 */
4401
+ CircleArrow = 'circle_arrow',
4402
+ /** 空心圆形箭头 */
4403
+ EmptyCircleArrow = 'empty_circle_arrow',
4404
+ /** 菱形箭头 */
4405
+ DiamondArrow = 'diamond_arrow',
4406
+ /** 空心菱形箭头 */
4407
+ EmptyDiamondArrow = 'empty_diamond_arrow',
4408
+ /** 单箭头 */
4409
+ SingleArrow = 'single_arrow',
4410
+ /** 多箭头 */
4411
+ MultiArrow = 'multi_arrow',
4412
+ /** 精确单箭头 */
4413
+ ExactSingleArrow = 'exact_single_arrow',
4414
+ /** 零个或多个箭头 */
4415
+ ZeroOrMultiArrow = 'zero_or_multi_arrow',
4416
+ /** 零个或单个箭头 */
4417
+ ZeroOrSingleArrow = 'zero_or_single_arrow',
4418
+ /** 单个或多个箭头 */
4419
+ SingleOrMultiArrow = 'single_or_multi_arrow',
4420
+ /** x型箭头 */
4421
+ XArrow = 'x_arrow',
4334
4422
  }
4335
4423
 
4336
4424
  export interface ConnectorAttachedObject {
4337
4425
  /** 连接图形的 id */
4338
4426
  id?: string
4427
+ /** 连接图形的方向 */
4428
+ snap_to?: SnapTo
4429
+ /** 连接图形的相对坐标,0-1 */
4430
+ position?: Point
4339
4431
  }
4340
4432
 
4341
4433
  export interface ConnectorCaption {
@@ -4343,6 +4435,26 @@ export interface ConnectorCaption {
4343
4435
  data?: Text[]
4344
4436
  }
4345
4437
 
4438
+ export interface ConnectorInfo {
4439
+ /** 连接图形信息 */
4440
+ attached_object?: ConnectorAttachedObject
4441
+ /** 连线端点在画布内的坐标,position与attached_object二选一 */
4442
+ position?: Point
4443
+ /** 连线端点箭头样式 */
4444
+ arrow_style?: ConnectorArrowStyle
4445
+ }
4446
+
4447
+ export const enum ConnectorLineShape {
4448
+ /** 直线 */
4449
+ Straight = 'straight',
4450
+ /** 折线 */
4451
+ Polyline = 'polyline',
4452
+ /** 曲线 */
4453
+ Curve = 'curve',
4454
+ /** 直角折线 */
4455
+ RightAngledPolyline = 'right_angled_polyline',
4456
+ }
4457
+
4346
4458
  export interface ConnectorParam {
4347
4459
  /** 回调时Request里面的id类型 */
4348
4460
  callback_user_id_type?: 0 | 1 | 2 | 3
@@ -4548,6 +4660,8 @@ export interface CostAllocationReportData {
4548
4660
  data_summary_dimensions?: DataSummaryDimension[]
4549
4661
  /** 成本项数据 */
4550
4662
  compensation_cost_item?: CompensationCostItem
4663
+ /** 员工id */
4664
+ employment_id?: string
4551
4665
  }
4552
4666
 
4553
4667
  export interface CostCenter {
@@ -4623,9 +4737,9 @@ export interface CountryRegionSubdivision {
4623
4737
  country_region_subdivision_id?: string
4624
4738
  /** 省份/主要行政区名称 */
4625
4739
  name?: I18n[]
4626
- /** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
4740
+ /** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
4627
4741
  country_region_id?: string
4628
- /** 行政区类型,枚举值可通过飞书人事[枚举常量介绍](/ssl:ttdoc/server-docs/corehr-v1/feishu-people-enum-constant#402ea9a0)文档中行政区类型(subdivision_type)定义部分获得 */
4742
+ /** 行政区类型,枚举值可通过飞书人事[枚举常量介绍](https://open.feishu.cn/document/server-docs/corehr-v1/feishu-people-enum-constant#402ea9a0)文档中行政区类型(subdivision_type)定义部分获得 */
4629
4743
  subdivision_type?: Enum
4630
4744
  /** 省份/主要行政区编码(ISO 3166-2) */
4631
4745
  iso_code?: string
@@ -4847,10 +4961,15 @@ export interface Criterion {
4847
4961
  logic_expression?: string
4848
4962
  }
4849
4963
 
4964
+ export interface Cube {
4965
+ /** 六面体控制点,相对六面体外接矩形的相对坐标。默认控制点为外接矩形长的0.8,宽的0.25 */
4966
+ control_point?: Point
4967
+ }
4968
+
4850
4969
  export interface Currency {
4851
4970
  /** 货币 ID */
4852
4971
  currency_id?: string
4853
- /** 货币所属国家/地区 ID 列表,详细信息可通过[查询国家/地区信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
4972
+ /** 货币所属国家/地区 ID 列表,详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
4854
4973
  country_region_id_list?: string[]
4855
4974
  /** 货币名称 */
4856
4975
  currency_name?: I18n[]
@@ -5286,6 +5405,8 @@ export interface DataSummaryDimension {
5286
5405
  dimension_value_id?: string
5287
5406
  /** 算薪项汇总维度时,当算薪项是特定枚举值,会使用该字段返回枚举值ID以及枚举值Key */
5288
5407
  enum_dimension?: EnumObject
5408
+ /** 维度引用对象的基础信息,当维度为引用类型字段才会有值,目前支持的引用对象类型见type */
5409
+ dimension_value_lookup_info?: DimensionValueLookupInfo
5289
5410
  /** 维度名称,自定义维度使用 */
5290
5411
  dimension_names?: I18nContent[]
5291
5412
  /** 数据维度表头,自定义维度使用 */
@@ -5422,15 +5543,6 @@ export interface DepartmentI18nName {
5422
5543
  en_us?: string
5423
5544
  }
5424
5545
 
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
5546
  export interface DepartmentLeader {
5435
5547
  /** 负责人类型 */
5436
5548
  leaderType: 1 | 2
@@ -5562,11 +5674,79 @@ export interface Device {
5562
5674
  name: string
5563
5675
  }
5564
5676
 
5677
+ export interface DeviceRecord {
5678
+ /** 设备认证编码 */
5679
+ device_record_id: string
5680
+ /** 版本号 */
5681
+ version: string
5682
+ /** 当前登录用户ID */
5683
+ current_user_id?: string
5684
+ /** 设备名称 */
5685
+ device_name?: string
5686
+ /** 设备型号 */
5687
+ model?: string
5688
+ /** 操作系统 */
5689
+ device_system: 1 | 2 | 3 | 4 | 5 | 6
5690
+ /** 生产序列号 */
5691
+ serial_number?: string
5692
+ /** 硬盘序列号 */
5693
+ disk_serial_number?: string
5694
+ /** 主板UUID */
5695
+ uuid?: string
5696
+ /** MAC地址 */
5697
+ mac_address?: string
5698
+ /** Android标识符 */
5699
+ android_id?: string
5700
+ /** iOS供应商标识符 */
5701
+ idfv?: string
5702
+ /** Harmony供应商标识符 */
5703
+ aaid?: string
5704
+ /** 设备归属 */
5705
+ device_ownership: 0 | 1 | 2
5706
+ /** 可信状态 */
5707
+ device_status: 0 | 1 | 2
5708
+ /** 认证方式 */
5709
+ certification_level: 0 | 1 | 2
5710
+ /** 设备类型 */
5711
+ device_terminal_type: 0 | 1 | 2
5712
+ /** 最近登录用户ID */
5713
+ latest_user_id?: string
5714
+ /** 设备指纹列表 */
5715
+ dids?: string[]
5716
+ }
5717
+
5565
5718
  export interface Diagram {
5566
5719
  /** 绘图类型 */
5567
5720
  diagram_type?: 1 | 2
5568
5721
  }
5569
5722
 
5723
+ export const enum DiagramType {
5724
+ /** 未知 */
5725
+ UNKOWN = 0,
5726
+ /** 思维导图 */
5727
+ MIND_MAP = 1,
5728
+ /** 时序图 */
5729
+ SEQUENCE = 2,
5730
+ /** 活动图 */
5731
+ ACTIVITY = 3,
5732
+ /** 类图 */
5733
+ CLASS = 4,
5734
+ /** ER */
5735
+ ER = 5,
5736
+ /** 流程图 */
5737
+ FLOWCHART = 6,
5738
+ /** 用例图 */
5739
+ STATE = 7,
5740
+ /** 组件图 */
5741
+ COMPONENT_DIAGRAM = 8,
5742
+ /** ai流式生成流程图 */
5743
+ STREAMING_ACTIVITY = 101,
5744
+ /** ai流式生成时序图 */
5745
+ STREAMING_SEQUENCE = 102,
5746
+ /** plantUML语法补充超集GML */
5747
+ TIMELINE_GML = 201,
5748
+ }
5749
+
5570
5750
  export interface DiData {
5571
5751
  /** 字段值 1. 单选: "1" 2. 多选:"["1", "2"]" 3. 月份选择:"{"date":"2022-01"}" 4. 年份选择:"{"date":"2022"}" 5. 数字:"123" 6. 单行文本:"xxx " 7. 多行文本:"xxx xxxx" 8. 日期范围 "[1688140800000,1688140800000]" */
5572
5752
  value?: string
@@ -5669,6 +5849,15 @@ export interface DimensionOption {
5669
5849
  score_val?: number
5670
5850
  }
5671
5851
 
5852
+ export interface DimensionValueLookupInfo {
5853
+ /** 引用对象类型 */
5854
+ type?: string
5855
+ /** 引用对象的id,可根据相关API查询到对象的完整信息 */
5856
+ id?: string
5857
+ /** 引用对象的code,目前下面的对象会有code */
5858
+ code?: string
5859
+ }
5860
+
5672
5861
  export interface DirectProjectLeaderRecordInfo {
5673
5862
  /** 评估人 ID */
5674
5863
  reviewer_id?: User
@@ -5720,7 +5909,7 @@ export interface District {
5720
5909
  district_id?: string
5721
5910
  /** 名称 */
5722
5911
  name?: I18n[]
5723
- /** 所属城市 ID,详细信息可通过[查询城市信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-city/search)接口获得 */
5912
+ /** 所属城市 ID,详细信息可通过[查询城市信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-city/search)接口获得 */
5724
5913
  city_id?: string
5725
5914
  /** 行政区划代码 */
5726
5915
  subregion_code?: string
@@ -6100,17 +6289,6 @@ export interface EmployeeEntity {
6100
6289
  work_info?: EmployeeWorkEntity
6101
6290
  }
6102
6291
 
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
6292
  export interface EmployeeJobData {
6115
6293
  /** Employment ID */
6116
6294
  employment_id: string
@@ -6128,39 +6306,47 @@ export interface EmployeeOverboardInfo {
6128
6306
  export interface EmployeesAdditionalJob {
6129
6307
  /** 兼职记录ID */
6130
6308
  id?: string
6131
- /** 人员类型 ID,可通过[【查询单个人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
6309
+ /** 人员类型 ID,可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
6132
6310
  employee_type_id: string
6133
- /** 工时制度 ID,可通过[【查询单个工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
6311
+ /** 工时制度 ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
6134
6312
  working_hours_type_id?: string
6135
- /** 工作地点 ID,可通过[【查询单个地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
6313
+ /** 工作地点 ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
6136
6314
  work_location_id?: string
6137
- /** 部门 ID,可通过[【查询单个部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型与department_id_type一致 */
6315
+ /** 部门 ID,可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型与department_id_type一致 */
6138
6316
  department_id: string
6139
- /** 职务 ID,可通过[【查询单个职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
6317
+ /** 职务 ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
6140
6318
  job_id?: string
6141
- /** 职级 ID,可通过[【查询单个职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
6319
+ /** 职级 ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
6142
6320
  job_level_id?: string
6143
- /** 序列 ID,可通过[【查询单个序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
6321
+ /** 序列 ID,可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
6144
6322
  job_family_id?: string
6145
- /** 雇佣 ID,可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6323
+ /** 雇佣 ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6146
6324
  employment_id: string
6147
6325
  /** 兼职开始日期 */
6148
6326
  start_date: string
6149
6327
  /** 兼职结束日期 */
6150
6328
  end_date?: string
6151
- /** 直属上级的雇佣ID,可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6329
+ /** 直属上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6152
6330
  direct_manager_id?: string
6153
- /** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6331
+ /** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6154
6332
  dotted_line_manager_id?: string
6155
- /** 排班类型,可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:- object_api_name = "job_data"- custom_api_name = "work_shift" */
6333
+ /**
6334
+ * 排班类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6335
+ * - object_api_name = "job_data"
6336
+ * - custom_api_name = "work_shift"
6337
+ */
6156
6338
  work_shift?: Enum
6157
- /** 薪资类型,可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:- object_api_name = "job_data"- custom_api_name = "compensation_type" */
6339
+ /**
6340
+ * 薪资类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6341
+ * - object_api_name = "job_data"
6342
+ * - custom_api_name = "compensation_type"
6343
+ */
6158
6344
  compensation_type?: Enum
6159
- /** 任职公司,可通过[【查询单个公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
6345
+ /** 任职公司,可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
6160
6346
  service_company?: string
6161
6347
  /** 周工作时长【0~168】 */
6162
6348
  weekly_working_hours?: string
6163
- /** 工作日历ID,可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
6349
+ /** 工作日历ID,可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
6164
6350
  work_calendar_id?: string
6165
6351
  /** 岗位 ID */
6166
6352
  position_id?: string
@@ -6178,39 +6364,47 @@ export interface EmployeesAdditionalJobBatchReqDate {
6178
6364
  export interface EmployeesAdditionalJobWriteResp {
6179
6365
  /** 兼职记录ID */
6180
6366
  id?: string
6181
- /** 人员类型 ID,可通过[【查询单个人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
6367
+ /** 人员类型 ID,可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息 */
6182
6368
  employee_type_id: string
6183
- /** 工时制度 ID,可通过[【查询单个工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
6369
+ /** 工时制度 ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息 */
6184
6370
  working_hours_type_id?: string
6185
- /** 工作地点 ID,可通过[【查询单个地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
6371
+ /** 工作地点 ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息 */
6186
6372
  work_location_id?: string
6187
- /** 部门 ID,可通过[【查询单个部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型与department_id_type一致 */
6373
+ /** 部门 ID,可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型与department_id_type一致 */
6188
6374
  department_id: string
6189
- /** 职务 ID,可通过[【查询单个职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
6375
+ /** 职务 ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息 */
6190
6376
  job_id?: string
6191
- /** 职级 ID,可通过[【查询单个职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
6377
+ /** 职级 ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息 */
6192
6378
  job_level_id?: string
6193
- /** 序列 ID,可通过[【查询单个序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
6379
+ /** 序列 ID,可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息 */
6194
6380
  job_family_id?: string
6195
- /** 雇佣 ID,可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6381
+ /** 雇佣 ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6196
6382
  employment_id: string
6197
6383
  /** 兼职开始日期 */
6198
6384
  start_date: string
6199
6385
  /** 兼职结束日期 */
6200
6386
  end_date?: string
6201
- /** 直属上级的雇佣ID,可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6387
+ /** 直属上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6202
6388
  direct_manager_id?: string
6203
- /** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6389
+ /** 虚线上级的雇佣ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;类型与user_id_type一致 */
6204
6390
  dotted_line_manager_id?: string
6205
- /** 排班类型,可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:- object_api_name = "job_data"- custom_api_name = "work_shift" */
6391
+ /**
6392
+ * 排班类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6393
+ * - object_api_name = "job_data"
6394
+ * - custom_api_name = "work_shift"
6395
+ */
6206
6396
  work_shift?: Enum
6207
- /** 薪资类型,可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:- object_api_name = "job_data"- custom_api_name = "compensation_type" */
6397
+ /**
6398
+ * 薪资类型,可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6399
+ * - object_api_name = "job_data"
6400
+ * - custom_api_name = "compensation_type"
6401
+ */
6208
6402
  compensation_type?: Enum
6209
- /** 任职公司,可通过[【查询单个公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
6403
+ /** 任职公司,可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息 */
6210
6404
  service_company?: string
6211
6405
  /** 周工作时长【0~168】 */
6212
6406
  weekly_working_hours?: string
6213
- /** 工作日历ID,可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
6407
+ /** 工作日历ID,可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息 */
6214
6408
  work_calendar_id?: string
6215
6409
  /** 岗位 ID */
6216
6410
  position_id?: string
@@ -6218,6 +6412,274 @@ export interface EmployeesAdditionalJobWriteResp {
6218
6412
  employee_subtype_id?: string
6219
6413
  }
6220
6414
 
6415
+ export interface EmployeesInternationalAssignment {
6416
+ /**
6417
+ * 外派工作地点 ID
6418
+ * - 可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息
6419
+ */
6420
+ work_location_id?: string
6421
+ /**
6422
+ * 外派任职公司 ID
6423
+ * - 可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息
6424
+ */
6425
+ service_company?: string
6426
+ /**
6427
+ * 排班类型
6428
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6429
+ * - object_api_name:job_data
6430
+ * - custom_api_name:work_shift
6431
+ */
6432
+ work_shift?: Enum
6433
+ /**
6434
+ * 工时制度ID
6435
+ * - 可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息
6436
+ */
6437
+ working_hours_type_id?: string
6438
+ /**
6439
+ * 人员类型ID
6440
+ * - 可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
6441
+ */
6442
+ employee_type_id?: string
6443
+ /** 周工作时长 */
6444
+ weekly_working_hours_v2?: number
6445
+ /**
6446
+ * 部门 ID
6447
+ * - 可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息
6448
+ * - 类型与 department_id_type 一致
6449
+ */
6450
+ department_id?: string
6451
+ /**
6452
+ * 职务 ID
6453
+ * - 可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息
6454
+ */
6455
+ job_id?: string
6456
+ /**
6457
+ * 序列 ID
6458
+ * - 可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息
6459
+ */
6460
+ job_family_id?: string
6461
+ /**
6462
+ * 职级 ID
6463
+ * - 可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
6464
+ */
6465
+ job_level_id?: string
6466
+ /**
6467
+ * 职等 ID
6468
+ * - 可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息
6469
+ */
6470
+ job_grade_id?: string
6471
+ /**
6472
+ * 薪资类型
6473
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6474
+ * - object_api_name:job_data
6475
+ * - custom_api_name:compensation_type
6476
+ */
6477
+ compensation_type?: Enum
6478
+ /**
6479
+ * 直属上级雇佣 ID
6480
+ * - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
6481
+ * - 类型与 user_id_type 一致
6482
+ */
6483
+ direct_manager_id?: string
6484
+ /**
6485
+ * 虚线上级雇佣 ID
6486
+ * - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
6487
+ * - 类型与 user_id_type 一致
6488
+ */
6489
+ dotted_line_manager_id?: string
6490
+ /**
6491
+ * 工作日历 ID
6492
+ * - 可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息
6493
+ */
6494
+ work_calendar_id?: string
6495
+ /**
6496
+ * 岗位 ID
6497
+ * - 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
6498
+ */
6499
+ position_id?: string
6500
+ /**
6501
+ * 雇佣 ID
6502
+ * - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
6503
+ * - 类型与 user_id_type 一致
6504
+ */
6505
+ employment_id?: string
6506
+ /**
6507
+ * 自定义字段
6508
+ * - 请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
6509
+ */
6510
+ custom_fields?: ObjectFieldData[]
6511
+ /** 外派原因说明 */
6512
+ international_assignment_reason?: string
6513
+ /** 备注 */
6514
+ description?: string
6515
+ /**
6516
+ * 预计结束日期
6517
+ * - 格式:yyyy-mm-dd
6518
+ */
6519
+ international_assignment_expected_end_date?: string
6520
+ /**
6521
+ * 外派状态
6522
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6523
+ * - object_api_name:international_assignment
6524
+ * - custom_api_name:international_assignment_status
6525
+ */
6526
+ international_assignment_status?: Enum
6527
+ /**
6528
+ * 外派类型
6529
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6530
+ * - object_api_name:international_assignment
6531
+ * - custom_api_name:international_assignment_type
6532
+ */
6533
+ international_assignment_type?: Enum
6534
+ /**
6535
+ * 开始日期
6536
+ * - 格式:yyyy-mm-dd
6537
+ */
6538
+ effective_time?: string
6539
+ /**
6540
+ * 结束日期
6541
+ * - 格式:yyyy-mm-dd
6542
+ * - 在外派未结束时,该值默认为 9999-12-31
6543
+ */
6544
+ expiration_time?: string
6545
+ /** 外派ID */
6546
+ id?: string
6547
+ }
6548
+
6549
+ export interface EmployeesInternationalAssignmentResp {
6550
+ /**
6551
+ * 外派工作地点 ID
6552
+ * - 可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息
6553
+ */
6554
+ work_location_id?: string
6555
+ /**
6556
+ * 外派任职公司 ID
6557
+ * - 可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息
6558
+ */
6559
+ service_company?: string
6560
+ /**
6561
+ * 排班类型
6562
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6563
+ * - object_api_name:job_data
6564
+ * - custom_api_name:work_shift
6565
+ */
6566
+ work_shift?: Enum
6567
+ /**
6568
+ * 工时制度ID
6569
+ * - 可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息
6570
+ */
6571
+ working_hours_type_id?: string
6572
+ /**
6573
+ * 人员类型ID
6574
+ * - 可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
6575
+ */
6576
+ employee_type_id?: string
6577
+ /** 周工作时长 */
6578
+ weekly_working_hours_v2?: number
6579
+ /**
6580
+ * 部门 ID
6581
+ * - 可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息
6582
+ * - 类型与 department_id_type 一致
6583
+ */
6584
+ department_id?: string
6585
+ /**
6586
+ * 职务 ID
6587
+ * - 可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息
6588
+ */
6589
+ job_id?: string
6590
+ /**
6591
+ * 序列 ID
6592
+ * - 可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息
6593
+ */
6594
+ job_family_id?: string
6595
+ /**
6596
+ * 职级 ID
6597
+ * - 可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
6598
+ */
6599
+ job_level_id?: string
6600
+ /**
6601
+ * 职等 ID
6602
+ * - 可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息
6603
+ */
6604
+ job_grade_id?: string
6605
+ /**
6606
+ * 薪资类型
6607
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6608
+ * - object_api_name:job_data
6609
+ * - custom_api_name:compensation_type
6610
+ */
6611
+ compensation_type?: Enum
6612
+ /**
6613
+ * 直属上级雇佣 ID
6614
+ * - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
6615
+ * - 类型与 user_id_type 一致
6616
+ */
6617
+ direct_manager_id?: string
6618
+ /**
6619
+ * 虚线上级雇佣 ID
6620
+ * - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
6621
+ * - 类型与 user_id_type 一致
6622
+ */
6623
+ dotted_line_manager_id?: string
6624
+ /**
6625
+ * 工作日历 ID
6626
+ * - 可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息
6627
+ */
6628
+ work_calendar_id?: string
6629
+ /**
6630
+ * 岗位 ID
6631
+ * - 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
6632
+ */
6633
+ position_id?: string
6634
+ /**
6635
+ * 雇佣 ID
6636
+ * - 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
6637
+ * - 类型与 user_id_type 一致
6638
+ */
6639
+ employment_id?: string
6640
+ /**
6641
+ * 自定义字段
6642
+ * - 请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
6643
+ */
6644
+ custom_fields?: ObjectFieldData[]
6645
+ /** 外派原因说明 */
6646
+ international_assignment_reason?: string
6647
+ /** 备注 */
6648
+ description?: string
6649
+ /**
6650
+ * 预计结束日期
6651
+ * - 格式:yyyy-mm-dd
6652
+ */
6653
+ international_assignment_expected_end_date?: string
6654
+ /**
6655
+ * 外派状态
6656
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6657
+ * - object_api_name:international_assignment
6658
+ * - custom_api_name:international_assignment_status
6659
+ */
6660
+ international_assignment_status?: Enum
6661
+ /**
6662
+ * 外派类型
6663
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
6664
+ * - object_api_name:international_assignment
6665
+ * - custom_api_name:international_assignment_type
6666
+ */
6667
+ international_assignment_type?: Enum
6668
+ /**
6669
+ * 开始日期
6670
+ * - 格式:yyyy-mm-dd
6671
+ */
6672
+ effective_time?: string
6673
+ /**
6674
+ * 结束日期
6675
+ * - 格式:yyyy-mm-dd
6676
+ * - 在外派未结束时,该值默认为 9999-12-31
6677
+ */
6678
+ expiration_time?: string
6679
+ /** 外派ID */
6680
+ id?: string
6681
+ }
6682
+
6221
6683
  export const enum EmployeeStaffStatusDirectory {
6222
6684
  /** 在职 */
6223
6685
  EmployeeStaffStatusDirectoryUnResigned = 1,
@@ -7228,7 +7690,7 @@ export interface FieldVariableValueToFile {
7228
7690
  /** 文件名称 */
7229
7691
  file_name?: string
7230
7692
  /** 文件大小,单位:Byte */
7231
- length?: string
7693
+ length?: number
7232
7694
  /** 文件类型,如`application/pdf` */
7233
7695
  mime_type?: string
7234
7696
  }
@@ -7270,6 +7732,8 @@ export interface FieldVariableValueToRecord {
7270
7732
  variable_api_name?: string
7271
7733
  /** 变量值,对应subValues中的key */
7272
7734
  sub_value_key?: string
7735
+ /** 记录唯一ID */
7736
+ record_id?: string
7273
7737
  }
7274
7738
 
7275
7739
  export interface File {
@@ -9092,6 +9556,36 @@ export interface JobFamily {
9092
9556
  job_family_id?: string
9093
9557
  }
9094
9558
 
9559
+ export interface JobFamilyTimeline {
9560
+ /** 序列版本信息 */
9561
+ job_family_version_data?: JobFamilyVersionData[]
9562
+ }
9563
+
9564
+ export interface JobFamilyVersionData {
9565
+ /** 序列 ID */
9566
+ job_family_id?: string
9567
+ /** 序列版本 ID */
9568
+ job_family_version_id?: string
9569
+ /** 序列名称 */
9570
+ job_family_names?: I18n[]
9571
+ /** 生效日期 */
9572
+ effective_date?: string
9573
+ /** 失效时间 */
9574
+ expiration_date?: string
9575
+ /** 是否启用 */
9576
+ active?: boolean
9577
+ /** 描述 */
9578
+ descriptions?: I18n[]
9579
+ /** 可选 */
9580
+ selectable?: boolean
9581
+ /** 上级序列 */
9582
+ parent_job_family_id?: string
9583
+ /** 通道 ID 列表 */
9584
+ pathway_ids?: string[]
9585
+ /** 编码 */
9586
+ code?: string
9587
+ }
9588
+
9095
9589
  export interface JobFunction {
9096
9590
  /** 职能分类 ID */
9097
9591
  id?: string
@@ -9348,6 +9842,11 @@ export interface JobStorefront {
9348
9842
  remark?: I18n
9349
9843
  }
9350
9844
 
9845
+ export interface JobTimeline {
9846
+ /** 职务版本信息 */
9847
+ job_version_data?: JobVersionData[]
9848
+ }
9849
+
9351
9850
  export interface JobTitle {
9352
9851
  /** 职务ID */
9353
9852
  job_title_id?: string
@@ -9375,6 +9874,35 @@ export interface JobUserInfo {
9375
9874
  name?: I18n
9376
9875
  }
9377
9876
 
9877
+ export interface JobVersionData {
9878
+ /** 职务 ID */
9879
+ job_id?: string
9880
+ /** 职务版本 ID */
9881
+ job_version_id?: string
9882
+ /** 职务名称 */
9883
+ job_names?: I18n[]
9884
+ /** 生效日期 */
9885
+ effective_date?: string
9886
+ /** 失效时间 */
9887
+ expiration_date?: string
9888
+ /** 是否启用 */
9889
+ active?: boolean
9890
+ /** 描述 */
9891
+ descriptions?: I18n[]
9892
+ /** 编码 */
9893
+ code?: string
9894
+ /** 职务头衔 */
9895
+ job_titles?: I18n[]
9896
+ /** 序列 */
9897
+ job_family_ids?: string[]
9898
+ /** 职级 */
9899
+ job_level_ids?: string[]
9900
+ /** 通道ID */
9901
+ pathway_id?: string
9902
+ /** 工时制度,引用WorkingHoursType的ID */
9903
+ working_hours_type_id?: string
9904
+ }
9905
+
9378
9906
  export interface KeyresultData {
9379
9907
  /** 关键举措 ID */
9380
9908
  keyresult_id: string
@@ -9674,6 +10202,13 @@ export interface LeaveType {
9674
10202
  updated_by: string
9675
10203
  }
9676
10204
 
10205
+ export interface Lifeline {
10206
+ /** 生命线长度 */
10207
+ size?: number
10208
+ /** 生命线类型 */
10209
+ type?: string
10210
+ }
10211
+
9677
10212
  export interface Link {
9678
10213
  /** 超链接指向的 url (需要 url_encode) */
9679
10214
  url: string
@@ -9825,6 +10360,175 @@ export interface LookupWithAvatar {
9825
10360
  email?: string
9826
10361
  }
9827
10362
 
10363
+ export interface LumpSumPayment {
10364
+ /** 一次性支付记录id */
10365
+ id?: string
10366
+ /** 外部幂等id,由上游业务决定 */
10367
+ unique_id?: string
10368
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
10369
+ user_id?: string
10370
+ /** 总金额,字符串表达的数字 */
10371
+ total_amount?: string
10372
+ /** 绑定期,单位为月 */
10373
+ binding_period?: number
10374
+ /** 币种id */
10375
+ currency_id?: string
10376
+ /** 发放次数 */
10377
+ issuance_frequency?: number
10378
+ /** 薪酬项id */
10379
+ item_id?: string
10380
+ /** 备注 */
10381
+ remark?: string
10382
+ /** 发放规则描述文本 */
10383
+ issuance_detail_text?: I18n
10384
+ /** 申请来源 */
10385
+ apply_source?: 1 | 2 | 3 | 4 | 5 | 6 | 7
10386
+ /** 应退回金额(税前) */
10387
+ return_amount_before_tax?: string
10388
+ /** 应退回金额(税后) */
10389
+ return_amount_after_tax?: string
10390
+ /** 绑定期内离职类型 */
10391
+ binding_period_offboarding_type?: 'yes' | 'no' | 'default'
10392
+ /** 创建时间 */
10393
+ create_time?: string
10394
+ /** 更新时间 */
10395
+ modify_time?: string
10396
+ /** 所属期开始日期 */
10397
+ reference_period_start_date?: string
10398
+ /** 所属期结束日期 */
10399
+ reference_period_end_date?: string
10400
+ /** 发放明细列表 */
10401
+ details?: LumpSumPaymentDetail[]
10402
+ /** 绑定期带小数 */
10403
+ binding_period_decimal?: string
10404
+ }
10405
+
10406
+ export interface LumpSumPaymentDetail {
10407
+ /** 一次性支付记录明细id */
10408
+ id?: string
10409
+ /** 一次性支付记录id */
10410
+ record_id?: string
10411
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
10412
+ user_id?: string
10413
+ /** 一次性支付明细发放金额,可转数字的字符串 */
10414
+ issuance_amount?: string
10415
+ /** 发放状态 */
10416
+ issuance_status?: 'to_be_issued' | 'not_issued'
10417
+ /** 发放方式 */
10418
+ issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus'
10419
+ /** 发放日期 */
10420
+ issuance_time?: string
10421
+ /** 币种id */
10422
+ currency_id?: string
10423
+ /** 申请发放日期 */
10424
+ belong_time?: string
10425
+ /** 创建时间 */
10426
+ create_time?: string
10427
+ /** 更新时间 */
10428
+ modify_time?: string
10429
+ /** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
10430
+ issuance_country_region_id?: string
10431
+ /** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
10432
+ issuance_pay_group_id?: string
10433
+ }
10434
+
10435
+ export interface LumpSumPaymentDetailForCreate {
10436
+ /** 一次性支付明细发放金额,可转数字的字符串 */
10437
+ issuance_amount: string
10438
+ /** 发放状态 */
10439
+ issuance_status: 'to_be_issued' | 'not_issued'
10440
+ /** 发放方式 */
10441
+ issuance_way: 'with_salary' | 'with_cash' | 'with_year_end_bonus'
10442
+ /** 发放日期 */
10443
+ issuance_time: string
10444
+ /** 申请发放日期 */
10445
+ belong_time: string
10446
+ /** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
10447
+ issuance_country_region_id?: string
10448
+ /** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
10449
+ issuance_pay_group_id?: string
10450
+ }
10451
+
10452
+ export interface LumpSumPaymentDetailForUpdate {
10453
+ /** 一次性支付记录明细id。传入已有的id代表直接在原明细上进行更新,不传则代表创建新的明细 */
10454
+ id?: string
10455
+ /** 一次性支付明细发放金额,可转数字的字符串 */
10456
+ issuance_amount?: string
10457
+ /** 发放状态 */
10458
+ issuance_status?: 'to_be_issued' | 'not_issued'
10459
+ /** 发放方式 */
10460
+ issuance_way?: 'with_salary' | 'with_cash' | 'with_year_end_bonus'
10461
+ /** 发放日期 */
10462
+ issuance_time?: string
10463
+ /** 申请发放日期 */
10464
+ belong_time?: string
10465
+ /** 发放国家ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
10466
+ issuance_country_region_id?: string
10467
+ /** 发放薪资组ID(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list进行查询) */
10468
+ issuance_pay_group_id?: string
10469
+ }
10470
+
10471
+ export interface LumpSumPaymentForCreate {
10472
+ /** 外部幂等id,由上游业务决定 */
10473
+ unique_id: string
10474
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
10475
+ user_id: string
10476
+ /** 总金额,字符串表达的数字 */
10477
+ total_amount: string
10478
+ /** 绑定期,单位为月 */
10479
+ binding_period: number
10480
+ /** 币种id */
10481
+ currency_id: string
10482
+ /** 发放次数,必须与 details 的长度一致 */
10483
+ issuance_frequency: number
10484
+ /** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
10485
+ item_id: string
10486
+ /** 所属期开始日期 */
10487
+ reference_period_start_date?: string
10488
+ /** 所属期结束日期 */
10489
+ reference_period_end_date?: string
10490
+ /** 发放明细列表 */
10491
+ details: LumpSumPaymentDetailForCreate[]
10492
+ /** 备注 */
10493
+ remark?: string
10494
+ /** 绑定期带小数 */
10495
+ binding_period_decimal?: string
10496
+ }
10497
+
10498
+ export interface LumpSumPaymentForUpdate {
10499
+ /** 一次性支付记录id */
10500
+ id?: string
10501
+ /** 总金额,字符串表达的数字 */
10502
+ total_amount: string
10503
+ /** 绑定期,单位为月 */
10504
+ binding_period?: number
10505
+ /** 币种id */
10506
+ currency_id: string
10507
+ /** 发放次数,必须与details的长度一致 */
10508
+ issuance_frequency: number
10509
+ /** 备注 */
10510
+ remark?: string
10511
+ /** 所属期开始日期 */
10512
+ reference_period_start_date?: string
10513
+ /** 所属期结束日期 */
10514
+ reference_period_end_date?: string
10515
+ /** 发放明细列表 */
10516
+ details: LumpSumPaymentDetailForUpdate[]
10517
+ /** 绑定期带小数 */
10518
+ binding_period_decimal?: string
10519
+ }
10520
+
10521
+ export interface LumpSumPaymentOperateResult {
10522
+ /** 操作的记录的 id */
10523
+ id?: string
10524
+ /** 操作的记录的 unique_id */
10525
+ unique_id?: string
10526
+ /** 操作结果状态码 */
10527
+ 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
10528
+ /** 操作结果描述 */
10529
+ message?: string
10530
+ }
10531
+
9828
10532
  export interface Machine {
9829
10533
  /** 考勤机序列号 */
9830
10534
  machine_sn: string
@@ -9875,7 +10579,13 @@ export interface Mailgroup {
9875
10579
  include_external_member?: boolean
9876
10580
  /** Value is true if all company members are in this mail group */
9877
10581
  include_all_company_member?: boolean
9878
- /** Who can send mail to this mail group. Possible values are:- ANYONE: Any Internet user can send mail to this mail group- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure */
10582
+ /**
10583
+ * Who can send mail to this mail group. Possible values are:
10584
+ * - ANYONE: Any Internet user can send mail to this mail group
10585
+ * - ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group
10586
+ * - ALL_GROUP_MEMBERS: Any group member can send mail to this mail group
10587
+ * - CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
10588
+ */
9879
10589
  who_can_send_mail?: 'ANYONE' | 'ALL_INTERNAL_USERS' | 'ALL_GROUP_MEMBERS' | 'CUSTOM_MEMBERS'
9880
10590
  }
9881
10591
 
@@ -9893,7 +10603,16 @@ export interface MailgroupMember {
9893
10603
  user_id?: string
9894
10604
  /** The member's department id. Value is valid when type is DEPARTMENT */
9895
10605
  department_id?: string
9896
- /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department- COMPANY: member is the company- EXTERNAL_USER: internet user outside the organization- MAIL_GROUP: member is another mail group- PUBLIC_MAILBOX: member is a public mailbox- OTHER_MEMBER: other internal member */
10606
+ /**
10607
+ * The type of member. Possible values are:
10608
+ * - USER: internal user in the team
10609
+ * - DEPARTMENT: member is a department
10610
+ * - COMPANY: member is the company
10611
+ * - EXTERNAL_USER: internet user outside the organization
10612
+ * - MAIL_GROUP: member is another mail group
10613
+ * - PUBLIC_MAILBOX: member is a public mailbox
10614
+ * - OTHER_MEMBER: other internal member
10615
+ */
9897
10616
  type?: 'USER' | 'DEPARTMENT' | 'COMPANY' | 'EXTERNAL_USER' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX' | 'OTHER_MEMBER'
9898
10617
  }
9899
10618
 
@@ -9906,7 +10625,11 @@ export interface MailgroupPermissionMember {
9906
10625
  department_id?: string
9907
10626
  /** The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX */
9908
10627
  email?: string
9909
- /** The type of member. Possible values are:- USER: internal user in the team- DEPARTMENT: member is a department */
10628
+ /**
10629
+ * The type of member. Possible values are:
10630
+ * - USER: internal user in the team
10631
+ * - DEPARTMENT: member is a department
10632
+ */
9910
10633
  type?: 'USER' | 'DEPARTMENT' | 'MAIL_GROUP' | 'PUBLIC_MAILBOX'
9911
10634
  }
9912
10635
 
@@ -10476,9 +11199,52 @@ export interface MetricTemplate {
10476
11199
  groups?: MetricGroup[]
10477
11200
  }
10478
11201
 
10479
- export interface MindMap {
10480
- /** 思维导图父节点 id ,为空表示是思维导图的根节点 */
10481
- parent_id?: string
11202
+ export const enum MindMapLayout {
11203
+ /** 上下布局 */
11204
+ UpDown = 'up_down',
11205
+ /** 左右布局 */
11206
+ LeftRight = 'left_right',
11207
+ /** 左树布局 */
11208
+ TreeLeft = 'tree_left',
11209
+ /** 右树布局 */
11210
+ TreeRight = 'tree_right',
11211
+ /** 左右交替平衡树布局 */
11212
+ TreeBalance = 'tree_balance',
11213
+ /** 垂直时间线布局 */
11214
+ VerticalTimeLine = 'vertical_time_line',
11215
+ /** 水平时间线布局 */
11216
+ HorizontalTimeLine = 'horizontal_time_line',
11217
+ }
11218
+
11219
+ export interface MindMapNode {
11220
+ /** 思维导图节点的父节点,必须为思维导图节点 */
11221
+ parent_id: string
11222
+ /** 思维导图节点图形类型 */
11223
+ type?: MindMapType
11224
+ /** 思维导图节点在兄弟节点中的位置index */
11225
+ z_index?: number
11226
+ /** 子节点相对根节点的方向(根节点下的子节点设置才生效) */
11227
+ layout_position?: 'left' | 'right' | 'up' | 'down'
11228
+ /** 是否收起子节点 */
11229
+ collapsed?: boolean
11230
+ }
11231
+
11232
+ export interface MindMapRoot {
11233
+ /** 思维导图布局方式 */
11234
+ layout?: MindMapLayout
11235
+ /** 思维导图根节点图形类型 */
11236
+ type?: MindMapType
11237
+ /** 思维导图图形连接线样式 */
11238
+ line_style?: 'curve' | 'right_angle' | 'round_angle'
11239
+ }
11240
+
11241
+ export const enum MindMapType {
11242
+ /** 思维导图文本节点类型 */
11243
+ MindMapText = 'mind_map_text',
11244
+ /** 思维导图全圆角矩形节点类型 */
11245
+ MindMapFullRoundRect = 'mind_map_full_round_rect',
11246
+ /** 思维导图矩形节点类型 */
11247
+ MindMapRoundRect = 'mind_map_round_rect',
10482
11248
  }
10483
11249
 
10484
11250
  export interface Mindnote {
@@ -10630,7 +11396,7 @@ export interface NationalIdType {
10630
11396
  }
10631
11397
 
10632
11398
  export interface Nationality {
10633
- /** 国籍 ID,对应[搜索员工信息](/ssl:ttdoc/server-docs/corehr-v1/employee/search)等接口返回的 `nationality_id_v2` 字段 */
11399
+ /** 国籍 ID,对应[搜索员工信息](https://open.feishu.cn/document/server-docs/corehr-v1/employee/search)等接口返回的 `nationality_id_v2` 字段 */
10634
11400
  nationality_id?: string
10635
11401
  /** 名称 */
10636
11402
  name?: I18n[]
@@ -10640,7 +11406,7 @@ export interface Nationality {
10640
11406
  alpha_3_code?: string
10641
11407
  /** 数字代码 */
10642
11408
  numeric_code?: number
10643
- /** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
11409
+ /** 所属国家/地区 ID,详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
10644
11410
  country_region_id?: string
10645
11411
  /** 状态 */
10646
11412
  status?: 1 | 0
@@ -10668,9 +11434,9 @@ export interface NavigateMeta {
10668
11434
  }
10669
11435
 
10670
11436
  export interface Node {
10671
- /** 知识空间id,[获取方式](/ssl:ttdoc/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) */
11437
+ /** 知识空间id,[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) */
10672
11438
  space_id?: string
10673
- /** 节点token,[获取方式](/ssl:ttdoc/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) */
11439
+ /** 节点token,[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) */
10674
11440
  node_token?: string
10675
11441
  /** 对应文档类型的token,可根据 obj_type 判断属于哪种文档类型。 */
10676
11442
  obj_token?: string
@@ -11131,6 +11897,19 @@ export interface OfferApplyFormSchema {
11131
11897
  module_list?: OfferApplyFormModuleInfo[]
11132
11898
  }
11133
11899
 
11900
+ export interface OfferApprovalTemplate {
11901
+ /** ID */
11902
+ id?: string
11903
+ /** 名称 */
11904
+ name?: I18n
11905
+ /** 创建时间 */
11906
+ create_time?: string
11907
+ /** 备注 */
11908
+ remark?: string
11909
+ /** 适用部门 */
11910
+ department_list?: Department[]
11911
+ }
11912
+
11134
11913
  export interface OfferAttachmentInfo {
11135
11914
  /** Offer 附件 ID */
11136
11915
  id?: string
@@ -11976,6 +12755,24 @@ export interface PageResponse {
11976
12755
  page_token?: string
11977
12756
  }
11978
12757
 
12758
+ export interface Paint {
12759
+ /** 画笔类型 */
12760
+ type?: PaintType
12761
+ /** 画板线段,由系列坐标点表示 */
12762
+ lines?: Point[]
12763
+ /** 画笔粗细,单位px */
12764
+ width?: number
12765
+ /** 画笔颜色 */
12766
+ color?: string
12767
+ }
12768
+
12769
+ export const enum PaintType {
12770
+ /** 马克笔 */
12771
+ Marker = 'marker',
12772
+ /** 高亮笔 */
12773
+ Highlight = 'highlight',
12774
+ }
12775
+
11979
12776
  export interface Participant {
11980
12777
  /** 参会者 */
11981
12778
  participant_name?: string
@@ -12072,6 +12869,19 @@ export interface PatchTagFailReason {
12072
12869
  duplicate_id?: string
12073
12870
  }
12074
12871
 
12872
+ export interface Pathway {
12873
+ /** 通道 ID */
12874
+ pathway_id?: string
12875
+ /** 编码 */
12876
+ code?: string
12877
+ /** 名称 */
12878
+ names?: I18n[]
12879
+ /** 描述 */
12880
+ descriptions?: I18n[]
12881
+ /** 启用 */
12882
+ active?: boolean
12883
+ }
12884
+
12075
12885
  export interface Paygroup {
12076
12886
  /** 薪资组ID */
12077
12887
  pay_group_id: string
@@ -12353,15 +13163,28 @@ export interface PersonName {
12353
13163
  local_primary?: string
12354
13164
  /** 名 - 本地文字 */
12355
13165
  local_first_name?: string
12356
- /** 国家 / 地区- 详细信息可通过[查询国家/地区信息](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得 */
13166
+ /**
13167
+ * 国家 / 地区
13168
+ * - 详细信息可通过[查询国家/地区信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search)接口查询获得
13169
+ */
12357
13170
  country_region_id: string
12358
- /** 姓名类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:person_name - custom_api_name:name_type */
13171
+ /**
13172
+ * 姓名类型
13173
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13174
+ * - object_api_name:person_name
13175
+ * - custom_api_name:name_type
13176
+ */
12359
13177
  name_type: Enum
12360
13178
  /** 名 - 第二本地文字 */
12361
13179
  local_first_name_2?: string
12362
13180
  /** 姓 - 第二本地文字 */
12363
13181
  local_primary_2?: string
12364
- /** 补充姓名类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:person_name - custom_api_name:additional_name_type */
13182
+ /**
13183
+ * 补充姓名类型
13184
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13185
+ * - object_api_name:person_name
13186
+ * - custom_api_name:additional_name_type
13187
+ */
12365
13188
  additional_name_type?: Enum
12366
13189
  /** 名 */
12367
13190
  first_name?: string
@@ -12381,9 +13204,19 @@ export interface PersonName {
12381
13204
  secondary?: string
12382
13205
  /** 婚后姓氏 */
12383
13206
  tertiary?: string
12384
- /** 尊称- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:person_name - custom_api_name:social */
13207
+ /**
13208
+ * 尊称
13209
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13210
+ * - object_api_name:person_name
13211
+ * - custom_api_name:social
13212
+ */
12385
13213
  social?: Enum
12386
- /** 头衔- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:person_name - custom_api_name:title */
13214
+ /**
13215
+ * 头衔
13216
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13217
+ * - object_api_name:person_name
13218
+ * - custom_api_name:title
13219
+ */
12387
13220
  title?: Enum
12388
13221
  /** 本地中间名 */
12389
13222
  local_middle_name?: string
@@ -12429,6 +13262,17 @@ export interface Phrase {
12429
13262
  span: Span
12430
13263
  }
12431
13264
 
13265
+ export interface Pie {
13266
+ /** 开始径向边角度,水平向右x轴正方向为0度,顺时针方向角度值递增 */
13267
+ start_radial_line_angle: number
13268
+ /** 圆心角角度,角度方向为始径向边逆时针方向 */
13269
+ central_angle: number
13270
+ /** 半径长度 */
13271
+ radius: number
13272
+ /** 扇区占比,0为一个圆周线,1为一个圆盘 */
13273
+ sector_ratio?: number
13274
+ }
13275
+
12432
13276
  export interface Pin {
12433
13277
  /** Pin的消息ID */
12434
13278
  message_id: string
@@ -12523,6 +13367,13 @@ export interface PlusMenu {
12523
13367
  mobile_app_link?: string
12524
13368
  }
12525
13369
 
13370
+ export interface Point {
13371
+ /** 点位置x坐标 */
13372
+ x?: number
13373
+ /** 点位置y坐标 */
13374
+ y?: number
13375
+ }
13376
+
12526
13377
  export interface PortalJobPost {
12527
13378
  /** 职位广告 ID */
12528
13379
  id?: string
@@ -12580,6 +13431,137 @@ export interface PortalJobPost {
12580
13431
  address_list?: CommonAddress[]
12581
13432
  }
12582
13433
 
13434
+ export interface Position {
13435
+ /** 岗位 ID */
13436
+ position_id?: string
13437
+ /** 编码 */
13438
+ code?: string
13439
+ /** 名称 */
13440
+ names?: I18n[]
13441
+ /** 描述 */
13442
+ descriptions?: I18n[]
13443
+ /** 状态 */
13444
+ active: boolean
13445
+ /** 序列 */
13446
+ job_family_id_list?: string[]
13447
+ /** 成本中心 */
13448
+ cost_center_id?: string
13449
+ /** 职务 */
13450
+ job_id?: string
13451
+ /** 职级 */
13452
+ job_level_id_list?: string[]
13453
+ /** 人员类型 */
13454
+ employee_type_id_list?: string[]
13455
+ /** 职等 */
13456
+ job_grade_id_list?: string[]
13457
+ /** 工作地点 */
13458
+ work_location_id_list?: string[]
13459
+ /** 工时制度 */
13460
+ working_hours_type_id?: string
13461
+ /** 部门 */
13462
+ department_id: string
13463
+ /** 直属上级岗位 */
13464
+ direct_leader_id?: string
13465
+ /** 虚线上级岗位 */
13466
+ dotted_line_leader_id?: string
13467
+ /** 是否关键岗位 */
13468
+ is_key_position?: boolean
13469
+ /** 生效日期 */
13470
+ effective_time: string
13471
+ /** 失效日期 */
13472
+ expiration_time: string
13473
+ /** 自定义字段 */
13474
+ custom_fields?: CustomFieldData[]
13475
+ /** 创建人 */
13476
+ created_by?: string
13477
+ }
13478
+
13479
+ export interface PositionAdjustmentInfo {
13480
+ /** 原序列 ID */
13481
+ original_job_families?: string[]
13482
+ /** 新序列 ID */
13483
+ target_job_families?: string[]
13484
+ /** 原所属部门 ID */
13485
+ original_department?: string
13486
+ /** 新所属部门 ID */
13487
+ target_department?: string
13488
+ /** 新所属部门 ID,新建部门审批完成前会返回 td_xxx 的临时 ID */
13489
+ target_draft_department?: string
13490
+ /** 原岗位默认成本中心 ID */
13491
+ original_cost_center?: string
13492
+ /** 新岗位默认成本中心 ID */
13493
+ target_cost_center?: string
13494
+ /** 原工时制度 ID */
13495
+ original_working_hours_type?: string
13496
+ /** 新工时制度 ID */
13497
+ target_working_hours_type?: string
13498
+ /** 原职务 ID */
13499
+ original_job?: string
13500
+ /** 新职务 ID */
13501
+ target_job?: string
13502
+ /** 原是否关键岗位 */
13503
+ original_is_key_position?: boolean
13504
+ /** 新是否关键岗位 */
13505
+ target_is_key_position?: boolean
13506
+ /** 原人员类型 ID */
13507
+ original_employee_types?: string[]
13508
+ /** 新人员类型 ID */
13509
+ target_employee_types?: string[]
13510
+ /** 原名称 */
13511
+ original_names?: I18n[]
13512
+ /** 新名称 */
13513
+ target_names?: I18n[]
13514
+ /** 原职等 ID */
13515
+ original_job_grades?: string[]
13516
+ /** 新职等 ID */
13517
+ target_job_grades?: string[]
13518
+ /** 原编码 */
13519
+ original_code?: string
13520
+ /** 新编码 */
13521
+ target_code?: string
13522
+ /** 原职级 ID */
13523
+ original_job_levels?: string[]
13524
+ /** 新职级 ID */
13525
+ target_job_levels?: string[]
13526
+ /** 原状态 */
13527
+ original_active?: boolean
13528
+ /** 新状态 */
13529
+ target_active?: boolean
13530
+ /** 原直线上级(岗位) ID */
13531
+ original_direct_leader?: string
13532
+ /** 新直线上级(岗位) ID */
13533
+ target_direct_leader?: string
13534
+ /** 新直线上级(岗位) ID,新建岗位审批完成前会返回 td_xxx 的临时 ID */
13535
+ target_draft_direct_leader?: string
13536
+ /** 原工作地点 ID */
13537
+ original_work_locations?: string[]
13538
+ /** 新工作地点 ID */
13539
+ target_work_locations?: string[]
13540
+ /** 原描述 */
13541
+ original_descriptions?: I18n[]
13542
+ /** 新描述 */
13543
+ target_descriptions?: I18n[]
13544
+ /** 原部门全路径,从根部门开始自上而下返回部门 ID 列表 */
13545
+ original_department_id_paths?: OrgdraftDepartmentId[]
13546
+ /** 新部门全路径,从根部门开始自上而下返回部门 ID 列表 */
13547
+ target_department_id_paths?: OrgdraftDepartmentId[]
13548
+ /** 自定义字段 */
13549
+ custom_fields?: ChangeFieldPair[]
13550
+ }
13551
+
13552
+ export interface PositionChange {
13553
+ /** 岗位调整记录 ID */
13554
+ position_change_id?: string
13555
+ /** 岗位 ID */
13556
+ position_id?: string
13557
+ /** 调整过程岗位 ID 。对于在本次调整中新建的岗位,在调整未生效前会返回格式为 td_xxx 的过程岗位 ID,生效后将返回正式的岗位 ID */
13558
+ draft_position_id?: string
13559
+ /** 调整类型 */
13560
+ position_change_type?: 'Unknown' | 'Create' | 'Modify' | 'Inactive'
13561
+ /** 调整详细信息 */
13562
+ position_adjustment_info?: PositionAdjustmentInfo
13563
+ }
13564
+
12583
13565
  export interface Post {
12584
13566
  /** 发帖用户ID */
12585
13567
  user_id?: string
@@ -12828,22 +13810,47 @@ export interface PreHireQuery {
12828
13810
  }
12829
13811
 
12830
13812
  export interface PrehireSeniorityAdjustInformation {
12831
- /** 调整值- 精确度:两位小数- 单位:年- 自动计算逻辑:如果这个值为空,司龄调整的开始日期和结束日期均不为空,会自动计算出调整值 */
13813
+ /**
13814
+ * 调整值
13815
+ * - 精确度:两位小数
13816
+ * - 单位:年
13817
+ * - 自动计算逻辑:如果这个值为空,司龄调整的开始日期和结束日期均不为空,会自动计算出调整值
13818
+ */
12832
13819
  seniority_adjustment?: number
12833
- /** 调整类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:seniority_adjust_information - custom_api_name:seniority_adjustment_type */
13820
+ /**
13821
+ * 调整类型
13822
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13823
+ * - object_api_name:seniority_adjust_information
13824
+ * - custom_api_name:seniority_adjustment_type
13825
+ */
12834
13826
  seniority_adjustment_type: 'decrease' | 'increase'
12835
13827
  /** 司龄调整原因 */
12836
13828
  reasons_for_seniority_adjustment?: string
12837
- /** 开始日期- 格式: yyyy-mm-dd */
13829
+ /**
13830
+ * 开始日期
13831
+ * - 格式: yyyy-mm-dd
13832
+ */
12838
13833
  start_date?: string
12839
- /** 结束日期- 格式: yyyy-mm-dd */
13834
+ /**
13835
+ * 结束日期
13836
+ * - 格式: yyyy-mm-dd
13837
+ */
12840
13838
  end_date?: string
12841
13839
  }
12842
13840
 
12843
13841
  export interface PrehireSeniorityAdjustInformationQuery {
12844
- /** 调整值- 精确度:两位小数- 单位:年 */
13842
+ /**
13843
+ * 调整值
13844
+ * - 精确度:两位小数
13845
+ * - 单位:年
13846
+ */
12845
13847
  seniority_adjustment?: number
12846
- /** 调整类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:seniority_adjust_information - custom_api_name:seniority_adjustment_type */
13848
+ /**
13849
+ * 调整类型
13850
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13851
+ * - object_api_name:seniority_adjust_information
13852
+ * - custom_api_name:seniority_adjustment_type
13853
+ */
12847
13854
  seniority_adjustment_type?: Enum
12848
13855
  /** 司龄调整原因 */
12849
13856
  reasons_for_seniority_adjustment?: string
@@ -12856,15 +13863,31 @@ export interface PrehireSeniorityAdjustInformationQuery {
12856
13863
  }
12857
13864
 
12858
13865
  export interface PrehireSeniorityAdjustInformationUpdate {
12859
- /** 调整值- 精确度:两位小数- 单位:年- 自动计算逻辑:如果这个值为空,司龄调整的开始日期和结束日期均不为空,会自动计算出调整值 */
13866
+ /**
13867
+ * 调整值
13868
+ * - 精确度:两位小数
13869
+ * - 单位:年
13870
+ * - 自动计算逻辑:如果这个值为空,司龄调整的开始日期和结束日期均不为空,会自动计算出调整值
13871
+ */
12860
13872
  seniority_adjustment?: number
12861
- /** 调整类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:seniority_adjust_information - custom_api_name:seniority_adjustment_type */
13873
+ /**
13874
+ * 调整类型
13875
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
13876
+ * - object_api_name:seniority_adjust_information
13877
+ * - custom_api_name:seniority_adjustment_type
13878
+ */
12862
13879
  seniority_adjustment_type: 'decrease' | 'increase'
12863
13880
  /** 司龄调整原因 */
12864
13881
  reasons_for_seniority_adjustment?: string
12865
- /** 开始日期- 格式: yyyy-mm-dd */
13882
+ /**
13883
+ * 开始日期
13884
+ * - 格式: yyyy-mm-dd
13885
+ */
12866
13886
  start_date?: string
12867
- /** 结束日期- 格式: yyyy-mm-dd */
13887
+ /**
13888
+ * 结束日期
13889
+ * - 格式: yyyy-mm-dd
13890
+ */
12868
13891
  end_date?: string
12869
13892
  }
12870
13893
 
@@ -13056,6 +14079,13 @@ export interface ProcessFormVariableV2 {
13056
14079
  sub_values?: FieldVariableSubVlaueForReview[]
13057
14080
  }
13058
14081
 
14082
+ export interface ProcessInfo {
14083
+ /** 组织架构调整流程 ID */
14084
+ process_id?: string
14085
+ /** 组织架构调整流程状态 */
14086
+ approval_group_status?: '0' | '1' | '2' | '3' | '4' | '5'
14087
+ }
14088
+
13059
14089
  export interface ProcessLink {
13060
14090
  /** web端单据详情页地址 */
13061
14091
  web_link?: string
@@ -13664,7 +14694,10 @@ export interface PublicMailboxMember {
13664
14694
  member_id?: string
13665
14695
  /** The member's user id. Value is valid when type is USER */
13666
14696
  user_id?: string
13667
- /** The type of member. Possible values are:- USER: internal user in the team */
14697
+ /**
14698
+ * The type of member. Possible values are:
14699
+ * - USER: internal user in the team
14700
+ */
13668
14701
  type?: 'USER'
13669
14702
  }
13670
14703
 
@@ -13962,6 +14995,88 @@ export interface RecRuleCondition {
13962
14995
  values?: string[]
13963
14996
  }
13964
14997
 
14998
+ export interface RecurringPayment {
14999
+ /** 经常性支付记录id */
15000
+ id?: string
15001
+ /** 外部幂等id,由上游业务决定 */
15002
+ unique_id?: string
15003
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
15004
+ user_id?: string
15005
+ /** 薪酬项id */
15006
+ item_id?: string
15007
+ /** 发放方式 */
15008
+ issuance_type?: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus'
15009
+ /** 单次发放金额 */
15010
+ each_amount?: string
15011
+ /** 发放开始日期 */
15012
+ start_date?: string
15013
+ /** 发放结束日期 */
15014
+ end_date?: string
15015
+ /** 发放频率 */
15016
+ issuance_period?: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour'
15017
+ /** 币种id */
15018
+ currency_id?: string
15019
+ /** 备注 */
15020
+ remark?: string
15021
+ /** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
15022
+ issuance_country_region_id?: string
15023
+ }
15024
+
15025
+ export interface RecurringPaymentForCreate {
15026
+ /** 外部幂等id,由上游业务决定 */
15027
+ unique_id: string
15028
+ /** 员工id,具体类型由入参中的 user_id_type 指定 */
15029
+ user_id: string
15030
+ /** 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) */
15031
+ item_id: string
15032
+ /** 每次发放金额 */
15033
+ each_amount: string
15034
+ /** 发放开始时间 */
15035
+ start_date: string
15036
+ /** 发放结束时间 */
15037
+ end_date: string
15038
+ /** 币种id */
15039
+ currency_id: string
15040
+ /** 发放方式 */
15041
+ issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus'
15042
+ /** 发放频率 */
15043
+ issuance_period: 'year' | 'half_year' | 'quarterly' | 'bimonthly' | 'month' | 'biweekly' | 'week' | 'day' | 'hour'
15044
+ /** 备注 */
15045
+ remark?: string
15046
+ /** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
15047
+ issuance_country_region_id?: string
15048
+ }
15049
+
15050
+ export interface RecurringPaymentForUpdate {
15051
+ /** 经常性支付记录id */
15052
+ id: string
15053
+ /** 每次发放金额 */
15054
+ each_amount: string
15055
+ /** 发放开始时间 */
15056
+ start_date: string
15057
+ /** 发放结束时间 */
15058
+ end_date: string
15059
+ /** 币种id */
15060
+ currency_id: string
15061
+ /** 发放方式 */
15062
+ issuance_type: 'with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus'
15063
+ /** 原因 */
15064
+ remark?: string
15065
+ /** 发放国家id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-country_region/search进行查询) */
15066
+ issuance_country_region_id?: string
15067
+ }
15068
+
15069
+ export interface RecurringPaymentOperateResult {
15070
+ /** 操作记录的id */
15071
+ id?: string
15072
+ /** 操作的记录的 unique_id */
15073
+ unique_id?: string
15074
+ /** 操作结果状态码 */
15075
+ code?: 0 | 21280001 | 21280002 | 21280003 | 21270304 | 21270305 | 21270306 | 21270307 | 21270308 | 21270309 | 21270310 | 21270311 | 21270312 | 21270313 | 21270314 | 21270315 | 21270316 | 21270317 | 21270318
15076
+ /** 操作结果描述 */
15077
+ message?: string
15078
+ }
15079
+
13965
15080
  export interface ReferenceObject {
13966
15081
  /** cpst_item(项目)、 cpst_indicator(指标) */
13967
15082
  api_name?: 'cpst_item' | 'cpst_indicator'
@@ -15461,17 +16576,35 @@ export interface Sender {
15461
16576
  }
15462
16577
 
15463
16578
  export interface SeniorityAdjustInformationEdit {
15464
- /** 调整类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:seniority_adjust_information - custom_api_name:seniority_adjustment_type */
16579
+ /**
16580
+ * 调整类型
16581
+ * - 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:
16582
+ * - object_api_name:seniority_adjust_information
16583
+ * - custom_api_name:seniority_adjustment_type
16584
+ */
15465
16585
  seniority_adjustment_type: 'increase' | 'decrease'
15466
- /** 开始日期- 格式: yyyy-mm-dd */
16586
+ /**
16587
+ * 开始日期
16588
+ * - 格式: yyyy-mm-dd
16589
+ */
15467
16590
  start_date?: string
15468
- /** 结束日期- 格式: yyyy-mm-dd */
16591
+ /**
16592
+ * 结束日期
16593
+ * - 格式: yyyy-mm-dd
16594
+ */
15469
16595
  end_date?: string
15470
16596
  /** 调整原因 */
15471
16597
  reasons_for_seniority_adjustment?: string
15472
- /** 调整值- 精确度:两位小数- 单位:年 */
16598
+ /**
16599
+ * 调整值
16600
+ * - 精确度:两位小数
16601
+ * - 单位:年
16602
+ */
15473
16603
  seniority_adjustment: number
15474
- /** 自定义字段- 具体支持的对象请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
16604
+ /**
16605
+ * 自定义字段
16606
+ * - 具体支持的对象请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
16607
+ */
15475
16608
  custom_fields?: ProfileSettingCustomField[]
15476
16609
  }
15477
16610
 
@@ -15617,6 +16750,287 @@ export interface SignatureAttachment {
15617
16750
  file_template_type_name?: string
15618
16751
  }
15619
16752
 
16753
+ export interface SignatureEnumInfoLabel {
16754
+ /** zh-CN */
16755
+ zh?: string
16756
+ /** en-US */
16757
+ en?: string
16758
+ }
16759
+
16760
+ export interface SignatureFile {
16761
+ /** 电子签文件ID */
16762
+ signature_file_id: string
16763
+ /** 名称 */
16764
+ names?: I18n[]
16765
+ /** 创建时间 */
16766
+ create_time?: string
16767
+ /** 更新时间 */
16768
+ update_time?: string
16769
+ /** 雇员 id */
16770
+ employment_id?: string
16771
+ /** 待入职 id */
16772
+ pre_hire_id?: string
16773
+ /** 电子签文件状态,枚举值可通过文档【飞书人事枚举常量】电子签文件状态(signature_file_state)枚举定义部分获得 */
16774
+ signature_file_state?: Enum
16775
+ /** 供应商侧的合同编号,作为幂等key */
16776
+ contract_code?: string
16777
+ /** 电子签文件生效日期 */
16778
+ effective_date?: string
16779
+ /** 电子签模板ID */
16780
+ template_id?: string
16781
+ /** 签署链接 */
16782
+ sign_url?: string
16783
+ }
16784
+
16785
+ export interface SignatureMetaInfo {
16786
+ /** 元数据api_name */
16787
+ api_name?: string
16788
+ /** wukong id */
16789
+ wk_id?: string
16790
+ /** 多语描述 */
16791
+ label?: I18n[]
16792
+ }
16793
+
16794
+ export interface SignatureNode {
16795
+ /** 电子签节点列表 */
16796
+ user_infos?: SignatureUserInfo[]
16797
+ /** 电子签文件节点状态 */
16798
+ state: string
16799
+ /** 节点完成时间 */
16800
+ finish_time?: string
16801
+ /** 节点最近更新时间 */
16802
+ updated_time?: string
16803
+ /** 当前节点是否为正在处理的节点 */
16804
+ is_ongoing: boolean
16805
+ /** 当前操作节点的角色名称 */
16806
+ role_label: SignatureEnumInfoLabel
16807
+ /** 签署角色 */
16808
+ sign_role?: string
16809
+ }
16810
+
16811
+ export interface SignatureSignatoryLabel {
16812
+ /** 电子签模板签订人类型 */
16813
+ template_signatory_type: Enum
16814
+ /** 中英文描述 */
16815
+ label: I18n[]
16816
+ /** 主数据apiname */
16817
+ apiname?: string
16818
+ }
16819
+
16820
+ export interface SignatureTemplate {
16821
+ /** 电子签模板id */
16822
+ id?: string
16823
+ /** 简略信息 */
16824
+ brief_info?: SignatureTemplateBriefInfo
16825
+ /** 模板内容信息 */
16826
+ content_info?: SignatureTemplateContentInfo
16827
+ }
16828
+
16829
+ export interface SignatureTemplateBriefInfo {
16830
+ /** id */
16831
+ id?: string
16832
+ /** 名称 支持多语 */
16833
+ label?: I18n[]
16834
+ /** 模版类别 */
16835
+ category?: Enum
16836
+ /** 模版用法 */
16837
+ usage?: Enum
16838
+ /** 模版签署人标签 */
16839
+ signatory_labels?: SignatureSignatoryLabel[]
16840
+ /** 是否激活 */
16841
+ active?: boolean
16842
+ /** 创建人 */
16843
+ create_by?: string
16844
+ /** 修改人 */
16845
+ modify_by?: string
16846
+ /** 适用范围 */
16847
+ applicability?: Enum
16848
+ /** 创建方法 */
16849
+ creation_method?: string
16850
+ /** 版本 */
16851
+ version?: string
16852
+ /** 更新时间 */
16853
+ update_time?: string
16854
+ /** 创建时间 */
16855
+ create_time?: string
16856
+ /** 模板设置,包含开启骑缝章的类型等 */
16857
+ template_setting?: SignatureTemplateSetting
16858
+ /** 模板适用区域 */
16859
+ template_region_info?: SignatureTemplateRegionInfo
16860
+ /** 模板编码 */
16861
+ template_code?: string
16862
+ /** 模板描述 支持多语 */
16863
+ template_desc?: I18n[]
16864
+ }
16865
+
16866
+ export interface SignatureTemplateCombinationFieldInfo {
16867
+ /** total_apiname */
16868
+ total_apiname: string
16869
+ /** apiname */
16870
+ apiname: string
16871
+ /** 中英文描述 */
16872
+ title: I18n[]
16873
+ /** 适用区域名称 */
16874
+ contents?: SignatureTemplateCombinationSubFieldInfo[][]
16875
+ /** 电子签模板字段源类型 */
16876
+ source: Enum
16877
+ }
16878
+
16879
+ export interface SignatureTemplateCombinationFieldInfoV2 {
16880
+ /** total_apiname */
16881
+ total_apiname: string
16882
+ /** apiname */
16883
+ apiname: string
16884
+ /** 电子签模板字段源类型 */
16885
+ source?: Enum
16886
+ }
16887
+
16888
+ export interface SignatureTemplateCombinationSubFieldInfo {
16889
+ /** 字段类型枚举 */
16890
+ field_type: Enum
16891
+ /** 公共字段信息 */
16892
+ info?: SignatureTemplateCommonFieldInfo
16893
+ /** 双语描述 */
16894
+ label?: I18n[]
16895
+ }
16896
+
16897
+ export interface SignatureTemplateCommonFieldInfo {
16898
+ /** 模板字段源类型;枚举值填到enum_name中,如:"System" "MainData" */
16899
+ source: Enum
16900
+ /** 主数据apiname */
16901
+ apiname: string
16902
+ }
16903
+
16904
+ export interface SignatureTemplateContentInfo {
16905
+ /** 模版内容list */
16906
+ contents?: SignatureTemplateContentItem[]
16907
+ /** 自定义字段列表 */
16908
+ custom_fields?: SignatureTemplateCustomField[]
16909
+ /** 筛选条件列表 */
16910
+ filter_fields?: SignatureTemplateFilter[]
16911
+ /** 模板公共字段信息列表 */
16912
+ using_fields?: SignatureTemplateCommonFieldInfo[]
16913
+ /** 系统设置字段列表 */
16914
+ system_setting_fields?: SignatureTemplateField[]
16915
+ }
16916
+
16917
+ export interface SignatureTemplateContentItem {
16918
+ /** 电子签模版内容的类型 */
16919
+ content_type: Enum
16920
+ /** 显示规则左值 */
16921
+ filter_apiname?: string
16922
+ /** 模版内容 */
16923
+ content?: string
16924
+ /** 中英文描述 */
16925
+ label?: I18n[]
16926
+ /** 内容描述 */
16927
+ content_desc?: string
16928
+ }
16929
+
16930
+ export interface SignatureTemplateCustomField {
16931
+ /** 中英文描述 */
16932
+ label?: I18n[]
16933
+ /** 主数据apiname */
16934
+ apiname: string
16935
+ /** 用户自定义字段类型 */
16936
+ custom_field_type: Enum
16937
+ /** 是否使用到 */
16938
+ used: boolean
16939
+ /** 是否需要 */
16940
+ is_required?: boolean
16941
+ /** 自定义描述 */
16942
+ custom_desc?: string
16943
+ /** 电子签模版公共字段信息 */
16944
+ common_info?: SignatureTemplateCommonFieldInfo
16945
+ }
16946
+
16947
+ export interface SignatureTemplateField {
16948
+ /** 模板字段值类型枚举 */
16949
+ field_type: Enum
16950
+ /** 双语描述 */
16951
+ label?: I18n[]
16952
+ /** 通用字段信息 */
16953
+ common_info?: SignatureTemplateCommonFieldInfo
16954
+ /** 组合字段信息 */
16955
+ combination_info?: SignatureTemplateCombinationFieldInfo
16956
+ /** 子模板配置信息列表对应的string,避免循环引用问题 */
16957
+ children?: string
16958
+ /** 组合字段信息v2 */
16959
+ combination_info_v2?: SignatureTemplateCombinationFieldInfoV2
16960
+ }
16961
+
16962
+ export interface SignatureTemplateFilter {
16963
+ /** 双语描述 */
16964
+ label: I18n[]
16965
+ /** 主数据apiname */
16966
+ apiname: string
16967
+ /** 过滤条件列表 */
16968
+ filters?: SignatureTemplateFilterItem[]
16969
+ /** 多个生效条件的logic */
16970
+ logic?: Enum
16971
+ /** 是否被校验 */
16972
+ is_checked?: boolean
16973
+ /** 过滤条件描述 */
16974
+ filter_desc?: string
16975
+ /** 过滤条件列表,使用string类型描述list的原因是为了避免循环引用问题,因为该list的item类型就是这个数据类型 */
16976
+ criterion_list?: string
16977
+ }
16978
+
16979
+ export interface SignatureTemplateFilterItem {
16980
+ /** 左值 */
16981
+ left: string
16982
+ /** 右值列表 */
16983
+ rights?: string[]
16984
+ /** 操作符 */
16985
+ op: Enum
16986
+ }
16987
+
16988
+ export interface SignatureTemplateInfoWithThumbnail {
16989
+ /** id */
16990
+ id?: string
16991
+ /** 名称 支持多语 */
16992
+ label?: I18n[]
16993
+ /** 模版类别 */
16994
+ category?: Enum
16995
+ /** 模版用法 */
16996
+ usage?: Enum
16997
+ /** 创建日期 */
16998
+ create_time?: string
16999
+ /** 修改日期 */
17000
+ modify_time?: string
17001
+ /** 创建人 */
17002
+ created_by?: SignatureUserInfo
17003
+ /** 修改人 */
17004
+ updated_by?: SignatureUserInfo
17005
+ /** 缩略图url */
17006
+ thumbnail_url?: string
17007
+ /** 模版签署人标签 */
17008
+ signatory_labels?: SignatureSignatoryLabel[]
17009
+ /** 模板编码 */
17010
+ template_code?: string
17011
+ /** 模板描述 */
17012
+ template_desc?: string
17013
+ /** 模板适用区域 */
17014
+ template_region_info?: SignatureTemplateRegionInfo
17015
+ }
17016
+
17017
+ export interface SignatureTemplateRegionInfo {
17018
+ /** 是否全球适用 */
17019
+ is_global_scope?: string
17020
+ /** 适用区域名称 */
17021
+ meta_infos?: SignatureMetaInfo[]
17022
+ }
17023
+
17024
+ export interface SignatureTemplateSetting {
17025
+ /** 骑缝章类型 */
17026
+ page_seal_types?: string[]
17027
+ }
17028
+
17029
+ export interface SignatureUserInfo {
17030
+ /** employmentID */
17031
+ id: string
17032
+ }
17033
+
15620
17034
  export interface Skill {
15621
17035
  /** 技能 ID */
15622
17036
  id?: string
@@ -15641,6 +17055,163 @@ export interface SkillGlobalVariable {
15641
17055
  channel?: Channel
15642
17056
  }
15643
17057
 
17058
+ export const enum SnapTo {
17059
+ /** 连接方向自动匹配 */
17060
+ Auto = 'auto',
17061
+ /** 连接图形顶部方向 */
17062
+ Top = 'top',
17063
+ /** 连接图形右边方向 */
17064
+ Right = 'right',
17065
+ /** 连接图形底部方向 */
17066
+ Bottom = 'bottom',
17067
+ /** 连接图形左边方向 */
17068
+ Left = 'left',
17069
+ }
17070
+
17071
+ export interface SocialArchive {
17072
+ /** 员工ID */
17073
+ user_id: string
17074
+ /** 员工参保档案,包含社保、公积金档案 */
17075
+ details: SocialArchiveDetail[]
17076
+ }
17077
+
17078
+ export interface SocialArchiveAdjustRecord {
17079
+ /** 员工ID */
17080
+ user_id?: string
17081
+ /** 类型,increase: 增员; attrition: 减员 */
17082
+ record_type?: 'increase' | 'attrition'
17083
+ /** 员工增减员记录,包括社保、公积金记录 */
17084
+ details?: SocialArchiveDetail[]
17085
+ }
17086
+
17087
+ export interface SocialArchiveDetail {
17088
+ /** 调整说明 */
17089
+ description: I18n
17090
+ /** 类型。social_insurance: 社保; provident_fund: 公积金 */
17091
+ insurance_type: 'social_insurance' | 'provident_fund'
17092
+ /** 参保状态,非「参保」状态下,基数、险种数据等为空 */
17093
+ insurance_status: 'contribution' | 'not_contribution' | 'stopped_contribution'
17094
+ /** 档案时间轴对象ID,仅参保档案对象会包含 */
17095
+ id?: string
17096
+ /** 档案时间轴对象版本ID,仅参保档案对象会包含 */
17097
+ tid?: string
17098
+ /** 参保方案ID,详细信息可通过「查询参保方案」接口获取 */
17099
+ plan_id?: string
17100
+ /** 参保方案版本ID */
17101
+ plan_tid?: string
17102
+ /** 参保城市ID,可通过获取地点信息接口查询详细信息 */
17103
+ location_id?: string
17104
+ /** 社保缴纳主体ID,可通过获取公司主体接口查询详细信息 */
17105
+ company_id?: string
17106
+ /** 社保账户类型 */
17107
+ account_type?: 'associated_company' | 'supplier'
17108
+ /** 社保账号 */
17109
+ insurance_account?: string
17110
+ /** 申报缴纳基数 */
17111
+ base_salary?: string
17112
+ /** 险种数据详情 */
17113
+ insurance_details?: SocialArchiveItem[]
17114
+ /** 档案生效时间,HHHH-MM-DD */
17115
+ effective_date?: string
17116
+ }
17117
+
17118
+ export interface SocialArchiveItem {
17119
+ /** 险种ID,详细信息可通过社保险种接口查询 */
17120
+ insurance_id: string
17121
+ /** 企业缴纳金额 */
17122
+ company_deduction: string
17123
+ /** 险种缴纳配置 */
17124
+ company_setting: SocialPlanItemSetting
17125
+ /** 企业缴纳金额 */
17126
+ personal_deduction: string
17127
+ /** 险种缴纳配置 */
17128
+ personal_setting: SocialPlanItemSetting
17129
+ /** 缴纳频率 */
17130
+ payment_frequency: 'annually' | 'monthly' | 'quarterly'
17131
+ /** 缴纳月份 */
17132
+ payment_months: number[]
17133
+ }
17134
+
17135
+ export interface SocialInsurance {
17136
+ /** 险种唯一ID */
17137
+ id: string
17138
+ /** 险种名称 */
17139
+ name: I18n
17140
+ /** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
17141
+ insurance_type: 'social_insurance' | 'provident_fund'
17142
+ /** 启用状态 */
17143
+ active: boolean
17144
+ /** 是否为系统预置险种。养老保险、医疗保险、失业保险、工伤保险、生育保险、住房公积金为系统预置险种。 */
17145
+ is_system: boolean
17146
+ }
17147
+
17148
+ export interface SocialPlan {
17149
+ /** 参保方案ID */
17150
+ plan_id: string
17151
+ /** 参保方案版本ID */
17152
+ plan_tid: string
17153
+ /** 参保方案名称 */
17154
+ name: I18n
17155
+ /** 生效时间,HHHH-MM-DD */
17156
+ effective_date: string
17157
+ /** 是否启用 */
17158
+ active: boolean
17159
+ /** 险种类型. social_insurance: 社保; provident_fund: 公积金 */
17160
+ insurance_type: 'social_insurance' | 'provident_fund'
17161
+ /** 参保方案适用范围 */
17162
+ scope?: SocialPlanScope
17163
+ /** 参保信息 */
17164
+ item_detail: SocialPlanItemDetail[]
17165
+ /** 备注 */
17166
+ remark: I18n
17167
+ }
17168
+
17169
+ export interface SocialPlanCondition {
17170
+ /** 适用范围左值 */
17171
+ left_type?: 1 | 2
17172
+ /** 适用范围操作 */
17173
+ operator?: 1 | 2
17174
+ /** 适用范围右值 */
17175
+ right_values?: string[]
17176
+ }
17177
+
17178
+ export interface SocialPlanItemDetail {
17179
+ /** 险种ID,详细信息可通过社保险种接口查询 */
17180
+ item_id: string
17181
+ /** 险种名 */
17182
+ item_name: I18n
17183
+ /** 险种缴纳配置 */
17184
+ item_setting_of_person: SocialPlanItemSetting
17185
+ /** 险种缴纳配置 */
17186
+ item_setting_of_company: SocialPlanItemSetting
17187
+ /** 缴纳频率 */
17188
+ payment_frequency: 'annually' | 'monthly' | 'quarterly'
17189
+ /** 缴纳月份 */
17190
+ payment_months: number[]
17191
+ }
17192
+
17193
+ export interface SocialPlanItemSetting {
17194
+ /** 基数下限,浮点数,保留二位小数 */
17195
+ lower_limit: string
17196
+ /** 基数上限,浮点数,保留二位小数 */
17197
+ upper_limit: string
17198
+ /** 缴纳比例,浮点数,默认填充到二位小数,支持输入到四位,单位为 % */
17199
+ payment_ratio: string
17200
+ /** 缴纳金舍入规则。rounding: 四舍五入; round_up: 向上舍入; round_down: 向下舍入 */
17201
+ payment_rounding_rule: 'rounding' | 'round_up' | 'round_down'
17202
+ /** 缴纳金小数位数,0-6之间选择 */
17203
+ payment_decimals: number
17204
+ /** 附加固定金额,浮点数,保留二位小数 */
17205
+ fixed_payment: string
17206
+ }
17207
+
17208
+ export interface SocialPlanScope {
17209
+ /** 是否适用于全部 */
17210
+ is_all: boolean
17211
+ /** 适用范围,二维。外层or连接,内层and连接 */
17212
+ rules?: SocialPlanCondition[][]
17213
+ }
17214
+
15644
17215
  export interface Sort {
15645
17216
  /** 字段名称 */
15646
17217
  field_name?: string
@@ -15766,6 +17337,13 @@ export interface Statistics {
15766
17337
  dislike_count: number
15767
17338
  }
15768
17339
 
17340
+ export interface StickyNote {
17341
+ /** 用户id */
17342
+ user_id?: string
17343
+ /** 是否展示用户信息 */
17344
+ show_author_info?: boolean
17345
+ }
17346
+
15769
17347
  export interface StreamConfig {
15770
17348
  /** 仅包含字母数字和下划线的 16 位字符串作为同一数据流的标识,用户生成 */
15771
17349
  stream_id: string
@@ -15780,18 +17358,37 @@ export interface StreamConfig {
15780
17358
  }
15781
17359
 
15782
17360
  export interface Style {
17361
+ /** 填充颜色,16 进制 rbg 值 */
17362
+ fill_color?: string
15783
17363
  /** 填充透明度 */
15784
17364
  fill_opacity?: number
15785
17365
  /** 边框样式 */
15786
17366
  border_style?: 'solid' | 'none' | 'dash' | 'dot'
15787
17367
  /** 边框宽度 */
15788
- border_width?: 'extra_narrow' | 'narrow' | 'medium' | 'wide'
17368
+ border_width?: 'extra_narrow' | 'narrow' | 'medium' | 'bold'
15789
17369
  /** 边框透明度 */
15790
17370
  border_opacity?: number
15791
17371
  /** 水平翻折 */
15792
17372
  h_flip?: boolean
15793
17373
  /** 垂直翻折 */
15794
17374
  v_flip?: boolean
17375
+ /** 边框颜色,16 进制 rgb 值 */
17376
+ border_color?: string
17377
+ /** 填充颜色主题配色编码值 */
17378
+ theme_fill_color_code?: number
17379
+ /** 边框颜色主题配色编码值 */
17380
+ theme_border_color_code?: number
17381
+ /** 填充颜色类型:0=系统颜色,取theme_fill_color_code,1=自定义颜色,取fill_color */
17382
+ fill_color_type?: ColorType
17383
+ /** 边框颜色类型:0=系统颜色,取theme_border_color_code,1=自定义颜色,取border_color */
17384
+ border_color_type?: ColorType
17385
+ }
17386
+
17387
+ export const enum StyleType {
17388
+ /** 画板样式 */
17389
+ Board = 1,
17390
+ /** 经典样式 */
17391
+ Classic = 2,
15795
17392
  }
15796
17393
 
15797
17394
  export interface Subdivision {
@@ -15863,6 +17460,20 @@ export interface SupportCostCenterItem {
15863
17460
  rate?: number
15864
17461
  }
15865
17462
 
17463
+ export interface Svg {
17464
+ /** svg code */
17465
+ svg_code?: string
17466
+ }
17467
+
17468
+ export const enum SyntaxType {
17469
+ /** 未知 */
17470
+ UNKOWN = 0,
17471
+ /** Plantuml解析 */
17472
+ PLANT_UML = 1,
17473
+ /** Mermaid解析 */
17474
+ MERMAID = 2,
17475
+ }
17476
+
15866
17477
  export interface SystemFields {
15867
17478
  /** 中文姓名 */
15868
17479
  name?: string
@@ -16927,6 +18538,13 @@ export interface Term {
16927
18538
  to: string
16928
18539
  }
16929
18540
 
18541
+ export interface TerminateSignatureFailIdAndReason {
18542
+ /** 终止操作失败的文件ID */
18543
+ signature_file_id: string
18544
+ /** 终止失败的原因 */
18545
+ fail_reason: string
18546
+ }
18547
+
16930
18548
  export interface TerminationReason {
16931
18549
  /** 终止原因 ID */
16932
18550
  id?: string
@@ -17389,6 +19007,11 @@ export interface TransferType {
17389
19007
  updated_time?: string
17390
19008
  }
17391
19009
 
19010
+ export interface Trapezoid {
19011
+ /** 梯形上底长(短边)。默认为下底边长度的2/3,不能超过下底边长度。 */
19012
+ top_length?: number
19013
+ }
19014
+
17392
19015
  export interface TripartiteAgreementInfo {
17393
19016
  /** 三方协议 ID */
17394
19017
  id?: string
@@ -17913,6 +19536,13 @@ export interface UserFlow {
17913
19536
  idempotent_id?: string
17914
19537
  }
17915
19538
 
19539
+ export interface UserFreebusy {
19540
+ /** 日历上请求时间区间内的忙闲信息 */
19541
+ freebusy_items?: Freebusy[]
19542
+ /** 日历的创建者userID */
19543
+ user_id?: string
19544
+ }
19545
+
17916
19546
  export interface UserInfo {
17917
19547
  /** 个人邮箱还是公共邮箱 */
17918
19548
  type: string
@@ -18246,6 +19876,8 @@ export interface UserViewDetail {
18246
19876
  view_time?: string
18247
19877
  }
18248
19878
 
19879
+ export type Uuid = string
19880
+
18249
19881
  export interface Value {
18250
19882
  /** 字符串值 */
18251
19883
  string_value?: string
@@ -18732,21 +20364,17 @@ export interface WeekdaySchedule {
18732
20364
 
18733
20365
  export interface WhiteboardNode {
18734
20366
  /** 节点 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'
20367
+ id?: string
20368
+ /** 节点图形类型,目前创建节点仅支持创建图片、文本、基础图形等类型 */
20369
+ 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
20370
  /** 父节点 id */
18739
20371
  parent_id?: string
18740
- /** 子节点 */
18741
- children?: string[]
18742
20372
  /** 图形相对画布的 x 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
18743
20373
  x?: number
18744
20374
  /** 图形相对画布的 y 轴位置信息(存在父容器时为相对父容器的坐标,父容器为组合图形 group 时,坐标是穿透的),单位为 px */
18745
20375
  y?: number
18746
20376
  /** 图形旋转角度 */
18747
20377
  angle?: number
18748
- /** 图形宽度,单位为 px */
18749
- width?: number
18750
20378
  /** 图形高度,单位为 px */
18751
20379
  height?: number
18752
20380
  /** 图形内文字 */
@@ -18759,12 +20387,28 @@ export interface WhiteboardNode {
18759
20387
  composite_shape?: CompositeShape
18760
20388
  /** 连线属性 */
18761
20389
  connector?: Connector
20390
+ /** 图形宽度,单位为 px */
20391
+ width?: number
18762
20392
  /** 分区属性 */
18763
20393
  section?: Section
18764
20394
  /** 表格属性 */
18765
20395
  table?: Table
18766
- /** 思维导图属性 */
18767
- mind_map?: MindMap
20396
+ /** 图形是否锁定 */
20397
+ locked?: boolean
20398
+ /** 图形在兄弟节点中的层级,层级大的会覆盖层级小的 */
20399
+ z_index?: number
20400
+ /** 生命对象属性 */
20401
+ lifeline?: Lifeline
20402
+ /** 画笔属性 */
20403
+ paint?: Paint
20404
+ /** svg图形属性 */
20405
+ svg?: Svg
20406
+ /** 便签图形属性 */
20407
+ sticky_note?: StickyNote
20408
+ /** 思维导图节点属性 */
20409
+ mind_map_node?: MindMapNode
20410
+ /** 思维导图根节点属性 */
20411
+ mind_map_root?: MindMapRoot
18768
20412
  }
18769
20413
 
18770
20414
  export interface WikiCatalog {