lancer-shared 1.0.52 → 1.0.53
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,40 @@ 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
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
149
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
150
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
proposals: {
|
|
153
|
+
max: number | null;
|
|
154
|
+
min: number | null;
|
|
155
|
+
};
|
|
156
|
+
lastViewedByClient: string | null;
|
|
157
|
+
interviewing: number | null;
|
|
158
|
+
invitesSent: number | null;
|
|
159
|
+
unansweredInvites: number | null;
|
|
160
|
+
}, {
|
|
161
|
+
proposals: {
|
|
162
|
+
max: number | null;
|
|
163
|
+
min: number | null;
|
|
164
|
+
};
|
|
165
|
+
lastViewedByClient: string | null;
|
|
166
|
+
interviewing: number | null;
|
|
167
|
+
invitesSent: number | null;
|
|
168
|
+
unansweredInvites: number | null;
|
|
169
|
+
}>;
|
|
136
170
|
export declare const metadataSchema: z.ZodObject<{
|
|
137
171
|
hours: z.ZodNullable<z.ZodString>;
|
|
138
172
|
duration: z.ZodNullable<z.ZodString>;
|
|
@@ -357,6 +391,40 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
357
391
|
low: number | null;
|
|
358
392
|
avg: number | null;
|
|
359
393
|
}>>;
|
|
394
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
395
|
+
proposals: z.ZodObject<{
|
|
396
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
397
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
max: number | null;
|
|
400
|
+
min: number | null;
|
|
401
|
+
}, {
|
|
402
|
+
max: number | null;
|
|
403
|
+
min: number | null;
|
|
404
|
+
}>;
|
|
405
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
406
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
407
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
408
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
proposals: {
|
|
411
|
+
max: number | null;
|
|
412
|
+
min: number | null;
|
|
413
|
+
};
|
|
414
|
+
lastViewedByClient: string | null;
|
|
415
|
+
interviewing: number | null;
|
|
416
|
+
invitesSent: number | null;
|
|
417
|
+
unansweredInvites: number | null;
|
|
418
|
+
}, {
|
|
419
|
+
proposals: {
|
|
420
|
+
max: number | null;
|
|
421
|
+
min: number | null;
|
|
422
|
+
};
|
|
423
|
+
lastViewedByClient: string | null;
|
|
424
|
+
interviewing: number | null;
|
|
425
|
+
invitesSent: number | null;
|
|
426
|
+
unansweredInvites: number | null;
|
|
427
|
+
}>>;
|
|
360
428
|
}, "strip", z.ZodTypeAny, {
|
|
361
429
|
id: string | null;
|
|
362
430
|
title: string | null;
|
|
@@ -432,6 +500,16 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
432
500
|
low: number | null;
|
|
433
501
|
avg: number | null;
|
|
434
502
|
} | null;
|
|
503
|
+
jobActivity: {
|
|
504
|
+
proposals: {
|
|
505
|
+
max: number | null;
|
|
506
|
+
min: number | null;
|
|
507
|
+
};
|
|
508
|
+
lastViewedByClient: string | null;
|
|
509
|
+
interviewing: number | null;
|
|
510
|
+
invitesSent: number | null;
|
|
511
|
+
unansweredInvites: number | null;
|
|
512
|
+
} | null;
|
|
435
513
|
}, {
|
|
436
514
|
id: string | null;
|
|
437
515
|
title: string | null;
|
|
@@ -507,6 +585,16 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
507
585
|
low: number | null;
|
|
508
586
|
avg: number | null;
|
|
509
587
|
} | null;
|
|
588
|
+
jobActivity: {
|
|
589
|
+
proposals: {
|
|
590
|
+
max: number | null;
|
|
591
|
+
min: number | null;
|
|
592
|
+
};
|
|
593
|
+
lastViewedByClient: string | null;
|
|
594
|
+
interviewing: number | null;
|
|
595
|
+
invitesSent: number | null;
|
|
596
|
+
unansweredInvites: number | null;
|
|
597
|
+
} | null;
|
|
510
598
|
}>;
|
|
511
599
|
export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
512
600
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -695,6 +783,40 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
695
783
|
low: number | null;
|
|
696
784
|
avg: number | null;
|
|
697
785
|
}>>;
|
|
786
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
787
|
+
proposals: z.ZodObject<{
|
|
788
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
789
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
790
|
+
}, "strip", z.ZodTypeAny, {
|
|
791
|
+
max: number | null;
|
|
792
|
+
min: number | null;
|
|
793
|
+
}, {
|
|
794
|
+
max: number | null;
|
|
795
|
+
min: number | null;
|
|
796
|
+
}>;
|
|
797
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
798
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
799
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
800
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
801
|
+
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
proposals: {
|
|
803
|
+
max: number | null;
|
|
804
|
+
min: number | null;
|
|
805
|
+
};
|
|
806
|
+
lastViewedByClient: string | null;
|
|
807
|
+
interviewing: number | null;
|
|
808
|
+
invitesSent: number | null;
|
|
809
|
+
unansweredInvites: number | null;
|
|
810
|
+
}, {
|
|
811
|
+
proposals: {
|
|
812
|
+
max: number | null;
|
|
813
|
+
min: number | null;
|
|
814
|
+
};
|
|
815
|
+
lastViewedByClient: string | null;
|
|
816
|
+
interviewing: number | null;
|
|
817
|
+
invitesSent: number | null;
|
|
818
|
+
unansweredInvites: number | null;
|
|
819
|
+
}>>;
|
|
698
820
|
}, {
|
|
699
821
|
jobId: z.ZodString;
|
|
700
822
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -824,6 +946,16 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
824
946
|
low: number | null;
|
|
825
947
|
avg: number | null;
|
|
826
948
|
} | null;
|
|
949
|
+
jobActivity: {
|
|
950
|
+
proposals: {
|
|
951
|
+
max: number | null;
|
|
952
|
+
min: number | null;
|
|
953
|
+
};
|
|
954
|
+
lastViewedByClient: string | null;
|
|
955
|
+
interviewing: number | null;
|
|
956
|
+
invitesSent: number | null;
|
|
957
|
+
unansweredInvites: number | null;
|
|
958
|
+
} | null;
|
|
827
959
|
suitabilityRating: number | null;
|
|
828
960
|
suitabilityReason: string | null;
|
|
829
961
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -923,6 +1055,16 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
923
1055
|
low: number | null;
|
|
924
1056
|
avg: number | null;
|
|
925
1057
|
} | null;
|
|
1058
|
+
jobActivity: {
|
|
1059
|
+
proposals: {
|
|
1060
|
+
max: number | null;
|
|
1061
|
+
min: number | null;
|
|
1062
|
+
};
|
|
1063
|
+
lastViewedByClient: string | null;
|
|
1064
|
+
interviewing: number | null;
|
|
1065
|
+
invitesSent: number | null;
|
|
1066
|
+
unansweredInvites: number | null;
|
|
1067
|
+
} | null;
|
|
926
1068
|
suitabilityRating: number | null;
|
|
927
1069
|
suitabilityReason: string | null;
|
|
928
1070
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1149,6 +1291,40 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1149
1291
|
low: number | null;
|
|
1150
1292
|
avg: number | null;
|
|
1151
1293
|
}>>;
|
|
1294
|
+
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
1295
|
+
proposals: z.ZodObject<{
|
|
1296
|
+
min: z.ZodNullable<z.ZodNumber>;
|
|
1297
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
1298
|
+
}, "strip", z.ZodTypeAny, {
|
|
1299
|
+
max: number | null;
|
|
1300
|
+
min: number | null;
|
|
1301
|
+
}, {
|
|
1302
|
+
max: number | null;
|
|
1303
|
+
min: number | null;
|
|
1304
|
+
}>;
|
|
1305
|
+
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
1307
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
1308
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
1309
|
+
}, "strip", z.ZodTypeAny, {
|
|
1310
|
+
proposals: {
|
|
1311
|
+
max: number | null;
|
|
1312
|
+
min: number | null;
|
|
1313
|
+
};
|
|
1314
|
+
lastViewedByClient: string | null;
|
|
1315
|
+
interviewing: number | null;
|
|
1316
|
+
invitesSent: number | null;
|
|
1317
|
+
unansweredInvites: number | null;
|
|
1318
|
+
}, {
|
|
1319
|
+
proposals: {
|
|
1320
|
+
max: number | null;
|
|
1321
|
+
min: number | null;
|
|
1322
|
+
};
|
|
1323
|
+
lastViewedByClient: string | null;
|
|
1324
|
+
interviewing: number | null;
|
|
1325
|
+
invitesSent: number | null;
|
|
1326
|
+
unansweredInvites: number | null;
|
|
1327
|
+
}>>;
|
|
1152
1328
|
}, {
|
|
1153
1329
|
jobId: z.ZodString;
|
|
1154
1330
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1278,6 +1454,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1278
1454
|
low: number | null;
|
|
1279
1455
|
avg: number | null;
|
|
1280
1456
|
} | null;
|
|
1457
|
+
jobActivity: {
|
|
1458
|
+
proposals: {
|
|
1459
|
+
max: number | null;
|
|
1460
|
+
min: number | null;
|
|
1461
|
+
};
|
|
1462
|
+
lastViewedByClient: string | null;
|
|
1463
|
+
interviewing: number | null;
|
|
1464
|
+
invitesSent: number | null;
|
|
1465
|
+
unansweredInvites: number | null;
|
|
1466
|
+
} | null;
|
|
1281
1467
|
suitabilityRating: number | null;
|
|
1282
1468
|
suitabilityReason: string | null;
|
|
1283
1469
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1377,6 +1563,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1377
1563
|
low: number | null;
|
|
1378
1564
|
avg: number | null;
|
|
1379
1565
|
} | null;
|
|
1566
|
+
jobActivity: {
|
|
1567
|
+
proposals: {
|
|
1568
|
+
max: number | null;
|
|
1569
|
+
min: number | null;
|
|
1570
|
+
};
|
|
1571
|
+
lastViewedByClient: string | null;
|
|
1572
|
+
interviewing: number | null;
|
|
1573
|
+
invitesSent: number | null;
|
|
1574
|
+
unansweredInvites: number | null;
|
|
1575
|
+
} | null;
|
|
1380
1576
|
suitabilityRating: number | null;
|
|
1381
1577
|
suitabilityReason: string | null;
|
|
1382
1578
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1481,6 +1677,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1481
1677
|
low: number | null;
|
|
1482
1678
|
avg: number | null;
|
|
1483
1679
|
} | null;
|
|
1680
|
+
jobActivity: {
|
|
1681
|
+
proposals: {
|
|
1682
|
+
max: number | null;
|
|
1683
|
+
min: number | null;
|
|
1684
|
+
};
|
|
1685
|
+
lastViewedByClient: string | null;
|
|
1686
|
+
interviewing: number | null;
|
|
1687
|
+
invitesSent: number | null;
|
|
1688
|
+
unansweredInvites: number | null;
|
|
1689
|
+
} | null;
|
|
1484
1690
|
suitabilityRating: number | null;
|
|
1485
1691
|
suitabilityReason: string | null;
|
|
1486
1692
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1585,6 +1791,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1585
1791
|
low: number | null;
|
|
1586
1792
|
avg: number | null;
|
|
1587
1793
|
} | null;
|
|
1794
|
+
jobActivity: {
|
|
1795
|
+
proposals: {
|
|
1796
|
+
max: number | null;
|
|
1797
|
+
min: number | null;
|
|
1798
|
+
};
|
|
1799
|
+
lastViewedByClient: string | null;
|
|
1800
|
+
interviewing: number | null;
|
|
1801
|
+
invitesSent: number | null;
|
|
1802
|
+
unansweredInvites: number | null;
|
|
1803
|
+
} | null;
|
|
1588
1804
|
suitabilityRating: number | null;
|
|
1589
1805
|
suitabilityReason: string | null;
|
|
1590
1806
|
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,16 @@ 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
|
+
interviewing: zod_1.z.number().nullable(),
|
|
64
|
+
invitesSent: zod_1.z.number().nullable(),
|
|
65
|
+
unansweredInvites: zod_1.z.number().nullable(),
|
|
66
|
+
});
|
|
57
67
|
exports.metadataSchema = zod_1.z.object({
|
|
58
68
|
hours: zod_1.z.string().nullable(),
|
|
59
69
|
duration: zod_1.z.string().nullable(),
|
|
@@ -89,6 +99,7 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
89
99
|
clientReviews: zod_1.z.array(exports.clientReviewSchema).nullable(),
|
|
90
100
|
region: scraper_1.regionSchema.nullable(),
|
|
91
101
|
bidRange: exports.bidRangeSchema.nullable(),
|
|
102
|
+
jobActivity: exports.jobActivitySchema.nullable(),
|
|
92
103
|
});
|
|
93
104
|
exports.leadSchema = exports.upworkJobSchema
|
|
94
105
|
.extend({
|
|
@@ -188,6 +188,40 @@ 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
|
+
interviewing: z.ZodNullable<z.ZodNumber>;
|
|
204
|
+
invitesSent: z.ZodNullable<z.ZodNumber>;
|
|
205
|
+
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
proposals: {
|
|
208
|
+
max: number | null;
|
|
209
|
+
min: number | null;
|
|
210
|
+
};
|
|
211
|
+
lastViewedByClient: string | null;
|
|
212
|
+
interviewing: number | null;
|
|
213
|
+
invitesSent: number | null;
|
|
214
|
+
unansweredInvites: number | null;
|
|
215
|
+
}, {
|
|
216
|
+
proposals: {
|
|
217
|
+
max: number | null;
|
|
218
|
+
min: number | null;
|
|
219
|
+
};
|
|
220
|
+
lastViewedByClient: string | null;
|
|
221
|
+
interviewing: number | null;
|
|
222
|
+
invitesSent: number | null;
|
|
223
|
+
unansweredInvites: number | null;
|
|
224
|
+
}>>;
|
|
191
225
|
}, "strip", z.ZodTypeAny, {
|
|
192
226
|
id: string | null;
|
|
193
227
|
title: string | null;
|
|
@@ -263,6 +297,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
263
297
|
low: number | null;
|
|
264
298
|
avg: number | null;
|
|
265
299
|
} | null;
|
|
300
|
+
jobActivity: {
|
|
301
|
+
proposals: {
|
|
302
|
+
max: number | null;
|
|
303
|
+
min: number | null;
|
|
304
|
+
};
|
|
305
|
+
lastViewedByClient: string | null;
|
|
306
|
+
interviewing: number | null;
|
|
307
|
+
invitesSent: number | null;
|
|
308
|
+
unansweredInvites: number | null;
|
|
309
|
+
} | null;
|
|
266
310
|
}, {
|
|
267
311
|
id: string | null;
|
|
268
312
|
title: string | null;
|
|
@@ -338,6 +382,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
338
382
|
low: number | null;
|
|
339
383
|
avg: number | null;
|
|
340
384
|
} | null;
|
|
385
|
+
jobActivity: {
|
|
386
|
+
proposals: {
|
|
387
|
+
max: number | null;
|
|
388
|
+
min: number | null;
|
|
389
|
+
};
|
|
390
|
+
lastViewedByClient: string | null;
|
|
391
|
+
interviewing: number | null;
|
|
392
|
+
invitesSent: number | null;
|
|
393
|
+
unansweredInvites: number | null;
|
|
394
|
+
} | null;
|
|
341
395
|
}>, "many">;
|
|
342
396
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
343
397
|
region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
|
|
@@ -421,6 +475,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
421
475
|
low: number | null;
|
|
422
476
|
avg: number | null;
|
|
423
477
|
} | null;
|
|
478
|
+
jobActivity: {
|
|
479
|
+
proposals: {
|
|
480
|
+
max: number | null;
|
|
481
|
+
min: number | null;
|
|
482
|
+
};
|
|
483
|
+
lastViewedByClient: string | null;
|
|
484
|
+
interviewing: number | null;
|
|
485
|
+
invitesSent: number | null;
|
|
486
|
+
unansweredInvites: number | null;
|
|
487
|
+
} | null;
|
|
424
488
|
}[];
|
|
425
489
|
usAccountCookies?: any[] | undefined;
|
|
426
490
|
ukAccountCookies?: any[] | undefined;
|
|
@@ -502,6 +566,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
502
566
|
low: number | null;
|
|
503
567
|
avg: number | null;
|
|
504
568
|
} | null;
|
|
569
|
+
jobActivity: {
|
|
570
|
+
proposals: {
|
|
571
|
+
max: number | null;
|
|
572
|
+
min: number | null;
|
|
573
|
+
};
|
|
574
|
+
lastViewedByClient: string | null;
|
|
575
|
+
interviewing: number | null;
|
|
576
|
+
invitesSent: number | null;
|
|
577
|
+
unansweredInvites: number | null;
|
|
578
|
+
} | null;
|
|
505
579
|
}[];
|
|
506
580
|
usAccountCookies?: any[] | undefined;
|
|
507
581
|
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>;
|