lancer-shared 1.0.27 → 1.0.29
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/schemas/job/job.d.ts +16 -16
- package/dist/schemas/job/pipeline-job.d.ts +3 -9
- package/dist/schemas/job/pipeline-job.js +0 -1
- package/dist/schemas/lead/lead.d.ts +35 -1
- package/dist/schemas/lead/lead.js +4 -1
- package/dist/schemas/scraper/scrape-result.d.ts +12 -0
- package/package.json +1 -1
- package/dist/constants/upwork-filters.d.ts +0 -5
- package/dist/constants/upwork-filters.js +0 -75
- package/dist/schemas/ai-config/ai-config.d.ts +0 -39
- package/dist/schemas/ai-config/ai-config.js +0 -12
- package/dist/schemas/ai-config/index.d.ts +0 -1
- package/dist/schemas/ai-config/index.js +0 -17
- package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
- package/dist/schemas/bidding/proposal-dto.js +0 -18
- package/dist/schemas/job/job-pipeline.d.ts +0 -74
- package/dist/schemas/job/job-pipeline.js +0 -29
- package/dist/schemas/job/job-suitability.d.ts +0 -12
- package/dist/schemas/job/job-suitability.js +0 -13
- package/dist/schemas/knowledge-object/index.d.ts +0 -1
- package/dist/schemas/knowledge-object/index.js +0 -17
- package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
- package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
- package/dist/schemas/scraper/scrape-response.d.ts +0 -345
- package/dist/schemas/scraper/scrape-response.js +0 -9
- package/dist/types/ai-config/ai-config.d.ts +0 -6
- package/dist/types/ai-config/ai-config.js +0 -2
- package/dist/types/ai-config/index.d.ts +0 -1
- package/dist/types/ai-config/index.js +0 -17
- package/dist/types/bidding/proposal-dto.d.ts +0 -3
- package/dist/types/bidding/proposal-dto.js +0 -2
- package/dist/types/job/job-pipeline.d.ts +0 -4
- package/dist/types/job/job-pipeline.js +0 -2
- package/dist/types/job/job-suitability.d.ts +0 -3
- package/dist/types/job/job-suitability.js +0 -2
- package/dist/types/knowledge-object/index.d.ts +0 -1
- package/dist/types/knowledge-object/index.js +0 -17
- package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
- package/dist/types/knowledge-object/knowledge-object.js +0 -2
- package/dist/types/scraper/scrape-response.d.ts +0 -4
- package/dist/types/scraper/scrape-response.js +0 -2
|
@@ -44,9 +44,9 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
country: string | null;
|
|
46
46
|
region: string | null;
|
|
47
|
+
rating: number | null;
|
|
47
48
|
isPaymentVerified: boolean | null;
|
|
48
49
|
numberOfReviews: number | null;
|
|
49
|
-
rating: number | null;
|
|
50
50
|
jobsPosted: number | null;
|
|
51
51
|
totalSpent: number | null;
|
|
52
52
|
numberOfHires: number | null;
|
|
@@ -60,9 +60,9 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
60
60
|
}, {
|
|
61
61
|
country: string | null;
|
|
62
62
|
region: string | null;
|
|
63
|
+
rating: number | null;
|
|
63
64
|
isPaymentVerified: boolean | null;
|
|
64
65
|
numberOfReviews: number | null;
|
|
65
|
-
rating: number | null;
|
|
66
66
|
jobsPosted: number | null;
|
|
67
67
|
totalSpent: number | null;
|
|
68
68
|
numberOfHires: number | null;
|
|
@@ -187,9 +187,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
country: string | null;
|
|
189
189
|
region: string | null;
|
|
190
|
+
rating: number | null;
|
|
190
191
|
isPaymentVerified: boolean | null;
|
|
191
192
|
numberOfReviews: number | null;
|
|
192
|
-
rating: number | null;
|
|
193
193
|
jobsPosted: number | null;
|
|
194
194
|
totalSpent: number | null;
|
|
195
195
|
numberOfHires: number | null;
|
|
@@ -203,9 +203,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
203
203
|
}, {
|
|
204
204
|
country: string | null;
|
|
205
205
|
region: string | null;
|
|
206
|
+
rating: number | null;
|
|
206
207
|
isPaymentVerified: boolean | null;
|
|
207
208
|
numberOfReviews: number | null;
|
|
208
|
-
rating: number | null;
|
|
209
209
|
jobsPosted: number | null;
|
|
210
210
|
totalSpent: number | null;
|
|
211
211
|
numberOfHires: number | null;
|
|
@@ -267,9 +267,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
267
267
|
clientInfo: {
|
|
268
268
|
country: string | null;
|
|
269
269
|
region: string | null;
|
|
270
|
+
rating: number | null;
|
|
270
271
|
isPaymentVerified: boolean | null;
|
|
271
272
|
numberOfReviews: number | null;
|
|
272
|
-
rating: number | null;
|
|
273
273
|
jobsPosted: number | null;
|
|
274
274
|
totalSpent: number | null;
|
|
275
275
|
numberOfHires: number | null;
|
|
@@ -319,9 +319,9 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
319
319
|
clientInfo: {
|
|
320
320
|
country: string | null;
|
|
321
321
|
region: string | null;
|
|
322
|
+
rating: number | null;
|
|
322
323
|
isPaymentVerified: boolean | null;
|
|
323
324
|
numberOfReviews: number | null;
|
|
324
|
-
rating: number | null;
|
|
325
325
|
jobsPosted: number | null;
|
|
326
326
|
totalSpent: number | null;
|
|
327
327
|
numberOfHires: number | null;
|
|
@@ -418,9 +418,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
419
|
country: string | null;
|
|
420
420
|
region: string | null;
|
|
421
|
+
rating: number | null;
|
|
421
422
|
isPaymentVerified: boolean | null;
|
|
422
423
|
numberOfReviews: number | null;
|
|
423
|
-
rating: number | null;
|
|
424
424
|
jobsPosted: number | null;
|
|
425
425
|
totalSpent: number | null;
|
|
426
426
|
numberOfHires: number | null;
|
|
@@ -434,9 +434,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
434
434
|
}, {
|
|
435
435
|
country: string | null;
|
|
436
436
|
region: string | null;
|
|
437
|
+
rating: number | null;
|
|
437
438
|
isPaymentVerified: boolean | null;
|
|
438
439
|
numberOfReviews: number | null;
|
|
439
|
-
rating: number | null;
|
|
440
440
|
jobsPosted: number | null;
|
|
441
441
|
totalSpent: number | null;
|
|
442
442
|
numberOfHires: number | null;
|
|
@@ -550,9 +550,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
550
550
|
clientInfo: {
|
|
551
551
|
country: string | null;
|
|
552
552
|
region: string | null;
|
|
553
|
+
rating: number | null;
|
|
553
554
|
isPaymentVerified: boolean | null;
|
|
554
555
|
numberOfReviews: number | null;
|
|
555
|
-
rating: number | null;
|
|
556
556
|
jobsPosted: number | null;
|
|
557
557
|
totalSpent: number | null;
|
|
558
558
|
numberOfHires: number | null;
|
|
@@ -624,9 +624,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
624
624
|
clientInfo: {
|
|
625
625
|
country: string | null;
|
|
626
626
|
region: string | null;
|
|
627
|
+
rating: number | null;
|
|
627
628
|
isPaymentVerified: boolean | null;
|
|
628
629
|
numberOfReviews: number | null;
|
|
629
|
-
rating: number | null;
|
|
630
630
|
jobsPosted: number | null;
|
|
631
631
|
totalSpent: number | null;
|
|
632
632
|
numberOfHires: number | null;
|
|
@@ -752,9 +752,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
752
752
|
}, "strip", z.ZodTypeAny, {
|
|
753
753
|
country: string | null;
|
|
754
754
|
region: string | null;
|
|
755
|
+
rating: number | null;
|
|
755
756
|
isPaymentVerified: boolean | null;
|
|
756
757
|
numberOfReviews: number | null;
|
|
757
|
-
rating: number | null;
|
|
758
758
|
jobsPosted: number | null;
|
|
759
759
|
totalSpent: number | null;
|
|
760
760
|
numberOfHires: number | null;
|
|
@@ -768,9 +768,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
768
768
|
}, {
|
|
769
769
|
country: string | null;
|
|
770
770
|
region: string | null;
|
|
771
|
+
rating: number | null;
|
|
771
772
|
isPaymentVerified: boolean | null;
|
|
772
773
|
numberOfReviews: number | null;
|
|
773
|
-
rating: number | null;
|
|
774
774
|
jobsPosted: number | null;
|
|
775
775
|
totalSpent: number | null;
|
|
776
776
|
numberOfHires: number | null;
|
|
@@ -884,9 +884,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
884
884
|
clientInfo: {
|
|
885
885
|
country: string | null;
|
|
886
886
|
region: string | null;
|
|
887
|
+
rating: number | null;
|
|
887
888
|
isPaymentVerified: boolean | null;
|
|
888
889
|
numberOfReviews: number | null;
|
|
889
|
-
rating: number | null;
|
|
890
890
|
jobsPosted: number | null;
|
|
891
891
|
totalSpent: number | null;
|
|
892
892
|
numberOfHires: number | null;
|
|
@@ -958,9 +958,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
958
958
|
clientInfo: {
|
|
959
959
|
country: string | null;
|
|
960
960
|
region: string | null;
|
|
961
|
+
rating: number | null;
|
|
961
962
|
isPaymentVerified: boolean | null;
|
|
962
963
|
numberOfReviews: number | null;
|
|
963
|
-
rating: number | null;
|
|
964
964
|
jobsPosted: number | null;
|
|
965
965
|
totalSpent: number | null;
|
|
966
966
|
numberOfHires: number | null;
|
|
@@ -1037,9 +1037,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1037
1037
|
clientInfo: {
|
|
1038
1038
|
country: string | null;
|
|
1039
1039
|
region: string | null;
|
|
1040
|
+
rating: number | null;
|
|
1040
1041
|
isPaymentVerified: boolean | null;
|
|
1041
1042
|
numberOfReviews: number | null;
|
|
1042
|
-
rating: number | null;
|
|
1043
1043
|
jobsPosted: number | null;
|
|
1044
1044
|
totalSpent: number | null;
|
|
1045
1045
|
numberOfHires: number | null;
|
|
@@ -1116,9 +1116,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1116
1116
|
clientInfo: {
|
|
1117
1117
|
country: string | null;
|
|
1118
1118
|
region: string | null;
|
|
1119
|
+
rating: number | null;
|
|
1119
1120
|
isPaymentVerified: boolean | null;
|
|
1120
1121
|
numberOfReviews: number | null;
|
|
1121
|
-
rating: number | null;
|
|
1122
1122
|
jobsPosted: number | null;
|
|
1123
1123
|
totalSpent: number | null;
|
|
1124
1124
|
numberOfHires: number | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
3
|
id: z.ZodNullable<z.ZodString>;
|
|
4
4
|
createdAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -222,7 +222,7 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
|
|
|
222
222
|
biddingAmount: z.ZodOptional<z.ZodNumber>;
|
|
223
223
|
boosted: z.ZodOptional<z.ZodBoolean>;
|
|
224
224
|
boostingAmount: z.ZodOptional<z.ZodNumber>;
|
|
225
|
-
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "
|
|
225
|
+
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
|
|
226
226
|
title: string | null;
|
|
227
227
|
metadata: {
|
|
228
228
|
hourlyRate: {
|
|
@@ -233,7 +233,6 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
|
|
|
233
233
|
};
|
|
234
234
|
description: string | null;
|
|
235
235
|
jobId: string;
|
|
236
|
-
questions: string[] | null;
|
|
237
236
|
clientInfo: {
|
|
238
237
|
country: string | null;
|
|
239
238
|
};
|
|
@@ -257,7 +256,6 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
|
|
|
257
256
|
};
|
|
258
257
|
description: string | null;
|
|
259
258
|
jobId: string;
|
|
260
|
-
questions: string[] | null;
|
|
261
259
|
clientInfo: {
|
|
262
260
|
country: string | null;
|
|
263
261
|
};
|
|
@@ -495,7 +493,7 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
495
493
|
biddingAmount: z.ZodOptional<z.ZodNumber>;
|
|
496
494
|
boosted: z.ZodOptional<z.ZodBoolean>;
|
|
497
495
|
boostingAmount: z.ZodOptional<z.ZodNumber>;
|
|
498
|
-
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "
|
|
496
|
+
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
|
|
499
497
|
title: string | null;
|
|
500
498
|
metadata: {
|
|
501
499
|
hourlyRate: {
|
|
@@ -506,7 +504,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
506
504
|
};
|
|
507
505
|
description: string | null;
|
|
508
506
|
jobId: string;
|
|
509
|
-
questions: string[] | null;
|
|
510
507
|
clientInfo: {
|
|
511
508
|
country: string | null;
|
|
512
509
|
};
|
|
@@ -530,7 +527,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
530
527
|
};
|
|
531
528
|
description: string | null;
|
|
532
529
|
jobId: string;
|
|
533
|
-
questions: string[] | null;
|
|
534
530
|
clientInfo: {
|
|
535
531
|
country: string | null;
|
|
536
532
|
};
|
|
@@ -559,7 +555,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
559
555
|
};
|
|
560
556
|
description: string | null;
|
|
561
557
|
jobId: string;
|
|
562
|
-
questions: string[] | null;
|
|
563
558
|
clientInfo: {
|
|
564
559
|
country: string | null;
|
|
565
560
|
};
|
|
@@ -588,7 +583,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
588
583
|
};
|
|
589
584
|
description: string | null;
|
|
590
585
|
jobId: string;
|
|
591
|
-
questions: string[] | null;
|
|
592
586
|
clientInfo: {
|
|
593
587
|
country: string | null;
|
|
594
588
|
};
|
|
@@ -33,7 +33,6 @@ exports.jobPipelineDetailsSchema = job_details_1.jobDetailsSchema
|
|
|
33
33
|
biddingAmount: true,
|
|
34
34
|
boostingAmount: true,
|
|
35
35
|
boosted: true,
|
|
36
|
-
questions: true,
|
|
37
36
|
});
|
|
38
37
|
exports.jobPipelineResponseSchema = zod_1.z.object({
|
|
39
38
|
jobs: zod_1.z.array(exports.jobPipelineDetailsSchema),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare const jobSkillsSchema: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12,18 +12,21 @@ export declare const vendorQualificationSchema: z.ZodObject<{
|
|
|
12
12
|
englishLevel: z.ZodNullable<z.ZodString>;
|
|
13
13
|
minimumEarnings: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
jobSuccessScore: z.ZodNullable<z.ZodString>;
|
|
15
|
+
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
15
16
|
}, "strip", z.ZodTypeAny, {
|
|
16
17
|
location: string | null;
|
|
17
18
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
18
19
|
englishLevel: string | null;
|
|
19
20
|
minimumEarnings: number | null;
|
|
20
21
|
jobSuccessScore: string | null;
|
|
22
|
+
includeRisingTalent: string | null;
|
|
21
23
|
}, {
|
|
22
24
|
location: string | null;
|
|
23
25
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
24
26
|
englishLevel: string | null;
|
|
25
27
|
minimumEarnings: number | null;
|
|
26
28
|
jobSuccessScore: string | null;
|
|
29
|
+
includeRisingTalent: string | null;
|
|
27
30
|
}>;
|
|
28
31
|
export declare const clientInfoSchema: z.ZodObject<{
|
|
29
32
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -223,20 +226,24 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
223
226
|
englishLevel: z.ZodNullable<z.ZodString>;
|
|
224
227
|
minimumEarnings: z.ZodNullable<z.ZodNumber>;
|
|
225
228
|
jobSuccessScore: z.ZodNullable<z.ZodString>;
|
|
229
|
+
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
226
230
|
}, "strip", z.ZodTypeAny, {
|
|
227
231
|
location: string | null;
|
|
228
232
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
229
233
|
englishLevel: string | null;
|
|
230
234
|
minimumEarnings: number | null;
|
|
231
235
|
jobSuccessScore: string | null;
|
|
236
|
+
includeRisingTalent: string | null;
|
|
232
237
|
}, {
|
|
233
238
|
location: string | null;
|
|
234
239
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
235
240
|
englishLevel: string | null;
|
|
236
241
|
minimumEarnings: number | null;
|
|
237
242
|
jobSuccessScore: string | null;
|
|
243
|
+
includeRisingTalent: string | null;
|
|
238
244
|
}>>;
|
|
239
245
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
246
|
+
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
240
247
|
}, "strip", z.ZodTypeAny, {
|
|
241
248
|
id: string | null;
|
|
242
249
|
title: string | null;
|
|
@@ -287,8 +294,10 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
287
294
|
englishLevel: string | null;
|
|
288
295
|
minimumEarnings: number | null;
|
|
289
296
|
jobSuccessScore: string | null;
|
|
297
|
+
includeRisingTalent: string | null;
|
|
290
298
|
} | null;
|
|
291
299
|
processed: boolean | null;
|
|
300
|
+
isFeatured: boolean | null;
|
|
292
301
|
}, {
|
|
293
302
|
id: string | null;
|
|
294
303
|
title: string | null;
|
|
@@ -339,8 +348,10 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
339
348
|
englishLevel: string | null;
|
|
340
349
|
minimumEarnings: number | null;
|
|
341
350
|
jobSuccessScore: string | null;
|
|
351
|
+
includeRisingTalent: string | null;
|
|
342
352
|
} | null;
|
|
343
353
|
processed: boolean | null;
|
|
354
|
+
isFeatured: boolean | null;
|
|
344
355
|
}>;
|
|
345
356
|
export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
346
357
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -454,20 +465,24 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
454
465
|
englishLevel: z.ZodNullable<z.ZodString>;
|
|
455
466
|
minimumEarnings: z.ZodNullable<z.ZodNumber>;
|
|
456
467
|
jobSuccessScore: z.ZodNullable<z.ZodString>;
|
|
468
|
+
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
457
469
|
}, "strip", z.ZodTypeAny, {
|
|
458
470
|
location: string | null;
|
|
459
471
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
460
472
|
englishLevel: string | null;
|
|
461
473
|
minimumEarnings: number | null;
|
|
462
474
|
jobSuccessScore: string | null;
|
|
475
|
+
includeRisingTalent: string | null;
|
|
463
476
|
}, {
|
|
464
477
|
location: string | null;
|
|
465
478
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
466
479
|
englishLevel: string | null;
|
|
467
480
|
minimumEarnings: number | null;
|
|
468
481
|
jobSuccessScore: string | null;
|
|
482
|
+
includeRisingTalent: string | null;
|
|
469
483
|
}>>;
|
|
470
484
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
485
|
+
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
471
486
|
}, {
|
|
472
487
|
jobId: z.ZodString;
|
|
473
488
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -573,8 +588,10 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
573
588
|
englishLevel: string | null;
|
|
574
589
|
minimumEarnings: number | null;
|
|
575
590
|
jobSuccessScore: string | null;
|
|
591
|
+
includeRisingTalent: string | null;
|
|
576
592
|
} | null;
|
|
577
593
|
processed: boolean | null;
|
|
594
|
+
isFeatured: boolean | null;
|
|
578
595
|
suitabilityRating: number | null;
|
|
579
596
|
suitabilityReason: string | null;
|
|
580
597
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -650,8 +667,10 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
650
667
|
englishLevel: string | null;
|
|
651
668
|
minimumEarnings: number | null;
|
|
652
669
|
jobSuccessScore: string | null;
|
|
670
|
+
includeRisingTalent: string | null;
|
|
653
671
|
} | null;
|
|
654
672
|
processed: boolean | null;
|
|
673
|
+
isFeatured: boolean | null;
|
|
655
674
|
suitabilityRating: number | null;
|
|
656
675
|
suitabilityReason: string | null;
|
|
657
676
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -675,14 +694,17 @@ export declare const jobListItemSchema: z.ZodObject<{
|
|
|
675
694
|
title: z.ZodNullable<z.ZodString>;
|
|
676
695
|
jobUrl: z.ZodNullable<z.ZodString>;
|
|
677
696
|
datetime: z.ZodNullable<z.ZodString>;
|
|
697
|
+
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
678
698
|
}, "strip", z.ZodTypeAny, {
|
|
679
699
|
title: string | null;
|
|
680
700
|
datetime: string | null;
|
|
681
701
|
jobUrl: string | null;
|
|
702
|
+
isFeatured: boolean | null;
|
|
682
703
|
}, {
|
|
683
704
|
title: string | null;
|
|
684
705
|
datetime: string | null;
|
|
685
706
|
jobUrl: string | null;
|
|
707
|
+
isFeatured: boolean | null;
|
|
686
708
|
}>;
|
|
687
709
|
export declare const leadResponseSchema: z.ZodObject<{
|
|
688
710
|
leads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -797,20 +819,24 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
797
819
|
englishLevel: z.ZodNullable<z.ZodString>;
|
|
798
820
|
minimumEarnings: z.ZodNullable<z.ZodNumber>;
|
|
799
821
|
jobSuccessScore: z.ZodNullable<z.ZodString>;
|
|
822
|
+
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
800
823
|
}, "strip", z.ZodTypeAny, {
|
|
801
824
|
location: string | null;
|
|
802
825
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
803
826
|
englishLevel: string | null;
|
|
804
827
|
minimumEarnings: number | null;
|
|
805
828
|
jobSuccessScore: string | null;
|
|
829
|
+
includeRisingTalent: string | null;
|
|
806
830
|
}, {
|
|
807
831
|
location: string | null;
|
|
808
832
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
809
833
|
englishLevel: string | null;
|
|
810
834
|
minimumEarnings: number | null;
|
|
811
835
|
jobSuccessScore: string | null;
|
|
836
|
+
includeRisingTalent: string | null;
|
|
812
837
|
}>>;
|
|
813
838
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
839
|
+
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
814
840
|
}, {
|
|
815
841
|
jobId: z.ZodString;
|
|
816
842
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -916,8 +942,10 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
916
942
|
englishLevel: string | null;
|
|
917
943
|
minimumEarnings: number | null;
|
|
918
944
|
jobSuccessScore: string | null;
|
|
945
|
+
includeRisingTalent: string | null;
|
|
919
946
|
} | null;
|
|
920
947
|
processed: boolean | null;
|
|
948
|
+
isFeatured: boolean | null;
|
|
921
949
|
suitabilityRating: number | null;
|
|
922
950
|
suitabilityReason: string | null;
|
|
923
951
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -993,8 +1021,10 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
993
1021
|
englishLevel: string | null;
|
|
994
1022
|
minimumEarnings: number | null;
|
|
995
1023
|
jobSuccessScore: string | null;
|
|
1024
|
+
includeRisingTalent: string | null;
|
|
996
1025
|
} | null;
|
|
997
1026
|
processed: boolean | null;
|
|
1027
|
+
isFeatured: boolean | null;
|
|
998
1028
|
suitabilityRating: number | null;
|
|
999
1029
|
suitabilityReason: string | null;
|
|
1000
1030
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1075,8 +1105,10 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1075
1105
|
englishLevel: string | null;
|
|
1076
1106
|
minimumEarnings: number | null;
|
|
1077
1107
|
jobSuccessScore: string | null;
|
|
1108
|
+
includeRisingTalent: string | null;
|
|
1078
1109
|
} | null;
|
|
1079
1110
|
processed: boolean | null;
|
|
1111
|
+
isFeatured: boolean | null;
|
|
1080
1112
|
suitabilityRating: number | null;
|
|
1081
1113
|
suitabilityReason: string | null;
|
|
1082
1114
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1157,8 +1189,10 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1157
1189
|
englishLevel: string | null;
|
|
1158
1190
|
minimumEarnings: number | null;
|
|
1159
1191
|
jobSuccessScore: string | null;
|
|
1192
|
+
includeRisingTalent: string | null;
|
|
1160
1193
|
} | null;
|
|
1161
1194
|
processed: boolean | null;
|
|
1195
|
+
isFeatured: boolean | null;
|
|
1162
1196
|
suitabilityRating: number | null;
|
|
1163
1197
|
suitabilityReason: string | null;
|
|
1164
1198
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -10,10 +10,11 @@ exports.jobSkillsSchema = zod_1.z.object({
|
|
|
10
10
|
});
|
|
11
11
|
exports.vendorQualificationSchema = zod_1.z.object({
|
|
12
12
|
location: zod_1.z.string().nullable(),
|
|
13
|
-
talentType: zod_1.z.enum([
|
|
13
|
+
talentType: zod_1.z.enum(["Agency", "Independent", "unspecified"]).nullable(),
|
|
14
14
|
englishLevel: zod_1.z.string().nullable(),
|
|
15
15
|
minimumEarnings: zod_1.z.number().nullable(),
|
|
16
16
|
jobSuccessScore: zod_1.z.string().nullable(),
|
|
17
|
+
includeRisingTalent: zod_1.z.string().nullable(),
|
|
17
18
|
});
|
|
18
19
|
exports.clientInfoSchema = zod_1.z.object({
|
|
19
20
|
isPaymentVerified: zod_1.z.boolean().nullable(),
|
|
@@ -63,6 +64,7 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
63
64
|
clientInfo: exports.clientInfoSchema.nullable(),
|
|
64
65
|
vendorQualifications: exports.vendorQualificationSchema.nullable(),
|
|
65
66
|
processed: (0, zod_1.boolean)().nullable(),
|
|
67
|
+
isFeatured: (0, zod_1.boolean)().nullable(),
|
|
66
68
|
});
|
|
67
69
|
exports.leadSchema = exports.upworkJobSchema.extend({
|
|
68
70
|
jobId: zod_1.z.string(),
|
|
@@ -84,6 +86,7 @@ exports.jobListItemSchema = zod_1.z.object({
|
|
|
84
86
|
title: zod_1.z.string().nullable(),
|
|
85
87
|
jobUrl: zod_1.z.string().nullable(),
|
|
86
88
|
datetime: zod_1.z.string().nullable(),
|
|
89
|
+
isFeatured: zod_1.z.boolean().nullable(),
|
|
87
90
|
});
|
|
88
91
|
exports.leadResponseSchema = zod_1.z.object({
|
|
89
92
|
leads: zod_1.z.array(exports.leadSchema),
|
|
@@ -112,20 +112,24 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
112
112
|
englishLevel: z.ZodNullable<z.ZodString>;
|
|
113
113
|
minimumEarnings: z.ZodNullable<z.ZodNumber>;
|
|
114
114
|
jobSuccessScore: z.ZodNullable<z.ZodString>;
|
|
115
|
+
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
115
116
|
}, "strip", z.ZodTypeAny, {
|
|
116
117
|
location: string | null;
|
|
117
118
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
118
119
|
englishLevel: string | null;
|
|
119
120
|
minimumEarnings: number | null;
|
|
120
121
|
jobSuccessScore: string | null;
|
|
122
|
+
includeRisingTalent: string | null;
|
|
121
123
|
}, {
|
|
122
124
|
location: string | null;
|
|
123
125
|
talentType: "unspecified" | "Agency" | "Independent" | null;
|
|
124
126
|
englishLevel: string | null;
|
|
125
127
|
minimumEarnings: number | null;
|
|
126
128
|
jobSuccessScore: string | null;
|
|
129
|
+
includeRisingTalent: string | null;
|
|
127
130
|
}>>;
|
|
128
131
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
132
|
+
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
129
133
|
}, "strip", z.ZodTypeAny, {
|
|
130
134
|
id: string | null;
|
|
131
135
|
title: string | null;
|
|
@@ -176,8 +180,10 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
176
180
|
englishLevel: string | null;
|
|
177
181
|
minimumEarnings: number | null;
|
|
178
182
|
jobSuccessScore: string | null;
|
|
183
|
+
includeRisingTalent: string | null;
|
|
179
184
|
} | null;
|
|
180
185
|
processed: boolean | null;
|
|
186
|
+
isFeatured: boolean | null;
|
|
181
187
|
}, {
|
|
182
188
|
id: string | null;
|
|
183
189
|
title: string | null;
|
|
@@ -228,8 +234,10 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
228
234
|
englishLevel: string | null;
|
|
229
235
|
minimumEarnings: number | null;
|
|
230
236
|
jobSuccessScore: string | null;
|
|
237
|
+
includeRisingTalent: string | null;
|
|
231
238
|
} | null;
|
|
232
239
|
processed: boolean | null;
|
|
240
|
+
isFeatured: boolean | null;
|
|
233
241
|
}>, "many">;
|
|
234
242
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
235
243
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -284,8 +292,10 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
284
292
|
englishLevel: string | null;
|
|
285
293
|
minimumEarnings: number | null;
|
|
286
294
|
jobSuccessScore: string | null;
|
|
295
|
+
includeRisingTalent: string | null;
|
|
287
296
|
} | null;
|
|
288
297
|
processed: boolean | null;
|
|
298
|
+
isFeatured: boolean | null;
|
|
289
299
|
}[];
|
|
290
300
|
}, {
|
|
291
301
|
cookies: any[];
|
|
@@ -339,7 +349,9 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
339
349
|
englishLevel: string | null;
|
|
340
350
|
minimumEarnings: number | null;
|
|
341
351
|
jobSuccessScore: string | null;
|
|
352
|
+
includeRisingTalent: string | null;
|
|
342
353
|
} | null;
|
|
343
354
|
processed: boolean | null;
|
|
355
|
+
isFeatured: boolean | null;
|
|
344
356
|
}[];
|
|
345
357
|
}>;
|
package/package.json
CHANGED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.emptyKnowledgeObject = exports.CLIENT_HISTORY = exports.EXPERIENCE_LEVELS = exports.CATEGORIES = void 0;
|
|
4
|
-
exports.CATEGORIES = [
|
|
5
|
-
'Accounting',
|
|
6
|
-
'Business Analysis & Strategy',
|
|
7
|
-
'Financial Analysis & Modeling',
|
|
8
|
-
'HR Administration',
|
|
9
|
-
'Management Consulting',
|
|
10
|
-
'Tax Preparation',
|
|
11
|
-
'Data Entry',
|
|
12
|
-
'Personal/Virtual Assistance',
|
|
13
|
-
'Project Management',
|
|
14
|
-
'Research',
|
|
15
|
-
'Customer Service',
|
|
16
|
-
'Technical Support',
|
|
17
|
-
'Data Analytics',
|
|
18
|
-
'Data Processing',
|
|
19
|
-
'Data Engineering',
|
|
20
|
-
'Machine Learning',
|
|
21
|
-
'AI Development',
|
|
22
|
-
'Art & Illustration',
|
|
23
|
-
'Audio Production',
|
|
24
|
-
'Brand Design',
|
|
25
|
-
'Logo Design',
|
|
26
|
-
'Graphics Design',
|
|
27
|
-
'Video Production',
|
|
28
|
-
'Voice Acting',
|
|
29
|
-
'Architecture',
|
|
30
|
-
'Chemical Engineering',
|
|
31
|
-
'Civil Engineering',
|
|
32
|
-
'Electrical Engineering',
|
|
33
|
-
'Interior Design',
|
|
34
|
-
'Mechanical Engineering',
|
|
35
|
-
'Database Administration',
|
|
36
|
-
'Information Security',
|
|
37
|
-
'Network Administration',
|
|
38
|
-
'Systems Administration',
|
|
39
|
-
'DevOps Engineering',
|
|
40
|
-
'Business Law',
|
|
41
|
-
'Immigration Law',
|
|
42
|
-
'Tax Law',
|
|
43
|
-
'Regulatory Law',
|
|
44
|
-
'Paralegal Services',
|
|
45
|
-
'Digital Marketing',
|
|
46
|
-
'Lead Generation',
|
|
47
|
-
'Marketing Strategy',
|
|
48
|
-
'Social Media Marketing',
|
|
49
|
-
'SEO',
|
|
50
|
-
'Language Translation',
|
|
51
|
-
'Legal Translation',
|
|
52
|
-
'Technical Translation',
|
|
53
|
-
'Medical Translation',
|
|
54
|
-
'Desktop Development',
|
|
55
|
-
'Mobile Development',
|
|
56
|
-
'Web Development',
|
|
57
|
-
'Game Development',
|
|
58
|
-
'QA & Testing',
|
|
59
|
-
'Content Writing',
|
|
60
|
-
'Copywriting',
|
|
61
|
-
'Technical Writing',
|
|
62
|
-
'Creative Writing',
|
|
63
|
-
'Editing',
|
|
64
|
-
];
|
|
65
|
-
exports.EXPERIENCE_LEVELS = ['Entry Level', 'Mid Level', 'Senior Level'];
|
|
66
|
-
exports.CLIENT_HISTORY = ['No hires', '1-9 hires', '10+ hires'];
|
|
67
|
-
// Default knowledge object with all null values
|
|
68
|
-
exports.emptyKnowledgeObject = {
|
|
69
|
-
categories: exports.CATEGORIES.reduce((acc, category) => (Object.assign(Object.assign({}, acc), { [category]: null })), {}),
|
|
70
|
-
experienceLevels: exports.EXPERIENCE_LEVELS.reduce((acc, level) => (Object.assign(Object.assign({}, acc), { [level]: null })), {}),
|
|
71
|
-
minHourlyRate: null,
|
|
72
|
-
fixedPriceMin: null,
|
|
73
|
-
clientHistory: exports.CLIENT_HISTORY.reduce((acc, history) => (Object.assign(Object.assign({}, acc), { [history]: null })), {}),
|
|
74
|
-
keywords: [],
|
|
75
|
-
};
|