lancer-shared 1.2.266 → 1.2.268

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.
@@ -653,9 +653,10 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
653
653
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
654
654
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
655
655
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
656
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
656
657
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
657
658
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
658
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
659
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
659
660
  expenses: z.ZodObject<{
660
661
  biddingAmount: z.ZodDefault<z.ZodNumber>;
661
662
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1293,9 +1294,10 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1293
1294
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
1294
1295
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
1295
1296
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1297
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
1296
1298
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
1297
1299
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
1298
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
1300
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
1299
1301
  expenses: z.ZodObject<{
1300
1302
  biddingAmount: z.ZodDefault<z.ZodNumber>;
1301
1303
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1480,6 +1482,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1480
1482
  companySize: z.ZodNullable<z.ZodString>;
1481
1483
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
1482
1484
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
1485
+ companyId: z.ZodNullable<z.ZodString>;
1483
1486
  }, "strip", z.ZodTypeAny, {
1484
1487
  country: string | null;
1485
1488
  region: string | null;
@@ -1498,6 +1501,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1498
1501
  memberSince: string | null;
1499
1502
  companyIndustry: string | null;
1500
1503
  avgHourlyRatePaid: number | null;
1504
+ companyId: string | null;
1501
1505
  }, {
1502
1506
  country: string | null;
1503
1507
  region: string | null;
@@ -1516,6 +1520,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1516
1520
  memberSince: string | null;
1517
1521
  companyIndustry: string | null;
1518
1522
  avgHourlyRatePaid: number | null;
1523
+ companyId: string | null;
1519
1524
  }>>;
1520
1525
  vendorQualifications: z.ZodNullable<z.ZodObject<{
1521
1526
  location: z.ZodNullable<z.ZodString>;
@@ -1723,7 +1728,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1723
1728
  question: string;
1724
1729
  }>, "many">>;
1725
1730
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1726
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
1731
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
1727
1732
  biddingAmount: z.ZodNullable<z.ZodNumber>;
1728
1733
  boosted: z.ZodNullable<z.ZodBoolean>;
1729
1734
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1754,6 +1759,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1754
1759
  maximumBoost: z.ZodNullable<z.ZodNumber>;
1755
1760
  minBoost: z.ZodNullable<z.ZodNumber>;
1756
1761
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
1762
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
1757
1763
  bidConfig: z.ZodObject<{
1758
1764
  agencyName: z.ZodNullable<z.ZodString>;
1759
1765
  contractorName: z.ZodNullable<z.ZodString>;
@@ -1770,7 +1776,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1770
1776
  }, "strip", z.ZodTypeAny, {
1771
1777
  appliedFromQueue: boolean | null;
1772
1778
  biddingDelayInMinutes: number | null;
1773
- bidWithWarning: "bid" | "skip";
1779
+ bidWithWarning: "skip" | "bid";
1774
1780
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1775
1781
  biddingHourlyRatePercentage: number | null;
1776
1782
  biddingFixedHourlyRate: number | null;
@@ -1780,6 +1786,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1780
1786
  maximumBoost: number | null;
1781
1787
  minBoost: number | null;
1782
1788
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1789
+ alreadyHiredAction: "skip" | "bid";
1783
1790
  bidConfig: {
1784
1791
  contractorName: string | null;
1785
1792
  agencyName: string | null;
@@ -1788,7 +1795,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1788
1795
  }, {
1789
1796
  appliedFromQueue: boolean | null;
1790
1797
  biddingDelayInMinutes: number | null;
1791
- bidWithWarning: "bid" | "skip";
1798
+ bidWithWarning: "skip" | "bid";
1792
1799
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1793
1800
  biddingHourlyRatePercentage: number | null;
1794
1801
  biddingFixedHourlyRate: number | null;
@@ -1798,6 +1805,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1798
1805
  maximumBoost: number | null;
1799
1806
  minBoost: number | null;
1800
1807
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1808
+ alreadyHiredAction: "skip" | "bid";
1801
1809
  bidConfig: {
1802
1810
  contractorName: string | null;
1803
1811
  agencyName: string | null;
@@ -2356,9 +2364,10 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2356
2364
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
2357
2365
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
2358
2366
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
2367
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
2359
2368
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
2360
2369
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
2361
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
2370
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
2362
2371
  expenses: z.ZodObject<{
2363
2372
  biddingAmount: z.ZodDefault<z.ZodNumber>;
2364
2373
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -2467,7 +2476,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2467
2476
  creditBalance: z.ZodNumber;
2468
2477
  }, {
2469
2478
  type: z.ZodLiteral<"lead_status">;
2470
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
2479
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
2471
2480
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
2472
2481
  id: z.ZodNullable<z.ZodString>;
2473
2482
  uid: z.ZodNullable<z.ZodString>;
@@ -2544,6 +2553,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2544
2553
  companySize: z.ZodNullable<z.ZodString>;
2545
2554
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
2546
2555
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
2556
+ companyId: z.ZodNullable<z.ZodString>;
2547
2557
  }, "strip", z.ZodTypeAny, {
2548
2558
  country: string | null;
2549
2559
  region: string | null;
@@ -2562,6 +2572,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2562
2572
  memberSince: string | null;
2563
2573
  companyIndustry: string | null;
2564
2574
  avgHourlyRatePaid: number | null;
2575
+ companyId: string | null;
2565
2576
  }, {
2566
2577
  country: string | null;
2567
2578
  region: string | null;
@@ -2580,6 +2591,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2580
2591
  memberSince: string | null;
2581
2592
  companyIndustry: string | null;
2582
2593
  avgHourlyRatePaid: number | null;
2594
+ companyId: string | null;
2583
2595
  }>>;
2584
2596
  vendorQualifications: z.ZodNullable<z.ZodObject<{
2585
2597
  location: z.ZodNullable<z.ZodString>;
@@ -2787,7 +2799,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2787
2799
  question: string;
2788
2800
  }>, "many">>;
2789
2801
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
2790
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
2802
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
2791
2803
  biddingAmount: z.ZodNullable<z.ZodNumber>;
2792
2804
  boosted: z.ZodNullable<z.ZodBoolean>;
2793
2805
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -2818,6 +2830,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2818
2830
  maximumBoost: z.ZodNullable<z.ZodNumber>;
2819
2831
  minBoost: z.ZodNullable<z.ZodNumber>;
2820
2832
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
2833
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
2821
2834
  bidConfig: z.ZodObject<{
2822
2835
  agencyName: z.ZodNullable<z.ZodString>;
2823
2836
  contractorName: z.ZodNullable<z.ZodString>;
@@ -2834,7 +2847,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2834
2847
  }, "strip", z.ZodTypeAny, {
2835
2848
  appliedFromQueue: boolean | null;
2836
2849
  biddingDelayInMinutes: number | null;
2837
- bidWithWarning: "bid" | "skip";
2850
+ bidWithWarning: "skip" | "bid";
2838
2851
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2839
2852
  biddingHourlyRatePercentage: number | null;
2840
2853
  biddingFixedHourlyRate: number | null;
@@ -2844,6 +2857,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2844
2857
  maximumBoost: number | null;
2845
2858
  minBoost: number | null;
2846
2859
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2860
+ alreadyHiredAction: "skip" | "bid";
2847
2861
  bidConfig: {
2848
2862
  contractorName: string | null;
2849
2863
  agencyName: string | null;
@@ -2852,7 +2866,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2852
2866
  }, {
2853
2867
  appliedFromQueue: boolean | null;
2854
2868
  biddingDelayInMinutes: number | null;
2855
- bidWithWarning: "bid" | "skip";
2869
+ bidWithWarning: "skip" | "bid";
2856
2870
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2857
2871
  biddingHourlyRatePercentage: number | null;
2858
2872
  biddingFixedHourlyRate: number | null;
@@ -2862,6 +2876,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2862
2876
  maximumBoost: number | null;
2863
2877
  minBoost: number | null;
2864
2878
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2879
+ alreadyHiredAction: "skip" | "bid";
2865
2880
  bidConfig: {
2866
2881
  contractorName: string | null;
2867
2882
  agencyName: string | null;
@@ -2886,7 +2901,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2886
2901
  id: string;
2887
2902
  name: string;
2888
2903
  };
2889
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
2904
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
2890
2905
  createdAt: number;
2891
2906
  lead: {
2892
2907
  id: string | null;
@@ -2905,7 +2920,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2905
2920
  id: string;
2906
2921
  name: string;
2907
2922
  };
2908
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
2923
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
2909
2924
  createdAt: number;
2910
2925
  lead: {
2911
2926
  id: string | null;
@@ -3419,9 +3434,10 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3419
3434
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
3420
3435
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
3421
3436
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
3437
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
3422
3438
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
3423
3439
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
3424
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
3440
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
3425
3441
  expenses: z.ZodObject<{
3426
3442
  biddingAmount: z.ZodDefault<z.ZodNumber>;
3427
3443
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -3606,6 +3622,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3606
3622
  companySize: z.ZodNullable<z.ZodString>;
3607
3623
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
3608
3624
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
3625
+ companyId: z.ZodNullable<z.ZodString>;
3609
3626
  }, "strip", z.ZodTypeAny, {
3610
3627
  country: string | null;
3611
3628
  region: string | null;
@@ -3624,6 +3641,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3624
3641
  memberSince: string | null;
3625
3642
  companyIndustry: string | null;
3626
3643
  avgHourlyRatePaid: number | null;
3644
+ companyId: string | null;
3627
3645
  }, {
3628
3646
  country: string | null;
3629
3647
  region: string | null;
@@ -3642,6 +3660,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3642
3660
  memberSince: string | null;
3643
3661
  companyIndustry: string | null;
3644
3662
  avgHourlyRatePaid: number | null;
3663
+ companyId: string | null;
3645
3664
  }>>;
3646
3665
  vendorQualifications: z.ZodNullable<z.ZodObject<{
3647
3666
  location: z.ZodNullable<z.ZodString>;
@@ -3849,7 +3868,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3849
3868
  question: string;
3850
3869
  }>, "many">>;
3851
3870
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
3852
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
3871
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
3853
3872
  biddingAmount: z.ZodNullable<z.ZodNumber>;
3854
3873
  boosted: z.ZodNullable<z.ZodBoolean>;
3855
3874
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -3880,6 +3899,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3880
3899
  maximumBoost: z.ZodNullable<z.ZodNumber>;
3881
3900
  minBoost: z.ZodNullable<z.ZodNumber>;
3882
3901
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
3902
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
3883
3903
  bidConfig: z.ZodObject<{
3884
3904
  agencyName: z.ZodNullable<z.ZodString>;
3885
3905
  contractorName: z.ZodNullable<z.ZodString>;
@@ -3896,7 +3916,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3896
3916
  }, "strip", z.ZodTypeAny, {
3897
3917
  appliedFromQueue: boolean | null;
3898
3918
  biddingDelayInMinutes: number | null;
3899
- bidWithWarning: "bid" | "skip";
3919
+ bidWithWarning: "skip" | "bid";
3900
3920
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3901
3921
  biddingHourlyRatePercentage: number | null;
3902
3922
  biddingFixedHourlyRate: number | null;
@@ -3906,6 +3926,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3906
3926
  maximumBoost: number | null;
3907
3927
  minBoost: number | null;
3908
3928
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3929
+ alreadyHiredAction: "skip" | "bid";
3909
3930
  bidConfig: {
3910
3931
  contractorName: string | null;
3911
3932
  agencyName: string | null;
@@ -3914,7 +3935,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3914
3935
  }, {
3915
3936
  appliedFromQueue: boolean | null;
3916
3937
  biddingDelayInMinutes: number | null;
3917
- bidWithWarning: "bid" | "skip";
3938
+ bidWithWarning: "skip" | "bid";
3918
3939
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3919
3940
  biddingHourlyRatePercentage: number | null;
3920
3941
  biddingFixedHourlyRate: number | null;
@@ -3924,6 +3945,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3924
3945
  maximumBoost: number | null;
3925
3946
  minBoost: number | null;
3926
3947
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3948
+ alreadyHiredAction: "skip" | "bid";
3927
3949
  bidConfig: {
3928
3950
  contractorName: string | null;
3929
3951
  agencyName: string | null;
@@ -4479,9 +4501,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4479
4501
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
4480
4502
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
4481
4503
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
4504
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
4482
4505
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
4483
4506
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
4484
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
4507
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
4485
4508
  expenses: z.ZodObject<{
4486
4509
  biddingAmount: z.ZodDefault<z.ZodNumber>;
4487
4510
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5118,9 +5141,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5118
5141
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
5119
5142
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
5120
5143
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
5144
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
5121
5145
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
5122
5146
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
5123
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
5147
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
5124
5148
  expenses: z.ZodObject<{
5125
5149
  biddingAmount: z.ZodDefault<z.ZodNumber>;
5126
5150
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5305,6 +5329,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5305
5329
  companySize: z.ZodNullable<z.ZodString>;
5306
5330
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
5307
5331
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
5332
+ companyId: z.ZodNullable<z.ZodString>;
5308
5333
  }, "strip", z.ZodTypeAny, {
5309
5334
  country: string | null;
5310
5335
  region: string | null;
@@ -5323,6 +5348,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5323
5348
  memberSince: string | null;
5324
5349
  companyIndustry: string | null;
5325
5350
  avgHourlyRatePaid: number | null;
5351
+ companyId: string | null;
5326
5352
  }, {
5327
5353
  country: string | null;
5328
5354
  region: string | null;
@@ -5341,6 +5367,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5341
5367
  memberSince: string | null;
5342
5368
  companyIndustry: string | null;
5343
5369
  avgHourlyRatePaid: number | null;
5370
+ companyId: string | null;
5344
5371
  }>>;
5345
5372
  vendorQualifications: z.ZodNullable<z.ZodObject<{
5346
5373
  location: z.ZodNullable<z.ZodString>;
@@ -5548,7 +5575,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5548
5575
  question: string;
5549
5576
  }>, "many">>;
5550
5577
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
5551
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
5578
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
5552
5579
  biddingAmount: z.ZodNullable<z.ZodNumber>;
5553
5580
  boosted: z.ZodNullable<z.ZodBoolean>;
5554
5581
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -5579,6 +5606,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5579
5606
  maximumBoost: z.ZodNullable<z.ZodNumber>;
5580
5607
  minBoost: z.ZodNullable<z.ZodNumber>;
5581
5608
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
5609
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
5582
5610
  bidConfig: z.ZodObject<{
5583
5611
  agencyName: z.ZodNullable<z.ZodString>;
5584
5612
  contractorName: z.ZodNullable<z.ZodString>;
@@ -5595,7 +5623,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5595
5623
  }, "strip", z.ZodTypeAny, {
5596
5624
  appliedFromQueue: boolean | null;
5597
5625
  biddingDelayInMinutes: number | null;
5598
- bidWithWarning: "bid" | "skip";
5626
+ bidWithWarning: "skip" | "bid";
5599
5627
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
5600
5628
  biddingHourlyRatePercentage: number | null;
5601
5629
  biddingFixedHourlyRate: number | null;
@@ -5605,6 +5633,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5605
5633
  maximumBoost: number | null;
5606
5634
  minBoost: number | null;
5607
5635
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
5636
+ alreadyHiredAction: "skip" | "bid";
5608
5637
  bidConfig: {
5609
5638
  contractorName: string | null;
5610
5639
  agencyName: string | null;
@@ -5613,7 +5642,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5613
5642
  }, {
5614
5643
  appliedFromQueue: boolean | null;
5615
5644
  biddingDelayInMinutes: number | null;
5616
- bidWithWarning: "bid" | "skip";
5645
+ bidWithWarning: "skip" | "bid";
5617
5646
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
5618
5647
  biddingHourlyRatePercentage: number | null;
5619
5648
  biddingFixedHourlyRate: number | null;
@@ -5623,6 +5652,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5623
5652
  maximumBoost: number | null;
5624
5653
  minBoost: number | null;
5625
5654
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
5655
+ alreadyHiredAction: "skip" | "bid";
5626
5656
  bidConfig: {
5627
5657
  contractorName: string | null;
5628
5658
  agencyName: string | null;
@@ -6180,9 +6210,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6180
6210
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
6181
6211
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
6182
6212
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
6213
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
6183
6214
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
6184
6215
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
6185
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
6216
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
6186
6217
  expenses: z.ZodObject<{
6187
6218
  biddingAmount: z.ZodDefault<z.ZodNumber>;
6188
6219
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -6291,7 +6322,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6291
6322
  creditBalance: z.ZodNumber;
6292
6323
  }, {
6293
6324
  type: z.ZodLiteral<"lead_status">;
6294
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
6325
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
6295
6326
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
6296
6327
  id: z.ZodNullable<z.ZodString>;
6297
6328
  uid: z.ZodNullable<z.ZodString>;
@@ -6368,6 +6399,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6368
6399
  companySize: z.ZodNullable<z.ZodString>;
6369
6400
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
6370
6401
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
6402
+ companyId: z.ZodNullable<z.ZodString>;
6371
6403
  }, "strip", z.ZodTypeAny, {
6372
6404
  country: string | null;
6373
6405
  region: string | null;
@@ -6386,6 +6418,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6386
6418
  memberSince: string | null;
6387
6419
  companyIndustry: string | null;
6388
6420
  avgHourlyRatePaid: number | null;
6421
+ companyId: string | null;
6389
6422
  }, {
6390
6423
  country: string | null;
6391
6424
  region: string | null;
@@ -6404,6 +6437,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6404
6437
  memberSince: string | null;
6405
6438
  companyIndustry: string | null;
6406
6439
  avgHourlyRatePaid: number | null;
6440
+ companyId: string | null;
6407
6441
  }>>;
6408
6442
  vendorQualifications: z.ZodNullable<z.ZodObject<{
6409
6443
  location: z.ZodNullable<z.ZodString>;
@@ -6611,7 +6645,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6611
6645
  question: string;
6612
6646
  }>, "many">>;
6613
6647
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
6614
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
6648
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
6615
6649
  biddingAmount: z.ZodNullable<z.ZodNumber>;
6616
6650
  boosted: z.ZodNullable<z.ZodBoolean>;
6617
6651
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -6642,6 +6676,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6642
6676
  maximumBoost: z.ZodNullable<z.ZodNumber>;
6643
6677
  minBoost: z.ZodNullable<z.ZodNumber>;
6644
6678
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
6679
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
6645
6680
  bidConfig: z.ZodObject<{
6646
6681
  agencyName: z.ZodNullable<z.ZodString>;
6647
6682
  contractorName: z.ZodNullable<z.ZodString>;
@@ -6658,7 +6693,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6658
6693
  }, "strip", z.ZodTypeAny, {
6659
6694
  appliedFromQueue: boolean | null;
6660
6695
  biddingDelayInMinutes: number | null;
6661
- bidWithWarning: "bid" | "skip";
6696
+ bidWithWarning: "skip" | "bid";
6662
6697
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
6663
6698
  biddingHourlyRatePercentage: number | null;
6664
6699
  biddingFixedHourlyRate: number | null;
@@ -6668,6 +6703,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6668
6703
  maximumBoost: number | null;
6669
6704
  minBoost: number | null;
6670
6705
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
6706
+ alreadyHiredAction: "skip" | "bid";
6671
6707
  bidConfig: {
6672
6708
  contractorName: string | null;
6673
6709
  agencyName: string | null;
@@ -6676,7 +6712,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6676
6712
  }, {
6677
6713
  appliedFromQueue: boolean | null;
6678
6714
  biddingDelayInMinutes: number | null;
6679
- bidWithWarning: "bid" | "skip";
6715
+ bidWithWarning: "skip" | "bid";
6680
6716
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
6681
6717
  biddingHourlyRatePercentage: number | null;
6682
6718
  biddingFixedHourlyRate: number | null;
@@ -6686,6 +6722,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6686
6722
  maximumBoost: number | null;
6687
6723
  minBoost: number | null;
6688
6724
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
6725
+ alreadyHiredAction: "skip" | "bid";
6689
6726
  bidConfig: {
6690
6727
  contractorName: string | null;
6691
6728
  agencyName: string | null;
@@ -6710,7 +6747,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6710
6747
  id: string;
6711
6748
  name: string;
6712
6749
  };
6713
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
6750
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
6714
6751
  createdAt: number;
6715
6752
  lead: {
6716
6753
  id: string | null;
@@ -6729,7 +6766,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6729
6766
  id: string;
6730
6767
  name: string;
6731
6768
  };
6732
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
6769
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
6733
6770
  createdAt: number;
6734
6771
  lead: {
6735
6772
  id: string | null;
@@ -7242,9 +7279,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7242
7279
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
7243
7280
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
7244
7281
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
7282
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
7245
7283
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
7246
7284
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
7247
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>, z.ZodNumber>>;
7285
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
7248
7286
  expenses: z.ZodObject<{
7249
7287
  biddingAmount: z.ZodDefault<z.ZodNumber>;
7250
7288
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -7429,6 +7467,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7429
7467
  companySize: z.ZodNullable<z.ZodString>;
7430
7468
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
7431
7469
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
7470
+ companyId: z.ZodNullable<z.ZodString>;
7432
7471
  }, "strip", z.ZodTypeAny, {
7433
7472
  country: string | null;
7434
7473
  region: string | null;
@@ -7447,6 +7486,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7447
7486
  memberSince: string | null;
7448
7487
  companyIndustry: string | null;
7449
7488
  avgHourlyRatePaid: number | null;
7489
+ companyId: string | null;
7450
7490
  }, {
7451
7491
  country: string | null;
7452
7492
  region: string | null;
@@ -7465,6 +7505,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7465
7505
  memberSince: string | null;
7466
7506
  companyIndustry: string | null;
7467
7507
  avgHourlyRatePaid: number | null;
7508
+ companyId: string | null;
7468
7509
  }>>;
7469
7510
  vendorQualifications: z.ZodNullable<z.ZodObject<{
7470
7511
  location: z.ZodNullable<z.ZodString>;
@@ -7672,7 +7713,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7672
7713
  question: string;
7673
7714
  }>, "many">>;
7674
7715
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
7675
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
7716
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
7676
7717
  biddingAmount: z.ZodNullable<z.ZodNumber>;
7677
7718
  boosted: z.ZodNullable<z.ZodBoolean>;
7678
7719
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -7703,6 +7744,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7703
7744
  maximumBoost: z.ZodNullable<z.ZodNumber>;
7704
7745
  minBoost: z.ZodNullable<z.ZodNumber>;
7705
7746
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
7747
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
7706
7748
  bidConfig: z.ZodObject<{
7707
7749
  agencyName: z.ZodNullable<z.ZodString>;
7708
7750
  contractorName: z.ZodNullable<z.ZodString>;
@@ -7719,7 +7761,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7719
7761
  }, "strip", z.ZodTypeAny, {
7720
7762
  appliedFromQueue: boolean | null;
7721
7763
  biddingDelayInMinutes: number | null;
7722
- bidWithWarning: "bid" | "skip";
7764
+ bidWithWarning: "skip" | "bid";
7723
7765
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
7724
7766
  biddingHourlyRatePercentage: number | null;
7725
7767
  biddingFixedHourlyRate: number | null;
@@ -7729,6 +7771,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7729
7771
  maximumBoost: number | null;
7730
7772
  minBoost: number | null;
7731
7773
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
7774
+ alreadyHiredAction: "skip" | "bid";
7732
7775
  bidConfig: {
7733
7776
  contractorName: string | null;
7734
7777
  agencyName: string | null;
@@ -7737,7 +7780,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7737
7780
  }, {
7738
7781
  appliedFromQueue: boolean | null;
7739
7782
  biddingDelayInMinutes: number | null;
7740
- bidWithWarning: "bid" | "skip";
7783
+ bidWithWarning: "skip" | "bid";
7741
7784
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
7742
7785
  biddingHourlyRatePercentage: number | null;
7743
7786
  biddingFixedHourlyRate: number | null;
@@ -7747,6 +7790,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7747
7790
  maximumBoost: number | null;
7748
7791
  minBoost: number | null;
7749
7792
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
7793
+ alreadyHiredAction: "skip" | "bid";
7750
7794
  bidConfig: {
7751
7795
  contractorName: string | null;
7752
7796
  agencyName: string | null;
@@ -7892,6 +7936,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7892
7936
  companySize: z.ZodNullable<z.ZodString>;
7893
7937
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
7894
7938
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
7939
+ companyId: z.ZodNullable<z.ZodString>;
7895
7940
  }, "strip", z.ZodTypeAny, {
7896
7941
  country: string | null;
7897
7942
  region: string | null;
@@ -7910,6 +7955,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7910
7955
  memberSince: string | null;
7911
7956
  companyIndustry: string | null;
7912
7957
  avgHourlyRatePaid: number | null;
7958
+ companyId: string | null;
7913
7959
  }, {
7914
7960
  country: string | null;
7915
7961
  region: string | null;
@@ -7928,6 +7974,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7928
7974
  memberSince: string | null;
7929
7975
  companyIndustry: string | null;
7930
7976
  avgHourlyRatePaid: number | null;
7977
+ companyId: string | null;
7931
7978
  }>>;
7932
7979
  vendorQualifications: z.ZodNullable<z.ZodObject<{
7933
7980
  location: z.ZodNullable<z.ZodString>;
@@ -8135,7 +8182,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8135
8182
  question: string;
8136
8183
  }>, "many">>;
8137
8184
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
8138
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
8185
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
8139
8186
  biddingAmount: z.ZodNullable<z.ZodNumber>;
8140
8187
  boosted: z.ZodNullable<z.ZodBoolean>;
8141
8188
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -8166,6 +8213,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8166
8213
  maximumBoost: z.ZodNullable<z.ZodNumber>;
8167
8214
  minBoost: z.ZodNullable<z.ZodNumber>;
8168
8215
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
8216
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
8169
8217
  bidConfig: z.ZodObject<{
8170
8218
  agencyName: z.ZodNullable<z.ZodString>;
8171
8219
  contractorName: z.ZodNullable<z.ZodString>;
@@ -8182,7 +8230,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8182
8230
  }, "strip", z.ZodTypeAny, {
8183
8231
  appliedFromQueue: boolean | null;
8184
8232
  biddingDelayInMinutes: number | null;
8185
- bidWithWarning: "bid" | "skip";
8233
+ bidWithWarning: "skip" | "bid";
8186
8234
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8187
8235
  biddingHourlyRatePercentage: number | null;
8188
8236
  biddingFixedHourlyRate: number | null;
@@ -8192,6 +8240,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8192
8240
  maximumBoost: number | null;
8193
8241
  minBoost: number | null;
8194
8242
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8243
+ alreadyHiredAction: "skip" | "bid";
8195
8244
  bidConfig: {
8196
8245
  contractorName: string | null;
8197
8246
  agencyName: string | null;
@@ -8200,7 +8249,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8200
8249
  }, {
8201
8250
  appliedFromQueue: boolean | null;
8202
8251
  biddingDelayInMinutes: number | null;
8203
- bidWithWarning: "bid" | "skip";
8252
+ bidWithWarning: "skip" | "bid";
8204
8253
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8205
8254
  biddingHourlyRatePercentage: number | null;
8206
8255
  biddingFixedHourlyRate: number | null;
@@ -8210,6 +8259,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8210
8259
  maximumBoost: number | null;
8211
8260
  minBoost: number | null;
8212
8261
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8262
+ alreadyHiredAction: "skip" | "bid";
8213
8263
  bidConfig: {
8214
8264
  contractorName: string | null;
8215
8265
  agencyName: string | null;
@@ -8251,7 +8301,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8251
8301
  creditBalance: number;
8252
8302
  }>, z.ZodObject<{
8253
8303
  type: z.ZodLiteral<"lead_status">;
8254
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>;
8304
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
8255
8305
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
8256
8306
  id: z.ZodNullable<z.ZodString>;
8257
8307
  uid: z.ZodNullable<z.ZodString>;
@@ -8328,6 +8378,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8328
8378
  companySize: z.ZodNullable<z.ZodString>;
8329
8379
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
8330
8380
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
8381
+ companyId: z.ZodNullable<z.ZodString>;
8331
8382
  }, "strip", z.ZodTypeAny, {
8332
8383
  country: string | null;
8333
8384
  region: string | null;
@@ -8346,6 +8397,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8346
8397
  memberSince: string | null;
8347
8398
  companyIndustry: string | null;
8348
8399
  avgHourlyRatePaid: number | null;
8400
+ companyId: string | null;
8349
8401
  }, {
8350
8402
  country: string | null;
8351
8403
  region: string | null;
@@ -8364,6 +8416,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8364
8416
  memberSince: string | null;
8365
8417
  companyIndustry: string | null;
8366
8418
  avgHourlyRatePaid: number | null;
8419
+ companyId: string | null;
8367
8420
  }>>;
8368
8421
  vendorQualifications: z.ZodNullable<z.ZodObject<{
8369
8422
  location: z.ZodNullable<z.ZodString>;
@@ -8571,7 +8624,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8571
8624
  question: string;
8572
8625
  }>, "many">>;
8573
8626
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
8574
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
8627
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
8575
8628
  biddingAmount: z.ZodNullable<z.ZodNumber>;
8576
8629
  boosted: z.ZodNullable<z.ZodBoolean>;
8577
8630
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -8602,6 +8655,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8602
8655
  maximumBoost: z.ZodNullable<z.ZodNumber>;
8603
8656
  minBoost: z.ZodNullable<z.ZodNumber>;
8604
8657
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
8658
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
8605
8659
  bidConfig: z.ZodObject<{
8606
8660
  agencyName: z.ZodNullable<z.ZodString>;
8607
8661
  contractorName: z.ZodNullable<z.ZodString>;
@@ -8618,7 +8672,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8618
8672
  }, "strip", z.ZodTypeAny, {
8619
8673
  appliedFromQueue: boolean | null;
8620
8674
  biddingDelayInMinutes: number | null;
8621
- bidWithWarning: "bid" | "skip";
8675
+ bidWithWarning: "skip" | "bid";
8622
8676
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8623
8677
  biddingHourlyRatePercentage: number | null;
8624
8678
  biddingFixedHourlyRate: number | null;
@@ -8628,6 +8682,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8628
8682
  maximumBoost: number | null;
8629
8683
  minBoost: number | null;
8630
8684
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8685
+ alreadyHiredAction: "skip" | "bid";
8631
8686
  bidConfig: {
8632
8687
  contractorName: string | null;
8633
8688
  agencyName: string | null;
@@ -8636,7 +8691,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8636
8691
  }, {
8637
8692
  appliedFromQueue: boolean | null;
8638
8693
  biddingDelayInMinutes: number | null;
8639
- bidWithWarning: "bid" | "skip";
8694
+ bidWithWarning: "skip" | "bid";
8640
8695
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8641
8696
  biddingHourlyRatePercentage: number | null;
8642
8697
  biddingFixedHourlyRate: number | null;
@@ -8646,6 +8701,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8646
8701
  maximumBoost: number | null;
8647
8702
  minBoost: number | null;
8648
8703
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8704
+ alreadyHiredAction: "skip" | "bid";
8649
8705
  bidConfig: {
8650
8706
  contractorName: string | null;
8651
8707
  agencyName: string | null;
@@ -8666,7 +8722,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8666
8722
  creditBalance: z.ZodNumber;
8667
8723
  }, "strip", z.ZodTypeAny, {
8668
8724
  type: "lead_status";
8669
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
8725
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
8670
8726
  lead: {
8671
8727
  id: string | null;
8672
8728
  title: string | null;
@@ -8676,7 +8732,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8676
8732
  creditBalance: number;
8677
8733
  }, {
8678
8734
  type: "lead_status";
8679
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
8735
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
8680
8736
  lead: {
8681
8737
  id: string | null;
8682
8738
  title: string | null;
@@ -8762,6 +8818,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8762
8818
  companySize: z.ZodNullable<z.ZodString>;
8763
8819
  enterpriseClient: z.ZodNullable<z.ZodBoolean>;
8764
8820
  avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
8821
+ companyId: z.ZodNullable<z.ZodString>;
8765
8822
  }, "strip", z.ZodTypeAny, {
8766
8823
  country: string | null;
8767
8824
  region: string | null;
@@ -8780,6 +8837,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8780
8837
  memberSince: string | null;
8781
8838
  companyIndustry: string | null;
8782
8839
  avgHourlyRatePaid: number | null;
8840
+ companyId: string | null;
8783
8841
  }, {
8784
8842
  country: string | null;
8785
8843
  region: string | null;
@@ -8798,6 +8856,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8798
8856
  memberSince: string | null;
8799
8857
  companyIndustry: string | null;
8800
8858
  avgHourlyRatePaid: number | null;
8859
+ companyId: string | null;
8801
8860
  }>>;
8802
8861
  vendorQualifications: z.ZodNullable<z.ZodObject<{
8803
8862
  location: z.ZodNullable<z.ZodString>;
@@ -9005,7 +9064,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9005
9064
  question: string;
9006
9065
  }>, "many">>;
9007
9066
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
9008
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "won"]>>;
9067
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
9009
9068
  biddingAmount: z.ZodNullable<z.ZodNumber>;
9010
9069
  boosted: z.ZodNullable<z.ZodBoolean>;
9011
9070
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -9036,6 +9095,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9036
9095
  maximumBoost: z.ZodNullable<z.ZodNumber>;
9037
9096
  minBoost: z.ZodNullable<z.ZodNumber>;
9038
9097
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
9098
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
9039
9099
  bidConfig: z.ZodObject<{
9040
9100
  agencyName: z.ZodNullable<z.ZodString>;
9041
9101
  contractorName: z.ZodNullable<z.ZodString>;
@@ -9052,7 +9112,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9052
9112
  }, "strip", z.ZodTypeAny, {
9053
9113
  appliedFromQueue: boolean | null;
9054
9114
  biddingDelayInMinutes: number | null;
9055
- bidWithWarning: "bid" | "skip";
9115
+ bidWithWarning: "skip" | "bid";
9056
9116
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
9057
9117
  biddingHourlyRatePercentage: number | null;
9058
9118
  biddingFixedHourlyRate: number | null;
@@ -9062,6 +9122,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9062
9122
  maximumBoost: number | null;
9063
9123
  minBoost: number | null;
9064
9124
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
9125
+ alreadyHiredAction: "skip" | "bid";
9065
9126
  bidConfig: {
9066
9127
  contractorName: string | null;
9067
9128
  agencyName: string | null;
@@ -9070,7 +9131,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9070
9131
  }, {
9071
9132
  appliedFromQueue: boolean | null;
9072
9133
  biddingDelayInMinutes: number | null;
9073
- bidWithWarning: "bid" | "skip";
9134
+ bidWithWarning: "skip" | "bid";
9074
9135
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
9075
9136
  biddingHourlyRatePercentage: number | null;
9076
9137
  biddingFixedHourlyRate: number | null;
@@ -9080,6 +9141,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9080
9141
  maximumBoost: number | null;
9081
9142
  minBoost: number | null;
9082
9143
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
9144
+ alreadyHiredAction: "skip" | "bid";
9083
9145
  bidConfig: {
9084
9146
  contractorName: string | null;
9085
9147
  agencyName: string | null;
@@ -9120,15 +9182,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9120
9182
  export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
9121
9183
  organizationId: z.ZodString;
9122
9184
  campaignId: z.ZodString;
9123
- fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "boostAboveMaxConnects", "dailyLimitReached", "privateJob", "insufficientConnects", "noLongerAvailable", "rejected", "alreadyBiddedOn", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount", "biddingScheduled", "biddingFailed"]>, "many">;
9185
+ fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "boostAboveMaxConnects", "dailyLimitReached", "privateJob", "insufficientConnects", "noLongerAvailable", "rejected", "alreadyBiddedOn", "alreadyHired", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount", "biddingScheduled", "biddingFailed"]>, "many">;
9124
9186
  }, "strip", z.ZodTypeAny, {
9125
9187
  campaignId: string;
9126
9188
  organizationId: string;
9127
- fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
9189
+ fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
9128
9190
  }, {
9129
9191
  campaignId: string;
9130
9192
  organizationId: string;
9131
- fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
9193
+ fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
9132
9194
  }>;
9133
9195
  export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
9134
9196
  export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;