lancer-shared 1.2.270 → 1.2.272

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 (45) hide show
  1. package/dist/bundle.cjs.js +13 -6
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +13 -7
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/constants/routes.d.ts +1 -1
  6. package/dist/schemas/account/bidder-account.d.ts +20 -20
  7. package/dist/schemas/account/scraper-account.d.ts +22 -22
  8. package/dist/schemas/agent/index.d.ts +216 -216
  9. package/dist/schemas/agent/proposal.d.ts +2 -2
  10. package/dist/schemas/bidder/bid.d.ts +2062 -2043
  11. package/dist/schemas/campaign/campaign-analytics.d.ts +840 -784
  12. package/dist/schemas/campaign/campaign-chat-bot.d.ts +9 -9
  13. package/dist/schemas/campaign/campaign.d.ts +378 -378
  14. package/dist/schemas/dashboard/index.d.ts +12 -12
  15. package/dist/schemas/golden-dataset/sample.d.ts +8 -8
  16. package/dist/schemas/invoice/index.d.ts +4 -4
  17. package/dist/schemas/job/index.d.ts +112 -112
  18. package/dist/schemas/job/job-api.d.ts +6 -6
  19. package/dist/schemas/job/job-details.d.ts +74 -74
  20. package/dist/schemas/job/job-filters.d.ts +47 -47
  21. package/dist/schemas/job/job-listing.d.ts +22 -22
  22. package/dist/schemas/job/nuxt.d.ts +24 -24
  23. package/dist/schemas/lead/index.d.ts +845 -844
  24. package/dist/schemas/lead/insufficient-connects-action.d.ts +3 -0
  25. package/dist/schemas/lead/lead-status.d.ts +10 -10
  26. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +6 -6
  27. package/dist/schemas/logger/feed/feed-enrich.d.ts +6 -6
  28. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +140 -140
  29. package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
  30. package/dist/schemas/logger/log-event.d.ts +72 -72
  31. package/dist/schemas/logger/scraper-events.d.ts +28 -28
  32. package/dist/schemas/notifications/index.d.ts +4 -4
  33. package/dist/schemas/organization/billing.d.ts +2 -2
  34. package/dist/schemas/organization/index.d.ts +86 -66
  35. package/dist/schemas/organization/organization-leads.d.ts +4 -4
  36. package/dist/schemas/organization/subscription.d.ts +15 -9
  37. package/dist/schemas/plan/index.d.ts +22 -22
  38. package/dist/schemas/proxy/proxy.d.ts +2 -2
  39. package/dist/schemas/scraper/scrape-payload.d.ts +514 -495
  40. package/dist/schemas/scraper/scrape-result.d.ts +136 -136
  41. package/dist/schemas/talent/index.d.ts +148 -148
  42. package/dist/schemas/transaction/index.d.ts +2 -2
  43. package/dist/schemas/usage/index.d.ts +2 -2
  44. package/dist/schemas/usage-event/index.d.ts +8 -8
  45. package/package.json +1 -1
@@ -15,15 +15,15 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  title: string;
17
17
  description: string;
18
- questions: string[];
19
18
  leadId: string;
19
+ questions: string[];
20
20
  jobId: string;
21
21
  clientCountry: string;
22
22
  }, {
23
23
  title: string;
24
24
  description: string;
25
- questions: string[];
26
25
  leadId: string;
26
+ questions: string[];
27
27
  jobId: string;
28
28
  clientCountry: string;
29
29
  }>;
@@ -32,47 +32,47 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
32
32
  leadId: z.ZodString;
33
33
  campaignId: z.ZodString;
34
34
  }, "strip", z.ZodTypeAny, {
35
- campaignId: string;
36
35
  leadId: string;
37
- }, {
38
36
  campaignId: string;
37
+ }, {
39
38
  leadId: string;
39
+ campaignId: string;
40
40
  }>, "many">>;
41
41
  }, "strip", z.ZodTypeAny, {
42
+ organizationId: string;
42
43
  campaignId: string;
43
44
  userId: string | null;
44
- organizationId: string;
45
45
  job: {
46
46
  title: string;
47
47
  description: string;
48
- questions: string[];
49
48
  leadId: string;
49
+ questions: string[];
50
50
  jobId: string;
51
51
  clientCountry: string;
52
52
  };
53
53
  coverLetterTemplateId?: string | undefined;
54
54
  isOverallHighestPriorityCampaign?: boolean | undefined;
55
55
  applyToLeads?: {
56
- campaignId: string;
57
56
  leadId: string;
57
+ campaignId: string;
58
58
  }[] | undefined;
59
59
  }, {
60
+ organizationId: string;
60
61
  campaignId: string;
61
62
  userId: string | null;
62
- organizationId: string;
63
63
  job: {
64
64
  title: string;
65
65
  description: string;
66
- questions: string[];
67
66
  leadId: string;
67
+ questions: string[];
68
68
  jobId: string;
69
69
  clientCountry: string;
70
70
  };
71
71
  coverLetterTemplateId?: string | undefined;
72
72
  isOverallHighestPriorityCampaign?: boolean | undefined;
73
73
  applyToLeads?: {
74
- campaignId: string;
75
74
  leadId: string;
75
+ campaignId: string;
76
76
  }[] | undefined;
77
77
  }>;
78
78
  export declare const agentGenerateProposalResponseSchema: z.ZodObject<{
@@ -88,17 +88,17 @@ export declare const agentGenerateProposalResponseSchema: z.ZodObject<{
88
88
  question: string;
89
89
  }>, "many">;
90
90
  }, "strip", z.ZodTypeAny, {
91
+ coverLetter: string;
91
92
  questionAnswerPairs: {
92
93
  answer: string;
93
94
  question: string;
94
95
  }[];
95
- coverLetter: string;
96
96
  }, {
97
+ coverLetter: string;
97
98
  questionAnswerPairs: {
98
99
  answer: string;
99
100
  question: string;
100
101
  }[];
101
- coverLetter: string;
102
102
  }>;
