lancer-shared 1.0.52 → 1.0.54
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.
|
@@ -133,6 +133,43 @@ export declare const bidRangeSchema: z.ZodObject<{
|
|
|
133
133
|
low: number | null;
|
|
134
134
|
avg: number | null;
|
|
135
135
|
}>;
|
|
136
|
+
export declare const jobActivitySchema: z.ZodObject<{
|
|
137
|
+
proposals: z.ZodObject<{
|
|
138
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
139
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
max: number | null;
|
|
142
|
+
min: number | null;
|
|
143
|
+
}, {
|
|
144
|
+
max: number | null;
|
|
145
|
+
min: number | null;
|
|
146
|
+
}>;
|
|
147
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
148
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
149
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
150
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
151
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
proposals: {
|
|
154
|
+
max: number | null;
|
|
155
|
+
min: number | null;
|
|
156
|
+
};
|
|
157
|
+
lastViewedByClient: string | null;
|
|
158
|
+
hires: number | null;
|
|
159
|
+
interviewing: number | null;
|
|
160
|
+
invitesSent: number | null;
|
|
161
|
+
unansweredInvites: number | null;
|
|
162
|
+
}, {
|
|
163
|
+
proposals: {
|
|
164
|
+
max: number | null;
|
|
165
|
+
min: number | null;
|
|
166
|
+
};
|
|
167
|
+
lastViewedByClient: string | null;
|
|
168
|
+
hires: number | null;
|
|
169
|
+
interviewing: number | null;
|
|
170
|
+
invitesSent: number | null;
|
|
171
|
+
unansweredInvites: number | null;
|
|
172
|
+
}>;
|
|
136
173
|
export declare const metadataSchema: z.ZodObject<{
|
|
137
174
|
hours: z.ZodNullable<z.ZodString>;
|
|
138
175
|
duration: z.ZodNullable<z.ZodString>;
|
|
@@ -357,6 +394,43 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
357
394
|
low: number | null;
|
|
358
395
|
avg: number | null;
|
|
359
396
|
}>>;
|
|
397
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
398
|
+
proposals: z.ZodObject<{
|
|
399
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
400
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
401
|
+
}, "strip", z.ZodTypeAny, {
|
|
402
|
+
max: number | null;
|
|
403
|
+
min: number | null;
|
|
404
|
+
}, {
|
|
405
|
+
max: number | null;
|
|
406
|
+
min: number | null;
|
|
407
|
+
}>;
|
|
408
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
409
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
410
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
411
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
412
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
proposals: {
|
|
415
|
+
max: number | null;
|
|
416
|
+
min: number | null;
|
|
417
|
+
};
|
|
418
|
+
lastViewedByClient: string | null;
|
|
419
|
+
hires: number | null;
|
|
420
|
+
interviewing: number | null;
|
|
421
|
+
invitesSent: number | null;
|
|
422
|
+
unansweredInvites: number | null;
|
|
423
|
+
}, {
|
|
424
|
+
proposals: {
|
|
425
|
+
max: number | null;
|
|
426
|
+
min: number | null;
|
|
427
|
+
};
|
|
428
|
+
lastViewedByClient: string | null;
|
|
429
|
+
hires: number | null;
|
|
430
|
+
interviewing: number | null;
|
|
431
|
+
invitesSent: number | null;
|
|
432
|
+
unansweredInvites: number | null;
|
|
433
|
+
}>>;
|
|
360
434
|
}, "strip", z.ZodTypeAny, {
|
|
361
435
|
id: string | null;
|
|
362
436
|
title: string | null;
|
|
@@ -432,6 +506,17 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
432
506
|
low: number | null;
|
|
433
507
|
avg: number | null;
|
|
434
508
|
} | null;
|
|
509
|
+
jobActivity: {
|
|
510
|
+
proposals: {
|
|
511
|
+
max: number | null;
|
|
512
|
+
min: number | null;
|
|
513
|
+
};
|
|
514
|
+
lastViewedByClient: string | null;
|
|
515
|
+
hires: number | null;
|
|
516
|
+
interviewing: number | null;
|
|
517
|
+
invitesSent: number | null;
|
|
518
|
+
unansweredInvites: number | null;
|
|
519
|
+
} | null;
|
|
435
520
|
}, {
|
|
436
521
|
id: string | null;
|
|
437
522
|
title: string | null;
|
|
@@ -507,6 +592,17 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
507
592
|
low: number | null;
|
|
508
593
|
avg: number | null;
|
|
509
594
|
} | null;
|
|
595
|
+
jobActivity: {
|
|
596
|
+
proposals: {
|
|
597
|
+
max: number | null;
|
|
598
|
+
min: number | null;
|
|
599
|
+
};
|
|
600
|
+
lastViewedByClient: string | null;
|
|
601
|
+
hires: number | null;
|
|
602
|
+
interviewing: number | null;
|
|
603
|
+
invitesSent: number | null;
|
|
604
|
+
unansweredInvites: number | null;
|
|
605
|
+
} | null;
|
|
510
606
|
}>;
|
|
511
607
|
export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
512
608
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -695,6 +791,43 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
695
791
|
low: number | null;
|
|
696
792
|
avg: number | null;
|
|
697
793
|
}>>;
|
|
794
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
795
|
+
proposals: z.ZodObject<{
|
|
796
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
797
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
798
|
+
}, "strip", z.ZodTypeAny, {
|
|
799
|
+
max: number | null;
|
|
800
|
+
min: number | null;
|
|
801
|
+
}, {
|
|
802
|
+
max: number | null;
|
|
803
|
+
min: number | null;
|
|
804
|
+
}>;
|
|
805
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
806
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
807
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
808
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
809
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
810
|
+
}, "strip", z.ZodTypeAny, {
|
|
811
|
+
proposals: {
|
|
812
|
+
max: number | null;
|
|
813
|
+
min: number | null;
|
|
814
|
+
};
|
|
815
|
+
lastViewedByClient: string | null;
|
|
816
|
+
hires: number | null;
|
|
817
|
+
interviewing: number | null;
|
|
818
|
+
invitesSent: number | null;
|
|
819
|
+
unansweredInvites: number | null;
|
|
820
|
+
}, {
|
|
821
|
+
proposals: {
|
|
822
|
+
max: number | null;
|
|
823
|
+
min: number | null;
|
|
824
|
+
};
|
|
825
|
+
lastViewedByClient: string | null;
|
|
826
|
+
hires: number | null;
|
|
827
|
+
interviewing: number | null;
|
|
828
|
+
invitesSent: number | null;
|
|
829
|
+
unansweredInvites: number | null;
|
|
830
|
+
}>>;
|
|
698
831
|
}, {
|
|
699
832
|
jobId: z.ZodString;
|
|
700
833
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -824,6 +957,17 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
824
957
|
low: number | null;
|
|
825
958
|
avg: number | null;
|
|
826
959
|
} | null;
|
|
960
|
+
jobActivity: {
|
|
961
|
+
proposals: {
|
|
962
|
+
max: number | null;
|
|
963
|
+
min: number | null;
|
|
964
|
+
};
|
|
965
|
+
lastViewedByClient: string | null;
|
|
966
|
+
hires: number | null;
|
|
967
|
+
interviewing: number | null;
|
|
968
|
+
invitesSent: number | null;
|
|
969
|
+
unansweredInvites: number | null;
|
|
970
|
+
} | null;
|
|
827
971
|
suitabilityRating: number | null;
|
|
828
972
|
suitabilityReason: string | null;
|
|
829
973
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -923,6 +1067,17 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
923
1067
|
low: number | null;
|
|
924
1068
|
avg: number | null;
|
|
925
1069
|
} | null;
|
|
1070
|
+
jobActivity: {
|
|
1071
|
+
proposals: {
|
|
1072
|
+
max: number | null;
|
|
1073
|
+
min: number | null;
|
|
1074
|
+
};
|
|
1075
|
+
lastViewedByClient: string | null;
|
|
1076
|
+
hires: number | null;
|
|
1077
|
+
interviewing: number | null;
|
|
1078
|
+
invitesSent: number | null;
|
|
1079
|
+
unansweredInvites: number | null;
|
|
1080
|
+
} | null;
|
|
926
1081
|
suitabilityRating: number | null;
|
|
927
1082
|
suitabilityReason: string | null;
|
|
928
1083
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1149,6 +1304,43 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1149
1304
|
low: number | null;
|
|
1150
1305
|
avg: number | null;
|
|
1151
1306
|
}>>;
|
|
1307
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
1308
|
+
proposals: z.ZodObject<{
|
|
1309
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
1310
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
1311
|
+
}, "strip", z.ZodTypeAny, {
|
|
1312
|
+
max: number | null;
|
|
1313
|
+
min: number | null;
|
|
1314
|
+
}, {
|
|
1315
|
+
max: number | null;
|
|
1316
|
+
min: number | null;
|
|
1317
|
+
}>;
|
|
1318
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
1319
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
1320
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
1321
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
1322
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
1323
|
+
}, "strip", z.ZodTypeAny, {
|
|
1324
|
+
proposals: {
|
|
1325
|
+
max: number | null;
|
|
1326
|
+
min: number | null;
|
|
1327
|
+
};
|
|
1328
|
+
lastViewedByClient: string | null;
|
|
1329
|
+
hires: number | null;
|
|
1330
|
+
interviewing: number | null;
|
|
1331
|
+
invitesSent: number | null;
|
|
1332
|
+
unansweredInvites: number | null;
|
|
1333
|
+
}, {
|
|
1334
|
+
proposals: {
|
|
1335
|
+
max: number | null;
|
|
1336
|
+
min: number | null;
|
|
1337
|
+
};
|
|
1338
|
+
lastViewedByClient: string | null;
|
|
1339
|
+
hires: number | null;
|
|
1340
|
+
interviewing: number | null;
|
|
1341
|
+
invitesSent: number | null;
|
|
1342
|
+
unansweredInvites: number | null;
|
|
1343
|
+
}>>;
|
|
1152
1344
|
}, {
|
|
1153
1345
|
jobId: z.ZodString;
|
|
1154
1346
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1278,6 +1470,17 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1278
1470
|
low: number | null;
|
|
1279
1471
|
avg: number | null;
|
|
1280
1472
|
} | null;
|
|
1473
|
+
jobActivity: {
|
|
1474
|
+
proposals: {
|
|
1475
|
+
max: number | null;
|
|
1476
|
+
min: number | null;
|
|
1477
|
+
};
|
|
1478
|
+
lastViewedByClient: string | null;
|
|
1479
|
+
hires: number | null;
|
|
1480
|
+
interviewing: number | null;
|
|
1481
|
+
invitesSent: number | null;
|
|
1482
|
+
unansweredInvites: number | null;
|
|
1483
|
+
} | null;
|
|
1281
1484
|
suitabilityRating: number | null;
|
|
1282
1485
|
suitabilityReason: string | null;
|
|
1283
1486
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1377,6 +1580,17 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1377
1580
|
low: number | null;
|
|
1378
1581
|
avg: number | null;
|
|
1379
1582
|
} | null;
|
|
1583
|
+
jobActivity: {
|
|
1584
|
+
proposals: {
|
|
1585
|
+
max: number | null;
|
|
1586
|
+
min: number | null;
|
|
1587
|
+
};
|
|
1588
|
+
lastViewedByClient: string | null;
|
|
1589
|
+
hires: number | null;
|
|
1590
|
+
interviewing: number | null;
|
|
1591
|
+
invitesSent: number | null;
|
|
1592
|
+
unansweredInvites: number | null;
|
|
1593
|
+
} | null;
|
|
1380
1594
|
suitabilityRating: number | null;
|
|
1381
1595
|
suitabilityReason: string | null;
|
|
1382
1596
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1481,6 +1695,17 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1481
1695
|
low: number | null;
|
|
1482
1696
|
avg: number | null;
|
|
1483
1697
|
} | null;
|
|
1698
|
+
jobActivity: {
|
|
1699
|
+
proposals: {
|
|
1700
|
+
max: number | null;
|
|
1701
|
+
min: number | null;
|
|
1702
|
+
};
|
|
1703
|
+
lastViewedByClient: string | null;
|
|
1704
|
+
hires: number | null;
|
|
1705
|
+
interviewing: number | null;
|
|
1706
|
+
invitesSent: number | null;
|
|
1707
|
+
unansweredInvites: number | null;
|
|
1708
|
+
} | null;
|
|
1484
1709
|
suitabilityRating: number | null;
|
|
1485
1710
|
suitabilityReason: string | null;
|
|
1486
1711
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1585,6 +1810,17 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1585
1810
|
low: number | null;
|
|
1586
1811
|
avg: number | null;
|
|
1587
1812
|
} | null;
|
|
1813
|
+
jobActivity: {
|
|
1814
|
+
proposals: {
|
|
1815
|
+
max: number | null;
|
|
1816
|
+
min: number | null;
|
|
1817
|
+
};
|
|
1818
|
+
lastViewedByClient: string | null;
|
|
1819
|
+
hires: number | null;
|
|
1820
|
+
interviewing: number | null;
|
|
1821
|
+
invitesSent: number | null;
|
|
1822
|
+
unansweredInvites: number | null;
|
|
1823
|
+
} | null;
|
|
1588
1824
|
suitabilityRating: number | null;
|
|
1589
1825
|
suitabilityReason: string | null;
|
|
1590
1826
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.leadResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = exports.bidRangeSchema = exports.clientReviewSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
|
|
3
|
+
exports.leadResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = exports.jobActivitySchema = exports.bidRangeSchema = exports.clientReviewSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const lead_note_1 = require("./lead-note");
|
|
6
6
|
const lead_status_1 = require("./lead-status");
|
|
@@ -54,6 +54,17 @@ exports.bidRangeSchema = zod_1.z.object({
|
|
|
54
54
|
avg: zod_1.z.number().nullable(),
|
|
55
55
|
low: zod_1.z.number().nullable(),
|
|
56
56
|
});
|
|
57
|
+
exports.jobActivitySchema = zod_1.z.object({
|
|
58
|
+
proposals: zod_1.z.object({
|
|
59
|
+
min: zod_1.z.number().nullable(),
|
|
60
|
+
max: zod_1.z.number().nullable(),
|
|
61
|
+
}),
|
|
62
|
+
lastViewedByClient: zod_1.z.string().nullable(),
|
|
63
|
+
hires: zod_1.z.number().nullable(),
|
|
64
|
+
interviewing: zod_1.z.number().nullable(),
|
|
65
|
+
invitesSent: zod_1.z.number().nullable(),
|
|
66
|
+
unansweredInvites: zod_1.z.number().nullable(),
|
|
67
|
+
});
|
|
57
68
|
exports.metadataSchema = zod_1.z.object({
|
|
58
69
|
hours: zod_1.z.string().nullable(),
|
|
59
70
|
duration: zod_1.z.string().nullable(),
|
|
@@ -89,6 +100,7 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
89
100
|
clientReviews: zod_1.z.array(exports.clientReviewSchema).nullable(),
|
|
90
101
|
region: scraper_1.regionSchema.nullable(),
|
|
91
102
|
bidRange: exports.bidRangeSchema.nullable(),
|
|
103
|
+
jobActivity: exports.jobActivitySchema.nullable(),
|
|
92
104
|
});
|
|
93
105
|
exports.leadSchema = exports.upworkJobSchema
|
|
94
106
|
.extend({
|
|
@@ -188,6 +188,43 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
188
188
|
low: number | null;
|
|
189
189
|
avg: number | null;
|
|
190
190
|
}>>;
|
|
191
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
192
|
+
proposals: z.ZodObject<{
|
|
193
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
194
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
max: number | null;
|
|
197
|
+
min: number | null;
|
|
198
|
+
}, {
|
|
199
|
+
max: number | null;
|
|
200
|
+
min: number | null;
|
|
201
|
+
}>;
|
|
202
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
203
|
+
hires: z.ZodNullable<z.ZodNumber>;
|
|
204
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
205
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
206
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
proposals: {
|
|
209
|
+
max: number | null;
|
|
210
|
+
min: number | null;
|
|
211
|
+
};
|
|
212
|
+
lastViewedByClient: string | null;
|
|
213
|
+
hires: number | null;
|
|
214
|
+
interviewing: number | null;
|
|
215
|
+
invitesSent: number | null;
|
|
216
|
+
unansweredInvites: number | null;
|
|
217
|
+
}, {
|
|
218
|
+
proposals: {
|
|
219
|
+
max: number | null;
|
|
220
|
+
min: number | null;
|
|
221
|
+
};
|
|
222
|
+
lastViewedByClient: string | null;
|
|
223
|
+
hires: number | null;
|
|
224
|
+
interviewing: number | null;
|
|
225
|
+
invitesSent: number | null;
|
|
226
|
+
unansweredInvites: number | null;
|
|
227
|
+
}>>;
|
|
191
228
|
}, "strip", z.ZodTypeAny, {
|
|
192
229
|
id: string | null;
|
|
193
230
|
title: string | null;
|
|
@@ -263,6 +300,17 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
263
300
|
low: number | null;
|
|
264
301
|
avg: number | null;
|
|
265
302
|
} | null;
|
|
303
|
+
jobActivity: {
|
|
304
|
+
proposals: {
|
|
305
|
+
max: number | null;
|
|
306
|
+
min: number | null;
|
|
307
|
+
};
|
|
308
|
+
lastViewedByClient: string | null;
|
|
309
|
+
hires: number | null;
|
|
310
|
+
interviewing: number | null;
|
|
311
|
+
invitesSent: number | null;
|
|
312
|
+
unansweredInvites: number | null;
|
|
313
|
+
} | null;
|
|
266
314
|
}, {
|
|
267
315
|
id: string | null;
|
|
268
316
|
title: string | null;
|
|
@@ -338,6 +386,17 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
338
386
|
low: number | null;
|
|
339
387
|
avg: number | null;
|
|
340
388
|
} | null;
|
|
389
|
+
jobActivity: {
|
|
390
|
+
proposals: {
|
|
391
|
+
max: number | null;
|
|
392
|
+
min: number | null;
|
|
393
|
+
};
|
|
394
|
+
lastViewedByClient: string | null;
|
|
395
|
+
hires: number | null;
|
|
396
|
+
interviewing: number | null;
|
|
397
|
+
invitesSent: number | null;
|
|
398
|
+
unansweredInvites: number | null;
|
|
399
|
+
} | null;
|
|
341
400
|
}>, "many">;
|
|
342
401
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
343
402
|
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
@@ -421,6 +480,17 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
421
480
|
low: number | null;
|
|
422
481
|
avg: number | null;
|
|
423
482
|
} | null;
|
|
483
|
+
jobActivity: {
|
|
484
|
+
proposals: {
|
|
485
|
+
max: number | null;
|
|
486
|
+
min: number | null;
|
|
487
|
+
};
|
|
488
|
+
lastViewedByClient: string | null;
|
|
489
|
+
hires: number | null;
|
|
490
|
+
interviewing: number | null;
|
|
491
|
+
invitesSent: number | null;
|
|
492
|
+
unansweredInvites: number | null;
|
|
493
|
+
} | null;
|
|
424
494
|
}[];
|
|
425
495
|
usAccountCookies?: any[] | undefined;
|
|
426
496
|
ukAccountCookies?: any[] | undefined;
|
|
@@ -502,6 +572,17 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
502
572
|
low: number | null;
|
|
503
573
|
avg: number | null;
|
|
504
574
|
} | null;
|
|
575
|
+
jobActivity: {
|
|
576
|
+
proposals: {
|
|
577
|
+
max: number | null;
|
|
578
|
+
min: number | null;
|
|
579
|
+
};
|
|
580
|
+
lastViewedByClient: string | null;
|
|
581
|
+
hires: number | null;
|
|
582
|
+
interviewing: number | null;
|
|
583
|
+
invitesSent: number | null;
|
|
584
|
+
unansweredInvites: number | null;
|
|
585
|
+
} | null;
|
|
505
586
|
}[];
|
|
506
587
|
usAccountCookies?: any[] | undefined;
|
|
507
588
|
ukAccountCookies?: any[] | undefined;
|
package/dist/types/job/job.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SavedSearch } from "../saved-search";
|
|
|
3
3
|
import { LeadNote } from "./job-note";
|
|
4
4
|
import { LeadAgentStatus, LeadStatus } from "./job-status";
|
|
5
5
|
import { QuestionAnswerPair } from "../ai";
|
|
6
|
-
import { clientInfoSchema, jobListItemSchema, leadResponseSchema, leadSchema, jobSkillsSchema, metadataSchema, upworkJobSchema, vendorQualificationSchema, clientReviewSchema, bidRangeSchema } from "../../schemas/lead/lead";
|
|
6
|
+
import { clientInfoSchema, jobListItemSchema, leadResponseSchema, leadSchema, jobSkillsSchema, metadataSchema, upworkJobSchema, vendorQualificationSchema, clientReviewSchema, bidRangeSchema, jobActivitySchema } from "../../schemas/lead/lead";
|
|
7
7
|
export interface Job extends z.infer<typeof upworkJobSchema> {
|
|
8
8
|
clientInfo: ClientInfo | null;
|
|
9
9
|
metadata: JobMetadata | null;
|
|
@@ -33,3 +33,4 @@ export type ClientInfo = z.infer<typeof clientInfoSchema>;
|
|
|
33
33
|
export type JobMetadata = z.infer<typeof metadataSchema>;
|
|
34
34
|
export type ClientReview = z.infer<typeof clientReviewSchema>;
|
|
35
35
|
export type JobBidRange = z.infer<typeof bidRangeSchema>;
|
|
36
|
+
export type JobActivity = z.infer<typeof jobActivitySchema>;
|