lancer-shared 1.2.262 → 1.2.264

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.
@@ -6727,7 +6727,8 @@ const leadStatusEnum = z.enum([
6727
6727
  'alreadyBiddedOn',
6728
6728
  'viewed',
6729
6729
  'replied',
6730
- 'biddingProcessing',
6730
+ 'biddingScheduled',
6731
+ 'biddingFailed',
6731
6732
  'won',
6732
6733
  ]);
6733
6734
  const updateLeadStatusSchema = z.object({
@@ -6796,6 +6797,7 @@ const leadSchema = upworkJobSchema
6796
6797
  inQueue: booleanType().nullable(),
6797
6798
  biddingDelayInMinutes: numberType().nullable(),
6798
6799
  checkFeedbackStatusCreatedAt: numberType().nullable(),
6800
+ biddingScheduledAt: numberType().nullable(),
6799
6801
  wonAmount: numberType().optional(),
6800
6802
  feedbackCheckTaskId: stringType().nullable(),
6801
6803
  bidDecision: z.enum(['proceeded', 'rejected']).nullable(),
@@ -7400,7 +7402,8 @@ const updateCampaignAnalyticsSchema = z.object({
7400
7402
  'suitableJobs',
7401
7403
  'unsuitableJobs',
7402
7404
  'wonAmount',
7403
- 'biddingProcessing',
7405
+ 'biddingScheduled',
7406
+ 'biddingFailed',
7404
7407
  ])),
7405
7408
  });
7406
7409
 
@@ -15251,6 +15254,7 @@ const ROUTES = {
15251
15254
  GENERATE_COUNTS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/generate-counts`,
15252
15255
  REJECTED: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/rejected`,
15253
15256
  SCHEDULE_BIDDING: (organizationId, campaignId, leadId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/${leadId}/schedule-bidding`,
15257
+ REJECT_LEAD: (organizationId, campaignId, leadId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/${leadId}/reject-lead`,
15254
15258
  },
15255
15259
  ANALYTICS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/analytics`,
15256
15260
  TOTAL_STATS: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/analytics/totals`,