lancer-shared 1.2.266 → 1.2.267

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>;
@@ -1723,7 +1725,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1723
1725
  question: string;
1724
1726
  }>, "many">>;
1725
1727
  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"]>>;
1728
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
1727
1729
  biddingAmount: z.ZodNullable<z.ZodNumber>;
1728
1730
  boosted: z.ZodNullable<z.ZodBoolean>;
1729
1731
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1754,6 +1756,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1754
1756
  maximumBoost: z.ZodNullable<z.ZodNumber>;
1755
1757
  minBoost: z.ZodNullable<z.ZodNumber>;
1756
1758
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
1759
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
1757
1760
  bidConfig: z.ZodObject<{
1758
1761
  agencyName: z.ZodNullable<z.ZodString>;
1759
1762
  contractorName: z.ZodNullable<z.ZodString>;
@@ -1770,7 +1773,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1770
1773
  }, "strip", z.ZodTypeAny, {
1771
1774
  appliedFromQueue: boolean | null;
1772
1775
  biddingDelayInMinutes: number | null;
1773
- bidWithWarning: "bid" | "skip";
1776
+ bidWithWarning: "skip" | "bid";
1774
1777
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1775
1778
  biddingHourlyRatePercentage: number | null;
1776
1779
  biddingFixedHourlyRate: number | null;
@@ -1780,6 +1783,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1780
1783
  maximumBoost: number | null;
1781
1784
  minBoost: number | null;
1782
1785
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1786
+ alreadyHiredAction: "skip" | "bid";
1783
1787
  bidConfig: {
1784
1788
  contractorName: string | null;
1785
1789
  agencyName: string | null;
@@ -1788,7 +1792,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1788
1792
  }, {
1789
1793
  appliedFromQueue: boolean | null;
1790
1794
  biddingDelayInMinutes: number | null;
1791
- bidWithWarning: "bid" | "skip";
1795
+ bidWithWarning: "skip" | "bid";
1792
1796
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1793
1797
  biddingHourlyRatePercentage: number | null;
1794
1798
  biddingFixedHourlyRate: number | null;
@@ -1798,6 +1802,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1798
1802
  maximumBoost: number | null;
1799
1803
  minBoost: number | null;
1800
1804
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1805
+ alreadyHiredAction: "skip" | "bid";
1801
1806
  bidConfig: {
1802
1807
  contractorName: string | null;
1803
1808
  agencyName: string | null;
@@ -2356,9 +2361,10 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2356
2361
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
2357
2362
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
2358
2363
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
2364
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
2359
2365
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
2360
2366
  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>>;
2367
+ 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
2368
  expenses: z.ZodObject<{
2363
2369
  biddingAmount: z.ZodDefault<z.ZodNumber>;
2364
2370
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -2467,7 +2473,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2467
2473
  creditBalance: z.ZodNumber;
2468
2474
  }, {
2469
2475
  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"]>;
2476
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
2471
2477
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
2472
2478
  id: z.ZodNullable<z.ZodString>;
2473
2479
  uid: z.ZodNullable<z.ZodString>;
@@ -2787,7 +2793,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2787
2793
  question: string;
2788
2794
  }>, "many">>;
2789
2795
  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"]>>;
2796
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
2791
2797
  biddingAmount: z.ZodNullable<z.ZodNumber>;
2792
2798
  boosted: z.ZodNullable<z.ZodBoolean>;
2793
2799
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -2818,6 +2824,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2818
2824
  maximumBoost: z.ZodNullable<z.ZodNumber>;
2819
2825
  minBoost: z.ZodNullable<z.ZodNumber>;
2820
2826
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
2827
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
2821
2828
  bidConfig: z.ZodObject<{
2822
2829
  agencyName: z.ZodNullable<z.ZodString>;
2823
2830
  contractorName: z.ZodNullable<z.ZodString>;
@@ -2834,7 +2841,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2834
2841
  }, "strip", z.ZodTypeAny, {
2835
2842
  appliedFromQueue: boolean | null;
2836
2843
  biddingDelayInMinutes: number | null;
2837
- bidWithWarning: "bid" | "skip";
2844
+ bidWithWarning: "skip" | "bid";
2838
2845
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2839
2846
  biddingHourlyRatePercentage: number | null;
2840
2847
  biddingFixedHourlyRate: number | null;
@@ -2844,6 +2851,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2844
2851
  maximumBoost: number | null;
2845
2852
  minBoost: number | null;
2846
2853
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2854
+ alreadyHiredAction: "skip" | "bid";
2847
2855
  bidConfig: {
2848
2856
  contractorName: string | null;
2849
2857
  agencyName: string | null;
@@ -2852,7 +2860,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2852
2860
  }, {
2853
2861
  appliedFromQueue: boolean | null;
2854
2862
  biddingDelayInMinutes: number | null;
2855
- bidWithWarning: "bid" | "skip";
2863
+ bidWithWarning: "skip" | "bid";
2856
2864
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
2857
2865
  biddingHourlyRatePercentage: number | null;
2858
2866
  biddingFixedHourlyRate: number | null;
@@ -2862,6 +2870,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2862
2870
  maximumBoost: number | null;
2863
2871
  minBoost: number | null;
2864
2872
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
2873
+ alreadyHiredAction: "skip" | "bid";
2865
2874
  bidConfig: {
2866
2875
  contractorName: string | null;
2867
2876
  agencyName: string | null;
@@ -2886,7 +2895,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2886
2895
  id: string;
2887
2896
  name: string;
2888
2897
  };
2889
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
2898
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
2890
2899
  createdAt: number;
2891
2900
  lead: {
2892
2901
  id: string | null;
@@ -2905,7 +2914,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2905
2914
  id: string;
2906
2915
  name: string;
2907
2916
  };
2908
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
2917
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
2909
2918
  createdAt: number;
2910
2919
  lead: {
2911
2920
  id: string | null;
@@ -3419,9 +3428,10 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3419
3428
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
3420
3429
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
3421
3430
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
3431
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
3422
3432
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
3423
3433
  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>>;
3434
+ 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
3435
  expenses: z.ZodObject<{
3426
3436
  biddingAmount: z.ZodDefault<z.ZodNumber>;
3427
3437
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -3849,7 +3859,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3849
3859
  question: string;
3850
3860
  }>, "many">>;
3851
3861
  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"]>>;
3862
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
3853
3863
  biddingAmount: z.ZodNullable<z.ZodNumber>;
3854
3864
  boosted: z.ZodNullable<z.ZodBoolean>;
3855
3865
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -3880,6 +3890,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3880
3890
  maximumBoost: z.ZodNullable<z.ZodNumber>;
3881
3891
  minBoost: z.ZodNullable<z.ZodNumber>;
3882
3892
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
3893
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
3883
3894
  bidConfig: z.ZodObject<{
3884
3895
  agencyName: z.ZodNullable<z.ZodString>;
3885
3896
  contractorName: z.ZodNullable<z.ZodString>;
@@ -3896,7 +3907,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3896
3907
  }, "strip", z.ZodTypeAny, {
3897
3908
  appliedFromQueue: boolean | null;
3898
3909
  biddingDelayInMinutes: number | null;
3899
- bidWithWarning: "bid" | "skip";
3910
+ bidWithWarning: "skip" | "bid";
3900
3911
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3901
3912
  biddingHourlyRatePercentage: number | null;
3902
3913
  biddingFixedHourlyRate: number | null;
@@ -3906,6 +3917,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3906
3917
  maximumBoost: number | null;
3907
3918
  minBoost: number | null;
3908
3919
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3920
+ alreadyHiredAction: "skip" | "bid";
3909
3921
  bidConfig: {
3910
3922
  contractorName: string | null;
3911
3923
  agencyName: string | null;
@@ -3914,7 +3926,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3914
3926
  }, {
3915
3927
  appliedFromQueue: boolean | null;
3916
3928
  biddingDelayInMinutes: number | null;
3917
- bidWithWarning: "bid" | "skip";
3929
+ bidWithWarning: "skip" | "bid";
3918
3930
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
3919
3931
  biddingHourlyRatePercentage: number | null;
3920
3932
  biddingFixedHourlyRate: number | null;
@@ -3924,6 +3936,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3924
3936
  maximumBoost: number | null;
3925
3937
  minBoost: number | null;
3926
3938
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
3939
+ alreadyHiredAction: "skip" | "bid";
3927
3940
  bidConfig: {
3928
3941
  contractorName: string | null;
3929
3942
  agencyName: string | null;
@@ -4479,9 +4492,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4479
4492
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
4480
4493
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
4481
4494
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
4495
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
4482
4496
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
4483
4497
  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>>;
4498
+ 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
4499
  expenses: z.ZodObject<{
4486
4500
  biddingAmount: z.ZodDefault<z.ZodNumber>;
4487
4501
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5118,9 +5132,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5118
5132
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
5119
5133
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
5120
5134
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
5135
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
5121
5136
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
5122
5137
  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>>;
5138
+ 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
5139
  expenses: z.ZodObject<{
5125
5140
  biddingAmount: z.ZodDefault<z.ZodNumber>;
5126
5141
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5548,7 +5563,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5548
5563
  question: string;
5549
5564
  }>, "many">>;
5550
5565
  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"]>>;
5566
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
5552
5567
  biddingAmount: z.ZodNullable<z.ZodNumber>;
5553
5568
  boosted: z.ZodNullable<z.ZodBoolean>;
5554
5569
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -5579,6 +5594,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5579
5594
  maximumBoost: z.ZodNullable<z.ZodNumber>;
5580
5595
  minBoost: z.ZodNullable<z.ZodNumber>;
5581
5596
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
5597
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
5582
5598
  bidConfig: z.ZodObject<{
5583
5599
  agencyName: z.ZodNullable<z.ZodString>;
5584
5600
  contractorName: z.ZodNullable<z.ZodString>;
@@ -5595,7 +5611,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5595
5611
  }, "strip", z.ZodTypeAny, {
5596
5612
  appliedFromQueue: boolean | null;
5597
5613
  biddingDelayInMinutes: number | null;
5598
- bidWithWarning: "bid" | "skip";
5614
+ bidWithWarning: "skip" | "bid";
5599
5615
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
5600
5616
  biddingHourlyRatePercentage: number | null;
5601
5617
  biddingFixedHourlyRate: number | null;
@@ -5605,6 +5621,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5605
5621
  maximumBoost: number | null;
5606
5622
  minBoost: number | null;
5607
5623
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
5624
+ alreadyHiredAction: "skip" | "bid";
5608
5625
  bidConfig: {
5609
5626
  contractorName: string | null;
5610
5627
  agencyName: string | null;
@@ -5613,7 +5630,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5613
5630
  }, {
5614
5631
  appliedFromQueue: boolean | null;
5615
5632
  biddingDelayInMinutes: number | null;
5616
- bidWithWarning: "bid" | "skip";
5633
+ bidWithWarning: "skip" | "bid";
5617
5634
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
5618
5635
  biddingHourlyRatePercentage: number | null;
5619
5636
  biddingFixedHourlyRate: number | null;
@@ -5623,6 +5640,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5623
5640
  maximumBoost: number | null;
5624
5641
  minBoost: number | null;
5625
5642
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
5643
+ alreadyHiredAction: "skip" | "bid";
5626
5644
  bidConfig: {
5627
5645
  contractorName: string | null;
5628
5646
  agencyName: string | null;
@@ -6180,9 +6198,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6180
6198
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
6181
6199
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
6182
6200
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
6201
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
6183
6202
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
6184
6203
  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>>;
6204
+ 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
6205
  expenses: z.ZodObject<{
6187
6206
  biddingAmount: z.ZodDefault<z.ZodNumber>;
6188
6207
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -6291,7 +6310,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6291
6310
  creditBalance: z.ZodNumber;
6292
6311
  }, {
6293
6312
  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"]>;
6313
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
6295
6314
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
6296
6315
  id: z.ZodNullable<z.ZodString>;
6297
6316
  uid: z.ZodNullable<z.ZodString>;
@@ -6611,7 +6630,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6611
6630
  question: string;
6612
6631
  }>, "many">>;
6613
6632
  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"]>>;
6633
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
6615
6634
  biddingAmount: z.ZodNullable<z.ZodNumber>;
6616
6635
  boosted: z.ZodNullable<z.ZodBoolean>;
6617
6636
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -6642,6 +6661,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6642
6661
  maximumBoost: z.ZodNullable<z.ZodNumber>;
6643
6662
  minBoost: z.ZodNullable<z.ZodNumber>;
6644
6663
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
6664
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
6645
6665
  bidConfig: z.ZodObject<{
6646
6666
  agencyName: z.ZodNullable<z.ZodString>;
6647
6667
  contractorName: z.ZodNullable<z.ZodString>;
@@ -6658,7 +6678,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6658
6678
  }, "strip", z.ZodTypeAny, {
6659
6679
  appliedFromQueue: boolean | null;
6660
6680
  biddingDelayInMinutes: number | null;
6661
- bidWithWarning: "bid" | "skip";
6681
+ bidWithWarning: "skip" | "bid";
6662
6682
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
6663
6683
  biddingHourlyRatePercentage: number | null;
6664
6684
  biddingFixedHourlyRate: number | null;
@@ -6668,6 +6688,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6668
6688
  maximumBoost: number | null;
6669
6689
  minBoost: number | null;
6670
6690
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
6691
+ alreadyHiredAction: "skip" | "bid";
6671
6692
  bidConfig: {
6672
6693
  contractorName: string | null;
6673
6694
  agencyName: string | null;
@@ -6676,7 +6697,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6676
6697
  }, {
6677
6698
  appliedFromQueue: boolean | null;
6678
6699
  biddingDelayInMinutes: number | null;
6679
- bidWithWarning: "bid" | "skip";
6700
+ bidWithWarning: "skip" | "bid";
6680
6701
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
6681
6702
  biddingHourlyRatePercentage: number | null;
6682
6703
  biddingFixedHourlyRate: number | null;
@@ -6686,6 +6707,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6686
6707
  maximumBoost: number | null;
6687
6708
  minBoost: number | null;
6688
6709
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
6710
+ alreadyHiredAction: "skip" | "bid";
6689
6711
  bidConfig: {
6690
6712
  contractorName: string | null;
6691
6713
  agencyName: string | null;
@@ -6710,7 +6732,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6710
6732
  id: string;
6711
6733
  name: string;
6712
6734
  };
6713
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
6735
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
6714
6736
  createdAt: number;
6715
6737
  lead: {
6716
6738
  id: string | null;
@@ -6729,7 +6751,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6729
6751
  id: string;
6730
6752
  name: string;
6731
6753
  };
6732
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
6754
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
6733
6755
  createdAt: number;
6734
6756
  lead: {
6735
6757
  id: string | null;
@@ -7242,9 +7264,10 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7242
7264
  biddingDelayInMinutes: z.ZodDefault<z.ZodNumber>;
7243
7265
  biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
7244
7266
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
7267
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
7245
7268
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
7246
7269
  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>>;
7270
+ 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
7271
  expenses: z.ZodObject<{
7249
7272
  biddingAmount: z.ZodDefault<z.ZodNumber>;
7250
7273
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -7672,7 +7695,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7672
7695
  question: string;
7673
7696
  }>, "many">>;
7674
7697
  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"]>>;
7698
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
7676
7699
  biddingAmount: z.ZodNullable<z.ZodNumber>;
7677
7700
  boosted: z.ZodNullable<z.ZodBoolean>;
7678
7701
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -7703,6 +7726,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7703
7726
  maximumBoost: z.ZodNullable<z.ZodNumber>;
7704
7727
  minBoost: z.ZodNullable<z.ZodNumber>;
7705
7728
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
7729
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
7706
7730
  bidConfig: z.ZodObject<{
7707
7731
  agencyName: z.ZodNullable<z.ZodString>;
7708
7732
  contractorName: z.ZodNullable<z.ZodString>;
@@ -7719,7 +7743,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7719
7743
  }, "strip", z.ZodTypeAny, {
7720
7744
  appliedFromQueue: boolean | null;
7721
7745
  biddingDelayInMinutes: number | null;
7722
- bidWithWarning: "bid" | "skip";
7746
+ bidWithWarning: "skip" | "bid";
7723
7747
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
7724
7748
  biddingHourlyRatePercentage: number | null;
7725
7749
  biddingFixedHourlyRate: number | null;
@@ -7729,6 +7753,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7729
7753
  maximumBoost: number | null;
7730
7754
  minBoost: number | null;
7731
7755
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
7756
+ alreadyHiredAction: "skip" | "bid";
7732
7757
  bidConfig: {
7733
7758
  contractorName: string | null;
7734
7759
  agencyName: string | null;
@@ -7737,7 +7762,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7737
7762
  }, {
7738
7763
  appliedFromQueue: boolean | null;
7739
7764
  biddingDelayInMinutes: number | null;
7740
- bidWithWarning: "bid" | "skip";
7765
+ bidWithWarning: "skip" | "bid";
7741
7766
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
7742
7767
  biddingHourlyRatePercentage: number | null;
7743
7768
  biddingFixedHourlyRate: number | null;
@@ -7747,6 +7772,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7747
7772
  maximumBoost: number | null;
7748
7773
  minBoost: number | null;
7749
7774
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
7775
+ alreadyHiredAction: "skip" | "bid";
7750
7776
  bidConfig: {
7751
7777
  contractorName: string | null;
7752
7778
  agencyName: string | null;
@@ -8135,7 +8161,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8135
8161
  question: string;
8136
8162
  }>, "many">>;
8137
8163
  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"]>>;
8164
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
8139
8165
  biddingAmount: z.ZodNullable<z.ZodNumber>;
8140
8166
  boosted: z.ZodNullable<z.ZodBoolean>;
8141
8167
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -8166,6 +8192,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8166
8192
  maximumBoost: z.ZodNullable<z.ZodNumber>;
8167
8193
  minBoost: z.ZodNullable<z.ZodNumber>;
8168
8194
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
8195
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
8169
8196
  bidConfig: z.ZodObject<{
8170
8197
  agencyName: z.ZodNullable<z.ZodString>;
8171
8198
  contractorName: z.ZodNullable<z.ZodString>;
@@ -8182,7 +8209,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8182
8209
  }, "strip", z.ZodTypeAny, {
8183
8210
  appliedFromQueue: boolean | null;
8184
8211
  biddingDelayInMinutes: number | null;
8185
- bidWithWarning: "bid" | "skip";
8212
+ bidWithWarning: "skip" | "bid";
8186
8213
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8187
8214
  biddingHourlyRatePercentage: number | null;
8188
8215
  biddingFixedHourlyRate: number | null;
@@ -8192,6 +8219,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8192
8219
  maximumBoost: number | null;
8193
8220
  minBoost: number | null;
8194
8221
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8222
+ alreadyHiredAction: "skip" | "bid";
8195
8223
  bidConfig: {
8196
8224
  contractorName: string | null;
8197
8225
  agencyName: string | null;
@@ -8200,7 +8228,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8200
8228
  }, {
8201
8229
  appliedFromQueue: boolean | null;
8202
8230
  biddingDelayInMinutes: number | null;
8203
- bidWithWarning: "bid" | "skip";
8231
+ bidWithWarning: "skip" | "bid";
8204
8232
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8205
8233
  biddingHourlyRatePercentage: number | null;
8206
8234
  biddingFixedHourlyRate: number | null;
@@ -8210,6 +8238,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8210
8238
  maximumBoost: number | null;
8211
8239
  minBoost: number | null;
8212
8240
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8241
+ alreadyHiredAction: "skip" | "bid";
8213
8242
  bidConfig: {
8214
8243
  contractorName: string | null;
8215
8244
  agencyName: string | null;
@@ -8251,7 +8280,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8251
8280
  creditBalance: number;
8252
8281
  }>, z.ZodObject<{
8253
8282
  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"]>;
8283
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>;
8255
8284
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
8256
8285
  id: z.ZodNullable<z.ZodString>;
8257
8286
  uid: z.ZodNullable<z.ZodString>;
@@ -8571,7 +8600,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8571
8600
  question: string;
8572
8601
  }>, "many">>;
8573
8602
  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"]>>;
8603
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
8575
8604
  biddingAmount: z.ZodNullable<z.ZodNumber>;
8576
8605
  boosted: z.ZodNullable<z.ZodBoolean>;
8577
8606
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -8602,6 +8631,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8602
8631
  maximumBoost: z.ZodNullable<z.ZodNumber>;
8603
8632
  minBoost: z.ZodNullable<z.ZodNumber>;
8604
8633
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
8634
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
8605
8635
  bidConfig: z.ZodObject<{
8606
8636
  agencyName: z.ZodNullable<z.ZodString>;
8607
8637
  contractorName: z.ZodNullable<z.ZodString>;
@@ -8618,7 +8648,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8618
8648
  }, "strip", z.ZodTypeAny, {
8619
8649
  appliedFromQueue: boolean | null;
8620
8650
  biddingDelayInMinutes: number | null;
8621
- bidWithWarning: "bid" | "skip";
8651
+ bidWithWarning: "skip" | "bid";
8622
8652
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8623
8653
  biddingHourlyRatePercentage: number | null;
8624
8654
  biddingFixedHourlyRate: number | null;
@@ -8628,6 +8658,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8628
8658
  maximumBoost: number | null;
8629
8659
  minBoost: number | null;
8630
8660
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8661
+ alreadyHiredAction: "skip" | "bid";
8631
8662
  bidConfig: {
8632
8663
  contractorName: string | null;
8633
8664
  agencyName: string | null;
@@ -8636,7 +8667,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8636
8667
  }, {
8637
8668
  appliedFromQueue: boolean | null;
8638
8669
  biddingDelayInMinutes: number | null;
8639
- bidWithWarning: "bid" | "skip";
8670
+ bidWithWarning: "skip" | "bid";
8640
8671
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
8641
8672
  biddingHourlyRatePercentage: number | null;
8642
8673
  biddingFixedHourlyRate: number | null;
@@ -8646,6 +8677,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8646
8677
  maximumBoost: number | null;
8647
8678
  minBoost: number | null;
8648
8679
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
8680
+ alreadyHiredAction: "skip" | "bid";
8649
8681
  bidConfig: {
8650
8682
  contractorName: string | null;
8651
8683
  agencyName: string | null;
@@ -8666,7 +8698,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8666
8698
  creditBalance: z.ZodNumber;
8667
8699
  }, "strip", z.ZodTypeAny, {
8668
8700
  type: "lead_status";
8669
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
8701
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
8670
8702
  lead: {
8671
8703
  id: string | null;
8672
8704
  title: string | null;
@@ -8676,7 +8708,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
8676
8708
  creditBalance: number;
8677
8709
  }, {
8678
8710
  type: "lead_status";
8679
- status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "won";
8711
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won";
8680
8712
  lead: {
8681
8713
  id: string | null;
8682
8714
  title: string | null;
@@ -9005,7 +9037,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9005
9037
  question: string;
9006
9038
  }>, "many">>;
9007
9039
  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"]>>;
9040
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
9009
9041
  biddingAmount: z.ZodNullable<z.ZodNumber>;
9010
9042
  boosted: z.ZodNullable<z.ZodBoolean>;
9011
9043
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -9036,6 +9068,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9036
9068
  maximumBoost: z.ZodNullable<z.ZodNumber>;
9037
9069
  minBoost: z.ZodNullable<z.ZodNumber>;
9038
9070
  insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
9071
+ alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
9039
9072
  bidConfig: z.ZodObject<{
9040
9073
  agencyName: z.ZodNullable<z.ZodString>;
9041
9074
  contractorName: z.ZodNullable<z.ZodString>;
@@ -9052,7 +9085,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9052
9085
  }, "strip", z.ZodTypeAny, {
9053
9086
  appliedFromQueue: boolean | null;
9054
9087
  biddingDelayInMinutes: number | null;
9055
- bidWithWarning: "bid" | "skip";
9088
+ bidWithWarning: "skip" | "bid";
9056
9089
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
9057
9090
  biddingHourlyRatePercentage: number | null;
9058
9091
  biddingFixedHourlyRate: number | null;
@@ -9062,6 +9095,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9062
9095
  maximumBoost: number | null;
9063
9096
  minBoost: number | null;
9064
9097
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
9098
+ alreadyHiredAction: "skip" | "bid";
9065
9099
  bidConfig: {
9066
9100
  contractorName: string | null;
9067
9101
  agencyName: string | null;
@@ -9070,7 +9104,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9070
9104
  }, {
9071
9105
  appliedFromQueue: boolean | null;
9072
9106
  biddingDelayInMinutes: number | null;
9073
- bidWithWarning: "bid" | "skip";
9107
+ bidWithWarning: "skip" | "bid";
9074
9108
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
9075
9109
  biddingHourlyRatePercentage: number | null;
9076
9110
  biddingFixedHourlyRate: number | null;
@@ -9080,6 +9114,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9080
9114
  maximumBoost: number | null;
9081
9115
  minBoost: number | null;
9082
9116
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
9117
+ alreadyHiredAction: "skip" | "bid";
9083
9118
  bidConfig: {
9084
9119
  contractorName: string | null;
9085
9120
  agencyName: string | null;
@@ -9120,15 +9155,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
9120
9155
  export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
9121
9156
  organizationId: z.ZodString;
9122
9157
  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">;
9158
+ 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
9159
  }, "strip", z.ZodTypeAny, {
9125
9160
  campaignId: string;
9126
9161
  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")[];
9162
+ fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
9128
9163
  }, {
9129
9164
  campaignId: string;
9130
9165
  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")[];
9166
+ fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
9132
9167
  }>;
9133
9168
  export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
9134
9169
  export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;