lancer-shared 1.2.322 → 1.2.323
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 +20 -5
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +19 -6
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/chat.d.ts +3 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +10 -10
- package/dist/schemas/account/scraper-account.d.ts +10 -10
- package/dist/schemas/agent/index.d.ts +50 -50
- package/dist/schemas/bidder/bid.d.ts +352 -352
- package/dist/schemas/campaign/campaign-analytics.d.ts +78 -78
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +4 -4
- package/dist/schemas/chat/index.d.ts +137 -66
- package/dist/schemas/dashboard/index.d.ts +18 -18
- package/dist/schemas/golden-dataset/sample.d.ts +4 -4
- package/dist/schemas/job/index.d.ts +32 -32
- package/dist/schemas/job/nuxt.d.ts +6 -6
- package/dist/schemas/lead/index.d.ts +165 -165
- package/dist/schemas/lead/lead-status.d.ts +2 -2
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +30 -30
- package/dist/schemas/logger/log-event.d.ts +20 -20
- package/dist/schemas/logger/scraper-events.d.ts +4 -4
- package/dist/schemas/organization/organization-leads.d.ts +2 -2
- package/dist/schemas/plan/index.d.ts +2 -2
- package/dist/schemas/proxy/proxy.d.ts +3 -3
- package/dist/schemas/scraper/scrape-payload.d.ts +44 -44
- package/dist/schemas/scraper/scrape-result.d.ts +28 -28
- package/dist/schemas/transaction/index.d.ts +2 -2
- package/dist/schemas/upwork-talent/index.d.ts +2 -2
- package/dist/schemas/usage/index.d.ts +2 -2
- package/dist/schemas/usage-event/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -1568,9 +1568,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1568
1568
|
numHours: z.ZodNullable<z.ZodNumber>;
|
|
1569
1569
|
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
1570
1570
|
}, "strip", z.ZodTypeAny, {
|
|
1571
|
-
hourlyRate: number | null;
|
|
1572
|
-
jobTitle: string | null;
|
|
1573
1571
|
freelancerName: string | null;
|
|
1572
|
+
jobTitle: string | null;
|
|
1573
|
+
hourlyRate: number | null;
|
|
1574
1574
|
freelancerRating: number | null;
|
|
1575
1575
|
freelancerFeedback: string | null;
|
|
1576
1576
|
clientFeedback: string | null;
|
|
@@ -1581,9 +1581,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1581
1581
|
numHours: number | null;
|
|
1582
1582
|
totalBilled: number | null;
|
|
1583
1583
|
}, {
|
|
1584
|
-
hourlyRate: number | null;
|
|
1585
|
-
jobTitle: string | null;
|
|
1586
1584
|
freelancerName: string | null;
|
|
1585
|
+
jobTitle: string | null;
|
|
1586
|
+
hourlyRate: number | null;
|
|
1587
1587
|
freelancerRating: number | null;
|
|
1588
1588
|
freelancerFeedback: string | null;
|
|
1589
1589
|
clientFeedback: string | null;
|
|
@@ -1627,8 +1627,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1627
1627
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
1628
1628
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
|
-
unansweredInvites: number | null;
|
|
1631
1630
|
updatedAt: number | null;
|
|
1631
|
+
unansweredInvites: number | null;
|
|
1632
1632
|
proposals: {
|
|
1633
1633
|
max: number | null;
|
|
1634
1634
|
min: number | null;
|
|
@@ -1639,8 +1639,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1639
1639
|
interviewing: number | null;
|
|
1640
1640
|
invitesSent: number | null;
|
|
1641
1641
|
}, {
|
|
1642
|
-
unansweredInvites: number | null;
|
|
1643
1642
|
updatedAt: number | null;
|
|
1643
|
+
unansweredInvites: number | null;
|
|
1644
1644
|
proposals: {
|
|
1645
1645
|
max: number | null;
|
|
1646
1646
|
min: number | null;
|
|
@@ -1672,8 +1672,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1672
1672
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
1673
1673
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1674
1674
|
}, "strip", z.ZodTypeAny, {
|
|
1675
|
-
unansweredInvites: number | null;
|
|
1676
1675
|
updatedAt: number | null;
|
|
1676
|
+
unansweredInvites: number | null;
|
|
1677
1677
|
proposals: {
|
|
1678
1678
|
max: number | null;
|
|
1679
1679
|
min: number | null;
|
|
@@ -1684,8 +1684,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1684
1684
|
interviewing: number | null;
|
|
1685
1685
|
invitesSent: number | null;
|
|
1686
1686
|
}, {
|
|
1687
|
-
unansweredInvites: number | null;
|
|
1688
1687
|
updatedAt: number | null;
|
|
1688
|
+
unansweredInvites: number | null;
|
|
1689
1689
|
proposals: {
|
|
1690
1690
|
max: number | null;
|
|
1691
1691
|
min: number | null;
|
|
@@ -1839,14 +1839,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1839
1839
|
description: string | null;
|
|
1840
1840
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
1841
1841
|
datetime: number | null;
|
|
1842
|
+
createdAt: number | null;
|
|
1843
|
+
updatedAt: number | null;
|
|
1844
|
+
proposal: string | null;
|
|
1842
1845
|
organizationId: string;
|
|
1843
1846
|
campaignId: string;
|
|
1844
1847
|
category: string | null;
|
|
1845
1848
|
uid: string | null;
|
|
1846
1849
|
questions: string[] | null;
|
|
1847
1850
|
occupation: string | null;
|
|
1848
|
-
createdAt: number | null;
|
|
1849
|
-
updatedAt: number | null;
|
|
1850
1851
|
questionAnswerPairs: {
|
|
1851
1852
|
answer: string;
|
|
1852
1853
|
question: string;
|
|
@@ -1854,9 +1855,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1854
1855
|
coverLetterTemplateId: string | null;
|
|
1855
1856
|
jobId: string;
|
|
1856
1857
|
clientReviews: {
|
|
1857
|
-
hourlyRate: number | null;
|
|
1858
|
-
jobTitle: string | null;
|
|
1859
1858
|
freelancerName: string | null;
|
|
1859
|
+
jobTitle: string | null;
|
|
1860
|
+
hourlyRate: number | null;
|
|
1860
1861
|
freelancerRating: number | null;
|
|
1861
1862
|
freelancerFeedback: string | null;
|
|
1862
1863
|
clientFeedback: string | null;
|
|
@@ -1910,8 +1911,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1910
1911
|
avg: number | null;
|
|
1911
1912
|
} | null;
|
|
1912
1913
|
jobActivity: {
|
|
1913
|
-
unansweredInvites: number | null;
|
|
1914
1914
|
updatedAt: number | null;
|
|
1915
|
+
unansweredInvites: number | null;
|
|
1915
1916
|
proposals: {
|
|
1916
1917
|
max: number | null;
|
|
1917
1918
|
min: number | null;
|
|
@@ -1926,7 +1927,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1926
1927
|
scrapedAt: number | null;
|
|
1927
1928
|
suitabilityRating: number | null;
|
|
1928
1929
|
suitabilityReason: string | null;
|
|
1929
|
-
proposal: string | null;
|
|
1930
1930
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1931
1931
|
leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
1932
1932
|
biddingAmount: number | null;
|
|
@@ -1969,8 +1969,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1969
1969
|
proposalId?: string | undefined;
|
|
1970
1970
|
wonAmount?: number | undefined;
|
|
1971
1971
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1972
|
-
unansweredInvites: number | null;
|
|
1973
1972
|
updatedAt: number | null;
|
|
1973
|
+
unansweredInvites: number | null;
|
|
1974
1974
|
proposals: {
|
|
1975
1975
|
max: number | null;
|
|
1976
1976
|
min: number | null;
|
|
@@ -2005,14 +2005,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2005
2005
|
description: string | null;
|
|
2006
2006
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
2007
2007
|
datetime: number | null;
|
|
2008
|
+
createdAt: number | null;
|
|
2009
|
+
updatedAt: number | null;
|
|
2010
|
+
proposal: string | null;
|
|
2008
2011
|
organizationId: string;
|
|
2009
2012
|
campaignId: string;
|
|
2010
2013
|
category: string | null;
|
|
2011
2014
|
uid: string | null;
|
|
2012
2015
|
questions: string[] | null;
|
|
2013
2016
|
occupation: string | null;
|
|
2014
|
-
createdAt: number | null;
|
|
2015
|
-
updatedAt: number | null;
|
|
2016
2017
|
questionAnswerPairs: {
|
|
2017
2018
|
answer: string;
|
|
2018
2019
|
question: string;
|
|
@@ -2020,9 +2021,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2020
2021
|
coverLetterTemplateId: string | null;
|
|
2021
2022
|
jobId: string;
|
|
2022
2023
|
clientReviews: {
|
|
2023
|
-
hourlyRate: number | null;
|
|
2024
|
-
jobTitle: string | null;
|
|
2025
2024
|
freelancerName: string | null;
|
|
2025
|
+
jobTitle: string | null;
|
|
2026
|
+
hourlyRate: number | null;
|
|
2026
2027
|
freelancerRating: number | null;
|
|
2027
2028
|
freelancerFeedback: string | null;
|
|
2028
2029
|
clientFeedback: string | null;
|
|
@@ -2076,8 +2077,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2076
2077
|
avg: number | null;
|
|
2077
2078
|
} | null;
|
|
2078
2079
|
jobActivity: {
|
|
2079
|
-
unansweredInvites: number | null;
|
|
2080
2080
|
updatedAt: number | null;
|
|
2081
|
+
unansweredInvites: number | null;
|
|
2081
2082
|
proposals: {
|
|
2082
2083
|
max: number | null;
|
|
2083
2084
|
min: number | null;
|
|
@@ -2092,7 +2093,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2092
2093
|
scrapedAt: number | null;
|
|
2093
2094
|
suitabilityRating: number | null;
|
|
2094
2095
|
suitabilityReason: string | null;
|
|
2095
|
-
proposal: string | null;
|
|
2096
2096
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2097
2097
|
leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
2098
2098
|
biddingAmount: number | null;
|
|
@@ -2135,8 +2135,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2135
2135
|
proposalId?: string | undefined;
|
|
2136
2136
|
wonAmount?: number | undefined;
|
|
2137
2137
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2138
|
-
unansweredInvites: number | null;
|
|
2139
2138
|
updatedAt: number | null;
|
|
2139
|
+
unansweredInvites: number | null;
|
|
2140
2140
|
proposals: {
|
|
2141
2141
|
max: number | null;
|
|
2142
2142
|
min: number | null;
|
|
@@ -2236,6 +2236,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2236
2236
|
email: string;
|
|
2237
2237
|
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2238
2238
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2239
|
+
createdAt: number;
|
|
2240
|
+
updatedAt: number;
|
|
2239
2241
|
userId: string | null;
|
|
2240
2242
|
password: string;
|
|
2241
2243
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -2264,8 +2266,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2264
2266
|
imageUrl: string;
|
|
2265
2267
|
}[] | null;
|
|
2266
2268
|
instanceId: string | null;
|
|
2267
|
-
createdAt: number;
|
|
2268
|
-
updatedAt: number;
|
|
2269
2269
|
errorMessage: string | null;
|
|
2270
2270
|
connectedToChat: boolean | null;
|
|
2271
2271
|
failedToRefreshRooms: boolean | null;
|
|
@@ -2281,6 +2281,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2281
2281
|
email: string;
|
|
2282
2282
|
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2283
2283
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2284
|
+
createdAt: number;
|
|
2285
|
+
updatedAt: number;
|
|
2284
2286
|
userId: string | null;
|
|
2285
2287
|
password: string;
|
|
2286
2288
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -2309,8 +2311,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2309
2311
|
imageUrl: string;
|
|
2310
2312
|
}[] | null;
|
|
2311
2313
|
instanceId: string | null;
|
|
2312
|
-
createdAt: number;
|
|
2313
|
-
updatedAt: number;
|
|
2314
2314
|
errorMessage: string | null;
|
|
2315
2315
|
connectedToChat: boolean | null;
|
|
2316
2316
|
failedToRefreshRooms: boolean | null;
|
|
@@ -2406,14 +2406,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2406
2406
|
description: string | null;
|
|
2407
2407
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
2408
2408
|
datetime: number | null;
|
|
2409
|
+
createdAt: number | null;
|
|
2410
|
+
updatedAt: number | null;
|
|
2411
|
+
proposal: string | null;
|
|
2409
2412
|
organizationId: string;
|
|
2410
2413
|
campaignId: string;
|
|
2411
2414
|
category: string | null;
|
|
2412
2415
|
uid: string | null;
|
|
2413
2416
|
questions: string[] | null;
|
|
2414
2417
|
occupation: string | null;
|
|
2415
|
-
createdAt: number | null;
|
|
2416
|
-
updatedAt: number | null;
|
|
2417
2418
|
questionAnswerPairs: {
|
|
2418
2419
|
answer: string;
|
|
2419
2420
|
question: string;
|
|
@@ -2421,9 +2422,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2421
2422
|
coverLetterTemplateId: string | null;
|
|
2422
2423
|
jobId: string;
|
|
2423
2424
|
clientReviews: {
|
|
2424
|
-
hourlyRate: number | null;
|
|
2425
|
-
jobTitle: string | null;
|
|
2426
2425
|
freelancerName: string | null;
|
|
2426
|
+
jobTitle: string | null;
|
|
2427
|
+
hourlyRate: number | null;
|
|
2427
2428
|
freelancerRating: number | null;
|
|
2428
2429
|
freelancerFeedback: string | null;
|
|
2429
2430
|
clientFeedback: string | null;
|
|
@@ -2477,8 +2478,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2477
2478
|
avg: number | null;
|
|
2478
2479
|
} | null;
|
|
2479
2480
|
jobActivity: {
|
|
2480
|
-
unansweredInvites: number | null;
|
|
2481
2481
|
updatedAt: number | null;
|
|
2482
|
+
unansweredInvites: number | null;
|
|
2482
2483
|
proposals: {
|
|
2483
2484
|
max: number | null;
|
|
2484
2485
|
min: number | null;
|
|
@@ -2493,7 +2494,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2493
2494
|
scrapedAt: number | null;
|
|
2494
2495
|
suitabilityRating: number | null;
|
|
2495
2496
|
suitabilityReason: string | null;
|
|
2496
|
-
proposal: string | null;
|
|
2497
2497
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2498
2498
|
leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
2499
2499
|
biddingAmount: number | null;
|
|
@@ -2536,8 +2536,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2536
2536
|
proposalId?: string | undefined;
|
|
2537
2537
|
wonAmount?: number | undefined;
|
|
2538
2538
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2539
|
-
unansweredInvites: number | null;
|
|
2540
2539
|
updatedAt: number | null;
|
|
2540
|
+
unansweredInvites: number | null;
|
|
2541
2541
|
proposals: {
|
|
2542
2542
|
max: number | null;
|
|
2543
2543
|
min: number | null;
|
|
@@ -2688,6 +2688,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2688
2688
|
email: string;
|
|
2689
2689
|
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2690
2690
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2691
|
+
createdAt: number;
|
|
2692
|
+
updatedAt: number;
|
|
2691
2693
|
userId: string | null;
|
|
2692
2694
|
password: string;
|
|
2693
2695
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -2716,8 +2718,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2716
2718
|
imageUrl: string;
|
|
2717
2719
|
}[] | null;
|
|
2718
2720
|
instanceId: string | null;
|
|
2719
|
-
createdAt: number;
|
|
2720
|
-
updatedAt: number;
|
|
2721
2721
|
errorMessage: string | null;
|
|
2722
2722
|
connectedToChat: boolean | null;
|
|
2723
2723
|
failedToRefreshRooms: boolean | null;
|
|
@@ -2813,14 +2813,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2813
2813
|
description: string | null;
|
|
2814
2814
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
2815
2815
|
datetime: number | null;
|
|
2816
|
+
createdAt: number | null;
|
|
2817
|
+
updatedAt: number | null;
|
|
2818
|
+
proposal: string | null;
|
|
2816
2819
|
organizationId: string;
|
|
2817
2820
|
campaignId: string;
|
|
2818
2821
|
category: string | null;
|
|
2819
2822
|
uid: string | null;
|
|
2820
2823
|
questions: string[] | null;
|
|
2821
2824
|
occupation: string | null;
|
|
2822
|
-
createdAt: number | null;
|
|
2823
|
-
updatedAt: number | null;
|
|
2824
2825
|
questionAnswerPairs: {
|
|
2825
2826
|
answer: string;
|
|
2826
2827
|
question: string;
|
|
@@ -2828,9 +2829,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2828
2829
|
coverLetterTemplateId: string | null;
|
|
2829
2830
|
jobId: string;
|
|
2830
2831
|
clientReviews: {
|
|
2831
|
-
hourlyRate: number | null;
|
|
2832
|
-
jobTitle: string | null;
|
|
2833
2832
|
freelancerName: string | null;
|
|
2833
|
+
jobTitle: string | null;
|
|
2834
|
+
hourlyRate: number | null;
|
|
2834
2835
|
freelancerRating: number | null;
|
|
2835
2836
|
freelancerFeedback: string | null;
|
|
2836
2837
|
clientFeedback: string | null;
|
|
@@ -2884,8 +2885,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2884
2885
|
avg: number | null;
|
|
2885
2886
|
} | null;
|
|
2886
2887
|
jobActivity: {
|
|
2887
|
-
unansweredInvites: number | null;
|
|
2888
2888
|
updatedAt: number | null;
|
|
2889
|
+
unansweredInvites: number | null;
|
|
2889
2890
|
proposals: {
|
|
2890
2891
|
max: number | null;
|
|
2891
2892
|
min: number | null;
|
|
@@ -2900,7 +2901,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2900
2901
|
scrapedAt: number | null;
|
|
2901
2902
|
suitabilityRating: number | null;
|
|
2902
2903
|
suitabilityReason: string | null;
|
|
2903
|
-
proposal: string | null;
|
|
2904
2904
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2905
2905
|
leadStatus: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won" | null;
|
|
2906
2906
|
biddingAmount: number | null;
|
|
@@ -2943,8 +2943,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2943
2943
|
proposalId?: string | undefined;
|
|
2944
2944
|
wonAmount?: number | undefined;
|
|
2945
2945
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2946
|
-
unansweredInvites: number | null;
|
|
2947
2946
|
updatedAt: number | null;
|
|
2947
|
+
unansweredInvites: number | null;
|
|
2948
2948
|
proposals: {
|
|
2949
2949
|
max: number | null;
|
|
2950
2950
|
min: number | null;
|
|
@@ -3095,6 +3095,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3095
3095
|
email: string;
|
|
3096
3096
|
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
3097
3097
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
3098
|
+
createdAt: number;
|
|
3099
|
+
updatedAt: number;
|
|
3098
3100
|
userId: string | null;
|
|
3099
3101
|
password: string;
|
|
3100
3102
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -3123,8 +3125,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3123
3125
|
imageUrl: string;
|
|
3124
3126
|
}[] | null;
|
|
3125
3127
|
instanceId: string | null;
|
|
3126
|
-
createdAt: number;
|
|
3127
|
-
updatedAt: number;
|
|
3128
3128
|
errorMessage: string | null;
|
|
3129
3129
|
connectedToChat: boolean | null;
|
|
3130
3130
|
failedToRefreshRooms: boolean | null;
|
|
@@ -154,9 +154,9 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
154
154
|
numHours: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
155
155
|
totalBilled: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
156
156
|
}, "strip", import("zod").ZodTypeAny, {
|
|
157
|
-
hourlyRate: number | null;
|
|
158
|
-
jobTitle: string | null;
|
|
159
157
|
freelancerName: string | null;
|
|
158
|
+
jobTitle: string | null;
|
|
159
|
+
hourlyRate: number | null;
|
|
160
160
|
freelancerRating: number | null;
|
|
161
161
|
freelancerFeedback: string | null;
|
|
162
162
|
clientFeedback: string | null;
|
|
@@ -167,9 +167,9 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
167
167
|
numHours: number | null;
|
|
168
168
|
totalBilled: number | null;
|
|
169
169
|
}, {
|
|
170
|
-
hourlyRate: number | null;
|
|
171
|
-
jobTitle: string | null;
|
|
172
170
|
freelancerName: string | null;
|
|
171
|
+
jobTitle: string | null;
|
|
172
|
+
hourlyRate: number | null;
|
|
173
173
|
freelancerRating: number | null;
|
|
174
174
|
freelancerFeedback: string | null;
|
|
175
175
|
clientFeedback: string | null;
|
|
@@ -213,8 +213,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
213
213
|
unansweredInvites: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
214
214
|
updatedAt: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
215
215
|
}, "strip", import("zod").ZodTypeAny, {
|
|
216
|
-
unansweredInvites: number | null;
|
|
217
216
|
updatedAt: number | null;
|
|
217
|
+
unansweredInvites: number | null;
|
|
218
218
|
proposals: {
|
|
219
219
|
max: number | null;
|
|
220
220
|
min: number | null;
|
|
@@ -225,8 +225,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
225
225
|
interviewing: number | null;
|
|
226
226
|
invitesSent: number | null;
|
|
227
227
|
}, {
|
|
228
|
-
unansweredInvites: number | null;
|
|
229
228
|
updatedAt: number | null;
|
|
229
|
+
unansweredInvites: number | null;
|
|
230
230
|
proposals: {
|
|
231
231
|
max: number | null;
|
|
232
232
|
min: number | null;
|
|
@@ -258,8 +258,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
258
258
|
unansweredInvites: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
259
259
|
updatedAt: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
260
260
|
}, "strip", import("zod").ZodTypeAny, {
|
|
261
|
-
unansweredInvites: number | null;
|
|
262
261
|
updatedAt: number | null;
|
|
262
|
+
unansweredInvites: number | null;
|
|
263
263
|
proposals: {
|
|
264
264
|
max: number | null;
|
|
265
265
|
min: number | null;
|
|
@@ -270,8 +270,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
270
270
|
interviewing: number | null;
|
|
271
271
|
invitesSent: number | null;
|
|
272
272
|
}, {
|
|
273
|
-
unansweredInvites: number | null;
|
|
274
273
|
updatedAt: number | null;
|
|
274
|
+
unansweredInvites: number | null;
|
|
275
275
|
proposals: {
|
|
276
276
|
max: number | null;
|
|
277
277
|
min: number | null;
|
|
@@ -318,15 +318,15 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
318
318
|
description: string | null;
|
|
319
319
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
320
320
|
datetime: number | null;
|
|
321
|
+
createdAt: number | null;
|
|
321
322
|
category: string | null;
|
|
322
323
|
uid: string | null;
|
|
323
324
|
questions: string[] | null;
|
|
324
325
|
occupation: string | null;
|
|
325
|
-
createdAt: number | null;
|
|
326
326
|
clientReviews: {
|
|
327
|
-
hourlyRate: number | null;
|
|
328
|
-
jobTitle: string | null;
|
|
329
327
|
freelancerName: string | null;
|
|
328
|
+
jobTitle: string | null;
|
|
329
|
+
hourlyRate: number | null;
|
|
330
330
|
freelancerRating: number | null;
|
|
331
331
|
freelancerFeedback: string | null;
|
|
332
332
|
clientFeedback: string | null;
|
|
@@ -381,8 +381,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
381
381
|
avg: number | null;
|
|
382
382
|
} | null;
|
|
383
383
|
jobActivity: {
|
|
384
|
-
unansweredInvites: number | null;
|
|
385
384
|
updatedAt: number | null;
|
|
385
|
+
unansweredInvites: number | null;
|
|
386
386
|
proposals: {
|
|
387
387
|
max: number | null;
|
|
388
388
|
min: number | null;
|
|
@@ -395,8 +395,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
395
395
|
} | null;
|
|
396
396
|
activityUpdates: 2 | 1 | 3 | null;
|
|
397
397
|
activity?: Partial<Record<"4h" | "24h", {
|
|
398
|
-
unansweredInvites: number | null;
|
|
399
398
|
updatedAt: number | null;
|
|
399
|
+
unansweredInvites: number | null;
|
|
400
400
|
proposals: {
|
|
401
401
|
max: number | null;
|
|
402
402
|
min: number | null;
|
|
@@ -431,15 +431,15 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
431
431
|
description: string | null;
|
|
432
432
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
433
433
|
datetime: number | null;
|
|
434
|
+
createdAt: number | null;
|
|
434
435
|
category: string | null;
|
|
435
436
|
uid: string | null;
|
|
436
437
|
questions: string[] | null;
|
|
437
438
|
occupation: string | null;
|
|
438
|
-
createdAt: number | null;
|
|
439
439
|
clientReviews: {
|
|
440
|
-
hourlyRate: number | null;
|
|
441
|
-
jobTitle: string | null;
|
|
442
440
|
freelancerName: string | null;
|
|
441
|
+
jobTitle: string | null;
|
|
442
|
+
hourlyRate: number | null;
|
|
443
443
|
freelancerRating: number | null;
|
|
444
444
|
freelancerFeedback: string | null;
|
|
445
445
|
clientFeedback: string | null;
|
|
@@ -494,8 +494,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
494
494
|
avg: number | null;
|
|
495
495
|
} | null;
|
|
496
496
|
jobActivity: {
|
|
497
|
-
unansweredInvites: number | null;
|
|
498
497
|
updatedAt: number | null;
|
|
498
|
+
unansweredInvites: number | null;
|
|
499
499
|
proposals: {
|
|
500
500
|
max: number | null;
|
|
501
501
|
min: number | null;
|
|
@@ -508,8 +508,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
508
508
|
} | null;
|
|
509
509
|
activityUpdates: 2 | 1 | 3 | null;
|
|
510
510
|
activity?: Partial<Record<"4h" | "24h", {
|
|
511
|
-
unansweredInvites: number | null;
|
|
512
511
|
updatedAt: number | null;
|
|
512
|
+
unansweredInvites: number | null;
|
|
513
513
|
proposals: {
|
|
514
514
|
max: number | null;
|
|
515
515
|
min: number | null;
|
|
@@ -550,15 +550,15 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
550
550
|
description: string | null;
|
|
551
551
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
552
552
|
datetime: number | null;
|
|
553
|
+
createdAt: number | null;
|
|
553
554
|
category: string | null;
|
|
554
555
|
uid: string | null;
|
|
555
556
|
questions: string[] | null;
|
|
556
557
|
occupation: string | null;
|
|
557
|
-
createdAt: number | null;
|
|
558
558
|
clientReviews: {
|
|
559
|
-
hourlyRate: number | null;
|
|
560
|
-
jobTitle: string | null;
|
|
561
559
|
freelancerName: string | null;
|
|
560
|
+
jobTitle: string | null;
|
|
561
|
+
hourlyRate: number | null;
|
|
562
562
|
freelancerRating: number | null;
|
|
563
563
|
freelancerFeedback: string | null;
|
|
564
564
|
clientFeedback: string | null;
|
|
@@ -613,8 +613,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
613
613
|
avg: number | null;
|
|
614
614
|
} | null;
|
|
615
615
|
jobActivity: {
|
|
616
|
-
unansweredInvites: number | null;
|
|
617
616
|
updatedAt: number | null;
|
|
617
|
+
unansweredInvites: number | null;
|
|
618
618
|
proposals: {
|
|
619
619
|
max: number | null;
|
|
620
620
|
min: number | null;
|
|
@@ -627,8 +627,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
627
627
|
} | null;
|
|
628
628
|
activityUpdates: 2 | 1 | 3 | null;
|
|
629
629
|
activity?: Partial<Record<"4h" | "24h", {
|
|
630
|
-
unansweredInvites: number | null;
|
|
631
630
|
updatedAt: number | null;
|
|
631
|
+
unansweredInvites: number | null;
|
|
632
632
|
proposals: {
|
|
633
633
|
max: number | null;
|
|
634
634
|
min: number | null;
|
|
@@ -668,15 +668,15 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
668
668
|
description: string | null;
|
|
669
669
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
670
670
|
datetime: number | null;
|
|
671
|
+
createdAt: number | null;
|
|
671
672
|
category: string | null;
|
|
672
673
|
uid: string | null;
|
|
673
674
|
questions: string[] | null;
|
|
674
675
|
occupation: string | null;
|
|
675
|
-
createdAt: number | null;
|
|
676
676
|
clientReviews: {
|
|
677
|
-
hourlyRate: number | null;
|
|
678
|
-
jobTitle: string | null;
|
|
679
677
|
freelancerName: string | null;
|
|
678
|
+
jobTitle: string | null;
|
|
679
|
+
hourlyRate: number | null;
|
|
680
680
|
freelancerRating: number | null;
|
|
681
681
|
freelancerFeedback: string | null;
|
|
682
682
|
clientFeedback: string | null;
|
|
@@ -731,8 +731,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
731
731
|
avg: number | null;
|
|
732
732
|
} | null;
|
|
733
733
|
jobActivity: {
|
|
734
|
-
unansweredInvites: number | null;
|
|
735
734
|
updatedAt: number | null;
|
|
735
|
+
unansweredInvites: number | null;
|
|
736
736
|
proposals: {
|
|
737
737
|
max: number | null;
|
|
738
738
|
min: number | null;
|
|
@@ -745,8 +745,8 @@ export declare const scrapeResultSchema: import("zod").ZodObject<{
|
|
|
745
745
|
} | null;
|
|
746
746
|
activityUpdates: 2 | 1 | 3 | null;
|
|
747
747
|
activity?: Partial<Record<"4h" | "24h", {
|
|
748
|
-
unansweredInvites: number | null;
|
|
749
748
|
updatedAt: number | null;
|
|
749
|
+
unansweredInvites: number | null;
|
|
750
750
|
proposals: {
|
|
751
751
|
max: number | null;
|
|
752
752
|
min: number | null;
|
|
@@ -70,6 +70,7 @@ export declare const transactionSchema: z.ZodObject<{
|
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
type: "subscription" | "add-on" | "refund";
|
|
72
72
|
status: "failed" | "succeeded" | "refunded";
|
|
73
|
+
orgId: string;
|
|
73
74
|
stripe: {
|
|
74
75
|
invoice: {
|
|
75
76
|
id: string | null;
|
|
@@ -78,12 +79,12 @@ export declare const transactionSchema: z.ZodObject<{
|
|
|
78
79
|
id: string | null;
|
|
79
80
|
};
|
|
80
81
|
};
|
|
81
|
-
orgId: string;
|
|
82
82
|
timestamp: number;
|
|
83
83
|
amountUsd: number;
|
|
84
84
|
}, {
|
|
85
85
|
type: "subscription" | "add-on" | "refund";
|
|
86
86
|
status: "failed" | "succeeded" | "refunded";
|
|
87
|
+
orgId: string;
|
|
87
88
|
stripe: {
|
|
88
89
|
invoice: {
|
|
89
90
|
id: string | null;
|
|
@@ -92,7 +93,6 @@ export declare const transactionSchema: z.ZodObject<{
|
|
|
92
93
|
id: string | null;
|
|
93
94
|
};
|
|
94
95
|
};
|
|
95
|
-
orgId: string;
|
|
96
96
|
timestamp: number;
|
|
97
97
|
amountUsd: number;
|
|
98
98
|
}>;
|
|
@@ -187,13 +187,13 @@ export declare const upworkTalentSearchRequestSchema: z.ZodObject<{
|
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
page?: number | null | undefined;
|
|
189
189
|
country?: string | null | undefined;
|
|
190
|
+
limit?: number | null | undefined;
|
|
190
191
|
sortOrder?: "desc" | "asc" | null | undefined;
|
|
191
192
|
skill?: string | null | undefined;
|
|
192
193
|
minJobSuccessScore?: number | null | undefined;
|
|
193
194
|
searchQuery?: string | null | undefined;
|
|
194
195
|
minHourlyRate?: number | null | undefined;
|
|
195
196
|
maxHourlyRate?: number | null | undefined;
|
|
196
|
-
limit?: number | null | undefined;
|
|
197
197
|
badge?: "top_rated_plus" | "top_rated" | "rising_talent" | null | undefined;
|
|
198
198
|
isVetted?: boolean | null | undefined;
|
|
199
199
|
sortBy?: string | null | undefined;
|
|
@@ -204,13 +204,13 @@ export declare const upworkTalentSearchRequestSchema: z.ZodObject<{
|
|
|
204
204
|
}, {
|
|
205
205
|
page?: number | null | undefined;
|
|
206
206
|
country?: string | null | undefined;
|
|
207
|
+
limit?: number | null | undefined;
|
|
207
208
|
sortOrder?: "desc" | "asc" | null | undefined;
|
|
208
209
|
skill?: string | null | undefined;
|
|
209
210
|
minJobSuccessScore?: number | null | undefined;
|
|
210
211
|
searchQuery?: string | null | undefined;
|
|
211
212
|
minHourlyRate?: number | null | undefined;
|
|
212
213
|
maxHourlyRate?: number | null | undefined;
|
|
213
|
-
limit?: number | null | undefined;
|
|
214
214
|
badge?: "top_rated_plus" | "top_rated" | "rising_talent" | null | undefined;
|
|
215
215
|
isVetted?: boolean | null | undefined;
|
|
216
216
|
sortBy?: string | null | undefined;
|
|
@@ -55,16 +55,16 @@ export declare const periodUsageSchema: z.ZodObject<{
|
|
|
55
55
|
}>;
|
|
56
56
|
lastUpdated: z.ZodNumber;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
usedCredits: number;
|
|
59
58
|
lastUpdated: number;
|
|
59
|
+
usedCredits: number;
|
|
60
60
|
breakdown: {
|
|
61
61
|
proposal: number;
|
|
62
62
|
suitability: number;
|
|
63
63
|
bidding: number;
|
|
64
64
|
};
|
|
65
65
|
}, {
|
|
66
|
-
usedCredits: number;
|
|
67
66
|
lastUpdated: number;
|
|
67
|
+
usedCredits: number;
|
|
68
68
|
breakdown: {
|
|
69
69
|
proposal: number;
|
|
70
70
|
suitability: number;
|