103
103
  export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
104
104
  userId: z.ZodNullable<z.ZodString>;
@@ -144,22 +144,22 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
144
144
  }, "strip", z.ZodTypeAny, {
145
145
  hours: string | null;
146
146
  duration: string | null;
147
- paymentType: string | null;
148
- experienceLevel: string | null;
149
147
  hourlyRate: {
150
148
  max: number | null;
151
149
  min: number | null;
152
150
  } | null;
151
+ experienceLevel: string | null;
152
+ paymentType: string | null;
153
153
  fixedPrice: number | null;
154
154
  }, {
155
155
  hours: string | null;
156
156
  duration: string | null;
157
- paymentType: string | null;
158
- experienceLevel: string | null;
159
157
  hourlyRate: {
160
158
  max: number | null;
161
159
  min: number | null;
162
160
  } | null;
161
+ experienceLevel: string | null;
162
+ paymentType: string | null;
163
163
  fixedPrice: number | null;
164
164
  }>>;
165
165
  clientInfo: z.ZodNullable<z.ZodObject<{
@@ -184,39 +184,39 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
184
184
  }, "strip", z.ZodTypeAny, {
185
185
  country: string | null;
186
186
  region: string | null;
187
- isPaymentVerified: boolean | null;
188
- isPhoneVerified: boolean | null;
189
- enterpriseClient: boolean | null;
190
- companySize: string | null;
191
187
  openJobs: number | null;
192
- totalSpent: number | null;
188
+ isPhoneVerified: boolean | null;
189
+ isPaymentVerified: boolean | null;
193
190
  numberOfReviews: number | null;
194
191
  rating: number | null;
195
192
  jobsPosted: number | null;
193
+ totalSpent: number | null;
196
194
  numberOfHires: number | null;
197
195
  activeEngagements: number | null;
198
196
  hireRate: number | null;
199
197
  memberSince: string | null;
200
198
  companyIndustry: string | null;
199
+ companySize: string | null;
200
+ enterpriseClient: boolean | null;
201
201
  avgHourlyRatePaid: number | null;
202
202
  companyId: string | null;
203
203
  }, {
204
204
  country: string | null;
205
205
  region: string | null;
206
- isPaymentVerified: boolean | null;
207
- isPhoneVerified: boolean | null;
208
- enterpriseClient: boolean | null;
209
- companySize: string | null;
210
206
  openJobs: number | null;
211
- totalSpent: number | null;
207
+ isPhoneVerified: boolean | null;
208
+ isPaymentVerified: boolean | null;
212
209
  numberOfReviews: number | null;
213
210
  rating: number | null;
214
211
  jobsPosted: number | null;
212
+ totalSpent: number | null;
215
213
  numberOfHires: number | null;
216
214
  activeEngagements: number | null;
217
215
  hireRate: number | null;
218
216
  memberSince: string | null;
219
217
  companyIndustry: string | null;
218
+ companySize: string | null;
219
+ enterpriseClient: boolean | null;
220
220
  avgHourlyRatePaid: number | null;
221
221
  companyId: string | null;
222
222
  }>>;
@@ -229,18 +229,18 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
229
229
  includeRisingTalent: z.ZodNullable<z.ZodString>;
230
230
  }, "strip", z.ZodTypeAny, {
231
231
  location: string | null;
232
- includeRisingTalent: string | null;
233
232
  talentType: "unspecified" | "Independent" | "Agency" | null;
234
233
  englishLevel: string | null;
235
234
  minimumEarnings: number | null;
236
235
  jobSuccessScore: string | null;
236
+ includeRisingTalent: string | null;
237
237
  }, {
238
238
  location: string | null;
239
- includeRisingTalent: string | null;
240
239
  talentType: "unspecified" | "Independent" | "Agency" | null;
241
240
  englishLevel: string | null;
242
241
  minimumEarnings: number | null;
243
242
  jobSuccessScore: string | null;
243
+ includeRisingTalent: string | null;
244
244
  }>>;
245
245
  processed: z.ZodNullable<z.ZodBoolean>;
246
246
  isFeatured: z.ZodNullable<z.ZodBoolean>;
@@ -258,29 +258,29 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
258
258
  numHours: z.ZodNullable<z.ZodNumber>;
259
259
  totalBilled: z.ZodNullable<z.ZodNumber>;
260
260
  }, "strip", z.ZodTypeAny, {
261
- paymentType: string | null;
262
261
  hourlyRate: number | null;
263
262
  jobTitle: string | null;
263
+ paymentType: string | null;
264
+ fixedPrice: number | null;
264
265
  freelancerName: string | null;
265
266
  freelancerRating: number | null;
266
267
  freelancerFeedback: string | null;
267
268
  clientFeedback: string | null;
268
269
  clientFeedbackRating: number | null;
269
270
  dateRange: string | null;
270
- fixedPrice: number | null;
271
271
  numHours: number | null;
272
272
  totalBilled: number | null;
273
273
  }, {
274
- paymentType: string | null;
275
274
  hourlyRate: number | null;
276
275
  jobTitle: string | null;
276
+ paymentType: string | null;
277
+ fixedPrice: number | null;
277
278
  freelancerName: string | null;
278
279
  freelancerRating: number | null;
279
280
  freelancerFeedback: string | null;
280
281
  clientFeedback: string | null;
281
282
  clientFeedbackRating: number | null;
282
283
  dateRange: string | null;
283
- fixedPrice: number | null;
284
284
  numHours: number | null;
285
285
  totalBilled: number | null;
286
286
  }>, "many">>;
@@ -317,8 +317,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
317
317
  unansweredInvites: z.ZodNullable<z.ZodNumber>;
