@thejob/schema 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +293 -169
- package/dist/index.d.cts +199 -1
- package/dist/index.d.ts +199 -1
- package/dist/index.js +285 -168
- package/package.json +1 -1
- package/src/index.ts +6 -0
- package/src/marketing/marketing.constant.ts +8 -0
- package/src/marketing/marketing.schema.ts +130 -0
- package/src/user/user.constant.ts +30 -0
- package/pnpm-workspace.yaml +0 -2
package/dist/index.d.cts
CHANGED
|
@@ -1255,6 +1255,190 @@ declare const PageSchema: yup.ObjectSchema<NonNullable<{
|
|
|
1255
1255
|
updatedAt: undefined;
|
|
1256
1256
|
}, "">;
|
|
1257
1257
|
|
|
1258
|
+
declare const ListFilterSchema: yup.ObjectSchema<{
|
|
1259
|
+
countries: string[];
|
|
1260
|
+
roles: string[];
|
|
1261
|
+
experienceLevels: string[];
|
|
1262
|
+
targetExperienceLevels: string[];
|
|
1263
|
+
jobSearchUrgencies: string[];
|
|
1264
|
+
referralSources: string[];
|
|
1265
|
+
statuses: string[];
|
|
1266
|
+
profileVisibilities: string[];
|
|
1267
|
+
skillProficiencyLevels: string[];
|
|
1268
|
+
languageProficiencyLevels: string[];
|
|
1269
|
+
studyTypes: string[];
|
|
1270
|
+
socialAccountTypes: string[];
|
|
1271
|
+
salaryCurrencies: string[];
|
|
1272
|
+
skills: string[];
|
|
1273
|
+
languages: string[];
|
|
1274
|
+
interests: string[];
|
|
1275
|
+
companies: string[];
|
|
1276
|
+
designations: string[];
|
|
1277
|
+
institutes: string[];
|
|
1278
|
+
courses: string[];
|
|
1279
|
+
fieldsOfStudy: string[];
|
|
1280
|
+
certifications: string[];
|
|
1281
|
+
certificationAuthorities: string[];
|
|
1282
|
+
projects: string[];
|
|
1283
|
+
jobRoles: string[];
|
|
1284
|
+
jobLocations: string[];
|
|
1285
|
+
hiringForCompanies: string[];
|
|
1286
|
+
coordinatesAtInstitutes: string[];
|
|
1287
|
+
keywords: string[];
|
|
1288
|
+
minSalaryFloor: number | undefined;
|
|
1289
|
+
minSalaryCeil: number | undefined;
|
|
1290
|
+
openToWorkOnly: boolean;
|
|
1291
|
+
remoteExperienceOnly: boolean;
|
|
1292
|
+
hasResumeOnly: boolean;
|
|
1293
|
+
onboardingCompletedOnly: boolean;
|
|
1294
|
+
emailVerifiedOnly: boolean;
|
|
1295
|
+
mobileVerifiedOnly: boolean;
|
|
1296
|
+
}, yup.AnyObject, {
|
|
1297
|
+
countries: never[];
|
|
1298
|
+
roles: never[];
|
|
1299
|
+
experienceLevels: never[];
|
|
1300
|
+
targetExperienceLevels: never[];
|
|
1301
|
+
jobSearchUrgencies: never[];
|
|
1302
|
+
referralSources: never[];
|
|
1303
|
+
statuses: never[];
|
|
1304
|
+
profileVisibilities: never[];
|
|
1305
|
+
skillProficiencyLevels: never[];
|
|
1306
|
+
languageProficiencyLevels: never[];
|
|
1307
|
+
studyTypes: never[];
|
|
1308
|
+
socialAccountTypes: never[];
|
|
1309
|
+
salaryCurrencies: never[];
|
|
1310
|
+
skills: never[];
|
|
1311
|
+
languages: never[];
|
|
1312
|
+
interests: never[];
|
|
1313
|
+
companies: never[];
|
|
1314
|
+
designations: never[];
|
|
1315
|
+
institutes: never[];
|
|
1316
|
+
courses: never[];
|
|
1317
|
+
fieldsOfStudy: never[];
|
|
1318
|
+
certifications: never[];
|
|
1319
|
+
certificationAuthorities: never[];
|
|
1320
|
+
projects: never[];
|
|
1321
|
+
jobRoles: never[];
|
|
1322
|
+
jobLocations: never[];
|
|
1323
|
+
hiringForCompanies: never[];
|
|
1324
|
+
coordinatesAtInstitutes: never[];
|
|
1325
|
+
keywords: never[];
|
|
1326
|
+
minSalaryFloor: undefined;
|
|
1327
|
+
minSalaryCeil: undefined;
|
|
1328
|
+
openToWorkOnly: false;
|
|
1329
|
+
remoteExperienceOnly: false;
|
|
1330
|
+
hasResumeOnly: false;
|
|
1331
|
+
onboardingCompletedOnly: false;
|
|
1332
|
+
emailVerifiedOnly: false;
|
|
1333
|
+
mobileVerifiedOnly: false;
|
|
1334
|
+
}, "">;
|
|
1335
|
+
declare const MailingListSchema: yup.ObjectSchema<{
|
|
1336
|
+
name: string;
|
|
1337
|
+
description: string | undefined;
|
|
1338
|
+
filter: {
|
|
1339
|
+
minSalaryFloor?: number | undefined;
|
|
1340
|
+
minSalaryCeil?: number | undefined;
|
|
1341
|
+
keywords: string[];
|
|
1342
|
+
countries: string[];
|
|
1343
|
+
courses: string[];
|
|
1344
|
+
skills: string[];
|
|
1345
|
+
languages: string[];
|
|
1346
|
+
certifications: string[];
|
|
1347
|
+
interests: string[];
|
|
1348
|
+
projects: string[];
|
|
1349
|
+
roles: string[];
|
|
1350
|
+
experienceLevels: string[];
|
|
1351
|
+
targetExperienceLevels: string[];
|
|
1352
|
+
jobSearchUrgencies: string[];
|
|
1353
|
+
referralSources: string[];
|
|
1354
|
+
statuses: string[];
|
|
1355
|
+
profileVisibilities: string[];
|
|
1356
|
+
skillProficiencyLevels: string[];
|
|
1357
|
+
languageProficiencyLevels: string[];
|
|
1358
|
+
studyTypes: string[];
|
|
1359
|
+
socialAccountTypes: string[];
|
|
1360
|
+
salaryCurrencies: string[];
|
|
1361
|
+
companies: string[];
|
|
1362
|
+
designations: string[];
|
|
1363
|
+
institutes: string[];
|
|
1364
|
+
fieldsOfStudy: string[];
|
|
1365
|
+
certificationAuthorities: string[];
|
|
1366
|
+
jobRoles: string[];
|
|
1367
|
+
jobLocations: string[];
|
|
1368
|
+
hiringForCompanies: string[];
|
|
1369
|
+
coordinatesAtInstitutes: string[];
|
|
1370
|
+
openToWorkOnly: boolean;
|
|
1371
|
+
remoteExperienceOnly: boolean;
|
|
1372
|
+
hasResumeOnly: boolean;
|
|
1373
|
+
onboardingCompletedOnly: boolean;
|
|
1374
|
+
emailVerifiedOnly: boolean;
|
|
1375
|
+
mobileVerifiedOnly: boolean;
|
|
1376
|
+
};
|
|
1377
|
+
}, yup.AnyObject, {
|
|
1378
|
+
name: undefined;
|
|
1379
|
+
description: undefined;
|
|
1380
|
+
filter: {
|
|
1381
|
+
countries: never[];
|
|
1382
|
+
roles: never[];
|
|
1383
|
+
experienceLevels: never[];
|
|
1384
|
+
targetExperienceLevels: never[];
|
|
1385
|
+
jobSearchUrgencies: never[];
|
|
1386
|
+
referralSources: never[];
|
|
1387
|
+
statuses: never[];
|
|
1388
|
+
profileVisibilities: never[];
|
|
1389
|
+
skillProficiencyLevels: never[];
|
|
1390
|
+
languageProficiencyLevels: never[];
|
|
1391
|
+
studyTypes: never[];
|
|
1392
|
+
socialAccountTypes: never[];
|
|
1393
|
+
salaryCurrencies: never[];
|
|
1394
|
+
skills: never[];
|
|
1395
|
+
languages: never[];
|
|
1396
|
+
interests: never[];
|
|
1397
|
+
companies: never[];
|
|
1398
|
+
designations: never[];
|
|
1399
|
+
institutes: never[];
|
|
1400
|
+
courses: never[];
|
|
1401
|
+
fieldsOfStudy: never[];
|
|
1402
|
+
certifications: never[];
|
|
1403
|
+
certificationAuthorities: never[];
|
|
1404
|
+
projects: never[];
|
|
1405
|
+
jobRoles: never[];
|
|
1406
|
+
jobLocations: never[];
|
|
1407
|
+
hiringForCompanies: never[];
|
|
1408
|
+
coordinatesAtInstitutes: never[];
|
|
1409
|
+
keywords: never[];
|
|
1410
|
+
minSalaryFloor: undefined;
|
|
1411
|
+
minSalaryCeil: undefined;
|
|
1412
|
+
openToWorkOnly: false;
|
|
1413
|
+
remoteExperienceOnly: false;
|
|
1414
|
+
hasResumeOnly: false;
|
|
1415
|
+
onboardingCompletedOnly: false;
|
|
1416
|
+
emailVerifiedOnly: false;
|
|
1417
|
+
mobileVerifiedOnly: false;
|
|
1418
|
+
};
|
|
1419
|
+
}, "">;
|
|
1420
|
+
declare const CampaignSchema: yup.ObjectSchema<{
|
|
1421
|
+
name: string;
|
|
1422
|
+
subject: string;
|
|
1423
|
+
html: string;
|
|
1424
|
+
text: string | undefined;
|
|
1425
|
+
listId: string;
|
|
1426
|
+
}, yup.AnyObject, {
|
|
1427
|
+
name: undefined;
|
|
1428
|
+
subject: undefined;
|
|
1429
|
+
html: undefined;
|
|
1430
|
+
text: undefined;
|
|
1431
|
+
listId: undefined;
|
|
1432
|
+
}, "">;
|
|
1433
|
+
|
|
1434
|
+
declare enum CampaignStatus {
|
|
1435
|
+
Draft = "draft",
|
|
1436
|
+
Sending = "sending",
|
|
1437
|
+
Sent = "sent",
|
|
1438
|
+
Failed = "failed"
|
|
1439
|
+
}
|
|
1440
|
+
declare const SupportedCampaignStatuses: CampaignStatus[];
|
|
1441
|
+
|
|
1258
1442
|
declare const PaginationSchema: yup.ObjectSchema<{
|
|
1259
1443
|
page: number;
|
|
1260
1444
|
limit: number;
|
|
@@ -1462,6 +1646,20 @@ type SupportedSalaryCurrency = (typeof SupportedSalaryCurrencies)[number];
|
|
|
1462
1646
|
/** Bounds enforced server-side on the minimum-salary slider. */
|
|
1463
1647
|
declare const MIN_SALARY_LOWER_BOUND = 0;
|
|
1464
1648
|
declare const MIN_SALARY_UPPER_BOUND = 1000000;
|
|
1649
|
+
/**
|
|
1650
|
+
* Profile fields whose confirmed write should drain the resume-parser's
|
|
1651
|
+
* suggestion. When the user accepts/edits one of these, the matching
|
|
1652
|
+
* `pendingPrefill.<key>` is unset in the same write so the "Suggestion"
|
|
1653
|
+
* affordance disappears on the next load ("confirmed beats prefill").
|
|
1654
|
+
*/
|
|
1655
|
+
declare const PREFILL_MIRRORED_KEYS: readonly ["headline", "aboutMe", "mobile", "location", "experienceLevel", "socialAccounts", "workExperiences", "educations"];
|
|
1656
|
+
type PrefillMirroredKey = (typeof PREFILL_MIRRORED_KEYS)[number];
|
|
1657
|
+
/**
|
|
1658
|
+
* Fields stripped from a public (non-owner) profile read. A public profile must
|
|
1659
|
+
* never expose these regardless of the caller's requested `fields`.
|
|
1660
|
+
*/
|
|
1661
|
+
declare const PRIVATE_PROFILE_FIELDS: readonly ["email", "emailVerified", "mobile", "additionalInfo"];
|
|
1662
|
+
type PrivateProfileField = (typeof PRIVATE_PROFILE_FIELDS)[number];
|
|
1465
1663
|
|
|
1466
1664
|
declare const UserSchema: yup.ObjectSchema<{
|
|
1467
1665
|
authAccountId: string;
|
|
@@ -2654,4 +2852,4 @@ declare const StudentCompletenessSchema: yup.ObjectSchema<{
|
|
|
2654
2852
|
};
|
|
2655
2853
|
}, "">;
|
|
2656
2854
|
|
|
2657
|
-
export { AnswerChoiceType, ApplicationReceivePreference, ChoiceQuestionSchema, Common, CompensationType, CompletenessScoreSchema, ContactTypes, CoordinatorPageLinkSchema, DISPLAY_DATE_FORMAT, DISPLAY_DATE_FORMAT_SHORT, DateStringSchema, DbDefaultSchema, DefaultPaginatedResponse, DefaultPaginationOptions, DefaultUserRoles, DurationSchema, EMPTY_STRING, EducationLevel, EducationSchema, EmployeeCount, EmploymentType, ExperienceLevel, GeneraDetailFields, GroupManagedBy, GroupMembershipSchema, GroupMembershipStatus, GroupSchema, GroupStatus, GroupTranslationSchema, GroupVisibility, InputQuestionSchema, JOB_TAXONOMY, JobCategory, JobIndustry, JobSchema, JobSearchUrgency, JobStatus, JobSubCategory, LocationSchema, MIN_SALARY_LOWER_BOUND, MIN_SALARY_UPPER_BOUND, PageSchema, PageStatus, PageType, type PaginatedResponse, PaginationSchema, PostSchema, PostStatus, ProficiencyLevel, QuestionSchema, QuestionType, ReadAndAcknowledgeQuestionSchema, RecruiterPageLinkSchema, ReferralSource, ReportReason, ReportSchema, ResourceType, SITEMAP_FORMAT, SYSTEM_DATE_FORMAT, SkillSchema, SocialAccount, SocialAccountSchema, StudentCompletenessSchema, StudyType, SupportedAnswerChoiceTypes, SupportedApplicationReceivePreferences, SupportedCompensationTypes, SupportedContactTypes, SupportedEducationLevels, SupportedEmployeeCounts, SupportedEmploymentTypes, SupportedExperienceLevels, SupportedJobCategories, SupportedJobIndustries, SupportedJobSearchUrgencies, SupportedJobStatuses, SupportedJobSubCategories, SupportedPageStatuses, SupportedPageTypes, SupportedPostStatuses, SupportedProficiencyLevels, SupportedQuestionTypes, SupportedReferralSources, SupportedReportReasons, SupportedResourceTypes, SupportedSalaryCurrencies, type SupportedSalaryCurrency, SupportedSocialAccounts, SupportedStudyTypes, SupportedUserProfileVisibilities, SupportedUserRoles, SupportedUserStatuses, SupportedWorkModes, TAXONOMY_LABELS, type TChoiceQuestionSchema, type TDurationSchema, type TInputQuestionSchema, type TJobSchema, type TPostSchema, type TQuestionSchema, type TReadAndAcknowledgeQuestionSchema, type TUserIdAndCreatedAtSchema, TermsAcceptedSchema, UserAdditionalInfoSchema, UserCertificationSchema, UserCompletenessSchema, UserCoordinatorProfileSchema, UserDetailType, UserGeneralDetailSchema, UserIdAndCreatedAtSchema, UserInterestSchema, UserJobPreferencesSchema, UserLanguageSchema, type UserProfileOverview, UserProfileVisibility, UserProjectSchema, UserRecruiterProfileSchema, UserRole, UserSchema, UserSkillSchema, UserStatus, WorkExperienceSchema, WorkMode, categoryOfIndustry, categoryOfSubCategory, dateString, deriveIndustry, getSchemaByQuestion, industriesOfCategory, industryOfSubCategory, subCategoriesOfIndustry };
|
|
2855
|
+
export { AnswerChoiceType, ApplicationReceivePreference, CampaignSchema, CampaignStatus, ChoiceQuestionSchema, Common, CompensationType, CompletenessScoreSchema, ContactTypes, CoordinatorPageLinkSchema, DISPLAY_DATE_FORMAT, DISPLAY_DATE_FORMAT_SHORT, DateStringSchema, DbDefaultSchema, DefaultPaginatedResponse, DefaultPaginationOptions, DefaultUserRoles, DurationSchema, EMPTY_STRING, EducationLevel, EducationSchema, EmployeeCount, EmploymentType, ExperienceLevel, GeneraDetailFields, GroupManagedBy, GroupMembershipSchema, GroupMembershipStatus, GroupSchema, GroupStatus, GroupTranslationSchema, GroupVisibility, InputQuestionSchema, JOB_TAXONOMY, JobCategory, JobIndustry, JobSchema, JobSearchUrgency, JobStatus, JobSubCategory, ListFilterSchema, LocationSchema, MIN_SALARY_LOWER_BOUND, MIN_SALARY_UPPER_BOUND, MailingListSchema, PREFILL_MIRRORED_KEYS, PRIVATE_PROFILE_FIELDS, PageSchema, PageStatus, PageType, type PaginatedResponse, PaginationSchema, PostSchema, PostStatus, type PrefillMirroredKey, type PrivateProfileField, ProficiencyLevel, QuestionSchema, QuestionType, ReadAndAcknowledgeQuestionSchema, RecruiterPageLinkSchema, ReferralSource, ReportReason, ReportSchema, ResourceType, SITEMAP_FORMAT, SYSTEM_DATE_FORMAT, SkillSchema, SocialAccount, SocialAccountSchema, StudentCompletenessSchema, StudyType, SupportedAnswerChoiceTypes, SupportedApplicationReceivePreferences, SupportedCampaignStatuses, SupportedCompensationTypes, SupportedContactTypes, SupportedEducationLevels, SupportedEmployeeCounts, SupportedEmploymentTypes, SupportedExperienceLevels, SupportedJobCategories, SupportedJobIndustries, SupportedJobSearchUrgencies, SupportedJobStatuses, SupportedJobSubCategories, SupportedPageStatuses, SupportedPageTypes, SupportedPostStatuses, SupportedProficiencyLevels, SupportedQuestionTypes, SupportedReferralSources, SupportedReportReasons, SupportedResourceTypes, SupportedSalaryCurrencies, type SupportedSalaryCurrency, SupportedSocialAccounts, SupportedStudyTypes, SupportedUserProfileVisibilities, SupportedUserRoles, SupportedUserStatuses, SupportedWorkModes, TAXONOMY_LABELS, type TChoiceQuestionSchema, type TDurationSchema, type TInputQuestionSchema, type TJobSchema, type TPostSchema, type TQuestionSchema, type TReadAndAcknowledgeQuestionSchema, type TUserIdAndCreatedAtSchema, TermsAcceptedSchema, UserAdditionalInfoSchema, UserCertificationSchema, UserCompletenessSchema, UserCoordinatorProfileSchema, UserDetailType, UserGeneralDetailSchema, UserIdAndCreatedAtSchema, UserInterestSchema, UserJobPreferencesSchema, UserLanguageSchema, type UserProfileOverview, UserProfileVisibility, UserProjectSchema, UserRecruiterProfileSchema, UserRole, UserSchema, UserSkillSchema, UserStatus, WorkExperienceSchema, WorkMode, categoryOfIndustry, categoryOfSubCategory, dateString, deriveIndustry, getSchemaByQuestion, industriesOfCategory, industryOfSubCategory, subCategoriesOfIndustry };
|
package/dist/index.d.ts
CHANGED
|
@@ -1255,6 +1255,190 @@ declare const PageSchema: yup.ObjectSchema<NonNullable<{
|
|
|
1255
1255
|
updatedAt: undefined;
|
|
1256
1256
|
}, "">;
|
|
1257
1257
|
|
|
1258
|
+
declare const ListFilterSchema: yup.ObjectSchema<{
|
|
1259
|
+
countries: string[];
|
|
1260
|
+
roles: string[];
|
|
1261
|
+
experienceLevels: string[];
|
|
1262
|
+
targetExperienceLevels: string[];
|
|
1263
|
+
jobSearchUrgencies: string[];
|
|
1264
|
+
referralSources: string[];
|
|
1265
|
+
statuses: string[];
|
|
1266
|
+
profileVisibilities: string[];
|
|
1267
|
+
skillProficiencyLevels: string[];
|
|
1268
|
+
languageProficiencyLevels: string[];
|
|
1269
|
+
studyTypes: string[];
|
|
1270
|
+
socialAccountTypes: string[];
|
|
1271
|
+
salaryCurrencies: string[];
|
|
1272
|
+
skills: string[];
|
|
1273
|
+
languages: string[];
|
|
1274
|
+
interests: string[];
|
|
1275
|
+
companies: string[];
|
|
1276
|
+
designations: string[];
|
|
1277
|
+
institutes: string[];
|
|
1278
|
+
courses: string[];
|
|
1279
|
+
fieldsOfStudy: string[];
|
|
1280
|
+
certifications: string[];
|
|
1281
|
+
certificationAuthorities: string[];
|
|
1282
|
+
projects: string[];
|
|
1283
|
+
jobRoles: string[];
|
|
1284
|
+
jobLocations: string[];
|
|
1285
|
+
hiringForCompanies: string[];
|
|
1286
|
+
coordinatesAtInstitutes: string[];
|
|
1287
|
+
keywords: string[];
|
|
1288
|
+
minSalaryFloor: number | undefined;
|
|
1289
|
+
minSalaryCeil: number | undefined;
|
|
1290
|
+
openToWorkOnly: boolean;
|
|
1291
|
+
remoteExperienceOnly: boolean;
|
|
1292
|
+
hasResumeOnly: boolean;
|
|
1293
|
+
onboardingCompletedOnly: boolean;
|
|
1294
|
+
emailVerifiedOnly: boolean;
|
|
1295
|
+
mobileVerifiedOnly: boolean;
|
|
1296
|
+
}, yup.AnyObject, {
|
|
1297
|
+
countries: never[];
|
|
1298
|
+
roles: never[];
|
|
1299
|
+
experienceLevels: never[];
|
|
1300
|
+
targetExperienceLevels: never[];
|
|
1301
|
+
jobSearchUrgencies: never[];
|
|
1302
|
+
referralSources: never[];
|
|
1303
|
+
statuses: never[];
|
|
1304
|
+
profileVisibilities: never[];
|
|
1305
|
+
skillProficiencyLevels: never[];
|
|
1306
|
+
languageProficiencyLevels: never[];
|
|
1307
|
+
studyTypes: never[];
|
|
1308
|
+
socialAccountTypes: never[];
|
|
1309
|
+
salaryCurrencies: never[];
|
|
1310
|
+
skills: never[];
|
|
1311
|
+
languages: never[];
|
|
1312
|
+
interests: never[];
|
|
1313
|
+
companies: never[];
|
|
1314
|
+
designations: never[];
|
|
1315
|
+
institutes: never[];
|
|
1316
|
+
courses: never[];
|
|
1317
|
+
fieldsOfStudy: never[];
|
|
1318
|
+
certifications: never[];
|
|
1319
|
+
certificationAuthorities: never[];
|
|
1320
|
+
projects: never[];
|
|
1321
|
+
jobRoles: never[];
|
|
1322
|
+
jobLocations: never[];
|
|
1323
|
+
hiringForCompanies: never[];
|
|
1324
|
+
coordinatesAtInstitutes: never[];
|
|
1325
|
+
keywords: never[];
|
|
1326
|
+
minSalaryFloor: undefined;
|
|
1327
|
+
minSalaryCeil: undefined;
|
|
1328
|
+
openToWorkOnly: false;
|
|
1329
|
+
remoteExperienceOnly: false;
|
|
1330
|
+
hasResumeOnly: false;
|
|
1331
|
+
onboardingCompletedOnly: false;
|
|
1332
|
+
emailVerifiedOnly: false;
|
|
1333
|
+
mobileVerifiedOnly: false;
|
|
1334
|
+
}, "">;
|
|
1335
|
+
declare const MailingListSchema: yup.ObjectSchema<{
|
|
1336
|
+
name: string;
|
|
1337
|
+
description: string | undefined;
|
|
1338
|
+
filter: {
|
|
1339
|
+
minSalaryFloor?: number | undefined;
|
|
1340
|
+
minSalaryCeil?: number | undefined;
|
|
1341
|
+
keywords: string[];
|
|
1342
|
+
countries: string[];
|
|
1343
|
+
courses: string[];
|
|
1344
|
+
skills: string[];
|
|
1345
|
+
languages: string[];
|
|
1346
|
+
certifications: string[];
|
|
1347
|
+
interests: string[];
|
|
1348
|
+
projects: string[];
|
|
1349
|
+
roles: string[];
|
|
1350
|
+
experienceLevels: string[];
|
|
1351
|
+
targetExperienceLevels: string[];
|
|
1352
|
+
jobSearchUrgencies: string[];
|
|
1353
|
+
referralSources: string[];
|
|
1354
|
+
statuses: string[];
|
|
1355
|
+
profileVisibilities: string[];
|
|
1356
|
+
skillProficiencyLevels: string[];
|
|
1357
|
+
languageProficiencyLevels: string[];
|
|
1358
|
+
studyTypes: string[];
|
|
1359
|
+
socialAccountTypes: string[];
|
|
1360
|
+
salaryCurrencies: string[];
|
|
1361
|
+
companies: string[];
|
|
1362
|
+
designations: string[];
|
|
1363
|
+
institutes: string[];
|
|
1364
|
+
fieldsOfStudy: string[];
|
|
1365
|
+
certificationAuthorities: string[];
|
|
1366
|
+
jobRoles: string[];
|
|
1367
|
+
jobLocations: string[];
|
|
1368
|
+
hiringForCompanies: string[];
|
|
1369
|
+
coordinatesAtInstitutes: string[];
|
|
1370
|
+
openToWorkOnly: boolean;
|
|
1371
|
+
remoteExperienceOnly: boolean;
|
|
1372
|
+
hasResumeOnly: boolean;
|
|
1373
|
+
onboardingCompletedOnly: boolean;
|
|
1374
|
+
emailVerifiedOnly: boolean;
|
|
1375
|
+
mobileVerifiedOnly: boolean;
|
|
1376
|
+
};
|
|
1377
|
+
}, yup.AnyObject, {
|
|
1378
|
+
name: undefined;
|
|
1379
|
+
description: undefined;
|
|
1380
|
+
filter: {
|
|
1381
|
+
countries: never[];
|
|
1382
|
+
roles: never[];
|
|
1383
|
+
experienceLevels: never[];
|
|
1384
|
+
targetExperienceLevels: never[];
|
|
1385
|
+
jobSearchUrgencies: never[];
|
|
1386
|
+
referralSources: never[];
|
|
1387
|
+
statuses: never[];
|
|
1388
|
+
profileVisibilities: never[];
|
|
1389
|
+
skillProficiencyLevels: never[];
|
|
1390
|
+
languageProficiencyLevels: never[];
|
|
1391
|
+
studyTypes: never[];
|
|
1392
|
+
socialAccountTypes: never[];
|
|
1393
|
+
salaryCurrencies: never[];
|
|
1394
|
+
skills: never[];
|
|
1395
|
+
languages: never[];
|
|
1396
|
+
interests: never[];
|
|
1397
|
+
companies: never[];
|
|
1398
|
+
designations: never[];
|
|
1399
|
+
institutes: never[];
|
|
1400
|
+
courses: never[];
|
|
1401
|
+
fieldsOfStudy: never[];
|
|
1402
|
+
certifications: never[];
|
|
1403
|
+
certificationAuthorities: never[];
|
|
1404
|
+
projects: never[];
|
|
1405
|
+
jobRoles: never[];
|
|
1406
|
+
jobLocations: never[];
|
|
1407
|
+
hiringForCompanies: never[];
|
|
1408
|
+
coordinatesAtInstitutes: never[];
|
|
1409
|
+
keywords: never[];
|
|
1410
|
+
minSalaryFloor: undefined;
|
|
1411
|
+
minSalaryCeil: undefined;
|
|
1412
|
+
openToWorkOnly: false;
|
|
1413
|
+
remoteExperienceOnly: false;
|
|
1414
|
+
hasResumeOnly: false;
|
|
1415
|
+
onboardingCompletedOnly: false;
|
|
1416
|
+
emailVerifiedOnly: false;
|
|
1417
|
+
mobileVerifiedOnly: false;
|
|
1418
|
+
};
|
|
1419
|
+
}, "">;
|
|
1420
|
+
declare const CampaignSchema: yup.ObjectSchema<{
|
|
1421
|
+
name: string;
|
|
1422
|
+
subject: string;
|
|
1423
|
+
html: string;
|
|
1424
|
+
text: string | undefined;
|
|
1425
|
+
listId: string;
|
|
1426
|
+
}, yup.AnyObject, {
|
|
1427
|
+
name: undefined;
|
|
1428
|
+
subject: undefined;
|
|
1429
|
+
html: undefined;
|
|
1430
|
+
text: undefined;
|
|
1431
|
+
listId: undefined;
|
|
1432
|
+
}, "">;
|
|
1433
|
+
|
|
1434
|
+
declare enum CampaignStatus {
|
|
1435
|
+
Draft = "draft",
|
|
1436
|
+
Sending = "sending",
|
|
1437
|
+
Sent = "sent",
|
|
1438
|
+
Failed = "failed"
|
|
1439
|
+
}
|
|
1440
|
+
declare const SupportedCampaignStatuses: CampaignStatus[];
|
|
1441
|
+
|
|
1258
1442
|
declare const PaginationSchema: yup.ObjectSchema<{
|
|
1259
1443
|
page: number;
|
|
1260
1444
|
limit: number;
|
|
@@ -1462,6 +1646,20 @@ type SupportedSalaryCurrency = (typeof SupportedSalaryCurrencies)[number];
|
|
|
1462
1646
|
/** Bounds enforced server-side on the minimum-salary slider. */
|
|
1463
1647
|
declare const MIN_SALARY_LOWER_BOUND = 0;
|
|
1464
1648
|
declare const MIN_SALARY_UPPER_BOUND = 1000000;
|
|
1649
|
+
/**
|
|
1650
|
+
* Profile fields whose confirmed write should drain the resume-parser's
|
|
1651
|
+
* suggestion. When the user accepts/edits one of these, the matching
|
|
1652
|
+
* `pendingPrefill.<key>` is unset in the same write so the "Suggestion"
|
|
1653
|
+
* affordance disappears on the next load ("confirmed beats prefill").
|
|
1654
|
+
*/
|
|
1655
|
+
declare const PREFILL_MIRRORED_KEYS: readonly ["headline", "aboutMe", "mobile", "location", "experienceLevel", "socialAccounts", "workExperiences", "educations"];
|
|
1656
|
+
type PrefillMirroredKey = (typeof PREFILL_MIRRORED_KEYS)[number];
|
|
1657
|
+
/**
|
|
1658
|
+
* Fields stripped from a public (non-owner) profile read. A public profile must
|
|
1659
|
+
* never expose these regardless of the caller's requested `fields`.
|
|
1660
|
+
*/
|
|
1661
|
+
declare const PRIVATE_PROFILE_FIELDS: readonly ["email", "emailVerified", "mobile", "additionalInfo"];
|
|
1662
|
+
type PrivateProfileField = (typeof PRIVATE_PROFILE_FIELDS)[number];
|
|
1465
1663
|
|
|
1466
1664
|
declare const UserSchema: yup.ObjectSchema<{
|
|
1467
1665
|
authAccountId: string;
|
|
@@ -2654,4 +2852,4 @@ declare const StudentCompletenessSchema: yup.ObjectSchema<{
|
|
|
2654
2852
|
};
|
|
2655
2853
|
}, "">;
|
|
2656
2854
|
|
|
2657
|
-
export { AnswerChoiceType, ApplicationReceivePreference, ChoiceQuestionSchema, Common, CompensationType, CompletenessScoreSchema, ContactTypes, CoordinatorPageLinkSchema, DISPLAY_DATE_FORMAT, DISPLAY_DATE_FORMAT_SHORT, DateStringSchema, DbDefaultSchema, DefaultPaginatedResponse, DefaultPaginationOptions, DefaultUserRoles, DurationSchema, EMPTY_STRING, EducationLevel, EducationSchema, EmployeeCount, EmploymentType, ExperienceLevel, GeneraDetailFields, GroupManagedBy, GroupMembershipSchema, GroupMembershipStatus, GroupSchema, GroupStatus, GroupTranslationSchema, GroupVisibility, InputQuestionSchema, JOB_TAXONOMY, JobCategory, JobIndustry, JobSchema, JobSearchUrgency, JobStatus, JobSubCategory, LocationSchema, MIN_SALARY_LOWER_BOUND, MIN_SALARY_UPPER_BOUND, PageSchema, PageStatus, PageType, type PaginatedResponse, PaginationSchema, PostSchema, PostStatus, ProficiencyLevel, QuestionSchema, QuestionType, ReadAndAcknowledgeQuestionSchema, RecruiterPageLinkSchema, ReferralSource, ReportReason, ReportSchema, ResourceType, SITEMAP_FORMAT, SYSTEM_DATE_FORMAT, SkillSchema, SocialAccount, SocialAccountSchema, StudentCompletenessSchema, StudyType, SupportedAnswerChoiceTypes, SupportedApplicationReceivePreferences, SupportedCompensationTypes, SupportedContactTypes, SupportedEducationLevels, SupportedEmployeeCounts, SupportedEmploymentTypes, SupportedExperienceLevels, SupportedJobCategories, SupportedJobIndustries, SupportedJobSearchUrgencies, SupportedJobStatuses, SupportedJobSubCategories, SupportedPageStatuses, SupportedPageTypes, SupportedPostStatuses, SupportedProficiencyLevels, SupportedQuestionTypes, SupportedReferralSources, SupportedReportReasons, SupportedResourceTypes, SupportedSalaryCurrencies, type SupportedSalaryCurrency, SupportedSocialAccounts, SupportedStudyTypes, SupportedUserProfileVisibilities, SupportedUserRoles, SupportedUserStatuses, SupportedWorkModes, TAXONOMY_LABELS, type TChoiceQuestionSchema, type TDurationSchema, type TInputQuestionSchema, type TJobSchema, type TPostSchema, type TQuestionSchema, type TReadAndAcknowledgeQuestionSchema, type TUserIdAndCreatedAtSchema, TermsAcceptedSchema, UserAdditionalInfoSchema, UserCertificationSchema, UserCompletenessSchema, UserCoordinatorProfileSchema, UserDetailType, UserGeneralDetailSchema, UserIdAndCreatedAtSchema, UserInterestSchema, UserJobPreferencesSchema, UserLanguageSchema, type UserProfileOverview, UserProfileVisibility, UserProjectSchema, UserRecruiterProfileSchema, UserRole, UserSchema, UserSkillSchema, UserStatus, WorkExperienceSchema, WorkMode, categoryOfIndustry, categoryOfSubCategory, dateString, deriveIndustry, getSchemaByQuestion, industriesOfCategory, industryOfSubCategory, subCategoriesOfIndustry };
|
|
2855
|
+
export { AnswerChoiceType, ApplicationReceivePreference, CampaignSchema, CampaignStatus, ChoiceQuestionSchema, Common, CompensationType, CompletenessScoreSchema, ContactTypes, CoordinatorPageLinkSchema, DISPLAY_DATE_FORMAT, DISPLAY_DATE_FORMAT_SHORT, DateStringSchema, DbDefaultSchema, DefaultPaginatedResponse, DefaultPaginationOptions, DefaultUserRoles, DurationSchema, EMPTY_STRING, EducationLevel, EducationSchema, EmployeeCount, EmploymentType, ExperienceLevel, GeneraDetailFields, GroupManagedBy, GroupMembershipSchema, GroupMembershipStatus, GroupSchema, GroupStatus, GroupTranslationSchema, GroupVisibility, InputQuestionSchema, JOB_TAXONOMY, JobCategory, JobIndustry, JobSchema, JobSearchUrgency, JobStatus, JobSubCategory, ListFilterSchema, LocationSchema, MIN_SALARY_LOWER_BOUND, MIN_SALARY_UPPER_BOUND, MailingListSchema, PREFILL_MIRRORED_KEYS, PRIVATE_PROFILE_FIELDS, PageSchema, PageStatus, PageType, type PaginatedResponse, PaginationSchema, PostSchema, PostStatus, type PrefillMirroredKey, type PrivateProfileField, ProficiencyLevel, QuestionSchema, QuestionType, ReadAndAcknowledgeQuestionSchema, RecruiterPageLinkSchema, ReferralSource, ReportReason, ReportSchema, ResourceType, SITEMAP_FORMAT, SYSTEM_DATE_FORMAT, SkillSchema, SocialAccount, SocialAccountSchema, StudentCompletenessSchema, StudyType, SupportedAnswerChoiceTypes, SupportedApplicationReceivePreferences, SupportedCampaignStatuses, SupportedCompensationTypes, SupportedContactTypes, SupportedEducationLevels, SupportedEmployeeCounts, SupportedEmploymentTypes, SupportedExperienceLevels, SupportedJobCategories, SupportedJobIndustries, SupportedJobSearchUrgencies, SupportedJobStatuses, SupportedJobSubCategories, SupportedPageStatuses, SupportedPageTypes, SupportedPostStatuses, SupportedProficiencyLevels, SupportedQuestionTypes, SupportedReferralSources, SupportedReportReasons, SupportedResourceTypes, SupportedSalaryCurrencies, type SupportedSalaryCurrency, SupportedSocialAccounts, SupportedStudyTypes, SupportedUserProfileVisibilities, SupportedUserRoles, SupportedUserStatuses, SupportedWorkModes, TAXONOMY_LABELS, type TChoiceQuestionSchema, type TDurationSchema, type TInputQuestionSchema, type TJobSchema, type TPostSchema, type TQuestionSchema, type TReadAndAcknowledgeQuestionSchema, type TUserIdAndCreatedAtSchema, TermsAcceptedSchema, UserAdditionalInfoSchema, UserCertificationSchema, UserCompletenessSchema, UserCoordinatorProfileSchema, UserDetailType, UserGeneralDetailSchema, UserIdAndCreatedAtSchema, UserInterestSchema, UserJobPreferencesSchema, UserLanguageSchema, type UserProfileOverview, UserProfileVisibility, UserProjectSchema, UserRecruiterProfileSchema, UserRole, UserSchema, UserSkillSchema, UserStatus, WorkExperienceSchema, WorkMode, categoryOfIndustry, categoryOfSubCategory, dateString, deriveIndustry, getSchemaByQuestion, industriesOfCategory, industryOfSubCategory, subCategoriesOfIndustry };
|