lancer-shared 1.2.261 → 1.2.262
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.
- package/dist/bundle.cjs.js +37 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +38 -3
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +160 -13
- package/dist/schemas/bidder/bid.d.ts +1631 -255
- package/dist/schemas/campaign/campaign-analytics.d.ts +605 -29
- package/dist/schemas/campaign/campaign.d.ts +120 -120
- package/dist/schemas/lead/index.d.ts +646 -46
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +31 -17
- package/dist/schemas/scraper/scrape-payload.d.ts +224 -80
- package/package.json +1 -1
|
@@ -655,7 +655,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
655
655
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
656
656
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
657
657
|
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", "won"]>, z.ZodNumber>>;
|
|
658
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
659
659
|
expenses: z.ZodObject<{
|
|
660
660
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
661
661
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1295,7 +1295,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1295
1295
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1296
1296
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1297
1297
|
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", "won"]>, z.ZodNumber>>;
|
|
1298
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
1299
1299
|
expenses: z.ZodObject<{
|
|
1300
1300
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1301
1301
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1722,7 +1722,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1722
1722
|
question: string;
|
|
1723
1723
|
}>, "many">>;
|
|
1724
1724
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1725
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
1725
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
1726
1726
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1727
1727
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1728
1728
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1733,11 +1733,75 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1733
1733
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
1734
1734
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1735
1735
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1736
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1736
1737
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1737
1738
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1738
1739
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1739
1740
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1740
1741
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1742
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
1743
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1744
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1745
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1746
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
1747
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1748
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1749
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
1750
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1751
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1752
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1753
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
1754
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
1755
|
+
bidConfig: z.ZodObject<{
|
|
1756
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1757
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1758
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1759
|
+
}, "strip", z.ZodTypeAny, {
|
|
1760
|
+
contractorName: string | null;
|
|
1761
|
+
agencyName: string | null;
|
|
1762
|
+
specialisedProfile: string | null;
|
|
1763
|
+
}, {
|
|
1764
|
+
contractorName: string | null;
|
|
1765
|
+
agencyName: string | null;
|
|
1766
|
+
specialisedProfile: string | null;
|
|
1767
|
+
}>;
|
|
1768
|
+
}, "strip", z.ZodTypeAny, {
|
|
1769
|
+
appliedFromQueue: boolean | null;
|
|
1770
|
+
biddingDelayInMinutes: number | null;
|
|
1771
|
+
bidWithWarning: "bid" | "skip";
|
|
1772
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1773
|
+
biddingHourlyRatePercentage: number | null;
|
|
1774
|
+
biddingFixedHourlyRate: number | null;
|
|
1775
|
+
boostingEnabled: boolean | null;
|
|
1776
|
+
boostDownToNthPlace: number | null;
|
|
1777
|
+
connectsAbovePrevious: number | null;
|
|
1778
|
+
maximumBoost: number | null;
|
|
1779
|
+
minBoost: number | null;
|
|
1780
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1781
|
+
bidConfig: {
|
|
1782
|
+
contractorName: string | null;
|
|
1783
|
+
agencyName: string | null;
|
|
1784
|
+
specialisedProfile: string | null;
|
|
1785
|
+
};
|
|
1786
|
+
}, {
|
|
1787
|
+
appliedFromQueue: boolean | null;
|
|
1788
|
+
biddingDelayInMinutes: number | null;
|
|
1789
|
+
bidWithWarning: "bid" | "skip";
|
|
1790
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1791
|
+
biddingHourlyRatePercentage: number | null;
|
|
1792
|
+
biddingFixedHourlyRate: number | null;
|
|
1793
|
+
boostingEnabled: boolean | null;
|
|
1794
|
+
boostDownToNthPlace: number | null;
|
|
1795
|
+
connectsAbovePrevious: number | null;
|
|
1796
|
+
maximumBoost: number | null;
|
|
1797
|
+
minBoost: number | null;
|
|
1798
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1799
|
+
bidConfig: {
|
|
1800
|
+
contractorName: string | null;
|
|
1801
|
+
agencyName: string | null;
|
|
1802
|
+
specialisedProfile: string | null;
|
|
1803
|
+
};
|
|
1804
|
+
}>>;
|
|
1741
1805
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
1742
1806
|
id: string | null;
|
|
1743
1807
|
title: string | null;
|
|
@@ -2292,7 +2356,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2292
2356
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2293
2357
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2294
2358
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2295
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2359
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
2296
2360
|
expenses: z.ZodObject<{
|
|
2297
2361
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
2298
2362
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2401,7 +2465,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2401
2465
|
creditBalance: z.ZodNumber;
|
|
2402
2466
|
}, {
|
|
2403
2467
|
type: z.ZodLiteral<"lead_status">;
|
|
2404
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
2468
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
2405
2469
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
2406
2470
|
id: z.ZodNullable<z.ZodString>;
|
|
2407
2471
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -2720,7 +2784,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2720
2784
|
question: string;
|
|
2721
2785
|
}>, "many">>;
|
|
2722
2786
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2723
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
2787
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
2724
2788
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2725
2789
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2726
2790
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2731,11 +2795,75 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2731
2795
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2732
2796
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2733
2797
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2798
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
2734
2799
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2735
2800
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2736
2801
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2737
2802
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2738
2803
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2804
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
2805
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2806
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2807
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2808
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
2809
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2810
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2811
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
2812
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
2813
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
2814
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
2815
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
2816
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
2817
|
+
bidConfig: z.ZodObject<{
|
|
2818
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
2819
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
2820
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
2821
|
+
}, "strip", z.ZodTypeAny, {
|
|
2822
|
+
contractorName: string | null;
|
|
2823
|
+
agencyName: string | null;
|
|
2824
|
+
specialisedProfile: string | null;
|
|
2825
|
+
}, {
|
|
2826
|
+
contractorName: string | null;
|
|
2827
|
+
agencyName: string | null;
|
|
2828
|
+
specialisedProfile: string | null;
|
|
2829
|
+
}>;
|
|
2830
|
+
}, "strip", z.ZodTypeAny, {
|
|
2831
|
+
appliedFromQueue: boolean | null;
|
|
2832
|
+
biddingDelayInMinutes: number | null;
|
|
2833
|
+
bidWithWarning: "bid" | "skip";
|
|
2834
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2835
|
+
biddingHourlyRatePercentage: number | null;
|
|
2836
|
+
biddingFixedHourlyRate: number | null;
|
|
2837
|
+
boostingEnabled: boolean | null;
|
|
2838
|
+
boostDownToNthPlace: number | null;
|
|
2839
|
+
connectsAbovePrevious: number | null;
|
|
2840
|
+
maximumBoost: number | null;
|
|
2841
|
+
minBoost: number | null;
|
|
2842
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2843
|
+
bidConfig: {
|
|
2844
|
+
contractorName: string | null;
|
|
2845
|
+
agencyName: string | null;
|
|
2846
|
+
specialisedProfile: string | null;
|
|
2847
|
+
};
|
|
2848
|
+
}, {
|
|
2849
|
+
appliedFromQueue: boolean | null;
|
|
2850
|
+
biddingDelayInMinutes: number | null;
|
|
2851
|
+
bidWithWarning: "bid" | "skip";
|
|
2852
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2853
|
+
biddingHourlyRatePercentage: number | null;
|
|
2854
|
+
biddingFixedHourlyRate: number | null;
|
|
2855
|
+
boostingEnabled: boolean | null;
|
|
2856
|
+
boostDownToNthPlace: number | null;
|
|
2857
|
+
connectsAbovePrevious: number | null;
|
|
2858
|
+
maximumBoost: number | null;
|
|
2859
|
+
minBoost: number | null;
|
|
2860
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2861
|
+
bidConfig: {
|
|
2862
|
+
contractorName: string | null;
|
|
2863
|
+
agencyName: string | null;
|
|
2864
|
+
specialisedProfile: string | null;
|
|
2865
|
+
};
|
|
2866
|
+
}>>;
|
|
2739
2867
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
2740
2868
|
id: string | null;
|
|
2741
2869
|
title: string | null;
|
|
@@ -2754,7 +2882,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2754
2882
|
id: string;
|
|
2755
2883
|
name: string;
|
|
2756
2884
|
};
|
|
2757
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2885
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2758
2886
|
createdAt: number;
|
|
2759
2887
|
lead: {
|
|
2760
2888
|
id: string | null;
|
|
@@ -2773,7 +2901,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2773
2901
|
id: string;
|
|
2774
2902
|
name: string;
|
|
2775
2903
|
};
|
|
2776
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2904
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2777
2905
|
createdAt: number;
|
|
2778
2906
|
lead: {
|
|
2779
2907
|
id: string | null;
|
|
@@ -3289,7 +3417,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3289
3417
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3290
3418
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3291
3419
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3292
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3420
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
3293
3421
|
expenses: z.ZodObject<{
|
|
3294
3422
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3295
3423
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3716,7 +3844,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3716
3844
|
question: string;
|
|
3717
3845
|
}>, "many">>;
|
|
3718
3846
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
3719
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
3847
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
3720
3848
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3721
3849
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3722
3850
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3727,11 +3855,75 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3727
3855
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3728
3856
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3729
3857
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
3858
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
3730
3859
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3731
3860
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3732
3861
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3733
3862
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3734
3863
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3864
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
3865
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3866
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
3867
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3868
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
3869
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3870
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3871
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
3872
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
3873
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
3874
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
3875
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
3876
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
3877
|
+
bidConfig: z.ZodObject<{
|
|
3878
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
3879
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
3880
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
3881
|
+
}, "strip", z.ZodTypeAny, {
|
|
3882
|
+
contractorName: string | null;
|
|
3883
|
+
agencyName: string | null;
|
|
3884
|
+
specialisedProfile: string | null;
|
|
3885
|
+
}, {
|
|
3886
|
+
contractorName: string | null;
|
|
3887
|
+
agencyName: string | null;
|
|
3888
|
+
specialisedProfile: string | null;
|
|
3889
|
+
}>;
|
|
3890
|
+
}, "strip", z.ZodTypeAny, {
|
|
3891
|
+
appliedFromQueue: boolean | null;
|
|
3892
|
+
biddingDelayInMinutes: number | null;
|
|
3893
|
+
bidWithWarning: "bid" | "skip";
|
|
3894
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3895
|
+
biddingHourlyRatePercentage: number | null;
|
|
3896
|
+
biddingFixedHourlyRate: number | null;
|
|
3897
|
+
boostingEnabled: boolean | null;
|
|
3898
|
+
boostDownToNthPlace: number | null;
|
|
3899
|
+
connectsAbovePrevious: number | null;
|
|
3900
|
+
maximumBoost: number | null;
|
|
3901
|
+
minBoost: number | null;
|
|
3902
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3903
|
+
bidConfig: {
|
|
3904
|
+
contractorName: string | null;
|
|
3905
|
+
agencyName: string | null;
|
|
3906
|
+
specialisedProfile: string | null;
|
|
3907
|
+
};
|
|
3908
|
+
}, {
|
|
3909
|
+
appliedFromQueue: boolean | null;
|
|
3910
|
+
biddingDelayInMinutes: number | null;
|
|
3911
|
+
bidWithWarning: "bid" | "skip";
|
|
3912
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3913
|
+
biddingHourlyRatePercentage: number | null;
|
|
3914
|
+
biddingFixedHourlyRate: number | null;
|
|
3915
|
+
boostingEnabled: boolean | null;
|
|
3916
|
+
boostDownToNthPlace: number | null;
|
|
3917
|
+
connectsAbovePrevious: number | null;
|
|
3918
|
+
maximumBoost: number | null;
|
|
3919
|
+
minBoost: number | null;
|
|
3920
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3921
|
+
bidConfig: {
|
|
3922
|
+
contractorName: string | null;
|
|
3923
|
+
agencyName: string | null;
|
|
3924
|
+
specialisedProfile: string | null;
|
|
3925
|
+
};
|
|
3926
|
+
}>>;
|
|
3735
3927
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
3736
3928
|
id: string | null;
|
|
3737
3929
|
title: string | null;
|
|
@@ -4283,7 +4475,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4283
4475
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4284
4476
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4285
4477
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4286
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4478
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
4287
4479
|
expenses: z.ZodObject<{
|
|
4288
4480
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4289
4481
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4922,7 +5114,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4922
5114
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4923
5115
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4924
5116
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4925
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5117
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
4926
5118
|
expenses: z.ZodObject<{
|
|
4927
5119
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4928
5120
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5349,7 +5541,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5349
5541
|
question: string;
|
|
5350
5542
|
}>, "many">>;
|
|
5351
5543
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
5352
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
5544
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
5353
5545
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
5354
5546
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
5355
5547
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5360,11 +5552,75 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5360
5552
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
5361
5553
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
5362
5554
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5555
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
5363
5556
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
5364
5557
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
5365
5558
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
5366
5559
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
5367
5560
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
5561
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
5562
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
5563
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5564
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5565
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
5566
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5567
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5568
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
5569
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
5570
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
5571
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
5572
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
5573
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
5574
|
+
bidConfig: z.ZodObject<{
|
|
5575
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
5576
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
5577
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
5578
|
+
}, "strip", z.ZodTypeAny, {
|
|
5579
|
+
contractorName: string | null;
|
|
5580
|
+
agencyName: string | null;
|
|
5581
|
+
specialisedProfile: string | null;
|
|
5582
|
+
}, {
|
|
5583
|
+
contractorName: string | null;
|
|
5584
|
+
agencyName: string | null;
|
|
5585
|
+
specialisedProfile: string | null;
|
|
5586
|
+
}>;
|
|
5587
|
+
}, "strip", z.ZodTypeAny, {
|
|
5588
|
+
appliedFromQueue: boolean | null;
|
|
5589
|
+
biddingDelayInMinutes: number | null;
|
|
5590
|
+
bidWithWarning: "bid" | "skip";
|
|
5591
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
5592
|
+
biddingHourlyRatePercentage: number | null;
|
|
5593
|
+
biddingFixedHourlyRate: number | null;
|
|
5594
|
+
boostingEnabled: boolean | null;
|
|
5595
|
+
boostDownToNthPlace: number | null;
|
|
5596
|
+
connectsAbovePrevious: number | null;
|
|
5597
|
+
maximumBoost: number | null;
|
|
5598
|
+
minBoost: number | null;
|
|
5599
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
5600
|
+
bidConfig: {
|
|
5601
|
+
contractorName: string | null;
|
|
5602
|
+
agencyName: string | null;
|
|
5603
|
+
specialisedProfile: string | null;
|
|
5604
|
+
};
|
|
5605
|
+
}, {
|
|
5606
|
+
appliedFromQueue: boolean | null;
|
|
5607
|
+
biddingDelayInMinutes: number | null;
|
|
5608
|
+
bidWithWarning: "bid" | "skip";
|
|
5609
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
5610
|
+
biddingHourlyRatePercentage: number | null;
|
|
5611
|
+
biddingFixedHourlyRate: number | null;
|
|
5612
|
+
boostingEnabled: boolean | null;
|
|
5613
|
+
boostDownToNthPlace: number | null;
|
|
5614
|
+
connectsAbovePrevious: number | null;
|
|
5615
|
+
maximumBoost: number | null;
|
|
5616
|
+
minBoost: number | null;
|
|
5617
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
5618
|
+
bidConfig: {
|
|
5619
|
+
contractorName: string | null;
|
|
5620
|
+
agencyName: string | null;
|
|
5621
|
+
specialisedProfile: string | null;
|
|
5622
|
+
};
|
|
5623
|
+
}>>;
|
|
5368
5624
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
5369
5625
|
id: string | null;
|
|
5370
5626
|
title: string | null;
|
|
@@ -5918,7 +6174,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5918
6174
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5919
6175
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5920
6176
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5921
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6177
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
5922
6178
|
expenses: z.ZodObject<{
|
|
5923
6179
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
5924
6180
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6027,7 +6283,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6027
6283
|
creditBalance: z.ZodNumber;
|
|
6028
6284
|
}, {
|
|
6029
6285
|
type: z.ZodLiteral<"lead_status">;
|
|
6030
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
6286
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
6031
6287
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
6032
6288
|
id: z.ZodNullable<z.ZodString>;
|
|
6033
6289
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -6346,7 +6602,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6346
6602
|
question: string;
|
|
6347
6603
|
}>, "many">>;
|
|
6348
6604
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
6349
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
6605
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
6350
6606
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6351
6607
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6352
6608
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6357,11 +6613,75 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6357
6613
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6358
6614
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
6359
6615
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6616
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
6360
6617
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6361
6618
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
6362
6619
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6363
6620
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6364
6621
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6622
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
6623
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
6624
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6625
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6626
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
6627
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6628
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6629
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
6630
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
6631
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
6632
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
6633
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
6634
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
6635
|
+
bidConfig: z.ZodObject<{
|
|
6636
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
6637
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
6638
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
6639
|
+
}, "strip", z.ZodTypeAny, {
|
|
6640
|
+
contractorName: string | null;
|
|
6641
|
+
agencyName: string | null;
|
|
6642
|
+
specialisedProfile: string | null;
|
|
6643
|
+
}, {
|
|
6644
|
+
contractorName: string | null;
|
|
6645
|
+
agencyName: string | null;
|
|
6646
|
+
specialisedProfile: string | null;
|
|
6647
|
+
}>;
|
|
6648
|
+
}, "strip", z.ZodTypeAny, {
|
|
6649
|
+
appliedFromQueue: boolean | null;
|
|
6650
|
+
biddingDelayInMinutes: number | null;
|
|
6651
|
+
bidWithWarning: "bid" | "skip";
|
|
6652
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
6653
|
+
biddingHourlyRatePercentage: number | null;
|
|
6654
|
+
biddingFixedHourlyRate: number | null;
|
|
6655
|
+
boostingEnabled: boolean | null;
|
|
6656
|
+
boostDownToNthPlace: number | null;
|
|
6657
|
+
connectsAbovePrevious: number | null;
|
|
6658
|
+
maximumBoost: number | null;
|
|
6659
|
+
minBoost: number | null;
|
|
6660
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
6661
|
+
bidConfig: {
|
|
6662
|
+
contractorName: string | null;
|
|
6663
|
+
agencyName: string | null;
|
|
6664
|
+
specialisedProfile: string | null;
|
|
6665
|
+
};
|
|
6666
|
+
}, {
|
|
6667
|
+
appliedFromQueue: boolean | null;
|
|
6668
|
+
biddingDelayInMinutes: number | null;
|
|
6669
|
+
bidWithWarning: "bid" | "skip";
|
|
6670
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
6671
|
+
biddingHourlyRatePercentage: number | null;
|
|
6672
|
+
biddingFixedHourlyRate: number | null;
|
|
6673
|
+
boostingEnabled: boolean | null;
|
|
6674
|
+
boostDownToNthPlace: number | null;
|
|
6675
|
+
connectsAbovePrevious: number | null;
|
|
6676
|
+
maximumBoost: number | null;
|
|
6677
|
+
minBoost: number | null;
|
|
6678
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
6679
|
+
bidConfig: {
|
|
6680
|
+
contractorName: string | null;
|
|
6681
|
+
agencyName: string | null;
|
|
6682
|
+
specialisedProfile: string | null;
|
|
6683
|
+
};
|
|
6684
|
+
}>>;
|
|
6365
6685
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6366
6686
|
id: string | null;
|
|
6367
6687
|
title: string | null;
|
|
@@ -6380,7 +6700,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6380
6700
|
id: string;
|
|
6381
6701
|
name: string;
|
|
6382
6702
|
};
|
|
6383
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6703
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6384
6704
|
createdAt: number;
|
|
6385
6705
|
lead: {
|
|
6386
6706
|
id: string | null;
|
|
@@ -6399,7 +6719,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6399
6719
|
id: string;
|
|
6400
6720
|
name: string;
|
|
6401
6721
|
};
|
|
6402
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6722
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6403
6723
|
createdAt: number;
|
|
6404
6724
|
lead: {
|
|
6405
6725
|
id: string | null;
|
|
@@ -6914,7 +7234,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6914
7234
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6915
7235
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6916
7236
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6917
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
7237
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>, z.ZodNumber>>;
|
|
6918
7238
|
expenses: z.ZodObject<{
|
|
6919
7239
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
6920
7240
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7341,7 +7661,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7341
7661
|
question: string;
|
|
7342
7662
|
}>, "many">>;
|
|
7343
7663
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7344
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
7664
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
7345
7665
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7346
7666
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7347
7667
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7352,11 +7672,75 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7352
7672
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7353
7673
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7354
7674
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7675
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
7355
7676
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7356
7677
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7357
7678
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7358
7679
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7359
7680
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7681
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
7682
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7683
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7684
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
7685
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
7686
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
7687
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
7688
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
7689
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
7690
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
7691
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
7692
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
7693
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
7694
|
+
bidConfig: z.ZodObject<{
|
|
7695
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
7696
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
7697
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
7698
|
+
}, "strip", z.ZodTypeAny, {
|
|
7699
|
+
contractorName: string | null;
|
|
7700
|
+
agencyName: string | null;
|
|
7701
|
+
specialisedProfile: string | null;
|
|
7702
|
+
}, {
|
|
7703
|
+
contractorName: string | null;
|
|
7704
|
+
agencyName: string | null;
|
|
7705
|
+
specialisedProfile: string | null;
|
|
7706
|
+
}>;
|
|
7707
|
+
}, "strip", z.ZodTypeAny, {
|
|
7708
|
+
appliedFromQueue: boolean | null;
|
|
7709
|
+
biddingDelayInMinutes: number | null;
|
|
7710
|
+
bidWithWarning: "bid" | "skip";
|
|
7711
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
7712
|
+
biddingHourlyRatePercentage: number | null;
|
|
7713
|
+
biddingFixedHourlyRate: number | null;
|
|
7714
|
+
boostingEnabled: boolean | null;
|
|
7715
|
+
boostDownToNthPlace: number | null;
|
|
7716
|
+
connectsAbovePrevious: number | null;
|
|
7717
|
+
maximumBoost: number | null;
|
|
7718
|
+
minBoost: number | null;
|
|
7719
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
7720
|
+
bidConfig: {
|
|
7721
|
+
contractorName: string | null;
|
|
7722
|
+
agencyName: string | null;
|
|
7723
|
+
specialisedProfile: string | null;
|
|
7724
|
+
};
|
|
7725
|
+
}, {
|
|
7726
|
+
appliedFromQueue: boolean | null;
|
|
7727
|
+
biddingDelayInMinutes: number | null;
|
|
7728
|
+
bidWithWarning: "bid" | "skip";
|
|
7729
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
7730
|
+
biddingHourlyRatePercentage: number | null;
|
|
7731
|
+
biddingFixedHourlyRate: number | null;
|
|
7732
|
+
boostingEnabled: boolean | null;
|
|
7733
|
+
boostDownToNthPlace: number | null;
|
|
7734
|
+
connectsAbovePrevious: number | null;
|
|
7735
|
+
maximumBoost: number | null;
|
|
7736
|
+
minBoost: number | null;
|
|
7737
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
7738
|
+
bidConfig: {
|
|
7739
|
+
contractorName: string | null;
|
|
7740
|
+
agencyName: string | null;
|
|
7741
|
+
specialisedProfile: string | null;
|
|
7742
|
+
};
|
|
7743
|
+
}>>;
|
|
7360
7744
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7361
7745
|
id: string | null;
|
|
7362
7746
|
title: string | null;
|
|
@@ -7738,7 +8122,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7738
8122
|
question: string;
|
|
7739
8123
|
}>, "many">>;
|
|
7740
8124
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7741
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
8125
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
7742
8126
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7743
8127
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7744
8128
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7749,11 +8133,75 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7749
8133
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7750
8134
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7751
8135
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8136
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
7752
8137
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7753
8138
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7754
8139
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7755
8140
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7756
8141
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8142
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
8143
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8144
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8145
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
8146
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
8147
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
8148
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
8149
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
8150
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
8151
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
8152
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
8153
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
8154
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
8155
|
+
bidConfig: z.ZodObject<{
|
|
8156
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
8157
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
8158
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
8159
|
+
}, "strip", z.ZodTypeAny, {
|
|
8160
|
+
contractorName: string | null;
|
|
8161
|
+
agencyName: string | null;
|
|
8162
|
+
specialisedProfile: string | null;
|
|
8163
|
+
}, {
|
|
8164
|
+
contractorName: string | null;
|
|
8165
|
+
agencyName: string | null;
|
|
8166
|
+
specialisedProfile: string | null;
|
|
8167
|
+
}>;
|
|
8168
|
+
}, "strip", z.ZodTypeAny, {
|
|
8169
|
+
appliedFromQueue: boolean | null;
|
|
8170
|
+
biddingDelayInMinutes: number | null;
|
|
8171
|
+
bidWithWarning: "bid" | "skip";
|
|
8172
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8173
|
+
biddingHourlyRatePercentage: number | null;
|
|
8174
|
+
biddingFixedHourlyRate: number | null;
|
|
8175
|
+
boostingEnabled: boolean | null;
|
|
8176
|
+
boostDownToNthPlace: number | null;
|
|
8177
|
+
connectsAbovePrevious: number | null;
|
|
8178
|
+
maximumBoost: number | null;
|
|
8179
|
+
minBoost: number | null;
|
|
8180
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8181
|
+
bidConfig: {
|
|
8182
|
+
contractorName: string | null;
|
|
8183
|
+
agencyName: string | null;
|
|
8184
|
+
specialisedProfile: string | null;
|
|
8185
|
+
};
|
|
8186
|
+
}, {
|
|
8187
|
+
appliedFromQueue: boolean | null;
|
|
8188
|
+
biddingDelayInMinutes: number | null;
|
|
8189
|
+
bidWithWarning: "bid" | "skip";
|
|
8190
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8191
|
+
biddingHourlyRatePercentage: number | null;
|
|
8192
|
+
biddingFixedHourlyRate: number | null;
|
|
8193
|
+
boostingEnabled: boolean | null;
|
|
8194
|
+
boostDownToNthPlace: number | null;
|
|
8195
|
+
connectsAbovePrevious: number | null;
|
|
8196
|
+
maximumBoost: number | null;
|
|
8197
|
+
minBoost: number | null;
|
|
8198
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8199
|
+
bidConfig: {
|
|
8200
|
+
contractorName: string | null;
|
|
8201
|
+
agencyName: string | null;
|
|
8202
|
+
specialisedProfile: string | null;
|
|
8203
|
+
};
|
|
8204
|
+
}>>;
|
|
7757
8205
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7758
8206
|
id: string | null;
|
|
7759
8207
|
title: string | null;
|
|
@@ -7789,7 +8237,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7789
8237
|
creditBalance: number;
|
|
7790
8238
|
}>, z.ZodObject<{
|
|
7791
8239
|
type: z.ZodLiteral<"lead_status">;
|
|
7792
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
8240
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
|
|
7793
8241
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
7794
8242
|
id: z.ZodNullable<z.ZodString>;
|
|
7795
8243
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -8108,7 +8556,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8108
8556
|
question: string;
|
|
8109
8557
|
}>, "many">>;
|
|
8110
8558
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
8111
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
8559
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
8112
8560
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
8113
8561
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
8114
8562
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8119,11 +8567,75 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8119
8567
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8120
8568
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8121
8569
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8570
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
8122
8571
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8123
8572
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8124
8573
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8125
8574
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8126
8575
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8576
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
8577
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8578
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8579
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
8580
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
8581
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
8582
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
8583
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
8584
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
8585
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
8586
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
8587
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
8588
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
8589
|
+
bidConfig: z.ZodObject<{
|
|
8590
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
8591
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
8592
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
8593
|
+
}, "strip", z.ZodTypeAny, {
|
|
8594
|
+
contractorName: string | null;
|
|
8595
|
+
agencyName: string | null;
|
|
8596
|
+
specialisedProfile: string | null;
|
|
8597
|
+
}, {
|
|
8598
|
+
contractorName: string | null;
|
|
8599
|
+
agencyName: string | null;
|
|
8600
|
+
specialisedProfile: string | null;
|
|
8601
|
+
}>;
|
|
8602
|
+
}, "strip", z.ZodTypeAny, {
|
|
8603
|
+
appliedFromQueue: boolean | null;
|
|
8604
|
+
biddingDelayInMinutes: number | null;
|
|
8605
|
+
bidWithWarning: "bid" | "skip";
|
|
8606
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8607
|
+
biddingHourlyRatePercentage: number | null;
|
|
8608
|
+
biddingFixedHourlyRate: number | null;
|
|
8609
|
+
boostingEnabled: boolean | null;
|
|
8610
|
+
boostDownToNthPlace: number | null;
|
|
8611
|
+
connectsAbovePrevious: number | null;
|
|
8612
|
+
maximumBoost: number | null;
|
|
8613
|
+
minBoost: number | null;
|
|
8614
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8615
|
+
bidConfig: {
|
|
8616
|
+
contractorName: string | null;
|
|
8617
|
+
agencyName: string | null;
|
|
8618
|
+
specialisedProfile: string | null;
|
|
8619
|
+
};
|
|
8620
|
+
}, {
|
|
8621
|
+
appliedFromQueue: boolean | null;
|
|
8622
|
+
biddingDelayInMinutes: number | null;
|
|
8623
|
+
bidWithWarning: "bid" | "skip";
|
|
8624
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8625
|
+
biddingHourlyRatePercentage: number | null;
|
|
8626
|
+
biddingFixedHourlyRate: number | null;
|
|
8627
|
+
boostingEnabled: boolean | null;
|
|
8628
|
+
boostDownToNthPlace: number | null;
|
|
8629
|
+
connectsAbovePrevious: number | null;
|
|
8630
|
+
maximumBoost: number | null;
|
|
8631
|
+
minBoost: number | null;
|
|
8632
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8633
|
+
bidConfig: {
|
|
8634
|
+
contractorName: string | null;
|
|
8635
|
+
agencyName: string | null;
|
|
8636
|
+
specialisedProfile: string | null;
|
|
8637
|
+
};
|
|
8638
|
+
}>>;
|
|
8127
8639
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8128
8640
|
id: string | null;
|
|
8129
8641
|
title: string | null;
|
|
@@ -8138,7 +8650,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8138
8650
|
creditBalance: z.ZodNumber;
|
|
8139
8651
|
}, "strip", z.ZodTypeAny, {
|
|
8140
8652
|
type: "lead_status";
|
|
8141
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8653
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8142
8654
|
lead: {
|
|
8143
8655
|
id: string | null;
|
|
8144
8656
|
title: string | null;
|
|
@@ -8148,7 +8660,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8148
8660
|
creditBalance: number;
|
|
8149
8661
|
}, {
|
|
8150
8662
|
type: "lead_status";
|
|
8151
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8663
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8152
8664
|
lead: {
|
|
8153
8665
|
id: string | null;
|
|
8154
8666
|
title: string | null;
|
|
@@ -8476,7 +8988,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8476
8988
|
question: string;
|
|
8477
8989
|
}>, "many">>;
|
|
8478
8990
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
8479
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
8991
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>>;
|
|
8480
8992
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
8481
8993
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
8482
8994
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8487,11 +8999,75 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8487
8999
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8488
9000
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8489
9001
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
9002
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
8490
9003
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8491
9004
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8492
9005
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8493
9006
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8494
9007
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
9008
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
9009
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
9010
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
9011
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
9012
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
9013
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
9014
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
9015
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
9016
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
9017
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
9018
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
9019
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
9020
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
9021
|
+
bidConfig: z.ZodObject<{
|
|
9022
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
9023
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
9024
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
9025
|
+
}, "strip", z.ZodTypeAny, {
|
|
9026
|
+
contractorName: string | null;
|
|
9027
|
+
agencyName: string | null;
|
|
9028
|
+
specialisedProfile: string | null;
|
|
9029
|
+
}, {
|
|
9030
|
+
contractorName: string | null;
|
|
9031
|
+
agencyName: string | null;
|
|
9032
|
+
specialisedProfile: string | null;
|
|
9033
|
+
}>;
|
|
9034
|
+
}, "strip", z.ZodTypeAny, {
|
|
9035
|
+
appliedFromQueue: boolean | null;
|
|
9036
|
+
biddingDelayInMinutes: number | null;
|
|
9037
|
+
bidWithWarning: "bid" | "skip";
|
|
9038
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
9039
|
+
biddingHourlyRatePercentage: number | null;
|
|
9040
|
+
biddingFixedHourlyRate: number | null;
|
|
9041
|
+
boostingEnabled: boolean | null;
|
|
9042
|
+
boostDownToNthPlace: number | null;
|
|
9043
|
+
connectsAbovePrevious: number | null;
|
|
9044
|
+
maximumBoost: number | null;
|
|
9045
|
+
minBoost: number | null;
|
|
9046
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
9047
|
+
bidConfig: {
|
|
9048
|
+
contractorName: string | null;
|
|
9049
|
+
agencyName: string | null;
|
|
9050
|
+
specialisedProfile: string | null;
|
|
9051
|
+
};
|
|
9052
|
+
}, {
|
|
9053
|
+
appliedFromQueue: boolean | null;
|
|
9054
|
+
biddingDelayInMinutes: number | null;
|
|
9055
|
+
bidWithWarning: "bid" | "skip";
|
|
9056
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
9057
|
+
biddingHourlyRatePercentage: number | null;
|
|
9058
|
+
biddingFixedHourlyRate: number | null;
|
|
9059
|
+
boostingEnabled: boolean | null;
|
|
9060
|
+
boostDownToNthPlace: number | null;
|
|
9061
|
+
connectsAbovePrevious: number | null;
|
|
9062
|
+
maximumBoost: number | null;
|
|
9063
|
+
minBoost: number | null;
|
|
9064
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
9065
|
+
bidConfig: {
|
|
9066
|
+
contractorName: string | null;
|
|
9067
|
+
agencyName: string | null;
|
|
9068
|
+
specialisedProfile: string | null;
|
|
9069
|
+
};
|
|
9070
|
+
}>>;
|
|
8495
9071
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8496
9072
|
id: string | null;
|
|
8497
9073
|
title: string | null;
|
|
@@ -8526,15 +9102,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8526
9102
|
export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
8527
9103
|
organizationId: z.ZodString;
|
|
8528
9104
|
campaignId: z.ZodString;
|
|
8529
|
-
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "boostAboveMaxConnects", "dailyLimitReached", "privateJob", "insufficientConnects", "noLongerAvailable", "rejected", "alreadyBiddedOn", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
9105
|
+
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "boostAboveMaxConnects", "dailyLimitReached", "privateJob", "insufficientConnects", "noLongerAvailable", "rejected", "alreadyBiddedOn", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount", "biddingProcessing"]>, "many">;
|
|
8530
9106
|
}, "strip", z.ZodTypeAny, {
|
|
8531
9107
|
campaignId: string;
|
|
8532
9108
|
organizationId: string;
|
|
8533
|
-
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
9109
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8534
9110
|
}, {
|
|
8535
9111
|
campaignId: string;
|
|
8536
9112
|
organizationId: string;
|
|
8537
|
-
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
9113
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8538
9114
|
}>;
|
|
8539
9115
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
8540
9116
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|