@satorijs/adapter-lark 3.9.1 → 3.9.2

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 (82) hide show
  1. package/lib/index.cjs +1077 -13
  2. package/lib/types/acs.d.ts +19 -19
  3. package/lib/types/admin.d.ts +58 -32
  4. package/lib/types/aily.d.ts +52 -52
  5. package/lib/types/apaas.d.ts +96 -96
  6. package/lib/types/application.d.ts +151 -67
  7. package/lib/types/approval.d.ts +182 -150
  8. package/lib/types/attendance.d.ts +395 -353
  9. package/lib/types/auth.d.ts +18 -18
  10. package/lib/types/authen.d.ts +24 -24
  11. package/lib/types/baike.d.ts +42 -42
  12. package/lib/types/bitable.d.ts +268 -184
  13. package/lib/types/calendar.d.ts +144 -144
  14. package/lib/types/cardkit.d.ts +8 -8
  15. package/lib/types/contact.d.ts +209 -137
  16. package/lib/types/corehr.d.ts +760 -620
  17. package/lib/types/document_ai.d.ts +68 -68
  18. package/lib/types/docx.d.ts +103 -95
  19. package/lib/types/drive.d.ts +236 -236
  20. package/lib/types/ehr.d.ts +26 -2
  21. package/lib/types/helpdesk.d.ts +155 -155
  22. package/lib/types/hire.d.ts +954 -510
  23. package/lib/types/im.d.ts +446 -446
  24. package/lib/types/index.d.ts +72 -30
  25. package/lib/types/lingo.d.ts +28 -28
  26. package/lib/types/mail.d.ts +192 -192
  27. package/lib/types/minutes.d.ts +4 -4
  28. package/lib/types/okr.d.ts +86 -58
  29. package/lib/types/passport.d.ts +13 -5
  30. package/lib/types/payroll.d.ts +13 -5
  31. package/lib/types/performance.d.ts +85 -79
  32. package/lib/types/personal_settings.d.ts +12 -12
  33. package/lib/types/report.d.ts +11 -5
  34. package/lib/types/search.d.ts +48 -24
  35. package/lib/types/sheets.d.ts +64 -64
  36. package/lib/types/speech_to_text.d.ts +4 -4
  37. package/lib/types/task.d.ts +191 -185
  38. package/lib/types/translation.d.ts +4 -4
  39. package/lib/types/vc.d.ts +335 -155
  40. package/lib/types/wiki.d.ts +48 -48
  41. package/package.json +1 -1
  42. package/src/internal.ts +1 -1
  43. package/src/types/acs.ts +24 -24
  44. package/src/types/admin.ts +69 -39
  45. package/src/types/aily.ts +61 -61
  46. package/src/types/apaas.ts +113 -113
  47. package/src/types/application.ts +173 -79
  48. package/src/types/approval.ts +202 -166
  49. package/src/types/attendance.ts +466 -421
  50. package/src/types/auth.ts +20 -20
  51. package/src/types/authen.ts +28 -28
  52. package/src/types/baike.ts +55 -55
  53. package/src/types/bitable.ts +305 -219
  54. package/src/types/calendar.ts +167 -167
  55. package/src/types/cardkit.ts +10 -10
  56. package/src/types/contact.ts +251 -169
  57. package/src/types/corehr.ts +903 -743
  58. package/src/types/document_ai.ts +85 -85
  59. package/src/types/docx.ts +117 -108
  60. package/src/types/drive.ts +298 -298
  61. package/src/types/ehr.ts +28 -2
  62. package/src/types/helpdesk.ts +181 -181
  63. package/src/types/hire.ts +1081 -591
  64. package/src/types/im.ts +521 -521
  65. package/src/types/index.ts +73 -30
  66. package/src/types/lingo.ts +36 -36
  67. package/src/types/mail.ts +215 -215
  68. package/src/types/minutes.ts +5 -5
  69. package/src/types/okr.ts +98 -66
  70. package/src/types/passport.ts +15 -6
  71. package/src/types/payroll.ts +15 -6
  72. package/src/types/performance.ts +98 -91
  73. package/src/types/personal_settings.ts +15 -15
  74. package/src/types/report.ts +13 -6
  75. package/src/types/search.ts +57 -29
  76. package/src/types/sheets.ts +80 -80
  77. package/src/types/speech_to_text.ts +5 -5
  78. package/src/types/task.ts +238 -231
  79. package/src/types/translation.ts +5 -5
  80. package/src/types/vc.ts +386 -186
  81. package/src/types/wiki.ts +59 -59
  82. package/src/utils.ts +11 -6
package/src/types/hire.ts CHANGED
@@ -908,6 +908,11 @@ export interface ListHireLocationQuery extends Pagination {
908
908
  usage: 'position_location' | 'interview_location' | 'store_location'
909
909
  }
910
910
 
