lancer-shared 1.2.260 → 1.2.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +141 -35
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +138 -36
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +165 -18
- package/dist/schemas/agent/proposal.d.ts +1 -1
- package/dist/schemas/bidder/bid.d.ts +1680 -304
- package/dist/schemas/campaign/campaign-analytics.d.ts +614 -38
- package/dist/schemas/campaign/campaign-search.d.ts +3 -5
- package/dist/schemas/campaign/campaign.d.ts +127 -127
- package/dist/schemas/lead/index.d.ts +675 -72
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +31 -17
- package/dist/schemas/organization/index.d.ts +1 -0
- package/dist/schemas/organization/organization-leads.d.ts +23 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +233 -89
- 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", "won"]>, z.ZodNumber>>;
|
|
702
702
|
expenses: z.ZodObject<{
|
|
703
703
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
704
704
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -808,7 +808,24 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
808
808
|
};
|
|
809
809
|
createdAt: number;
|
|
810
810
|
updatedAt: number;
|
|
811
|
-
|
|
811
|
+
biddingDelayInMinutes: number;
|
|
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" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
812
829
|
filters: {
|
|
813
830
|
keywords: {
|
|
814
831
|
includes: string | null;
|
|
@@ -869,33 +886,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
869
886
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
870
887
|
} | null;
|
|
871
888
|
};
|
|
889
|
+
coverLetterTemplateId: string | null;
|
|
872
890
|
confirmedBillingAt: number | null;
|
|
873
|
-
boostingEnabled: boolean | null;
|
|
874
|
-
maximumBoost: number | null;
|
|
875
|
-
minBoost: number | null;
|
|
876
|
-
boostDownToNthPlace: number | null;
|
|
877
|
-
connectsAbovePrevious: number | null;
|
|
878
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
879
891
|
monthlyBudget: number | null;
|
|
880
892
|
boostingThreshold: number | null;
|
|
881
|
-
biddingDelayInMinutes: number;
|
|
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" | "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;
|
|
@@ -1028,11 +1028,11 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1028
1028
|
timezone: string | null;
|
|
1029
1029
|
};
|
|
1030
1030
|
status?: "error" | "active" | "paused" | "draft" | undefined;
|
|
1031
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1031
1032
|
boostingEnabled?: boolean | null | undefined;
|
|
1032
1033
|
maximumBoost?: number | null | undefined;
|
|
1033
1034
|
minBoost?: number | null | undefined;
|
|
1034
1035
|
boostingThreshold?: number | null | undefined;
|
|
1035
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1036
1036
|
}>;
|
|
1037
1037
|
organization: z.ZodObject<{
|
|
1038
1038
|
id: z.ZodString;
|
|
@@ -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", "won"]>>;
|
|
1685
1685
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1686
1686
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1687
1687
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1691,12 +1691,76 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1691
1691
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
1692
1692
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
1693
1693
|
inQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1694
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1695
|
+
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1694
1696
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1695
1697
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1696
1698
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1697
1699
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1698
1700
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1699
|
-
|
|
1701
|
+
leadBiddingConfig: z.ZodNullable<z.ZodObject<{
|
|
1702
|
+
appliedFromQueue: z.ZodNullable<z.ZodBoolean>;
|
|
1703
|
+
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1704
|
+
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1705
|
+
biddingHourlyRateStrategy: z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>;
|
|
1706
|
+
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1707
|
+
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1708
|
+
boostingEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
1709
|
+
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1710
|
+
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1711
|
+
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1712
|
+
minBoost: z.ZodNullable<z.ZodNumber>;
|
|
1713
|
+
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
1714
|
+
bidConfig: z.ZodObject<{
|
|
1715
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
1716
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
1717
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
contractorName: string | null;
|
|
1720
|
+
agencyName: string | null;
|
|
1721
|
+
specialisedProfile: string | null;
|
|
1722
|
+
}, {
|
|
1723
|
+
contractorName: string | null;
|
|
1724
|
+
agencyName: string | null;
|
|
1725
|
+
specialisedProfile: string | null;
|
|
1726
|
+
}>;
|
|
1727
|
+
}, "strip", z.ZodTypeAny, {
|
|
1728
|
+
appliedFromQueue: boolean | null;
|
|
1729
|
+
biddingDelayInMinutes: number | null;
|
|
1730
|
+
bidWithWarning: "bid" | "skip";
|
|
1731
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1732
|
+
biddingHourlyRatePercentage: number | null;
|
|
1733
|
+
biddingFixedHourlyRate: number | null;
|
|
1734
|
+
boostingEnabled: boolean | null;
|
|
1735
|
+
boostDownToNthPlace: number | null;
|
|
1736
|
+
connectsAbovePrevious: number | null;
|
|
1737
|
+
maximumBoost: number | null;
|
|
1738
|
+
minBoost: number | null;
|
|
1739
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1740
|
+
bidConfig: {
|
|
1741
|
+
contractorName: string | null;
|
|
1742
|
+
agencyName: string | null;
|
|
1743
|
+
specialisedProfile: string | null;
|
|
1744
|
+
};
|
|
1745
|
+
}, {
|
|
1746
|
+
appliedFromQueue: boolean | null;
|
|
1747
|
+
biddingDelayInMinutes: number | null;
|
|
1748
|
+
bidWithWarning: "bid" | "skip";
|
|
1749
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1750
|
+
biddingHourlyRatePercentage: number | null;
|
|
1751
|
+
biddingFixedHourlyRate: number | null;
|
|
1752
|
+
boostingEnabled: boolean | null;
|
|
1753
|
+
boostDownToNthPlace: number | null;
|
|
1754
|
+
connectsAbovePrevious: number | null;
|
|
1755
|
+
maximumBoost: number | null;
|
|
1756
|
+
minBoost: number | null;
|
|
1757
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1758
|
+
bidConfig: {
|
|
1759
|
+
contractorName: string | null;
|
|
1760
|
+
agencyName: string | null;
|
|
1761
|
+
specialisedProfile: string | null;
|
|
1762
|
+
};
|
|
1763
|
+
}>>;
|
|
1700
1764
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
1701
1765
|
id: string | null;
|
|
1702
1766
|
title: string | null;
|
|
@@ -1716,6 +1780,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1716
1780
|
datetime: number | null;
|
|
1717
1781
|
campaignId: string;
|
|
1718
1782
|
organizationId: string;
|
|
1783
|
+
inQueue: boolean | null;
|
|
1719
1784
|
createdAt: number | null;
|
|
1720
1785
|
updatedAt: number | null;
|
|
1721
1786
|
isFeatured: boolean | null;
|
|
@@ -1791,6 +1856,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1791
1856
|
} | null;
|
|
1792
1857
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1793
1858
|
scrapedAt: number | null;
|
|
1859
|
+
biddingDelayInMinutes: number | null;
|
|
1860
|
+
specialisedProfile: string | null;
|
|
1794
1861
|
jobId: string;
|
|
1795
1862
|
suitabilityRating: number | null;
|
|
1796
1863
|
suitabilityReason: string | null;
|
|
@@ -1800,20 +1867,38 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1800
1867
|
question: string;
|
|
1801
1868
|
}[] | null;
|
|
1802
1869
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1803
|
-
leadStatus: "rejected" | "
|
|
1870
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1804
1871
|
biddingAmount: number | null;
|
|
1805
1872
|
boosted: boolean | null;
|
|
1806
1873
|
boostingAmount: number | null;
|
|
1807
1874
|
boostedForPlace: number | null;
|
|
1808
|
-
specialisedProfile: string | null;
|
|
1809
1875
|
biddedAt: number | null;
|
|
1810
1876
|
biddingTaskScheduled: boolean | null;
|
|
1811
1877
|
scheduledBiddingTime: number | null;
|
|
1812
|
-
|
|
1878
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1813
1879
|
feedbackCheckTaskId: string | null;
|
|
1814
1880
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1815
1881
|
rejectedFeedback: string | null;
|
|
1816
1882
|
applicationId: string | null;
|
|
1883
|
+
leadBiddingConfig: {
|
|
1884
|
+
appliedFromQueue: boolean | null;
|
|
1885
|
+
biddingDelayInMinutes: number | null;
|
|
1886
|
+
bidWithWarning: "bid" | "skip";
|
|
1887
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
1888
|
+
biddingHourlyRatePercentage: number | null;
|
|
1889
|
+
biddingFixedHourlyRate: number | null;
|
|
1890
|
+
boostingEnabled: boolean | null;
|
|
1891
|
+
boostDownToNthPlace: number | null;
|
|
1892
|
+
connectsAbovePrevious: number | null;
|
|
1893
|
+
maximumBoost: number | null;
|
|
1894
|
+
minBoost: number | null;
|
|
1895
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1896
|
+
bidConfig: {
|
|
1897
|
+
contractorName: string | null;
|
|
1898
|
+
agencyName: string | null;
|
|
1899
|
+
specialisedProfile: string | null;
|
|
1900
|
+
};
|
|
1901
|
+
} | null;
|
|
1817
1902
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1818
1903
|
updatedAt: number | null;
|
|
1819
1904
|
unansweredInvites: number | null;
|
|
@@ -1836,7 +1921,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1836
1921
|
} | null | undefined;
|
|
1837
1922
|
proposalId?: string | undefined;
|
|
1838
1923
|
wonAmount?: number | undefined;
|
|
1839
|
-
campaignName?: string | undefined;
|
|
1840
1924
|
}, {
|
|
1841
1925
|
id: string | null;
|
|
1842
1926
|
title: string | null;
|
|
@@ -1856,6 +1940,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1856
1940
|
datetime: number | null;
|
|
1857
1941
|
campaignId: string;
|
|
1858
1942
|
organizationId: string;
|
|
1943
|
+
inQueue: boolean | null;
|
|
1859
1944
|
createdAt: number | null;
|
|
1860
1945
|
updatedAt: number | null;
|
|
1861
1946
|
isFeatured: boolean | null;
|
|
@@ -1931,6 +2016,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1931
2016
|
} | null;
|
|
1932
2017
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1933
2018
|
scrapedAt: number | null;
|
|
2019
|
+
biddingDelayInMinutes: number | null;
|
|
2020
|
+
specialisedProfile: string | null;
|
|
1934
2021
|
jobId: string;
|
|
1935
2022
|
suitabilityRating: number | null;
|
|
1936
2023
|
suitabilityReason: string | null;
|
|
@@ -1940,20 +2027,38 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1940
2027
|
question: string;
|
|
1941
2028
|
}[] | null;
|
|
1942
2029
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1943
|
-
leadStatus: "rejected" | "
|
|
2030
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
1944
2031
|
biddingAmount: number | null;
|
|
1945
2032
|
boosted: boolean | null;
|
|
1946
2033
|
boostingAmount: number | null;
|
|
1947
2034
|
boostedForPlace: number | null;
|
|
1948
|
-
specialisedProfile: string | null;
|
|
1949
2035
|
biddedAt: number | null;
|
|
1950
2036
|
biddingTaskScheduled: boolean | null;
|
|
1951
2037
|
scheduledBiddingTime: number | null;
|
|
1952
|
-
|
|
2038
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
1953
2039
|
feedbackCheckTaskId: string | null;
|
|
1954
2040
|
bidDecision: "rejected" | "proceeded" | null;
|
|
1955
2041
|
rejectedFeedback: string | null;
|
|
1956
2042
|
applicationId: string | null;
|
|
2043
|
+
leadBiddingConfig: {
|
|
2044
|
+
appliedFromQueue: boolean | null;
|
|
2045
|
+
biddingDelayInMinutes: number | null;
|
|
2046
|
+
bidWithWarning: "bid" | "skip";
|
|
2047
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2048
|
+
biddingHourlyRatePercentage: number | null;
|
|
2049
|
+
biddingFixedHourlyRate: number | null;
|
|
2050
|
+
boostingEnabled: boolean | null;
|
|
2051
|
+
boostDownToNthPlace: number | null;
|
|
2052
|
+
connectsAbovePrevious: number | null;
|
|
2053
|
+
maximumBoost: number | null;
|
|
2054
|
+
minBoost: number | null;
|
|
2055
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2056
|
+
bidConfig: {
|
|
2057
|
+
contractorName: string | null;
|
|
2058
|
+
agencyName: string | null;
|
|
2059
|
+
specialisedProfile: string | null;
|
|
2060
|
+
};
|
|
2061
|
+
} | null;
|
|
1957
2062
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1958
2063
|
updatedAt: number | null;
|
|
1959
2064
|
unansweredInvites: number | null;
|
|
@@ -1976,7 +2081,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1976
2081
|
} | null | undefined;
|
|
1977
2082
|
proposalId?: string | undefined;
|
|
1978
2083
|
wonAmount?: number | undefined;
|
|
1979
|
-
campaignName?: string | undefined;
|
|
1980
2084
|
}>;
|
|
1981
2085
|
bidder: z.ZodObject<{
|
|
1982
2086
|
id: z.ZodString;
|
|
@@ -2166,6 +2270,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2166
2270
|
datetime: number | null;
|
|
2167
2271
|
campaignId: string;
|
|
2168
2272
|
organizationId: string;
|
|
2273
|
+
inQueue: boolean | null;
|
|
2169
2274
|
createdAt: number | null;
|
|
2170
2275
|
updatedAt: number | null;
|
|
2171
2276
|
isFeatured: boolean | null;
|
|
@@ -2241,6 +2346,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2241
2346
|
} | null;
|
|
2242
2347
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2243
2348
|
scrapedAt: number | null;
|
|
2349
|
+
biddingDelayInMinutes: number | null;
|
|
2350
|
+
specialisedProfile: string | null;
|
|
2244
2351
|
jobId: string;
|
|
2245
2352
|
suitabilityRating: number | null;
|
|
2246
2353
|
suitabilityReason: string | null;
|
|
@@ -2250,20 +2357,38 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2250
2357
|
question: string;
|
|
2251
2358
|
}[] | null;
|
|
2252
2359
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2253
|
-
leadStatus: "rejected" | "
|
|
2360
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2254
2361
|
biddingAmount: number | null;
|
|
2255
2362
|
boosted: boolean | null;
|
|
2256
2363
|
boostingAmount: number | null;
|
|
2257
2364
|
boostedForPlace: number | null;
|
|
2258
|
-
specialisedProfile: string | null;
|
|
2259
2365
|
biddedAt: number | null;
|
|
2260
2366
|
biddingTaskScheduled: boolean | null;
|
|
2261
2367
|
scheduledBiddingTime: number | null;
|
|
2262
|
-
|
|
2368
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2263
2369
|
feedbackCheckTaskId: string | null;
|
|
2264
2370
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2265
2371
|
rejectedFeedback: string | null;
|
|
2266
2372
|
applicationId: string | null;
|
|
2373
|
+
leadBiddingConfig: {
|
|
2374
|
+
appliedFromQueue: boolean | null;
|
|
2375
|
+
biddingDelayInMinutes: number | null;
|
|
2376
|
+
bidWithWarning: "bid" | "skip";
|
|
2377
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2378
|
+
biddingHourlyRatePercentage: number | null;
|
|
2379
|
+
biddingFixedHourlyRate: number | null;
|
|
2380
|
+
boostingEnabled: boolean | null;
|
|
2381
|
+
boostDownToNthPlace: number | null;
|
|
2382
|
+
connectsAbovePrevious: number | null;
|
|
2383
|
+
maximumBoost: number | null;
|
|
2384
|
+
minBoost: number | null;
|
|
2385
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2386
|
+
bidConfig: {
|
|
2387
|
+
contractorName: string | null;
|
|
2388
|
+
agencyName: string | null;
|
|
2389
|
+
specialisedProfile: string | null;
|
|
2390
|
+
};
|
|
2391
|
+
} | null;
|
|
2267
2392
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2268
2393
|
updatedAt: number | null;
|
|
2269
2394
|
unansweredInvites: number | null;
|
|
@@ -2286,7 +2411,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2286
2411
|
} | null | undefined;
|
|
2287
2412
|
proposalId?: string | undefined;
|
|
2288
2413
|
wonAmount?: number | undefined;
|
|
2289
|
-
campaignName?: string | undefined;
|
|
2290
2414
|
};
|
|
2291
2415
|
campaign: {
|
|
2292
2416
|
id: string;
|
|
@@ -2299,7 +2423,24 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2299
2423
|
};
|
|
2300
2424
|
createdAt: number;
|
|
2301
2425
|
updatedAt: number;
|
|
2302
|
-
|
|
2426
|
+
biddingDelayInMinutes: number;
|
|
2427
|
+
bidWithWarning: "bid" | "skip";
|
|
2428
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2429
|
+
biddingHourlyRatePercentage: number | null;
|
|
2430
|
+
biddingFixedHourlyRate: number | null;
|
|
2431
|
+
boostingEnabled: boolean | null;
|
|
2432
|
+
boostDownToNthPlace: number | null;
|
|
2433
|
+
connectsAbovePrevious: number | null;
|
|
2434
|
+
maximumBoost: number | null;
|
|
2435
|
+
minBoost: number | null;
|
|
2436
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2437
|
+
bidConfig: {
|
|
2438
|
+
contractorName: string | null;
|
|
2439
|
+
agencyName: string | null;
|
|
2440
|
+
specialisedProfile: string | null;
|
|
2441
|
+
bidderId: string | null;
|
|
2442
|
+
} | null;
|
|
2443
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2303
2444
|
filters: {
|
|
2304
2445
|
keywords: {
|
|
2305
2446
|
includes: string | null;
|
|
@@ -2360,33 +2501,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2360
2501
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2361
2502
|
} | null;
|
|
2362
2503
|
};
|
|
2504
|
+
coverLetterTemplateId: string | null;
|
|
2363
2505
|
confirmedBillingAt: number | null;
|
|
2364
|
-
boostingEnabled: boolean | null;
|
|
2365
|
-
maximumBoost: number | null;
|
|
2366
|
-
minBoost: number | null;
|
|
2367
|
-
boostDownToNthPlace: number | null;
|
|
2368
|
-
connectsAbovePrevious: number | null;
|
|
2369
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2370
2506
|
monthlyBudget: number | null;
|
|
2371
2507
|
boostingThreshold: number | null;
|
|
2372
|
-
biddingDelayInMinutes: number;
|
|
2373
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2374
|
-
biddingFixedHourlyRate: number | null;
|
|
2375
|
-
biddingHourlyRatePercentage: number | null;
|
|
2376
|
-
bidWithWarning: "bid" | "skip";
|
|
2377
2508
|
expenses: {
|
|
2378
2509
|
biddingAmount: number;
|
|
2379
2510
|
boosted: number;
|
|
2380
2511
|
boostingAmount: number;
|
|
2381
2512
|
};
|
|
2382
2513
|
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
2514
|
coverLetterTemplate: {
|
|
2391
2515
|
id: string;
|
|
2392
2516
|
name: string;
|
|
@@ -2517,6 +2641,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2517
2641
|
datetime: number | null;
|
|
2518
2642
|
campaignId: string;
|
|
2519
2643
|
organizationId: string;
|
|
2644
|
+
inQueue: boolean | null;
|
|
2520
2645
|
createdAt: number | null;
|
|
2521
2646
|
updatedAt: number | null;
|
|
2522
2647
|
isFeatured: boolean | null;
|
|
@@ -2592,6 +2717,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2592
2717
|
} | null;
|
|
2593
2718
|
activityUpdates: 2 | 1 | 3 | null;
|
|
2594
2719
|
scrapedAt: number | null;
|
|
2720
|
+
biddingDelayInMinutes: number | null;
|
|
2721
|
+
specialisedProfile: string | null;
|
|
2595
2722
|
jobId: string;
|
|
2596
2723
|
suitabilityRating: number | null;
|
|
2597
2724
|
suitabilityReason: string | null;
|
|
@@ -2601,20 +2728,38 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2601
2728
|
question: string;
|
|
2602
2729
|
}[] | null;
|
|
2603
2730
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2604
|
-
leadStatus: "rejected" | "
|
|
2731
|
+
leadStatus: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won" | null;
|
|
2605
2732
|
biddingAmount: number | null;
|
|
2606
2733
|
boosted: boolean | null;
|
|
2607
2734
|
boostingAmount: number | null;
|
|
2608
2735
|
boostedForPlace: number | null;
|
|
2609
|
-
specialisedProfile: string | null;
|
|
2610
2736
|
biddedAt: number | null;
|
|
2611
2737
|
biddingTaskScheduled: boolean | null;
|
|
2612
2738
|
scheduledBiddingTime: number | null;
|
|
2613
|
-
|
|
2739
|
+
checkFeedbackStatusCreatedAt: number | null;
|
|
2614
2740
|
feedbackCheckTaskId: string | null;
|
|
2615
2741
|
bidDecision: "rejected" | "proceeded" | null;
|
|
2616
2742
|
rejectedFeedback: string | null;
|
|
2617
2743
|
applicationId: string | null;
|
|
2744
|
+
leadBiddingConfig: {
|
|
2745
|
+
appliedFromQueue: boolean | null;
|
|
2746
|
+
biddingDelayInMinutes: number | null;
|
|
2747
|
+
bidWithWarning: "bid" | "skip";
|
|
2748
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2749
|
+
biddingHourlyRatePercentage: number | null;
|
|
2750
|
+
biddingFixedHourlyRate: number | null;
|
|
2751
|
+
boostingEnabled: boolean | null;
|
|
2752
|
+
boostDownToNthPlace: number | null;
|
|
2753
|
+
connectsAbovePrevious: number | null;
|
|
2754
|
+
maximumBoost: number | null;
|
|
2755
|
+
minBoost: number | null;
|
|
2756
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2757
|
+
bidConfig: {
|
|
2758
|
+
contractorName: string | null;
|
|
2759
|
+
agencyName: string | null;
|
|
2760
|
+
specialisedProfile: string | null;
|
|
2761
|
+
};
|
|
2762
|
+
} | null;
|
|
2618
2763
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2619
2764
|
updatedAt: number | null;
|
|
2620
2765
|
unansweredInvites: number | null;
|
|
@@ -2637,7 +2782,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2637
2782
|
} | null | undefined;
|
|
2638
2783
|
proposalId?: string | undefined;
|
|
2639
2784
|
wonAmount?: number | undefined;
|
|
2640
|
-
campaignName?: string | undefined;
|
|
2641
2785
|
};
|
|
2642
2786
|
campaign: {
|
|
2643
2787
|
id: string;
|
|
@@ -2650,7 +2794,20 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2650
2794
|
};
|
|
2651
2795
|
createdAt: number;
|
|
2652
2796
|
updatedAt: number;
|
|
2653
|
-
|
|
2797
|
+
bidWithWarning: "bid" | "skip";
|
|
2798
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
|
|
2799
|
+
biddingHourlyRatePercentage: number | null;
|
|
2800
|
+
biddingFixedHourlyRate: number | null;
|
|
2801
|
+
boostDownToNthPlace: number | null;
|
|
2802
|
+
connectsAbovePrevious: number | null;
|
|
2803
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2804
|
+
bidConfig: {
|
|
2805
|
+
contractorName: string | null;
|
|
2806
|
+
agencyName: string | null;
|
|
2807
|
+
specialisedProfile: string | null;
|
|
2808
|
+
bidderId: string | null;
|
|
2809
|
+
} | null;
|
|
2810
|
+
leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won", number>> | null;
|
|
2654
2811
|
filters: {
|
|
2655
2812
|
keywords: {
|
|
2656
2813
|
includes: string | null;
|
|
@@ -2711,28 +2868,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2711
2868
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2712
2869
|
} | null;
|
|
2713
2870
|
};
|
|
2871
|
+
coverLetterTemplateId: string | null;
|
|
2714
2872
|
confirmedBillingAt: number | null;
|
|
2715
|
-
boostDownToNthPlace: number | null;
|
|
2716
|
-
connectsAbovePrevious: number | null;
|
|
2717
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2718
2873
|
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
2874
|
expenses: {
|
|
2724
2875
|
biddingAmount?: number | undefined;
|
|
2725
2876
|
boosted?: number | undefined;
|
|
2726
2877
|
boostingAmount?: number | undefined;
|
|
2727
2878
|
};
|
|
2728
2879
|
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
2880
|
coverLetterTemplate: {
|
|
2737
2881
|
id: string;
|
|
2738
2882
|
name: string;
|
|
@@ -2752,11 +2896,11 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2752
2896
|
timezone: string | null;
|
|
2753
2897
|
};
|
|
2754
2898
|
status?: "error" | "active" | "paused" | "draft" | undefined;
|
|
2899
|
+
biddingDelayInMinutes?: number | undefined;
|
|
2755
2900
|
boostingEnabled?: boolean | null | undefined;
|
|
2756
2901
|
maximumBoost?: number | null | undefined;
|
|
2757
2902
|
minBoost?: number | null | undefined;
|
|
2758
2903
|
boostingThreshold?: number | null | undefined;
|
|
2759
|
-
biddingDelayInMinutes?: number | undefined;
|
|
2760
2904
|
};
|
|
2761
2905
|
bidder: {
|
|
2762
2906
|
id: string;
|