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
|
@@ -698,7 +698,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
698
698
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
699
699
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
700
700
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
701
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
701
|
+
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>>;
|
|
702
702
|
expenses: z.ZodObject<{
|
|
703
703
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
704
704
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -809,7 +809,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
809
809
|
createdAt: number;
|
|
810
810
|
updatedAt: number;
|
|
811
811
|
biddingDelayInMinutes: number;
|
|
812
|
-
|
|
812
|
+
bidWithWarning: "bid" | "skip";
|
|
813
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
814
|
+
biddingHourlyRatePercentage: number | null;
|
|
815
|
+
biddingFixedHourlyRate: number | null;
|
|
816
|
+
boostingEnabled: boolean | null;
|
|
817
|
+
boostDownToNthPlace: number | null;
|
|
818
|
+
connectsAbovePrevious: number | null;
|
|
819
|
+
maximumBoost: number | null;
|
|
820
|
+
minBoost: number | null;
|
|
821
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
822
|
+
bidConfig: {
|
|
823
|
+
contractorName: string | null;
|
|
824
|
+
agencyName: string | null;
|
|
825
|
+
specialisedProfile: string | null;
|
|
826
|
+
bidderId: string | null;
|
|
827
|
+
} | null;
|
|
828
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
813
829
|
filters: {
|
|
814
830
|
keywords: {
|
|
815
831
|
includes: string | null;
|
|
@@ -870,32 +886,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
870
886
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
871
887
|
} | null;
|
|
872
888
|
};
|
|
889
|
+
coverLetterTemplateId: string | null;
|
|
873
890
|
confirmedBillingAt: number | null;
|
|
874
|
-
boostingEnabled: boolean | null;
|
|
875
|
-
maximumBoost: number | null;
|
|
876
|
-
minBoost: number | null;
|
|
877
|
-
boostDownToNthPlace: number | null;
|
|
878
|
-
connectsAbovePrevious: number | null;
|
|
879
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
880
891
|
monthlyBudget: number | null;
|
|
881
892
|
boostingThreshold: number | null;
|
|
882
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
883
|
-
biddingFixedHourlyRate: number | null;
|
|
884
|
-
biddingHourlyRatePercentage: number | null;
|
|
885
|
-
bidWithWarning: "bid" | "skip";
|
|
886
893
|
expenses: {
|
|
887
894
|
biddingAmount: number;
|
|
888
895
|
boosted: number;
|
|
889
896
|
boostingAmount: number;
|
|
890
897
|
};
|
|
891
898
|
notificationsEnabled: boolean | null;
|
|
892
|
-
bidConfig: {
|
|
893
|
-
contractorName: string | null;
|
|
894
|
-
agencyName: string | null;
|
|
895
|
-
specialisedProfile: string | null;
|
|
896
|
-
bidderId: string | null;
|
|
897
|
-
} | null;
|
|
898
|
-
coverLetterTemplateId: string | null;
|
|
899
899
|
coverLetterTemplate: {
|
|
900
900
|
id: string;
|
|
901
901
|
name: string;
|
|
@@ -926,7 +926,20 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
926
926
|
};
|
|
927
927
|
createdAt: number;
|
|
928
928
|
updatedAt: number;
|
|
929
|
-
|
|
929
|
+
bidWithWarning: "bid" | "skip";
|
|
930
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
931
|
+
biddingHourlyRatePercentage: number | null;
|
|
932
|
+
biddingFixedHourlyRate: number | null;
|
|
933
|
+
boostDownToNthPlace: number | null;
|
|
934
|
+
connectsAbovePrevious: number | null;
|
|
935
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
936
|
+
bidConfig: {
|
|
937
|
+
contractorName: string | null;
|
|
938
|
+
agencyName: string | null;
|
|
939
|
+
specialisedProfile: string | null;
|
|
940
|
+
bidderId: string | null;
|
|
941
|
+
} | null;
|
|
942
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
930
943
|
filters: {
|
|
931
944
|
keywords: {
|
|
932
945
|
includes: string | null;
|
|
@@ -987,28 +1000,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
987
1000
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
988
1001
|
} | null;
|
|
989
1002
|
};
|
|
1003
|
+
coverLetterTemplateId: string | null;
|
|
990
1004
|
confirmedBillingAt: number | null;
|
|
991
|
-
boostDownToNthPlace: number | null;
|
|
992
|
-
connectsAbovePrevious: number | null;
|
|
993
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
994
1005
|
monthlyBudget: number | null;
|
|
995
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
996
|
-
biddingFixedHourlyRate: number | null;
|
|
997
|
-
biddingHourlyRatePercentage: number | null;
|
|
998
|
-
bidWithWarning: "bid" | "skip";
|
|
999
1006
|
expenses: {
|
|
1000
1007
|
biddingAmount?: number | undefined;
|
|
1001
1008
|
boosted?: number | undefined;
|
|
1002
1009
|
boostingAmount?: number | undefined;
|
|
1003
1010
|
};
|
|
1004
1011
|
notificationsEnabled: boolean | null;
|
|
1005
|
-
bidConfig: {
|
|
1006
|
-
contractorName: string | null;
|
|
1007
|
-
agencyName: string | null;
|
|
1008
|
-
specialisedProfile: string | null;
|
|
1009
|
-
bidderId: string | null;
|
|
1010
|
-
} | null;
|
|
1011
|
-
coverLetterTemplateId: string | null;
|
|
1012
1012
|
coverLetterTemplate: {
|
|
1013
1013
|
id: string;
|
|
1014
1014
|
name: string;
|
|
@@ -1681,7 +1681,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1681
1681
|
question: string;
|
|
1682
1682
|
}>, "many">>;
|
|
1683
1683
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1684
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>>;
|
|
1684
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "biddingFailed", "won"]>>;
|
|
1685
1685
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1686
1686
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1687
1687
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1692,11 +1692,76 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1692
1692
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
1693
1693
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1694
1694
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1695
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1696
|
+
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
1695
1697
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1696
1698
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1697
1699
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1698
1700
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1699
1701
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1702
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
1703
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1704
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1705
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1706
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
1707
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1708
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1709
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
1710
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1711
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1712
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1713
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
1714
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
1715
|
+
bidConfig: z.ZodObject<{
|
|
1716
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1717
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1719
|
+
}, "strip", z.ZodTypeAny, {
|
|
1720
|
+
contractorName: string | null;
|
|
1721
|
+
agencyName: string | null;
|
|
1722
|
+
specialisedProfile: string | null;
|
|
1723
|
+
}, {
|
|
1724
|
+
contractorName: string | null;
|
|
1725
|
+
agencyName: string | null;
|
|
1726
|
+
specialisedProfile: string | null;
|
|
1727
|
+
}>;
|
|
1728
|
+
}, "strip", z.ZodTypeAny, {
|
|
1729
|
+
appliedFromQueue: boolean | null;
|
|
1730
|
+
biddingDelayInMinutes: number | null;
|
|
1731
|
+
bidWithWarning: "bid" | "skip";
|
|
1732
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1733
|
+
biddingHourlyRatePercentage: number | null;
|
|
1734
|
+
biddingFixedHourlyRate: number | null;
|
|
1735
|
+
boostingEnabled: boolean | null;
|
|
1736
|
+
boostDownToNthPlace: number | null;
|
|
1737
|
+
connectsAbovePrevious: number | null;
|
|
1738
|
+
maximumBoost: number | null;
|
|
1739
|
+
minBoost: number | null;
|
|
1740
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1741
|
+
bidConfig: {
|
|
1742
|
+
contractorName: string | null;
|
|
1743
|
+
agencyName: string | null;
|
|
1744
|
+
specialisedProfile: string | null;
|
|
1745
|
+
};
|
|
1746
|
+
}, {
|
|
1747
|
+
appliedFromQueue: boolean | null;
|
|
1748
|
+
biddingDelayInMinutes: number | null;
|
|
1749
|
+
bidWithWarning: "bid" | "skip";
|
|
1750
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1751
|
+
biddingHourlyRatePercentage: number | null;
|
|
1752
|
+
biddingFixedHourlyRate: number | null;
|
|
1753
|
+
boostingEnabled: boolean | null;
|
|
1754
|
+
boostDownToNthPlace: number | null;
|
|
1755
|
+
connectsAbovePrevious: number | null;
|
|
1756
|
+
maximumBoost: number | null;
|
|
1757
|
+
minBoost: number | null;
|
|
1758
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1759
|
+
bidConfig: {
|
|
1760
|
+
contractorName: string | null;
|
|
1761
|
+
agencyName: string | null;
|
|
1762
|
+
specialisedProfile: string | null;
|
|
1763
|
+
};
|
|
1764
|
+
}>>;
|
|
1700
1765
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
1701
1766
|
id: string | null;
|
|
1702
1767
|
title: string | null;
|
|
@@ -1792,6 +1857,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1792
1857
|
} | null;
|
|
1793
1858
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1794
1859
|
scrapedAt: number | null;
|
|
1860
|
+
biddingDelayInMinutes: number | null;
|
|
1861
|
+
specialisedProfile: string | null;
|
|
1795
1862
|
jobId: string;
|
|
1796
1863
|
suitabilityRating: number | null;
|
|
1797
1864
|
suitabilityReason: string | null;
|
|
@@ -1801,20 +1868,39 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1801
1868
|
question: string;
|
|
1802
1869
|
}[] | null;
|
|
1803
1870
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1804
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1871
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1805
1872
|
biddingAmount: number | null;
|
|
1806
1873
|
boosted: boolean | null;
|
|
1807
1874
|
boostingAmount: number | null;
|
|
1808
1875
|
boostedForPlace: number | null;
|
|
1809
|
-
specialisedProfile: string | null;
|
|
1810
1876
|
biddedAt: number | null;
|
|
1811
1877
|
biddingTaskScheduled: boolean | null;
|
|
1812
1878
|
scheduledBiddingTime: number | null;
|
|
1813
|
-
|
|
1879
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1880
|
+
biddingScheduledAt: number | null;
|
|
1814
1881
|
feedbackCheckTaskId: string | null;
|
|
1815
1882
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1816
1883
|
rejectedFeedback: string | null;
|
|
1817
1884
|
applicationId: string | null;
|
|
1885
|
+
leadBiddingConfig: {
|
|
1886
|
+
appliedFromQueue: boolean | null;
|
|
1887
|
+
biddingDelayInMinutes: number | null;
|
|
1888
|
+
bidWithWarning: "bid" | "skip";
|
|
1889
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1890
|
+
biddingHourlyRatePercentage: number | null;
|
|
1891
|
+
biddingFixedHourlyRate: number | null;
|
|
1892
|
+
boostingEnabled: boolean | null;
|
|
1893
|
+
boostDownToNthPlace: number | null;
|
|
1894
|
+
connectsAbovePrevious: number | null;
|
|
1895
|
+
maximumBoost: number | null;
|
|
1896
|
+
minBoost: number | null;
|
|
1897
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1898
|
+
bidConfig: {
|
|
1899
|
+
contractorName: string | null;
|
|
1900
|
+
agencyName: string | null;
|
|
1901
|
+
specialisedProfile: string | null;
|
|
1902
|
+
};
|
|
1903
|
+
} | null;
|
|
1818
1904
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1819
1905
|
updatedAt: number | null;
|
|
1820
1906
|
unansweredInvites: number | null;
|
|
@@ -1932,6 +2018,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1932
2018
|
} | null;
|
|
1933
2019
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1934
2020
|
scrapedAt: number | null;
|
|
2021
|
+
biddingDelayInMinutes: number | null;
|
|
2022
|
+
specialisedProfile: string | null;
|
|
1935
2023
|
jobId: string;
|
|
1936
2024
|
suitabilityRating: number | null;
|
|
1937
2025
|
suitabilityReason: string | null;
|
|
@@ -1941,20 +2029,39 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1941
2029
|
question: string;
|
|
1942
2030
|
}[] | null;
|
|
1943
2031
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1944
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2032
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1945
2033
|
biddingAmount: number | null;
|
|
1946
2034
|
boosted: boolean | null;
|
|
1947
2035
|
boostingAmount: number | null;
|
|
1948
2036
|
boostedForPlace: number | null;
|
|
1949
|
-
specialisedProfile: string | null;
|
|
1950
2037
|
biddedAt: number | null;
|
|
1951
2038
|
biddingTaskScheduled: boolean | null;
|
|
1952
2039
|
scheduledBiddingTime: number | null;
|
|
1953
|
-
|
|
2040
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2041
|
+
biddingScheduledAt: number | null;
|
|
1954
2042
|
feedbackCheckTaskId: string | null;
|
|
1955
2043
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1956
2044
|
rejectedFeedback: string | null;
|
|
1957
2045
|
applicationId: string | null;
|
|
2046
|
+
leadBiddingConfig: {
|
|
2047
|
+
appliedFromQueue: boolean | null;
|
|
2048
|
+
biddingDelayInMinutes: number | null;
|
|
2049
|
+
bidWithWarning: "bid" | "skip";
|
|
2050
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2051
|
+
biddingHourlyRatePercentage: number | null;
|
|
2052
|
+
biddingFixedHourlyRate: number | null;
|
|
2053
|
+
boostingEnabled: boolean | null;
|
|
2054
|
+
boostDownToNthPlace: number | null;
|
|
2055
|
+
connectsAbovePrevious: number | null;
|
|
2056
|
+
maximumBoost: number | null;
|
|
2057
|
+
minBoost: number | null;
|
|
2058
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2059
|
+
bidConfig: {
|
|
2060
|
+
contractorName: string | null;
|
|
2061
|
+
agencyName: string | null;
|
|
2062
|
+
specialisedProfile: string | null;
|
|
2063
|
+
};
|
|
2064
|
+
} | null;
|
|
1958
2065
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1959
2066
|
updatedAt: number | null;
|
|
1960
2067
|
unansweredInvites: number | null;
|
|
@@ -2242,6 +2349,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2242
2349
|
} | null;
|
|
2243
2350
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2244
2351
|
scrapedAt: number | null;
|
|
2352
|
+
biddingDelayInMinutes: number | null;
|
|
2353
|
+
specialisedProfile: string | null;
|
|
2245
2354
|
jobId: string;
|
|
2246
2355
|
suitabilityRating: number | null;
|
|
2247
2356
|
suitabilityReason: string | null;
|
|
@@ -2251,20 +2360,39 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2251
2360
|
question: string;
|
|
2252
2361
|
}[] | null;
|
|
2253
2362
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2254
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2363
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2255
2364
|
biddingAmount: number | null;
|
|
2256
2365
|
boosted: boolean | null;
|
|
2257
2366
|
boostingAmount: number | null;
|
|
2258
2367
|
boostedForPlace: number | null;
|
|
2259
|
-
specialisedProfile: string | null;
|
|
2260
2368
|
biddedAt: number | null;
|
|
2261
2369
|
biddingTaskScheduled: boolean | null;
|
|
2262
2370
|
scheduledBiddingTime: number | null;
|
|
2263
|
-
|
|
2371
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2372
|
+
biddingScheduledAt: number | null;
|
|
2264
2373
|
feedbackCheckTaskId: string | null;
|
|
2265
2374
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2266
2375
|
rejectedFeedback: string | null;
|
|
2267
2376
|
applicationId: string | null;
|
|
2377
|
+
leadBiddingConfig: {
|
|
2378
|
+
appliedFromQueue: boolean | null;
|
|
2379
|
+
biddingDelayInMinutes: number | null;
|
|
2380
|
+
bidWithWarning: "bid" | "skip";
|
|
2381
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2382
|
+
biddingHourlyRatePercentage: number | null;
|
|
2383
|
+
biddingFixedHourlyRate: number | null;
|
|
2384
|
+
boostingEnabled: boolean | null;
|
|
2385
|
+
boostDownToNthPlace: number | null;
|
|
2386
|
+
connectsAbovePrevious: number | null;
|
|
2387
|
+
maximumBoost: number | null;
|
|
2388
|
+
minBoost: number | null;
|
|
2389
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2390
|
+
bidConfig: {
|
|
2391
|
+
contractorName: string | null;
|
|
2392
|
+
agencyName: string | null;
|
|
2393
|
+
specialisedProfile: string | null;
|
|
2394
|
+
};
|
|
2395
|
+
} | null;
|
|
2268
2396
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2269
2397
|
updatedAt: number | null;
|
|
2270
2398
|
unansweredInvites: number | null;
|
|
@@ -2300,7 +2428,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2300
2428
|
createdAt: number;
|
|
2301
2429
|
updatedAt: number;
|
|
2302
2430
|
biddingDelayInMinutes: number;
|
|
2303
|
-
|
|
2431
|
+
bidWithWarning: "bid" | "skip";
|
|
2432
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2433
|
+
biddingHourlyRatePercentage: number | null;
|
|
2434
|
+
biddingFixedHourlyRate: number | null;
|
|
2435
|
+
boostingEnabled: boolean | null;
|
|
2436
|
+
boostDownToNthPlace: number | null;
|
|
2437
|
+
connectsAbovePrevious: number | null;
|
|
2438
|
+
maximumBoost: number | null;
|
|
2439
|
+
minBoost: number | null;
|
|
2440
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2441
|
+
bidConfig: {
|
|
2442
|
+
contractorName: string | null;
|
|
2443
|
+
agencyName: string | null;
|
|
2444
|
+
specialisedProfile: string | null;
|
|
2445
|
+
bidderId: string | null;
|
|
2446
|
+
} | null;
|
|
2447
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2304
2448
|
filters: {
|
|
2305
2449
|
keywords: {
|
|
2306
2450
|
includes: string | null;
|
|
@@ -2361,32 +2505,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2361
2505
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2362
2506
|
} | null;
|
|
2363
2507
|
};
|
|
2508
|
+
coverLetterTemplateId: string | null;
|
|
2364
2509
|
confirmedBillingAt: number | null;
|
|
2365
|
-
boostingEnabled: boolean | null;
|
|
2366
|
-
maximumBoost: number | null;
|
|
2367
|
-
minBoost: number | null;
|
|
2368
|
-
boostDownToNthPlace: number | null;
|
|
2369
|
-
connectsAbovePrevious: number | null;
|
|
2370
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2371
2510
|
monthlyBudget: number | null;
|
|
2372
2511
|
boostingThreshold: number | null;
|
|
2373
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2374
|
-
biddingFixedHourlyRate: number | null;
|
|
2375
|
-
biddingHourlyRatePercentage: number | null;
|
|
2376
|
-
bidWithWarning: "bid" | "skip";
|
|
2377
2512
|
expenses: {
|
|
2378
2513
|
biddingAmount: number;
|
|
2379
2514
|
boosted: number;
|
|
2380
2515
|
boostingAmount: number;
|
|
2381
2516
|
};
|
|
2382
2517
|
notificationsEnabled: boolean | null;
|
|
2383
|
-
bidConfig: {
|
|
2384
|
-
contractorName: string | null;
|
|
2385
|
-
agencyName: string | null;
|
|
2386
|
-
specialisedProfile: string | null;
|
|
2387
|
-
bidderId: string | null;
|
|
2388
|
-
} | null;
|
|
2389
|
-
coverLetterTemplateId: string | null;
|
|
2390
2518
|
coverLetterTemplate: {
|
|
2391
2519
|
id: string;
|
|
2392
2520
|
name: string;
|
|
@@ -2593,6 +2721,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2593
2721
|
} | null;
|
|
2594
2722
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2595
2723
|
scrapedAt: number | null;
|
|
2724
|
+
biddingDelayInMinutes: number | null;
|
|
2725
|
+
specialisedProfile: string | null;
|
|
2596
2726
|
jobId: string;
|
|
2597
2727
|
suitabilityRating: number | null;
|
|
2598
2728
|
suitabilityReason: string | null;
|
|
@@ -2602,20 +2732,39 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2602
2732
|
question: string;
|
|
2603
2733
|
}[] | null;
|
|
2604
2734
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2605
|
-
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2735
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2606
2736
|
biddingAmount: number | null;
|
|
2607
2737
|
boosted: boolean | null;
|
|
2608
2738
|
boostingAmount: number | null;
|
|
2609
2739
|
boostedForPlace: number | null;
|
|
2610
|
-
specialisedProfile: string | null;
|
|
2611
2740
|
biddedAt: number | null;
|
|
2612
2741
|
biddingTaskScheduled: boolean | null;
|
|
2613
2742
|
scheduledBiddingTime: number | null;
|
|
2614
|
-
|
|
2743
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2744
|
+
biddingScheduledAt: number | null;
|
|
2615
2745
|
feedbackCheckTaskId: string | null;
|
|
2616
2746
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2617
2747
|
rejectedFeedback: string | null;
|
|
2618
2748
|
applicationId: string | null;
|
|
2749
|
+
leadBiddingConfig: {
|
|
2750
|
+
appliedFromQueue: boolean | null;
|
|
2751
|
+
biddingDelayInMinutes: number | null;
|
|
2752
|
+
bidWithWarning: "bid" | "skip";
|
|
2753
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2754
|
+
biddingHourlyRatePercentage: number | null;
|
|
2755
|
+
biddingFixedHourlyRate: number | null;
|
|
2756
|
+
boostingEnabled: boolean | null;
|
|
2757
|
+
boostDownToNthPlace: number | null;
|
|
2758
|
+
connectsAbovePrevious: number | null;
|
|
2759
|
+
maximumBoost: number | null;
|
|
2760
|
+
minBoost: number | null;
|
|
2761
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2762
|
+
bidConfig: {
|
|
2763
|
+
contractorName: string | null;
|
|
2764
|
+
agencyName: string | null;
|
|
2765
|
+
specialisedProfile: string | null;
|
|
2766
|
+
};
|
|
2767
|
+
} | null;
|
|
2619
2768
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2620
2769
|
updatedAt: number | null;
|
|
2621
2770
|
unansweredInvites: number | null;
|
|
@@ -2650,7 +2799,20 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2650
2799
|
};
|
|
2651
2800
|
createdAt: number;
|
|
2652
2801
|
updatedAt: number;
|
|
2653
|
-
|
|
2802
|
+
bidWithWarning: "bid" | "skip";
|
|
2803
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2804
|
+
biddingHourlyRatePercentage: number | null;
|
|
2805
|
+
biddingFixedHourlyRate: number | null;
|
|
2806
|
+
boostDownToNthPlace: number | null;
|
|
2807
|
+
connectsAbovePrevious: number | null;
|
|
2808
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2809
|
+
bidConfig: {
|
|
2810
|
+
contractorName: string | null;
|
|
2811
|
+
agencyName: string | null;
|
|
2812
|
+
specialisedProfile: string | null;
|
|
2813
|
+
bidderId: string | null;
|
|
2814
|
+
} | null;
|
|
2815
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2654
2816
|
filters: {
|
|
2655
2817
|
keywords: {
|
|
2656
2818
|
includes: string | null;
|
|
@@ -2711,28 +2873,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2711
2873
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2712
2874
|
} | null;
|
|
2713
2875
|
};
|
|
2876
|
+
coverLetterTemplateId: string | null;
|
|
2714
2877
|
confirmedBillingAt: number | null;
|
|
2715
|
-
boostDownToNthPlace: number | null;
|
|
2716
|
-
connectsAbovePrevious: number | null;
|
|
2717
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2718
2878
|
monthlyBudget: number | null;
|
|
2719
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2720
|
-
biddingFixedHourlyRate: number | null;
|
|
2721
|
-
biddingHourlyRatePercentage: number | null;
|
|
2722
|
-
bidWithWarning: "bid" | "skip";
|
|
2723
2879
|
expenses: {
|
|
2724
2880
|
biddingAmount?: number | undefined;
|
|
2725
2881
|
boosted?: number | undefined;
|
|
2726
2882
|
boostingAmount?: number | undefined;
|
|
2727
2883
|
};
|
|
2728
2884
|
notificationsEnabled: boolean | null;
|
|
2729
|
-
bidConfig: {
|
|
2730
|
-
contractorName: string | null;
|
|
2731
|
-
agencyName: string | null;
|
|
2732
|
-
specialisedProfile: string | null;
|
|
2733
|
-
bidderId: string | null;
|
|
2734
|
-
} | null;
|
|
2735
|
-
coverLetterTemplateId: string | null;
|
|
2736
2885
|
coverLetterTemplate: {
|
|
2737
2886
|
id: string;
|
|
2738
2887
|
name: string;
|