@satorijs/adapter-lark 3.9.0 → 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 (89) hide show
  1. package/lib/index.cjs +1091 -27
  2. package/lib/internal.d.ts +2 -3
  3. package/lib/types/acs.d.ts +19 -19
  4. package/lib/types/admin.d.ts +58 -32
  5. package/lib/types/aily.d.ts +52 -52
  6. package/lib/types/apaas.d.ts +96 -96
  7. package/lib/types/api.d.ts +14 -1
  8. package/lib/types/application.d.ts +153 -69
  9. package/lib/types/approval.d.ts +186 -154
  10. package/lib/types/attendance.d.ts +395 -353
  11. package/lib/types/auth.d.ts +18 -18
  12. package/lib/types/authen.d.ts +24 -24
  13. package/lib/types/baike.d.ts +42 -42
  14. package/lib/types/bitable.d.ts +276 -192
  15. package/lib/types/calendar.d.ts +144 -144
  16. package/lib/types/cardkit.d.ts +8 -8
  17. package/lib/types/contact.d.ts +209 -137
  18. package/lib/types/corehr.d.ts +761 -613
  19. package/lib/types/document_ai.d.ts +68 -68
  20. package/lib/types/docx.d.ts +103 -95
  21. package/lib/types/drive.d.ts +237 -229
  22. package/lib/types/ehr.d.ts +26 -2
  23. package/lib/types/helpdesk.d.ts +156 -148
  24. package/lib/types/hire.d.ts +954 -510
  25. package/lib/types/im.d.ts +446 -446
  26. package/lib/types/index.d.ts +72 -30
  27. package/lib/types/lingo.d.ts +28 -28
  28. package/lib/types/mail.d.ts +192 -192
  29. package/lib/types/minutes.d.ts +4 -4
  30. package/lib/types/okr.d.ts +86 -58
  31. package/lib/types/passport.d.ts +13 -5
  32. package/lib/types/payroll.d.ts +13 -5
  33. package/lib/types/performance.d.ts +85 -79
  34. package/lib/types/personal_settings.d.ts +12 -12
  35. package/lib/types/report.d.ts +11 -5
  36. package/lib/types/search.d.ts +48 -24
  37. package/lib/types/sheets.d.ts +64 -64
  38. package/lib/types/speech_to_text.d.ts +4 -4
  39. package/lib/types/task.d.ts +191 -185
  40. package/lib/types/translation.d.ts +4 -4
  41. package/lib/types/vc.d.ts +335 -155
  42. package/lib/types/wiki.d.ts +48 -48
  43. package/package.json +1 -1
  44. package/src/internal.ts +3 -4
  45. package/src/types/acs.ts +24 -24
  46. package/src/types/admin.ts +69 -39
  47. package/src/types/aily.ts +61 -61
  48. package/src/types/apaas.ts +113 -113
  49. package/src/types/application.ts +177 -83
  50. package/src/types/approval.ts +210 -174
  51. package/src/types/attendance.ts +466 -421
  52. package/src/types/auth.ts +20 -20
  53. package/src/types/authen.ts +28 -28
  54. package/src/types/baike.ts +55 -55
  55. package/src/types/bitable.ts +321 -235
  56. package/src/types/calendar.ts +167 -167
  57. package/src/types/cardkit.ts +10 -10
  58. package/src/types/contact.ts +251 -169
  59. package/src/types/corehr.ts +905 -736
  60. package/src/types/document_ai.ts +85 -85
  61. package/src/types/docx.ts +117 -108
  62. package/src/types/drive.ts +299 -290
  63. package/src/types/ehr.ts +28 -2
  64. package/src/types/helpdesk.ts +182 -173
  65. package/src/types/hire.ts +1081 -591
  66. package/src/types/im.ts +521 -521
  67. package/src/types/index.ts +73 -30
  68. package/src/types/lingo.ts +36 -36
  69. package/src/types/mail.ts +215 -215
  70. package/src/types/minutes.ts +5 -5
  71. package/src/types/okr.ts +98 -66
  72. package/src/types/passport.ts +15 -6
  73. package/src/types/payroll.ts +15 -6
  74. package/src/types/performance.ts +98 -91
  75. package/src/types/personal_settings.ts +15 -15
  76. package/src/types/report.ts +13 -6
  77. package/src/types/search.ts +57 -29
  78. package/src/types/sheets.ts +80 -80
  79. package/src/types/speech_to_text.ts +5 -5
  80. package/src/types/task.ts +238 -231
  81. package/src/types/translation.ts +5 -5
  82. package/src/types/vc.ts +386 -186
  83. package/src/types/wiki.ts +59 -59
  84. package/src/utils.ts +11 -6
  85. package/lib/index.cjs.map +0 -6
  86. package/lib/types/guild.d.ts +0 -59
  87. package/lib/types/message/asset.d.ts +0 -40
  88. package/lib/types/user.d.ts +0 -78
  89. package/lib/types/utils.d.ts +0 -9
@@ -904,6 +904,10 @@ export interface ListHireLocationQuery extends Pagination {
904
904
  /** 地址类型 */
905
905
  usage: 'position_location' | 'interview_location' | 'store_location';
906
906
  }
