@satorijs/adapter-lark 3.11.8 → 3.11.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,11 +29,14 @@ export namespace Corehr {
29
29
  company: Company.Methods
30
30
  costCenter: CostCenter.Methods
31
31
  customOrg: CustomOrg.Methods
32
+ draft: Draft.Methods
32
33
  approvalGroups: ApprovalGroups.Methods
33
34
  jobFamily: JobFamily.Methods
34
35
  jobLevel: JobLevel.Methods
35
36
  jobGrade: JobGrade.Methods
37
+ pathway: Pathway.Methods
36
38
  job: Job.Methods
39
+ position: Position.Methods
37
40
  preHire: PreHire.Methods
38
41
  probation: Probation.Methods
39
42
  jobChange: JobChange.Methods
@@ -1449,6 +1452,7 @@ export namespace Corehr {
1449
1452
  export namespace Employees {
1450
1453
  export interface Methods {
1451
1454
  jobData: JobData.Methods
1455
+ internationalAssignment: InternationalAssignment.Methods
1452
1456
  additionalJob: AdditionalJob.Methods
1453
1457
  bp: Bp.Methods
1454
1458
  }
@@ -1523,6 +1527,223 @@ export namespace Corehr {
1523
1527
  }
1524
1528
  }
1525
1529
 
1530
+ export namespace InternationalAssignment {
1531
+ export interface Methods {
1532
+ /**
1533
+ * 创建外派信息
1534
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employees-international_assignment/create
1535
+ */
1536
+ create(body: CreateRequest, query?: CreateQuery): Promise<CreateResponse>
1537
+ /**
1538
+ * 更新外派信息
1539
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employees-international_assignment/patch
1540
+ */
1541
+ patch(international_assignment_id: string, body: PatchRequest, query?: PatchQuery): Promise<PatchResponse>
1542
+ /**
1543
+ * 批量查询外派信息
1544
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employees-international_assignment/list
1545
+ */
1546
+ list(query?: ListQuery): Promise<ListResponse>
1547
+ /**
1548
+ * 删除外派信息
1549
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employees-international_assignment/delete
1550
+ */
1551
+ delete(international_assignment_id: string): Promise<void>
1552
+ }
1553
+
1554
+ export interface CreateRequest {
1555
+ /** 外派工作地点 ID - 可通过[【批量查询地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/list)获取 */
1556
+ work_location_id: string
1557
+ /** 外派任职公司 ID- 可通过[【批量查询公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/list)获取 */
1558
+ service_company?: string
1559
+ /** 排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift */
1560
+ work_shift?: string
1561
+ /** 周工作时长- 限制两位小数 */
1562
+ weekly_working_hours_v2?: number
1563
+ /** 工时制度ID- 可通过[【批量查询工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/list)获取 */
1564
+ working_hours_type_id?: string
1565
+ /** 人员类型ID- 可通过[【批量查询人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/list)获取 */
1566
+ employee_type_id?: string
1567
+ /** 部门 ID- 可通过[【批量查询部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)获取- 类型与 department_id_type 一致 */
1568
+ department_id?: string
1569
+ /** 职务 ID- 可通过[【批量查询职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/list)获取 */
1570
+ job_id?: string
1571
+ /** 序列 ID- 可通过[【批量查询序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)获取 */
1572
+ job_family_id?: string
1573
+ /** 职级 ID- 可通过[【批量查询职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/list)获取 */
1574
+ job_level_id?: string
1575
+ /** 职等 ID- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取 */
1576
+ job_grade_id?: string
1577
+ /** 薪资类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type */
1578
+ compensation_type?: string
1579
+ /** 直属上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1580
+ direct_manager_id?: string
1581
+ /** 虚线上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1582
+ dotted_line_manager_id?: string
1583
+ /** 工作日历 ID- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取 */
1584
+ work_calendar_id?: string
1585
+ /** 岗位 ID- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW) */
1586
+ position_id?: string
1587
+ /** 雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1588
+ employment_id: string
1589
+ /** 自定义字段- 请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
1590
+ custom_fields?: Lark.ObjectFieldData[]
1591
+ /** 外派原因说明 */
1592
+ international_assignment_reason?: string
1593
+ /** 备注 */
1594
+ description?: string
1595
+ /** 预计结束日期- 格式:yyyy-mm-dd */
1596
+ international_assignment_expected_end_date?: string
1597
+ /** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
1598
+ international_assignment_type: string
1599
+ /** 开始日期- 格式:yyyy-mm-dd */
1600
+ effective_time: string
1601
+ /** 结束日期- 格式:yyyy-mm-dd */
1602
+ expiration_time?: string
1603
+ }
1604
+
1605
+ export interface CreateQuery {
1606
+ /** 幂等标识,服务端会忽略 client_token 重复的请求 */
1607
+ client_token?: string
1608
+ /** 用户 ID 类型 */
1609
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
1610
+ /** 此次调用中使用的部门 ID 类型 */
1611
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
1612
+ }
1613
+
1614
+ export interface CreateResponse {
1615
+ /** 外派信息 */
1616
+ international_assignment?: Lark.EmployeesInternationalAssignmentResp
1617
+ }
1618
+
1619
+ export interface PatchRequest {
1620
+ /** 外派工作地点 ID - 可通过[【批量查询地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/list)获取 */
1621
+ work_location_id?: string
1622
+ /** 外派任职公司 ID- 可通过[【批量查询公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/list)获取 */
1623
+ service_company?: string
1624
+ /** 排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift */
1625
+ work_shift?: string
1626
+ /** 周工作时长- 限制两位小数 */
1627
+ weekly_working_hours_v2?: number
1628
+ /** 工时制度ID- 可通过[【批量查询工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/list)获取 */
1629
+ working_hours_type_id?: string
1630
+ /** 人员类型ID- 可通过[【批量查询人员类型】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/list)获取 */
1631
+ employee_type_id?: string
1632
+ /** 部门 ID- 可通过[【批量查询部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)获取- 类型与 department_id_type 一致 */
1633
+ department_id?: string
1634
+ /** 职务 ID- 可通过[【批量查询职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/list)获取 */
1635
+ job_id?: string
1636
+ /** 序列 ID- 可通过[【批量查询序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)获取 */
1637
+ job_family_id?: string
1638
+ /** 职级 ID- 可通过[【批量查询职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/list)获取 */
1639
+ job_level_id?: string
1640
+ /** 职等 ID- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取 */
1641
+ job_grade_id?: string
1642
+ /** 薪资类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type */
1643
+ compensation_type?: string
1644
+ /** 直属上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1645
+ direct_manager_id?: string
1646
+ /** 虚线上级雇佣 ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1647
+ dotted_line_manager_id?: string
1648
+ /** 工作日历 ID- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取 */
1649
+ work_calendar_id?: string
1650
+ /** 岗位 ID- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW) */
1651
+ position_id?: string
1652
+ /** 自定义字段- 请参考[【自定义字段说明】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide) */
1653
+ custom_fields?: Lark.ObjectFieldData[]
1654
+ /** 外派原因说明 */
1655
+ international_assignment_reason?: string
1656
+ /** 备注 */
1657
+ description?: string
1658
+ /** 预计结束日期- 格式:yyyy-mm-dd */
1659
+ international_assignment_expected_end_date?: string
1660
+ /** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
1661
+ international_assignment_type?: string
1662
+ /** 开始日期- 格式:yyyy-mm-dd */
1663
+ effective_time?: string
1664
+ /** 结束日期- 格式:yyyy-mm-dd */
1665
+ expiration_time?: string
1666
+ }
1667
+
1668
+ export interface PatchQuery {
1669
+ /** 幂等标识,服务端会忽略client_token重复的请求 */
1670
+ client_token?: string
1671
+ /** 用户 ID 类型 */
1672
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
1673
+ /** 此次调用中使用的部门 ID 类型 */
1674
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
1675
+ }
1676
+
1677
+ export interface PatchResponse {
1678
+ /** 外派信息 */
1679
+ international_assignment?: Lark.EmployeesInternationalAssignmentResp
1680
+ }
1681
+
1682
+ export interface ListQuery extends Pagination {
1683
+ /** 用户 ID 类型 */
1684
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
1685
+ /** 此次调用中使用的部门 ID 类型 */
1686
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
1687
+ /** 雇佣ID- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息- 类型必须与 user_id_type 一致 */
1688
+ employment_ids?: string[]
1689
+ /** 外派 ID */
1690
+ international_assignment_ids?: string[]
1691
+ /** 外派开始日期- 范围筛选,格式:yyyy-mm-dd~yyyy-mm-dd */
1692
+ effective_time?: string
1693
+ /** 外派结束日期- 范围筛选,格式:yyyy-mm-dd~yyyy-mm-dd */
1694
+ expiration_time?: string
1695
+ /** 雇佣状态- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:employment - custom_api_name:employment_status */
1696
+ employment_status_list?: string[]
1697
+ /** 外派工作地点- 可通过[【批量查询地点】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/list)获取- 需要以下权限点之一: - [读取外派地点](corehr:employment.international_assignment.work_location:read) - [读写外派地点](corehr:employment.international_assignment.work_location:write) */
1698
+ work_location_id_list?: string[]
1699
+ /** 外派部门- 可通过[【批量查询部门】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)获取- 类型与 department_id_type 一致 */
1700
+ department_id_list?: string[]
1701
+ /** 外派直属上级- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1702
+ direct_manager_id_list?: string[]
1703
+ /** 外派虚线上级- 可通过[【批量查询员工信息】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取- 类型与 user_id_type 一致 */
1704
+ dotted_line_manager_id_list?: string[]
1705
+ /** 外派岗位- 功能灰度中,请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)- 需要以下权限点之一: - [读取外派岗位](corehr:employment.international_assignment.position:read) - [读写外派岗位](corehr:employment.international_assignment.position:write) */
1706
+ position_id_list?: string[]
1707
+ /** 外派职务- 可通过[【批量查询职务】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/list)获取- 需要以下权限点之一: - [读取外派职务](corehr:employment.international_assignment.job:read) - [读写外派职务](corehr:employment.international_assignment.job:write) */
1708
+ job_id_list?: string[]
1709
+ /** 外派序列- 可通过[【批量查询序列】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)获取 */
1710
+ job_family_id_list?: string[]
1711
+ /** 外派职级- 可通过[【批量查询职级】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/list)获取- 需要以下权限点之一: - [读取外派职级](corehr:employment.international_assignment.job_level:read) - [读写外派职级](corehr:employment.international_assignment.job_level:write) */
1712
+ job_level_id_list?: string[]
1713
+ /** 外派职等- 可通过[【查询职等】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取- 需要以下权限点之一: - [读取外派职等](corehr:employment.international_assignment.job_grade:read) - [读写外派职等](corehr:employment.international_assignment.job_grade:write) */
1714
+ job_grade_id_list?: string[]
1715
+ /** 外派工时制度- 可通过[【批量查询工时制度】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/list)获取- 需要以下权限点之一: - [读取外派工时制度](corehr:employment.international_assignment.working_hours_type:read) - [读写外派工时制度](corehr:employment.international_assignment.working_hours_type:write) */
1716
+ working_hours_type_id_list?: string[]
1717
+ /** 外派任职公司- 可通过[【批量查询公司】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/list)获取- 需要以下权限点之一: - [读取外派公司](corehr:employment.international_assignment.service_company:read) - [读写外派公司](corehr:employment.international_assignment.service_company:write) */
1718
+ service_company_list?: string[]
1719
+ /** 外派周工作时长- 限制两位小数- 需要以下权限点之一: - [读取外派周工作时长](corehr:employment.international_assignment.weekly_working_hours:read) - [读写外派周工作时长](corehr:employment.international_assignment.weekly_working_hours:write) */
1720
+ weekly_working_hours_v2?: number
1721
+ /** 外派排班类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:work_shift- 需要以下权限点之一: - [读取外派排班类型](corehr:employment.international_assignment.work_shift:read) - [读写外派排班类型](corehr:employment.international_assignment.work_shift:write) */
1722
+ work_shift_list?: string[]
1723
+ /** 外派薪资类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:job_data - custom_api_name:compensation_type- 需要以下权限点之一: - [读取外派薪资类型](corehr:employment.international_assignment.compensation_type:read) - [读写外派薪资类型](corehr:employment.international_assignment.compensation_type:write) */
1724
+ compensation_type_list?: string[]
1725
+ /** 外派预计结束日期- 范围筛选,格式:yyyy-mm-dd~yyyy-mm-dd */
1726
+ international_assignment_expected_end_date?: string
1727
+ /** 外派状态- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_status */
1728
+ international_assignment_status_list?: string[]
1729
+ /** 外派类型- 可通过[【获取字段详情】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下: - object_api_name:international_assignment - custom_api_name:international_assignment_type */
1730
+ international_assignment_type_list?: string[]
1731
+ /** 外派工作日历- 可通过[【查询工作日历】](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息- 需要以下权限点之一: - [读取外派工作日历](corehr:employment.international_assignment.work_calendar:read) - [读写外派工作日历](corehr:employment.international_assignment.work_calendar:write) */
1732
+ work_calendar_id_list?: string[]
1733
+ }
1734
+
1735
+ export interface ListResponse {
1736
+ /** 外派信息 */
1737
+ items?: Lark.EmployeesInternationalAssignment[]
1738
+ /** 无权限的雇佣ID - 在指定雇佣ID查询时请检查该参数 - 类型与 user_id_type 一致 */
1739
+ no_authority_ids?: string[]
1740
+ /** 翻页 */
1741
+ page_token?: string
1742
+ /** 是否有更多项 */
1743
+ has_more?: boolean
1744
+ }
1745
+ }
1746
+
1526
1747
  export namespace AdditionalJob {
1527
1748
  export interface Methods {
1528
1749
  /**
@@ -2993,8 +3214,37 @@ export namespace Corehr {
2993
3214
  }
2994
3215
  }
2995
3216
 
3217
+ export namespace Draft {
3218
+ export interface Methods {
3219
+ /**
3220
+ * 根据组织架构调整 ID 查询发起的流程信息
3221
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/draft/get
3222
+ */
3223
+ get(draft_id: string, query?: GetQuery): Promise<GetResponse>
3224
+ }
3225
+
3226
+ export interface GetQuery {
3227
+ /** 用户 ID 类型 */
3228
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
3229
+ }
3230
+
3231
+ export interface GetResponse {
3232
+ /** 组织架构调整 ID */
3233
+ draft_id?: string
3234
+ /** 组织架构调整状态 */
3235
+ draft_status?: '0' | '1' | '2' | '3'
3236
+ /** 组织架构调整流程信息列表 */
3237
+ process_infos?: Lark.ProcessInfo[]
3238
+ }
3239
+ }
3240
+
2996
3241
  export namespace ApprovalGroups {
2997
3242
  export interface Methods {
3243
+ /**
3244
+ * 批量查询岗位调整内容
3245
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/approval_groups/open_query_position_change_list_by_ids
3246
+ */
3247
+ openQueryPositionChangeListByIds(body: OpenQueryPositionChangeListByIdsRequest, query?: OpenQueryPositionChangeListByIdsQuery): Promise<OpenQueryPositionChangeListByIdsResponse>
2998
3248
  /**
2999
3249
  * 根据流程 ID 查询组织架构调整记录
3000
3250
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/approval_groups/get
@@ -3012,6 +3262,27 @@ export namespace Corehr {
3012
3262
  openQueryJobChangeListByIds(body: OpenQueryJobChangeListByIdsRequest, query?: OpenQueryJobChangeListByIdsQuery): Promise<OpenQueryJobChangeListByIdsResponse>
3013
3263
  }
3014
3264
 
3265
+ export interface OpenQueryPositionChangeListByIdsRequest {
3266
+ /** 岗位调整记录 ID List */
3267
+ position_change_ids?: string[]
3268
+ /** 是否返回部门全路径 */
3269
+ need_department_path?: boolean
3270
+ }
3271
+
3272
+ export interface OpenQueryPositionChangeListByIdsQuery {
3273
+ /** 组织架构调整流程 ID */
3274
+ process_id: string
3275
+ /** 用户 ID 类型 */
3276
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
3277
+ /** 此次调用中使用的部门 ID 类型 */
3278
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
3279
+ }
3280
+
3281
+ export interface OpenQueryPositionChangeListByIdsResponse {
3282
+ /** 岗位调整记录信息列表 */
3283
+ position_changes?: Lark.PositionChange[]
3284
+ }
3285
+
3015
3286
  export interface GetQuery {
3016
3287
  /** 用户 ID 类型 */
3017
3288
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
@@ -3093,10 +3364,15 @@ export namespace Corehr {
3093
3364
  */
3094
3365
  queryRecentChange(query?: QueryRecentChangeQuery): Promise<QueryRecentChangeResponse>
3095
3366
  /**
3096
- * 通过序列 ID 批量获取序列信息
3367
+ * 根据条件批量获取序列信息
3097
3368
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_family/batch_get
3098
3369
  */
3099
3370
  batchGet(body: BatchGetRequest): Promise<BatchGetResponse>
3371
+ /**
3372
+ * 查询指定时间范围序列版本
3373
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_family/query_multi_timeline
3374
+ */
3375
+ queryMultiTimeline(body: QueryMultiTimelineRequest): Promise<QueryMultiTimelineResponse>
3100
3376
  /**
3101
3377
  * 删除序列
3102
3378
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/delete
@@ -3184,6 +3460,22 @@ export namespace Corehr {
3184
3460
  /** 查询的序列信息 */
3185
3461
  items?: Lark.JobFamily[]
3186
3462
  }
3463
+
3464
+ export interface QueryMultiTimelineRequest {
3465
+ /** 序列 ID 列表 */
3466
+ job_family_ids: string[]
3467
+ /** 查询开始时间(包含) */
3468
+ start_date?: string
3469
+ /** 查询结束时间(包含) */
3470
+ end_date?: string
3471
+ /** 返回数据的字段列表,可选["job_family_name", "code", "active", "parent_job_family_id", "description", "effective_date"] */
3472
+ fields?: string[]
3473
+ }
3474
+
3475
+ export interface QueryMultiTimelineResponse {
3476
+ /** 序列信息 */
3477
+ items?: Lark.JobFamilyTimeline[]
3478
+ }
3187
3479
  }
3188
3480
 
3189
3481
  export namespace JobLevel {
@@ -3214,7 +3506,7 @@ export namespace Corehr {
3214
3506
  */
3215
3507
  queryRecentChange(query?: QueryRecentChangeQuery): Promise<QueryRecentChangeResponse>
3216
3508
  /**
3217
- * 通过职级 ID 批量获取职级信息
3509
+ * 根据条件批量获取职级信息
3218
3510
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_level/batch_get
3219
3511
  */
3220
3512
  batchGet(body: BatchGetRequest): Promise<BatchGetResponse>
@@ -3407,6 +3699,86 @@ export namespace Corehr {
3407
3699
  }
3408
3700
  }
3409
3701
 
3702
+ export namespace Pathway {
3703
+ export interface Methods {
3704
+ /**
3705
+ * 创建通道
3706
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pathway/create
3707
+ */
3708
+ create(body: CreateRequest, query?: CreateQuery): Promise<CreateResponse>
3709
+ /**
3710
+ * 更新通道
3711
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pathway/patch
3712
+ */
3713
+ patch(pathway_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
3714
+ /**
3715
+ * 删除通道
3716
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pathway/delete
3717
+ */
3718
+ delete(pathway_id: string): Promise<void>
3719
+ /**
3720
+ * 启停用通道
3721
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pathway/active
3722
+ */
3723
+ active(body: ActiveRequest): Promise<void>
3724
+ /**
3725
+ * 获取通道信息
3726
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pathway/batch_get
3727
+ */
3728
+ batchGet(body: BatchGetRequest): Promise<BatchGetResponse>
3729
+ }
3730
+
3731
+ export interface CreateRequest {
3732
+ /** 编码 */
3733
+ code?: string
3734
+ /** 名称 */
3735
+ names: Lark.I18n[]
3736
+ /** 描述 */
3737
+ descriptions?: Lark.I18n[]
3738
+ }
3739
+
3740
+ export interface CreateQuery {
3741
+ /** 根据client_token是否一致来判断是否为同一请求 */
3742
+ client_token?: string
3743
+ }
3744
+
3745
+ export interface CreateResponse {
3746
+ /** 通道ID */
3747
+ pathway_id?: string
3748
+ }
3749
+
3750
+ export interface PatchRequest {
3751
+ /** 编码 */
3752
+ code?: string
3753
+ /** 名称 */
3754
+ names?: Lark.I18n[]
3755
+ /** 描述 */
3756
+ descriptions?: Lark.I18n[]
3757
+ }
3758
+
3759
+ export interface PatchQuery {
3760
+ /** 根据client_token是否一致来判断是否为同一请求 */
3761
+ client_token?: string
3762
+ }
3763
+
3764
+ export interface ActiveRequest {
3765
+ /** 通道ID */
3766
+ pathway_id: string
3767
+ /** 启用停用状态 */
3768
+ active: boolean
3769
+ }
3770
+
3771
+ export interface BatchGetRequest {
3772
+ /** 通道 ID 列表 */
3773
+ pathway_ids: string[]
3774
+ }
3775
+
3776
+ export interface BatchGetResponse {
3777
+ /** 查询的通道信息 */
3778
+ items?: Lark.Pathway[]
3779
+ }
3780
+ }
3781
+
3410
3782
  export namespace Job {
3411
3783
  export interface Methods {
3412
3784
  /**
@@ -3434,6 +3806,16 @@ export namespace Corehr {
3434
3806
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/list
3435
3807
  */
3436
3808
  list(query?: ListQuery): Paginated<Lark.Job>
3809
+ /**
3810
+ * 根据条件批量获取职务
3811
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/batch_get
3812
+ */
3813
+ batchGet(body: BatchGetRequest, query?: BatchGetQuery): Promise<BatchGetResponse>
3814
+ /**
3815
+ * 查询指定时间范围职务版本
3816
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/query_multi_timeline
3817
+ */
3818
+ queryMultiTimeline(body: QueryMultiTimelineRequest): Promise<QueryMultiTimelineResponse>
3437
3819
  /**
3438
3820
  * 查询当前生效信息发生变更的职务
3439
3821
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/query_recent_change
@@ -3517,6 +3899,41 @@ export namespace Corehr {
3517
3899
  query_language?: string
3518
3900
  }
3519
3901
 
3902
+ export interface BatchGetRequest {
3903
+ /** 职务 ID 列表 */
3904
+ job_ids?: string[]
3905
+ /** 职务 Code 列表 */
3906
+ job_codes?: string[]
3907
+ /** 返回数据的字段列表 */
3908
+ fields?: string[]
3909
+ }
3910
+
3911
+ export interface BatchGetQuery {
3912
+ /** 用户 ID 类型 */
3913
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
3914
+ }
3915
+
3916
+ export interface BatchGetResponse {
3917
+ /** 查询的职务信息 */
3918
+ items?: Lark.Job[]
3919
+ }
3920
+
3921
+ export interface QueryMultiTimelineRequest {
3922
+ /** 职务 ID 列表 */
3923
+ job_ids: string[]
3924
+ /** 查询开始时间(包含) */
3925
+ start_date?: string
3926
+ /** 查询结束时间(包含) */
3927
+ end_date?: string
3928
+ /** 返回数据的字段列表,可选["job_name", "code", "active", "parent_job", "description", "effective_date", "expiration_date"] */
3929
+ fields?: string[]
3930
+ }
3931
+
3932
+ export interface QueryMultiTimelineResponse {
3933
+ /** 职务信息 */
3934
+ items?: Lark.JobTimeline[]
3935
+ }
3936
+
3520
3937
  export interface QueryRecentChangeQuery extends Pagination {
3521
3938
  /** 查询的开始时间,支持"yyyy-MM-dd HH:MM:SS" */
3522
3939
  start_date: string
@@ -3536,6 +3953,188 @@ export namespace Corehr {
3536
3953
  }
3537
3954
  }
3538
3955
 
3956
+ export namespace Position {
3957
+ export interface Methods {
3958
+ /**
3959
+ * 创建岗位信息
3960
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/create
3961
+ */
3962
+ create(body: CreateRequest, query?: CreateQuery): Promise<CreateResponse>
3963
+ /**
3964
+ * 更新岗位信息
3965
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/patch
3966
+ */
3967
+ patch(position_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
3968
+ /**
3969
+ * 查询岗位信息
3970
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/query
3971
+ */
3972
+ query(body: QueryRequest, query?: QueryQuery): Paginated<Lark.Position>
3973
+ /**
3974
+ * 查询指定时范围内当前版本信息发生变更的岗位
3975
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/query_recent_change
3976
+ */
3977
+ queryRecentChange(query?: QueryRecentChangeQuery): Promise<QueryRecentChangeResponse>
3978
+ /**
3979
+ * 启停用岗位
3980
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/active
3981
+ */
3982
+ active(body: ActiveRequest): Promise<void>
3983
+ /**
3984
+ * 删除岗位
3985
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/del_position
3986
+ */
3987
+ delPosition(body: DelPositionRequest): Promise<void>
3988
+ }
3989
+
3990
+ export interface CreateRequest {
3991
+ /** 编码 */
3992
+ code?: string
3993
+ /** 名称 */
3994
+ names: Lark.I18n[]
3995
+ /** 描述 */
3996
+ descriptions?: Lark.I18n[]
3997
+ /** 序列 */
3998
+ job_family_ids?: string[]
3999
+ /** 成本中心 */
4000
+ cost_center_id?: string
4001
+ /** 职务 */
4002
+ job_id: string
4003
+ /** 职级 */
4004
+ job_level_ids?: string[]
4005
+ /** 人员类型 */
4006
+ employee_type_ids?: string[]
4007
+ /** 职等 */
4008
+ job_grade_ids?: string[]
4009
+ /** 工作地点 */
4010
+ work_location_ids?: string[]
4011
+ /** 工时制度 */
4012
+ working_hours_type_id?: string
4013
+ /** 部门 */
4014
+ department_id: string
4015
+ /** 直属上级岗位 */
4016
+ direct_leader_id?: string
4017
+ /** 虚线上级岗位 */
4018
+ dotted_line_leader_id?: string
4019
+ /** 是否关键岗位 */
4020
+ is_key_position?: boolean
4021
+ /** 生效日期 */
4022
+ effective_time: string
4023
+ /** 自定义字段 */
4024
+ custom_fields?: Lark.CustomFieldData[]
4025
+ }
4026
+
4027
+ export interface CreateQuery {
4028
+ /** 根据client_token是否一致来判断是否为同一请求 */
4029
+ client_token?: string
4030
+ /** 此次调用中使用的部门 ID 类型 */
4031
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
4032
+ }
4033
+
4034
+ export interface CreateResponse {
4035
+ /** 岗位ID */
4036
+ position_id?: string
4037
+ }
4038
+
4039
+ export interface PatchRequest {
4040
+ /** 编码 */
4041
+ code?: string
4042
+ /** 名称 */
4043
+ names?: Lark.I18n[]
4044
+ /** 描述 */
4045
+ descriptions?: Lark.I18n[]
4046
+ /** 序列 */
4047
+ job_family_ids?: string[]
4048
+ /** 成本中心 */
4049
+ cost_center_id?: string
4050
+ /** 职务 */
4051
+ job_id?: string
4052
+ /** 职级 */
4053
+ job_level_ids?: string[]
4054
+ /** 人员类型 */
4055
+ employee_type_ids?: string[]
4056
+ /** 职等 */
4057
+ job_grade_ids?: string[]
4058
+ /** 工作地点 */
4059
+ work_location_ids?: string[]
4060
+ /** 工时制度 */
4061
+ working_hours_type_id?: string
4062
+ /** 部门 */
4063
+ department_id?: string
4064
+ /** 直属上级岗位 */
4065
+ direct_leader_id?: string
4066
+ /** 虚线上级岗位 */
4067
+ dotted_line_leader_id?: string
4068
+ /** 是否关键岗位 */
4069
+ is_key_position?: boolean
4070
+ /** 生效日期 */
4071
+ effective_time: string
4072
+ /** 自定义字段 */
4073
+ custom_fields?: Lark.CustomFieldData[]
4074
+ }
4075
+
4076
+ export interface PatchQuery {
4077
+ /** 根据client_token是否一致来判断是否为同一请求 */
4078
+ client_token?: string
4079
+ /** 此次调用中使用的部门 ID 类型 */
4080
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
4081
+ }
4082
+
4083
+ export interface QueryRequest {
4084
+ /** 部门 ID 列表 */
4085
+ department_ids?: string[]
4086
+ /** 生效日期 */
4087
+ effective_time?: string
4088
+ /** 启停用状态 */
4089
+ active?: boolean
4090
+ /** 返回数据的字段列表 */
4091
+ fields?: string[]
4092
+ /** 岗位 ID 列表 */
4093
+ position_ids?: string[]
4094
+ /** 岗位 Code 列表 */
4095
+ position_codes?: string[]
4096
+ }
4097
+
4098
+ export interface QueryQuery extends Pagination {
4099
+ /** 此次调用中使用的部门 ID 类型 */
4100
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
4101
+ /** 用户 ID 类型 */
4102
+ user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id'
4103
+ }
4104
+
4105
+ export interface QueryRecentChangeQuery extends Pagination {
4106
+ /** 查询的开始时间,支持"yyyy-MM-dd HH:MM:SS" */
4107
+ start_date: string
4108
+ /** 查询的结束时间,格式 "yyyy-MM-dd HH:MM:SS" */
4109
+ end_date: string
4110
+ }
4111
+
4112
+ export interface QueryRecentChangeResponse {
4113
+ /** 岗位 ID 列表 */
4114
+ position_ids?: string[]
4115
+ /** 下一页页码 */
4116
+ page_token?: string
4117
+ /** 是否有下一页 */
4118
+ has_more?: boolean
4119
+ /** 删除的岗位 ID 列表 */
4120
+ deleted_position_ids?: string[]
4121
+ }
4122
+
4123
+ export interface ActiveRequest {
4124
+ /** 岗位ID */
4125
+ position_id: string
4126
+ /** 启用停用状态 */
4127
+ active: boolean
4128
+ /** 生效时间 */
4129
+ effective_time: string
4130
+ }
4131
+
4132
+ export interface DelPositionRequest {
4133
+ /** 岗位ID */
4134
+ position_id: string
4135
+ }
4136
+ }
4137
+
3539
4138
  export namespace PreHire {
3540
4139
  export interface Methods {
3541
4140
  /**
@@ -3578,6 +4177,11 @@ export namespace Corehr {
3578
4177
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pre_hire/transit_task
3579
4178
  */
3580
4179
  transitTask(pre_hire_id: string, body: TransitTaskRequest): Promise<TransitTaskResponse>
4180
+ /**
4181
+ * 流转入职任务
4182
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pre_hire/transform_onboarding_task
4183
+ */
4184
+ transformOnboardingTask(body: TransformOnboardingTaskRequest): Promise<TransformOnboardingTaskResponse>
3581
4185
  /**
3582
4186
  * 操作员工完成入职
3583
4187
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/pre_hire/complete
@@ -3725,6 +4329,24 @@ export namespace Corehr {
3725
4329
  success?: boolean
3726
4330
  }
3727
4331
 
4332
+ export interface TransformOnboardingTaskRequest {
4333
+ /** 待入职ID,可从待入职列表接口获取 */
4334
+ pre_hire_id: string
4335
+ /** 任务的标识ID,入职系统的任务分为预置任务和自定义任务,预置任务的task_code是系统写死的,如职位信息任务的task_code为1,自定义任务的task_code为一串UUID。待入职人员任务的task_code可以通过查询待入职接口获取 */
4336
+ task_code: string
4337
+ /** 流转类型,描述对任务做何种流转,manual_start_task表示手动开启任务,submit_task表示提交任务,review_task表示审批任务 */
4338
+ transform_type: string
4339
+ /** 审批结果,approve表示通过,reject表示拒绝,当审批任务时,该字段需要传值,否则报错 */
4340
+ review_decision?: string
4341
+ /** 审批原因,审批任务时,如果审批通过,审批原因可以不填;如果审批拒绝,审批原因必填 */
4342
+ reason?: string
4343
+ }
4344
+
4345
+ export interface TransformOnboardingTaskResponse {
4346
+ /** 是否成功流转任务 */
4347
+ success?: boolean
4348
+ }
4349
+
3728
4350
  export interface CompleteResponse {
3729
4351
  /** 是否成功完成入职 */
3730
4352
  success?: boolean
@@ -5021,6 +5643,11 @@ export namespace Corehr {
5021
5643
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/process/get
5022
5644
  */
5023
5645
  get(process_id: string, query?: GetQuery): Promise<GetResponse>
5646
+ /**
5647
+ * 获取流程数据
5648
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/process/flow_variable_data
5649
+ */
5650
+ flowVariableData(process_id: string, query?: FlowVariableDataQuery): Promise<FlowVariableDataResponse>
5024
5651
  }
5025
5652
 
5026
5653
  export interface ListQuery extends Pagination {
@@ -5106,6 +5733,22 @@ export namespace Corehr {
5106
5733
  is_last_completed_correct_process?: boolean
5107
5734
  }
5108
5735
 
5736
+ export interface FlowVariableDataQuery {
5737
+ /** 用户 ID 类型 */
5738
+ user_id_type?: 'open_id' | 'union_id' | 'user_id' | 'people_corehr_id'
5739
+ /** 此次调用中使用的部门 ID 类型 */
5740
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_corehr_department_id'
5741
+ /** 需要查询变量key */
5742
+ variable_keys?: string[]
5743
+ }
5744
+
5745
+ export interface FlowVariableDataResponse {
5746
+ /** 流程数据 */
5747
+ field_variable_values?: Lark.FieldVariableValue[]
5748
+ /** 流程实例id */
5749
+ process_id?: string
5750
+ }
5751
+
5109
5752
  export namespace FormVariableData {
5110
5753
  export interface Methods {
5111
5754
  /**
@@ -5591,6 +6234,14 @@ Internal.define({
5591
6234
  '/corehr/v2/employees/job_datas/batch_get': {
5592
6235
  POST: 'corehr.employees.jobData.batchGet',
5593
6236
  },
6237
+ '/corehr/v2/employees/international_assignments': {
6238
+ POST: 'corehr.employees.internationalAssignment.create',
6239
+ GET: 'corehr.employees.internationalAssignment.list',
6240
+ },
6241
+ '/corehr/v2/employees/international_assignments/{international_assignment_id}': {
6242
+ PATCH: 'corehr.employees.internationalAssignment.patch',
6243
+ DELETE: 'corehr.employees.internationalAssignment.delete',
6244
+ },
5594
6245
  '/corehr/v2/employees/additional_jobs': {
5595
6246
  POST: 'corehr.employees.additionalJob.create',
5596
6247
  },
@@ -5743,6 +6394,12 @@ Internal.define({
5743
6394
  '/corehr/v2/custom_orgs/delete_org': {
5744
6395
  POST: 'corehr.customOrg.deleteOrg',
5745
6396
  },
6397
+ '/corehr/v2/drafts/{draft_id}': {
6398
+ GET: 'corehr.draft.get',
6399
+ },
6400
+ '/corehr/v2/approval_groups/open_query_position_change_list_by_ids': {
6401
+ POST: 'corehr.approvalGroups.openQueryPositionChangeListByIds',
6402
+ },
5746
6403
  '/corehr/v2/approval_groups/{process_id}': {
5747
6404
  GET: 'corehr.approvalGroups.get',
5748
6405
  },
@@ -5767,6 +6424,9 @@ Internal.define({
5767
6424
  '/corehr/v2/job_families/batch_get': {
5768
6425
  POST: 'corehr.jobFamily.batchGet',
5769
6426
  },
6427
+ '/corehr/v2/job_families/query_multi_timeline': {
6428
+ POST: 'corehr.jobFamily.queryMultiTimeline',
6429
+ },
5770
6430
  '/corehr/v1/job_levels': {
5771
6431
  POST: 'corehr.jobLevel.create',
5772
6432
  GET: { name: 'corehr.jobLevel.list', pagination: { argIndex: 0 } },
@@ -5795,6 +6455,19 @@ Internal.define({
5795
6455
  '/corehr/v2/job_grades/query_recent_change': {
5796
6456
  GET: 'corehr.jobGrade.queryRecentChange',
5797
6457
  },
6458
+ '/corehr/v2/pathways': {
6459
+ POST: 'corehr.pathway.create',
6460
+ },
6461
+ '/corehr/v2/pathways/{pathway_id}': {
6462
+ PATCH: 'corehr.pathway.patch',
6463
+ DELETE: 'corehr.pathway.delete',
6464
+ },
6465
+ '/corehr/v2/pathways/active': {
6466
+ POST: 'corehr.pathway.active',
6467
+ },
6468
+ '/corehr/v2/pathways/batch_get': {
6469
+ POST: 'corehr.pathway.batchGet',
6470
+ },
5798
6471
  '/corehr/v1/jobs': {
5799
6472
  POST: 'corehr.job.create',
5800
6473
  },
@@ -5808,9 +6481,33 @@ Internal.define({
5808
6481
  '/corehr/v2/jobs': {
5809
6482
  GET: { name: 'corehr.job.list', pagination: { argIndex: 0 } },
5810
6483
  },
6484
+ '/corehr/v2/jobs/batch_get': {
6485
+ POST: 'corehr.job.batchGet',
6486
+ },
6487
+ '/corehr/v2/jobs/query_multi_timeline': {
6488
+ POST: 'corehr.job.queryMultiTimeline',
6489
+ },
5811
6490
  '/corehr/v2/jobs/query_recent_change': {
5812
6491
  GET: 'corehr.job.queryRecentChange',
5813
6492
  },
6493
+ '/corehr/v2/positions': {
6494
+ POST: 'corehr.position.create',
6495
+ },
6496
+ '/corehr/v2/positions/{position_id}': {
6497
+ PATCH: 'corehr.position.patch',
6498
+ },
6499
+ '/corehr/v2/positions/query': {
6500
+ POST: { name: 'corehr.position.query', pagination: { argIndex: 1 } },
6501
+ },
6502
+ '/corehr/v2/positions/query_recent_change': {
6503
+ GET: 'corehr.position.queryRecentChange',
6504
+ },
6505
+ '/corehr/v2/positions/active': {
6506
+ POST: 'corehr.position.active',
6507
+ },
6508
+ '/corehr/v2/positions/del_position': {
6509
+ POST: 'corehr.position.delPosition',
6510
+ },
5814
6511
  '/corehr/v2/pre_hires/withdraw_onboarding': {
5815
6512
  POST: 'corehr.preHire.withdrawOnboarding',
5816
6513
  },
@@ -5833,6 +6530,9 @@ Internal.define({
5833
6530
  '/corehr/v2/pre_hires/{pre_hire_id}/transit_task': {
5834
6531
  POST: 'corehr.preHire.transitTask',
5835
6532
  },
6533
+ '/corehr/v2/pre_hires/transform_onboarding_task': {
6534
+ POST: 'corehr.preHire.transformOnboardingTask',
6535
+ },
5836
6536
  '/corehr/v2/pre_hires/{pre_hire_id}/complete': {
5837
6537
  POST: 'corehr.preHire.complete',
5838
6538
  },
@@ -5981,6 +6681,9 @@ Internal.define({
5981
6681
  '/corehr/v2/processes/{process_id}': {
5982
6682
  GET: 'corehr.process.get',
5983
6683
  },
6684
+ '/corehr/v2/processes/{process_id}/flow_variable_data': {
6685
+ GET: 'corehr.process.flowVariableData',
6686
+ },
5984
6687
  '/corehr/v2/processes/{process_id}/form_variable_data': {
5985
6688
  GET: 'corehr.process.formVariableData.get',
5986
6689
  },