lancer-shared 1.0.29 → 1.0.31
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.
|
@@ -44,6 +44,7 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
44
44
|
companyIndustry: z.ZodNullable<z.ZodString>;
|
|
45
45
|
companySize: z.ZodNullable<z.ZodString>;
|
|
46
46
|
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
47
|
+
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
|
48
49
|
country: string | null;
|
|
49
50
|
region: string | null;
|
|
@@ -60,6 +61,7 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
60
61
|
companyIndustry: string | null;
|
|
61
62
|
companySize: string | null;
|
|
62
63
|
enterpriseClient: boolean | null;
|
|
64
|
+
avgHourlyRatePaid: number | null;
|
|
63
65
|
}, {
|
|
64
66
|
country: string | null;
|
|
65
67
|
region: string | null;
|
|
@@ -76,6 +78,47 @@ export declare const clientInfoSchema: z.ZodObject<{
|
|
|
76
78
|
companyIndustry: string | null;
|
|
77
79
|
companySize: string | null;
|
|
78
80
|
enterpriseClient: boolean | null;
|
|
81
|
+
avgHourlyRatePaid: number | null;
|
|
82
|
+
}>;
|
|
83
|
+
export declare const clientReviewSchema: z.ZodObject<{
|
|
84
|
+
jobTitle: z.ZodNullable<z.ZodString>;
|
|
85
|
+
freelancerName: z.ZodNullable<z.ZodString>;
|
|
86
|
+
freelancerRating: z.ZodNullable<z.ZodNumber>;
|
|
87
|
+
freelancerFeedback: z.ZodNullable<z.ZodString>;
|
|
88
|
+
clientFeedback: z.ZodNullable<z.ZodString>;
|
|
89
|
+
clientFeedbackRating: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
dateRange: z.ZodNullable<z.ZodString>;
|
|
91
|
+
paymentType: z.ZodNullable<z.ZodString>;
|
|
92
|
+
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
93
|
+
hourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
numHours: z.ZodNullable<z.ZodNumber>;
|
|
95
|
+
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
jobTitle: string | null;
|
|
98
|
+
freelancerName: string | null;
|
|
99
|
+
freelancerRating: number | null;
|
|
100
|
+
freelancerFeedback: string | null;
|
|
101
|
+
clientFeedback: string | null;
|
|
102
|
+
clientFeedbackRating: number | null;
|
|
103
|
+
dateRange: string | null;
|
|
104
|
+
paymentType: string | null;
|
|
105
|
+
fixedPrice: number | null;
|
|
106
|
+
hourlyRate: number | null;
|
|
107
|
+
numHours: number | null;
|
|
108
|
+
totalBilled: number | null;
|
|
109
|
+
}, {
|
|
110
|
+
jobTitle: string | null;
|
|
111
|
+
freelancerName: string | null;
|
|
112
|
+
freelancerRating: number | null;
|
|
113
|
+
freelancerFeedback: string | null;
|
|
114
|
+
clientFeedback: string | null;
|
|
115
|
+
clientFeedbackRating: number | null;
|
|
116
|
+
dateRange: string | null;
|
|
117
|
+
paymentType: string | null;
|
|
118
|
+
fixedPrice: number | null;
|
|
119
|
+
hourlyRate: number | null;
|
|
120
|
+
numHours: number | null;
|
|
121
|
+
totalBilled: number | null;
|
|
79
122
|
}>;
|
|
80
123
|
export declare const metadataSchema: z.ZodObject<{
|
|
81
124
|
hours: z.ZodNullable<z.ZodString>;
|
|
@@ -96,23 +139,23 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
96
139
|
}, "strip", z.ZodTypeAny, {
|
|
97
140
|
hours: string | null;
|
|
98
141
|
duration: string | null;
|
|
99
|
-
|
|
142
|
+
paymentType: string | null;
|
|
143
|
+
fixedPrice: number | null;
|
|
100
144
|
hourlyRate: {
|
|
101
145
|
max: number | null;
|
|
102
146
|
min: number | null;
|
|
103
147
|
} | null;
|
|
104
|
-
|
|
105
|
-
fixedPrice: number | null;
|
|
148
|
+
experienceLevel: string | null;
|
|
106
149
|
}, {
|
|
107
150
|
hours: string | null;
|
|
108
151
|
duration: string | null;
|
|
109
|
-
|
|
152
|
+
paymentType: string | null;
|
|
153
|
+
fixedPrice: number | null;
|
|
110
154
|
hourlyRate: {
|
|
111
155
|
max: number | null;
|
|
112
156
|
min: number | null;
|
|
113
157
|
} | null;
|
|
114
|
-
|
|
115
|
-
fixedPrice: number | null;
|
|
158
|
+
experienceLevel: string | null;
|
|
116
159
|
}>;
|
|
117
160
|
export declare const upworkJobSchema: z.ZodObject<{
|
|
118
161
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -153,23 +196,23 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
153
196
|
}, "strip", z.ZodTypeAny, {
|
|
154
197
|
hours: string | null;
|
|
155
198
|
duration: string | null;
|
|
156
|
-
|
|
199
|
+
paymentType: string | null;
|
|
200
|
+
fixedPrice: number | null;
|
|
157
201
|
hourlyRate: {
|
|
158
202
|
max: number | null;
|
|
159
203
|
min: number | null;
|
|
160
204
|
} | null;
|
|
161
|
-
|
|
162
|
-
fixedPrice: number | null;
|
|
205
|
+
experienceLevel: string | null;
|
|
163
206
|
}, {
|
|
164
207
|
hours: string | null;
|
|
165
208
|
duration: string | null;
|
|
166
|
-
|
|
209
|
+
paymentType: string | null;
|
|
210
|
+
fixedPrice: number | null;
|
|
167
211
|
hourlyRate: {
|
|
168
212
|
max: number | null;
|
|
169
213
|
min: number | null;
|
|
170
214
|
} | null;
|
|
171
|
-
|
|
172
|
-
fixedPrice: number | null;
|
|
215
|
+
experienceLevel: string | null;
|
|
173
216
|
}>>;
|
|
174
217
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
175
218
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -187,6 +230,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
187
230
|
companyIndustry: z.ZodNullable<z.ZodString>;
|
|
188
231
|
companySize: z.ZodNullable<z.ZodString>;
|
|
189
232
|
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
233
|
+
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
190
234
|
}, "strip", z.ZodTypeAny, {
|
|
191
235
|
country: string | null;
|
|
192
236
|
region: string | null;
|
|
@@ -203,6 +247,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
203
247
|
companyIndustry: string | null;
|
|
204
248
|
companySize: string | null;
|
|
205
249
|
enterpriseClient: boolean | null;
|
|
250
|
+
avgHourlyRatePaid: number | null;
|
|
206
251
|
}, {
|
|
207
252
|
country: string | null;
|
|
208
253
|
region: string | null;
|
|
@@ -219,6 +264,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
219
264
|
companyIndustry: string | null;
|
|
220
265
|
companySize: string | null;
|
|
221
266
|
enterpriseClient: boolean | null;
|
|
267
|
+
avgHourlyRatePaid: number | null;
|
|
222
268
|
}>>;
|
|
223
269
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
224
270
|
location: z.ZodNullable<z.ZodString>;
|
|
@@ -244,19 +290,59 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
244
290
|
}>>;
|
|
245
291
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
246
292
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
293
|
+
clientReviews: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
294
|
+
jobTitle: z.ZodNullable<z.ZodString>;
|
|
295
|
+
freelancerName: z.ZodNullable<z.ZodString>;
|
|
296
|
+
freelancerRating: z.ZodNullable<z.ZodNumber>;
|
|
297
|
+
freelancerFeedback: z.ZodNullable<z.ZodString>;
|
|
298
|
+
clientFeedback: z.ZodNullable<z.ZodString>;
|
|
299
|
+
clientFeedbackRating: z.ZodNullable<z.ZodNumber>;
|
|
300
|
+
dateRange: z.ZodNullable<z.ZodString>;
|
|
301
|
+
paymentType: z.ZodNullable<z.ZodString>;
|
|
302
|
+
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
303
|
+
hourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
304
|
+
numHours: z.ZodNullable<z.ZodNumber>;
|
|
305
|
+
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
jobTitle: string | null;
|
|
308
|
+
freelancerName: string | null;
|
|
309
|
+
freelancerRating: number | null;
|
|
310
|
+
freelancerFeedback: string | null;
|
|
311
|
+
clientFeedback: string | null;
|
|
312
|
+
clientFeedbackRating: number | null;
|
|
313
|
+
dateRange: string | null;
|
|
314
|
+
paymentType: string | null;
|
|
315
|
+
fixedPrice: number | null;
|
|
316
|
+
hourlyRate: number | null;
|
|
317
|
+
numHours: number | null;
|
|
318
|
+
totalBilled: number | null;
|
|
319
|
+
}, {
|
|
320
|
+
jobTitle: string | null;
|
|
321
|
+
freelancerName: string | null;
|
|
322
|
+
freelancerRating: number | null;
|
|
323
|
+
freelancerFeedback: string | null;
|
|
324
|
+
clientFeedback: string | null;
|
|
325
|
+
clientFeedbackRating: number | null;
|
|
326
|
+
dateRange: string | null;
|
|
327
|
+
paymentType: string | null;
|
|
328
|
+
fixedPrice: number | null;
|
|
329
|
+
hourlyRate: number | null;
|
|
330
|
+
numHours: number | null;
|
|
331
|
+
totalBilled: number | null;
|
|
332
|
+
}>, "many">>;
|
|
247
333
|
}, "strip", z.ZodTypeAny, {
|
|
248
334
|
id: string | null;
|
|
249
335
|
title: string | null;
|
|
250
336
|
metadata: {
|
|
251
337
|
hours: string | null;
|
|
252
338
|
duration: string | null;
|
|
253
|
-
|
|
339
|
+
paymentType: string | null;
|
|
340
|
+
fixedPrice: number | null;
|
|
254
341
|
hourlyRate: {
|
|
255
342
|
max: number | null;
|
|
256
343
|
min: number | null;
|
|
257
344
|
} | null;
|
|
258
|
-
|
|
259
|
-
fixedPrice: number | null;
|
|
345
|
+
experienceLevel: string | null;
|
|
260
346
|
} | null;
|
|
261
347
|
description: string | null;
|
|
262
348
|
datetime: number | null;
|
|
@@ -287,6 +373,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
287
373
|
companyIndustry: string | null;
|
|
288
374
|
companySize: string | null;
|
|
289
375
|
enterpriseClient: boolean | null;
|
|
376
|
+
avgHourlyRatePaid: number | null;
|
|
290
377
|
} | null;
|
|
291
378
|
vendorQualifications: {
|
|
292
379
|
location: string | null;
|
|
@@ -298,19 +385,33 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
298
385
|
} | null;
|
|
299
386
|
processed: boolean | null;
|
|
300
387
|
isFeatured: boolean | null;
|
|
388
|
+
clientReviews: {
|
|
389
|
+
jobTitle: string | null;
|
|
390
|
+
freelancerName: string | null;
|
|
391
|
+
freelancerRating: number | null;
|
|
392
|
+
freelancerFeedback: string | null;
|
|
393
|
+
clientFeedback: string | null;
|
|
394
|
+
clientFeedbackRating: number | null;
|
|
395
|
+
dateRange: string | null;
|
|
396
|
+
paymentType: string | null;
|
|
397
|
+
fixedPrice: number | null;
|
|
398
|
+
hourlyRate: number | null;
|
|
399
|
+
numHours: number | null;
|
|
400
|
+
totalBilled: number | null;
|
|
401
|
+
}[] | null;
|
|
301
402
|
}, {
|
|
302
403
|
id: string | null;
|
|
303
404
|
title: string | null;
|
|
304
405
|
metadata: {
|
|
305
406
|
hours: string | null;
|
|
306
407
|
duration: string | null;
|
|
307
|
-
|
|
408
|
+
paymentType: string | null;
|
|
409
|
+
fixedPrice: number | null;
|
|
308
410
|
hourlyRate: {
|
|
309
411
|
max: number | null;
|
|
310
412
|
min: number | null;
|
|
311
413
|
} | null;
|
|
312
|
-
|
|
313
|
-
fixedPrice: number | null;
|
|
414
|
+
experienceLevel: string | null;
|
|
314
415
|
} | null;
|
|
315
416
|
description: string | null;
|
|
316
417
|
datetime: number | null;
|
|
@@ -341,6 +442,7 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
341
442
|
companyIndustry: string | null;
|
|
342
443
|
companySize: string | null;
|
|
343
444
|
enterpriseClient: boolean | null;
|
|
445
|
+
avgHourlyRatePaid: number | null;
|
|
344
446
|
} | null;
|
|
345
447
|
vendorQualifications: {
|
|
346
448
|
location: string | null;
|
|
@@ -352,6 +454,20 @@ export declare const upworkJobSchema: z.ZodObject<{
|
|
|
352
454
|
} | null;
|
|
353
455
|
processed: boolean | null;
|
|
354
456
|
isFeatured: boolean | null;
|
|
457
|
+
clientReviews: {
|
|
458
|
+
jobTitle: string | null;
|
|
459
|
+
freelancerName: string | null;
|
|
460
|
+
freelancerRating: number | null;
|
|
461
|
+
freelancerFeedback: string | null;
|
|
462
|
+
clientFeedback: string | null;
|
|
463
|
+
clientFeedbackRating: number | null;
|
|
464
|
+
dateRange: string | null;
|
|
465
|
+
paymentType: string | null;
|
|
466
|
+
fixedPrice: number | null;
|
|
467
|
+
hourlyRate: number | null;
|
|
468
|
+
numHours: number | null;
|
|
469
|
+
totalBilled: number | null;
|
|
470
|
+
}[] | null;
|
|
355
471
|
}>;
|
|
356
472
|
export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
357
473
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -392,23 +508,23 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
392
508
|
}, "strip", z.ZodTypeAny, {
|
|
393
509
|
hours: string | null;
|
|
394
510
|
duration: string | null;
|
|
395
|
-
|
|
511
|
+
paymentType: string | null;
|
|
512
|
+
fixedPrice: number | null;
|
|
396
513
|
hourlyRate: {
|
|
397
514
|
max: number | null;
|
|
398
515
|
min: number | null;
|
|
399
516
|
} | null;
|
|
400
|
-
|
|
401
|
-
fixedPrice: number | null;
|
|
517
|
+
experienceLevel: string | null;
|
|
402
518
|
}, {
|
|
403
519
|
hours: string | null;
|
|
404
520
|
duration: string | null;
|
|
405
|
-
|
|
521
|
+
paymentType: string | null;
|
|
522
|
+
fixedPrice: number | null;
|
|
406
523
|
hourlyRate: {
|
|
407
524
|
max: number | null;
|
|
408
525
|
min: number | null;
|
|
409
526
|
} | null;
|
|
410
|
-
|
|
411
|
-
fixedPrice: number | null;
|
|
527
|
+
experienceLevel: string | null;
|
|
412
528
|
}>>;
|
|
413
529
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
414
530
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -426,6 +542,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
426
542
|
companyIndustry: z.ZodNullable<z.ZodString>;
|
|
427
543
|
companySize: z.ZodNullable<z.ZodString>;
|
|
428
544
|
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
545
|
+
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
429
546
|
}, "strip", z.ZodTypeAny, {
|
|
430
547
|
country: string | null;
|
|
431
548
|
region: string | null;
|
|
@@ -442,6 +559,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
442
559
|
companyIndustry: string | null;
|
|
443
560
|
companySize: string | null;
|
|
444
561
|
enterpriseClient: boolean | null;
|
|
562
|
+
avgHourlyRatePaid: number | null;
|
|
445
563
|
}, {
|
|
446
564
|
country: string | null;
|
|
447
565
|
region: string | null;
|
|
@@ -458,6 +576,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
458
576
|
companyIndustry: string | null;
|
|
459
577
|
companySize: string | null;
|
|
460
578
|
enterpriseClient: boolean | null;
|
|
579
|
+
avgHourlyRatePaid: number | null;
|
|
461
580
|
}>>;
|
|
462
581
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
463
582
|
location: z.ZodNullable<z.ZodString>;
|
|
@@ -483,6 +602,46 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
483
602
|
}>>;
|
|
484
603
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
485
604
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
605
|
+
clientReviews: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
606
|
+
jobTitle: z.ZodNullable<z.ZodString>;
|
|
607
|
+
freelancerName: z.ZodNullable<z.ZodString>;
|
|
608
|
+
freelancerRating: z.ZodNullable<z.ZodNumber>;
|
|
609
|
+
freelancerFeedback: z.ZodNullable<z.ZodString>;
|
|
610
|
+
clientFeedback: z.ZodNullable<z.ZodString>;
|
|
611
|
+
clientFeedbackRating: z.ZodNullable<z.ZodNumber>;
|
|
612
|
+
dateRange: z.ZodNullable<z.ZodString>;
|
|
613
|
+
paymentType: z.ZodNullable<z.ZodString>;
|
|
614
|
+
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
615
|
+
hourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
616
|
+
numHours: z.ZodNullable<z.ZodNumber>;
|
|
617
|
+
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
618
|
+
}, "strip", z.ZodTypeAny, {
|
|
619
|
+
jobTitle: string | null;
|
|
620
|
+
freelancerName: string | null;
|
|
621
|
+
freelancerRating: number | null;
|
|
622
|
+
freelancerFeedback: string | null;
|
|
623
|
+
clientFeedback: string | null;
|
|
624
|
+
clientFeedbackRating: number | null;
|
|
625
|
+
dateRange: string | null;
|
|
626
|
+
paymentType: string | null;
|
|
627
|
+
fixedPrice: number | null;
|
|
628
|
+
hourlyRate: number | null;
|
|
629
|
+
numHours: number | null;
|
|
630
|
+
totalBilled: number | null;
|
|
631
|
+
}, {
|
|
632
|
+
jobTitle: string | null;
|
|
633
|
+
freelancerName: string | null;
|
|
634
|
+
freelancerRating: number | null;
|
|
635
|
+
freelancerFeedback: string | null;
|
|
636
|
+
clientFeedback: string | null;
|
|
637
|
+
clientFeedbackRating: number | null;
|
|
638
|
+
dateRange: string | null;
|
|
639
|
+
paymentType: string | null;
|
|
640
|
+
fixedPrice: number | null;
|
|
641
|
+
hourlyRate: number | null;
|
|
642
|
+
numHours: number | null;
|
|
643
|
+
totalBilled: number | null;
|
|
644
|
+
}>, "many">>;
|
|
486
645
|
}, {
|
|
487
646
|
jobId: z.ZodString;
|
|
488
647
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -537,13 +696,13 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
537
696
|
metadata: {
|
|
538
697
|
hours: string | null;
|
|
539
698
|
duration: string | null;
|
|
540
|
-
|
|
699
|
+
paymentType: string | null;
|
|
700
|
+
fixedPrice: number | null;
|
|
541
701
|
hourlyRate: {
|
|
542
702
|
max: number | null;
|
|
543
703
|
min: number | null;
|
|
544
704
|
} | null;
|
|
545
|
-
|
|
546
|
-
fixedPrice: number | null;
|
|
705
|
+
experienceLevel: string | null;
|
|
547
706
|
} | null;
|
|
548
707
|
description: string | null;
|
|
549
708
|
datetime: number | null;
|
|
@@ -581,6 +740,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
581
740
|
companyIndustry: string | null;
|
|
582
741
|
companySize: string | null;
|
|
583
742
|
enterpriseClient: boolean | null;
|
|
743
|
+
avgHourlyRatePaid: number | null;
|
|
584
744
|
} | null;
|
|
585
745
|
vendorQualifications: {
|
|
586
746
|
location: string | null;
|
|
@@ -592,6 +752,20 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
592
752
|
} | null;
|
|
593
753
|
processed: boolean | null;
|
|
594
754
|
isFeatured: boolean | null;
|
|
755
|
+
clientReviews: {
|
|
756
|
+
jobTitle: string | null;
|
|
757
|
+
freelancerName: string | null;
|
|
758
|
+
freelancerRating: number | null;
|
|
759
|
+
freelancerFeedback: string | null;
|
|
760
|
+
clientFeedback: string | null;
|
|
761
|
+
clientFeedbackRating: number | null;
|
|
762
|
+
dateRange: string | null;
|
|
763
|
+
paymentType: string | null;
|
|
764
|
+
fixedPrice: number | null;
|
|
765
|
+
hourlyRate: number | null;
|
|
766
|
+
numHours: number | null;
|
|
767
|
+
totalBilled: number | null;
|
|
768
|
+
}[] | null;
|
|
595
769
|
suitabilityRating: number | null;
|
|
596
770
|
suitabilityReason: string | null;
|
|
597
771
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -616,13 +790,13 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
616
790
|
metadata: {
|
|
617
791
|
hours: string | null;
|
|
618
792
|
duration: string | null;
|
|
619
|
-
|
|
793
|
+
paymentType: string | null;
|
|
794
|
+
fixedPrice: number | null;
|
|
620
795
|
hourlyRate: {
|
|
621
796
|
max: number | null;
|
|
622
797
|
min: number | null;
|
|
623
798
|
} | null;
|
|
624
|
-
|
|
625
|
-
fixedPrice: number | null;
|
|
799
|
+
experienceLevel: string | null;
|
|
626
800
|
} | null;
|
|
627
801
|
description: string | null;
|
|
628
802
|
datetime: number | null;
|
|
@@ -660,6 +834,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
660
834
|
companyIndustry: string | null;
|
|
661
835
|
companySize: string | null;
|
|
662
836
|
enterpriseClient: boolean | null;
|
|
837
|
+
avgHourlyRatePaid: number | null;
|
|
663
838
|
} | null;
|
|
664
839
|
vendorQualifications: {
|
|
665
840
|
location: string | null;
|
|
@@ -671,6 +846,20 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
671
846
|
} | null;
|
|
672
847
|
processed: boolean | null;
|
|
673
848
|
isFeatured: boolean | null;
|
|
849
|
+
clientReviews: {
|
|
850
|
+
jobTitle: string | null;
|
|
851
|
+
freelancerName: string | null;
|
|
852
|
+
freelancerRating: number | null;
|
|
853
|
+
freelancerFeedback: string | null;
|
|
854
|
+
clientFeedback: string | null;
|
|
855
|
+
clientFeedbackRating: number | null;
|
|
856
|
+
dateRange: string | null;
|
|
857
|
+
paymentType: string | null;
|
|
858
|
+
fixedPrice: number | null;
|
|
859
|
+
hourlyRate: number | null;
|
|
860
|
+
numHours: number | null;
|
|
861
|
+
totalBilled: number | null;
|
|
862
|
+
}[] | null;
|
|
674
863
|
suitabilityRating: number | null;
|
|
675
864
|
suitabilityReason: string | null;
|
|
676
865
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -746,23 +935,23 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
746
935
|
}, "strip", z.ZodTypeAny, {
|
|
747
936
|
hours: string | null;
|
|
748
937
|
duration: string | null;
|
|
749
|
-
|
|
938
|
+
paymentType: string | null;
|
|
939
|
+
fixedPrice: number | null;
|
|
750
940
|
hourlyRate: {
|
|
751
941
|
max: number | null;
|
|
752
942
|
min: number | null;
|
|
753
943
|
} | null;
|
|
754
|
-
|
|
755
|
-
fixedPrice: number | null;
|
|
944
|
+
experienceLevel: string | null;
|
|
756
945
|
}, {
|
|
757
946
|
hours: string | null;
|
|
758
947
|
duration: string | null;
|
|
759
|
-
|
|
948
|
+
paymentType: string | null;
|
|
949
|
+
fixedPrice: number | null;
|
|
760
950
|
hourlyRate: {
|
|
761
951
|
max: number | null;
|
|
762
952
|
min: number | null;
|
|
763
953
|
} | null;
|
|
764
|
-
|
|
765
|
-
fixedPrice: number | null;
|
|
954
|
+
experienceLevel: string | null;
|
|
766
955
|
}>>;
|
|
767
956
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
768
957
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -780,6 +969,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
780
969
|
companyIndustry: z.ZodNullable<z.ZodString>;
|
|
781
970
|
companySize: z.ZodNullable<z.ZodString>;
|
|
782
971
|
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
972
|
+
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
783
973
|
}, "strip", z.ZodTypeAny, {
|
|
784
974
|
country: string | null;
|
|
785
975
|
region: string | null;
|
|
@@ -796,6 +986,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
796
986
|
companyIndustry: string | null;
|
|
797
987
|
companySize: string | null;
|
|
798
988
|
enterpriseClient: boolean | null;
|
|
989
|
+
avgHourlyRatePaid: number | null;
|
|
799
990
|
}, {
|
|
800
991
|
country: string | null;
|
|
801
992
|
region: string | null;
|
|
@@ -812,6 +1003,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
812
1003
|
companyIndustry: string | null;
|
|
813
1004
|
companySize: string | null;
|
|
814
1005
|
enterpriseClient: boolean | null;
|
|
1006
|
+
avgHourlyRatePaid: number | null;
|
|
815
1007
|
}>>;
|
|
816
1008
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
817
1009
|
location: z.ZodNullable<z.ZodString>;
|
|
@@ -837,6 +1029,46 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
837
1029
|
}>>;
|
|
838
1030
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
839
1031
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
1032
|
+
clientReviews: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1033
|
+
jobTitle: z.ZodNullable<z.ZodString>;
|
|
1034
|
+
freelancerName: z.ZodNullable<z.ZodString>;
|
|
1035
|
+
freelancerRating: z.ZodNullable<z.ZodNumber>;
|
|
1036
|
+
freelancerFeedback: z.ZodNullable<z.ZodString>;
|
|
1037
|
+
clientFeedback: z.ZodNullable<z.ZodString>;
|
|
1038
|
+
clientFeedbackRating: z.ZodNullable<z.ZodNumber>;
|
|
1039
|
+
dateRange: z.ZodNullable<z.ZodString>;
|
|
1040
|
+
paymentType: z.ZodNullable<z.ZodString>;
|
|
1041
|
+
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
1042
|
+
hourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1043
|
+
numHours: z.ZodNullable<z.ZodNumber>;
|
|
1044
|
+
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
1045
|
+
}, "strip", z.ZodTypeAny, {
|
|
1046
|
+
jobTitle: string | null;
|
|
1047
|
+
freelancerName: string | null;
|
|
1048
|
+
freelancerRating: number | null;
|
|
1049
|
+
freelancerFeedback: string | null;
|
|
1050
|
+
clientFeedback: string | null;
|
|
1051
|
+
clientFeedbackRating: number | null;
|
|
1052
|
+
dateRange: string | null;
|
|
1053
|
+
paymentType: string | null;
|
|
1054
|
+
fixedPrice: number | null;
|
|
1055
|
+
hourlyRate: number | null;
|
|
1056
|
+
numHours: number | null;
|
|
1057
|
+
totalBilled: number | null;
|
|
1058
|
+
}, {
|
|
1059
|
+
jobTitle: string | null;
|
|
1060
|
+
freelancerName: string | null;
|
|
1061
|
+
freelancerRating: number | null;
|
|
1062
|
+
freelancerFeedback: string | null;
|
|
1063
|
+
clientFeedback: string | null;
|
|
1064
|
+
clientFeedbackRating: number | null;
|
|
1065
|
+
dateRange: string | null;
|
|
1066
|
+
paymentType: string | null;
|
|
1067
|
+
fixedPrice: number | null;
|
|
1068
|
+
hourlyRate: number | null;
|
|
1069
|
+
numHours: number | null;
|
|
1070
|
+
totalBilled: number | null;
|
|
1071
|
+
}>, "many">>;
|
|
840
1072
|
}, {
|
|
841
1073
|
jobId: z.ZodString;
|
|
842
1074
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -891,13 +1123,13 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
891
1123
|
metadata: {
|
|
892
1124
|
hours: string | null;
|
|
893
1125
|
duration: string | null;
|
|
894
|
-
|
|
1126
|
+
paymentType: string | null;
|
|
1127
|
+
fixedPrice: number | null;
|
|
895
1128
|
hourlyRate: {
|
|
896
1129
|
max: number | null;
|
|
897
1130
|
min: number | null;
|
|
898
1131
|
} | null;
|
|
899
|
-
|
|
900
|
-
fixedPrice: number | null;
|
|
1132
|
+
experienceLevel: string | null;
|
|
901
1133
|
} | null;
|
|
902
1134
|
description: string | null;
|
|
903
1135
|
datetime: number | null;
|
|
@@ -935,6 +1167,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
935
1167
|
companyIndustry: string | null;
|
|
936
1168
|
companySize: string | null;
|
|
937
1169
|
enterpriseClient: boolean | null;
|
|
1170
|
+
avgHourlyRatePaid: number | null;
|
|
938
1171
|
} | null;
|
|
939
1172
|
vendorQualifications: {
|
|
940
1173
|
location: string | null;
|
|
@@ -946,6 +1179,20 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
946
1179
|
} | null;
|
|
947
1180
|
processed: boolean | null;
|
|
948
1181
|
isFeatured: boolean | null;
|
|
1182
|
+
clientReviews: {
|
|
1183
|
+
jobTitle: string | null;
|
|
1184
|
+
freelancerName: string | null;
|
|
1185
|
+
freelancerRating: number | null;
|
|
1186
|
+
freelancerFeedback: string | null;
|
|
1187
|
+
clientFeedback: string | null;
|
|
1188
|
+
clientFeedbackRating: number | null;
|
|
1189
|
+
dateRange: string | null;
|
|
1190
|
+
paymentType: string | null;
|
|
1191
|
+
fixedPrice: number | null;
|
|
1192
|
+
hourlyRate: number | null;
|
|
1193
|
+
numHours: number | null;
|
|
1194
|
+
totalBilled: number | null;
|
|
1195
|
+
}[] | null;
|
|
949
1196
|
suitabilityRating: number | null;
|
|
950
1197
|
suitabilityReason: string | null;
|
|
951
1198
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -970,13 +1217,13 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
970
1217
|
metadata: {
|
|
971
1218
|
hours: string | null;
|
|
972
1219
|
duration: string | null;
|
|
973
|
-
|
|
1220
|
+
paymentType: string | null;
|
|
1221
|
+
fixedPrice: number | null;
|
|
974
1222
|
hourlyRate: {
|
|
975
1223
|
max: number | null;
|
|
976
1224
|
min: number | null;
|
|
977
1225
|
} | null;
|
|
978
|
-
|
|
979
|
-
fixedPrice: number | null;
|
|
1226
|
+
experienceLevel: string | null;
|
|
980
1227
|
} | null;
|
|
981
1228
|
description: string | null;
|
|
982
1229
|
datetime: number | null;
|
|
@@ -1014,6 +1261,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1014
1261
|
companyIndustry: string | null;
|
|
1015
1262
|
companySize: string | null;
|
|
1016
1263
|
enterpriseClient: boolean | null;
|
|
1264
|
+
avgHourlyRatePaid: number | null;
|
|
1017
1265
|
} | null;
|
|
1018
1266
|
vendorQualifications: {
|
|
1019
1267
|
location: string | null;
|
|
@@ -1025,6 +1273,20 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1025
1273
|
} | null;
|
|
1026
1274
|
processed: boolean | null;
|
|
1027
1275
|
isFeatured: boolean | null;
|
|
1276
|
+
clientReviews: {
|
|
1277
|
+
jobTitle: string | null;
|
|
1278
|
+
freelancerName: string | null;
|
|
1279
|
+
freelancerRating: number | null;
|
|
1280
|
+
freelancerFeedback: string | null;
|
|
1281
|
+
clientFeedback: string | null;
|
|
1282
|
+
clientFeedbackRating: number | null;
|
|
1283
|
+
dateRange: string | null;
|
|
1284
|
+
paymentType: string | null;
|
|
1285
|
+
fixedPrice: number | null;
|
|
1286
|
+
hourlyRate: number | null;
|
|
1287
|
+
numHours: number | null;
|
|
1288
|
+
totalBilled: number | null;
|
|
1289
|
+
}[] | null;
|
|
1028
1290
|
suitabilityRating: number | null;
|
|
1029
1291
|
suitabilityReason: string | null;
|
|
1030
1292
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1054,13 +1316,13 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1054
1316
|
metadata: {
|
|
1055
1317
|
hours: string | null;
|
|
1056
1318
|
duration: string | null;
|
|
1057
|
-
|
|
1319
|
+
paymentType: string | null;
|
|
1320
|
+
fixedPrice: number | null;
|
|
1058
1321
|
hourlyRate: {
|
|
1059
1322
|
max: number | null;
|
|
1060
1323
|
min: number | null;
|
|
1061
1324
|
} | null;
|
|
1062
|
-
|
|
1063
|
-
fixedPrice: number | null;
|
|
1325
|
+
experienceLevel: string | null;
|
|
1064
1326
|
} | null;
|
|
1065
1327
|
description: string | null;
|
|
1066
1328
|
datetime: number | null;
|
|
@@ -1098,6 +1360,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1098
1360
|
companyIndustry: string | null;
|
|
1099
1361
|
companySize: string | null;
|
|
1100
1362
|
enterpriseClient: boolean | null;
|
|
1363
|
+
avgHourlyRatePaid: number | null;
|
|
1101
1364
|
} | null;
|
|
1102
1365
|
vendorQualifications: {
|
|
1103
1366
|
location: string | null;
|
|
@@ -1109,6 +1372,20 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1109
1372
|
} | null;
|
|
1110
1373
|
processed: boolean | null;
|
|
1111
1374
|
isFeatured: boolean | null;
|
|
1375
|
+
clientReviews: {
|
|
1376
|
+
jobTitle: string | null;
|
|
1377
|
+
freelancerName: string | null;
|
|
1378
|
+
freelancerRating: number | null;
|
|
1379
|
+
freelancerFeedback: string | null;
|
|
1380
|
+
clientFeedback: string | null;
|
|
1381
|
+
clientFeedbackRating: number | null;
|
|
1382
|
+
dateRange: string | null;
|
|
1383
|
+
paymentType: string | null;
|
|
1384
|
+
fixedPrice: number | null;
|
|
1385
|
+
hourlyRate: number | null;
|
|
1386
|
+
numHours: number | null;
|
|
1387
|
+
totalBilled: number | null;
|
|
1388
|
+
}[] | null;
|
|
1112
1389
|
suitabilityRating: number | null;
|
|
1113
1390
|
suitabilityReason: string | null;
|
|
1114
1391
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
@@ -1138,13 +1415,13 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1138
1415
|
metadata: {
|
|
1139
1416
|
hours: string | null;
|
|
1140
1417
|
duration: string | null;
|
|
1141
|
-
|
|
1418
|
+
paymentType: string | null;
|
|
1419
|
+
fixedPrice: number | null;
|
|
1142
1420
|
hourlyRate: {
|
|
1143
1421
|
max: number | null;
|
|
1144
1422
|
min: number | null;
|
|
1145
1423
|
} | null;
|
|
1146
|
-
|
|
1147
|
-
fixedPrice: number | null;
|
|
1424
|
+
experienceLevel: string | null;
|
|
1148
1425
|
} | null;
|
|
1149
1426
|
description: string | null;
|
|
1150
1427
|
datetime: number | null;
|
|
@@ -1182,6 +1459,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1182
1459
|
companyIndustry: string | null;
|
|
1183
1460
|
companySize: string | null;
|
|
1184
1461
|
enterpriseClient: boolean | null;
|
|
1462
|
+
avgHourlyRatePaid: number | null;
|
|
1185
1463
|
} | null;
|
|
1186
1464
|
vendorQualifications: {
|
|
1187
1465
|
location: string | null;
|
|
@@ -1193,6 +1471,20 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1193
1471
|
} | null;
|
|
1194
1472
|
processed: boolean | null;
|
|
1195
1473
|
isFeatured: boolean | null;
|
|
1474
|
+
clientReviews: {
|
|
1475
|
+
jobTitle: string | null;
|
|
1476
|
+
freelancerName: string | null;
|
|
1477
|
+
freelancerRating: number | null;
|
|
1478
|
+
freelancerFeedback: string | null;
|
|
1479
|
+
clientFeedback: string | null;
|
|
1480
|
+
clientFeedbackRating: number | null;
|
|
1481
|
+
dateRange: string | null;
|
|
1482
|
+
paymentType: string | null;
|
|
1483
|
+
fixedPrice: number | null;
|
|
1484
|
+
hourlyRate: number | null;
|
|
1485
|
+
numHours: number | null;
|
|
1486
|
+
totalBilled: number | null;
|
|
1487
|
+
}[] | null;
|
|
1196
1488
|
suitabilityRating: number | null;
|
|
1197
1489
|
suitabilityReason: string | null;
|
|
1198
1490
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingPending" | "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.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
|
|
3
|
+
exports.leadResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = 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");
|
|
@@ -32,6 +32,21 @@ exports.clientInfoSchema = zod_1.z.object({
|
|
|
32
32
|
companyIndustry: zod_1.z.string().nullable(),
|
|
33
33
|
companySize: zod_1.z.string().nullable(),
|
|
34
34
|
enterpriseClient: zod_1.z.boolean().nullable(),
|
|
35
|
+
avgHourlyRatePaid: zod_1.z.number().nullable(),
|
|
36
|
+
});
|
|
37
|
+
exports.clientReviewSchema = zod_1.z.object({
|
|
38
|
+
jobTitle: zod_1.z.string().nullable(),
|
|
39
|
+
freelancerName: zod_1.z.string().nullable(),
|
|
40
|
+
freelancerRating: zod_1.z.number().nullable(),
|
|
41
|
+
freelancerFeedback: zod_1.z.string().nullable(),
|
|
42
|
+
clientFeedback: zod_1.z.string().nullable(),
|
|
43
|
+
clientFeedbackRating: zod_1.z.number().nullable(),
|
|
44
|
+
dateRange: zod_1.z.string().nullable(),
|
|
45
|
+
paymentType: zod_1.z.string().nullable(),
|
|
46
|
+
fixedPrice: zod_1.z.number().nullable(),
|
|
47
|
+
hourlyRate: zod_1.z.number().nullable(),
|
|
48
|
+
numHours: zod_1.z.number().nullable(),
|
|
49
|
+
totalBilled: zod_1.z.number().nullable(),
|
|
35
50
|
});
|
|
36
51
|
exports.metadataSchema = zod_1.z.object({
|
|
37
52
|
hours: zod_1.z.string().nullable(),
|
|
@@ -65,6 +80,7 @@ exports.upworkJobSchema = zod_1.z.object({
|
|
|
65
80
|
vendorQualifications: exports.vendorQualificationSchema.nullable(),
|
|
66
81
|
processed: (0, zod_1.boolean)().nullable(),
|
|
67
82
|
isFeatured: (0, zod_1.boolean)().nullable(),
|
|
83
|
+
clientReviews: zod_1.z.array(exports.clientReviewSchema).nullable(),
|
|
68
84
|
});
|
|
69
85
|
exports.leadSchema = exports.upworkJobSchema.extend({
|
|
70
86
|
jobId: zod_1.z.string(),
|
|
@@ -39,23 +39,23 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
hours: string | null;
|
|
41
41
|
duration: string | null;
|
|
42
|
-
|
|
42
|
+
paymentType: string | null;
|
|
43
|
+
fixedPrice: number | null;
|
|
43
44
|
hourlyRate: {
|
|
44
45
|
max: number | null;
|
|
45
46
|
min: number | null;
|
|
46
47
|
} | null;
|
|
47
|
-
|
|
48
|
-
fixedPrice: number | null;
|
|
48
|
+
experienceLevel: string | null;
|
|
49
49
|
}, {
|
|
50
50
|
hours: string | null;
|
|
51
51
|
duration: string | null;
|
|
52
|
-
|
|
52
|
+
paymentType: string | null;
|
|
53
|
+
fixedPrice: number | null;
|
|
53
54
|
hourlyRate: {
|
|
54
55
|
max: number | null;
|
|
55
56
|
min: number | null;
|
|
56
57
|
} | null;
|
|
57
|
-
|
|
58
|
-
fixedPrice: number | null;
|
|
58
|
+
experienceLevel: string | null;
|
|
59
59
|
}>>;
|
|
60
60
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
61
61
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -73,6 +73,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
73
73
|
companyIndustry: z.ZodNullable<z.ZodString>;
|
|
74
74
|
companySize: z.ZodNullable<z.ZodString>;
|
|
75
75
|
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
76
|
+
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
76
77
|
}, "strip", z.ZodTypeAny, {
|
|
77
78
|
country: string | null;
|
|
78
79
|
region: string | null;
|
|
@@ -89,6 +90,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
89
90
|
companyIndustry: string | null;
|
|
90
91
|
companySize: string | null;
|
|
91
92
|
enterpriseClient: boolean | null;
|
|
93
|
+
avgHourlyRatePaid: number | null;
|
|
92
94
|
}, {
|
|
93
95
|
country: string | null;
|
|
94
96
|
region: string | null;
|
|
@@ -105,6 +107,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
105
107
|
companyIndustry: string | null;
|
|
106
108
|
companySize: string | null;
|
|
107
109
|
enterpriseClient: boolean | null;
|
|
110
|
+
avgHourlyRatePaid: number | null;
|
|
108
111
|
}>>;
|
|
109
112
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
110
113
|
location: z.ZodNullable<z.ZodString>;
|
|
@@ -130,19 +133,59 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
130
133
|
}>>;
|
|
131
134
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
132
135
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
136
|
+
clientReviews: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
137
|
+
jobTitle: z.ZodNullable<z.ZodString>;
|
|
138
|
+
freelancerName: z.ZodNullable<z.ZodString>;
|
|
139
|
+
freelancerRating: z.ZodNullable<z.ZodNumber>;
|
|
140
|
+
freelancerFeedback: z.ZodNullable<z.ZodString>;
|
|
141
|
+
clientFeedback: z.ZodNullable<z.ZodString>;
|
|
142
|
+
clientFeedbackRating: z.ZodNullable<z.ZodNumber>;
|
|
143
|
+
dateRange: z.ZodNullable<z.ZodString>;
|
|
144
|
+
paymentType: z.ZodNullable<z.ZodString>;
|
|
145
|
+
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
146
|
+
hourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
147
|
+
numHours: z.ZodNullable<z.ZodNumber>;
|
|
148
|
+
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
jobTitle: string | null;
|
|
151
|
+
freelancerName: string | null;
|
|
152
|
+
freelancerRating: number | null;
|
|
153
|
+
freelancerFeedback: string | null;
|
|
154
|
+
clientFeedback: string | null;
|
|
155
|
+
clientFeedbackRating: number | null;
|
|
156
|
+
dateRange: string | null;
|
|
157
|
+
paymentType: string | null;
|
|
158
|
+
fixedPrice: number | null;
|
|
159
|
+
hourlyRate: number | null;
|
|
160
|
+
numHours: number | null;
|
|
161
|
+
totalBilled: number | null;
|
|
162
|
+
}, {
|
|
163
|
+
jobTitle: string | null;
|
|
164
|
+
freelancerName: string | null;
|
|
165
|
+
freelancerRating: number | null;
|
|
166
|
+
freelancerFeedback: string | null;
|
|
167
|
+
clientFeedback: string | null;
|
|
168
|
+
clientFeedbackRating: number | null;
|
|
169
|
+
dateRange: string | null;
|
|
170
|
+
paymentType: string | null;
|
|
171
|
+
fixedPrice: number | null;
|
|
172
|
+
hourlyRate: number | null;
|
|
173
|
+
numHours: number | null;
|
|
174
|
+
totalBilled: number | null;
|
|
175
|
+
}>, "many">>;
|
|
133
176
|
}, "strip", z.ZodTypeAny, {
|
|
134
177
|
id: string | null;
|
|
135
178
|
title: string | null;
|
|
136
179
|
metadata: {
|
|
137
180
|
hours: string | null;
|
|
138
181
|
duration: string | null;
|
|
139
|
-
|
|
182
|
+
paymentType: string | null;
|
|
183
|
+
fixedPrice: number | null;
|
|
140
184
|
hourlyRate: {
|
|
141
185
|
max: number | null;
|
|
142
186
|
min: number | null;
|
|
143
187
|
} | null;
|
|
144
|
-
|
|
145
|
-
fixedPrice: number | null;
|
|
188
|
+
experienceLevel: string | null;
|
|
146
189
|
} | null;
|
|
147
190
|
description: string | null;
|
|
148
191
|
datetime: number | null;
|
|
@@ -173,6 +216,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
173
216
|
companyIndustry: string | null;
|
|
174
217
|
companySize: string | null;
|
|
175
218
|
enterpriseClient: boolean | null;
|
|
219
|
+
avgHourlyRatePaid: number | null;
|
|
176
220
|
} | null;
|
|
177
221
|
vendorQualifications: {
|
|
178
222
|
location: string | null;
|
|
@@ -184,19 +228,33 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
184
228
|
} | null;
|
|
185
229
|
processed: boolean | null;
|
|
186
230
|
isFeatured: boolean | null;
|
|
231
|
+
clientReviews: {
|
|
232
|
+
jobTitle: string | null;
|
|
233
|
+
freelancerName: string | null;
|
|
234
|
+
freelancerRating: number | null;
|
|
235
|
+
freelancerFeedback: string | null;
|
|
236
|
+
clientFeedback: string | null;
|
|
237
|
+
clientFeedbackRating: number | null;
|
|
238
|
+
dateRange: string | null;
|
|
239
|
+
paymentType: string | null;
|
|
240
|
+
fixedPrice: number | null;
|
|
241
|
+
hourlyRate: number | null;
|
|
242
|
+
numHours: number | null;
|
|
243
|
+
totalBilled: number | null;
|
|
244
|
+
}[] | null;
|
|
187
245
|
}, {
|
|
188
246
|
id: string | null;
|
|
189
247
|
title: string | null;
|
|
190
248
|
metadata: {
|
|
191
249
|
hours: string | null;
|
|
192
250
|
duration: string | null;
|
|
193
|
-
|
|
251
|
+
paymentType: string | null;
|
|
252
|
+
fixedPrice: number | null;
|
|
194
253
|
hourlyRate: {
|
|
195
254
|
max: number | null;
|
|
196
255
|
min: number | null;
|
|
197
256
|
} | null;
|
|
198
|
-
|
|
199
|
-
fixedPrice: number | null;
|
|
257
|
+
experienceLevel: string | null;
|
|
200
258
|
} | null;
|
|
201
259
|
description: string | null;
|
|
202
260
|
datetime: number | null;
|
|
@@ -227,6 +285,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
227
285
|
companyIndustry: string | null;
|
|
228
286
|
companySize: string | null;
|
|
229
287
|
enterpriseClient: boolean | null;
|
|
288
|
+
avgHourlyRatePaid: number | null;
|
|
230
289
|
} | null;
|
|
231
290
|
vendorQualifications: {
|
|
232
291
|
location: string | null;
|
|
@@ -238,6 +297,20 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
238
297
|
} | null;
|
|
239
298
|
processed: boolean | null;
|
|
240
299
|
isFeatured: boolean | null;
|
|
300
|
+
clientReviews: {
|
|
301
|
+
jobTitle: string | null;
|
|
302
|
+
freelancerName: string | null;
|
|
303
|
+
freelancerRating: number | null;
|
|
304
|
+
freelancerFeedback: string | null;
|
|
305
|
+
clientFeedback: string | null;
|
|
306
|
+
clientFeedbackRating: number | null;
|
|
307
|
+
dateRange: string | null;
|
|
308
|
+
paymentType: string | null;
|
|
309
|
+
fixedPrice: number | null;
|
|
310
|
+
hourlyRate: number | null;
|
|
311
|
+
numHours: number | null;
|
|
312
|
+
totalBilled: number | null;
|
|
313
|
+
}[] | null;
|
|
241
314
|
}>, "many">;
|
|
242
315
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
243
316
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -248,13 +321,13 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
248
321
|
metadata: {
|
|
249
322
|
hours: string | null;
|
|
250
323
|
duration: string | null;
|
|
251
|
-
|
|
324
|
+
paymentType: string | null;
|
|
325
|
+
fixedPrice: number | null;
|
|
252
326
|
hourlyRate: {
|
|
253
327
|
max: number | null;
|
|
254
328
|
min: number | null;
|
|
255
329
|
} | null;
|
|
256
|
-
|
|
257
|
-
fixedPrice: number | null;
|
|
330
|
+
experienceLevel: string | null;
|
|
258
331
|
} | null;
|
|
259
332
|
description: string | null;
|
|
260
333
|
datetime: number | null;
|
|
@@ -285,6 +358,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
285
358
|
companyIndustry: string | null;
|
|
286
359
|
companySize: string | null;
|
|
287
360
|
enterpriseClient: boolean | null;
|
|
361
|
+
avgHourlyRatePaid: number | null;
|
|
288
362
|
} | null;
|
|
289
363
|
vendorQualifications: {
|
|
290
364
|
location: string | null;
|
|
@@ -296,6 +370,20 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
296
370
|
} | null;
|
|
297
371
|
processed: boolean | null;
|
|
298
372
|
isFeatured: boolean | null;
|
|
373
|
+
clientReviews: {
|
|
374
|
+
jobTitle: string | null;
|
|
375
|
+
freelancerName: string | null;
|
|
376
|
+
freelancerRating: number | null;
|
|
377
|
+
freelancerFeedback: string | null;
|
|
378
|
+
clientFeedback: string | null;
|
|
379
|
+
clientFeedbackRating: number | null;
|
|
380
|
+
dateRange: string | null;
|
|
381
|
+
paymentType: string | null;
|
|
382
|
+
fixedPrice: number | null;
|
|
383
|
+
hourlyRate: number | null;
|
|
384
|
+
numHours: number | null;
|
|
385
|
+
totalBilled: number | null;
|
|
386
|
+
}[] | null;
|
|
299
387
|
}[];
|
|
300
388
|
}, {
|
|
301
389
|
cookies: any[];
|
|
@@ -305,13 +393,13 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
305
393
|
metadata: {
|
|
306
394
|
hours: string | null;
|
|
307
395
|
duration: string | null;
|
|
308
|
-
|
|
396
|
+
paymentType: string | null;
|
|
397
|
+
fixedPrice: number | null;
|
|
309
398
|
hourlyRate: {
|
|
310
399
|
max: number | null;
|
|
311
400
|
min: number | null;
|
|
312
401
|
} | null;
|
|
313
|
-
|
|
314
|
-
fixedPrice: number | null;
|
|
402
|
+
experienceLevel: string | null;
|
|
315
403
|
} | null;
|
|
316
404
|
description: string | null;
|
|
317
405
|
datetime: number | null;
|
|
@@ -342,6 +430,7 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
342
430
|
companyIndustry: string | null;
|
|
343
431
|
companySize: string | null;
|
|
344
432
|
enterpriseClient: boolean | null;
|
|
433
|
+
avgHourlyRatePaid: number | null;
|
|
345
434
|
} | null;
|
|
346
435
|
vendorQualifications: {
|
|
347
436
|
location: string | null;
|
|
@@ -353,5 +442,19 @@ export declare const scrapeResultSchema: z.ZodObject<{
|
|
|
353
442
|
} | null;
|
|
354
443
|
processed: boolean | null;
|
|
355
444
|
isFeatured: boolean | null;
|
|
445
|
+
clientReviews: {
|
|
446
|
+
jobTitle: string | null;
|
|
447
|
+
freelancerName: string | null;
|
|
448
|
+
freelancerRating: number | null;
|
|
449
|
+
freelancerFeedback: string | null;
|
|
450
|
+
clientFeedback: string | null;
|
|
451
|
+
clientFeedbackRating: number | null;
|
|
452
|
+
dateRange: string | null;
|
|
453
|
+
paymentType: string | null;
|
|
454
|
+
fixedPrice: number | null;
|
|
455
|
+
hourlyRate: number | null;
|
|
456
|
+
numHours: number | null;
|
|
457
|
+
totalBilled: number | null;
|
|
458
|
+
}[] | null;
|
|
356
459
|
}[];
|
|
357
460
|
}>;
|
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 } from "../../schemas/lead/lead";
|
|
6
|
+
import { clientInfoSchema, jobListItemSchema, leadResponseSchema, leadSchema, jobSkillsSchema, metadataSchema, upworkJobSchema, vendorQualificationSchema, clientReviewSchema } from "../../schemas/lead/lead";
|
|
7
7
|
export interface Job extends z.infer<typeof upworkJobSchema> {
|
|
8
8
|
clientInfo: ClientInfo | null;
|
|
9
9
|
metadata: JobMetadata | null;
|
|
@@ -31,3 +31,4 @@ export type JobSkill = z.infer<typeof jobSkillsSchema>;
|
|
|
31
31
|
export type VendorQualifications = z.infer<typeof vendorQualificationSchema>;
|
|
32
32
|
export type ClientInfo = z.infer<typeof clientInfoSchema>;
|
|
33
33
|
export type JobMetadata = z.infer<typeof metadataSchema>;
|
|
34
|
+
export type ClientReview = z.infer<typeof clientReviewSchema>;
|