lancer-shared 1.2.261 → 1.2.263
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 +40 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +41 -3
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +165 -13
- package/dist/schemas/bidder/bid.d.ts +1680 -255
- package/dist/schemas/campaign/campaign-analytics.d.ts +614 -29
- package/dist/schemas/campaign/campaign.d.ts +120 -120
- package/dist/schemas/lead/index.d.ts +664 -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 +229 -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", "biddingFailed", "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", "biddingFailed", "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", "biddingFailed", "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,76 @@ 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>;
|
|
1737
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
1736
1738
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1737
1739
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1738
1740
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1739
1741
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1740
1742
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1743
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
1744
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1745
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1746
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1747
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
1748
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1749
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1750
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
1751
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1752
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1753
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1754
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
1755
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
1756
|
+
bidConfig: z.ZodObject<{
|
|
1757
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1758
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1759
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1760
|
+
}, "strip", z.ZodTypeAny, {
|
|
1761
|
+
contractorName: string | null;
|
|
1762
|
+
agencyName: string | null;
|
|
1763
|
+
specialisedProfile: string | null;
|
|
1764
|
+
}, {
|
|
1765
|
+
contractorName: string | null;
|
|
1766
|
+
agencyName: string | null;
|
|
1767
|
+
specialisedProfile: string | null;
|
|
1768
|
+
}>;
|
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
|
1770
|
+
appliedFromQueue: boolean | null;
|
|
1771
|
+
biddingDelayInMinutes: number | null;
|
|
1772
|
+
bidWithWarning: "bid" | "skip";
|
|
1773
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1774
|
+
biddingHourlyRatePercentage: number | null;
|
|
1775
|
+
biddingFixedHourlyRate: number | null;
|
|
1776
|
+
boostingEnabled: boolean | null;
|
|
1777
|
+
boostDownToNthPlace: number | null;
|
|
1778
|
+
connectsAbovePrevious: number | null;
|
|
1779
|
+
maximumBoost: number | null;
|
|
1780
|
+
minBoost: number | null;
|
|
1781
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1782
|
+
bidConfig: {
|
|
1783
|
+
contractorName: string | null;
|
|
1784
|
+
agencyName: string | null;
|
|
1785
|
+
specialisedProfile: string | null;
|
|
1786
|
+
};
|
|
1787
|
+
}, {
|
|
1788
|
+
appliedFromQueue: boolean | null;
|
|
1789
|
+
biddingDelayInMinutes: number | null;
|
|
1790
|
+
bidWithWarning: "bid" | "skip";
|
|
1791
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1792
|
+
biddingHourlyRatePercentage: number | null;
|
|
1793
|
+
biddingFixedHourlyRate: number | null;
|
|
1794
|
+
boostingEnabled: boolean | null;
|
|
1795
|
+
boostDownToNthPlace: number | null;
|
|
1796
|
+
connectsAbovePrevious: number | null;
|
|
1797
|
+
maximumBoost: number | null;
|
|
1798
|
+
minBoost: number | null;
|
|
1799
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1800
|
+
bidConfig: {
|
|
1801
|
+
contractorName: string | null;
|
|
1802
|
+
agencyName: string | null;
|
|
1803
|
+
specialisedProfile: string | null;
|
|
1804
|
+
};
|
|
1805
|
+
}>>;
|
|
1741
1806
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
1742
1807
|
id: string | null;
|
|
1743
1808
|
title: string | null;
|
|
@@ -2292,7 +2357,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2292
2357
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2293
2358
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2294
2359
|
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>>;
|
|
2360
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
2296
2361
|
expenses: z.ZodObject<{
|
|
2297
2362
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
2298
2363
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2401,7 +2466,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2401
2466
|
creditBalance: z.ZodNumber;
|
|
2402
2467
|
}, {
|
|
2403
2468
|
type: z.ZodLiteral<"lead_status">;
|
|
2404
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
2469
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
2405
2470
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
2406
2471
|
id: z.ZodNullable<z.ZodString>;
|
|
2407
2472
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -2720,7 +2785,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2720
2785
|
question: string;
|
|
2721
2786
|
}>, "many">>;
|
|
2722
2787
|
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"]>>;
|
|
2788
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
2724
2789
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2725
2790
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2726
2791
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2731,11 +2796,76 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2731
2796
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2732
2797
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2733
2798
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2799
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
2800
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
2734
2801
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2735
2802
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2736
2803
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2737
2804
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2738
2805
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2806
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
2807
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
2808
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2809
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2810
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
2811
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2812
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2813
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
2814
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
2815
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
2816
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
2817
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
2818
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
2819
|
+
bidConfig: z.ZodObject<{
|
|
2820
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
2821
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
2822
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
|
2824
|
+
contractorName: string | null;
|
|
2825
|
+
agencyName: string | null;
|
|
2826
|
+
specialisedProfile: string | null;
|
|
2827
|
+
}, {
|
|
2828
|
+
contractorName: string | null;
|
|
2829
|
+
agencyName: string | null;
|
|
2830
|
+
specialisedProfile: string | null;
|
|
2831
|
+
}>;
|
|
2832
|
+
}, "strip", z.ZodTypeAny, {
|
|
2833
|
+
appliedFromQueue: boolean | null;
|
|
2834
|
+
biddingDelayInMinutes: number | null;
|
|
2835
|
+
bidWithWarning: "bid" | "skip";
|
|
2836
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2837
|
+
biddingHourlyRatePercentage: number | null;
|
|
2838
|
+
biddingFixedHourlyRate: number | null;
|
|
2839
|
+
boostingEnabled: boolean | null;
|
|
2840
|
+
boostDownToNthPlace: number | null;
|
|
2841
|
+
connectsAbovePrevious: number | null;
|
|
2842
|
+
maximumBoost: number | null;
|
|
2843
|
+
minBoost: number | null;
|
|
2844
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2845
|
+
bidConfig: {
|
|
2846
|
+
contractorName: string | null;
|
|
2847
|
+
agencyName: string | null;
|
|
2848
|
+
specialisedProfile: string | null;
|
|
2849
|
+
};
|
|
2850
|
+
}, {
|
|
2851
|
+
appliedFromQueue: boolean | null;
|
|
2852
|
+
biddingDelayInMinutes: number | null;
|
|
2853
|
+
bidWithWarning: "bid" | "skip";
|
|
2854
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2855
|
+
biddingHourlyRatePercentage: number | null;
|
|
2856
|
+
biddingFixedHourlyRate: number | null;
|
|
2857
|
+
boostingEnabled: boolean | null;
|
|
2858
|
+
boostDownToNthPlace: number | null;
|
|
2859
|
+
connectsAbovePrevious: number | null;
|
|
2860
|
+
maximumBoost: number | null;
|
|
2861
|
+
minBoost: number | null;
|
|
2862
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2863
|
+
bidConfig: {
|
|
2864
|
+
contractorName: string | null;
|
|
2865
|
+
agencyName: string | null;
|
|
2866
|
+
specialisedProfile: string | null;
|
|
2867
|
+
};
|
|
2868
|
+
}>>;
|
|
2739
2869
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
2740
2870
|
id: string | null;
|
|
2741
2871
|
title: string | null;
|
|
@@ -2754,7 +2884,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2754
2884
|
id: string;
|
|
2755
2885
|
name: string;
|
|
2756
2886
|
};
|
|
2757
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2887
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2758
2888
|
createdAt: number;
|
|
2759
2889
|
lead: {
|
|
2760
2890
|
id: string | null;
|
|
@@ -2773,7 +2903,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2773
2903
|
id: string;
|
|
2774
2904
|
name: string;
|
|
2775
2905
|
};
|
|
2776
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2906
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
2777
2907
|
createdAt: number;
|
|
2778
2908
|
lead: {
|
|
2779
2909
|
id: string | null;
|
|
@@ -3289,7 +3419,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3289
3419
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3290
3420
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3291
3421
|
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>>;
|
|
3422
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
3293
3423
|
expenses: z.ZodObject<{
|
|
3294
3424
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3295
3425
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3716,7 +3846,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3716
3846
|
question: string;
|
|
3717
3847
|
}>, "many">>;
|
|
3718
3848
|
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"]>>;
|
|
3849
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
3720
3850
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3721
3851
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3722
3852
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3727,11 +3857,76 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3727
3857
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3728
3858
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3729
3859
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
3860
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
3861
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
3730
3862
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3731
3863
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3732
3864
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3733
3865
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3734
3866
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3867
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
3868
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
3869
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
3870
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3871
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
3872
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3873
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3874
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
3875
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
3876
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
3877
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
3878
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
3879
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
3880
|
+
bidConfig: z.ZodObject<{
|
|
3881
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
3882
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
3883
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
3884
|
+
}, "strip", z.ZodTypeAny, {
|
|
3885
|
+
contractorName: string | null;
|
|
3886
|
+
agencyName: string | null;
|
|
3887
|
+
specialisedProfile: string | null;
|
|
3888
|
+
}, {
|
|
3889
|
+
contractorName: string | null;
|
|
3890
|
+
agencyName: string | null;
|
|
3891
|
+
specialisedProfile: string | null;
|
|
3892
|
+
}>;
|
|
3893
|
+
}, "strip", z.ZodTypeAny, {
|
|
3894
|
+
appliedFromQueue: boolean | null;
|
|
3895
|
+
biddingDelayInMinutes: number | null;
|
|
3896
|
+
bidWithWarning: "bid" | "skip";
|
|
3897
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3898
|
+
biddingHourlyRatePercentage: number | null;
|
|
3899
|
+
biddingFixedHourlyRate: number | null;
|
|
3900
|
+
boostingEnabled: boolean | null;
|
|
3901
|
+
boostDownToNthPlace: number | null;
|
|
3902
|
+
connectsAbovePrevious: number | null;
|
|
3903
|
+
maximumBoost: number | null;
|
|
3904
|
+
minBoost: number | null;
|
|
3905
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3906
|
+
bidConfig: {
|
|
3907
|
+
contractorName: string | null;
|
|
3908
|
+
agencyName: string | null;
|
|
3909
|
+
specialisedProfile: string | null;
|
|
3910
|
+
};
|
|
3911
|
+
}, {
|
|
3912
|
+
appliedFromQueue: boolean | null;
|
|
3913
|
+
biddingDelayInMinutes: number | null;
|
|
3914
|
+
bidWithWarning: "bid" | "skip";
|
|
3915
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
3916
|
+
biddingHourlyRatePercentage: number | null;
|
|
3917
|
+
biddingFixedHourlyRate: number | null;
|
|
3918
|
+
boostingEnabled: boolean | null;
|
|
3919
|
+
boostDownToNthPlace: number | null;
|
|
3920
|
+
connectsAbovePrevious: number | null;
|
|
3921
|
+
maximumBoost: number | null;
|
|
3922
|
+
minBoost: number | null;
|
|
3923
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
3924
|
+
bidConfig: {
|
|
3925
|
+
contractorName: string | null;
|
|
3926
|
+
agencyName: string | null;
|
|
3927
|
+
specialisedProfile: string | null;
|
|
3928
|
+
};
|
|
3929
|
+
}>>;
|
|
3735
3930
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
3736
3931
|
id: string | null;
|
|
3737
3932
|
title: string | null;
|
|
@@ -4283,7 +4478,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4283
4478
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4284
4479
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4285
4480
|
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>>;
|
|
4481
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
4287
4482
|
expenses: z.ZodObject<{
|
|
4288
4483
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4289
4484
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4922,7 +5117,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4922
5117
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4923
5118
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4924
5119
|
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>>;
|
|
5120
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
4926
5121
|
expenses: z.ZodObject<{
|
|
4927
5122
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4928
5123
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5349,7 +5544,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5349
5544
|
question: string;
|
|
5350
5545
|
}>, "many">>;
|
|
5351
5546
|
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"]>>;
|
|
5547
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
5353
5548
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
5354
5549
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
5355
5550
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5360,11 +5555,76 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5360
5555
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
5361
5556
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
5362
5557
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5558
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
5559
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
5363
5560
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
5364
5561
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
5365
5562
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
5366
5563
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
5367
5564
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
5565
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
5566
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
5567
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
5568
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5569
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
5570
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5571
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5572
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
5573
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
5574
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
5575
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
5576
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
5577
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
5578
|
+
bidConfig: z.ZodObject<{
|
|
5579
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
5580
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
5581
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
5582
|
+
}, "strip", z.ZodTypeAny, {
|
|
5583
|
+
contractorName: string | null;
|
|
5584
|
+
agencyName: string | null;
|
|
5585
|
+
specialisedProfile: string | null;
|
|
5586
|
+
}, {
|
|
5587
|
+
contractorName: string | null;
|
|
5588
|
+
agencyName: string | null;
|
|
5589
|
+
specialisedProfile: string | null;
|
|
5590
|
+
}>;
|
|
5591
|
+
}, "strip", z.ZodTypeAny, {
|
|
5592
|
+
appliedFromQueue: boolean | null;
|
|
5593
|
+
biddingDelayInMinutes: number | null;
|
|
5594
|
+
bidWithWarning: "bid" | "skip";
|
|
5595
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
5596
|
+
biddingHourlyRatePercentage: number | null;
|
|
5597
|
+
biddingFixedHourlyRate: number | null;
|
|
5598
|
+
boostingEnabled: boolean | null;
|
|
5599
|
+
boostDownToNthPlace: number | null;
|
|
5600
|
+
connectsAbovePrevious: number | null;
|
|
5601
|
+
maximumBoost: number | null;
|
|
5602
|
+
minBoost: number | null;
|
|
5603
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
5604
|
+
bidConfig: {
|
|
5605
|
+
contractorName: string | null;
|
|
5606
|
+
agencyName: string | null;
|
|
5607
|
+
specialisedProfile: string | null;
|
|
5608
|
+
};
|
|
5609
|
+
}, {
|
|
5610
|
+
appliedFromQueue: boolean | null;
|
|
5611
|
+
biddingDelayInMinutes: number | null;
|
|
5612
|
+
bidWithWarning: "bid" | "skip";
|
|
5613
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
5614
|
+
biddingHourlyRatePercentage: number | null;
|
|
5615
|
+
biddingFixedHourlyRate: number | null;
|
|
5616
|
+
boostingEnabled: boolean | null;
|
|
5617
|
+
boostDownToNthPlace: number | null;
|
|
5618
|
+
connectsAbovePrevious: number | null;
|
|
5619
|
+
maximumBoost: number | null;
|
|
5620
|
+
minBoost: number | null;
|
|
5621
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
5622
|
+
bidConfig: {
|
|
5623
|
+
contractorName: string | null;
|
|
5624
|
+
agencyName: string | null;
|
|
5625
|
+
specialisedProfile: string | null;
|
|
5626
|
+
};
|
|
5627
|
+
}>>;
|
|
5368
5628
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
5369
5629
|
id: string | null;
|
|
5370
5630
|
title: string | null;
|
|
@@ -5918,7 +6178,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5918
6178
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5919
6179
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5920
6180
|
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>>;
|
|
6181
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
5922
6182
|
expenses: z.ZodObject<{
|
|
5923
6183
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
5924
6184
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6027,7 +6287,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6027
6287
|
creditBalance: z.ZodNumber;
|
|
6028
6288
|
}, {
|
|
6029
6289
|
type: z.ZodLiteral<"lead_status">;
|
|
6030
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
6290
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
6031
6291
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
6032
6292
|
id: z.ZodNullable<z.ZodString>;
|
|
6033
6293
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -6346,7 +6606,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6346
6606
|
question: string;
|
|
6347
6607
|
}>, "many">>;
|
|
6348
6608
|
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"]>>;
|
|
6609
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
6350
6610
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6351
6611
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6352
6612
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6357,11 +6617,76 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6357
6617
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6358
6618
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
6359
6619
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6620
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
6621
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
6360
6622
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6361
6623
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
6362
6624
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6363
6625
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6364
6626
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6627
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
6628
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
6629
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6630
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6631
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
6632
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6633
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6634
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
6635
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
6636
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
6637
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
6638
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
6639
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
6640
|
+
bidConfig: z.ZodObject<{
|
|
6641
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
6642
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
6643
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
6644
|
+
}, "strip", z.ZodTypeAny, {
|
|
6645
|
+
contractorName: string | null;
|
|
6646
|
+
agencyName: string | null;
|
|
6647
|
+
specialisedProfile: string | null;
|
|
6648
|
+
}, {
|
|
6649
|
+
contractorName: string | null;
|
|
6650
|
+
agencyName: string | null;
|
|
6651
|
+
specialisedProfile: string | null;
|
|
6652
|
+
}>;
|
|
6653
|
+
}, "strip", z.ZodTypeAny, {
|
|
6654
|
+
appliedFromQueue: boolean | null;
|
|
6655
|
+
biddingDelayInMinutes: number | null;
|
|
6656
|
+
bidWithWarning: "bid" | "skip";
|
|
6657
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
6658
|
+
biddingHourlyRatePercentage: number | null;
|
|
6659
|
+
biddingFixedHourlyRate: number | null;
|
|
6660
|
+
boostingEnabled: boolean | null;
|
|
6661
|
+
boostDownToNthPlace: number | null;
|
|
6662
|
+
connectsAbovePrevious: number | null;
|
|
6663
|
+
maximumBoost: number | null;
|
|
6664
|
+
minBoost: number | null;
|
|
6665
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
6666
|
+
bidConfig: {
|
|
6667
|
+
contractorName: string | null;
|
|
6668
|
+
agencyName: string | null;
|
|
6669
|
+
specialisedProfile: string | null;
|
|
6670
|
+
};
|
|
6671
|
+
}, {
|
|
6672
|
+
appliedFromQueue: boolean | null;
|
|
6673
|
+
biddingDelayInMinutes: number | null;
|
|
6674
|
+
bidWithWarning: "bid" | "skip";
|
|
6675
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
6676
|
+
biddingHourlyRatePercentage: number | null;
|
|
6677
|
+
biddingFixedHourlyRate: number | null;
|
|
6678
|
+
boostingEnabled: boolean | null;
|
|
6679
|
+
boostDownToNthPlace: number | null;
|
|
6680
|
+
connectsAbovePrevious: number | null;
|
|
6681
|
+
maximumBoost: number | null;
|
|
6682
|
+
minBoost: number | null;
|
|
6683
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
6684
|
+
bidConfig: {
|
|
6685
|
+
contractorName: string | null;
|
|
6686
|
+
agencyName: string | null;
|
|
6687
|
+
specialisedProfile: string | null;
|
|
6688
|
+
};
|
|
6689
|
+
}>>;
|
|
6365
6690
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6366
6691
|
id: string | null;
|
|
6367
6692
|
title: string | null;
|
|
@@ -6380,7 +6705,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6380
6705
|
id: string;
|
|
6381
6706
|
name: string;
|
|
6382
6707
|
};
|
|
6383
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6708
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6384
6709
|
createdAt: number;
|
|
6385
6710
|
lead: {
|
|
6386
6711
|
id: string | null;
|
|
@@ -6399,7 +6724,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6399
6724
|
id: string;
|
|
6400
6725
|
name: string;
|
|
6401
6726
|
};
|
|
6402
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6727
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
6403
6728
|
createdAt: number;
|
|
6404
6729
|
lead: {
|
|
6405
6730
|
id: string | null;
|
|
@@ -6914,7 +7239,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6914
7239
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6915
7240
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6916
7241
|
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>>;
|
|
7242
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>, z.ZodNumber>>;
|
|
6918
7243
|
expenses: z.ZodObject<{
|
|
6919
7244
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
6920
7245
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7341,7 +7666,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7341
7666
|
question: string;
|
|
7342
7667
|
}>, "many">>;
|
|
7343
7668
|
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"]>>;
|
|
7669
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
7345
7670
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7346
7671
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7347
7672
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7352,11 +7677,76 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7352
7677
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7353
7678
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7354
7679
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7680
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
7681
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
7355
7682
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7356
7683
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7357
7684
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7358
7685
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7359
7686
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7687
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
7688
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7689
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
7690
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
7691
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
7692
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
7693
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
7694
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
7695
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
7696
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
7697
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
7698
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
7699
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
7700
|
+
bidConfig: z.ZodObject<{
|
|
7701
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
7702
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
7703
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
7704
|
+
}, "strip", z.ZodTypeAny, {
|
|
7705
|
+
contractorName: string | null;
|
|
7706
|
+
agencyName: string | null;
|
|
7707
|
+
specialisedProfile: string | null;
|
|
7708
|
+
}, {
|
|
7709
|
+
contractorName: string | null;
|
|
7710
|
+
agencyName: string | null;
|
|
7711
|
+
specialisedProfile: string | null;
|
|
7712
|
+
}>;
|
|
7713
|
+
}, "strip", z.ZodTypeAny, {
|
|
7714
|
+
appliedFromQueue: boolean | null;
|
|
7715
|
+
biddingDelayInMinutes: number | null;
|
|
7716
|
+
bidWithWarning: "bid" | "skip";
|
|
7717
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
7718
|
+
biddingHourlyRatePercentage: number | null;
|
|
7719
|
+
biddingFixedHourlyRate: number | null;
|
|
7720
|
+
boostingEnabled: boolean | null;
|
|
7721
|
+
boostDownToNthPlace: number | null;
|
|
7722
|
+
connectsAbovePrevious: number | null;
|
|
7723
|
+
maximumBoost: number | null;
|
|
7724
|
+
minBoost: number | null;
|
|
7725
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
7726
|
+
bidConfig: {
|
|
7727
|
+
contractorName: string | null;
|
|
7728
|
+
agencyName: string | null;
|
|
7729
|
+
specialisedProfile: string | null;
|
|
7730
|
+
};
|
|
7731
|
+
}, {
|
|
7732
|
+
appliedFromQueue: boolean | null;
|
|
7733
|
+
biddingDelayInMinutes: number | null;
|
|
7734
|
+
bidWithWarning: "bid" | "skip";
|
|
7735
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
7736
|
+
biddingHourlyRatePercentage: number | null;
|
|
7737
|
+
biddingFixedHourlyRate: number | null;
|
|
7738
|
+
boostingEnabled: boolean | null;
|
|
7739
|
+
boostDownToNthPlace: number | null;
|
|
7740
|
+
connectsAbovePrevious: number | null;
|
|
7741
|
+
maximumBoost: number | null;
|
|
7742
|
+
minBoost: number | null;
|
|
7743
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
7744
|
+
bidConfig: {
|
|
7745
|
+
contractorName: string | null;
|
|
7746
|
+
agencyName: string | null;
|
|
7747
|
+
specialisedProfile: string | null;
|
|
7748
|
+
};
|
|
7749
|
+
}>>;
|
|
7360
7750
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7361
7751
|
id: string | null;
|
|
7362
7752
|
title: string | null;
|
|
@@ -7738,7 +8128,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7738
8128
|
question: string;
|
|
7739
8129
|
}>, "many">>;
|
|
7740
8130
|
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"]>>;
|
|
8131
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
7742
8132
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7743
8133
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7744
8134
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7749,11 +8139,76 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7749
8139
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7750
8140
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
7751
8141
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8142
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
8143
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
7752
8144
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7753
8145
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
7754
8146
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7755
8147
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7756
8148
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8149
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
8150
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8151
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8152
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
8153
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
8154
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
8155
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
8156
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
8157
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
8158
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
8159
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
8160
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
8161
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
8162
|
+
bidConfig: z.ZodObject<{
|
|
8163
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
8164
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
8165
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
8166
|
+
}, "strip", z.ZodTypeAny, {
|
|
8167
|
+
contractorName: string | null;
|
|
8168
|
+
agencyName: string | null;
|
|
8169
|
+
specialisedProfile: string | null;
|
|
8170
|
+
}, {
|
|
8171
|
+
contractorName: string | null;
|
|
8172
|
+
agencyName: string | null;
|
|
8173
|
+
specialisedProfile: string | null;
|
|
8174
|
+
}>;
|
|
8175
|
+
}, "strip", z.ZodTypeAny, {
|
|
8176
|
+
appliedFromQueue: boolean | null;
|
|
8177
|
+
biddingDelayInMinutes: number | null;
|
|
8178
|
+
bidWithWarning: "bid" | "skip";
|
|
8179
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8180
|
+
biddingHourlyRatePercentage: number | null;
|
|
8181
|
+
biddingFixedHourlyRate: number | null;
|
|
8182
|
+
boostingEnabled: boolean | null;
|
|
8183
|
+
boostDownToNthPlace: number | null;
|
|
8184
|
+
connectsAbovePrevious: number | null;
|
|
8185
|
+
maximumBoost: number | null;
|
|
8186
|
+
minBoost: number | null;
|
|
8187
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8188
|
+
bidConfig: {
|
|
8189
|
+
contractorName: string | null;
|
|
8190
|
+
agencyName: string | null;
|
|
8191
|
+
specialisedProfile: string | null;
|
|
8192
|
+
};
|
|
8193
|
+
}, {
|
|
8194
|
+
appliedFromQueue: boolean | null;
|
|
8195
|
+
biddingDelayInMinutes: number | null;
|
|
8196
|
+
bidWithWarning: "bid" | "skip";
|
|
8197
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8198
|
+
biddingHourlyRatePercentage: number | null;
|
|
8199
|
+
biddingFixedHourlyRate: number | null;
|
|
8200
|
+
boostingEnabled: boolean | null;
|
|
8201
|
+
boostDownToNthPlace: number | null;
|
|
8202
|
+
connectsAbovePrevious: number | null;
|
|
8203
|
+
maximumBoost: number | null;
|
|
8204
|
+
minBoost: number | null;
|
|
8205
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8206
|
+
bidConfig: {
|
|
8207
|
+
contractorName: string | null;
|
|
8208
|
+
agencyName: string | null;
|
|
8209
|
+
specialisedProfile: string | null;
|
|
8210
|
+
};
|
|
8211
|
+
}>>;
|
|
7757
8212
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7758
8213
|
id: string | null;
|
|
7759
8214
|
title: string | null;
|
|
@@ -7789,7 +8244,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7789
8244
|
creditBalance: number;
|
|
7790
8245
|
}>, z.ZodObject<{
|
|
7791
8246
|
type: z.ZodLiteral<"lead_status">;
|
|
7792
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
|
|
8247
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>;
|
|
7793
8248
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
7794
8249
|
id: z.ZodNullable<z.ZodString>;
|
|
7795
8250
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -8108,7 +8563,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8108
8563
|
question: string;
|
|
8109
8564
|
}>, "many">>;
|
|
8110
8565
|
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"]>>;
|
|
8566
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
8112
8567
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
8113
8568
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
8114
8569
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8119,11 +8574,76 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8119
8574
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8120
8575
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8121
8576
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8577
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
8578
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
8122
8579
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8123
8580
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8124
8581
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8125
8582
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8126
8583
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8584
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
8585
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8586
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
8587
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
8588
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
8589
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
8590
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
8591
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
8592
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
8593
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
8594
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
8595
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
8596
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
8597
|
+
bidConfig: z.ZodObject<{
|
|
8598
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
8599
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
8600
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
8601
|
+
}, "strip", z.ZodTypeAny, {
|
|
8602
|
+
contractorName: string | null;
|
|
8603
|
+
agencyName: string | null;
|
|
8604
|
+
specialisedProfile: string | null;
|
|
8605
|
+
}, {
|
|
8606
|
+
contractorName: string | null;
|
|
8607
|
+
agencyName: string | null;
|
|
8608
|
+
specialisedProfile: string | null;
|
|
8609
|
+
}>;
|
|
8610
|
+
}, "strip", z.ZodTypeAny, {
|
|
8611
|
+
appliedFromQueue: boolean | null;
|
|
8612
|
+
biddingDelayInMinutes: number | null;
|
|
8613
|
+
bidWithWarning: "bid" | "skip";
|
|
8614
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8615
|
+
biddingHourlyRatePercentage: number | null;
|
|
8616
|
+
biddingFixedHourlyRate: number | null;
|
|
8617
|
+
boostingEnabled: boolean | null;
|
|
8618
|
+
boostDownToNthPlace: number | null;
|
|
8619
|
+
connectsAbovePrevious: number | null;
|
|
8620
|
+
maximumBoost: number | null;
|
|
8621
|
+
minBoost: number | null;
|
|
8622
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8623
|
+
bidConfig: {
|
|
8624
|
+
contractorName: string | null;
|
|
8625
|
+
agencyName: string | null;
|
|
8626
|
+
specialisedProfile: string | null;
|
|
8627
|
+
};
|
|
8628
|
+
}, {
|
|
8629
|
+
appliedFromQueue: boolean | null;
|
|
8630
|
+
biddingDelayInMinutes: number | null;
|
|
8631
|
+
bidWithWarning: "bid" | "skip";
|
|
8632
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
8633
|
+
biddingHourlyRatePercentage: number | null;
|
|
8634
|
+
biddingFixedHourlyRate: number | null;
|
|
8635
|
+
boostingEnabled: boolean | null;
|
|
8636
|
+
boostDownToNthPlace: number | null;
|
|
8637
|
+
connectsAbovePrevious: number | null;
|
|
8638
|
+
maximumBoost: number | null;
|
|
8639
|
+
minBoost: number | null;
|
|
8640
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
8641
|
+
bidConfig: {
|
|
8642
|
+
contractorName: string | null;
|
|
8643
|
+
agencyName: string | null;
|
|
8644
|
+
specialisedProfile: string | null;
|
|
8645
|
+
};
|
|
8646
|
+
}>>;
|
|
8127
8647
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8128
8648
|
id: string | null;
|
|
8129
8649
|
title: string | null;
|
|
@@ -8138,7 +8658,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8138
8658
|
creditBalance: z.ZodNumber;
|
|
8139
8659
|
}, "strip", z.ZodTypeAny, {
|
|
8140
8660
|
type: "lead_status";
|
|
8141
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8661
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8142
8662
|
lead: {
|
|
8143
8663
|
id: string | null;
|
|
8144
8664
|
title: string | null;
|
|
@@ -8148,7 +8668,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8148
8668
|
creditBalance: number;
|
|
8149
8669
|
}, {
|
|
8150
8670
|
type: "lead_status";
|
|
8151
|
-
status: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8671
|
+
status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
|
|
8152
8672
|
lead: {
|
|
8153
8673
|
id: string | null;
|
|
8154
8674
|
title: string | null;
|
|
@@ -8476,7 +8996,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8476
8996
|
question: string;
|
|
8477
8997
|
}>, "many">>;
|
|
8478
8998
|
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"]>>;
|
|
8999
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
8480
9000
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
8481
9001
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
8482
9002
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8487,11 +9007,76 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8487
9007
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
8488
9008
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
8489
9009
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
9010
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
9011
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
8490
9012
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
8491
9013
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
8492
9014
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8493
9015
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8494
9016
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
9017
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
9018
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
9019
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
9020
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
9021
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
9022
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
9023
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
9024
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
9025
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
9026
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
9027
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
9028
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
9029
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
9030
|
+
bidConfig: z.ZodObject<{
|
|
9031
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
9032
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
9033
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
9034
|
+
}, "strip", z.ZodTypeAny, {
|
|
9035
|
+
contractorName: string | null;
|
|
9036
|
+
agencyName: string | null;
|
|
9037
|
+
specialisedProfile: string | null;
|
|
9038
|
+
}, {
|
|
9039
|
+
contractorName: string | null;
|
|
9040
|
+
agencyName: string | null;
|
|
9041
|
+
specialisedProfile: string | null;
|
|
9042
|
+
}>;
|
|
9043
|
+
}, "strip", z.ZodTypeAny, {
|
|
9044
|
+
appliedFromQueue: boolean | null;
|
|
9045
|
+
biddingDelayInMinutes: number | null;
|
|
9046
|
+
bidWithWarning: "bid" | "skip";
|
|
9047
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
9048
|
+
biddingHourlyRatePercentage: number | null;
|
|
9049
|
+
biddingFixedHourlyRate: number | null;
|
|
9050
|
+
boostingEnabled: boolean | null;
|
|
9051
|
+
boostDownToNthPlace: number | null;
|
|
9052
|
+
connectsAbovePrevious: number | null;
|
|
9053
|
+
maximumBoost: number | null;
|
|
9054
|
+
minBoost: number | null;
|
|
9055
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
9056
|
+
bidConfig: {
|
|
9057
|
+
contractorName: string | null;
|
|
9058
|
+
agencyName: string | null;
|
|
9059
|
+
specialisedProfile: string | null;
|
|
9060
|
+
};
|
|
9061
|
+
}, {
|
|
9062
|
+
appliedFromQueue: boolean | null;
|
|
9063
|
+
biddingDelayInMinutes: number | null;
|
|
9064
|
+
bidWithWarning: "bid" | "skip";
|
|
9065
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
9066
|
+
biddingHourlyRatePercentage: number | null;
|
|
9067
|
+
biddingFixedHourlyRate: number | null;
|
|
9068
|
+
boostingEnabled: boolean | null;
|
|
9069
|
+
boostDownToNthPlace: number | null;
|
|
9070
|
+
connectsAbovePrevious: number | null;
|
|
9071
|
+
maximumBoost: number | null;
|
|
9072
|
+
minBoost: number | null;
|
|
9073
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
9074
|
+
bidConfig: {
|
|
9075
|
+
contractorName: string | null;
|
|
9076
|
+
agencyName: string | null;
|
|
9077
|
+
specialisedProfile: string | null;
|
|
9078
|
+
};
|
|
9079
|
+
}>>;
|
|
8495
9080
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8496
9081
|
id: string | null;
|
|
8497
9082
|
title: string | null;
|
|
@@ -8526,15 +9111,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8526
9111
|
export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
8527
9112
|
organizationId: z.ZodString;
|
|
8528
9113
|
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">;
|
|
9114
|
+
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", "biddingFailed"]>, "many">;
|
|
8530
9115
|
}, "strip", z.ZodTypeAny, {
|
|
8531
9116
|
campaignId: string;
|
|
8532
9117
|
organizationId: string;
|
|
8533
|
-
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
9118
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8534
9119
|
}, {
|
|
8535
9120
|
campaignId: string;
|
|
8536
9121
|
organizationId: string;
|
|
8537
|
-
fields: ("rejected" | "contacted" | "viewed" | "replied" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
9122
|
+
fields: ("rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | "wonAmount" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "proposalsFailed")[];
|
|
8538
9123
|
}>;
|
|
8539
9124
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
8540
9125
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|