lancer-shared 1.0.54 → 1.0.55
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.
|
@@ -431,6 +431,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
431
431
|
invitesSent: number | null;
|
|
432
432
|
unansweredInvites: number | null;
|
|
433
433
|
}>>;
|
|
434
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
434
435
|
}, "strip", z.ZodTypeAny, {
|
|
435
436
|
id: string | null;
|
|
436
437
|
title: string | null;
|
|
@@ -517,6 +518,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
517
518
|
invitesSent: number | null;
|
|
518
519
|
unansweredInvites: number | null;
|
|
519
520
|
} | null;
|
|
521
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
520
522
|
}, {
|
|
521
523
|
id: string | null;
|
|
522
524
|
title: string | null;
|
|
@@ -603,6 +605,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
603
605
|
invitesSent: number | null;
|
|
604
606
|
unansweredInvites: number | null;
|
|
605
607
|
} | null;
|
|
608
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
606
609
|
}>;
|
|
607
610
|
export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
608
611
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -828,6 +831,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
828
831
|
invitesSent: number | null;
|
|
829
832
|
unansweredInvites: number | null;
|
|
830
833
|
}>>;
|
|
834
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
831
835
|
}, {
|
|
832
836
|
jobId: z.ZodString;
|
|
833
837
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -968,6 +972,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
968
972
|
invitesSent: number | null;
|
|
969
973
|
unansweredInvites: number | null;
|
|
970
974
|
} | null;
|
|
975
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
971
976
|
suitabilityRating: number | null;
|
|
972
977
|
suitabilityReason: string | null;
|
|
973
978
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1078,6 +1083,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
1078
1083
|
invitesSent: number | null;
|
|
1079
1084
|
unansweredInvites: number | null;
|
|
1080
1085
|
} | null;
|
|
1086
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1081
1087
|
suitabilityRating: number | null;
|
|
1082
1088
|
suitabilityReason: string | null;
|
|
1083
1089
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1341,6 +1347,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1341
1347
|
invitesSent: number | null;
|
|
1342
1348
|
unansweredInvites: number | null;
|
|
1343
1349
|
}>>;
|
|
1350
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1344
1351
|
}, {
|
|
1345
1352
|
jobId: z.ZodString;
|
|
1346
1353
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1481,6 +1488,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1481
1488
|
invitesSent: number | null;
|
|
1482
1489
|
unansweredInvites: number | null;
|
|
1483
1490
|
} | null;
|
|
1491
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1484
1492
|
suitabilityRating: number | null;
|
|
1485
1493
|
suitabilityReason: string | null;
|
|
1486
1494
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1591,6 +1599,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1591
1599
|
invitesSent: number | null;
|
|
1592
1600
|
unansweredInvites: number | null;
|
|
1593
1601
|
} | null;
|
|
1602
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1594
1603
|
suitabilityRating: number | null;
|
|
1595
1604
|
suitabilityReason: string | null;
|
|
1596
1605
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1706,6 +1715,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1706
1715
|
invitesSent: number | null;
|
|
1707
1716
|
unansweredInvites: number | null;
|
|
1708
1717
|
} | null;
|
|
1718
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1709
1719
|
suitabilityRating: number | null;
|
|
1710
1720
|
suitabilityReason: string | null;
|
|
1711
1721
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1821,6 +1831,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1821
1831
|
invitesSent: number | null;
|
|
1822
1832
|
unansweredInvites: number | null;
|
|
1823
1833
|
} | null;
|
|
1834
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1824
1835
|
suitabilityRating: number | null;
|
|
1825
1836
|
suitabilityReason: string | null;
|
|
1826
1837
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -101,6 +101,10 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
101
101
|
region: scraper_1.regionSchema.nullable(),
|
|
102
102
|
bidRange: exports.bidRangeSchema.nullable(),
|
|
103
103
|
jobActivity: exports.jobActivitySchema.nullable(),
|
|
104
|
+
activityUpdates: zod_1.z
|
|
105
|
+
// 1 = First scraping, 2 = After 4h, 3 = After 24h
|
|
106
|
+
.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)])
|
|
107
|
+
.nullable(),
|
|
104
108
|
});
|
|
105
109
|
exports.leadSchema = exports.upworkJobSchema
|
|
106
110
|
.extend({
|
|
@@ -225,6 +225,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
225
225
|
invitesSent: number | null;
|
|
226
226
|
unansweredInvites: number | null;
|
|
227
227
|
}>>;
|
|
228
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
228
229
|
}, "strip", z.ZodTypeAny, {
|
|
229
230
|
id: string | null;
|
|
230
231
|
title: string | null;
|
|
@@ -311,6 +312,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
311
312
|
invitesSent: number | null;
|
|
312
313
|
unansweredInvites: number | null;
|
|
313
314
|
} | null;
|
|
315
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
314
316
|
}, {
|
|
315
317
|
id: string | null;
|
|
316
318
|
title: string | null;
|
|
@@ -397,6 +399,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
397
399
|
invitesSent: number | null;
|
|
398
400
|
unansweredInvites: number | null;
|
|
399
401
|
} | null;
|
|
402
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
400
403
|
}>, "many">;
|
|
401
404
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
402
405
|
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
@@ -491,6 +494,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
491
494
|
invitesSent: number | null;
|
|
492
495
|
unansweredInvites: number | null;
|
|
493
496
|
} | null;
|
|
497
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
494
498
|
}[];
|
|
495
499
|
usAccountCookies?: any[] | undefined;
|
|
496
500
|
ukAccountCookies?: any[] | undefined;
|
|
@@ -583,6 +587,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
583
587
|
invitesSent: number | null;
|
|
584
588
|
unansweredInvites: number | null;
|
|
585
589
|
} | null;
|
|
590
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
586
591
|
}[];
|
|
587
592
|
usAccountCookies?: any[] | undefined;
|
|
588
593
|
ukAccountCookies?: any[] | undefined;
|