907
+ export interface GetHireRoleResponse {
908
+ /** 角色详情 */
909
+ role?: RoleDetail;
910
+ }
907
911
  export interface ListHireUserRoleQuery extends Pagination {
908
912
  /** 用户 ID */
909
913
  user_id?: string;
@@ -916,11 +920,61 @@ export interface ListHireUserRoleQuery extends Pagination {
916
920
  /** 此次调用中使用的用户ID的类型 */
917
921
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
918
922
  }
923
+ export declare const enum CombinedCreateHireJobRequestExperience {
924
+ /** 不限 */
925
+ NoLimit = 1,
926
+ /** 应届毕业生 */
927
+ Graduate = 2,
928
+ /** 1年以下 */
929
+ UnderOneYear = 3,
930
+ /** 1-3年 */
931
+ OneToThreeYear = 4,
932
+ /** 3-5年 */
933
+ ThreeToFiveYear = 5,
934
+ /** 5-7年 */
935
+ FiveToSevenYear = 6,
936
+ /** 7-10年 */
937
+ SevenToTenYear = 7,
938
+ /** 10年以上 */
939
+ OverTenYear = 8
940
+ }
941
+ export declare const enum CombinedCreateHireJobRequestProcessType {
942
+ /** 社招 */
943
+ SocialProcess = 1,
944
+ /** 校招 */
945
+ CampusProcess = 2
946
+ }
947
+ export declare const enum CombinedCreateHireJobRequestRequiredDegree {
948
+ /** 小学及以上 */
949
+ PrimaryEducation = 1,
950
+ /** 初中及以上 */
951
+ JuniorMiddleSchoolEducation = 2,
952
+ /** 专职及以上 */
953
+ Secondary = 3,
954
+ /** 高中及以上 */
955
+ SeniorSchoolGraduates = 4,
956
+ /** 大专及以上 */
957
+ Associate = 5,
958
+ /** 本科及以上 */
959
+ Bachelor = 6,
960
+ /** 硕士及以上 */
961
+ Master = 7,
962
+ /** 博士及以上 */
963
+ Phd = 8,
964
+ /** 不限 */
965
+ NoLimit = 20
966
+ }
967
+ export declare const enum CombinedCreateHireJobRequestJobAttribute {
968
+ /** 实体职位 */
969
+ Concrete = 1,
970
+ /** 虚拟职位 */
971
+ Virtual = 2
972
+ }
919
973
  export interface CombinedCreateHireJobRequest {
920
974
  /** 职位编号,可传入职位的「职位编号」、「职位 ID」或者「职位序号」,将以传入的参数作为职位编号,以便双方系统的数据映射 */
921
975
  code?: string;
922
976
  /** 工作年限 */
923
- experience?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
977
+ experience?: CombinedCreateHireJobRequestExperience;
924
978
  /** 到期日期,请使用 */
925
979
  expiry_time?: number;
926
980
  /** 自定义字段 */
@@ -936,7 +990,7 @@ export interface CombinedCreateHireJobRequest {
936
990
  /** 招聘流程,枚举通过接口「获取招聘流程信息」获取 */
937
991
  job_process_id: string;
938
992
  /** 职位流程类型 */
939
- process_type: 1 | 2;
993
+ process_type: CombinedCreateHireJobRequestProcessType;
940
994
  /** 项目,枚举通过「获取项目列表」获取 */
941
995
  subject_id?: string;
942
996
  /** 职能分类,通过「获取职能分类」获取 */
@@ -962,13 +1016,13 @@ export interface CombinedCreateHireJobRequest {
962
1016
  /** 雇佣类型 */
963
1017
  recruitment_type_id: string;
964
1018
  /** 学历要求 */
965
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20;
1019
+ required_degree?: CombinedCreateHireJobRequestRequiredDegree;
966
1020
  /** 序列 */
967
1021
  job_category_id?: string;
968
1022
  /** 工作地点,枚举通过接口「获取地址列表」获取,选择地点用途为「职位地址」 */
969
1023
  address_id_list?: string[];
970
1024
  /** 职位属性,1是实体职位,2是虚拟职位 */
971
- job_attribute?: 1 | 2;
1025
+ job_attribute?: CombinedCreateHireJobRequestJobAttribute;
972
1026
  /** 到期日期的毫秒时间戳 */
973
1027
  expiry_timestamp?: string;
974
1028
  /** 面试登记表ID */
@@ -990,11 +1044,71 @@ export interface CombinedCreateHireJobQuery {
990
1044
  /** 此次调用中使用的「序列 ID」的类型 */
991
1045
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id';
992
1046
  }
1047
+ export interface CombinedCreateHireJobResponse {
1048
+ /** 职位广告 */
1049
+ default_job_post?: CombinedJobResultDefaultJobPost;
1050
+ /** 职位 */
1051
+ job?: Job;
1052
+ /** 职位负责人 */
1053
+ job_manager?: JobManager;
1054
+ /** 面试登记表 */
1055
+ interview_registration_schema_info?: RegistrationSchemaInfo;
1056
+ /** 入职登记表 */
1057
+ onboard_registration_schema_info?: RegistrationSchemaInfo;
1058
+ /** 目标专业 */
1059
+ target_major_list?: TargetMajorInfo[];
1060
+ /** 官网申请表 */
1061
+ portal_website_apply_form_schema_info?: RegistrationSchemaInfo;
1062
+ }
1063
+ export declare const enum CombinedUpdateHireJobRequestExperience {
1064
+ /** 不限 */
1065
+ NoLimit = 1,
1066
+ /** 应届毕业生 */
1067
+ Graduate = 2,
1068
+ /** 1年以下 */
1069
+ UnderOneYear = 3,
1070
+ /** 1-3年 */
1071
+ OneToThreeYear = 4,
1072
+ /** 3-5年 */
1073
+ ThreeToFiveYear = 5,
1074
+ /** 5-7年 */
1075
+ FiveToSevenYear = 6,
1076
+ /** 7-10年 */
1077
+ SevenToTenYear = 7,
1078
+ /** 10年以上 */
1079
+ OverTenYear = 8
1080
+ }
1081
+ export declare const enum CombinedUpdateHireJobRequestRequiredDegree {
1082
+ /** 小学及以上 */
1083
+ PrimaryEducation = 1,
1084
+ /** 初中及以上 */
1085
+ JuniorMiddleSchoolEducation = 2,
1086
+ /** 专职及以上 */
1087
+ Secondary = 3,
1088
+ /** 高中及以上 */
1089
+ SeniorSchoolGraduates = 4,
1090
+ /** 大专及以上 */
1091
+ Associate = 5,
1092
+ /** 本科及以上 */
1093
+ Bachelor = 6,
1094
+ /** 硕士及以上 */
1095
+ Master = 7,
1096
+ /** 博士及以上 */
1097
+ Phd = 8,
1098
+ /** 不限 */
1099
+ NoLimit = 20
1100
+ }
1101
+ export declare const enum CombinedUpdateHireJobRequestJobAttribute {
1102
+ /** 实体职位 */
1103
+ Concrete = 1,
1104
+ /** 虚拟职位 */
1105
+ Virtual = 2
1106
+ }
993
1107
  export interface CombinedUpdateHireJobRequest {
994
1108
  /** 职位 ID */
995
1109
  id?: string;
996
1110
  /** 工作年限 */
997
- experience?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
1111
+ experience?: CombinedUpdateHireJobRequestExperience;
998
1112
  /** 到期日期,请使用 */
999
1113
  expiry_time?: number;
1000
1114
  /** 自定义字段 */
@@ -1032,13 +1146,13 @@ export interface CombinedUpdateHireJobRequest {
1032
1146
  /** 最高职级,枚举通过接口「获取职级列表」获取 */
1033
1147
  max_level_id?: string;
1034
1148
  /** 学历要求 */
1035
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20;
1149
+ required_degree?: CombinedUpdateHireJobRequestRequiredDegree;
1036
1150
  /** 序列 */
1037
1151
  job_category_id?: string;
1038
1152
  /** 工作地点,枚举通过接口「获取地址列表」获取,选择地点用途为「职位地址」 */
1039
1153
  address_id_list?: string[];
1040
1154
  /** 职位属性,1是实体职位,2是虚拟职位 */
1041
- job_attribute?: 1 | 2;
1155
+ job_attribute?: CombinedUpdateHireJobRequestJobAttribute;
1042
1156
  /** 到期日期的毫秒时间戳 */
1043
1157
  expiry_timestamp?: string;
1044
1158
  /** 目标专业ID List */
@@ -1054,6 +1168,16 @@ export interface CombinedUpdateHireJobQuery {
1054
1168
  /** 此次调用中使用的「序列 ID」的类型 */
1055
1169
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id';
1056
1170
  }
1171
+ export interface CombinedUpdateHireJobResponse {
1172
+ /** 职位广告 */
1173
+ default_job_post?: CombinedJobResultDefaultJobPost;
1174
+ /** 职位 */
1175
+ job?: Job;
1176
+ /** 职位负责人 */
1177
+ job_manager?: JobManager;
1178
+ /** 官网申请表 */
1179
+ portal_website_apply_form_schema_info?: RegistrationSchemaInfo;
1180
+ }
1057
1181
  export interface UpdateConfigHireJobRequest {
1058
1182
  /** Offer 申请表,枚举通过接口「获取 Offer 申请表列表」获取 */
1059
1183
  offer_apply_schema_id?: string;
@@ -1086,6 +1210,17 @@ export interface UpdateConfigHireJobQuery {
1086
1210
  /** 此次调用中使用的用户ID的类型 */
1087
1211
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1088
1212
  }
1213
+ export interface UpdateConfigHireJobResponse {
1214
+ job_config?: JobConfigResult;
1215
+ }
1216
+ export declare const enum BatchUpdateHireJobManagerRequestUpdateOption {
1217
+ /** 招聘负责人 */
1218
+ JobManager = 1,
1219
+ /** 招聘协助人 */
1220
+ Assistant = 2,
1221
+ /** 用人经理 */
1222
+ HireManager = 3
1223
+ }
1089
1224
  export interface BatchUpdateHireJobManagerRequest {
1090
1225
  /** 招聘负责人 ID */
1091
1226
  recruiter_id?: string;
@@ -1094,7 +1229,7 @@ export interface BatchUpdateHireJobManagerRequest {
1094
1229
  /** 用人经理 ID */
1095
1230
  hiring_manager_id_list?: string[];
1096
1231
  /** 更新的人员类型,可选值:1=招聘负责人; 2=招聘协助人; 3=用人经理; */
1097
- update_option_list: (1 | 2 | 3)[];
1232
+ update_option_list: BatchUpdateHireJobManagerRequestUpdateOption[];
1098
1233
  /** 操作者 ID */
1099
1234
  creator_id?: string;
1100
1235
  }
@@ -1102,6 +1237,10 @@ export interface BatchUpdateHireJobManagerQuery {
1102
1237
  /** 此次调用中使用的用户ID的类型 */
1103
1238
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1104
1239
  }
1240
+ export interface BatchUpdateHireJobManagerResponse {
1241
+ /** 职位负责人 */
1242
+ job_manager?: JobManager;
1243
+ }
1105
1244
  export interface GetDetailHireJobQuery {
1106
1245
  /** 此次调用中使用的用户ID的类型 */
1107
1246
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
@@ -1112,6 +1251,10 @@ export interface GetDetailHireJobQuery {
1112
1251
  /** 此次调用中使用的「序列 ID」的类型 */
1113
1252
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id';
1114
1253
  }
1254
+ export interface GetDetailHireJobResponse {
1255
+ /** 职位详情数据 */
1256
+ job_detail?: JobDetail;
1257
+ }
1115
1258
  export interface GetHireJobQuery {
1116
1259
  /** 此次调用中使用的用户ID的类型 */
1117
1260
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
@@ -1122,14 +1265,25 @@ export interface GetHireJobQuery {
1122
1265
  /** 此次调用中使用的「序列 ID」的类型 */
1123
1266
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id';
1124
1267
  }
1268
+ export interface GetHireJobResponse {
1269
+ /** 职位数据 */
1270
+ job?: Job;
1271
+ }
1125
1272
  export interface RecruiterHireJobQuery {
1126
1273
  /** 此次调用中使用的用户ID的类型 */
1127
1274
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1128
1275
  }
1276
+ export interface RecruiterHireJobResponse {
1277
+ /** 职位负责人 */
1278
+ info?: JobRecruiter2;
1279
+ }
1129
1280
  export interface ConfigHireJobQuery {
1130
1281
  /** 此次调用中使用的用户ID的类型 */
1131
1282
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1132
1283
  }
1284
+ export interface ConfigHireJobResponse {
1285
+ job_config?: JobConfigResult;
1286
+ }
1133
1287
  export interface ListHireJobQuery extends Pagination {
1134
1288
  /** 最早更新时间,毫秒级时间戳 */
1135
1289
  update_start_time?: string;
@@ -1172,13 +1326,67 @@ export interface SearchHireJobPublishRecordQuery extends Pagination {
1172
1326
  /** 此次调用中使用的「序列 ID」的类型 */
1173
1327
  job_family_id_type?: 'people_admin_job_category_id' | 'job_family_id';
1174
1328
  }
1329
+ export declare const enum CreateHireJobRequirementRequestDisplayProgress {
1330
+ /** 待启动 */
1331
+ WaitingStart = 1,
1332
+ /** 进行中 */
1333
+ OnGoing = 2,
1334
+ /** 已取消 */
1335
+ Canceled = 3,
1336
+ /** 已暂停 */
1337
+ Suspended = 4,
1338
+ /** 已完成 */
1339
+ Completed = 5,
1340
+ /** 已超期 */
1341
+ Expired = 6
1342
+ }
1343
+ export declare const enum CreateHireJobRequirementRequestCategory {
1344
+ /** 新增 */
1345
+ Addition = 1,
1346
+ /** 替换 */
1347
+ Replacement = 2
1348
+ }
1349
+ export declare const enum CreateHireJobRequirementRequestPriority {
1350
+ /** 高 */
1351
+ High = 1,
1352
+ /** 中 */
1353
+ Medium = 2,
1354
+ /** 低 */
1355
+ Low = 3
1356
+ }
1357
+ export declare const enum CreateHireJobRequirementRequestRequiredDegree {
1358
+ /** 小学及以上 */
1359
+ PrimaryEducation = 1,
1360
+ /** 初中及以上 */
1361
+ JuniorMiddleSchoolEducation = 2,
1362
+ /** 专职及以上 */
1363
+ Secondary = 3,
1364
+ /** 高中及以上 */
1365
+ SeniorSchoolGraduates = 4,
1366
+ /** 大专及以上 */
1367
+ Associate = 5,
1368
+ /** 本科及以上 */
1369
+ Bachelor = 6,
1370
+ /** 硕士及以上 */
1371
+ Master = 7,
1372
+ /** 博士及以上 */
1373
+ Phd = 8,
1374
+ /** 不限 */
1375
+ NoLimit = 20
1376
+ }
1377
+ export declare const enum CreateHireJobRequirementRequestProcessType {
1378
+ /** 社招 */
1379
+ Social = 1,
1380
+ /** 校招 */
1381
+ Campus = 2
1382
+ }
1175
1383
  export interface CreateHireJobRequirementRequest {
1176
1384
  /** 招聘需求编号 */
1177
1385
  short_code: string;
1178
1386
  /** 需求名称 */
1179
1387
  name: string;
1180
1388
  /** 需求状态 */
1181
- display_progress: 1 | 2 | 3 | 4 | 5 | 6;
1389
+ display_progress: CreateHireJobRequirementRequestDisplayProgress;
1182
1390
  /** 需求人数 */
1183
1391
  head_count: number;
1184
1392
  /** 职位性质 ID */
@@ -1192,7 +1400,7 @@ export interface CreateHireJobRequirementRequest {
1192
1400
  /** 职位序列 ID */
1193
1401
  sequence_id?: string;
1194
1402
  /** 需求类型 */
1195
- category?: 1 | 2;
1403
+ category?: CreateHireJobRequirementRequestCategory;
1196
1404
  /** 需求部门 ID */
1197
1405
  department_id?: string;
1198
1406
  /** 需求负责人 ID 列表 */
@@ -1206,9 +1414,9 @@ export interface CreateHireJobRequirementRequest {
1206
1414
  /** 预计完成日期,毫秒级时间戳 */
1207
1415
  deadline?: string;
1208
1416
  /** 招聘优先级 */
1209
- priority?: 1 | 2 | 3;
1417
+ priority?: CreateHireJobRequirementRequestPriority;
1210
1418
  /** 学历要求 */
1211
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20;
1419
+ required_degree?: CreateHireJobRequirementRequestRequiredDegree;
1212
1420
  /** 最高薪资 */
1213
1421
  max_salary?: string;
1214
1422
  /** 最低薪资 */
@@ -1220,7 +1428,7 @@ export interface CreateHireJobRequirementRequest {
1220
1428
  /** 自定义字段 */
1221
1429
  customized_data_list?: JobRequirementCustomizedData[];
1222
1430
  /** 支持的招聘类型列表 */
1223
- process_type?: 1 | 2;
1431
+ process_type?: CreateHireJobRequirementRequestProcessType;
1224
1432
  /** 招聘需求中的职位类别 */
1225
1433
  job_type_id?: string;
1226
1434
  /** 关联的职位 ID 列表 */
@@ -1242,11 +1450,68 @@ export interface CreateHireJobRequirementQuery {
1242
1450
  /** 此次调用中使用的「人员类型 ID」的类型 */
1243
1451
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
1244
1452
  }
1453
+ export interface CreateHireJobRequirementResponse {
1454
+ job_requirement?: JobRequirementDto;
1455
+ }
1456
+ export declare const enum UpdateHireJobRequirementRequestDisplayProgress {
1457
+ /** 待启动 */
1458
+ WaitingStart = 1,
1459
+ /** 进行中 */
1460
+ OnGoing = 2,
1461
+ /** 已取消 */
1462
+ Canceled = 3,
1463
+ /** 已暂停 */
1464
+ Suspended = 4,
1465
+ /** 已完成 */
1466
+ Completed = 5,
1467
+ /** 已超期 */
1468
+ Expired = 6
1469
+ }
1470
+ export declare const enum UpdateHireJobRequirementRequestCategory {
1471
+ /** 新增 */
1472
+ Addition = 1,
1473
+ /** 替换 */
1474
+ Replacement = 2
1475
+ }
1476
+ export declare const enum UpdateHireJobRequirementRequestPriority {
1477
+ /** 高 */
1478
+ High = 1,
1479
+ /** 中 */
1480
+ Medium = 2,
1481
+ /** 低 */
1482
+ Low = 3
1483
+ }
1484
+ export declare const enum UpdateHireJobRequirementRequestRequiredDegree {
1485
+ /** 小学及以上 */
1486
+ PrimaryEducation = 1,
1487
+ /** 初中及以上 */
1488
+ JuniorMiddleSchoolEducation = 2,
1489
+ /** 专职及以上 */
1490
+ Secondary = 3,
1491
+ /** 高中及以上 */
1492
+ SeniorSchoolGraduates = 4,
1493
+ /** 大专及以上 */
1494
+ Associate = 5,
1495
+ /** 本科及以上 */
1496
+ Bachelor = 6,
1497
+ /** 硕士及以上 */
1498
+ Master = 7,
1499
+ /** 博士及以上 */
1500
+ Phd = 8,
1501
+ /** 不限 */
1502
+ NoLimit = 20
1503
+ }
1504
+ export declare const enum UpdateHireJobRequirementRequestProcessType {
1505
+ /** 社招 */
1506
+ Social = 1,
1507
+ /** 校招 */
1508
+ Campus = 2
1509
+ }
1245
1510
  export interface UpdateHireJobRequirementRequest {
1246
1511
  /** 需求名称 */
1247
1512
  name: string;
1248
1513
  /** 需求状态 */
1249
- display_progress: 1 | 2 | 3 | 4 | 5 | 6;
1514
+ display_progress: UpdateHireJobRequirementRequestDisplayProgress;
1250
1515
  /** 需求人数 */
1251
1516
  head_count: number;
1252
1517
  /** 职位性质 ID */
@@ -1260,7 +1525,7 @@ export interface UpdateHireJobRequirementRequest {
1260
1525
  /** 职位序列 ID */
1261
1526
  sequence_id?: string;
1262
1527
  /** 需求类型 */
1263
- category?: 1 | 2;
1528
+ category?: UpdateHireJobRequirementRequestCategory;
1264
1529
  /** 需求部门 ID */
1265
1530
  department_id?: string;
1266
1531
  /** 需求负责人 ID 列表 */
@@ -1274,9 +1539,9 @@ export interface UpdateHireJobRequirementRequest {
1274
1539
  /** 预计完成日期,毫秒级时间戳 */
1275
1540
  deadline?: string;
1276
1541
  /** 招聘优先级 */
1277
- priority?: 1 | 2 | 3;
1542
+ priority?: UpdateHireJobRequirementRequestPriority;
1278
1543
  /** 学历要求 */
1279
- required_degree?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 20;
1544
+ required_degree?: UpdateHireJobRequirementRequestRequiredDegree;
1280
1545
  /** 最高薪资 */
1281
1546
  max_salary?: string;
1282
1547
  /** 最低薪资 */
@@ -1288,7 +1553,7 @@ export interface UpdateHireJobRequirementRequest {
1288
1553
  /** 自定义字段 */
1289
1554
  customized_data_list?: JobRequirementCustomizedData[];
1290
1555
  /** 支持的招聘类型列表 */
1291
- process_type?: 1 | 2;
1556
+ process_type?: UpdateHireJobRequirementRequestProcessType;
1292
1557
  /** 招聘需求中的职位类别 */
1293
1558
  job_type_id?: string;
1294
1559
  /** 关联的职位 ID 列表 */
@@ -1328,6 +1593,10 @@ export interface ListByIdHireJobRequirementQuery {
1328
1593
  /** 此次调用中使用的「人员类型 ID」的类型 */
1329
1594
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
1330
1595
  }
1596
+ export interface ListByIdHireJobRequirementResponse {
1597
+ /** 招聘需求列表 */
1598
+ items?: JobRequirementDto[];
1599
+ }
1331
1600
  export interface ListHireJobRequirementQuery extends Pagination {
1332
1601
  /** 职位ID */
1333
1602
  job_id?: string;
@@ -1366,9 +1635,17 @@ export interface ListHireTalentTagQuery extends Pagination {
1366
1635
  /** 包含停用 */
1367
1636
  include_inactive?: boolean;
1368
1637
  }
1638
+ export declare const enum ListHireRegistrationSchemaQueryScenario {
1639
+ /** 面试登记表 */
1640
+ InterviewRegistration = 5,
1641
+ /** 入职登记表 */
1642
+ OnboardRegistration = 6,
1643
+ /** 人才信息登记表 */
1644
+ InfoUpdateRegistration = 14
1645
+ }
1369
1646
  export interface ListHireRegistrationSchemaQuery extends Pagination {
1370
1647
  /** 登记表适用场景;不填表示获取全部类型信息登记表 */
1371
- scenario?: 5 | 6 | 14;
1648
+ scenario?: ListHireRegistrationSchemaQueryScenario;
1372
1649
  }
1373
1650
  export interface ListHireInterviewFeedbackFormQuery extends Pagination {
1374
1651
  /** 面试评价表ID列表, 如果使用此字段则会忽略其他参数 */
@@ -1378,11 +1655,21 @@ export interface ListHireInterviewRoundTypeQuery {
1378
1655
  /** 职位流程类型 */
1379
1656
  process_type?: 1 | 2;
1380
1657
  }
1658
+ export interface ListHireInterviewRoundTypeResponse {
1659
+ /** 是否启用面试轮次类型 */
1660
+ active_status?: 1 | 2;
1661
+ /** 列表 */
1662
+ items?: InterviewRoundType[];
1663
+ }
1664
+ export declare const enum ListHireInterviewerQueryVerifyStatus {
1665
+ NotVarified = 1,
1666
+ Varified = 2
1667
+ }
1381
1668
  export interface ListHireInterviewerQuery extends Pagination {
1382
1669
  /** 面试官userID列表 */
1383
1670
  user_ids?: string[];
1384
1671
  /** 认证状态 */
1385
- verify_status?: 1 | 2;
1672
+ verify_status?: ListHireInterviewerQueryVerifyStatus;
1386
1673
  /** 最早更新时间,毫秒时间戳 */
1387
1674
  earliest_update_time?: string;
1388
1675
  /** 最晚更新时间,毫秒时间戳 */
@@ -1398,12 +1685,20 @@ export interface PatchHireInterviewerQuery {
1398
1685
  /** 此次调用中使用的用户ID的类型 */
1399
1686
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1400
1687
  }
1688
+ export interface PatchHireInterviewerResponse {
1689
+ /** 面试官信息 */
1690
+ interviewer?: Interviewer;
1691
+ }
1401
1692
  export interface UpdateHireOfferCustomFieldRequest {
1402
1693
  /** 自定义字段名称 */
1403
1694
  name: I18n;
1404
1695
  /** 配置信息 */
1405
1696
  config?: OfferCustomFieldConfig;
1406
1697
  }
1698
+ export interface GetHireOfferApplicationFormResponse {
1699
+ /** Offer 申请表详情 */
1700
+ offer_apply_form?: OfferApplyFormInfo;
1701
+ }
1407
1702
  export interface SearchHireReferralRequest {
1408
1703
  /** 人才id */
1409
1704
  talent_id: string;
@@ -1416,9 +1711,19 @@ export interface SearchHireReferralQuery {
1416
1711
  /** 用户 ID 类型 */
1417
1712
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1418
1713
  }
1714
+ export interface SearchHireReferralResponse {
1715
+ /** 内推信息列表 */
1716
+ items?: ReferralInfo[];
1717
+ }
1718
+ export declare const enum ListHireReferralWebsiteJobPostQueryProcessType {
1719
+ /** 社招 */
1720
+ SocialProcess = 1,
1721
+ /** 校招 */
1722
+ CampusProcess = 2
1723
+ }
1419
1724
  export interface ListHireReferralWebsiteJobPostQuery extends Pagination {
1420
1725
  /** 招聘流程类型 */
1421
- process_type?: 1 | 2;
1726
+ process_type?: ListHireReferralWebsiteJobPostQueryProcessType;
1422
1727
  /** 用户 ID 类型 */
1423
1728
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1424
1729
  /** 此次调用中使用的部门 ID 的类型 */
@@ -1434,20 +1739,47 @@ export interface GetHireReferralWebsiteJobPostQuery {
1434
1739
  /** 此次调用中使用的「职级 ID」的类型 */
1435
1740
  job_level_id_type?: 'people_admin_job_level_id' | 'job_level_id';
1436
1741
  }
1742
+ export interface GetHireReferralWebsiteJobPostResponse {
1743
+ job_post?: PortalJobPost;
1744
+ }
1437
1745
  export interface GetByApplicationHireReferralQuery {
1438
1746
  /** 投递的 ID */
1439
1747
  application_id: string;
1440
1748
  /** 此次调用中使用的用户ID的类型 */
1441
1749
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1442
1750
  }
1751
+ export interface GetByApplicationHireReferralResponse {
1752
+ /** 内推信息 */
1753
+ referral?: Referral;
1754
+ }
1443
1755
  export interface CreateHireWebsiteChannelRequest {
1444
1756
  /** 推广渠道名称 */
1445
1757
  channel_name: string;
1446
1758
  }
1759
+ export interface CreateHireWebsiteChannelResponse {
1760
+ /** 推广渠道 ID */
1761
+ id?: string;
1762
+ /** 推广渠道名称 */
1763
+ name?: string;
1764
+ /** 推广渠道链接 */
1765
+ link?: string;
1766
+ /** 推广渠道推广码 */
1767
+ code?: string;
1768
+ }
1447
1769
  export interface UpdateHireWebsiteChannelRequest {
1448
1770
  /** 推广渠道名称 */
1449
1771
  channel_name: string;
1450
1772
  }
1773
+ export interface UpdateHireWebsiteChannelResponse {
1774
+ /** 推广渠道 ID */
1775
+ id?: string;
1776
+ /** 推广渠道名称 */
1777
+ name?: string;
1778
+ /** 推广渠道链接 */
1779
+ link?: string;
1780
+ /** 推广渠道推广码 */
1781
+ code?: string;
1782
+ }
1451
1783
  export interface CreateHireWebsiteSiteUserRequest {
1452
1784
  /** 姓名 */
1453
1785
  name?: string;
@@ -1460,6 +1792,9 @@ export interface CreateHireWebsiteSiteUserRequest {
1460
1792
  /** 国家码,请和电话一并提供,可从「获取地址码」查询 */
1461
1793
  mobile_country_code?: string;
1462
1794
  }
1795
+ export interface CreateHireWebsiteSiteUserResponse {
1796
+ site_user?: WebsiteUser;
1797
+ }
1463
1798
  export interface GetHireWebsiteJobPostQuery {
1464
1799
  /** 用户 ID 类型 */
1465
1800
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
@@ -1468,6 +1803,9 @@ export interface GetHireWebsiteJobPostQuery {
1468
1803
  /** 此次调用中使用的「职级 ID」的类型 */
1469
1804
  job_level_id_type?: 'people_admin_job_level_id' | 'job_level_id';
1470
1805
  }
1806
+ export interface GetHireWebsiteJobPostResponse {
1807
+ job_post?: WebsiteJobPost;
1808
+ }
1471
1809
  export interface SearchHireWebsiteJobPostRequest {
1472
1810
  /** 职位类型列表 */
1473
1811
  job_type_id_list?: string[];
@@ -1528,6 +1866,9 @@ export interface CreateByResumeHireWebsiteDeliveryQuery {
1528
1866
  /** 此次调用中使用的用户ID的类型 */
1529
1867
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1530
1868
  }
1869
+ export interface CreateByResumeHireWebsiteDeliveryResponse {
1870
+ delivery?: WebsiteDeliveryDto;
1871
+ }
1531
1872
  export interface CreateByAttachmentHireWebsiteDeliveryRequest {
1532
1873
  /** 职位广告 ID */
1533
1874
  job_post_id: string;
@@ -1548,6 +1889,20 @@ export interface CreateByAttachmentHireWebsiteDeliveryRequest {
1548
1889
  /** 身份证件号码(当该参数值与简历附件中的相关值不一致时,将以该参数值为准) */
1549
1890
  identification?: WebsiteDeliveryAttachmentIndentification;
1550
1891
  }
1892
+ export interface CreateByAttachmentHireWebsiteDeliveryResponse {
1893
+ /** 异步任务 ID */
1894
+ task_id?: string;
1895
+ }
1896
+ export interface GetHireWebsiteDeliveryTaskResponse {
1897
+ /** 任务状态 */
1898
+ status?: 0 | 1 | 2 | 3;
1899
+ /** 官网投递信息 */
1900
+ delivery?: WebsiteDeliveryDto;
1901
+ /** 状态信息,仅 status 为 3 时返回 */
1902
+ status_msg?: string;
1903
+ /** 附加信息,当前返回投递 ID,仅当 status 为 3 且 status_msg 标识为重复投递时,将返回重复投递的 ID */
1904
+ extra_info?: string;
1905
+ }
1551
1906
  export interface ProtectHireAgencyRequest {
1552
1907
  /** 人才ID */
1553
1908
  talent_id: string;
@@ -1574,23 +1929,54 @@ export interface GetHireAgencyQuery {
1574
1929
  /** 此次调用中使用的用户ID的类型 */
1575
1930
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1576
1931
  }
1932
+ export interface GetHireAgencyResponse {
1933
+ /** 数据 */
1934
+ agency?: Agency;
1935
+ }
1577
1936
  export interface ProtectSearchHireAgencyRequest {
1578
1937
  /** 人才id */
1579
1938
  talent_id: string;
1580
1939
  }
1940
+ export interface ProtectSearchHireAgencyResponse {
1941
+ /** 是否已入职 */
1942
+ is_onboarded?: boolean;
1943
+ /** 是否在猎头保护期内入职 */
1944
+ onboarded_in_protection?: boolean;
1945
+ /** 入职所在保护期 */
1946
+ onboarded_protection?: AgencyProtection;
1947
+ /** 人才保护信息 */
1948
+ protection_list?: AgencyProtection[];
1949
+ }
1581
1950
  export interface QueryHireAgencyQuery {
1582
1951
  /** 猎头供应商名称 */
1583
1952
  name: string;
1584
1953
  /** 此次调用中使用的用户ID的类型 */
1585
1954
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1586
1955
  }
1956
+ export interface QueryHireAgencyResponse {
1957
+ items?: Agency[];
1958
+ }
1959
+ export declare const enum GetAgencyAccountHireAgencyRequestStatus {
1960
+ /** 正常 */
1961
+ Normal = 0,
1962
+ /** 已禁用 */
1963
+ Enabled = 1,
1964
+ /** 已被猎头停用 */
1965
+ DisabledBySupplier = 2
1966
+ }
1967
+ export declare const enum GetAgencyAccountHireAgencyRequestRole {
1968
+ /** 管理员 */
1969
+ Manager = 0,
1970
+ /** 顾问 */
1971
+ Consultant = 1
1972
+ }
1587
1973
  export interface GetAgencyAccountHireAgencyRequest {
1588
1974
  /** 猎头供应商 ID */
1589
1975
  supplier_id: string;
1590
1976
  /** 猎头状态 */
1591
- status?: 0 | 1 | 2;
1977
+ status?: GetAgencyAccountHireAgencyRequestStatus;
1592
1978
  /** 角色 */
1593
- role?: 0 | 1;
1979
+ role?: GetAgencyAccountHireAgencyRequestRole;
1594
1980
  }
1595
1981
  export interface GetAgencyAccountHireAgencyQuery extends Pagination {
1596
1982
  /** 此次调用中使用的用户ID的类型 */
@@ -1608,9 +1994,15 @@ export interface BatchQueryHireAgencyQuery extends Pagination {
1608
1994
  /** 此次调用中使用的用户ID的类型 */
1609
1995
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1610
1996
  }
1997
+ export declare const enum OperateAgencyAccountHireAgencyRequestOption {
1998
+ /** 禁用 */
1999
+ Add = 1,
2000
+ /** 取消禁用 */
2001
+ Remove = 2
2002
+ }
1611
2003
  export interface OperateAgencyAccountHireAgencyRequest {
1612
2004
  /** 操作类型 */
1613
- option: 1 | 2;
2005
+ option: OperateAgencyAccountHireAgencyRequestOption;
1614
2006
  /** 猎头 ID */
1615
2007
  id: string;
1616
2008
  /** 禁用原因,仅当禁用操作时,必填 */
@@ -1620,15 +2012,39 @@ export interface CreateHireTalentExternalInfoRequest {
1620
2012
  /** 人才在外部系统创建时间 */
1621
2013
  external_create_time: string;
1622
2014
  }
2015
+ export interface CreateHireTalentExternalInfoResponse {
2016
+ /** 人才外部信息 */
2017
+ external_info?: TalentExternalInfo;
2018
+ }
1623
2019
  export interface UpdateHireTalentExternalInfoRequest {
1624
2020
  /** 人才在外部系统创建时间 */
1625
2021
  external_create_time: string;
1626
2022
  }
2023
+ export interface UpdateHireTalentExternalInfoResponse {
2024
+ /** 人才外部信息 */
2025
+ external_info?: TalentExternalInfo;
2026
+ }
2027
+ export declare const enum CreateHireExternalApplicationRequestJobRecruitmentType {
2028
+ /** 社招 */
2029
+ SocialRecruitment = 1,
2030
+ /** 校招 */
2031
+ CampusRecruitment = 2
2032
+ }
2033
+ export declare const enum CreateHireExternalApplicationRequestDeliveryType {
2034
+ /** HR 寻访 */
2035
+ HRVisit = 1,
2036
+ /** 候选人主动投递 */
2037
+ CandidateDelivery = 2,
2038
+ /** 人才推荐 */
2039
+ TalentRecommend = 3,
2040
+ /** 其他 */
2041
+ Others = 4
2042
+ }
1627
2043
  export interface CreateHireExternalApplicationRequest {
1628
2044
  /** 外部系统背调主键 (仅用于幂等) */
1629
2045
  external_id?: string;
1630
2046
  /** 职位招聘类型 */
1631
- job_recruitment_type?: 1 | 2;
2047
+ job_recruitment_type?: CreateHireExternalApplicationRequestJobRecruitmentType;
1632
2048
  /** 职位名称 */
1633
2049
  job_title?: string;
1634
2050
  /** 简历来源 */
@@ -1640,7 +2056,7 @@ export interface CreateHireExternalApplicationRequest {
1640
2056
  /** 终止原因 */
1641
2057
  termination_reason?: string;
1642
2058
  /** 投递类型 */
1643
- delivery_type?: 1 | 2 | 3 | 4;
2059
+ delivery_type?: CreateHireExternalApplicationRequestDeliveryType;
1644
2060
  /** 更新时间,招聘系统内用作投递在外部系统终止时间 */
1645
2061
  modify_time?: number;
1646
2062
  /** 投递在外部系统创建时间 */
@@ -1648,9 +2064,28 @@ export interface CreateHireExternalApplicationRequest {
1648
2064
  /** 终止类型 */
1649
2065
  termination_type?: string;
1650
2066
  }
2067
+ export interface CreateHireExternalApplicationResponse {
2068
+ external_application?: ExternalApplication;
2069
+ }
2070
+ export declare const enum UpdateHireExternalApplicationRequestJobRecruitmentType {
2071
+ /** 社招 */
2072
+ SocialRecruitment = 1,
2073
+ /** 校招 */
2074
+ CampusRecruitment = 2
2075
+ }
2076
+ export declare const enum UpdateHireExternalApplicationRequestDeliveryType {
2077
+ /** HR 寻访 */
2078
+ HRVisit = 1,
2079
+ /** 候选人主动投递 */
2080
+ CandidateDelivery = 2,
2081
+ /** 人才推荐 */
2082
+ TalentRecommend = 3,
2083
+ /** 其他 */
2084
+ Others = 4
2085
+ }
1651
2086
  export interface UpdateHireExternalApplicationRequest {
1652
2087
  /** 职位招聘类型 */
1653
- job_recruitment_type?: 1 | 2;
2088
+ job_recruitment_type?: UpdateHireExternalApplicationRequestJobRecruitmentType;
1654
2089
  /** 职位名称 */
1655
2090
  job_title?: string;
1656
2091
  /** 简历来源 */
@@ -1660,7 +2095,7 @@ export interface UpdateHireExternalApplicationRequest {
1660
2095
  /** 终止原因 */
1661
2096
  termination_reason?: string;
1662
2097
  /** 投递类型 */
1663
- delivery_type?: 1 | 2 | 3 | 4;
2098
+ delivery_type?: UpdateHireExternalApplicationRequestDeliveryType;
1664
2099
  /** 更新时间,招聘系统内用作投递在外部系统终止时间 */
1665
2100
  modify_time?: number;
1666
2101
  /** 投递在外部系统创建时间 */
@@ -1668,6 +2103,9 @@ export interface UpdateHireExternalApplicationRequest {
1668
2103
  /** 终止类型 */
1669
2104
  termination_type?: string;
1670
2105
  }
2106
+ export interface UpdateHireExternalApplicationResponse {
2107
+ external_application?: ExternalApplication;
2108
+ }
1671
2109
  export interface ListHireExternalApplicationQuery extends Pagination {
1672
2110
  /** 人才ID */
1673
2111
  talent_id: string;
@@ -1676,13 +2114,24 @@ export interface DeleteHireExternalApplicationQuery {
1676
2114
  /** 人才ID */
1677
2115
  talent_id?: string;
1678
2116
  }
2117
+ export interface DeleteHireExternalApplicationResponse {
2118
+ external_application?: ExternalApplication;
2119
+ }
2120
+ export declare const enum CreateHireExternalInterviewRequestParticipateStatus {
2121
+ /** 未参与 */
2122
+ NotStart = 1,
2123
+ /** 参与 */
2124
+ Participated = 2,
2125
+ /** 爽约 */
2126
+ NotPaticipated = 3
2127
+ }
1679
2128
  export interface CreateHireExternalInterviewRequest {
1680
2129
  /** 外部系统面试主键 (仅用于幂等) */
1681
2130
  external_id?: string;
1682
2131
  /** 外部投递 ID */
1683
2132
  external_application_id: string;
1684
2133
  /** 参与状态 */
1685
- participate_status?: 1 | 2 | 3;
2134
+ participate_status?: CreateHireExternalInterviewRequestParticipateStatus;
1686
2135
  /** 开始时间 */
1687
2136
  begin_time?: number;
1688
2137
  /** 结束时间 */
@@ -1690,11 +2139,22 @@ export interface CreateHireExternalInterviewRequest {
1690
2139
  /** 面试评价列表 */
1691
2140
  interview_assessments?: ExternalInterviewAssessment[];
1692
2141
  }
2142
+ export interface CreateHireExternalInterviewResponse {
2143
+ external_interview?: ExternalInterview;
2144
+ }
2145
+ export declare const enum UpdateHireExternalInterviewRequestParticipateStatus {
2146
+ /** 未参与 */
2147
+ NotStart = 1,
2148
+ /** 参与 */
2149
+ Participated = 2,
2150
+ /** 爽约 */
2151
+ NotPaticipated = 3
2152
+ }
1693
2153
  export interface UpdateHireExternalInterviewRequest {
1694
2154
  /** 外部投递 ID */
1695
2155
  external_application_id: string;
1696
2156
  /** 参与状态 */
1697
- participate_status?: 1 | 2 | 3;
2157
+ participate_status?: UpdateHireExternalInterviewRequestParticipateStatus;
1698
2158
  /** 开始时间 */
1699
2159
  begin_time?: number;
1700
2160
  /** 结束时间 */
@@ -1702,6 +2162,9 @@ export interface UpdateHireExternalInterviewRequest {
1702
2162
  /** 面试评价列表 */
1703
2163
  interview_assessments?: ExternalInterviewAssessment[];
1704
2164
  }
2165
+ export interface UpdateHireExternalInterviewResponse {
2166
+ external_interview?: ExternalInterview;
2167
+ }
1705
2168
  export interface BatchQueryHireExternalInterviewRequest {
1706
2169
  /** 外部面试 ID列表,当传递此值时,以此值为准 */
1707
2170
  external_interview_id_list?: string[];
@@ -1710,13 +2173,21 @@ export interface BatchQueryHireExternalInterviewQuery extends Pagination {
1710
2173
  /** 外部投递 ID */
1711
2174
  external_application_id?: string;
1712
2175
  }
2176
+ export declare const enum CreateHireExternalInterviewAssessmentRequestConclusion {
2177
+ /** 不通过 */
2178
+ Fail = 1,
2179
+ /** 通过 */
2180
+ Pass = 2,
2181
+ /** 待定 */
2182
+ ToBeDetermined = 3
2183
+ }
1713
2184
  export interface CreateHireExternalInterviewAssessmentRequest {
1714
2185
  /** 外部系统面评主键(仅用于幂等) */
1715
2186
  external_id?: string;
1716
2187
  /** 面试官姓名 */
1717
2188
  username?: string;
1718
2189
  /** 面试结果 */
1719
- conclusion?: 1 | 2 | 3;
2190
+ conclusion?: CreateHireExternalInterviewAssessmentRequestConclusion;
1720
2191
  /** 评价维度列表 */
1721
2192
  assessment_dimension_list?: ExternalInterviewAssessmentDimension[];
1722
2193
  /** 综合记录 */
@@ -1724,16 +2195,30 @@ export interface CreateHireExternalInterviewAssessmentRequest {
1724
2195
  /** 外部面试 ID */
1725
2196
  external_interview_id?: string;
1726
2197
  }
2198
+ export interface CreateHireExternalInterviewAssessmentResponse {
2199
+ external_interview_assessment?: ExternalInterviewAssessment;
2200
+ }
2201
+ export declare const enum PatchHireExternalInterviewAssessmentRequestConclusion {
2202
+ /** 不通过 */
2203
+ Fail = 1,
2204
+ /** 通过 */
2205
+ Pass = 2,
2206
+ /** 待定 */
2207
+ ToBeDetermined = 3
2208
+ }
1727
2209
  export interface PatchHireExternalInterviewAssessmentRequest {
1728
2210
  /** 面试官姓名 */
1729
2211
  username?: string;
1730
2212
  /** 面试结果 */
1731
- conclusion?: 1 | 2 | 3;
2213
+ conclusion?: PatchHireExternalInterviewAssessmentRequestConclusion;
1732
2214
  /** 评价维度列表 */
1733
2215
  assessment_dimension_list?: ExternalInterviewAssessmentDimension[];
1734
2216
  /** 综合记录 */
1735
2217
  content?: string;
1736
2218
  }
2219
+ export interface PatchHireExternalInterviewAssessmentResponse {
2220
+ external_interview_assessment?: ExternalInterviewAssessment;
2221
+ }
1737
2222
  export interface CreateHireExternalOfferRequest {
1738
2223
  /** 外部系统 Offer 主键(仅用于幂等) */
1739
2224
  external_id?: string;
@@ -1748,6 +2233,9 @@ export interface CreateHireExternalOfferRequest {
1748
2233
  /** Offer详情附件ID列表 */
1749
2234
  attachment_id_list?: string[];
1750
2235
  }
2236
+ export interface CreateHireExternalOfferResponse {
2237
+ external_offer?: ExternalOffer;
2238
+ }
1751
2239
  export interface UpdateHireExternalOfferRequest {
1752
2240
  /** 外部投递 ID */
1753
2241
  external_application_id: string;
@@ -1760,6 +2248,9 @@ export interface UpdateHireExternalOfferRequest {
1760
2248
  /** Offer详情附件ID列表 */
1761
2249
  attachment_id_list?: string[];
1762
2250
  }
2251
+ export interface UpdateHireExternalOfferResponse {
2252
+ external_offer?: ExternalOffer;
2253
+ }
1763
2254
  export interface BatchQueryHireExternalOfferRequest {
1764
2255
  /** 外部 Offer ID列表,当传递此值时,以此值为准 */
1765
2256
  external_offer_id_list?: string[];
@@ -1782,6 +2273,9 @@ export interface CreateHireExternalBackgroundCheckRequest {
1782
2273
  /** 背调附件ID列表 */
1783
2274
  attachment_id_list?: string[];
1784
2275
  }
2276
+ export interface CreateHireExternalBackgroundCheckResponse {
2277
+ external_background_check?: ExternalBackgroundCheck;
2278
+ }
1785
2279
  export interface UpdateHireExternalBackgroundCheckRequest {
1786
2280
  /** 外部投递 ID */
1787
2281
  external_application_id: string;
@@ -1794,6 +2288,9 @@ export interface UpdateHireExternalBackgroundCheckRequest {
1794
2288
  /** 背调附件ID列表 */
1795
2289
  attachment_id_list?: string[];
1796
2290
  }
2291
+ export interface UpdateHireExternalBackgroundCheckResponse {
2292
+ external_background_check?: ExternalBackgroundCheck;
2293
+ }
1797
2294
  export interface BatchQueryHireExternalBackgroundCheckRequest {
1798
2295
  /** 外部背调 ID 列表,当传递此值时,以此值为准 */
1799
2296
  external_background_check_id_list?: string[];
@@ -1802,6 +2299,26 @@ export interface BatchQueryHireExternalBackgroundCheckQuery extends Pagination {
1802
2299
  /** 外部投递 ID */
1803
2300
  external_application_id?: string;
1804
2301
  }
2302
+ export declare const enum CreateHireExternalReferralRewardRequestRuleType {
2303
+ /** 入职奖励,候选人入职或转正后产生的奖励 */
2304
+ Onboard = 1,
2305
+ /** 过程奖励,入职奖励外,若候选人有阶段性进展,则给予内推人对应的奖励 */
2306
+ Processe = 2,
2307
+ /** 活动奖励,额外奖励,用于支持内推周期性活动 */
2308
+ Active = 3,
2309
+ /** 开源奖励,若内推候选人首次进入人才库,且在被推荐后一段时间内,入职了规则内的任意职位的奖励 */
2310
+ OpenSource = 4,
2311
+ /** 其他奖励,以上奖励无法覆盖的奖励 */
2312
+ Other = 5
2313
+ }
2314
+ export declare const enum CreateHireExternalReferralRewardRequestStage {
2315
+ /** 待确认 */
2316
+ ToBeConfirmed = 1,
2317
+ /** 已确认 */
2318
+ Confirmed = 2,
2319
+ /** 已发放 */
2320
+ Paid = 3
2321
+ }
1805
2322
  export interface CreateHireExternalReferralRewardRequest {
1806
2323
  /** 内推人ID */
1807
2324
  referral_user_id: string;
@@ -1822,11 +2339,11 @@ export interface CreateHireExternalReferralRewardRequest {
1822
2339
  /** 奖励原因 */
1823
2340
  reason?: string;
1824
2341
  /** 导入的奖励规则类型,将展示在内推奖励明细中,管理员与内推人可见 */
1825
- rule_type: 1 | 2 | 3 | 4 | 5;
2342
+ rule_type: CreateHireExternalReferralRewardRequestRuleType;
1826
2343
  /** 奖励数据 */
1827
2344
  bonus: BonusAmount;
1828
2345
  /** 导入的内推奖励状态 */
1829
- stage: 1 | 2 | 3;
2346
+ stage: CreateHireExternalReferralRewardRequestStage;
1830
2347
  /** 奖励产生时间,内推奖励触发时间,若未传入,取接口传入时间 */
1831
2348
  create_time?: string;
1832
2349
  /** 奖励确认时间,若导入的「内推奖励状态」为「已确认」可传入,若未传入,取接口传入时间 */
@@ -1844,21 +2361,43 @@ export interface CreateHireExternalReferralRewardQuery {
1844
2361
  /** 此次调用中使用的用户ID的类型 */
1845
2362
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
1846
2363
  }
2364
+ export interface CreateHireExternalReferralRewardResponse {
2365
+ /** 创建的内推奖励的id */
2366
+ id?: string;
2367
+ }
2368
+ export declare const enum BatchChangeTalentPoolHireTalentPoolRequestOptionType {
2369
+ /** 加入人才库操作 */
2370
+ Add = 1,
2371
+ /** 从指定人才库移除 */
2372
+ Remove = 2
2373
+ }
1847
2374
  export interface BatchChangeTalentPoolHireTalentPoolRequest {
1848
2375
  /** 人才 ID 列表 */
1849
2376
  talent_id_list: string[];
1850
2377
  /** 操作类型 */
1851
- option_type: 1 | 2;
2378
+ option_type: BatchChangeTalentPoolHireTalentPoolRequestOptionType;
1852
2379
  }
1853
2380
  export interface SearchHireTalentPoolQuery extends Pagination {
1854
2381
  /** 人才库ID列表 */
1855
2382
  id_list?: string[];
1856
2383
  }
2384
+ export declare const enum MoveTalentHireTalentPoolRequestAddType {
2385
+ /** 仅加入指定人才库 */
2386
+ OnlyAdd = 1,
2387
+ /** 加入指定人才库并从所有原库移除 */
2388
+ AddAndRemoveFromOrigin = 2
2389
+ }
1857
2390
  export interface MoveTalentHireTalentPoolRequest {
1858
2391
  /** 人才ID */
1859
2392
  talent_id: string;
1860
2393
  /** 操作类型 */
1861
- add_type: 1 | 2;
2394
+ add_type: MoveTalentHireTalentPoolRequestAddType;
2395
+ }
2396
+ export interface MoveTalentHireTalentPoolResponse {
2397
+ /** 人才库ID */
2398
+ talent_pool_id?: string;
2399
+ /** 人才ID */
2400
+ talent_id?: string;
1862
2401
  }
1863
2402
  export interface TagHireTalentRequest {
1864
2403
  /** 操作类型 */
@@ -1906,6 +2445,14 @@ export interface CombinedCreateHireTalentQuery {
1906
2445
  /** 此次调用中使用的用户ID的类型 */
1907
2446
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1908
2447
  }
2448
+ export interface CombinedCreateHireTalentResponse {
2449
+ /** 人才 ID */
2450
+ talent_id?: string;
2451
+ /** 创建人 ID */
2452
+ creator_id?: string;
2453
+ /** 创建人类型 */
2454
+ creator_account_type?: 1 | 3;
2455
+ }
1909
2456
  export interface CombinedUpdateHireTalentRequest {
1910
2457
  /** 人才 ID */
1911
2458
  talent_id: string;
@@ -1946,18 +2493,38 @@ export interface CombinedUpdateHireTalentQuery {
1946
2493
  /** 此次调用中使用的用户ID的类型 */
1947
2494
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1948
2495
  }
2496
+ export interface CombinedUpdateHireTalentResponse {
2497
+ /** 人才 ID */
2498
+ talent_id?: string;
2499
+ /** 更新人 ID */
2500
+ operator_id?: string;
2501
+ /** 更新人类型 */
2502
+ operator_account_type?: 1 | 3;
2503
+ }
1949
2504
  export interface AddToFolderHireTalentRequest {
1950
2505
  /** 人才 ID 列表 */
1951
2506
  talent_id_list: string[];
1952
2507
  /** 文件夹 ID */
1953
2508
  folder_id: string;
1954
2509
  }
2510
+ export interface AddToFolderHireTalentResponse {
2511
+ /** 人才 ID 列表 */
2512
+ talent_id_list?: string[];
2513
+ /** 文件夹 ID */
2514
+ folder_id?: string;
2515
+ }
1955
2516
  export interface RemoveToFolderHireTalentRequest {
1956
2517
  /** 人才 ID 列表 */
1957
2518
  talent_id_list: string[];
1958
2519
  /** 文件夹 ID */
1959
2520
  folder_id: string;
1960
2521
  }
2522
+ export interface RemoveToFolderHireTalentResponse {
2523
+ /** 人才 ID 列表 */
2524
+ talent_id_list?: string[];
2525
+ /** 文件夹 ID */
2526
+ folder_id?: string;
2527
+ }
1961
2528
  export interface ListHireTalentFolderQuery extends Pagination {
1962
2529
  /** 用户ID类型 */
1963
2530
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
@@ -1974,6 +2541,10 @@ export interface BatchGetIdHireTalentRequest {
1974
2541
  /** 证件号 */
1975
2542
  identification_number_list?: string[];
1976
2543
  }
2544
+ export interface BatchGetIdHireTalentResponse {
2545
+ /** 人才信息列表 */
2546
+ talent_list?: TalentBatchInfo[];
2547
+ }
1977
2548
  export interface ListHireTalentQuery extends Pagination {
1978
2549
  /** 搜索关键词,支持布尔语言(使用 and、or、not 连接关键词) */
1979
2550
  keyword?: string;
@@ -1988,27 +2559,100 @@ export interface ListHireTalentQuery extends Pagination {
1988
2559
  /** 请求控制参数 */
1989
2560
  query_option?: 'ignore_empty_error';
1990
2561
  }
2562
+ export interface QueryHireTalentObjectResponse {
2563
+ items?: CommonSchema[];
2564
+ }
1991
2565
  export interface GetHireTalentQuery {
1992
2566
  /** 用户 ID 类型 */
1993
2567
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1994
2568
  }
1995
- export interface GetHireTalentQuery {
2569
+ export interface GetHireTalentResponse {
2570
+ /** 人才信息 */
2571
+ talent?: Talent;
2572
+ }
2573
+ export interface GetHireTalentQuery {
1996
2574
  /** 用户 ID 类型 */
1997
2575
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
1998
2576
  }
2577
+ export interface GetHireTalentResponse {
2578
+ /** ID */
2579
+ talent_id?: string;
2580
+ /** 基础信息 */
2581
+ basic_info?: CompositeTalentBasicInfo;
2582
+ /** 教育经历 */
2583
+ education_list?: CompositeTalentEducationInfo[];
2584
+ /** 工作经历 */
2585
+ career_list?: CompositeTalentCareerInfo[];
2586
+ /** 项目经历 */
2587
+ project_list?: CompositeTalentProjectInfo[];
2588
+ /** 作品集 */
2589
+ works_list?: CompositeTalentWorksInfo[];
2590
+ /** 获奖列表 */
2591
+ award_list?: CompositeTalentAwardInfo[];
2592
+ /** 语言列表 */
2593
+ language_list?: CompositeTalentLanguageInfo[];
2594
+ /** SNS列表 */
2595
+ sns_list?: CompositeTalentSnsInfo[];
2596
+ /** 简历来源 */
2597
+ resume_source_list?: TalentResumeSource[];
2598
+ /** 实习经历 */
2599
+ internship_list?: CompositeTalentInternshipInfo[];
2600
+ /** 自定义字段 */
2601
+ customized_data_list?: CompositeTalentCustomizedData[];
2602
+ /** 简历附件id列表(按照简历创建时间降序)(废弃,请使用resume_attachment_list代替) */
2603
+ resume_attachment_id_list?: string[];
2604
+ /** 简历附件列表(按照简历创建时间降序) */
2605
+ resume_attachment_list?: TalentResumeAttachment[];
2606
+ /** 面试登记表 */
2607
+ interview_registration_list?: TalentInterviewRegistrationSimple[];
2608
+ /** 登记表列表 */
2609
+ registration_list?: RegistrationBasicInfo[];
2610
+ /** 是否已入职 */
2611
+ is_onboarded?: boolean;
2612
+ /** 是否在猎头保护期 */
2613
+ is_in_agency_period?: boolean;
2614
+ /** 最高学历 参考 DegreeType 枚举 */
2615
+ top_degree?: number;
2616
+ /** 人才已加入的人才库列表 */
2617
+ talent_pool_id_list?: string[];
2618
+ /** 文件夹列表 */
2619
+ talent_folder_ref_list_v2?: TalentFolder[];
2620
+ /** 标签列表 */
2621
+ tag_list?: TalentTag[];
2622
+ /** 相似人才信息 */
2623
+ similar_info_v2?: TalentSimilar;
2624
+ /** 人才黑名单详情 */
2625
+ block_info?: TalentBlock;
2626
+ /** 人才已经加入的人才库列表 */
2627
+ talent_pool_ref_list_v2?: TalentPool[];
2628
+ /** 备注列表 */
2629
+ note_list_v2?: TalentNote[];
2630
+ }
2631
+ export declare const enum OnboardStatusHireTalentRequestOperation {
2632
+ /** 入职 */
2633
+ Onboard = 1,
2634
+ /** 离职 */
2635
+ Overboard = 2
2636
+ }
1999
2637
  export interface OnboardStatusHireTalentRequest {
2000
2638
  /** 操作类型 1:入职 2:离职 */
2001
- operation: 1 | 2;
2639
+ operation: OnboardStatusHireTalentRequestOperation;
2002
2640
  /** 毫秒时间戳 */
2003
2641
  onboard_time?: string;
2004
2642
  /** 毫秒时间戳 */
2005
2643
  overboard_time?: string;
2006
2644
  }
2645
+ export declare const enum ChangeTalentBlockHireTalentBlocklistRequestOption {
2646
+ /** 加入屏蔽名单操作 */
2647
+ Add = 1,
2648
+ /** 从屏蔽名单中移除 */
2649
+ Remove = 2
2650
+ }
2007
2651
  export interface ChangeTalentBlockHireTalentBlocklistRequest {
2008
2652
  /** 人才 ID */
2009
2653
  talent_id: string;
2010
2654
  /** 操作类型 */
2011
- option: 1 | 2;
2655
+ option: ChangeTalentBlockHireTalentBlocklistRequestOption;
2012
2656
  /** 原因,当执行加入屏蔽名单操作时必填 */
2013
2657
  reason?: string;
2014
2658
  }
@@ -2026,6 +2670,10 @@ export interface GetDetailHireApplicationQuery {
2026
2670
  /** 请求控制参数,用于控制获取哪些关联实体信息。 */
2027
2671
  options?: ('with_job' | 'with_talent' | 'with_interview' | 'with_offer' | 'with_evaluation' | 'with_employee' | 'with_agency' | 'with_referral' | 'with_portal')[];
2028
2672
  }
2673
+ export interface GetDetailHireApplicationResponse {
2674
+ /** 投递详情 */
2675
+ application_detail?: ApplicationDetailInfo;
2676
+ }
2029
2677
  export interface CreateHireApplicationRequest {
2030
2678
  /** 人才ID */
2031
2679
  talent_id: string;
@@ -2042,6 +2690,10 @@ export interface CreateHireApplicationQuery {
2042
2690
  /** 此次调用中使用的用户ID的类型 */
2043
2691
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2044
2692
  }
2693
+ export interface CreateHireApplicationResponse {
2694
+ /** 投递ID */
2695
+ id?: string;
2696
+ }
2045
2697
  export interface TerminateHireApplicationRequest {
2046
2698
  /** 终止原因的类型 */
2047
2699
  termination_type: 1 | 22 | 27;
@@ -2060,6 +2712,10 @@ export interface GetHireApplicationQuery {
2060
2712
  /** 请求控制参数,用于控制接口响应逻辑。如需一次查询多个用户ID,可通过将同一参数名多次传递,并且每次传递不同的参数值。 */
2061
2713
  options?: ('get_latest_application_on_chain')[];
2062
2714
  }
2715
+ export interface GetHireApplicationResponse {
2716
+ /** 投递数据 */
2717
+ application?: Application;
2718
+ }
2063
2719
  export interface ListHireApplicationQuery extends Pagination {
2064
2720
  /** 按流程过滤,招聘流程 ID,枚举值通过接口「获取招聘流程信息」接口获取 */
2065
2721
  process_id?: string;
@@ -2084,6 +2740,10 @@ export interface SearchHireDiversityInclusionRequest {
2084
2740
  /** 需要查询DI数据的投递ID列表 */
2085
2741
  application_ids?: string[];
2086
2742
  }
2743
+ export interface SearchHireDiversityInclusionResponse {
2744
+ /** 多元化与包容性信息列表 */
2745
+ items?: DiInfo[];
2746
+ }
2087
2747
  export interface ListHireEvaluationQuery extends Pagination {
2088
2748
  /** 投递 ID */
2089
2749
  application_id?: string;
@@ -2110,6 +2770,22 @@ export interface CreateHireExamQuery {
2110
2770
  /** 此次调用中使用的用户ID的类型 */
2111
2771
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
2112
2772
  }
2773
+ export interface CreateHireExamResponse {
2774
+ /** 笔试 ID */
2775
+ exam_id?: string;
2776
+ /** 投递 ID */
2777
+ application_id?: string;
2778
+ /** 试卷名称 */
2779
+ exam_resource_name?: string;
2780
+ /** 笔试分数 */
2781
+ score?: number;
2782
+ /** 附件ID */
2783
+ uuid?: string;
2784
+ /** 操作人 ID */
2785
+ operator_id?: string;
2786
+ /** 操作时间 */
2787
+ operate_time?: string;
2788
+ }
2113
2789
  export interface SearchHireTestRequest {
2114
2790
  /** 投递 ID 列表,最多 100 个,默认查询全部投递 */
2115
2791
  application_id_list?: string[];
@@ -2144,14 +2820,25 @@ export interface GetByTalentHireInterviewQuery {
2144
2820
  /** 此次调用中使用的「职级 ID」的类型 */
2145
2821
  job_level_id_type?: 'people_admin_job_level_id' | 'job_level_id';
2146
2822
  }
2823
+ export interface GetByTalentHireInterviewResponse {
2824
+ /** 投递面试列表 */
2825
+ items?: TalentInterview[];
2826
+ }
2147
2827
  export interface GetHireInterviewRecordQuery {
2148
2828
  /** 此次调用中使用的用户ID的类型 */
2149
2829
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2150
2830
  }
2831
+ export interface GetHireInterviewRecordResponse {
2832
+ /** 数据 */
2833
+ interview_record?: InterviewRecord;
2834
+ }
2151
2835
  export interface GetHireInterviewRecordQuery {
2152
2836
  /** 此次调用中使用的用户ID的类型 */
2153
2837
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2154
2838
  }
2839
+ export interface GetHireInterviewRecordResponse {
2840
+ interview_record?: InterviewRecord;
2841
+ }
2155
2842
  export interface ListHireInterviewRecordQuery extends Pagination {
2156
2843
  /** 面试评价ID列表,使用该筛选项时不会分页 */
2157
2844
  ids?: string[];
@@ -2164,18 +2851,35 @@ export interface ListHireInterviewRecordQuery extends Pagination {
2164
2851
  /** 此次调用中使用的用户ID的类型 */
2165
2852
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2166
2853
  }
2854
+ export declare const enum GetHireInterviewRecordAttachmentQueryLanguage {
2855
+ /** 中文 */
2856
+ Zh = 1,
2857
+ /** 英文 */
2858
+ En = 2
2859
+ }
2167
2860
  export interface GetHireInterviewRecordAttachmentQuery {
2168
2861
  /** 投递 ID */
2169
2862
  application_id: string;
2170
2863
  /** 面试记录 ID */
2171
2864
  interview_record_id?: string;
2172
2865
  /** 面试记录语言 */
2173
- language?: 1 | 2;
2866
+ language?: GetHireInterviewRecordAttachmentQueryLanguage;
2867
+ }
2868
+ export interface GetHireInterviewRecordAttachmentResponse {
2869
+ /** 附件信息 */
2870
+ attachment?: AttachmentInfo;
2174
2871
  }
2175
2872
  export interface GetHireMinutesQuery extends Pagination {
2176
2873
  /** 面试ID */
2177
2874
  interview_id: string;
2178
2875
  }
2876
+ export interface GetHireMinutesResponse {
2877
+ minutes?: Minutes;
2878
+ /** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
2879
+ page_token?: string;
2880
+ /** 对应面试是否还有更多项 */
2881
+ has_more?: boolean;
2882
+ }
2179
2883
  export interface ListHireQuestionnaireQuery extends Pagination {
2180
2884
  /** 投递 ID */
2181
2885
  application_id?: string;
@@ -2212,6 +2916,22 @@ export interface CreateHireOfferQuery {
2212
2916
  /** 此次调用中使用的「人员类型 ID」的类型 */
2213
2917
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2214
2918
  }
2919
+ export interface CreateHireOfferResponse {
2920
+ /** Offer ID */
2921
+ offer_id?: string;
2922
+ /** 投递 ID */
2923
+ application_id?: string;
2924
+ /** 模板 ID */
2925
+ schema_id?: string;
2926
+ /** Offer 类型 */
2927
+ offer_type?: 1 | 2;
2928
+ /** Offer 基本信息 */
2929
+ basic_info?: OfferBasicInfo;
2930
+ /** Offer 薪资信息 */
2931
+ salary_info?: OfferSalaryInfo;
2932
+ /** 自定义信息 */
2933
+ customized_info_list?: OfferCustomizedInfo[];
2934
+ }
2215
2935
  export interface UpdateHireOfferRequest {
2216
2936
  /** 模板 ID */
2217
2937
  schema_id: string;
@@ -2234,6 +2954,18 @@ export interface UpdateHireOfferQuery {
2234
2954
  /** 此次调用中使用的「人员类型 ID」的类型 */
2235
2955
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2236
2956
  }
2957
+ export interface UpdateHireOfferResponse {
2958
+ /** Offer ID */
2959
+ offer_id?: string;
2960
+ /** 模板 ID */
2961
+ schema_id?: string;
2962
+ /** Offer 基本信息 */
2963
+ basic_info?: OfferBasicInfo;
2964
+ /** Offer 薪资信息 */
2965
+ salary_info?: OfferSalaryInfo;
2966
+ /** 自定义信息 */
2967
+ customized_info_list?: OfferCustomizedInfo[];
2968
+ }
2237
2969
  export interface OfferHireApplicationQuery {
2238
2970
  /** 用户 ID 类型 */
2239
2971
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
@@ -2246,6 +2978,9 @@ export interface OfferHireApplicationQuery {
2246
2978
  /** 此次调用中使用的「人员类型 ID」的类型 */
2247
2979
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2248
2980
  }
2981
+ export interface OfferHireApplicationResponse {
2982
+ offer?: ApplicationOffer;
2983
+ }
2249
2984
  export interface GetHireOfferQuery {
2250
2985
  /** 此次调用中使用的用户ID的类型 */
2251
2986
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
@@ -2258,6 +2993,10 @@ export interface GetHireOfferQuery {
2258
2993
  /** 此次调用中使用的「人员类型 ID」的类型 */
2259
2994
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2260
2995
  }
2996
+ export interface GetHireOfferResponse {
2997
+ /** Offer 详情 */
2998
+ offer?: Offer;
2999
+ }
2261
3000
  export interface ListHireOfferQuery extends Pagination {
2262
3001
  /** 人才 ID */
2263
3002
  talent_id: string;
@@ -2266,9 +3005,29 @@ export interface ListHireOfferQuery extends Pagination {
2266
3005
  /** 此次调用中使用的「人员类型 ID」的类型 */
2267
3006
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2268
3007
  }
3008
+ export declare const enum OfferStatusHireOfferRequestOfferStatus {
3009
+ /** Offer 审批中 */
3010
+ Approving = 2,
3011
+ /** Offer 审批已撤回 */
3012
+ Withdrawn = 3,
3013
+ /** Offer 审批通过 */
3014
+ Approved = 4,
3015
+ /** Offer 审批不通过 */
3016
+ Rejected = 5,
3017
+ /** Offer 已发出 */
3018
+ OfferLetterSent = 6,
3019
+ /** Offer 被候选人接受 */
3020
+ OfferAccepted = 7,
3021
+ /** Offer 被候选人拒绝 */
3022
+ OfferRejected = 8,
3023
+ /** Offer 已失效 */
3024
+ Obsolete = 9,
3025
+ /** Offer 已创建 */
3026
+ NoApproval = 10
3027
+ }
2269
3028
  export interface OfferStatusHireOfferRequest {
2270
3029
  /** offer状态 */
2271
- offer_status: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
3030
+ offer_status: OfferStatusHireOfferRequestOfferStatus;
2272
3031
  /** offer 失效时间,当反馈状态是「offer已发出」时为必填项 */
2273
3032
  expiration_date?: string;
2274
3033
  /** 终止原因列表,当反馈状态是「候选人已拒绝」时为必填项;最多传入50个 */
@@ -2284,6 +3043,16 @@ export interface InternOfferStatusHireOfferRequest {
2284
3043
  /** 离职表单信息(当 operation 为 offboard 时,该字段必填) */
2285
3044
  offboarding_info?: InternOfferOffboardingInfo;
2286
3045
  }
3046
+ export interface InternOfferStatusHireOfferResponse {
3047
+ /** Offer ID */
3048
+ offer_id?: string;
3049
+ /** 更新入/离职状态的操作 */
3050
+ operation: 'confirm_onboarding' | 'cancel_onboarding' | 'offboard';
3051
+ /** 入职表单信息(当 operation 为 confirm_onboarding 时,该字段必填) */
3052
+ onboarding_info?: InternOfferOnboardingInfo;
3053
+ /** 离职表单信息(当 operation 为 offboard 时,该字段必填) */
3054
+ offboarding_info?: InternOfferOffboardingInfo;
3055
+ }
2287
3056
  export interface ListHireBackgroundCheckOrderQuery extends Pagination {
2288
3057
  /** 用户 ID 类型 */
2289
3058
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
@@ -2294,26 +3063,74 @@ export interface ListHireBackgroundCheckOrderQuery extends Pagination {
2294
3063
  /** 最晚更新时间,毫秒级时间戳 */
2295
3064
  update_end_time?: string;
2296
3065
  }
3066
+ export declare const enum CreateHireTripartiteAgreementRequestState {
3067
+ /** 未开始 */
3068
+ NotStarted = 1,
3069
+ /** 已申请 */
3070
+ Applied = 2,
3071
+ /** 学生处理中 */
3072
+ StudentProcessing = 3,
3073
+ /** 公司处理中 */
3074
+ CompanyProcessing = 4,
3075
+ /** 学校处理中 */
3076
+ SchoolProcessing = 5,
3077
+ /** 已终止 */
3078
+ Ended = 6,
3079
+ /** 已完成 */
3080
+ Completed = 7,
3081
+ /** 解约处理中 */
3082
+ TerminationProcessing = 8,
3083
+ /** 已解约 */
3084
+ Terminated = 9
3085
+ }
2297
3086
  export interface CreateHireTripartiteAgreementRequest {
2298
3087
  /** 投递ID */
2299
3088
  application_id: string;
2300
3089
  /** 三方协议状态 */
2301
- state: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
3090
+ state: CreateHireTripartiteAgreementRequestState;
2302
3091
  /** 三方协议创建时间,毫秒时间戳 */
2303
3092
  create_time: string;
2304
3093
  }
3094
+ export interface CreateHireTripartiteAgreementResponse {
3095
+ /** 创建的三方协议的 id */
3096
+ id?: string;
3097
+ }
2305
3098
  export interface ListHireTripartiteAgreementQuery extends Pagination {
2306
3099
  /** 投递 ID,必填投递 id 与三方协议 ID 其中之一 */
2307
3100
  application_id?: string;
2308
3101
  /** 三方协议 ID,必填投递 id 与三方协议 ID 其中之一 */
2309
3102
  tripartite_agreement_id?: string;
2310
3103
  }
3104
+ export declare const enum UpdateHireTripartiteAgreementRequestState {
3105
+ /** 未开始 */
3106
+ NotStarted = 1,
3107
+ /** 已申请 */
3108
+ Applied = 2,
3109
+ /** 学生处理中 */
3110
+ StudentProcessing = 3,
3111
+ /** 公司处理中 */
3112
+ CompanyProcessing = 4,
3113
+ /** 学校处理中 */
3114
+ SchoolProcessing = 5,
3115
+ /** 已终止 */
3116
+ Ended = 6,
3117
+ /** 已完成 */
3118
+ Completed = 7,
3119
+ /** 解约处理中 */
3120
+ TerminationProcessing = 8,
3121
+ /** 已解约 */
3122
+ Terminated = 9
3123
+ }
2311
3124
  export interface UpdateHireTripartiteAgreementRequest {
2312
3125
  /** 三方协议状态 */
2313
- state: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
3126
+ state: UpdateHireTripartiteAgreementRequestState;
2314
3127
  /** 三方协议修改时间戳,不可小于创建时间或者当前修改时间 */
2315
3128
  modify_time: string;
2316
3129
  }
3130
+ export interface UpdateHireTripartiteAgreementResponse {
3131
+ /** 三方协议信息 */
3132
+ tripartite_agreement?: TripartiteAgreementInfo;
3133
+ }
2317
3134
  export interface PatchHireEhrImportTaskRequest {
2318
3135
  /** 失败原因 */
2319
3136
  fail_reason?: string;
@@ -2356,9 +3173,19 @@ export interface TransferOnboardHireApplicationQuery {
2356
3173
  /** 此次调用中使用的「人员类型 ID」的类型 */
2357
3174
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2358
3175
  }
3176
+ export interface TransferOnboardHireApplicationResponse {
3177
+ /** employee */
3178
+ employee?: Employee;
3179
+ }
3180
+ export declare const enum PatchHireEmployeeRequestOperation {
3181
+ /** 转正 */
3182
+ Convert = 1,
3183
+ /** 离职 */
3184
+ Overboard = 2
3185
+ }
2359
3186
  export interface PatchHireEmployeeRequest {
2360
3187
  /** 修改状态操作 */
2361
- operation: 1 | 2;
3188
+ operation: PatchHireEmployeeRequestOperation;
2362
3189
  conversion_info?: EmployeeConversionInfo;
2363
3190
  overboard_info?: EmployeeOverboardInfo;
2364
3191
  }
@@ -2374,6 +3201,10 @@ export interface PatchHireEmployeeQuery {
2374
3201
  /** 此次调用中使用的「人员类型 ID」的类型 */
2375
3202
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2376
3203
  }
3204
+ export interface PatchHireEmployeeResponse {
3205
+ /** 员工信息 */
3206
+ employee?: Employee;
3207
+ }
2377
3208
  export interface GetByApplicationHireEmployeeQuery {
2378
3209
  /** 投递ID */
2379
3210
  application_id: string;
@@ -2388,6 +3219,10 @@ export interface GetByApplicationHireEmployeeQuery {
2388
3219
  /** 此次调用中使用的「人员类型 ID」的类型 */
2389
3220
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2390
3221
  }
3222
+ export interface GetByApplicationHireEmployeeResponse {
3223
+ /** 员工信息 */
3224
+ employee?: Employee;
3225
+ }
2391
3226
  export interface GetHireEmployeeQuery {
2392
3227
  /** 用户 ID 类型 */
2393
3228
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
@@ -2400,6 +3235,10 @@ export interface GetHireEmployeeQuery {
2400
3235
  /** 此次调用中使用的「人员类型 ID」的类型 */
2401
3236
  employee_type_id_type?: 'people_admin_employee_type_id' | 'employee_type_enum_id';
2402
3237
  }
3238
+ export interface GetHireEmployeeResponse {
3239
+ /** 员工信息 */
3240
+ employee?: Employee;
3241
+ }
2403
3242
  export interface ListHireTodoQuery extends Pagination {
2404
3243
  /** 用户 ID,当 token 为租户 token 时,必须传入该字段,当 token 为用户 token 时,不传该字段 */
2405
3244
  user_id?: string;
@@ -2432,6 +3271,12 @@ export interface ListHireInterviewTaskQuery extends Pagination {
2432
3271
  /** 此次调用中使用的用户ID的类型 */
2433
3272
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
2434
3273
  }
3274
+ export declare const enum CreateHireNoteRequestPrivacy {
3275
+ /** 私密 */
3276
+ Private = 1,
3277
+ /** 公开 */
3278
+ Public = 2
3279
+ }
2435
3280
  export interface CreateHireNoteRequest {
2436
3281
  /** 人才ID */
2437
3282
  talent_id: string;
@@ -2442,7 +3287,7 @@ export interface CreateHireNoteRequest {
2442
3287
  /** 内容 */
2443
3288
  content: string;
2444
3289
  /** 备注私密属性(默认为公开) */
2445
- privacy?: 1 | 2;
3290
+ privacy?: CreateHireNoteRequestPrivacy;
2446
3291
  /** 是否通知被@的用户 */
2447
3292
  notify_mentioned_user?: boolean;
2448
3293
  /** 被@用户列表 */
@@ -2452,6 +3297,9 @@ export interface CreateHireNoteQuery {
2452
3297
  /** 此次调用中使用的用户ID的类型 */
2453
3298
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
2454
3299
  }
3300
+ export interface CreateHireNoteResponse {
3301
+ note?: Note;
3302
+ }
2455
3303
  export interface PatchHireNoteRequest {
2456
3304
  /** 备注内容 */
2457
3305
  content: string;
@@ -2466,10 +3314,18 @@ export interface PatchHireNoteQuery {
2466
3314
  /** 此次调用中使用的用户ID的类型 */
2467
3315
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
2468
3316
  }
3317
+ export interface PatchHireNoteResponse {
3318
+ /** 备注数据 */
3319
+ note?: Note;
3320
+ }
2469
3321
  export interface GetHireNoteQuery {
2470
3322
  /** 此次调用中使用的用户ID的类型 */
2471
3323
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
2472
3324
  }
3325
+ export interface GetHireNoteResponse {
3326
+ /** 备注数据 */
3327
+ note?: Note;
3328
+ }
2473
3329
  export interface ListHireNoteQuery extends Pagination {
2474
3330
  /** 人才ID */
2475
3331
  talent_id: string;
@@ -2612,12 +3468,20 @@ export interface EnableHireReferralAccountQuery {
2612
3468
  /** 此次调用中使用的用户ID的类型 */
2613
3469
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2614
3470
  }
3471
+ export interface EnableHireReferralAccountResponse {
3472
+ /** 账号信息 */
3473
+ account?: Account;
3474
+ }
2615
3475
  export interface GetAccountAssetsHireReferralAccountQuery {
2616
3476
  /** 账户 ID */
2617
3477
  referral_account_id: string;
2618
3478
  /** 此次调用中使用的用户ID的类型 */
2619
3479
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2620
3480
  }
3481
+ export interface GetAccountAssetsHireReferralAccountResponse {
3482
+ /** 账户信息 */
3483
+ account?: Account;
3484
+ }
2621
3485
  export interface CreateHireReferralAccountRequest {
2622
3486
  /** 电话 */
2623
3487
  mobile?: Mobile;
@@ -2628,16 +3492,38 @@ export interface CreateHireReferralAccountQuery {
2628
3492
  /** 此次调用中使用的用户ID的类型 */
2629
3493
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2630
3494
  }
3495
+ export interface CreateHireReferralAccountResponse {
3496
+ /** 账号信息 */
3497
+ account?: Account;
3498
+ }
2631
3499
  export interface DeactivateHireReferralAccountQuery {
2632
3500
  /** 此次调用中使用的用户ID的类型 */
2633
3501
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
2634
3502
  }
3503
+ export interface DeactivateHireReferralAccountResponse {
3504
+ /** 账号信息 */
3505
+ account?: Account;
3506
+ }
3507
+ export declare const enum WithdrawHireReferralAccountRequestWithdrawBonusType {
3508
+ /** 积分 */
3509
+ Point = 1,
3510
+ /** 现金 */
3511
+ Cash = 2
3512
+ }
2635
3513
  export interface WithdrawHireReferralAccountRequest {
2636
3514
  /** 请求提现的奖励类型 */
2637
- withdraw_bonus_type: (1 | 2)[];
3515
+ withdraw_bonus_type: WithdrawHireReferralAccountRequestWithdrawBonusType[];
2638
3516
  /** 提现单ID,请求时由请求方提供,后续关于本次提现操作的交互都以此提现单ID为标识进行,需要保证唯一,用于保证提现的幂等性,传入重复ID会返回对应提现单提取的金额明细 */
2639
3517
  external_order_id: string;
2640
3518
  }
3519
+ export interface WithdrawHireReferralAccountResponse {
3520
+ /** 请求时传入的提现单ID */
3521
+ external_order_id?: string;
3522
+ /** 交易时间戳,需要保存,用于统一交易时间,方便对账 */
3523
+ trans_time?: string;
3524
+ /** 本次提现金额明细 */
3525
+ withdrawal_details?: BonusAmount;
3526
+ }
2641
3527
  export interface ReconciliationHireReferralAccountRequest {
2642
3528
  /** 按时间范围进行对账时 时间段的起始交易时间 */
2643
3529
  start_trans_time: string;
@@ -2646,10 +3532,26 @@ export interface ReconciliationHireReferralAccountRequest {
2646
3532
  /** 交易信息 */
2647
3533
  trade_details?: TradeDetail[];
2648
3534
  }
3535
+ export interface ReconciliationHireReferralAccountResponse {
3536
+ /** 核对失败的信息 */
3537
+ check_failed_list?: CheckFailedAccountInfo[];
3538
+ }
3539
+ export interface CreateHireAttachmentResponse {
3540
+ /** 上传文件的 id */
3541
+ id?: string;
3542
+ }
2649
3543
  export interface GetHireAttachmentQuery {
2650
3544
  /** 附件类型 */
2651
3545
  type?: 1 | 2 | 3;
2652
3546
  }
3547
+ export interface GetHireAttachmentResponse {
3548
+ /** 附件信息 */
3549
+ attachment?: Attachment;
3550
+ }
3551
+ export interface PreviewHireAttachmentResponse {
3552
+ /** 预览链接 */
3553
+ url: string;
3554
+ }
2653
3555
  export interface ListHireApplicationInterviewQuery extends Pagination {
2654
3556
  /** 此次调用中使用的用户ID的类型 */
2655
3557
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
@@ -2672,477 +3574,19 @@ export interface GetHireJobManagerQuery {
2672
3574
  /** 此次调用中使用的用户ID的类型 */
2673
3575
  user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
2674
3576
  }
2675
- export interface GetHireRoleResponse {
2676
- /** 角色详情 */
2677
- role?: RoleDetail;
2678
- }
2679
- export interface CombinedCreateHireJobResponse {
2680
- /** 职位广告 */
2681
- default_job_post?: CombinedJobResultDefaultJobPost;
2682
- /** 职位 */
2683
- job?: Job;
2684
- /** 职位负责人 */
2685
- job_manager?: JobManager;
2686
- /** 面试登记表 */
2687
- interview_registration_schema_info?: RegistrationSchemaInfo;
2688
- /** 入职登记表 */
2689
- onboard_registration_schema_info?: RegistrationSchemaInfo;
2690
- /** 目标专业 */
2691
- target_major_list?: TargetMajorInfo[];
2692
- /** 官网申请表 */
2693
- portal_website_apply_form_schema_info?: RegistrationSchemaInfo;
2694
- }
2695
- export interface CombinedUpdateHireJobResponse {
2696
- /** 职位广告 */
2697
- default_job_post?: CombinedJobResultDefaultJobPost;
2698
- /** 职位 */
2699
- job?: Job;
2700
- /** 职位负责人 */
2701
- job_manager?: JobManager;
2702
- /** 官网申请表 */
2703
- portal_website_apply_form_schema_info?: RegistrationSchemaInfo;
2704
- }
2705
- export interface UpdateConfigHireJobResponse {
2706
- job_config?: JobConfigResult;
2707
- }
2708
- export interface BatchUpdateHireJobManagerResponse {
2709
- /** 职位负责人 */
2710
- job_manager?: JobManager;
2711
- }
2712
- export interface GetDetailHireJobResponse {
2713
- /** 职位详情数据 */
2714
- job_detail?: JobDetail;
2715
- }
2716
- export interface GetHireJobResponse {
2717
- /** 职位数据 */
2718
- job?: Job;
2719
- }
2720
- export interface RecruiterHireJobResponse {
2721
- /** 职位负责人 */
2722
- info?: JobRecruiter2;
2723
- }
2724
- export interface ConfigHireJobResponse {
2725
- job_config?: JobConfigResult;
2726
- }
2727
- export interface CreateHireJobRequirementResponse {
2728
- job_requirement?: JobRequirementDto;
2729
- }
2730
- export interface ListByIdHireJobRequirementResponse {
2731
- /** 招聘需求列表 */
2732
- items?: JobRequirementDto[];
2733
- }
2734
- export interface ListHireInterviewRoundTypeResponse {
2735
- /** 是否启用面试轮次类型 */
2736
- active_status?: 1 | 2;
2737
- /** 列表 */
2738
- items?: InterviewRoundType[];
2739
- }
2740
- export interface PatchHireInterviewerResponse {
2741
- /** 面试官信息 */
2742
- interviewer?: Interviewer;
2743
- }
2744
- export interface GetHireOfferApplicationFormResponse {
2745
- /** Offer 申请表详情 */
2746
- offer_apply_form?: OfferApplyFormInfo;
2747
- }
2748
- export interface SearchHireReferralResponse {
2749
- /** 内推信息列表 */
2750
- items?: ReferralInfo[];
2751
- }
2752
- export interface GetHireReferralWebsiteJobPostResponse {
2753
- job_post?: PortalJobPost;
2754
- }
2755
- export interface GetByApplicationHireReferralResponse {
2756
- /** 内推信息 */
2757
- referral?: Referral;
2758
- }
2759
- export interface CreateHireWebsiteChannelResponse {
2760
- /** 推广渠道 ID */
2761
- id?: string;
2762
- /** 推广渠道名称 */
2763
- name?: string;
2764
- /** 推广渠道链接 */
2765
- link?: string;
2766
- /** 推广渠道推广码 */
2767
- code?: string;
2768
- }
2769
- export interface UpdateHireWebsiteChannelResponse {
2770
- /** 推广渠道 ID */
2771
- id?: string;
2772
- /** 推广渠道名称 */
2773
- name?: string;
2774
- /** 推广渠道链接 */
2775
- link?: string;
2776
- /** 推广渠道推广码 */
2777
- code?: string;
2778
- }
2779
- export interface CreateHireWebsiteSiteUserResponse {
2780
- site_user?: WebsiteUser;
2781
- }
2782
- export interface GetHireWebsiteJobPostResponse {
2783
- job_post?: WebsiteJobPost;
2784
- }
2785
- export interface CreateByResumeHireWebsiteDeliveryResponse {
2786
- delivery?: WebsiteDeliveryDto;
2787
- }
2788
- export interface CreateByAttachmentHireWebsiteDeliveryResponse {
2789
- /** 异步任务 ID */
2790
- task_id?: string;
2791
- }
2792
- export interface GetHireWebsiteDeliveryTaskResponse {
2793
- /** 任务状态 */
2794
- status?: 0 | 1 | 2 | 3;
2795
- /** 官网投递信息 */
2796
- delivery?: WebsiteDeliveryDto;
2797
- /** 状态信息,仅 status 为 3 时返回 */
2798
- status_msg?: string;
2799
- /** 附加信息,当前返回投递 ID,仅当 status 为 3 且 status_msg 标识为重复投递时,将返回重复投递的 ID */
2800
- extra_info?: string;
2801
- }
2802
- export interface GetHireAgencyResponse {
2803
- /** 数据 */
2804
- agency?: Agency;
2805
- }
2806
- export interface ProtectSearchHireAgencyResponse {
2807
- /** 是否已入职 */
2808
- is_onboarded?: boolean;
2809
- /** 是否在猎头保护期内入职 */
2810
- onboarded_in_protection?: boolean;
2811
- /** 入职所在保护期 */
2812
- onboarded_protection?: AgencyProtection;
2813
- /** 人才保护信息 */
2814
- protection_list?: AgencyProtection[];
2815
- }
2816
- export interface QueryHireAgencyResponse {
2817
- items?: Agency[];
2818
- }
2819
- export interface CreateHireTalentExternalInfoResponse {
2820
- /** 人才外部信息 */
2821
- external_info?: TalentExternalInfo;
2822
- }
2823
- export interface UpdateHireTalentExternalInfoResponse {
2824
- /** 人才外部信息 */
2825
- external_info?: TalentExternalInfo;
2826
- }
2827
- export interface CreateHireExternalApplicationResponse {
2828
- external_application?: ExternalApplication;
2829
- }
2830
- export interface UpdateHireExternalApplicationResponse {
2831
- external_application?: ExternalApplication;
2832
- }
2833
- export interface DeleteHireExternalApplicationResponse {
2834
- external_application?: ExternalApplication;
2835
- }
2836
- export interface CreateHireExternalInterviewResponse {
2837
- external_interview?: ExternalInterview;
2838
- }
2839
- export interface UpdateHireExternalInterviewResponse {
2840
- external_interview?: ExternalInterview;
2841
- }
2842
- export interface CreateHireExternalInterviewAssessmentResponse {
2843
- external_interview_assessment?: ExternalInterviewAssessment;
2844
- }
2845
- export interface PatchHireExternalInterviewAssessmentResponse {
2846
- external_interview_assessment?: ExternalInterviewAssessment;
2847
- }
2848
- export interface CreateHireExternalOfferResponse {
2849
- external_offer?: ExternalOffer;
2850
- }
2851
- export interface UpdateHireExternalOfferResponse {
2852
- external_offer?: ExternalOffer;
2853
- }
2854
- export interface CreateHireExternalBackgroundCheckResponse {
2855
- external_background_check?: ExternalBackgroundCheck;
2856
- }
2857
- export interface UpdateHireExternalBackgroundCheckResponse {
2858
- external_background_check?: ExternalBackgroundCheck;
2859
- }
2860
- export interface CreateHireExternalReferralRewardResponse {
2861
- /** 创建的内推奖励的id */
2862
- id?: string;
2863
- }
2864
- export interface MoveTalentHireTalentPoolResponse {
2865
- /** 人才库ID */
2866
- talent_pool_id?: string;
2867
- /** 人才ID */
2868
- talent_id?: string;
2869
- }
2870
- export interface CombinedCreateHireTalentResponse {
2871
- /** 人才 ID */
2872
- talent_id?: string;
2873
- /** 创建人 ID */
2874
- creator_id?: string;
2875
- /** 创建人类型 */
2876
- creator_account_type?: 1 | 3;
2877
- }
2878
- export interface CombinedUpdateHireTalentResponse {
2879
- /** 人才 ID */
2880
- talent_id?: string;
2881
- /** 更新人 ID */
2882
- operator_id?: string;
2883
- /** 更新人类型 */
2884
- operator_account_type?: 1 | 3;
2885
- }
2886
- export interface AddToFolderHireTalentResponse {
2887
- /** 人才 ID 列表 */
2888
- talent_id_list?: string[];
2889
- /** 文件夹 ID */
2890
- folder_id?: string;
2891
- }
2892
- export interface RemoveToFolderHireTalentResponse {
2893
- /** 人才 ID 列表 */
2894
- talent_id_list?: string[];
2895
- /** 文件夹 ID */
2896
- folder_id?: string;
2897
- }
2898
- export interface BatchGetIdHireTalentResponse {
2899
- /** 人才信息列表 */
2900
- talent_list?: TalentBatchInfo[];
2901
- }
2902
- export interface QueryHireTalentObjectResponse {
2903
- items?: CommonSchema[];
2904
- }
2905
- export interface GetHireTalentResponse {
2906
- /** 人才信息 */
2907
- talent?: Talent;
2908
- }
2909
- export interface GetHireTalentResponse {
2910
- /** ID */
2911
- talent_id?: string;
2912
- /** 基础信息 */
2913
- basic_info?: CompositeTalentBasicInfo;
2914
- /** 教育经历 */
2915
- education_list?: CompositeTalentEducationInfo[];
2916
- /** 工作经历 */
2917
- career_list?: CompositeTalentCareerInfo[];
2918
- /** 项目经历 */
2919
- project_list?: CompositeTalentProjectInfo[];
2920
- /** 作品集 */
2921
- works_list?: CompositeTalentWorksInfo[];
2922
- /** 获奖列表 */
2923
- award_list?: CompositeTalentAwardInfo[];
2924
- /** 语言列表 */
2925
- language_list?: CompositeTalentLanguageInfo[];
2926
- /** SNS列表 */
2927
- sns_list?: CompositeTalentSnsInfo[];
2928
- /** 简历来源 */
2929
- resume_source_list?: TalentResumeSource[];
2930
- /** 实习经历 */
2931
- internship_list?: CompositeTalentInternshipInfo[];
2932
- /** 自定义字段 */
2933
- customized_data_list?: CompositeTalentCustomizedData[];
2934
- /** 简历附件id列表(按照简历创建时间降序)(废弃,请使用resume_attachment_list代替) */
2935
- resume_attachment_id_list?: string[];
2936
- /** 简历附件列表(按照简历创建时间降序) */
2937
- resume_attachment_list?: TalentResumeAttachment[];
2938
- /** 面试登记表 */
2939
- interview_registration_list?: TalentInterviewRegistrationSimple[];
2940
- /** 登记表列表 */
2941
- registration_list?: RegistrationBasicInfo[];
2942
- /** 是否已入职 */
2943
- is_onboarded?: boolean;
2944
- /** 是否在猎头保护期 */
2945
- is_in_agency_period?: boolean;
2946
- /** 最高学历 参考 DegreeType 枚举 */
2947
- top_degree?: number;
2948
- /** 人才已加入的人才库列表 */
2949
- talent_pool_id_list?: string[];
2950
- /** 文件夹列表 */
2951
- talent_folder_ref_list_v2?: TalentFolder[];
2952
- /** 标签列表 */
2953
- tag_list?: TalentTag[];
2954
- /** 相似人才信息 */
2955
- similar_info_v2?: TalentSimilar;
2956
- /** 人才黑名单详情 */
2957
- block_info?: TalentBlock;
2958
- /** 人才已经加入的人才库列表 */
2959
- talent_pool_ref_list_v2?: TalentPool[];
2960
- /** 备注列表 */
2961
- note_list_v2?: TalentNote[];
2962
- }
2963
- export interface GetDetailHireApplicationResponse {
2964
- /** 投递详情 */
2965
- application_detail?: ApplicationDetailInfo;
2966
- }
2967
- export interface CreateHireApplicationResponse {
2968
- /** 投递ID */
2969
- id?: string;
2970
- }
2971
- export interface GetHireApplicationResponse {
2972
- /** 投递数据 */
2973
- application?: Application;
2974
- }
2975
- export interface SearchHireDiversityInclusionResponse {
2976
- /** 多元化与包容性信息列表 */
2977
- items?: DiInfo[];
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
- export interface GetByTalentHireInterviewResponse {
2996
- /** 投递面试列表 */
2997
- items?: TalentInterview[];
2998
- }
2999
- export interface GetHireInterviewRecordResponse {
3000
- /** 数据 */
3001
- interview_record?: InterviewRecord;
3002
- }
3003
- export interface GetHireInterviewRecordResponse {
3004
- interview_record?: InterviewRecord;
3005
- }
3006
- export interface GetHireInterviewRecordAttachmentResponse {
3007
- /** 附件信息 */
3008
- attachment?: AttachmentInfo;
3009
- }
3010
- export interface GetHireMinutesResponse {
3011
- minutes?: Minutes;
3012
- /** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
3013
- page_token?: string;
3014
- /** 对应面试是否还有更多项 */
3015
- has_more?: boolean;
3016
- }
3017
- export interface CreateHireOfferResponse {
3018
- /** Offer ID */
3019
- offer_id?: string;
3020
- /** 投递 ID */
3021
- application_id?: string;
3022
- /** 模板 ID */
3023
- schema_id?: string;
3024
- /** Offer 类型 */
3025
- offer_type?: 1 | 2;
3026
- /** Offer 基本信息 */
3027
- basic_info?: OfferBasicInfo;
3028
- /** Offer 薪资信息 */
3029
- salary_info?: OfferSalaryInfo;
3030
- /** 自定义信息 */
3031
- customized_info_list?: OfferCustomizedInfo[];
3032
- }
3033
- export interface UpdateHireOfferResponse {
3034
- /** Offer ID */
3035
- offer_id?: string;
3036
- /** 模板 ID */
3037
- schema_id?: string;
3038
- /** Offer 基本信息 */
3039
- basic_info?: OfferBasicInfo;
3040
- /** Offer 薪资信息 */
3041
- salary_info?: OfferSalaryInfo;
3042
- /** 自定义信息 */
3043
- customized_info_list?: OfferCustomizedInfo[];
3044
- }
3045
- export interface OfferHireApplicationResponse {
3046
- offer?: ApplicationOffer;
3047
- }
3048
- export interface GetHireOfferResponse {
3049
- /** Offer 详情 */
3050
- offer?: Offer;
3051
- }
3052
- export interface InternOfferStatusHireOfferResponse {
3053
- /** Offer ID */
3054
- offer_id?: string;
3055
- /** 更新入/离职状态的操作 */
3056
- operation: 'confirm_onboarding' | 'cancel_onboarding' | 'offboard';
3057
- /** 入职表单信息(当 operation 为 confirm_onboarding 时,该字段必填) */
3058
- onboarding_info?: InternOfferOnboardingInfo;
3059
- /** 离职表单信息(当 operation 为 offboard 时,该字段必填) */
3060
- offboarding_info?: InternOfferOffboardingInfo;
3061
- }
3062
- export interface CreateHireTripartiteAgreementResponse {
3063
- /** 创建的三方协议的 id */
3064
- id?: string;
3065
- }
3066
- export interface UpdateHireTripartiteAgreementResponse {
3067
- /** 三方协议信息 */
3068
- tripartite_agreement?: TripartiteAgreementInfo;
3069
- }
3070
- export interface TransferOnboardHireApplicationResponse {
3071
- /** employee */
3072
- employee?: Employee;
3073
- }
3074
- export interface PatchHireEmployeeResponse {
3075
- /** 员工信息 */
3076
- employee?: Employee;
3077
- }
3078
- export interface GetByApplicationHireEmployeeResponse {
3079
- /** 员工信息 */
3080
- employee?: Employee;
3081
- }
3082
- export interface GetHireEmployeeResponse {
3083
- /** 员工信息 */
3084
- employee?: Employee;
3085
- }
3086
- export interface CreateHireNoteResponse {
3087
- note?: Note;
3088
- }
3089
- export interface PatchHireNoteResponse {
3090
- /** 备注数据 */
3091
- note?: Note;
3092
- }
3093
- export interface GetHireNoteResponse {
3094
- /** 备注数据 */
3095
- note?: Note;
3096
- }
3097
- export interface EnableHireReferralAccountResponse {
3098
- /** 账号信息 */
3099
- account?: Account;
3100
- }
3101
- export interface GetAccountAssetsHireReferralAccountResponse {
3102
- /** 账户信息 */
3103
- account?: Account;
3104
- }
3105
- export interface CreateHireReferralAccountResponse {
3106
- /** 账号信息 */
3107
- account?: Account;
3108
- }
3109
- export interface DeactivateHireReferralAccountResponse {
3110
- /** 账号信息 */
3111
- account?: Account;
3112
- }
3113
- export interface WithdrawHireReferralAccountResponse {
3114
- /** 请求时传入的提现单ID */
3115
- external_order_id?: string;
3116
- /** 交易时间戳,需要保存,用于统一交易时间,方便对账 */
3117
- trans_time?: string;
3118
- /** 本次提现金额明细 */
3119
- withdrawal_details?: BonusAmount;
3120
- }
3121
- export interface ReconciliationHireReferralAccountResponse {
3122
- /** 核对失败的信息 */
3123
- check_failed_list?: CheckFailedAccountInfo[];
3124
- }
3125
- export interface CreateHireAttachmentResponse {
3126
- /** 上传文件的 id */
3127
- id?: string;
3128
- }
3129
- export interface GetHireAttachmentResponse {
3130
- /** 附件信息 */
3131
- attachment?: Attachment;
3132
- }
3133
- export interface PreviewHireAttachmentResponse {
3134
- /** 预览链接 */
3135
- url: string;
3136
- }
3137
- export interface GetHireJobManagerResponse {
3577
+ export interface GetHireJobManagerResponse {
3138
3578
  /** 职位负责人 */
3139
3579
  info?: JobManager;
3140
3580
  }
3581
+ export declare const enum GetHireOfferSchemaResponseScenario {
3582
+ /** Offer审批表 */
3583
+ ApplyOffer = 1
3584
+ }
3141
3585
  export interface GetHireOfferSchemaResponse {
3142
3586
  /** offer申请表ID */
3143
3587
  id?: string;
3144
3588
  /** offer申请表使用场景 */
3145
- scenario?: 1;
3589
+ scenario?: GetHireOfferSchemaResponseScenario;
3146
3590
  /** 申请表版本 */
3147
3591
  version?: number;
3148
3592
  /** 字段对象信息 */