lancer-shared 1.2.250 → 1.2.252

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.
@@ -6827,6 +6827,22 @@ const proposalSchema = z.object({
6827
6827
  questionAnswerPairs: questionAnswerPairSchema.array(),
6828
6828
  });
6829
6829
 
6830
+ const specialisedProfileSchema = z.object({
6831
+ name: z.string(),
6832
+ title: z.string(),
6833
+ });
6834
+ const pickProfileRequestSchema = z.object({
6835
+ jobTitle: z.string(),
6836
+ jobDescription: z.string(),
6837
+ model: z.string(),
6838
+ // specialisedProfiles: z.array(specialisedProfileSchema),
6839
+ });
6840
+ const pickProfileResponseSchema = z.object({
6841
+ selectedProfile: specialisedProfileSchema,
6842
+ confidence: z.string(),
6843
+ matchingKeywords: z.array(z.string()),
6844
+ });
6845
+
6830
6846
  const agentGenerateProposalRequestSchema = z.object({
6831
6847
  userId: z.string().nullable(),
6832
6848
  organizationId: z.string(),
@@ -8703,6 +8719,7 @@ const biddingCompletedEventMetadata = objectType({
8703
8719
  boosted: booleanType(),
8704
8720
  boostingAmount: numberType(),
8705
8721
  applicationId: stringType(),
8722
+ boostedForPlace: z.number().nullable(),
8706
8723
  });
8707
8724
  const biddingFailedEventMetadata = objectType({
8708
8725
  error: z.any(),
@@ -15182,6 +15199,7 @@ const ROUTES = {
15182
15199
  TEST_SUITABILITY: 'agent/test-suitability',
15183
15200
  TEST_PROPOSAL: 'agent/test-proposal',
15184
15201
  TEST_SYSTEM_PROMPTS: 'agent/test-system-prompts',
15202
+ TEST_PICK_PROFILE: 'agent/test-pick-profile',
15185
15203
  ANALYZE_LEAD: 'agent/analyze-lead',
15186
15204
  GENERATE_PROPOSAL: 'agent/generate-proposal',
15187
15205
  PICK_SPECIALISED_PROFILE: 'agent/pick-specialised-profile',
@@ -24077,6 +24095,8 @@ exports.passwordSchema = passwordSchema;
24077
24095
  exports.paymentTypeEnum = paymentTypeEnum;
24078
24096
  exports.periodTypeSchema = periodTypeSchema;
24079
24097
  exports.periodUsageSchema = periodUsageSchema;
24098
+ exports.pickProfileRequestSchema = pickProfileRequestSchema;
24099
+ exports.pickProfileResponseSchema = pickProfileResponseSchema;
24080
24100
  exports.planFeatureSchema = planFeatureSchema;
24081
24101
  exports.planSchema = planSchema;
24082
24102
  exports.planSlugEnum = planSlugEnum;
@@ -24137,6 +24157,7 @@ exports.selectContractorException = selectContractorException;
24137
24157
  exports.selectorNotFoundError = selectorNotFoundError;
24138
24158
  exports.sendAlertPayloadSchema = sendAlertPayloadSchema;
24139
24159
  exports.sendNotificationRequestSchema = sendNotificationRequestSchema;
24160
+ exports.specialisedProfileSchema = specialisedProfileSchema;
24140
24161
  exports.stringify = stringify;
24141
24162
  exports.subscribePayloadSchema = subscribePayloadSchema;
24142
24163
  exports.subscriptionSchema = subscriptionSchema;