318
318
  updatedAt: z.ZodNullable<z.ZodNumber>;
319
319
  }, "strip", z.ZodTypeAny, {
320
- updatedAt: number | null;
321
320
  unansweredInvites: number | null;
321
+ updatedAt: number | null;
322
322
  proposals: {
323
323
  max: number | null;
324
324
  min: number | null;
@@ -329,8 +329,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
329
329
  interviewing: number | null;
330
330
  invitesSent: number | null;
331
331
  }, {
332
- updatedAt: number | null;
333
332
  unansweredInvites: number | null;
333
+ updatedAt: number | null;
334
334
  proposals: {
335
335
  max: number | null;
336
336
  min: number | null;
@@ -362,8 +362,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
362
362
  unansweredInvites: z.ZodNullable<z.ZodNumber>;
363
363
  updatedAt: z.ZodNullable<z.ZodNumber>;
364
364
  }, "strip", z.ZodTypeAny, {
365
- updatedAt: number | null;
366
365
  unansweredInvites: number | null;
366
+ updatedAt: number | null;
367
367
  proposals: {
368
368
  max: number | null;
369
369
  min: number | null;
@@ -374,8 +374,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
374
374
  interviewing: number | null;
375
375
  invitesSent: number | null;
376
376
  }, {
377
- updatedAt: number | null;
378
377
  unansweredInvites: number | null;
378
+ updatedAt: number | null;
379
379
  proposals: {
380
380
  max: number | null;
381
381
  min: number | null;
@@ -472,9 +472,9 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
472
472
  specialisedProfile: string | null;
473
473
  }>;
474
474
  }, "strip", z.ZodTypeAny, {
475
- appliedFromQueue: boolean | null;
476
475
  biddingDelayInMinutes: number | null;
477
- bidWithWarning: "skip" | "bid";
476
+ appliedFromQueue: boolean | null;
477
+ bidWithWarning: "bid" | "skip";
478
478
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
479
479
  biddingHourlyRatePercentage: number | null;
480
480
  biddingFixedHourlyRate: number | null;
@@ -484,16 +484,16 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
484
484
  maximumBoost: number | null;
485
485
  minBoost: number | null;
486
486
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
487
- alreadyHiredAction: "skip" | "bid";
487
+ alreadyHiredAction: "bid" | "skip";
488
488
  bidConfig: {
489
489
  contractorName: string | null;
490
490
  agencyName: string | null;
491
491
  specialisedProfile: string | null;
492
492
  };
493
493
  }, {
494
- appliedFromQueue: boolean | null;
495
494
  biddingDelayInMinutes: number | null;
496
- bidWithWarning: "skip" | "bid";
495
+ appliedFromQueue: boolean | null;
496
+ bidWithWarning: "bid" | "skip";
497
497
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
498
498
  biddingHourlyRatePercentage: number | null;
499
499
  biddingFixedHourlyRate: number | null;
@@ -503,7 +503,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
503
503
  maximumBoost: number | null;
504
504
  minBoost: number | null;
505
505
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
506
- alreadyHiredAction: "skip" | "bid";
506
+ alreadyHiredAction: "bid" | "skip";
507
507
  bidConfig: {
508
508
  contractorName: string | null;
509
509
  agencyName: string | null;
@@ -517,74 +517,78 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
517
517
  metadata: {
518
518
  hours: string | null;
519
519
  duration: string | null;
520
- paymentType: string | null;
521
- experienceLevel: string | null;
522
520
  hourlyRate: {
523
521
  max: number | null;
524
522
  min: number | null;
525
523
  } | null;
524
+ experienceLevel: string | null;
525
+ paymentType: string | null;
526
526
  fixedPrice: number | null;
527
527
  } | null;
528
528
  description: string | null;
529
- region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
529
+ region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
530
530
  datetime: number | null;
531
- campaignId: string;
532
531
  organizationId: string;
533
- inQueue: boolean | null;
532
+ campaignId: string;
533
+ category: string | null;
534
+ uid: string | null;
535
+ questions: string[] | null;
536
+ occupation: string | null;
534
537
  createdAt: number | null;
535
538
  updatedAt: number | null;
536
- isFeatured: boolean | null;
539
+ questionAnswerPairs: {
540
+ answer: string;
541
+ question: string;
542
+ }[] | null;
543
+ jobId: string;
544
+ skills: {
545
+ name: string;
546
+ }[] | null;
547
+ descriptionLength: number | null;
548
+ connectsRequired: number | null;
549
+ projectType: string | null;
537
550
  projectDuration: string | null;
538
- questions: string[] | null;
551
+ jobUrl: string | null;
539
552
  clientInfo: {
540
553
  country: string | null;
541
554
  region: string | null;
542
- isPaymentVerified: boolean | null;
543
- isPhoneVerified: boolean | null;
544
- enterpriseClient: boolean | null;
545
- companySize: string | null;
546
555
  openJobs: number | null;
547
- totalSpent: number | null;
556
+ isPhoneVerified: boolean | null;
557
+ isPaymentVerified: boolean | null;
548
558
  numberOfReviews: number | null;
549
559
  rating: number | null;
550
560
  jobsPosted: number | null;
561
+ totalSpent: number | null;
551
562
  numberOfHires: number | null;
552
563
  activeEngagements: number | null;
553
564
  hireRate: number | null;
554
565
  memberSince: string | null;
555
566
  companyIndustry: string | null;
567
+ companySize: string | null;
568
+ enterpriseClient: boolean | null;
556
569
  avgHourlyRatePaid: number | null;
557
570
  companyId: string | null;
558
571
  } | null;
559
572
  vendorQualifications: {
560
573
  location: string | null;
561
- includeRisingTalent: string | null;
562
574
  talentType: "unspecified" | "Independent" | "Agency" | null;
563
575
  englishLevel: string | null;
564
576
  minimumEarnings: number | null;
565
577
  jobSuccessScore: string | null;
578
+ includeRisingTalent: string | null;
566
579
  } | null;
567
- category: string | null;
568
- uid: string | null;
569
- occupation: string | null;
570
- jobUrl: string | null;
571
- skills: {
572
- name: string;
573
- }[] | null;
574
- descriptionLength: number | null;
575
- connectsRequired: number | null;
576
- projectType: string | null;
580
+ isFeatured: boolean | null;
577
581
  clientReviews: {
578
- paymentType: string | null;
579
582
  hourlyRate: number | null;
580
583
  jobTitle: string | null;
584
+ paymentType: string | null;
585
+ fixedPrice: number | null;
581
586
  freelancerName: string | null;
582
587
  freelancerRating: number | null;
583
588
  freelancerFeedback: string | null;
584
589
  clientFeedback: string | null;
585
590
  clientFeedbackRating: number | null;
586
591
  dateRange: string | null;
587
- fixedPrice: number | null;
588
592
  numHours: number | null;
589
593
  totalBilled: number | null;
590
594
  }[] | null;
@@ -594,8 +598,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
594
598
  avg: number | null;
595
599
  } | null;
596
600
  jobActivity: {
597
- updatedAt: number | null;
598
601
  unansweredInvites: number | null;
602
+ updatedAt: number | null;
599
603
  proposals: {
600
604
  max: number | null;
601
605
  min: number | null;
@@ -608,25 +612,21 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
608
612
  } | null;
609
613
  activityUpdates: 2 | 1 | 3 | null;
610
614
  scrapedAt: number | null;
611
- biddingDelayInMinutes: number | null;
612
- specialisedProfile: string | null;
613
- jobId: string;
614
615
  suitabilityRating: number | null;
615
616
  suitabilityReason: string | null;
616
617
  proposal: string | null;
617
- questionAnswerPairs: {
618
- answer: string;
619
- question: string;
620
- }[] | null;
621
- agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
622
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
618
+ agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
619
+ leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
623
620
  biddingAmount: number | null;
624
621
  boosted: boolean | null;
625
622
  boostingAmount: number | null;
626
623
  boostedForPlace: number | null;
624
+ specialisedProfile: string | null;
627
625
  biddedAt: number | null;
628
626
  biddingTaskScheduled: boolean | null;
629
627
  scheduledBiddingTime: number | null;
628
+ inQueue: boolean | null;
629
+ biddingDelayInMinutes: number | null;
630
630
  checkFeedbackStatusCreatedAt: number | null;
631
631
  biddingScheduledAt: number | null;
632
632
  feedbackCheckTaskId: string | null;
@@ -634,9 +634,9 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
634
634
  rejectedFeedback: string | null;
635
635
  applicationId: string | null;
636
636
  leadBiddingConfig: {
637
- appliedFromQueue: boolean | null;
638
637
  biddingDelayInMinutes: number | null;
639
- bidWithWarning: "skip" | "bid";
638
+ appliedFromQueue: boolean | null;
639
+ bidWithWarning: "bid" | "skip";
640
640
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
641
641
  biddingHourlyRatePercentage: number | null;
642
642
  biddingFixedHourlyRate: number | null;
@@ -646,7 +646,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
646
646
  maximumBoost: number | null;
647
647
  minBoost: number | null;
648
648
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
649
- alreadyHiredAction: "skip" | "bid";
649
+ alreadyHiredAction: "bid" | "skip";
650
650
  bidConfig: {
651
651
  contractorName: string | null;
652
652
  agencyName: string | null;
@@ -654,9 +654,11 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
654
654
  };
655
655
  } | null;
656
656
  statusSynced: boolean | null;
657
+ proposalId?: string | undefined;
658
+ wonAmount?: number | undefined;
657
659
  activity?: Partial<Record<"4h" | "24h", {
658
- updatedAt: number | null;
659
660
  unansweredInvites: number | null;
661
+ updatedAt: number | null;
660
662
  proposals: {
661
663
  max: number | null;
662
664
  min: number | null;
@@ -674,82 +676,84 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
674
676
  interviewing: number;
675
677
  invitesSent: number;
676
678
  } | null | undefined;
677
- proposalId?: string | undefined;
678
- wonAmount?: number | undefined;
679
679
  }, {
680
680
  id: string | null;
681
681
  title: string | null;
682
682
  metadata: {
683
683
  hours: string | null;
684
684
  duration: string | null;
685
- paymentType: string | null;
686
- experienceLevel: string | null;
687
685
  hourlyRate: {
688
686
  max: number | null;
689
687
  min: number | null;
690
688
  } | null;
689
+ experienceLevel: string | null;
690
+ paymentType: string | null;
691
691
  fixedPrice: number | null;
692
692
  } | null;
693
693
  description: string | null;
694
- region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
694
+ region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
695
695
  datetime: number | null;
696
- campaignId: string;
697
696
  organizationId: string;
698
- inQueue: boolean | null;
697
+ campaignId: string;
698
+ category: string | null;
699
+ uid: string | null;
700
+ questions: string[] | null;
701
+ occupation: string | null;
699
702
  createdAt: number | null;
700
703
  updatedAt: number | null;
701
- isFeatured: boolean | null;
704
+ questionAnswerPairs: {
705
+ answer: string;
706
+ question: string;
707
+ }[] | null;
708
+ jobId: string;
709
+ skills: {
710
+ name: string;
711
+ }[] | null;
712
+ descriptionLength: number | null;
713
+ connectsRequired: number | null;
714
+ projectType: string | null;
702
715
  projectDuration: string | null;
703
- questions: string[] | null;
716
+ jobUrl: string | null;
704
717
  clientInfo: {
705
718
  country: string | null;
706
719
  region: string | null;
707
- isPaymentVerified: boolean | null;
708
- isPhoneVerified: boolean | null;
709
- enterpriseClient: boolean | null;
710
- companySize: string | null;
711
720
  openJobs: number | null;
712
- totalSpent: number | null;
721
+ isPhoneVerified: boolean | null;
722
+ isPaymentVerified: boolean | null;
713
723
  numberOfReviews: number | null;
714
724
  rating: number | null;
715
725
  jobsPosted: number | null;
726
+ totalSpent: number | null;
716
727
  numberOfHires: number | null;
717
728
  activeEngagements: number | null;
718
729
  hireRate: number | null;
719
730
  memberSince: string | null;
720
731
  companyIndustry: string | null;
732
+ companySize: string | null;
733
+ enterpriseClient: boolean | null;
721
734
  avgHourlyRatePaid: number | null;
722
735
  companyId: string | null;
723
736
  } | null;
724
737
  vendorQualifications: {
725
738
  location: string | null;
726
- includeRisingTalent: string | null;
727
739
  talentType: "unspecified" | "Independent" | "Agency" | null;
728
740
  englishLevel: string | null;
729
741
  minimumEarnings: number | null;
730
742
  jobSuccessScore: string | null;
743
+ includeRisingTalent: string | null;
731
744
  } | null;
732
- category: string | null;
733
- uid: string | null;
734
- occupation: string | null;
735
- jobUrl: string | null;
736
- skills: {
737
- name: string;
738
- }[] | null;
739
- descriptionLength: number | null;
740
- connectsRequired: number | null;
741
- projectType: string | null;
745
+ isFeatured: boolean | null;
742
746
  clientReviews: {
743
- paymentType: string | null;
744
747
  hourlyRate: number | null;
745
748
  jobTitle: string | null;
749
+ paymentType: string | null;
750
+ fixedPrice: number | null;
746
751
  freelancerName: string | null;
747
752
  freelancerRating: number | null;
748
753
  freelancerFeedback: string | null;
749
754
  clientFeedback: string | null;
750
755
  clientFeedbackRating: number | null;
751
756
  dateRange: string | null;
752
- fixedPrice: number | null;
753
757
  numHours: number | null;
754
758
  totalBilled: number | null;
755
759
  }[] | null;
@@ -759,8 +763,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
759
763
  avg: number | null;
760
764
  } | null;
761
765
  jobActivity: {
762
- updatedAt: number | null;
763
766
  unansweredInvites: number | null;
767
+ updatedAt: number | null;
764
768
  proposals: {
765
769
  max: number | null;
766
770
  min: number | null;
@@ -773,25 +777,21 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
773
777
  } | null;
774
778
  activityUpdates: 2 | 1 | 3 | null;
775
779
  scrapedAt: number | null;
776
- biddingDelayInMinutes: number | null;
777
- specialisedProfile: string | null;
778
- jobId: string;
779
780
  suitabilityRating: number | null;
780
781
  suitabilityReason: string | null;
781
782
  proposal: string | null;
782
- questionAnswerPairs: {
783
- answer: string;
784
- question: string;
785
- }[] | null;
786
- agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
787
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
783
+ agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
784
+ leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
788
785
  biddingAmount: number | null;
789
786
  boosted: boolean | null;
790
787
  boostingAmount: number | null;
791
788
  boostedForPlace: number | null;
789
+ specialisedProfile: string | null;
792
790
  biddedAt: number | null;
793
791
  biddingTaskScheduled: boolean | null;
794
792
  scheduledBiddingTime: number | null;
793
+ inQueue: boolean | null;
794
+ biddingDelayInMinutes: number | null;
795
795
  checkFeedbackStatusCreatedAt: number | null;
796
796
  biddingScheduledAt: number | null;
797
797
  feedbackCheckTaskId: string | null;
@@ -799,9 +799,9 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
799
799
  rejectedFeedback: string | null;
800
800
  applicationId: string | null;
801
801
  leadBiddingConfig: {
802
- appliedFromQueue: boolean | null;
803
802
  biddingDelayInMinutes: number | null;
804
- bidWithWarning: "skip" | "bid";
803
+ appliedFromQueue: boolean | null;
804
+ bidWithWarning: "bid" | "skip";
805
805
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
806
806
  biddingHourlyRatePercentage: number | null;
807
807
  biddingFixedHourlyRate: number | null;
@@ -811,7 +811,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
811
811
  maximumBoost: number | null;
812
812
  minBoost: number | null;
813
813
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
814
- alreadyHiredAction: "skip" | "bid";
814
+ alreadyHiredAction: "bid" | "skip";
815
815
  bidConfig: {
816
816
  contractorName: string | null;
817
817
  agencyName: string | null;
@@ -819,9 +819,11 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
819
819
  };
820
820
  } | null;
821
821
  statusSynced: boolean | null;
822
+ proposalId?: string | undefined;
823
+ wonAmount?: number | undefined;
822
824
  activity?: Partial<Record<"4h" | "24h", {
823
- updatedAt: number | null;
824
825
  unansweredInvites: number | null;
826
+ updatedAt: number | null;
825
827
  proposals: {
826
828
  max: number | null;
827
829
  min: number | null;
@@ -839,98 +841,100 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
839
841
  interviewing: number;
840
842
  invitesSent: number;
841
843
  } | null | undefined;
842
- proposalId?: string | undefined;
843
- wonAmount?: number | undefined;
844
844
  }>;
845
845
  isOverallHighestPriorityCampaign: z.ZodOptional<z.ZodBoolean>;
846
846
  applyToLeads: z.ZodOptional<z.ZodArray<z.ZodObject<{
847
847
  leadId: z.ZodString;
848
848
  campaignId: z.ZodString;
849
849
  }, "strip", z.ZodTypeAny, {
850
- campaignId: string;
851
850
  leadId: string;
852
- }, {
853
851
  campaignId: string;
852
+ }, {
854
853
  leadId: string;
854
+ campaignId: string;
855
855
  }>, "many">>;
856
856
  }, "strip", z.ZodTypeAny, {
857
+ organizationId: string;
857
858
  campaignId: string;
858
859
  userId: string | null;
859
- organizationId: string;
860
860
  lead: {
861
861
  id: string | null;
862
862
  title: string | null;
863
863
  metadata: {
864
864
  hours: string | null;
865
865
  duration: string | null;
866
- paymentType: string | null;
867
- experienceLevel: string | null;
868
866
  hourlyRate: {
869
867
  max: number | null;
870
868
  min: number | null;
871
869
  } | null;
870
+ experienceLevel: string | null;
871
+ paymentType: string | null;
872
872
  fixedPrice: number | null;
873
873
  } | null;
874
874
  description: string | null;
875
- region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
875
+ region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
876
876
  datetime: number | null;
877
- campaignId: string;
878
877
  organizationId: string;
879
- inQueue: boolean | null;
878
+ campaignId: string;
879
+ category: string | null;
880
+ uid: string | null;
881
+ questions: string[] | null;
882
+ occupation: string | null;
880
883
  createdAt: number | null;
881
884
  updatedAt: number | null;
882
- isFeatured: boolean | null;
885
+ questionAnswerPairs: {
886
+ answer: string;
887
+ question: string;
888
+ }[] | null;
889
+ jobId: string;
890
+ skills: {
891
+ name: string;
892
+ }[] | null;
893
+ descriptionLength: number | null;
894
+ connectsRequired: number | null;
895
+ projectType: string | null;
883
896
  projectDuration: string | null;
884
- questions: string[] | null;
897
+ jobUrl: string | null;
885
898
  clientInfo: {
886
899
  country: string | null;
887
900
  region: string | null;
888
- isPaymentVerified: boolean | null;
889
- isPhoneVerified: boolean | null;
890
- enterpriseClient: boolean | null;
891
- companySize: string | null;
892
901
  openJobs: number | null;
893
- totalSpent: number | null;
902
+ isPhoneVerified: boolean | null;
903
+ isPaymentVerified: boolean | null;
894
904
  numberOfReviews: number | null;
895
905
  rating: number | null;
896
906
  jobsPosted: number | null;
907
+ totalSpent: number | null;
897
908
  numberOfHires: number | null;
898
909
  activeEngagements: number | null;
899
910
  hireRate: number | null;
900
911
  memberSince: string | null;
901
912
  companyIndustry: string | null;
913
+ companySize: string | null;
914
+ enterpriseClient: boolean | null;
902
915
  avgHourlyRatePaid: number | null;
903
916
  companyId: string | null;
904
917
  } | null;
905
918
  vendorQualifications: {
906
919
  location: string | null;
907
- includeRisingTalent: string | null;
908
920
  talentType: "unspecified" | "Independent" | "Agency" | null;
909
921
  englishLevel: string | null;
910
922
  minimumEarnings: number | null;
911
923
  jobSuccessScore: string | null;
924
+ includeRisingTalent: string | null;
912
925
  } | null;
913
- category: string | null;
914
- uid: string | null;
915
- occupation: string | null;
916
- jobUrl: string | null;
917
- skills: {
918
- name: string;
919
- }[] | null;
920
- descriptionLength: number | null;
921
- connectsRequired: number | null;
922
- projectType: string | null;
926
+ isFeatured: boolean | null;
923
927
  clientReviews: {
924
- paymentType: string | null;
925
928
  hourlyRate: number | null;
926
929
  jobTitle: string | null;
930
+ paymentType: string | null;
931
+ fixedPrice: number | null;
927
932
  freelancerName: string | null;
928
933
  freelancerRating: number | null;
929
934
  freelancerFeedback: string | null;
930
935
  clientFeedback: string | null;
931
936
  clientFeedbackRating: number | null;
932
937
  dateRange: string | null;
933
- fixedPrice: number | null;
934
938
  numHours: number | null;
935
939
  totalBilled: number | null;
936
940
  }[] | null;
@@ -940,8 +944,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
940
944
  avg: number | null;
941
945
  } | null;
942
946
  jobActivity: {
943
- updatedAt: number | null;
944
947
  unansweredInvites: number | null;
948
+ updatedAt: number | null;
945
949
  proposals: {
946
950
  max: number | null;
947
951
  min: number | null;
@@ -954,25 +958,21 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
954
958
  } | null;
955
959
  activityUpdates: 2 | 1 | 3 | null;
956
960
  scrapedAt: number | null;
957
- biddingDelayInMinutes: number | null;
958
- specialisedProfile: string | null;
959
- jobId: string;
960
961
  suitabilityRating: number | null;
961
962
  suitabilityReason: string | null;
962
963
  proposal: string | null;
963
- questionAnswerPairs: {
964
- answer: string;
965
- question: string;
966
- }[] | null;
967
- agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
968
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
964
+ agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
965
+ leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
969
966
  biddingAmount: number | null;
970
967
  boosted: boolean | null;
971
968
  boostingAmount: number | null;
972
969
  boostedForPlace: number | null;
970
+ specialisedProfile: string | null;
973
971
  biddedAt: number | null;
974
972
  biddingTaskScheduled: boolean | null;
975
973
  scheduledBiddingTime: number | null;
974
+ inQueue: boolean | null;
975
+ biddingDelayInMinutes: number | null;
976
976
  checkFeedbackStatusCreatedAt: number | null;
977
977
  biddingScheduledAt: number | null;
978
978
  feedbackCheckTaskId: string | null;
@@ -980,9 +980,9 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
980
980
  rejectedFeedback: string | null;
981
981
  applicationId: string | null;
982
982
  leadBiddingConfig: {
983
- appliedFromQueue: boolean | null;
984
983
  biddingDelayInMinutes: number | null;
985
- bidWithWarning: "skip" | "bid";
984
+ appliedFromQueue: boolean | null;
985
+ bidWithWarning: "bid" | "skip";
986
986
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
987
987
  biddingHourlyRatePercentage: number | null;
988
988
  biddingFixedHourlyRate: number | null;
@@ -992,7 +992,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
992
992
  maximumBoost: number | null;
993
993
  minBoost: number | null;
994
994
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
995
- alreadyHiredAction: "skip" | "bid";
995
+ alreadyHiredAction: "bid" | "skip";
996
996
  bidConfig: {
997
997
  contractorName: string | null;
998
998
  agencyName: string | null;
@@ -1000,9 +1000,11 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1000
1000
  };
1001
1001
  } | null;
1002
1002
  statusSynced: boolean | null;
1003
+ proposalId?: string | undefined;
1004
+ wonAmount?: number | undefined;
1003
1005
  activity?: Partial<Record<"4h" | "24h", {
1004
- updatedAt: number | null;
1005
1006
  unansweredInvites: number | null;
1007
+ updatedAt: number | null;
1006
1008
  proposals: {
1007
1009
  max: number | null;
1008
1010
  min: number | null;
@@ -1020,92 +1022,94 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1020
1022
  interviewing: number;
1021
1023
  invitesSent: number;
1022
1024
  } | null | undefined;
1023
- proposalId?: string | undefined;
1024
- wonAmount?: number | undefined;
1025
1025
  };
1026
1026
  isOverallHighestPriorityCampaign?: boolean | undefined;
1027
1027
  applyToLeads?: {
1028
- campaignId: string;
1029
1028
  leadId: string;
1029
+ campaignId: string;
1030
1030
  }[] | undefined;
1031
1031
  }, {
1032
+ organizationId: string;
1032
1033
  campaignId: string;
1033
1034
  userId: string | null;
1034
- organizationId: string;
1035
1035
  lead: {
1036
1036
  id: string | null;
1037
1037
  title: string | null;
1038
1038
  metadata: {
1039
1039
  hours: string | null;
1040
1040
  duration: string | null;
1041
- paymentType: string | null;
1042
- experienceLevel: string | null;
1043
1041
  hourlyRate: {
1044
1042
  max: number | null;
1045
1043
  min: number | null;
1046
1044
  } | null;
1045
+ experienceLevel: string | null;
1046
+ paymentType: string | null;
1047
1047
  fixedPrice: number | null;
1048
1048
  } | null;
1049
1049
  description: string | null;
1050
- region: "Worldwide" | "USOnly" | "UKOnly" | "All" | null;
1050
+ region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
1051
1051
  datetime: number | null;
1052
- campaignId: string;
1053
1052
  organizationId: string;
1054
- inQueue: boolean | null;
1053
+ campaignId: string;
1054
+ category: string | null;
1055
+ uid: string | null;
1056
+ questions: string[] | null;
1057
+ occupation: string | null;
1055
1058
  createdAt: number | null;
1056
1059
  updatedAt: number | null;
1057
- isFeatured: boolean | null;
1060
+ questionAnswerPairs: {
1061
+ answer: string;
1062
+ question: string;
1063
+ }[] | null;
1064
+ jobId: string;
1065
+ skills: {
1066
+ name: string;
1067
+ }[] | null;
1068
+ descriptionLength: number | null;
1069
+ connectsRequired: number | null;
1070
+ projectType: string | null;
1058
1071
  projectDuration: string | null;
1059
- questions: string[] | null;
1072
+ jobUrl: string | null;
1060
1073
  clientInfo: {
1061
1074
  country: string | null;
1062
1075
  region: string | null;
1063
- isPaymentVerified: boolean | null;
1064
- isPhoneVerified: boolean | null;
1065
- enterpriseClient: boolean | null;
1066
- companySize: string | null;
1067
1076
  openJobs: number | null;
1068
- totalSpent: number | null;
1077
+ isPhoneVerified: boolean | null;
1078
+ isPaymentVerified: boolean | null;
1069
1079
  numberOfReviews: number | null;
1070
1080
  rating: number | null;
1071
1081
  jobsPosted: number | null;
1082
+ totalSpent: number | null;
1072
1083
  numberOfHires: number | null;
1073
1084
  activeEngagements: number | null;
1074
1085
  hireRate: number | null;
1075
1086
  memberSince: string | null;
1076
1087
  companyIndustry: string | null;
1088
+ companySize: string | null;
1089
+ enterpriseClient: boolean | null;
1077
1090
  avgHourlyRatePaid: number | null;
1078
1091
  companyId: string | null;
1079
1092
  } | null;
1080
1093
  vendorQualifications: {
1081
1094
  location: string | null;
1082
- includeRisingTalent: string | null;
1083
1095
  talentType: "unspecified" | "Independent" | "Agency" | null;
1084
1096
  englishLevel: string | null;
1085
1097
  minimumEarnings: number | null;
1086
1098
  jobSuccessScore: string | null;
1099
+ includeRisingTalent: string | null;
1087
1100
  } | null;
1088
- category: string | null;
1089
- uid: string | null;
1090
- occupation: string | null;
1091
- jobUrl: string | null;
1092
- skills: {
1093
- name: string;
1094
- }[] | null;
1095
- descriptionLength: number | null;
1096
- connectsRequired: number | null;
1097
- projectType: string | null;
1101
+ isFeatured: boolean | null;
1098
1102
  clientReviews: {
1099
- paymentType: string | null;
1100
1103
  hourlyRate: number | null;
1101
1104
  jobTitle: string | null;
1105
+ paymentType: string | null;
1106
+ fixedPrice: number | null;
1102
1107
  freelancerName: string | null;
1103
1108
  freelancerRating: number | null;
1104
1109
  freelancerFeedback: string | null;
1105
1110
  clientFeedback: string | null;
1106
1111
  clientFeedbackRating: number | null;
1107
1112
  dateRange: string | null;
1108
- fixedPrice: number | null;
1109
1113
  numHours: number | null;
1110
1114
  totalBilled: number | null;
1111
1115
  }[] | null;
@@ -1115,8 +1119,8 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1115
1119
  avg: number | null;
1116
1120
  } | null;
1117
1121
  jobActivity: {
1118
- updatedAt: number | null;
1119
1122
  unansweredInvites: number | null;
1123
+ updatedAt: number | null;
1120
1124
  proposals: {
1121
1125
  max: number | null;
1122
1126
  min: number | null;
@@ -1129,25 +1133,21 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1129
1133
  } | null;
1130
1134
  activityUpdates: 2 | 1 | 3 | null;
1131
1135
  scrapedAt: number | null;
1132
- biddingDelayInMinutes: number | null;
1133
- specialisedProfile: string | null;
1134
- jobId: string;
1135
1136
  suitabilityRating: number | null;
1136
1137
  suitabilityReason: string | null;
1137
1138
  proposal: string | null;
1138
- questionAnswerPairs: {
1139
- answer: string;
1140
- question: string;
1141
- }[] | null;
1142
- agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1143
- leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | null;
1139
+ agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1140
+ leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
1144
1141
  biddingAmount: number | null;
1145
1142
  boosted: boolean | null;
1146
1143
  boostingAmount: number | null;
1147
1144
  boostedForPlace: number | null;
1145
+ specialisedProfile: string | null;
1148
1146
  biddedAt: number | null;
1149
1147
  biddingTaskScheduled: boolean | null;
1150
1148
  scheduledBiddingTime: number | null;
1149
+ inQueue: boolean | null;
1150
+ biddingDelayInMinutes: number | null;
1151
1151
  checkFeedbackStatusCreatedAt: number | null;
1152
1152
  biddingScheduledAt: number | null;
1153
1153
  feedbackCheckTaskId: string | null;
@@ -1155,9 +1155,9 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1155
1155
  rejectedFeedback: string | null;
1156
1156
  applicationId: string | null;
1157
1157
  leadBiddingConfig: {
1158
- appliedFromQueue: boolean | null;
1159
1158
  biddingDelayInMinutes: number | null;
1160
- bidWithWarning: "skip" | "bid";
1159
+ appliedFromQueue: boolean | null;
1160
+ bidWithWarning: "bid" | "skip";
1161
1161
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1162
1162
  biddingHourlyRatePercentage: number | null;
1163
1163
  biddingFixedHourlyRate: number | null;
@@ -1167,7 +1167,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1167
1167
  maximumBoost: number | null;
1168
1168
  minBoost: number | null;
1169
1169
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1170
- alreadyHiredAction: "skip" | "bid";
1170
+ alreadyHiredAction: "bid" | "skip";
1171
1171
  bidConfig: {
1172
1172
  contractorName: string | null;
1173
1173
  agencyName: string | null;
@@ -1175,9 +1175,11 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1175
1175
  };
1176
1176
  } | null;
1177
1177
  statusSynced: boolean | null;
1178
+ proposalId?: string | undefined;
1179
+ wonAmount?: number | undefined;
1178
1180
  activity?: Partial<Record<"4h" | "24h", {
1179
- updatedAt: number | null;
1180
1181
  unansweredInvites: number | null;
1182
+ updatedAt: number | null;
1181
1183
  proposals: {
1182
1184
  max: number | null;
1183
1185
  min: number | null;
@@ -1195,13 +1197,11 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
1195
1197
  interviewing: number;
1196
1198
  invitesSent: number;
1197
1199
  } | null | undefined;
1198
- proposalId?: string | undefined;
1199
- wonAmount?: number | undefined;
1200
1200
  };
1201
1201
  isOverallHighestPriorityCampaign?: boolean | undefined;
1202
1202
  applyToLeads?: {
1203
- campaignId: string;
1204
1203
  leadId: string;
1204
+ campaignId: string;
1205
1205
  }[] | undefined;
1206
1206
  }>;
1207
1207
  export declare const agentPickSpecialisedProfileRequestSchema: z.ZodObject<{
@@ -1278,17 +1278,17 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
1278
1278
  question: string;
1279
1279
  }>, "many">;
1280
1280
  }, "strip", z.ZodTypeAny, {
1281
+ coverLetter: string;
1281
1282
  questionAnswerPairs: {
1282
1283
  answer: string;
1283
1284
  question: string;
1284
1285
  }[];
1285
- coverLetter: string;
1286
1286
  }, {
1287
+ coverLetter: string;
1287
1288
  questionAnswerPairs: {
1288
1289
  answer: string;
1289
1290
  question: string;
1290
1291
  }[];
1291
- coverLetter: string;
1292
1292
  }>]>;
1293
1293
  model: z.ZodString;
1294
1294
  provider: z.ZodString;
@@ -1298,11 +1298,11 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
1298
1298
  provider: string;
1299
1299
  model: string;
1300
1300
  result: {
1301
+ coverLetter: string;
1301
1302
  questionAnswerPairs: {
1302
1303
  answer: string;
1303
1304
  question: string;
1304
1305
  }[];
1305
- coverLetter: string;
1306
1306
  } | {
1307
1307
  reason: string;
1308
1308
  rating: number;
@@ -1313,11 +1313,11 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
1313
1313
  provider: string;
1314
1314
  model: string;
1315
1315
  result: {
1316
+ coverLetter: string;
1316
1317
  questionAnswerPairs: {
1317
1318
  answer: string;
1318
1319
  question: string;
1319
1320
  }[];
1320
- coverLetter: string;
1321
1321
  } | {
1322
1322
  reason: string;
1323
1323
  rating: number;