911
+ export interface GetHireRoleResponse {
912
+ /** 角色详情 */
913
+ role?: RoleDetail
914
+ }
915
+
911
916
  export interface ListHireUserRoleQuery extends Pagination {
912
917
  /** 用户 ID */
913
918
  user_id?: string
@@ -921,11 +926,65 @@ export interface ListHireUserRoleQuery extends Pagination {
921
926
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
922
927
  }
923
928
 
929
+ export const enum CombinedCreateHireJobRequestExperience {
930
+ /** 不限 */
931
+ NoLimit = 1,
932
+ /** 应届毕业生 */
933
+ Graduate = 2,
934
+ /** 1年以下 */
935
+ UnderOneYear = 3,
936
+ /** 1-3年 */
937
+ OneToThreeYear = 4,
938
+ /** 3-5年 */
939
+ ThreeToFiveYear = 5,
940
+ /** 5-7年 */
941
+ FiveToSevenYear = 6,
942
+ /** 7-10年 */
943
+ SevenToTenYear = 7,
944
+ /** 10年以上 */
945
+ OverTenYear = 8,
946
+ }
947
+
948
+ export const enum CombinedCreateHireJobRequestProcessType {
949
+ /** 社招 */
950
+ SocialProcess = 1,
951
+ /** 校招 */
952
+ CampusProcess = 2,
953
+ }
954
+
955
+ export const enum CombinedCreateHireJobRequestRequiredDegree {
956
+ /** 小学及以上 */
957
+ PrimaryEducation = 1,
958
+ /** 初中及以上 */
959
+ JuniorMiddleSchoolEducation = 2,
960
+ /** 专职及以上 */
961
+ Secondary = 3,
962
+ /** 高中及以上 */
963
+ SeniorSchoolGraduates = 4,
964
+ /** 大专及以上 */
965
+ Associate = 5,
966
+ /** 本科及以上 */
967
+ Bachelor = 6,
968
+ /** 硕士及以上 */
969
+ Master = 7,
970
+ /** 博士及以上 */
971
+ Phd = 8,
972
+ /** 不限 */
973
+ NoLimit = 20,
974
+ }
975
+
976
+ export const enum CombinedCreateHireJobRequestJobAttribute {
977
+ /** 实体职位 */
978
+ Concrete = 1,
979
+ /** 虚拟职位 */
980
+ Virtual = 2,
981
+ }
982
+
924
983
  export interface CombinedCreateHireJobRequest {
925
984
  /** 职位编号,可传入职位的「职位编号」、「职位 ID」或者「职位序号」,将以传入的参数作为职位编号,以便双方系统的数据映射 */
926
985
  code?: string
927
986
  /** 工作年限 */
928
- experience?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
987
+ experience?: CombinedCreateHireJobRequestExperience
929
988
  /** 到期日期,请使用 */
930
989
  expiry_time?: number
931
990
  /** 自定义字段 */
@@ -941,7 +1000,7 @@ export interface CombinedCreateHireJobRequest {
941
1000
  /** 招聘流程,枚举通过接口「获取招聘流程信息」获取 */
942
1001
  job_process_id: string
943
1002
  /** 职位流程类型 */
944
- process_type: 1 | 2
1003
+ process_type: CombinedCreateHireJobRequestProcessType
945
1004
  /** 项目,枚举通过「获取项目列表」获取 */
946
1005
  subject_id?: string
947
1006
  /** 职能分类,通过「获取职能分类」获取 */
@@ -967,13 +1026,13 @@ export interface CombinedCreateHireJobRequest {
967
1026
  /** 雇佣类型 */
968
1027
  recruitment_type_id: string
969
1028
  /** 学历要求 */
970
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20
1029
+ required_degree?: CombinedCreateHireJobRequestRequiredDegree
971
1030
  /** 序列 */
972
1031
  job_category_id?: string
973
1032
  /** 工作地点,枚举通过接口「获取地址列表」获取,选择地点用途为「职位地址」 */
974
1033
  address_id_list?: string[]
975
1034
  /** 职位属性,1是实体职位,2是虚拟职位 */
976
- job_attribute?: 1 | 2
1035
+ job_attribute?: CombinedCreateHireJobRequestJobAttribute
977
1036
  /** 到期日期的毫秒时间戳 */
978
1037
  expiry_timestamp?: string
979
1038
  /** 面试登记表ID */
@@ -997,11 +1056,75 @@ export interface CombinedCreateHireJobQuery {
997
1056
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id'
998
1057
  }
999
1058
 
1059
+ export interface CombinedCreateHireJobResponse {
1060
+ /** 职位广告 */
1061
+ default_job_post?: CombinedJobResultDefaultJobPost
1062
+ /** 职位 */
1063
+ job?: Job
1064
+ /** 职位负责人 */
1065
+ job_manager?: JobManager
1066
+ /** 面试登记表 */
1067
+ interview_registration_schema_info?: RegistrationSchemaInfo
1068
+ /** 入职登记表 */
1069
+ onboard_registration_schema_info?: RegistrationSchemaInfo
1070
+ /** 目标专业 */
1071
+ target_major_list?: TargetMajorInfo[]
1072
+ /** 官网申请表 */
1073
+ portal_website_apply_form_schema_info?: RegistrationSchemaInfo
1074
+ }
1075
+
1076
+ export const enum CombinedUpdateHireJobRequestExperience {
1077
+ /** 不限 */
1078
+ NoLimit = 1,
1079
+ /** 应届毕业生 */
1080
+ Graduate = 2,
1081
+ /** 1年以下 */
1082
+ UnderOneYear = 3,
1083
+ /** 1-3年 */
1084
+ OneToThreeYear = 4,
1085
+ /** 3-5年 */
1086
+ ThreeToFiveYear = 5,
1087
+ /** 5-7年 */
1088
+ FiveToSevenYear = 6,
1089
+ /** 7-10年 */
1090
+ SevenToTenYear = 7,
1091
+ /** 10年以上 */
1092
+ OverTenYear = 8,
1093
+ }
1094
+
1095
+ export const enum CombinedUpdateHireJobRequestRequiredDegree {
1096
+ /** 小学及以上 */
1097
+ PrimaryEducation = 1,
1098
+ /** 初中及以上 */
1099
+ JuniorMiddleSchoolEducation = 2,
1100
+ /** 专职及以上 */
1101
+ Secondary = 3,
1102
+ /** 高中及以上 */
1103
+ SeniorSchoolGraduates = 4,
1104
+ /** 大专及以上 */
1105
+ Associate = 5,
1106
+ /** 本科及以上 */
1107
+ Bachelor = 6,
1108
+ /** 硕士及以上 */
1109
+ Master = 7,
1110
+ /** 博士及以上 */
1111
+ Phd = 8,
1112
+ /** 不限 */
1113
+ NoLimit = 20,
1114
+ }
1115
+
1116
+ export const enum CombinedUpdateHireJobRequestJobAttribute {
1117
+ /** 实体职位 */
1118
+ Concrete = 1,
1119
+ /** 虚拟职位 */
1120
+ Virtual = 2,
1121
+ }
1122
+
1000
1123
  export interface CombinedUpdateHireJobRequest {
1001
1124
  /** 职位 ID */
1002
1125
  id?: string
1003
1126
  /** 工作年限 */
1004
- experience?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
1127
+ experience?: CombinedUpdateHireJobRequestExperience
1005
1128
  /** 到期日期,请使用 */
1006
1129
  expiry_time?: number
1007
1130
  /** 自定义字段 */
@@ -1039,13 +1162,13 @@ export interface CombinedUpdateHireJobRequest {
1039
1162
  /** 最高职级,枚举通过接口「获取职级列表」获取 */
1040
1163
  max_level_id?: string
1041
1164
  /** 学历要求 */
1042
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20
1165
+ required_degree?: CombinedUpdateHireJobRequestRequiredDegree
1043
1166
  /** 序列 */
1044
1167
  job_category_id?: string
1045
1168
  /** 工作地点,枚举通过接口「获取地址列表」获取,选择地点用途为「职位地址」 */
1046
1169
  address_id_list?: string[]
1047
1170
  /** 职位属性,1是实体职位,2是虚拟职位 */
1048
- job_attribute?: 1 | 2
1171
+ job_attribute?: CombinedUpdateHireJobRequestJobAttribute
1049
1172
  /** 到期日期的毫秒时间戳 */
1050
1173
  expiry_timestamp?: string
1051
1174
  /** 目标专业ID List */
@@ -1063,6 +1186,17 @@ export interface CombinedUpdateHireJobQuery {
1063
1186
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id'
1064
1187
  }
1065
1188
 
1189
+ export interface CombinedUpdateHireJobResponse {
1190
+ /** 职位广告 */
1191
+ default_job_post?: CombinedJobResultDefaultJobPost
1192
+ /** 职位 */
1193
+ job?: Job
1194
+ /** 职位负责人 */
1195
+ job_manager?: JobManager
1196
+ /** 官网申请表 */
1197
+ portal_website_apply_form_schema_info?: RegistrationSchemaInfo
1198
+ }
1199
+
1066
1200
  export interface UpdateConfigHireJobRequest {
1067
1201
  /** Offer 申请表,枚举通过接口「获取 Offer 申请表列表」获取 */
1068
1202
  offer_apply_schema_id?: string
@@ -1097,6 +1231,19 @@ export interface UpdateConfigHireJobQuery {
1097
1231
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1098
1232
  }
1099
1233
 
1234
+ export interface UpdateConfigHireJobResponse {
1235
+ job_config?: JobConfigResult
1236
+ }
1237
+
1238
+ export const enum BatchUpdateHireJobManagerRequestUpdateOption {
1239
+ /** 招聘负责人 */
1240
+ JobManager = 1,
1241
+ /** 招聘协助人 */
1242
+ Assistant = 2,
1243
+ /** 用人经理 */
1244
+ HireManager = 3,
1245
+ }
1246
+
1100
1247
  export interface BatchUpdateHireJobManagerRequest {
1101
1248
  /** 招聘负责人 ID */
1102
1249
  recruiter_id?: string
@@ -1105,7 +1252,7 @@ export interface BatchUpdateHireJobManagerRequest {
1105
1252
  /** 用人经理 ID */
1106
1253
  hiring_manager_id_list?: string[]
1107
1254
  /** 更新的人员类型,可选值:1=招聘负责人; 2=招聘协助人; 3=用人经理; */
1108
- update_option_list: (1 | 2 | 3)[]
1255
+ update_option_list: BatchUpdateHireJobManagerRequestUpdateOption[]
1109
1256
  /** 操作者 ID */
1110
1257
  creator_id?: string
1111
1258
  }
@@ -1115,6 +1262,11 @@ export interface BatchUpdateHireJobManagerQuery {
1115
1262
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1116
1263
  }
1117
1264
 
1265
+ export interface BatchUpdateHireJobManagerResponse {
1266
+ /** 职位负责人 */
1267
+ job_manager?: JobManager
1268
+ }
1269
+
1118
1270
  export interface GetDetailHireJobQuery {
1119
1271
  /** 此次调用中使用的用户ID的类型 */
1120
1272
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
@@ -1126,6 +1278,11 @@ export interface GetDetailHireJobQuery {
1126
1278
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id'
1127
1279
  }
1128
1280
 
1281
+ export interface GetDetailHireJobResponse {
1282
+ /** 职位详情数据 */
1283
+ job_detail?: JobDetail
1284
+ }
1285
+
1129
1286
  export interface GetHireJobQuery {
1130
1287
  /** 此次调用中使用的用户ID的类型 */
1131
1288
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
@@ -1137,16 +1294,30 @@ export interface GetHireJobQuery {
1137
1294
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id'
1138
1295
  }
1139
1296
 
1297
+ export interface GetHireJobResponse {
1298
+ /** 职位数据 */
1299
+ job?: Job
1300
+ }
1301
+
1140
1302
  export interface RecruiterHireJobQuery {
1141
1303
  /** 此次调用中使用的用户ID的类型 */
1142
1304
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1143
1305
  }
1144
1306
 
1307
+ export interface RecruiterHireJobResponse {
1308
+ /** 职位负责人 */
1309
+ info?: JobRecruiter2
1310
+ }
1311
+
1145
1312
  export interface ConfigHireJobQuery {
1146
1313
  /** 此次调用中使用的用户ID的类型 */
1147
1314
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
1148
1315
  }
1149
1316
 
1317
+ export interface ConfigHireJobResponse {
1318
+ job_config?: JobConfigResult
1319
+ }
1320
+
1150
1321
  export interface ListHireJobQuery extends Pagination {
1151
1322
  /** 最早更新时间,毫秒级时间戳 */
1152
1323
  update_start_time?: string
@@ -1195,13 +1366,72 @@ export interface SearchHireJobPublishRecordQuery extends Pagination {
1195
1366
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id'
1196
1367
  }
1197
1368
 
1369
+ export const enum CreateHireJobRequirementRequestDisplayProgress {
1370
+ /** 待启动 */
1371
+ WaitingStart = 1,
1372
+ /** 进行中 */
1373
+ OnGoing = 2,
1374
+ /** 已取消 */
1375
+ Canceled = 3,
1376
+ /** 已暂停 */
1377
+ Suspended = 4,
1378
+ /** 已完成 */
1379
+ Completed = 5,
1380
+ /** 已超期 */
1381
+ Expired = 6,
1382
+ }
1383
+
1384
+ export const enum CreateHireJobRequirementRequestCategory {
1385
+ /** 新增 */
1386
+ Addition = 1,
1387
+ /** 替换 */
1388
+ Replacement = 2,
1389
+ }
1390
+
1391
+ export const enum CreateHireJobRequirementRequestPriority {
1392
+ /** 高 */
1393
+ High = 1,
1394
+ /** 中 */
1395
+ Medium = 2,
1396
+ /** 低 */
1397
+ Low = 3,
1398
+ }
1399
+
1400
+ export const enum CreateHireJobRequirementRequestRequiredDegree {
1401
+ /** 小学及以上 */
1402
+ PrimaryEducation = 1,
1403
+ /** 初中及以上 */
1404
+ JuniorMiddleSchoolEducation = 2,
1405
+ /** 专职及以上 */
1406
+ Secondary = 3,
1407
+ /** 高中及以上 */
1408
+ SeniorSchoolGraduates = 4,
1409
+ /** 大专及以上 */
1410
+ Associate = 5,
1411
+ /** 本科及以上 */
1412
+ Bachelor = 6,
1413
+ /** 硕士及以上 */
1414
+ Master = 7,
1415
+ /** 博士及以上 */
1416
+ Phd = 8,
1417
+ /** 不限 */
1418
+ NoLimit = 20,
1419
+ }
1420
+
1421
+ export const enum CreateHireJobRequirementRequestProcessType {
1422
+ /** 社招 */
1423
+ Social = 1,
1424
+ /** 校招 */
1425
+ Campus = 2,
1426
+ }
1427
+
1198
1428
  export interface CreateHireJobRequirementRequest {
1199
1429
  /** 招聘需求编号 */
1200
1430
  short_code: string
1201
1431
  /** 需求名称 */
1202
1432
  name: string
1203
1433
  /** 需求状态 */
1204
- display_progress: 1 | 2 | 3 | 4 | 5 | 6
1434
+ display_progress: CreateHireJobRequirementRequestDisplayProgress
1205
1435
  /** 需求人数 */
1206
1436
  head_count: number
1207
1437
  /** 职位性质 ID */
@@ -1215,7 +1445,7 @@ export interface CreateHireJobRequirementRequest {
1215
1445
  /** 职位序列 ID */
1216
1446
  sequence_id?: string
1217
1447
  /** 需求类型 */
1218
- category?: 1 | 2
1448
+ category?: CreateHireJobRequirementRequestCategory
1219
1449
  /** 需求部门 ID */
1220
1450
  department_id?: string
1221
1451
  /** 需求负责人 ID 列表 */
@@ -1229,9 +1459,9 @@ export interface CreateHireJobRequirementRequest {
1229
1459
  /** 预计完成日期,毫秒级时间戳 */
1230
1460
  deadline?: string
1231
1461
  /** 招聘优先级 */
1232
- priority?: 1 | 2 | 3
1462
+ priority?: CreateHireJobRequirementRequestPriority
1233
1463
  /** 学历要求 */
1234
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20
1464
+ required_degree?: CreateHireJobRequirementRequestRequiredDegree
1235
1465
  /** 最高薪资 */
1236
1466
  max_salary?: string
1237
1467
  /** 最低薪资 */
@@ -1243,7 +1473,7 @@ export interface CreateHireJobRequirementRequest {
1243
1473
  /** 自定义字段 */
1244
1474
  customized_data_list?: JobRequirementCustomizedData[]
1245
1475
  /** 支持的招聘类型列表 */
1246
- process_type?: 1 | 2
1476
+ process_type?: CreateHireJobRequirementRequestProcessType
1247
1477
  /** 招聘需求中的职位类别 */
1248
1478
  job_type_id?: string
1249
1479
  /** 关联的职位 ID 列表 */
@@ -1267,11 +1497,74 @@ export interface CreateHireJobRequirementQuery {
1267
1497
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
1268
1498
  }
1269
1499
 
1500
+ export interface CreateHireJobRequirementResponse {
1501
+ job_requirement?: JobRequirementDto
1502
+ }
1503
+
1504
+ export const enum UpdateHireJobRequirementRequestDisplayProgress {
1505
+ /** 待启动 */
1506
+ WaitingStart = 1,
1507
+ /** 进行中 */
1508
+ OnGoing = 2,
1509
+ /** 已取消 */
1510
+ Canceled = 3,
1511
+ /** 已暂停 */
1512
+ Suspended = 4,
1513
+ /** 已完成 */
1514
+ Completed = 5,
1515
+ /** 已超期 */
1516
+ Expired = 6,
1517
+ }
1518
+
1519
+ export const enum UpdateHireJobRequirementRequestCategory {
1520
+ /** 新增 */
1521
+ Addition = 1,
1522
+ /** 替换 */
1523
+ Replacement = 2,
1524
+ }
1525
+
1526
+ export const enum UpdateHireJobRequirementRequestPriority {
1527
+ /** 高 */
1528
+ High = 1,
1529
+ /** 中 */
1530
+ Medium = 2,
1531
+ /** 低 */
1532
+ Low = 3,
1533
+ }
1534
+
1535
+ export const enum UpdateHireJobRequirementRequestRequiredDegree {
1536
+ /** 小学及以上 */
1537
+ PrimaryEducation = 1,
1538
+ /** 初中及以上 */
1539
+ JuniorMiddleSchoolEducation = 2,
1540
+ /** 专职及以上 */
1541
+ Secondary = 3,
1542
+ /** 高中及以上 */
1543
+ SeniorSchoolGraduates = 4,
1544
+ /** 大专及以上 */
1545
+ Associate = 5,
1546
+ /** 本科及以上 */
1547
+ Bachelor = 6,
1548
+ /** 硕士及以上 */
1549
+ Master = 7,
1550
+ /** 博士及以上 */
1551
+ Phd = 8,
1552
+ /** 不限 */
1553
+ NoLimit = 20,
1554
+ }
1555
+
1556
+ export const enum UpdateHireJobRequirementRequestProcessType {
1557
+ /** 社招 */
1558
+ Social = 1,
1559
+ /** 校招 */
1560
+ Campus = 2,
1561
+ }
1562
+
1270
1563
  export interface UpdateHireJobRequirementRequest {
1271
1564
  /** 需求名称 */
1272
1565
  name: string
1273
1566
  /** 需求状态 */
1274
- display_progress: 1 | 2 | 3 | 4 | 5 | 6
1567
+ display_progress: UpdateHireJobRequirementRequestDisplayProgress
1275
1568
  /** 需求人数 */
1276
1569
  head_count: number
1277
1570
  /** 职位性质 ID */
@@ -1285,7 +1578,7 @@ export interface UpdateHireJobRequirementRequest {
1285
1578
  /** 职位序列 ID */
1286
1579
  sequence_id?: string
1287
1580
  /** 需求类型 */
1288
- category?: 1 | 2
1581
+ category?: UpdateHireJobRequirementRequestCategory
1289
1582
  /** 需求部门 ID */
1290
1583
  department_id?: string
1291
1584
  /** 需求负责人 ID 列表 */
@@ -1299,9 +1592,9 @@ export interface UpdateHireJobRequirementRequest {
1299
1592
  /** 预计完成日期,毫秒级时间戳 */
1300
1593
  deadline?: string
1301
1594
  /** 招聘优先级 */
1302
- priority?: 1 | 2 | 3
1595
+ priority?: UpdateHireJobRequirementRequestPriority
1303
1596
  /** 学历要求 */
1304
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20
1597
+ required_degree?: UpdateHireJobRequirementRequestRequiredDegree
1305
1598
  /** 最高薪资 */
1306
1599
  max_salary?: string
1307
1600
  /** 最低薪资 */
@@ -1313,7 +1606,7 @@ export interface UpdateHireJobRequirementRequest {
1313
1606
  /** 自定义字段 */
1314
1607
  customized_data_list?: JobRequirementCustomizedData[]
1315
1608
  /** 支持的招聘类型列表 */
1316
- process_type?: 1 | 2
1609
+ process_type?: UpdateHireJobRequirementRequestProcessType
1317
1610
  /** 招聘需求中的职位类别 */
1318
1611
  job_type_id?: string
1319
1612
  /** 关联的职位 ID 列表 */
@@ -1357,6 +1650,11 @@ export interface ListByIdHireJobRequirementQuery {
1357
1650
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
1358
1651
  }
1359
1652
 
1653
+ export interface ListByIdHireJobRequirementResponse {
1654
+ /** 招聘需求列表 */
1655
+ items?: JobRequirementDto[]
1656
+ }
1657
+
1360
1658
  export interface ListHireJobRequirementQuery extends Pagination {
1361
1659
  /** 职位ID */
1362
1660
  job_id?: string
@@ -1398,9 +1696,18 @@ export interface ListHireTalentTagQuery extends Pagination {
1398
1696
  include_inactive?: boolean
1399
1697
  }
1400
1698
 
1699
+ export const enum ListHireRegistrationSchemaQueryScenario {
1700
+ /** 面试登记表 */
1701
+ InterviewRegistration = 5,
1702
+ /** 入职登记表 */
1703
+ OnboardRegistration = 6,
1704
+ /** 人才信息登记表 */
1705
+ InfoUpdateRegistration = 14,
1706
+ }
1707
+
1401
1708
  export interface ListHireRegistrationSchemaQuery extends Pagination {
1402
1709
  /** 登记表适用场景;不填表示获取全部类型信息登记表 */
1403
- scenario?: 5 | 6 | 14
1710
+ scenario?: ListHireRegistrationSchemaQueryScenario
1404
1711
  }
1405
1712
 
1406
1713
  export interface ListHireInterviewFeedbackFormQuery extends Pagination {
@@ -1413,11 +1720,23 @@ export interface ListHireInterviewRoundTypeQuery {
1413
1720
  process_type?: 1 | 2
1414
1721
  }
1415
1722
 
1723
+ export interface ListHireInterviewRoundTypeResponse {
1724
+ /** 是否启用面试轮次类型 */
1725
+ active_status?: 1 | 2
1726
+ /** 列表 */
1727
+ items?: InterviewRoundType[]
1728
+ }
1729
+
1730
+ export const enum ListHireInterviewerQueryVerifyStatus {
1731
+ NotVarified = 1,
1732
+ Varified = 2,
1733
+ }
1734
+
1416
1735
  export interface ListHireInterviewerQuery extends Pagination {
1417
1736
  /** 面试官userID列表 */
1418
1737
  user_ids?: string[]
1419
1738
  /** 认证状态 */
1420
- verify_status?: 1 | 2
1739
+ verify_status?: ListHireInterviewerQueryVerifyStatus
1421
1740
  /** 最早更新时间,毫秒时间戳 */
1422
1741
  earliest_update_time?: string
1423
1742
  /** 最晚更新时间,毫秒时间戳 */
@@ -1436,6 +1755,11 @@ export interface PatchHireInterviewerQuery {
1436
1755
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1437
1756
  }
1438
1757
 
1758
+ export interface PatchHireInterviewerResponse {
1759
+ /** 面试官信息 */
1760
+ interviewer?: Interviewer
1761
+ }
1762
+
1439
1763
  export interface UpdateHireOfferCustomFieldRequest {
1440
1764
  /** 自定义字段名称 */
1441
1765
  name: I18n
@@ -1443,6 +1767,11 @@ export interface UpdateHireOfferCustomFieldRequest {
1443
1767
  config?: OfferCustomFieldConfig
1444
1768
  }
1445
1769
 
1770
+ export interface GetHireOfferApplicationFormResponse {
1771
+ /** Offer 申请表详情 */
1772
+ offer_apply_form?: OfferApplyFormInfo
1773
+ }
1774
+
1446
1775
  export interface SearchHireReferralRequest {
1447
1776
  /** 人才id */
1448
1777
  talent_id: string
@@ -1457,9 +1786,21 @@ export interface SearchHireReferralQuery {
1457
1786
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1458
1787
  }
1459
1788
 
1789
+ export interface SearchHireReferralResponse {
1790
+ /** 内推信息列表 */
1791
+ items?: ReferralInfo[]
1792
+ }
1793
+
1794
+ export const enum ListHireReferralWebsiteJobPostQueryProcessType {
1795
+ /** 社招 */
1796
+ SocialProcess = 1,
1797
+ /** 校招 */
1798
+ CampusProcess = 2,
1799
+ }
1800
+
1460
1801
  export interface ListHireReferralWebsiteJobPostQuery extends Pagination {
1461
1802
  /** 招聘流程类型 */
1462
- process_type?: 1 | 2
1803
+ process_type?: ListHireReferralWebsiteJobPostQueryProcessType
1463
1804
  /** 用户 ID 类型 */
1464
1805
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1465
1806
  /** 此次调用中使用的部门 ID 的类型 */
@@ -1477,6 +1818,10 @@ export interface GetHireReferralWebsiteJobPostQuery {
1477
1818
  job_level_id_type?: 'people_admin_job_level_id' | 'job_level_id'
1478
1819
  }
1479
1820
 
1821
+ export interface GetHireReferralWebsiteJobPostResponse {
1822
+ job_post?: PortalJobPost
1823
+ }
1824
+
1480
1825
  export interface GetByApplicationHireReferralQuery {
1481
1826
  /** 投递的 ID */
1482
1827
  application_id: string
@@ -1484,16 +1829,43 @@ export interface GetByApplicationHireReferralQuery {
1484
1829
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
1485
1830
  }
1486
1831
 
1832
+ export interface GetByApplicationHireReferralResponse {
1833
+ /** 内推信息 */
1834
+ referral?: Referral
1835
+ }
1836
+
1487
1837
  export interface CreateHireWebsiteChannelRequest {
1488
1838
  /** 推广渠道名称 */
1489
1839
  channel_name: string
1490
1840
  }
1491
1841
 
1842
+ export interface CreateHireWebsiteChannelResponse {
1843
+ /** 推广渠道 ID */
1844
+ id?: string
1845
+ /** 推广渠道名称 */
1846
+ name?: string
1847
+ /** 推广渠道链接 */
1848
+ link?: string
1849
+ /** 推广渠道推广码 */
1850
+ code?: string
1851
+ }
1852
+
1492
1853
  export interface UpdateHireWebsiteChannelRequest {
1493
1854
  /** 推广渠道名称 */
1494
1855
  channel_name: string
1495
1856
  }
1496
1857
 
1858
+ export interface UpdateHireWebsiteChannelResponse {
1859
+ /** 推广渠道 ID */
1860
+ id?: string
1861
+ /** 推广渠道名称 */
1862
+ name?: string
1863
+ /** 推广渠道链接 */
1864
+ link?: string
1865
+ /** 推广渠道推广码 */
1866
+ code?: string
1867
+ }
1868
+
1497
1869
  export interface CreateHireWebsiteSiteUserRequest {
1498
1870
  /** 姓名 */
1499
1871
  name?: string
@@ -1507,6 +1879,10 @@ export interface CreateHireWebsiteSiteUserRequest {
1507
1879
  mobile_country_code?: string
1508
1880
  }
1509
1881
 
1882
+ export interface CreateHireWebsiteSiteUserResponse {
1883
+ site_user?: WebsiteUser
1884
+ }
1885
+
1510
1886
  export interface GetHireWebsiteJobPostQuery {
1511
1887
  /** 用户 ID 类型 */
1512
1888
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -1516,6 +1892,10 @@ export interface GetHireWebsiteJobPostQuery {
1516
1892
  job_level_id_type?: 'people_admin_job_level_id' | 'job_level_id'
1517
1893
  }
1518
1894
 
1895
+ export interface GetHireWebsiteJobPostResponse {
1896
+ job_post?: WebsiteJobPost
1897
+ }
1898
+
1519
1899
  export interface SearchHireWebsiteJobPostRequest {
1520
1900
  /** 职位类型列表 */
1521
1901
  job_type_id_list?: string[]
@@ -1581,6 +1961,10 @@ export interface CreateByResumeHireWebsiteDeliveryQuery {
1581
1961
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1582
1962
  }
1583
1963
 
1964
+ export interface CreateByResumeHireWebsiteDeliveryResponse {
1965
+ delivery?: WebsiteDeliveryDto
1966
+ }
1967
+
1584
1968
  export interface CreateByAttachmentHireWebsiteDeliveryRequest {
1585
1969
  /** 职位广告 ID */
1586
1970
  job_post_id: string
@@ -1602,6 +1986,22 @@ export interface CreateByAttachmentHireWebsiteDeliveryRequest {
1602
1986
  identification?: WebsiteDeliveryAttachmentIndentification
1603
1987
  }
1604
1988
 
1989
+ export interface CreateByAttachmentHireWebsiteDeliveryResponse {
1990
+ /** 异步任务 ID */
1991
+ task_id?: string
1992
+ }
1993
+
1994
+ export interface GetHireWebsiteDeliveryTaskResponse {
1995
+ /** 任务状态 */
1996
+ status?: 0 | 1 | 2 | 3
1997
+ /** 官网投递信息 */
1998
+ delivery?: WebsiteDeliveryDto
1999
+ /** 状态信息,仅 status 为 3 时返回 */
2000
+ status_msg?: string
2001
+ /** 附加信息,当前返回投递 ID,仅当 status 为 3 且 status_msg 标识为重复投递时,将返回重复投递的 ID */
2002
+ extra_info?: string
2003
+ }
2004
+
1605
2005
  export interface ProtectHireAgencyRequest {
1606
2006
  /** 人才ID */
1607
2007
  talent_id: string
@@ -1631,11 +2031,27 @@ export interface GetHireAgencyQuery {
1631
2031
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
1632
2032
  }
1633
2033
 
2034
+ export interface GetHireAgencyResponse {
2035
+ /** 数据 */
2036
+ agency?: Agency
2037
+ }
2038
+
1634
2039
  export interface ProtectSearchHireAgencyRequest {
1635
2040
  /** 人才id */
1636
2041
  talent_id: string
1637
2042
  }
1638
2043
 
2044
+ export interface ProtectSearchHireAgencyResponse {
2045
+ /** 是否已入职 */
2046
+ is_onboarded?: boolean
2047
+ /** 是否在猎头保护期内入职 */
2048
+ onboarded_in_protection?: boolean
2049
+ /** 入职所在保护期 */
2050
+ onboarded_protection?: AgencyProtection
2051
+ /** 人才保护信息 */
2052
+ protection_list?: AgencyProtection[]
2053
+ }
2054
+
1639
2055
  export interface QueryHireAgencyQuery {
1640
2056
  /** 猎头供应商名称 */
1641
2057
  name: string
@@ -1643,13 +2059,33 @@ export interface QueryHireAgencyQuery {
1643
2059
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1644
2060
  }
1645
2061
 
2062
+ export interface QueryHireAgencyResponse {
2063
+ items?: Agency[]
2064
+ }
2065
+
2066
+ export const enum GetAgencyAccountHireAgencyRequestStatus {
2067
+ /** 正常 */
2068
+ Normal = 0,
2069
+ /** 已禁用 */
2070
+ Enabled = 1,
2071
+ /** 已被猎头停用 */
2072
+ DisabledBySupplier = 2,
2073
+ }
2074
+
2075
+ export const enum GetAgencyAccountHireAgencyRequestRole {
2076
+ /** 管理员 */
2077
+ Manager = 0,
2078
+ /** 顾问 */
2079
+ Consultant = 1,
2080
+ }
2081
+
1646
2082
  export interface GetAgencyAccountHireAgencyRequest {
1647
2083
  /** 猎头供应商 ID */
1648
2084
  supplier_id: string
1649
2085
  /** 猎头状态 */
1650
- status?: 0 | 1 | 2
2086
+ status?: GetAgencyAccountHireAgencyRequestStatus
1651
2087
  /** 角色 */
1652
- role?: 0 | 1
2088
+ role?: GetAgencyAccountHireAgencyRequestRole
1653
2089
  }
1654
2090
 
1655
2091
  export interface GetAgencyAccountHireAgencyQuery extends Pagination {
@@ -1671,9 +2107,16 @@ export interface BatchQueryHireAgencyQuery extends Pagination {
1671
2107
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1672
2108
  }
1673
2109
 
2110
+ export const enum OperateAgencyAccountHireAgencyRequestOption {
2111
+ /** 禁用 */
2112
+ Add = 1,
2113
+ /** 取消禁用 */
2114
+ Remove = 2,
2115
+ }
2116
+
1674
2117
  export interface OperateAgencyAccountHireAgencyRequest {
1675
2118
  /** 操作类型 */
1676
- option: 1 | 2
2119
+ option: OperateAgencyAccountHireAgencyRequestOption
1677
2120
  /** 猎头 ID */
1678
2121
  id: string
1679
2122
  /** 禁用原因,仅当禁用操作时,必填 */
@@ -1685,16 +2128,44 @@ export interface CreateHireTalentExternalInfoRequest {
1685
2128
  external_create_time: string
1686
2129
  }
1687
2130
 
2131
+ export interface CreateHireTalentExternalInfoResponse {
2132
+ /** 人才外部信息 */
2133
+ external_info?: TalentExternalInfo
2134
+ }
2135
+
1688
2136
  export interface UpdateHireTalentExternalInfoRequest {
1689
2137
  /** 人才在外部系统创建时间 */
1690
2138
  external_create_time: string
1691
2139
  }
1692
2140
 
2141
+ export interface UpdateHireTalentExternalInfoResponse {
2142
+ /** 人才外部信息 */
2143
+ external_info?: TalentExternalInfo
2144
+ }
2145
+
2146
+ export const enum CreateHireExternalApplicationRequestJobRecruitmentType {
2147
+ /** 社招 */
2148
+ SocialRecruitment = 1,
2149
+ /** 校招 */
2150
+ CampusRecruitment = 2,
2151
+ }
2152
+
2153
+ export const enum CreateHireExternalApplicationRequestDeliveryType {
2154
+ /** HR 寻访 */
2155
+ HRVisit = 1,
2156
+ /** 候选人主动投递 */
2157
+ CandidateDelivery = 2,
2158
+ /** 人才推荐 */
2159
+ TalentRecommend = 3,
2160
+ /** 其他 */
2161
+ Others = 4,
2162
+ }
2163
+
1693
2164
  export interface CreateHireExternalApplicationRequest {
1694
2165
  /** 外部系统背调主键 (仅用于幂等) */
1695
2166
  external_id?: string
1696
2167
  /** 职位招聘类型 */
1697
- job_recruitment_type?: 1 | 2
2168
+ job_recruitment_type?: CreateHireExternalApplicationRequestJobRecruitmentType
1698
2169
  /** 职位名称 */
1699
2170
  job_title?: string
1700
2171
  /** 简历来源 */
@@ -1706,7 +2177,7 @@ export interface CreateHireExternalApplicationRequest {
1706
2177
  /** 终止原因 */
1707
2178
  termination_reason?: string
1708
2179
  /** 投递类型 */
1709
- delivery_type?: 1 | 2 | 3 | 4
2180
+ delivery_type?: CreateHireExternalApplicationRequestDeliveryType
1710
2181
  /** 更新时间,招聘系统内用作投递在外部系统终止时间 */
1711
2182
  modify_time?: number
1712
2183
  /** 投递在外部系统创建时间 */
@@ -1715,9 +2186,31 @@ export interface CreateHireExternalApplicationRequest {
1715
2186
  termination_type?: string
1716
2187
  }
1717
2188
 
2189
+ export interface CreateHireExternalApplicationResponse {
2190
+ external_application?: ExternalApplication
2191
+ }
2192
+
2193
+ export const enum UpdateHireExternalApplicationRequestJobRecruitmentType {
2194
+ /** 社招 */
2195
+ SocialRecruitment = 1,
2196
+ /** 校招 */
2197
+ CampusRecruitment = 2,
2198
+ }
2199
+
2200
+ export const enum UpdateHireExternalApplicationRequestDeliveryType {
2201
+ /** HR 寻访 */
2202
+ HRVisit = 1,
2203
+ /** 候选人主动投递 */
2204
+ CandidateDelivery = 2,
2205
+ /** 人才推荐 */
2206
+ TalentRecommend = 3,
2207
+ /** 其他 */
2208
+ Others = 4,
2209
+ }
2210
+
1718
2211
  export interface UpdateHireExternalApplicationRequest {
1719
2212
  /** 职位招聘类型 */
1720
- job_recruitment_type?: 1 | 2
2213
+ job_recruitment_type?: UpdateHireExternalApplicationRequestJobRecruitmentType
1721
2214
  /** 职位名称 */
1722
2215
  job_title?: string
1723
2216
  /** 简历来源 */
@@ -1727,7 +2220,7 @@ export interface UpdateHireExternalApplicationRequest {
1727
2220
  /** 终止原因 */
1728
2221
  termination_reason?: string
1729
2222
  /** 投递类型 */
1730
- delivery_type?: 1 | 2 | 3 | 4
2223
+ delivery_type?: UpdateHireExternalApplicationRequestDeliveryType
1731
2224
  /** 更新时间,招聘系统内用作投递在外部系统终止时间 */
1732
2225
  modify_time?: number
1733
2226
  /** 投递在外部系统创建时间 */
@@ -1736,6 +2229,10 @@ export interface UpdateHireExternalApplicationRequest {
1736
2229
  termination_type?: string
1737
2230
  }
1738
2231
 
2232
+ export interface UpdateHireExternalApplicationResponse {
2233
+ external_application?: ExternalApplication
2234
+ }
2235
+
1739
2236
  export interface ListHireExternalApplicationQuery extends Pagination {
1740
2237
  /** 人才ID */
1741
2238
  talent_id: string
@@ -1746,13 +2243,26 @@ export interface DeleteHireExternalApplicationQuery {
1746
2243
  talent_id?: string
1747
2244
  }
1748
2245
 
2246
+ export interface DeleteHireExternalApplicationResponse {
2247
+ external_application?: ExternalApplication
2248
+ }
2249
+
2250
+ export const enum CreateHireExternalInterviewRequestParticipateStatus {
2251
+ /** 未参与 */
2252
+ NotStart = 1,
2253
+ /** 参与 */
2254
+ Participated = 2,
2255
+ /** 爽约 */
2256
+ NotPaticipated = 3,
2257
+ }
2258
+
1749
2259
  export interface CreateHireExternalInterviewRequest {
1750
2260
  /** 外部系统面试主键 (仅用于幂等) */
1751
2261
  external_id?: string
1752
2262
  /** 外部投递 ID */
1753
2263
  external_application_id: string
1754
2264
  /** 参与状态 */
1755
- participate_status?: 1 | 2 | 3
2265
+ participate_status?: CreateHireExternalInterviewRequestParticipateStatus
1756
2266
  /** 开始时间 */
1757
2267
  begin_time?: number
1758
2268
  /** 结束时间 */
@@ -1761,11 +2271,24 @@ export interface CreateHireExternalInterviewRequest {
1761
2271
  interview_assessments?: ExternalInterviewAssessment[]
1762
2272
  }
1763
2273
 
2274
+ export interface CreateHireExternalInterviewResponse {
2275
+ external_interview?: ExternalInterview
2276
+ }
2277
+
2278
+ export const enum UpdateHireExternalInterviewRequestParticipateStatus {
2279
+ /** 未参与 */
2280
+ NotStart = 1,
2281
+ /** 参与 */
2282
+ Participated = 2,
2283
+ /** 爽约 */
2284
+ NotPaticipated = 3,
2285
+ }
2286
+
1764
2287
  export interface UpdateHireExternalInterviewRequest {
1765
2288
  /** 外部投递 ID */
1766
2289
  external_application_id: string
1767
2290
  /** 参与状态 */
1768
- participate_status?: 1 | 2 | 3
2291
+ participate_status?: UpdateHireExternalInterviewRequestParticipateStatus
1769
2292
  /** 开始时间 */
1770
2293
  begin_time?: number
1771
2294
  /** 结束时间 */
@@ -1774,6 +2297,10 @@ export interface UpdateHireExternalInterviewRequest {
1774
2297
  interview_assessments?: ExternalInterviewAssessment[]
1775
2298
  }
1776
2299
 
2300
+ export interface UpdateHireExternalInterviewResponse {
2301
+ external_interview?: ExternalInterview
2302
+ }
2303
+
1777
2304
  export interface BatchQueryHireExternalInterviewRequest {
1778
2305
  /** 外部面试 ID列表,当传递此值时,以此值为准 */
1779
2306
  external_interview_id_list?: string[]
@@ -1784,13 +2311,22 @@ export interface BatchQueryHireExternalInterviewQuery extends Pagination {
1784
2311
  external_application_id?: string
1785
2312
  }
1786
2313
 
2314
+ export const enum CreateHireExternalInterviewAssessmentRequestConclusion {
2315
+ /** 不通过 */
2316
+ Fail = 1,
2317
+ /** 通过 */
2318
+ Pass = 2,
2319
+ /** 待定 */
2320
+ ToBeDetermined = 3,
2321
+ }
2322
+
1787
2323
  export interface CreateHireExternalInterviewAssessmentRequest {
1788
2324
  /** 外部系统面评主键(仅用于幂等) */
1789
2325
  external_id?: string
1790
2326
  /** 面试官姓名 */
1791
2327
  username?: string
1792
2328
  /** 面试结果 */
1793
- conclusion?: 1 | 2 | 3
2329
+ conclusion?: CreateHireExternalInterviewAssessmentRequestConclusion
1794
2330
  /** 评价维度列表 */
1795
2331
  assessment_dimension_list?: ExternalInterviewAssessmentDimension[]
1796
2332
  /** 综合记录 */
@@ -1799,17 +2335,34 @@ export interface CreateHireExternalInterviewAssessmentRequest {
1799
2335
  external_interview_id?: string
1800
2336
  }
1801
2337
 
2338
+ export interface CreateHireExternalInterviewAssessmentResponse {
2339
+ external_interview_assessment?: ExternalInterviewAssessment
2340
+ }
2341
+
2342
+ export const enum PatchHireExternalInterviewAssessmentRequestConclusion {
2343
+ /** 不通过 */
2344
+ Fail = 1,
2345
+ /** 通过 */
2346
+ Pass = 2,
2347
+ /** 待定 */
2348
+ ToBeDetermined = 3,
2349
+ }
2350
+
1802
2351
  export interface PatchHireExternalInterviewAssessmentRequest {
1803
2352
  /** 面试官姓名 */
1804
2353
  username?: string
1805
2354
  /** 面试结果 */
1806
- conclusion?: 1 | 2 | 3
2355
+ conclusion?: PatchHireExternalInterviewAssessmentRequestConclusion
1807
2356
  /** 评价维度列表 */
1808
2357
  assessment_dimension_list?: ExternalInterviewAssessmentDimension[]
1809
2358
  /** 综合记录 */
1810
2359
  content?: string
1811
2360
  }
1812
2361
 
2362
+ export interface PatchHireExternalInterviewAssessmentResponse {
2363
+ external_interview_assessment?: ExternalInterviewAssessment
2364
+ }
2365
+
1813
2366
  export interface CreateHireExternalOfferRequest {
1814
2367
  /** 外部系统 Offer 主键(仅用于幂等) */
1815
2368
  external_id?: string
@@ -1825,6 +2378,10 @@ export interface CreateHireExternalOfferRequest {
1825
2378
  attachment_id_list?: string[]
1826
2379
  }
1827
2380
 
2381
+ export interface CreateHireExternalOfferResponse {
2382
+ external_offer?: ExternalOffer
2383
+ }
2384
+
1828
2385
  export interface UpdateHireExternalOfferRequest {
1829
2386
  /** 外部投递 ID */
1830
2387
  external_application_id: string
@@ -1838,6 +2395,10 @@ export interface UpdateHireExternalOfferRequest {
1838
2395
  attachment_id_list?: string[]
1839
2396
  }
1840
2397
 
2398
+ export interface UpdateHireExternalOfferResponse {
2399
+ external_offer?: ExternalOffer
2400
+ }
2401
+
1841
2402
  export interface BatchQueryHireExternalOfferRequest {
1842
2403
  /** 外部 Offer ID列表,当传递此值时,以此值为准 */
1843
2404
  external_offer_id_list?: string[]
@@ -1863,6 +2424,10 @@ export interface CreateHireExternalBackgroundCheckRequest {
1863
2424
  attachment_id_list?: string[]
1864
2425
  }
1865
2426
 
2427
+ export interface CreateHireExternalBackgroundCheckResponse {
2428
+ external_background_check?: ExternalBackgroundCheck
2429
+ }
2430
+
1866
2431
  export interface UpdateHireExternalBackgroundCheckRequest {
1867
2432
  /** 外部投递 ID */
1868
2433
  external_application_id: string
@@ -1876,6 +2441,10 @@ export interface UpdateHireExternalBackgroundCheckRequest {
1876
2441
  attachment_id_list?: string[]
1877
2442
  }
1878
2443
 
2444
+ export interface UpdateHireExternalBackgroundCheckResponse {
2445
+ external_background_check?: ExternalBackgroundCheck
2446
+ }
2447
+
1879
2448
  export interface BatchQueryHireExternalBackgroundCheckRequest {
1880
2449
  /** 外部背调 ID 列表,当传递此值时,以此值为准 */
1881
2450
  external_background_check_id_list?: string[]
@@ -1886,6 +2455,28 @@ export interface BatchQueryHireExternalBackgroundCheckQuery extends Pagination {
1886
2455
  external_application_id?: string
1887
2456
  }
1888
2457
 
2458
+ export const enum CreateHireExternalReferralRewardRequestRuleType {
2459
+ /** 入职奖励,候选人入职或转正后产生的奖励 */
2460
+ Onboard = 1,
2461
+ /** 过程奖励,入职奖励外,若候选人有阶段性进展,则给予内推人对应的奖励 */
2462
+ Processe = 2,
2463
+ /** 活动奖励,额外奖励,用于支持内推周期性活动 */
2464
+ Active = 3,
2465
+ /** 开源奖励,若内推候选人首次进入人才库,且在被推荐后一段时间内,入职了规则内的任意职位的奖励 */
2466
+ OpenSource = 4,
2467
+ /** 其他奖励,以上奖励无法覆盖的奖励 */
2468
+ Other = 5,
2469
+ }
2470
+
2471
+ export const enum CreateHireExternalReferralRewardRequestStage {
2472
+ /** 待确认 */
2473
+ ToBeConfirmed = 1,
2474
+ /** 已确认 */
2475
+ Confirmed = 2,
2476
+ /** 已发放 */
2477
+ Paid = 3,
2478
+ }
2479
+
1889
2480
  export interface CreateHireExternalReferralRewardRequest {
1890
2481
  /** 内推人ID */
1891
2482
  referral_user_id: string
@@ -1906,11 +2497,11 @@ export interface CreateHireExternalReferralRewardRequest {
1906
2497
  /** 奖励原因 */
1907
2498
  reason?: string
1908
2499
  /** 导入的奖励规则类型,将展示在内推奖励明细中,管理员与内推人可见 */
1909
- rule_type: 1 | 2 | 3 | 4 | 5
2500
+ rule_type: CreateHireExternalReferralRewardRequestRuleType
1910
2501
  /** 奖励数据 */
1911
2502
  bonus: BonusAmount
1912
2503
  /** 导入的内推奖励状态 */
1913
- stage: 1 | 2 | 3
2504
+ stage: CreateHireExternalReferralRewardRequestStage
1914
2505
  /** 奖励产生时间,内推奖励触发时间,若未传入,取接口传入时间 */
1915
2506
  create_time?: string
1916
2507
  /** 奖励确认时间,若导入的「内推奖励状态」为「已确认」可传入,若未传入,取接口传入时间 */
@@ -1930,11 +2521,23 @@ export interface CreateHireExternalReferralRewardQuery {
1930
2521
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1931
2522
  }
1932
2523
 
2524
+ export interface CreateHireExternalReferralRewardResponse {
2525
+ /** 创建的内推奖励的id */
2526
+ id?: string
2527
+ }
2528
+
2529
+ export const enum BatchChangeTalentPoolHireTalentPoolRequestOptionType {
2530
+ /** 加入人才库操作 */
2531
+ Add = 1,
2532
+ /** 从指定人才库移除 */
2533
+ Remove = 2,
2534
+ }
2535
+
1933
2536
  export interface BatchChangeTalentPoolHireTalentPoolRequest {
1934
2537
  /** 人才 ID 列表 */
1935
2538
  talent_id_list: string[]
1936
2539
  /** 操作类型 */
1937
- option_type: 1 | 2
2540
+ option_type: BatchChangeTalentPoolHireTalentPoolRequestOptionType
1938
2541
  }
1939
2542
 
1940
2543
  export interface SearchHireTalentPoolQuery extends Pagination {
@@ -1942,11 +2545,25 @@ export interface SearchHireTalentPoolQuery extends Pagination {
1942
2545
  id_list?: string[]
1943
2546
  }
1944
2547
 
2548
+ export const enum MoveTalentHireTalentPoolRequestAddType {
2549
+ /** 仅加入指定人才库 */
2550
+ OnlyAdd = 1,
2551
+ /** 加入指定人才库并从所有原库移除 */
2552
+ AddAndRemoveFromOrigin = 2,
2553
+ }
2554
+
1945
2555
  export interface MoveTalentHireTalentPoolRequest {
1946
2556
  /** 人才ID */
1947
2557
  talent_id: string
1948
2558
  /** 操作类型 */
1949
- add_type: 1 | 2
2559
+ add_type: MoveTalentHireTalentPoolRequestAddType
2560
+ }
2561
+
2562
+ export interface MoveTalentHireTalentPoolResponse {
2563
+ /** 人才库ID */
2564
+ talent_pool_id?: string
2565
+ /** 人才ID */
2566
+ talent_id?: string
1950
2567
  }
1951
2568
 
1952
2569
  export interface TagHireTalentRequest {
@@ -1998,6 +2615,15 @@ export interface CombinedCreateHireTalentQuery {
1998
2615
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
1999
2616
  }
2000
2617
 
2618
+ export interface CombinedCreateHireTalentResponse {
2619
+ /** 人才 ID */
2620
+ talent_id?: string
2621
+ /** 创建人 ID */
2622
+ creator_id?: string
2623
+ /** 创建人类型 */
2624
+ creator_account_type?: 1 | 3
2625
+ }
2626
+
2001
2627
  export interface CombinedUpdateHireTalentRequest {
2002
2628
  /** 人才 ID */
2003
2629
  talent_id: string
@@ -2040,6 +2666,15 @@ export interface CombinedUpdateHireTalentQuery {
2040
2666
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2041
2667
  }
2042
2668
 
2669
+ export interface CombinedUpdateHireTalentResponse {
2670
+ /** 人才 ID */
2671
+ talent_id?: string
2672
+ /** 更新人 ID */
2673
+ operator_id?: string
2674
+ /** 更新人类型 */
2675
+ operator_account_type?: 1 | 3
2676
+ }
2677
+
2043
2678
  export interface AddToFolderHireTalentRequest {
2044
2679
  /** 人才 ID 列表 */
2045
2680
  talent_id_list: string[]
@@ -2047,6 +2682,13 @@ export interface AddToFolderHireTalentRequest {
2047
2682
  folder_id: string
2048
2683
  }
2049
2684
 
2685
+ export interface AddToFolderHireTalentResponse {
2686
+ /** 人才 ID 列表 */
2687
+ talent_id_list?: string[]
2688
+ /** 文件夹 ID */
2689
+ folder_id?: string
2690
+ }
2691
+
2050
2692
  export interface RemoveToFolderHireTalentRequest {
2051
2693
  /** 人才 ID 列表 */
2052
2694
  talent_id_list: string[]
@@ -2054,6 +2696,13 @@ export interface RemoveToFolderHireTalentRequest {
2054
2696
  folder_id: string
2055
2697
  }
2056
2698
 
2699
+ export interface RemoveToFolderHireTalentResponse {
2700
+ /** 人才 ID 列表 */
2701
+ talent_id_list?: string[]
2702
+ /** 文件夹 ID */
2703
+ folder_id?: string
2704
+ }
2705
+
2057
2706
  export interface ListHireTalentFolderQuery extends Pagination {
2058
2707
  /** 用户ID类型 */
2059
2708
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
@@ -2072,6 +2721,11 @@ export interface BatchGetIdHireTalentRequest {
2072
2721
  identification_number_list?: string[]
2073
2722
  }
2074
2723
 
2724
+ export interface BatchGetIdHireTalentResponse {
2725
+ /** 人才信息列表 */
2726
+ talent_list?: TalentBatchInfo[]
2727
+ }
2728
+
2075
2729
  export interface ListHireTalentQuery extends Pagination {
2076
2730
  /** 搜索关键词,支持布尔语言(使用 and、or、not 连接关键词) */
2077
2731
  keyword?: string
@@ -2087,30 +2741,108 @@ export interface ListHireTalentQuery extends Pagination {
2087
2741
  query_option?: 'ignore_empty_error'
2088
2742
  }
2089
2743
 
2744
+ export interface QueryHireTalentObjectResponse {
2745
+ items?: CommonSchema[]
2746
+ }
2747
+
2090
2748
  export interface GetHireTalentQuery {
2091
2749
  /** 用户 ID 类型 */
2092
2750
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2093
2751
  }
2094
2752
 
2753
+ export interface GetHireTalentResponse {
2754
+ /** 人才信息 */
2755
+ talent?: Talent
2756
+ }
2757
+
2095
2758
  export interface GetHireTalentQuery {
2096
2759
  /** 用户 ID 类型 */
2097
2760
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2098
2761
  }
2099
2762
 
2763
+ export interface GetHireTalentResponse {
2764
+ /** ID */
2765
+ talent_id?: string
2766
+ /** 基础信息 */
2767
+ basic_info?: CompositeTalentBasicInfo
2768
+ /** 教育经历 */
2769
+ education_list?: CompositeTalentEducationInfo[]
2770
+ /** 工作经历 */
2771
+ career_list?: CompositeTalentCareerInfo[]
2772
+ /** 项目经历 */
2773
+ project_list?: CompositeTalentProjectInfo[]
2774
+ /** 作品集 */
2775
+ works_list?: CompositeTalentWorksInfo[]
2776
+ /** 获奖列表 */
2777
+ award_list?: CompositeTalentAwardInfo[]
2778
+ /** 语言列表 */
2779
+ language_list?: CompositeTalentLanguageInfo[]
2780
+ /** SNS列表 */
2781
+ sns_list?: CompositeTalentSnsInfo[]
2782
+ /** 简历来源 */
2783
+ resume_source_list?: TalentResumeSource[]
2784
+ /** 实习经历 */
2785
+ internship_list?: CompositeTalentInternshipInfo[]
2786
+ /** 自定义字段 */
2787
+ customized_data_list?: CompositeTalentCustomizedData[]
2788
+ /** 简历附件id列表(按照简历创建时间降序)(废弃,请使用resume_attachment_list代替) */
2789
+ resume_attachment_id_list?: string[]
2790
+ /** 简历附件列表(按照简历创建时间降序) */
2791
+ resume_attachment_list?: TalentResumeAttachment[]
2792
+ /** 面试登记表 */
2793
+ interview_registration_list?: TalentInterviewRegistrationSimple[]
2794
+ /** 登记表列表 */
2795
+ registration_list?: RegistrationBasicInfo[]
2796
+ /** 是否已入职 */
2797
+ is_onboarded?: boolean
2798
+ /** 是否在猎头保护期 */
2799
+ is_in_agency_period?: boolean
2800
+ /** 最高学历 参考 DegreeType 枚举 */
2801
+ top_degree?: number
2802
+ /** 人才已加入的人才库列表 */
2803
+ talent_pool_id_list?: string[]
2804
+ /** 文件夹列表 */
2805
+ talent_folder_ref_list_v2?: TalentFolder[]
2806
+ /** 标签列表 */
2807
+ tag_list?: TalentTag[]
2808
+ /** 相似人才信息 */
2809
+ similar_info_v2?: TalentSimilar
2810
+ /** 人才黑名单详情 */
2811
+ block_info?: TalentBlock
2812
+ /** 人才已经加入的人才库列表 */
2813
+ talent_pool_ref_list_v2?: TalentPool[]
2814
+ /** 备注列表 */
2815
+ note_list_v2?: TalentNote[]
2816
+ }
2817
+
2818
+ export const enum OnboardStatusHireTalentRequestOperation {
2819
+ /** 入职 */
2820
+ Onboard = 1,
2821
+ /** 离职 */
2822
+ Overboard = 2,
2823
+ }
2824
+
2100
2825
  export interface OnboardStatusHireTalentRequest {
2101
2826
  /** 操作类型 1:入职 2:离职 */
2102
- operation: 1 | 2
2827
+ operation: OnboardStatusHireTalentRequestOperation
2103
2828
  /** 毫秒时间戳 */
2104
2829
  onboard_time?: string
2105
2830
  /** 毫秒时间戳 */
2106
2831
  overboard_time?: string
2107
2832
  }
2108
2833
 
2834
+ export const enum ChangeTalentBlockHireTalentBlocklistRequestOption {
2835
+ /** 加入屏蔽名单操作 */
2836
+ Add = 1,
2837
+ /** 从屏蔽名单中移除 */
2838
+ Remove = 2,
2839
+ }
2840
+
2109
2841
  export interface ChangeTalentBlockHireTalentBlocklistRequest {
2110
2842
  /** 人才 ID */
2111
2843
  talent_id: string
2112
2844
  /** 操作类型 */
2113
- option: 1 | 2
2845
+ option: ChangeTalentBlockHireTalentBlocklistRequestOption
2114
2846
  /** 原因,当执行加入屏蔽名单操作时必填 */
2115
2847
  reason?: string
2116
2848
  }
@@ -2130,6 +2862,11 @@ export interface GetDetailHireApplicationQuery {
2130
2862
  options?: ('with_job' | 'with_talent' | 'with_interview' | 'with_offer' | 'with_evaluation' | 'with_employee' | 'with_agency' | 'with_referral' | 'with_portal')[]
2131
2863
  }
2132
2864
 
2865
+ export interface GetDetailHireApplicationResponse {
2866
+ /** 投递详情 */
2867
+ application_detail?: ApplicationDetailInfo
2868
+ }
2869
+
2133
2870
  export interface CreateHireApplicationRequest {
2134
2871
  /** 人才ID */
2135
2872
  talent_id: string
@@ -2148,6 +2885,11 @@ export interface CreateHireApplicationQuery {
2148
2885
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2149
2886
  }
2150
2887
 
2888
+ export interface CreateHireApplicationResponse {
2889
+ /** 投递ID */
2890
+ id?: string
2891
+ }
2892
+
2151
2893
  export interface TerminateHireApplicationRequest {
2152
2894
  /** 终止原因的类型 */
2153
2895
  termination_type: 1 | 22 | 27
@@ -2169,6 +2911,11 @@ export interface GetHireApplicationQuery {
2169
2911
  options?: ('get_latest_application_on_chain')[]
2170
2912
  }
2171
2913
 
2914
+ export interface GetHireApplicationResponse {
2915
+ /** 投递数据 */
2916
+ application?: Application
2917
+ }
2918
+
2172
2919
  export interface ListHireApplicationQuery extends Pagination {
2173
2920
  /** 按流程过滤,招聘流程 ID,枚举值通过接口「获取招聘流程信息」接口获取 */
2174
2921
  process_id?: string
@@ -2195,6 +2942,11 @@ export interface SearchHireDiversityInclusionRequest {
2195
2942
  application_ids?: string[]
2196
2943
  }
2197
2944
 
2945
+ export interface SearchHireDiversityInclusionResponse {
2946
+ /** 多元化与包容性信息列表 */
2947
+ items?: DiInfo[]
2948
+ }
2949
+
2198
2950
  export interface ListHireEvaluationQuery extends Pagination {
2199
2951
  /** 投递 ID */
2200
2952
  application_id?: string
@@ -2224,6 +2976,23 @@ export interface CreateHireExamQuery {
2224
2976
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2225
2977
  }
2226
2978
 
2979
+ export interface CreateHireExamResponse {
2980
+ /** 笔试 ID */
2981
+ exam_id?: string
2982
+ /** 投递 ID */
2983
+ application_id?: string
2984
+ /** 试卷名称 */
2985
+ exam_resource_name?: string
2986
+ /** 笔试分数 */
2987
+ score?: number
2988
+ /** 附件ID */
2989
+ uuid?: string
2990
+ /** 操作人 ID */
2991
+ operator_id?: string
2992
+ /** 操作时间 */
2993
+ operate_time?: string
2994
+ }
2995
+
2227
2996
  export interface SearchHireTestRequest {
2228
2997
  /** 投递 ID 列表,最多 100 个,默认查询全部投递 */
2229
2998
  application_id_list?: string[]
@@ -2262,16 +3031,30 @@ export interface GetByTalentHireInterviewQuery {
2262
3031
  job_level_id_type?: 'people_admin_job_level_id' | 'job_level_id'
2263
3032
  }
2264
3033
 
3034
+ export interface GetByTalentHireInterviewResponse {
3035
+ /** 投递面试列表 */
3036
+ items?: TalentInterview[]
3037
+ }
3038
+
2265
3039
  export interface GetHireInterviewRecordQuery {
2266
3040
  /** 此次调用中使用的用户ID的类型 */
2267
3041
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2268
3042
  }
2269
3043
 
3044
+ export interface GetHireInterviewRecordResponse {
3045
+ /** 数据 */
3046
+ interview_record?: InterviewRecord
3047
+ }
3048
+
2270
3049
  export interface GetHireInterviewRecordQuery {
2271
3050
  /** 此次调用中使用的用户ID的类型 */
2272
3051
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2273
3052
  }
2274
3053
 
3054
+ export interface GetHireInterviewRecordResponse {
3055
+ interview_record?: InterviewRecord
3056
+ }
3057
+
2275
3058
  export interface ListHireInterviewRecordQuery extends Pagination {
2276
3059
  /** 面试评价ID列表,使用该筛选项时不会分页 */
2277
3060
  ids?: string[]
@@ -2286,13 +3069,25 @@ export interface ListHireInterviewRecordQuery extends Pagination {
2286
3069
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2287
3070
  }
2288
3071
 
3072
+ export const enum GetHireInterviewRecordAttachmentQueryLanguage {
3073
+ /** 中文 */
3074
+ Zh = 1,
3075
+ /** 英文 */
3076
+ En = 2,
3077
+ }
3078
+
2289
3079
  export interface GetHireInterviewRecordAttachmentQuery {
2290
3080
  /** 投递 ID */
2291
3081
  application_id: string
2292
3082
  /** 面试记录 ID */
2293
3083
  interview_record_id?: string
2294
3084
  /** 面试记录语言 */
2295
- language?: 1 | 2
3085
+ language?: GetHireInterviewRecordAttachmentQueryLanguage
3086
+ }
3087
+
3088
+ export interface GetHireInterviewRecordAttachmentResponse {
3089
+ /** 附件信息 */
3090
+ attachment?: AttachmentInfo
2296
3091
  }
2297
3092
 
2298
3093
  export interface GetHireMinutesQuery extends Pagination {
@@ -2300,6 +3095,14 @@ export interface GetHireMinutesQuery extends Pagination {
2300
3095
  interview_id: string
2301
3096
  }
2302
3097
 
3098
+ export interface GetHireMinutesResponse {
3099
+ minutes?: Minutes
3100
+ /** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
3101
+ page_token?: string
3102
+ /** 对应面试是否还有更多项 */
3103
+ has_more?: boolean
3104
+ }
3105
+
2303
3106
  export interface ListHireQuestionnaireQuery extends Pagination {
2304
3107
  /** 投递 ID */
2305
3108
  application_id?: string
@@ -2339,6 +3142,23 @@ export interface CreateHireOfferQuery {
2339
3142
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2340
3143
  }
2341
3144
 
3145
+ export interface CreateHireOfferResponse {
3146
+ /** Offer ID */
3147
+ offer_id?: string
3148
+ /** 投递 ID */
3149
+ application_id?: string
3150
+ /** 模板 ID */
3151
+ schema_id?: string
3152
+ /** Offer 类型 */
3153
+ offer_type?: 1 | 2
3154
+ /** Offer 基本信息 */
3155
+ basic_info?: OfferBasicInfo
3156
+ /** Offer 薪资信息 */
3157
+ salary_info?: OfferSalaryInfo
3158
+ /** 自定义信息 */
3159
+ customized_info_list?: OfferCustomizedInfo[]
3160
+ }
3161
+
2342
3162
  export interface UpdateHireOfferRequest {
2343
3163
  /** 模板 ID */
2344
3164
  schema_id: string
@@ -2363,6 +3183,19 @@ export interface UpdateHireOfferQuery {
2363
3183
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2364
3184
  }
2365
3185
 
3186
+ export interface UpdateHireOfferResponse {
3187
+ /** Offer ID */
3188
+ offer_id?: string
3189
+ /** 模板 ID */
3190
+ schema_id?: string
3191
+ /** Offer 基本信息 */
3192
+ basic_info?: OfferBasicInfo
3193
+ /** Offer 薪资信息 */
3194
+ salary_info?: OfferSalaryInfo
3195
+ /** 自定义信息 */
3196
+ customized_info_list?: OfferCustomizedInfo[]
3197
+ }
3198
+
2366
3199
  export interface OfferHireApplicationQuery {
2367
3200
  /** 用户 ID 类型 */
2368
3201
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -2376,6 +3209,10 @@ export interface OfferHireApplicationQuery {
2376
3209
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2377
3210
  }
2378
3211
 
3212
+ export interface OfferHireApplicationResponse {
3213
+ offer?: ApplicationOffer
3214
+ }
3215
+
2379
3216
  export interface GetHireOfferQuery {
2380
3217
  /** 此次调用中使用的用户ID的类型 */
2381
3218
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
@@ -2389,6 +3226,11 @@ export interface GetHireOfferQuery {
2389
3226
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2390
3227
  }
2391
3228
 
3229
+ export interface GetHireOfferResponse {
3230
+ /** Offer 详情 */
3231
+ offer?: Offer
3232
+ }
3233
+
2392
3234
  export interface ListHireOfferQuery extends Pagination {
2393
3235
  /** 人才 ID */
2394
3236
  talent_id: string
@@ -2398,9 +3240,30 @@ export interface ListHireOfferQuery extends Pagination {
2398
3240
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2399
3241
  }
2400
3242
 
3243
+ export const enum OfferStatusHireOfferRequestOfferStatus {
3244
+ /** Offer 审批中 */
3245
+ Approving = 2,
3246
+ /** Offer 审批已撤回 */
3247
+ Withdrawn = 3,
3248
+ /** Offer 审批通过 */
3249
+ Approved = 4,
3250
+ /** Offer 审批不通过 */
3251
+ Rejected = 5,
3252
+ /** Offer 已发出 */
3253
+ OfferLetterSent = 6,
3254
+ /** Offer 被候选人接受 */
3255
+ OfferAccepted = 7,
3256
+ /** Offer 被候选人拒绝 */
3257
+ OfferRejected = 8,
3258
+ /** Offer 已失效 */
3259
+ Obsolete = 9,
3260
+ /** Offer 已创建 */
3261
+ NoApproval = 10,
3262
+ }
3263
+
2401
3264
  export interface OfferStatusHireOfferRequest {
2402
3265
  /** offer状态 */
2403
- offer_status: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
3266
+ offer_status: OfferStatusHireOfferRequestOfferStatus
2404
3267
  /** offer 失效时间,当反馈状态是「offer已发出」时为必填项 */
2405
3268
  expiration_date?: string
2406
3269
  /** 终止原因列表,当反馈状态是「候选人已拒绝」时为必填项;最多传入50个 */
@@ -2418,6 +3281,17 @@ export interface InternOfferStatusHireOfferRequest {
2418
3281
  offboarding_info?: InternOfferOffboardingInfo
2419
3282
  }
2420
3283
 
3284
+ export interface InternOfferStatusHireOfferResponse {
3285
+ /** Offer ID */
3286
+ offer_id?: string
3287
+ /** 更新入/离职状态的操作 */
3288
+ operation: 'confirm_onboarding' | 'cancel_onboarding' | 'offboard'
3289
+ /** 入职表单信息(当 operation 为 confirm_onboarding 时,该字段必填) */
3290
+ onboarding_info?: InternOfferOnboardingInfo
3291
+ /** 离职表单信息(当 operation 为 offboard 时,该字段必填) */
3292
+ offboarding_info?: InternOfferOffboardingInfo
3293
+ }
3294
+
2421
3295
  export interface ListHireBackgroundCheckOrderQuery extends Pagination {
2422
3296
  /** 用户 ID 类型 */
2423
3297
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -2429,15 +3303,41 @@ export interface ListHireBackgroundCheckOrderQuery extends Pagination {
2429
3303
  update_end_time?: string
2430
3304
  }
2431
3305
 
3306
+ export const enum CreateHireTripartiteAgreementRequestState {
3307
+ /** 未开始 */
3308
+ NotStarted = 1,
3309
+ /** 已申请 */
3310
+ Applied = 2,
3311
+ /** 学生处理中 */
3312
+ StudentProcessing = 3,
3313
+ /** 公司处理中 */
3314
+ CompanyProcessing = 4,
3315
+ /** 学校处理中 */
3316
+ SchoolProcessing = 5,
3317
+ /** 已终止 */
3318
+ Ended = 6,
3319
+ /** 已完成 */
3320
+ Completed = 7,
3321
+ /** 解约处理中 */
3322
+ TerminationProcessing = 8,
3323
+ /** 已解约 */
3324
+ Terminated = 9,
3325
+ }
3326
+
2432
3327
  export interface CreateHireTripartiteAgreementRequest {
2433
3328
  /** 投递ID */
2434
3329
  application_id: string
2435
3330
  /** 三方协议状态 */
2436
- state: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
3331
+ state: CreateHireTripartiteAgreementRequestState
2437
3332
  /** 三方协议创建时间,毫秒时间戳 */
2438
3333
  create_time: string
2439
3334
  }
2440
3335
 
3336
+ export interface CreateHireTripartiteAgreementResponse {
3337
+ /** 创建的三方协议的 id */
3338
+ id?: string
3339
+ }
3340
+
2441
3341
  export interface ListHireTripartiteAgreementQuery extends Pagination {
2442
3342
  /** 投递 ID,必填投递 id 与三方协议 ID 其中之一 */
2443
3343
  application_id?: string
@@ -2445,13 +3345,39 @@ export interface ListHireTripartiteAgreementQuery extends Pagination {
2445
3345
  tripartite_agreement_id?: string
2446
3346
  }
2447
3347
 
3348
+ export const enum UpdateHireTripartiteAgreementRequestState {
3349
+ /** 未开始 */
3350
+ NotStarted = 1,
3351
+ /** 已申请 */
3352
+ Applied = 2,
3353
+ /** 学生处理中 */
3354
+ StudentProcessing = 3,
3355
+ /** 公司处理中 */
3356
+ CompanyProcessing = 4,
3357
+ /** 学校处理中 */
3358
+ SchoolProcessing = 5,
3359
+ /** 已终止 */
3360
+ Ended = 6,
3361
+ /** 已完成 */
3362
+ Completed = 7,
3363
+ /** 解约处理中 */
3364
+ TerminationProcessing = 8,
3365
+ /** 已解约 */
3366
+ Terminated = 9,
3367
+ }
3368
+
2448
3369
  export interface UpdateHireTripartiteAgreementRequest {
2449
3370
  /** 三方协议状态 */
2450
- state: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
3371
+ state: UpdateHireTripartiteAgreementRequestState
2451
3372
  /** 三方协议修改时间戳,不可小于创建时间或者当前修改时间 */
2452
3373
  modify_time: string
2453
3374
  }
2454
3375
 
3376
+ export interface UpdateHireTripartiteAgreementResponse {
3377
+ /** 三方协议信息 */
3378
+ tripartite_agreement?: TripartiteAgreementInfo
3379
+ }
3380
+
2455
3381
  export interface PatchHireEhrImportTaskRequest {
2456
3382
  /** 失败原因 */
2457
3383
  fail_reason?: string
@@ -2497,9 +3423,21 @@ export interface TransferOnboardHireApplicationQuery {
2497
3423
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2498
3424
  }
2499
3425
 
3426
+ export interface TransferOnboardHireApplicationResponse {
3427
+ /** employee */
3428
+ employee?: Employee
3429
+ }
3430
+
3431
+ export const enum PatchHireEmployeeRequestOperation {
3432
+ /** 转正 */
3433
+ Convert = 1,
3434
+ /** 离职 */
3435
+ Overboard = 2,
3436
+ }
3437
+
2500
3438
  export interface PatchHireEmployeeRequest {
2501
3439
  /** 修改状态操作 */
2502
- operation: 1 | 2
3440
+ operation: PatchHireEmployeeRequestOperation
2503
3441
  conversion_info?: EmployeeConversionInfo
2504
3442
  overboard_info?: EmployeeOverboardInfo
2505
3443
  }
@@ -2517,6 +3455,11 @@ export interface PatchHireEmployeeQuery {
2517
3455
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2518
3456
  }
2519
3457
 
3458
+ export interface PatchHireEmployeeResponse {
3459
+ /** 员工信息 */
3460
+ employee?: Employee
3461
+ }
3462
+
2520
3463
  export interface GetByApplicationHireEmployeeQuery {
2521
3464
  /** 投递ID */
2522
3465
  application_id: string
@@ -2532,6 +3475,11 @@ export interface GetByApplicationHireEmployeeQuery {
2532
3475
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2533
3476
  }
2534
3477
 
3478
+ export interface GetByApplicationHireEmployeeResponse {
3479
+ /** 员工信息 */
3480
+ employee?: Employee
3481
+ }
3482
+
2535
3483
  export interface GetHireEmployeeQuery {
2536
3484
  /** 用户 ID 类型 */
2537
3485
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -2545,6 +3493,11 @@ export interface GetHireEmployeeQuery {
2545
3493
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id'
2546
3494
  }
2547
3495
 
3496
+ export interface GetHireEmployeeResponse {
3497
+ /** 员工信息 */
3498
+ employee?: Employee
3499
+ }
3500
+
2548
3501
  export interface ListHireTodoQuery extends Pagination {
2549
3502
  /** 用户 ID,当 token 为租户 token 时,必须传入该字段,当 token 为用户 token 时,不传该字段 */
2550
3503
  user_id?: string
@@ -2581,6 +3534,13 @@ export interface ListHireInterviewTaskQuery extends Pagination {
2581
3534
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2582
3535
  }
2583
3536
 
3537
+ export const enum CreateHireNoteRequestPrivacy {
3538
+ /** 私密 */
3539
+ Private = 1,
3540
+ /** 公开 */
3541
+ Public = 2,
3542
+ }
3543
+
2584
3544
  export interface CreateHireNoteRequest {
2585
3545
  /** 人才ID */
2586
3546
  talent_id: string
@@ -2591,7 +3551,7 @@ export interface CreateHireNoteRequest {
2591
3551
  /** 内容 */
2592
3552
  content: string
2593
3553
  /** 备注私密属性(默认为公开) */
2594
- privacy?: 1 | 2
3554
+ privacy?: CreateHireNoteRequestPrivacy
2595
3555
  /** 是否通知被@的用户 */
2596
3556
  notify_mentioned_user?: boolean
2597
3557
  /** 被@用户列表 */
@@ -2603,6 +3563,10 @@ export interface CreateHireNoteQuery {
2603
3563
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2604
3564
  }
2605
3565
 
3566
+ export interface CreateHireNoteResponse {
3567
+ note?: Note
3568
+ }
3569
+
2606
3570
  export interface PatchHireNoteRequest {
2607
3571
  /** 备注内容 */
2608
3572
  content: string
@@ -2619,11 +3583,21 @@ export interface PatchHireNoteQuery {
2619
3583
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2620
3584
  }
2621
3585
 
3586
+ export interface PatchHireNoteResponse {
3587
+ /** 备注数据 */
3588
+ note?: Note
3589
+ }
3590
+
2622
3591
  export interface GetHireNoteQuery {
2623
3592
  /** 此次调用中使用的用户ID的类型 */
2624
3593
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2625
3594
  }
2626
3595
 
3596
+ export interface GetHireNoteResponse {
3597
+ /** 备注数据 */
3598
+ note?: Note
3599
+ }
3600
+
2627
3601
  export interface ListHireNoteQuery extends Pagination {
2628
3602
  /** 人才ID */
2629
3603
  talent_id: string
@@ -2786,6 +3760,11 @@ export interface EnableHireReferralAccountQuery {
2786
3760
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2787
3761
  }
2788
3762
 
3763
+ export interface EnableHireReferralAccountResponse {
3764
+ /** 账号信息 */
3765
+ account?: Account
3766
+ }
3767
+
2789
3768
  export interface GetAccountAssetsHireReferralAccountQuery {
2790
3769
  /** 账户 ID */
2791
3770
  referral_account_id: string
@@ -2793,6 +3772,11 @@ export interface GetAccountAssetsHireReferralAccountQuery {
2793
3772
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2794
3773
  }
2795
3774
 
3775
+ export interface GetAccountAssetsHireReferralAccountResponse {
3776
+ /** 账户信息 */
3777
+ account?: Account
3778
+ }
3779
+
2796
3780
  export interface CreateHireReferralAccountRequest {
2797
3781
  /** 电话 */
2798
3782
  mobile?: Mobile
@@ -2805,18 +3789,44 @@ export interface CreateHireReferralAccountQuery {
2805
3789
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2806
3790
  }
2807
3791
 
3792
+ export interface CreateHireReferralAccountResponse {
3793
+ /** 账号信息 */
3794
+ account?: Account
3795
+ }
3796
+
2808
3797
  export interface DeactivateHireReferralAccountQuery {
2809
3798
  /** 此次调用中使用的用户ID的类型 */
2810
3799
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
2811
3800
  }
2812
3801
 
3802
+ export interface DeactivateHireReferralAccountResponse {
3803
+ /** 账号信息 */
3804
+ account?: Account
3805
+ }
3806
+
3807
+ export const enum WithdrawHireReferralAccountRequestWithdrawBonusType {
3808
+ /** 积分 */
3809
+ Point = 1,
3810
+ /** 现金 */
3811
+ Cash = 2,
3812
+ }
3813
+
2813
3814
  export interface WithdrawHireReferralAccountRequest {
2814
3815
  /** 请求提现的奖励类型 */
2815
- withdraw_bonus_type: (1 | 2)[]
3816
+ withdraw_bonus_type: WithdrawHireReferralAccountRequestWithdrawBonusType[]
2816
3817
  /** 提现单ID,请求时由请求方提供,后续关于本次提现操作的交互都以此提现单ID为标识进行,需要保证唯一,用于保证提现的幂等性,传入重复ID会返回对应提现单提取的金额明细 */
2817
3818
  external_order_id: string
2818
3819
  }
2819
3820
 
3821
+ export interface WithdrawHireReferralAccountResponse {
3822
+ /** 请求时传入的提现单ID */
3823
+ external_order_id?: string
3824
+ /** 交易时间戳,需要保存,用于统一交易时间,方便对账 */
3825
+ trans_time?: string
3826
+ /** 本次提现金额明细 */
3827
+ withdrawal_details?: BonusAmount
3828
+ }
3829
+
2820
3830
  export interface ReconciliationHireReferralAccountRequest {
2821
3831
  /** 按时间范围进行对账时 时间段的起始交易时间 */
2822
3832
  start_trans_time: string
@@ -2826,11 +3836,31 @@ export interface ReconciliationHireReferralAccountRequest {
2826
3836
  trade_details?: TradeDetail[]
2827
3837
  }
2828
3838
 
3839
+ export interface ReconciliationHireReferralAccountResponse {
3840
+ /** 核对失败的信息 */
3841
+ check_failed_list?: CheckFailedAccountInfo[]
3842
+ }
3843
+
3844
+ export interface CreateHireAttachmentResponse {
3845
+ /** 上传文件的 id */
3846
+ id?: string
3847
+ }
3848
+
2829
3849
  export interface GetHireAttachmentQuery {
2830
3850
  /** 附件类型 */
2831
3851
  type?: 1 | 2 | 3
2832
3852
  }
2833
3853
 
3854
+ export interface GetHireAttachmentResponse {
3855
+ /** 附件信息 */
3856
+ attachment?: Attachment
3857
+ }
3858
+
3859
+ export interface PreviewHireAttachmentResponse {
3860
+ /** 预览链接 */
3861
+ url: string
3862
+ }
3863
+
2834
3864
  export interface ListHireApplicationInterviewQuery extends Pagination {
2835
3865
  /** 此次调用中使用的用户ID的类型 */
2836
3866
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
@@ -2857,561 +3887,21 @@ export interface GetHireJobManagerQuery {
2857
3887
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id'
2858
3888
  }
2859
3889
 
2860
- export interface GetHireRoleResponse {
2861
- /** 角色详情 */
2862
- role?: RoleDetail
2863
- }
2864
-
2865
- export interface CombinedCreateHireJobResponse {
2866
- /** 职位广告 */
2867
- default_job_post?: CombinedJobResultDefaultJobPost
2868
- /** 职位 */
2869
- job?: Job
2870
- /** 职位负责人 */
2871
- job_manager?: JobManager
2872
- /** 面试登记表 */
2873
- interview_registration_schema_info?: RegistrationSchemaInfo
2874
- /** 入职登记表 */
2875
- onboard_registration_schema_info?: RegistrationSchemaInfo
2876
- /** 目标专业 */
2877
- target_major_list?: TargetMajorInfo[]
2878
- /** 官网申请表 */
2879
- portal_website_apply_form_schema_info?: RegistrationSchemaInfo
2880
- }
2881
-
2882
- export interface CombinedUpdateHireJobResponse {
2883
- /** 职位广告 */
2884
- default_job_post?: CombinedJobResultDefaultJobPost
2885
- /** 职位 */
2886
- job?: Job
2887
- /** 职位负责人 */
2888
- job_manager?: JobManager
2889
- /** 官网申请表 */
2890
- portal_website_apply_form_schema_info?: RegistrationSchemaInfo
2891
- }
2892
-
2893
- export interface UpdateConfigHireJobResponse {
2894
- job_config?: JobConfigResult
2895
- }
2896
-
2897
- export interface BatchUpdateHireJobManagerResponse {
2898
- /** 职位负责人 */
2899
- job_manager?: JobManager
2900
- }
2901
-
2902
- export interface GetDetailHireJobResponse {
2903
- /** 职位详情数据 */
2904
- job_detail?: JobDetail
2905
- }
2906
-
2907
- export interface GetHireJobResponse {
2908
- /** 职位数据 */
2909
- job?: Job
2910
- }
2911
-
2912
- export interface RecruiterHireJobResponse {
3890
+ export interface GetHireJobManagerResponse {
2913
3891
  /** 职位负责人 */
2914
- info?: JobRecruiter2
2915
- }
2916
-
2917
- export interface ConfigHireJobResponse {
2918
- job_config?: JobConfigResult
2919
- }
2920
-
2921
- export interface CreateHireJobRequirementResponse {
2922
- job_requirement?: JobRequirementDto
2923
- }
2924
-
2925
- export interface ListByIdHireJobRequirementResponse {
2926
- /** 招聘需求列表 */
2927
- items?: JobRequirementDto[]
2928
- }
2929
-
2930
- export interface ListHireInterviewRoundTypeResponse {
2931
- /** 是否启用面试轮次类型 */
2932
- active_status?: 1 | 2
2933
- /** 列表 */
2934
- items?: InterviewRoundType[]
2935
- }
2936
-
2937
- export interface PatchHireInterviewerResponse {
2938
- /** 面试官信息 */
2939
- interviewer?: Interviewer
2940
- }
2941
-
2942
- export interface GetHireOfferApplicationFormResponse {
2943
- /** Offer 申请表详情 */
2944
- offer_apply_form?: OfferApplyFormInfo
2945
- }
2946
-
2947
- export interface SearchHireReferralResponse {
2948
- /** 内推信息列表 */
2949
- items?: ReferralInfo[]
2950
- }
2951
-
2952
- export interface GetHireReferralWebsiteJobPostResponse {
2953
- job_post?: PortalJobPost
2954
- }
2955
-
2956
- export interface GetByApplicationHireReferralResponse {
2957
- /** 内推信息 */
2958
- referral?: Referral
2959
- }
2960
-
2961
- export interface CreateHireWebsiteChannelResponse {
2962
- /** 推广渠道 ID */
2963
- id?: string
2964
- /** 推广渠道名称 */
2965
- name?: string
2966
- /** 推广渠道链接 */
2967
- link?: string
2968
- /** 推广渠道推广码 */
2969
- code?: string
2970
- }
2971
-
2972
- export interface UpdateHireWebsiteChannelResponse {
2973
- /** 推广渠道 ID */
2974
- id?: string
2975
- /** 推广渠道名称 */
2976
- name?: string
2977
- /** 推广渠道链接 */
2978
- link?: string
2979
- /** 推广渠道推广码 */
2980
- code?: string
2981
- }
2982
-
2983
- export interface CreateHireWebsiteSiteUserResponse {
2984
- site_user?: WebsiteUser
2985
- }
2986
-
2987
- export interface GetHireWebsiteJobPostResponse {
2988
- job_post?: WebsiteJobPost
2989
- }
2990
-
2991
- export interface CreateByResumeHireWebsiteDeliveryResponse {
2992
- delivery?: WebsiteDeliveryDto
2993
- }
2994
-
2995
- export interface CreateByAttachmentHireWebsiteDeliveryResponse {
2996
- /** 异步任务 ID */
2997
- task_id?: string
2998
- }
2999
-
3000
- export interface GetHireWebsiteDeliveryTaskResponse {
3001
- /** 任务状态 */
3002
- status?: 0 | 1 | 2 | 3
3003
- /** 官网投递信息 */
3004
- delivery?: WebsiteDeliveryDto
3005
- /** 状态信息,仅 status 为 3 时返回 */
3006
- status_msg?: string
3007
- /** 附加信息,当前返回投递 ID,仅当 status 为 3 且 status_msg 标识为重复投递时,将返回重复投递的 ID */
3008
- extra_info?: string
3892
+ info?: JobManager
3009
3893
  }
3010
3894
 
3011
- export interface GetHireAgencyResponse {
3012
- /** 数据 */
3013
- agency?: Agency
3014
- }
3015
-
3016
- export interface ProtectSearchHireAgencyResponse {
3017
- /** 是否已入职 */
3018
- is_onboarded?: boolean
3019
- /** 是否在猎头保护期内入职 */
3020
- onboarded_in_protection?: boolean
3021
- /** 入职所在保护期 */
3022
- onboarded_protection?: AgencyProtection
3023
- /** 人才保护信息 */
3024
- protection_list?: AgencyProtection[]
3025
- }
3026
-
3027
- export interface QueryHireAgencyResponse {
3028
- items?: Agency[]
3029
- }
3030
-
3031
- export interface CreateHireTalentExternalInfoResponse {
3032
- /** 人才外部信息 */
3033
- external_info?: TalentExternalInfo
3034
- }
3035
-
3036
- export interface UpdateHireTalentExternalInfoResponse {
3037
- /** 人才外部信息 */
3038
- external_info?: TalentExternalInfo
3039
- }
3040
-
3041
- export interface CreateHireExternalApplicationResponse {
3042
- external_application?: ExternalApplication
3043
- }
3044
-
3045
- export interface UpdateHireExternalApplicationResponse {
3046
- external_application?: ExternalApplication
3047
- }
3048
-
3049
- export interface DeleteHireExternalApplicationResponse {
3050
- external_application?: ExternalApplication
3051
- }
3052
-
3053
- export interface CreateHireExternalInterviewResponse {
3054
- external_interview?: ExternalInterview
3055
- }
3056
-
3057
- export interface UpdateHireExternalInterviewResponse {
3058
- external_interview?: ExternalInterview
3059
- }
3060
-
3061
- export interface CreateHireExternalInterviewAssessmentResponse {
3062
- external_interview_assessment?: ExternalInterviewAssessment
3063
- }
3064
-
3065
- export interface PatchHireExternalInterviewAssessmentResponse {
3066
- external_interview_assessment?: ExternalInterviewAssessment
3067
- }
3068
-
3069
- export interface CreateHireExternalOfferResponse {
3070
- external_offer?: ExternalOffer
3071
- }
3072
-
3073
- export interface UpdateHireExternalOfferResponse {
3074
- external_offer?: ExternalOffer
3075
- }
3076
-
3077
- export interface CreateHireExternalBackgroundCheckResponse {
3078
- external_background_check?: ExternalBackgroundCheck
3079
- }
3080
-
3081
- export interface UpdateHireExternalBackgroundCheckResponse {
3082
- external_background_check?: ExternalBackgroundCheck
3083
- }
3084
-
3085
- export interface CreateHireExternalReferralRewardResponse {
3086
- /** 创建的内推奖励的id */
3087
- id?: string
3088
- }
3089
-
3090
- export interface MoveTalentHireTalentPoolResponse {
3091
- /** 人才库ID */
3092
- talent_pool_id?: string
3093
- /** 人才ID */
3094
- talent_id?: string
3095
- }
3096
-
3097
- export interface CombinedCreateHireTalentResponse {
3098
- /** 人才 ID */
3099
- talent_id?: string
3100
- /** 创建人 ID */
3101
- creator_id?: string
3102
- /** 创建人类型 */
3103
- creator_account_type?: 1 | 3
3104
- }
3105
-
3106
- export interface CombinedUpdateHireTalentResponse {
3107
- /** 人才 ID */
3108
- talent_id?: string
3109
- /** 更新人 ID */
3110
- operator_id?: string
3111
- /** 更新人类型 */
3112
- operator_account_type?: 1 | 3
3113
- }
3114
-
3115
- export interface AddToFolderHireTalentResponse {
3116
- /** 人才 ID 列表 */
3117
- talent_id_list?: string[]
3118
- /** 文件夹 ID */
3119
- folder_id?: string
3120
- }
3121
-
3122
- export interface RemoveToFolderHireTalentResponse {
3123
- /** 人才 ID 列表 */
3124
- talent_id_list?: string[]
3125
- /** 文件夹 ID */
3126
- folder_id?: string
3127
- }
3128
-
3129
- export interface BatchGetIdHireTalentResponse {
3130
- /** 人才信息列表 */
3131
- talent_list?: TalentBatchInfo[]
3132
- }
3133
-
3134
- export interface QueryHireTalentObjectResponse {
3135
- items?: CommonSchema[]
3136
- }
3137
-
3138
- export interface GetHireTalentResponse {
3139
- /** 人才信息 */
3140
- talent?: Talent
3141
- }
3142
-
3143
- export interface GetHireTalentResponse {
3144
- /** ID */
3145
- talent_id?: string
3146
- /** 基础信息 */
3147
- basic_info?: CompositeTalentBasicInfo
3148
- /** 教育经历 */
3149
- education_list?: CompositeTalentEducationInfo[]
3150
- /** 工作经历 */
3151
- career_list?: CompositeTalentCareerInfo[]
3152
- /** 项目经历 */
3153
- project_list?: CompositeTalentProjectInfo[]
3154
- /** 作品集 */
3155
- works_list?: CompositeTalentWorksInfo[]
3156
- /** 获奖列表 */
3157
- award_list?: CompositeTalentAwardInfo[]
3158
- /** 语言列表 */
3159
- language_list?: CompositeTalentLanguageInfo[]
3160
- /** SNS列表 */
3161
- sns_list?: CompositeTalentSnsInfo[]
3162
- /** 简历来源 */
3163
- resume_source_list?: TalentResumeSource[]
3164
- /** 实习经历 */
3165
- internship_list?: CompositeTalentInternshipInfo[]
3166
- /** 自定义字段 */
3167
- customized_data_list?: CompositeTalentCustomizedData[]
3168
- /** 简历附件id列表(按照简历创建时间降序)(废弃,请使用resume_attachment_list代替) */
3169
- resume_attachment_id_list?: string[]
3170
- /** 简历附件列表(按照简历创建时间降序) */
3171
- resume_attachment_list?: TalentResumeAttachment[]
3172
- /** 面试登记表 */
3173
- interview_registration_list?: TalentInterviewRegistrationSimple[]
3174
- /** 登记表列表 */
3175
- registration_list?: RegistrationBasicInfo[]
3176
- /** 是否已入职 */
3177
- is_onboarded?: boolean
3178
- /** 是否在猎头保护期 */
3179
- is_in_agency_period?: boolean
3180
- /** 最高学历 参考 DegreeType 枚举 */
3181
- top_degree?: number
3182
- /** 人才已加入的人才库列表 */
3183
- talent_pool_id_list?: string[]
3184
- /** 文件夹列表 */
3185
- talent_folder_ref_list_v2?: TalentFolder[]
3186
- /** 标签列表 */
3187
- tag_list?: TalentTag[]
3188
- /** 相似人才信息 */
3189
- similar_info_v2?: TalentSimilar
3190
- /** 人才黑名单详情 */
3191
- block_info?: TalentBlock
3192
- /** 人才已经加入的人才库列表 */
3193
- talent_pool_ref_list_v2?: TalentPool[]
3194
- /** 备注列表 */
3195
- note_list_v2?: TalentNote[]
3196
- }
3197
-
3198
- export interface GetDetailHireApplicationResponse {
3199
- /** 投递详情 */
3200
- application_detail?: ApplicationDetailInfo
3201
- }
3202
-
3203
- export interface CreateHireApplicationResponse {
3204
- /** 投递ID */
3205
- id?: string
3206
- }
3207
-
3208
- export interface GetHireApplicationResponse {
3209
- /** 投递数据 */
3210
- application?: Application
3211
- }
3212
-
3213
- export interface SearchHireDiversityInclusionResponse {
3214
- /** 多元化与包容性信息列表 */
3215
- items?: DiInfo[]
3216
- }
3217
-
3218
- export interface CreateHireExamResponse {
3219
- /** 笔试 ID */
3220
- exam_id?: string
3221
- /** 投递 ID */
3222
- application_id?: string
3223
- /** 试卷名称 */
3224
- exam_resource_name?: string
3225
- /** 笔试分数 */
3226
- score?: number
3227
- /** 附件ID */
3228
- uuid?: string
3229
- /** 操作人 ID */
3230
- operator_id?: string
3231
- /** 操作时间 */
3232
- operate_time?: string
3233
- }
3234
-
3235
- export interface GetByTalentHireInterviewResponse {
3236
- /** 投递面试列表 */
3237
- items?: TalentInterview[]
3238
- }
3239
-
3240
- export interface GetHireInterviewRecordResponse {
3241
- /** 数据 */
3242
- interview_record?: InterviewRecord
3243
- }
3244
-
3245
- export interface GetHireInterviewRecordResponse {
3246
- interview_record?: InterviewRecord
3247
- }
3248
-
3249
- export interface GetHireInterviewRecordAttachmentResponse {
3250
- /** 附件信息 */
3251
- attachment?: AttachmentInfo
3252
- }
3253
-
3254
- export interface GetHireMinutesResponse {
3255
- minutes?: Minutes
3256
- /** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
3257
- page_token?: string
3258
- /** 对应面试是否还有更多项 */
3259
- has_more?: boolean
3260
- }
3261
-
3262
- export interface CreateHireOfferResponse {
3263
- /** Offer ID */
3264
- offer_id?: string
3265
- /** 投递 ID */
3266
- application_id?: string
3267
- /** 模板 ID */
3268
- schema_id?: string
3269
- /** Offer 类型 */
3270
- offer_type?: 1 | 2
3271
- /** Offer 基本信息 */
3272
- basic_info?: OfferBasicInfo
3273
- /** Offer 薪资信息 */
3274
- salary_info?: OfferSalaryInfo
3275
- /** 自定义信息 */
3276
- customized_info_list?: OfferCustomizedInfo[]
3277
- }
3278
-
3279
- export interface UpdateHireOfferResponse {
3280
- /** Offer ID */
3281
- offer_id?: string
3282
- /** 模板 ID */
3283
- schema_id?: string
3284
- /** Offer 基本信息 */
3285
- basic_info?: OfferBasicInfo
3286
- /** Offer 薪资信息 */
3287
- salary_info?: OfferSalaryInfo
3288
- /** 自定义信息 */
3289
- customized_info_list?: OfferCustomizedInfo[]
3290
- }
3291
-
3292
- export interface OfferHireApplicationResponse {
3293
- offer?: ApplicationOffer
3294
- }
3295
-
3296
- export interface GetHireOfferResponse {
3297
- /** Offer 详情 */
3298
- offer?: Offer
3299
- }
3300
-
3301
- export interface InternOfferStatusHireOfferResponse {
3302
- /** Offer ID */
3303
- offer_id?: string
3304
- /** 更新入/离职状态的操作 */
3305
- operation: 'confirm_onboarding' | 'cancel_onboarding' | 'offboard'
3306
- /** 入职表单信息(当 operation 为 confirm_onboarding 时,该字段必填) */
3307
- onboarding_info?: InternOfferOnboardingInfo
3308
- /** 离职表单信息(当 operation 为 offboard 时,该字段必填) */
3309
- offboarding_info?: InternOfferOffboardingInfo
3310
- }
3311
-
3312
- export interface CreateHireTripartiteAgreementResponse {
3313
- /** 创建的三方协议的 id */
3314
- id?: string
3315
- }
3316
-
3317
- export interface UpdateHireTripartiteAgreementResponse {
3318
- /** 三方协议信息 */
3319
- tripartite_agreement?: TripartiteAgreementInfo
3320
- }
3321
-
3322
- export interface TransferOnboardHireApplicationResponse {
3323
- /** employee */
3324
- employee?: Employee
3325
- }
3326
-
3327
- export interface PatchHireEmployeeResponse {
3328
- /** 员工信息 */
3329
- employee?: Employee
3330
- }
3331
-
3332
- export interface GetByApplicationHireEmployeeResponse {
3333
- /** 员工信息 */
3334
- employee?: Employee
3335
- }
3336
-
3337
- export interface GetHireEmployeeResponse {
3338
- /** 员工信息 */
3339
- employee?: Employee
3340
- }
3341
-
3342
- export interface CreateHireNoteResponse {
3343
- note?: Note
3344
- }
3345
-
3346
- export interface PatchHireNoteResponse {
3347
- /** 备注数据 */
3348
- note?: Note
3349
- }
3350
-
3351
- export interface GetHireNoteResponse {
3352
- /** 备注数据 */
3353
- note?: Note
3354
- }
3355
-
3356
- export interface EnableHireReferralAccountResponse {
3357
- /** 账号信息 */
3358
- account?: Account
3359
- }
3360
-
3361
- export interface GetAccountAssetsHireReferralAccountResponse {
3362
- /** 账户信息 */
3363
- account?: Account
3364
- }
3365
-
3366
- export interface CreateHireReferralAccountResponse {
3367
- /** 账号信息 */
3368
- account?: Account
3369
- }
3370
-
3371
- export interface DeactivateHireReferralAccountResponse {
3372
- /** 账号信息 */
3373
- account?: Account
3374
- }
3375
-
3376
- export interface WithdrawHireReferralAccountResponse {
3377
- /** 请求时传入的提现单ID */
3378
- external_order_id?: string
3379
- /** 交易时间戳,需要保存,用于统一交易时间,方便对账 */
3380
- trans_time?: string
3381
- /** 本次提现金额明细 */
3382
- withdrawal_details?: BonusAmount
3383
- }
3384
-
3385
- export interface ReconciliationHireReferralAccountResponse {
3386
- /** 核对失败的信息 */
3387
- check_failed_list?: CheckFailedAccountInfo[]
3388
- }
3389
-
3390
- export interface CreateHireAttachmentResponse {
3391
- /** 上传文件的 id */
3392
- id?: string
3393
- }
3394
-
3395
- export interface GetHireAttachmentResponse {
3396
- /** 附件信息 */
3397
- attachment?: Attachment
3398
- }
3399
-
3400
- export interface PreviewHireAttachmentResponse {
3401
- /** 预览链接 */
3402
- url: string
3403
- }
3404
-
3405
- export interface GetHireJobManagerResponse {
3406
- /** 职位负责人 */
3407
- info?: JobManager
3895
+ export const enum GetHireOfferSchemaResponseScenario {
3896
+ /** Offer审批表 */
3897
+ ApplyOffer = 1,
3408
3898
  }
3409
3899
 
3410
3900
  export interface GetHireOfferSchemaResponse {
3411
3901
  /** offer申请表ID */
3412
3902
  id?: string
3413
3903
  /** offer申请表使用场景 */
3414
- scenario?: 1
3904
+ scenario?: GetHireOfferSchemaResponseScenario
3415
3905
  /** 申请表版本 */
3416
3906
  version?: number
3417
3907
  /** 字段对象信息 */