lancer-shared 1.0.53 → 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.
|
@@ -145,6 +145,7 @@ export declare const jobActivitySchema: z.ZodObject<{
|
|
|
145
145
|
min: number | null;
|
|
146
146
|
}>;
|
|
147
147
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
148
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
148
149
|
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
149
150
|
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
150
151
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
@@ -154,6 +155,7 @@ export declare const jobActivitySchema: z.ZodObject<{
|
|
|
154
155
|
min: number | null;
|
|
155
156
|
};
|
|
156
157
|
lastViewedByClient: string | null;
|
|
158
|
+
hires: number | null;
|
|
157
159
|
interviewing: number | null;
|
|
158
160
|
invitesSent: number | null;
|
|
159
161
|
unansweredInvites: number | null;
|
|
@@ -163,6 +165,7 @@ export declare const jobActivitySchema: z.ZodObject<{
|
|
|
163
165
|
min: number | null;
|
|
164
166
|
};
|
|
165
167
|
lastViewedByClient: string | null;
|
|
168
|
+
hires: number | null;
|
|
166
169
|
interviewing: number | null;
|
|
167
170
|
invitesSent: number | null;
|
|
168
171
|
unansweredInvites: number | null;
|
|
@@ -403,6 +406,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
403
406
|
min: number | null;
|
|
404
407
|
}>;
|
|
405
408
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
409
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
406
410
|
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
407
411
|
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
408
412
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
@@ -412,6 +416,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
412
416
|
min: number | null;
|
|
413
417
|
};
|
|
414
418
|
lastViewedByClient: string | null;
|
|
419
|
+
hires: number | null;
|
|
415
420
|
interviewing: number | null;
|
|
416
421
|
invitesSent: number | null;
|
|
417
422
|
unansweredInvites: number | null;
|
|
@@ -421,10 +426,12 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
421
426
|
min: number | null;
|
|
422
427
|
};
|
|
423
428
|
lastViewedByClient: string | null;
|
|
429
|
+
hires: number | null;
|
|
424
430
|
interviewing: number | null;
|
|
425
431
|
invitesSent: number | null;
|
|
426
432
|
unansweredInvites: number | null;
|
|
427
433
|
}>>;
|
|
434
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
428
435
|
}, "strip", z.ZodTypeAny, {
|
|
429
436
|
id: string | null;
|
|
430
437
|
title: string | null;
|
|
@@ -506,10 +513,12 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
506
513
|
min: number | null;
|
|
507
514
|
};
|
|
508
515
|
lastViewedByClient: string | null;
|
|
516
|
+
hires: number | null;
|
|
509
517
|
interviewing: number | null;
|
|
510
518
|
invitesSent: number | null;
|
|
511
519
|
unansweredInvites: number | null;
|
|
512
520
|
} | null;
|
|
521
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
513
522
|
}, {
|
|
514
523
|
id: string | null;
|
|
515
524
|
title: string | null;
|
|
@@ -591,10 +600,12 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
591
600
|
min: number | null;
|
|
592
601
|
};
|
|
593
602
|
lastViewedByClient: string | null;
|
|
603
|
+
hires: number | null;
|
|
594
604
|
interviewing: number | null;
|
|
595
605
|
invitesSent: number | null;
|
|
596
606
|
unansweredInvites: number | null;
|
|
597
607
|
} | null;
|
|
608
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
598
609
|
}>;
|
|
599
610
|
export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
600
611
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -795,6 +806,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
795
806
|
min: number | null;
|
|
796
807
|
}>;
|
|
797
808
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
809
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
798
810
|
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
799
811
|
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
800
812
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
@@ -804,6 +816,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
804
816
|
min: number | null;
|
|
805
817
|
};
|
|
806
818
|
lastViewedByClient: string | null;
|
|
819
|
+
hires: number | null;
|
|
807
820
|
interviewing: number | null;
|
|
808
821
|
invitesSent: number | null;
|
|
809
822
|
unansweredInvites: number | null;
|
|
@@ -813,10 +826,12 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
813
826
|
min: number | null;
|
|
814
827
|
};
|
|
815
828
|
lastViewedByClient: string | null;
|
|
829
|
+
hires: number | null;
|
|
816
830
|
interviewing: number | null;
|
|
817
831
|
invitesSent: number | null;
|
|
818
832
|
unansweredInvites: number | null;
|
|
819
833
|
}>>;
|
|
834
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
820
835
|
}, {
|
|
821
836
|
jobId: z.ZodString;
|
|
822
837
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -952,10 +967,12 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
952
967
|
min: number | null;
|
|
953
968
|
};
|
|
954
969
|
lastViewedByClient: string | null;
|
|
970
|
+
hires: number | null;
|
|
955
971
|
interviewing: number | null;
|
|
956
972
|
invitesSent: number | null;
|
|
957
973
|
unansweredInvites: number | null;
|
|
958
974
|
} | null;
|
|
975
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
959
976
|
suitabilityRating: number | null;
|
|
960
977
|
suitabilityReason: string | null;
|
|
961
978
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1061,10 +1078,12 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
1061
1078
|
min: number | null;
|
|
1062
1079
|
};
|
|
1063
1080
|
lastViewedByClient: string | null;
|
|
1081
|
+
hires: number | null;
|
|
1064
1082
|
interviewing: number | null;
|
|
1065
1083
|
invitesSent: number | null;
|
|
1066
1084
|
unansweredInvites: number | null;
|
|
1067
1085
|
} | null;
|
|
1086
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1068
1087
|
suitabilityRating: number | null;
|
|
1069
1088
|
suitabilityReason: string | null;
|
|
1070
1089
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1303,6 +1322,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1303
1322
|
min: number | null;
|
|
1304
1323
|
}>;
|
|
1305
1324
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
1325
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
1306
1326
|
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
1307
1327
|
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
1308
1328
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1312,6 +1332,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1312
1332
|
min: number | null;
|
|
1313
1333
|
};
|
|
1314
1334
|
lastViewedByClient: string | null;
|
|
1335
|
+
hires: number | null;
|
|
1315
1336
|
interviewing: number | null;
|
|
1316
1337
|
invitesSent: number | null;
|
|
1317
1338
|
unansweredInvites: number | null;
|
|
@@ -1321,10 +1342,12 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1321
1342
|
min: number | null;
|
|
1322
1343
|
};
|
|
1323
1344
|
lastViewedByClient: string | null;
|
|
1345
|
+
hires: number | null;
|
|
1324
1346
|
interviewing: number | null;
|
|
1325
1347
|
invitesSent: number | null;
|
|
1326
1348
|
unansweredInvites: number | null;
|
|
1327
1349
|
}>>;
|
|
1350
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1328
1351
|
}, {
|
|
1329
1352
|
jobId: z.ZodString;
|
|
1330
1353
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1460,10 +1483,12 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1460
1483
|
min: number | null;
|
|
1461
1484
|
};
|
|
1462
1485
|
lastViewedByClient: string | null;
|
|
1486
|
+
hires: number | null;
|
|
1463
1487
|
interviewing: number | null;
|
|
1464
1488
|
invitesSent: number | null;
|
|
1465
1489
|
unansweredInvites: number | null;
|
|
1466
1490
|
} | null;
|
|
1491
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1467
1492
|
suitabilityRating: number | null;
|
|
1468
1493
|
suitabilityReason: string | null;
|
|
1469
1494
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1569,10 +1594,12 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1569
1594
|
min: number | null;
|
|
1570
1595
|
};
|
|
1571
1596
|
lastViewedByClient: string | null;
|
|
1597
|
+
hires: number | null;
|
|
1572
1598
|
interviewing: number | null;
|
|
1573
1599
|
invitesSent: number | null;
|
|
1574
1600
|
unansweredInvites: number | null;
|
|
1575
1601
|
} | null;
|
|
1602
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1576
1603
|
suitabilityRating: number | null;
|
|
1577
1604
|
suitabilityReason: string | null;
|
|
1578
1605
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1683,10 +1710,12 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1683
1710
|
min: number | null;
|
|
1684
1711
|
};
|
|
1685
1712
|
lastViewedByClient: string | null;
|
|
1713
|
+
hires: number | null;
|
|
1686
1714
|
interviewing: number | null;
|
|
1687
1715
|
invitesSent: number | null;
|
|
1688
1716
|
unansweredInvites: number | null;
|
|
1689
1717
|
} | null;
|
|
1718
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1690
1719
|
suitabilityRating: number | null;
|
|
1691
1720
|
suitabilityReason: string | null;
|
|
1692
1721
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1797,10 +1826,12 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1797
1826
|
min: number | null;
|
|
1798
1827
|
};
|
|
1799
1828
|
lastViewedByClient: string | null;
|
|
1829
|
+
hires: number | null;
|
|
1800
1830
|
interviewing: number | null;
|
|
1801
1831
|
invitesSent: number | null;
|
|
1802
1832
|
unansweredInvites: number | null;
|
|
1803
1833
|
} | null;
|
|
1834
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
1804
1835
|
suitabilityRating: number | null;
|
|
1805
1836
|
suitabilityReason: string | null;
|
|
1806
1837
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -60,6 +60,7 @@ exports.jobActivitySchema = zod_1.z.object({
|
|
|
60
60
|
max: zod_1.z.number().nullable(),
|
|
61
61
|
}),
|
|
62
62
|
lastViewedByClient: zod_1.z.string().nullable(),
|
|
63
|
+
hires: zod_1.z.number().nullable(),
|
|
63
64
|
interviewing: zod_1.z.number().nullable(),
|
|
64
65
|
invitesSent: zod_1.z.number().nullable(),
|
|
65
66
|
unansweredInvites: zod_1.z.number().nullable(),
|
|
@@ -100,6 +101,10 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
100
101
|
region: scraper_1.regionSchema.nullable(),
|
|
101
102
|
bidRange: exports.bidRangeSchema.nullable(),
|
|
102
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(),
|
|
103
108
|
});
|
|
104
109
|
exports.leadSchema = exports.upworkJobSchema
|
|
105
110
|
.extend({
|
|
@@ -200,6 +200,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
200
200
|
min: number | null;
|
|
201
201
|
}>;
|
|
202
202
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
203
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
203
204
|
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
204
205
|
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
205
206
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
@@ -209,6 +210,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
209
210
|
min: number | null;
|
|
210
211
|
};
|
|
211
212
|
lastViewedByClient: string | null;
|
|
213
|
+
hires: number | null;
|
|
212
214
|
interviewing: number | null;
|
|
213
215
|
invitesSent: number | null;
|
|
214
216
|
unansweredInvites: number | null;
|
|
@@ -218,10 +220,12 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
218
220
|
min: number | null;
|
|
219
221
|
};
|
|
220
222
|
lastViewedByClient: string | null;
|
|
223
|
+
hires: number | null;
|
|
221
224
|
interviewing: number | null;
|
|
222
225
|
invitesSent: number | null;
|
|
223
226
|
unansweredInvites: number | null;
|
|
224
227
|
}>>;
|
|
228
|
+
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
225
229
|
}, "strip", z.ZodTypeAny, {
|
|
226
230
|
id: string | null;
|
|
227
231
|
title: string | null;
|
|
@@ -303,10 +307,12 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
303
307
|
min: number | null;
|
|
304
308
|
};
|
|
305
309
|
lastViewedByClient: string | null;
|
|
310
|
+
hires: number | null;
|
|
306
311
|
interviewing: number | null;
|
|
307
312
|
invitesSent: number | null;
|
|
308
313
|
unansweredInvites: number | null;
|
|
309
314
|
} | null;
|
|
315
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
310
316
|
}, {
|
|
311
317
|
id: string | null;
|
|
312
318
|
title: string | null;
|
|
@@ -388,10 +394,12 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
388
394
|
min: number | null;
|
|
389
395
|
};
|
|
390
396
|
lastViewedByClient: string | null;
|
|
397
|
+
hires: number | null;
|
|
391
398
|
interviewing: number | null;
|
|
392
399
|
invitesSent: number | null;
|
|
393
400
|
unansweredInvites: number | null;
|
|
394
401
|
} | null;
|
|
402
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
395
403
|
}>, "many">;
|
|
396
404
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
397
405
|
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
@@ -481,10 +489,12 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
481
489
|
min: number | null;
|
|
482
490
|
};
|
|
483
491
|
lastViewedByClient: string | null;
|
|
492
|
+
hires: number | null;
|
|
484
493
|
interviewing: number | null;
|
|
485
494
|
invitesSent: number | null;
|
|
486
495
|
unansweredInvites: number | null;
|
|
487
496
|
} | null;
|
|
497
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
488
498
|
}[];
|
|
489
499
|
usAccountCookies?: any[] | undefined;
|
|
490
500
|
ukAccountCookies?: any[] | undefined;
|
|
@@ -572,10 +582,12 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
572
582
|
min: number | null;
|
|
573
583
|
};
|
|
574
584
|
lastViewedByClient: string | null;
|
|
585
|
+
hires: number | null;
|
|
575
586
|
interviewing: number | null;
|
|
576
587
|
invitesSent: number | null;
|
|
577
588
|
unansweredInvites: number | null;
|
|
578
589
|
} | null;
|
|
590
|
+
activityUpdates: 2 | 1 | 3 | null;
|
|
579
591
|
}[];
|
|
580
592
|
usAccountCookies?: any[] | undefined;
|
|
581
593
|
ukAccountCookies?: any[] | undefined;
|