lancer-shared 1.2.245 → 1.2.246
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/bundle.cjs.js +36 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +33 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +6 -0
- package/dist/schemas/agent/classification-enum.d.ts +3 -0
- package/dist/schemas/golden-dataset/index.d.ts +1 -0
- package/dist/schemas/golden-dataset/sample.d.ts +72 -0
- package/dist/schemas/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -8404,6 +8404,32 @@ const organizationCampaignStatsSchema = z.object({
|
|
|
8404
8404
|
campaigns: z.array(campaignDetailsSchema),
|
|
8405
8405
|
});
|
|
8406
8406
|
|
|
8407
|
+
const labelEnum = z.enum(['suitable', 'unsuitable']);
|
|
8408
|
+
const sampleSchema = z.object({
|
|
8409
|
+
id: z.string(),
|
|
8410
|
+
organizationId: z.string(),
|
|
8411
|
+
campaignId: z.string(),
|
|
8412
|
+
leadId: z.string(),
|
|
8413
|
+
systemPromptSnapshot: z.string(),
|
|
8414
|
+
jobDetailsSnapshot: z.string(),
|
|
8415
|
+
label: labelEnum,
|
|
8416
|
+
updatedAt: z.number(),
|
|
8417
|
+
createdAt: z.number(),
|
|
8418
|
+
});
|
|
8419
|
+
const createSampleSchema = z.object({
|
|
8420
|
+
organizationId: z.string(),
|
|
8421
|
+
systemPromptSnapshot: z.string(),
|
|
8422
|
+
jobDetailsSnapshot: z.string(),
|
|
8423
|
+
campaignId: z.string(),
|
|
8424
|
+
leadId: z.string(),
|
|
8425
|
+
label: labelEnum,
|
|
8426
|
+
});
|
|
8427
|
+
const getSamplesRequestSchema = z.object({
|
|
8428
|
+
organizationId: z.string(),
|
|
8429
|
+
campaignId: z.string(),
|
|
8430
|
+
leadIds: z.array(z.string()),
|
|
8431
|
+
});
|
|
8432
|
+
|
|
8407
8433
|
const gcpMetadataSchema = objectType({
|
|
8408
8434
|
instanceName: stringType(),
|
|
8409
8435
|
machineType: stringType(),
|
|
@@ -14999,6 +15025,12 @@ const ROUTES = {
|
|
|
14999
15025
|
BASE: 'admin/alerts',
|
|
15000
15026
|
SEND_ALERT: 'admin/alerts/send',
|
|
15001
15027
|
},
|
|
15028
|
+
GOLDEN_DATASET: {
|
|
15029
|
+
BASE: 'admin/golden-dataset',
|
|
15030
|
+
SAMPLE: (id) => `admin/golden-dataset/${id}`,
|
|
15031
|
+
CREATE_SAMPLE: 'admin/golden-dataset/create',
|
|
15032
|
+
GET_SAMPLES: 'admin/golden-dataset/get-samples',
|
|
15033
|
+
},
|
|
15002
15034
|
AGENT: {
|
|
15003
15035
|
BASE: 'admin/agent',
|
|
15004
15036
|
TEST_JOB_QUALITY: 'admin/agent/test-job-quality',
|
|
@@ -23897,6 +23929,7 @@ exports.createCoverLetterTemplateSchema = createCoverLetterTemplateSchema;
|
|
|
23897
23929
|
exports.createHourlyRateFormSchema = createHourlyRateFormSchema;
|
|
23898
23930
|
exports.createOrganizationProfileSchema = createOrganizationProfileSchema;
|
|
23899
23931
|
exports.createOrganizationSchema = createOrganizationSchema;
|
|
23932
|
+
exports.createSampleSchema = createSampleSchema;
|
|
23900
23933
|
exports.createScraperAccountSchema = createScraperAccountSchema;
|
|
23901
23934
|
exports.createSuitabilityFormSchema = createSuitabilityFormSchema;
|
|
23902
23935
|
exports.dailyUsageSchema = dailyUsageSchema;
|
|
@@ -23949,6 +23982,7 @@ exports.getMultiloginBrowserException = getMultiloginBrowserException;
|
|
|
23949
23982
|
exports.getNextStatus = getNextStatus;
|
|
23950
23983
|
exports.getPreviousStatus = getPreviousStatus;
|
|
23951
23984
|
exports.getRouteWithoutAdminPrefix = getRouteWithoutAdminPrefix;
|
|
23985
|
+
exports.getSamplesRequestSchema = getSamplesRequestSchema;
|
|
23952
23986
|
exports.goToUrlException = goToUrlException;
|
|
23953
23987
|
exports.hasQuestionsEnum = hasQuestionsEnum;
|
|
23954
23988
|
exports.incorrectSecurityQuestionAnswerException = incorrectSecurityQuestionAnswerException;
|
|
@@ -23987,6 +24021,7 @@ exports.jobNoLongerAvailableException = jobNoLongerAvailableException;
|
|
|
23987
24021
|
exports.jobQualityScoreSchema = jobQualityScoreSchema;
|
|
23988
24022
|
exports.jobSkillsSchema = jobSkillsSchema;
|
|
23989
24023
|
exports.jobStatusOrder = jobStatusOrder;
|
|
24024
|
+
exports.labelEnum = labelEnum;
|
|
23990
24025
|
exports.lancerBiddingExceptionEventMetadata = lancerBiddingExceptionEventMetadata;
|
|
23991
24026
|
exports.leadAnalysisActivitySchema = leadAnalysisActivitySchema;
|
|
23992
24027
|
exports.leadResponseSchema = leadResponseSchema;
|
|
@@ -24069,6 +24104,7 @@ exports.regionSchema = regionSchema;
|
|
|
24069
24104
|
exports.registerSchema = registerSchema;
|
|
24070
24105
|
exports.requiredEarningsEnum = requiredEarningsEnum;
|
|
24071
24106
|
exports.requiredJSSEnum = requiredJSSEnum;
|
|
24107
|
+
exports.sampleSchema = sampleSchema;
|
|
24072
24108
|
exports.savedSearchSchema = savedSearchSchema;
|
|
24073
24109
|
exports.scrapeJobActivityPayloadSchema = scrapeJobActivityPayloadSchema;
|
|
24074
24110
|
exports.scrapeJobPayloadSchema = scrapeJobPayloadSchema;
|