lancer-shared 1.0.36 → 1.0.37

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.
@@ -100,11 +100,11 @@ export declare const campaignSchema: z.ZodObject<{
100
100
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
101
101
  }>>;
102
102
  }, "strip", z.ZodTypeAny, {
103
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
104
103
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
105
104
  questions: {
106
105
  hasQuestions: "all" | "yes" | "no";
107
106
  } | null;
107
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
108
108
  clientInfo: {
109
109
  isPaymentVerified: "false" | "all" | "true";
110
110
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -139,11 +139,11 @@ export declare const campaignSchema: z.ZodObject<{
139
139
  } | null;
140
140
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
141
141
  }, {
142
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
143
142
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
144
143
  questions: {
145
144
  hasQuestions?: "all" | "yes" | "no" | undefined;
146
145
  } | null;
146
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
147
147
  clientInfo: {
148
148
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
149
149
  clientLocationIncludes: string[] | null;
@@ -249,11 +249,11 @@ export declare const campaignSchema: z.ZodObject<{
249
249
  createdAt: number;
250
250
  updatedAt: number;
251
251
  filters: {
252
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
253
252
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
254
253
  questions: {
255
254
  hasQuestions: "all" | "yes" | "no";
256
255
  } | null;
256
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
257
257
  clientInfo: {
258
258
  isPaymentVerified: "false" | "all" | "true";
259
259
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -319,11 +319,11 @@ export declare const campaignSchema: z.ZodObject<{
319
319
  createdAt: number;
320
320
  updatedAt: number;
321
321
  filters: {
322
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
323
322
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
324
323
  questions: {
325
324
  hasQuestions?: "all" | "yes" | "no" | undefined;
326
325
  } | null;
326
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
327
327
  clientInfo: {
328
328
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
329
329
  clientLocationIncludes: string[] | null;
@@ -485,11 +485,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
485
485
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
486
486
  }>>;
487
487
  }, "strip", z.ZodTypeAny, {
488
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
489
488
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
490
489
  questions: {
491
490
  hasQuestions: "all" | "yes" | "no";
492
491
  } | null;
492
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
493
493
  clientInfo: {
494
494
  isPaymentVerified: "false" | "all" | "true";
495
495
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -524,11 +524,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
524
524
  } | null;
525
525
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
526
526
  }, {
527
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
528
527
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
529
528
  questions: {
530
529
  hasQuestions?: "all" | "yes" | "no" | undefined;
531
530
  } | null;
531
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
532
532
  clientInfo: {
533
533
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
534
534
  clientLocationIncludes: string[] | null;
@@ -631,11 +631,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
631
631
  }, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
632
632
  name: string;
633
633
  filters: {
634
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
635
634
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
636
635
  questions: {
637
636
  hasQuestions: "all" | "yes" | "no";
638
637
  } | null;
638
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
639
639
  clientInfo: {
640
640
  isPaymentVerified: "false" | "all" | "true";
641
641
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -698,11 +698,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
698
698
  }, {
699
699
  name: string;
700
700
  filters: {
701
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
702
701
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
703
702
  questions: {
704
703
  hasQuestions?: "all" | "yes" | "no" | undefined;
705
704
  } | null;
705
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
706
706
  clientInfo: {
707
707
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
708
708
  clientLocationIncludes: string[] | null;
@@ -864,11 +864,11 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
864
864
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
865
865
  }>>;
866
866
  }, "strip", z.ZodTypeAny, {
867
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
868
867
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
869
868
  questions: {
870
869
  hasQuestions: "all" | "yes" | "no";
871
870
  } | null;
871
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
872
872
  clientInfo: {
873
873
  isPaymentVerified: "false" | "all" | "true";
874
874
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -903,11 +903,11 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
903
903
  } | null;
904
904
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
905
905
  }, {
906
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
907
906
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
908
907
  questions: {
909
908
  hasQuestions?: "all" | "yes" | "no" | undefined;
910
909
  } | null;
910
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
911
911
  clientInfo: {
912
912
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
913
913
  clientLocationIncludes: string[] | null;
@@ -1011,11 +1011,11 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1011
1011
  id: string;
1012
1012
  name: string;
1013
1013
  filters: {
1014
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1015
1014
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1016
1015
  questions: {
1017
1016
  hasQuestions: "all" | "yes" | "no";
1018
1017
  } | null;
1018
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1019
1019
  clientInfo: {
1020
1020
  isPaymentVerified: "false" | "all" | "true";
1021
1021
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -1079,11 +1079,11 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1079
1079
  id: string;
1080
1080
  name: string;
1081
1081
  filters: {
1082
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1083
1082
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1084
1083
  questions: {
1085
1084
  hasQuestions?: "all" | "yes" | "no" | undefined;
1086
1085
  } | null;
1086
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1087
1087
  clientInfo: {
1088
1088
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1089
1089
  clientLocationIncludes: string[] | null;
@@ -107,11 +107,11 @@ export declare const jobFiltersSchema: z.ZodObject<{
107
107
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
108
108
  }>>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
111
110
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
112
111
  questions: {
113
112
  hasQuestions: "all" | "yes" | "no";
114
113
  } | null;
114
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
115
115
  clientInfo: {
116
116
  isPaymentVerified: "false" | "all" | "true";
117
117
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
@@ -146,11 +146,11 @@ export declare const jobFiltersSchema: z.ZodObject<{
146
146
  } | null;
147
147
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
148
148
  }, {
149
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
150
149
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
151
150
  questions: {
152
151
  hasQuestions?: "all" | "yes" | "no" | undefined;
153
152
  } | null;
153
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
154
154
  clientInfo: {
155
155
  companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
156
156
  clientLocationIncludes: string[] | null;
@@ -94,6 +94,9 @@ export declare const clientReviewSchema: z.ZodObject<{
94
94
  numHours: z.ZodNullable<z.ZodNumber>;
95
95
  totalBilled: z.ZodNullable<z.ZodNumber>;
96
96
  }, "strip", z.ZodTypeAny, {
97
+ hourlyRate: number | null;
98
+ paymentType: string | null;
99
+ fixedPrice: number | null;
97
100
  jobTitle: string | null;
98
101
  freelancerName: string | null;
99
102
  freelancerRating: number | null;
@@ -101,12 +104,12 @@ export declare const clientReviewSchema: z.ZodObject<{
101
104
  clientFeedback: string | null;
102
105
  clientFeedbackRating: number | null;
103
106
  dateRange: string | null;
104
- paymentType: string | null;
105
- fixedPrice: number | null;
106
- hourlyRate: number | null;
107
107
  numHours: number | null;
108
108
  totalBilled: number | null;
109
109
  }, {
110
+ hourlyRate: number | null;
111
+ paymentType: string | null;
112
+ fixedPrice: number | null;
110
113
  jobTitle: string | null;
111
114
  freelancerName: string | null;
112
115
  freelancerRating: number | null;
@@ -114,9 +117,6 @@ export declare const clientReviewSchema: z.ZodObject<{
114
117
  clientFeedback: string | null;
115
118
  clientFeedbackRating: number | null;
116
119
  dateRange: string | null;
117
- paymentType: string | null;
118
- fixedPrice: number | null;
119
- hourlyRate: number | null;
120
120
  numHours: number | null;
121
121
  totalBilled: number | null;
122
122
  }>;
@@ -139,23 +139,23 @@ export declare const metadataSchema: z.ZodObject<{
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  hours: string | null;
141
141
  duration: string | null;
142
- paymentType: string | null;
143
- fixedPrice: number | null;
142
+ experienceLevel: string | null;
144
143
  hourlyRate: {
145
144
  max: number | null;
146
145
  min: number | null;
147
146
  } | null;
148
- experienceLevel: string | null;
147
+ paymentType: string | null;
148
+ fixedPrice: number | null;
149
149
  }, {
150
150
  hours: string | null;
151
151
  duration: string | null;
152
- paymentType: string | null;
153
- fixedPrice: number | null;
152
+ experienceLevel: string | null;
154
153
  hourlyRate: {
155
154
  max: number | null;
156
155
  min: number | null;
157
156
  } | null;
158
- experienceLevel: string | null;
157
+ paymentType: string | null;
158
+ fixedPrice: number | null;
159
159
  }>;
160
160
  export declare const upworkJobSchema: z.ZodObject<{
161
161
  id: z.ZodNullable<z.ZodString>;
@@ -196,23 +196,23 @@ export declare const upworkJobSchema: z.ZodObject<{
196
196
  }, "strip", z.ZodTypeAny, {
197
197
  hours: string | null;
198
198
  duration: string | null;
199
- paymentType: string | null;
200
- fixedPrice: number | null;
199
+ experienceLevel: string | null;
201
200
  hourlyRate: {
202
201
  max: number | null;
203
202
  min: number | null;
204
203
  } | null;
205
- experienceLevel: string | null;
204
+ paymentType: string | null;
205
+ fixedPrice: number | null;
206
206
  }, {
207
207
  hours: string | null;
208
208
  duration: string | null;
209
- paymentType: string | null;
210
- fixedPrice: number | null;
209
+ experienceLevel: string | null;
211
210
  hourlyRate: {
212
211
  max: number | null;
213
212
  min: number | null;
214
213
  } | null;
215
- experienceLevel: string | null;
214
+ paymentType: string | null;
215
+ fixedPrice: number | null;
216
216
  }>>;
217
217
  clientInfo: z.ZodNullable<z.ZodObject<{
218
218
  isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
@@ -304,6 +304,9 @@ export declare const upworkJobSchema: z.ZodObject<{
304
304
  numHours: z.ZodNullable<z.ZodNumber>;
305
305
  totalBilled: z.ZodNullable<z.ZodNumber>;
306
306
  }, "strip", z.ZodTypeAny, {
307
+ hourlyRate: number | null;
308
+ paymentType: string | null;
309
+ fixedPrice: number | null;
307
310
  jobTitle: string | null;
308
311
  freelancerName: string | null;
309
312
  freelancerRating: number | null;
@@ -311,12 +314,12 @@ export declare const upworkJobSchema: z.ZodObject<{
311
314
  clientFeedback: string | null;
312
315
  clientFeedbackRating: number | null;
313
316
  dateRange: string | null;
314
- paymentType: string | null;
315
- fixedPrice: number | null;
316
- hourlyRate: number | null;
317
317
  numHours: number | null;
318
318
  totalBilled: number | null;
319
319
  }, {
320
+ hourlyRate: number | null;
321
+ paymentType: string | null;
322
+ fixedPrice: number | null;
320
323
  jobTitle: string | null;
321
324
  freelancerName: string | null;
322
325
  freelancerRating: number | null;
@@ -324,27 +327,26 @@ export declare const upworkJobSchema: z.ZodObject<{
324
327
  clientFeedback: string | null;
325
328
  clientFeedbackRating: number | null;
326
329
  dateRange: string | null;
327
- paymentType: string | null;
328
- fixedPrice: number | null;
329
- hourlyRate: number | null;
330
330
  numHours: number | null;
331
331
  totalBilled: number | null;
332
332
  }>, "many">>;
333
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
333
334
  }, "strip", z.ZodTypeAny, {
334
335
  id: string | null;
335
336
  title: string | null;
336
337
  metadata: {
337
338
  hours: string | null;
338
339
  duration: string | null;
339
- paymentType: string | null;
340
- fixedPrice: number | null;
340
+ experienceLevel: string | null;
341
341
  hourlyRate: {
342
342
  max: number | null;
343
343
  min: number | null;
344
344
  } | null;
345
- experienceLevel: string | null;
345
+ paymentType: string | null;
346
+ fixedPrice: number | null;
346
347
  } | null;
347
348
  description: string | null;
349
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
348
350
  datetime: number | null;
349
351
  createdAt: number | null;
350
352
  category: string | null;
@@ -386,6 +388,9 @@ export declare const upworkJobSchema: z.ZodObject<{
386
388
  processed: boolean | null;
387
389
  isFeatured: boolean | null;
388
390
  clientReviews: {
391
+ hourlyRate: number | null;
392
+ paymentType: string | null;
393
+ fixedPrice: number | null;
389
394
  jobTitle: string | null;
390
395
  freelancerName: string | null;
391
396
  freelancerRating: number | null;
@@ -393,9 +398,6 @@ export declare const upworkJobSchema: z.ZodObject<{
393
398
  clientFeedback: string | null;
394
399
  clientFeedbackRating: number | null;
395
400
  dateRange: string | null;
396
- paymentType: string | null;
397
- fixedPrice: number | null;
398
- hourlyRate: number | null;
399
401
  numHours: number | null;
400
402
  totalBilled: number | null;
401
403
  }[] | null;
@@ -405,15 +407,16 @@ export declare const upworkJobSchema: z.ZodObject<{
405
407
  metadata: {
406
408
  hours: string | null;
407
409
  duration: string | null;
408
- paymentType: string | null;
409
- fixedPrice: number | null;
410
+ experienceLevel: string | null;
410
411
  hourlyRate: {
411
412
  max: number | null;
412
413
  min: number | null;
413
414
  } | null;
414
- experienceLevel: string | null;
415
+ paymentType: string | null;
416
+ fixedPrice: number | null;
415
417
  } | null;
416
418
  description: string | null;
419
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
417
420
  datetime: number | null;
418
421
  createdAt: number | null;
419
422
  category: string | null;
@@ -455,6 +458,9 @@ export declare const upworkJobSchema: z.ZodObject<{
455
458
  processed: boolean | null;
456
459
  isFeatured: boolean | null;
457
460
  clientReviews: {
461
+ hourlyRate: number | null;
462
+ paymentType: string | null;
463
+ fixedPrice: number | null;
458
464
  jobTitle: string | null;
459
465
  freelancerName: string | null;
460
466
  freelancerRating: number | null;
@@ -462,9 +468,6 @@ export declare const upworkJobSchema: z.ZodObject<{
462
468
  clientFeedback: string | null;
463
469
  clientFeedbackRating: number | null;
464
470
  dateRange: string | null;
465
- paymentType: string | null;
466
- fixedPrice: number | null;
467
- hourlyRate: number | null;
468
471
  numHours: number | null;
469
472
  totalBilled: number | null;
470
473
  }[] | null;
@@ -508,23 +511,23 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
508
511
  }, "strip", z.ZodTypeAny, {
509
512
  hours: string | null;
510
513
  duration: string | null;
511
- paymentType: string | null;
512
- fixedPrice: number | null;
514
+ experienceLevel: string | null;
513
515
  hourlyRate: {
514
516
  max: number | null;
515
517
  min: number | null;
516
518
  } | null;
517
- experienceLevel: string | null;
519
+ paymentType: string | null;
520
+ fixedPrice: number | null;
518
521
  }, {
519
522
  hours: string | null;
520
523
  duration: string | null;
521
- paymentType: string | null;
522
- fixedPrice: number | null;
524
+ experienceLevel: string | null;
523
525
  hourlyRate: {
524
526
  max: number | null;
525
527
  min: number | null;
526
528
  } | null;
527
- experienceLevel: string | null;
529
+ paymentType: string | null;
530
+ fixedPrice: number | null;
528
531
  }>>;
529
532
  clientInfo: z.ZodNullable<z.ZodObject<{
530
533
  isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
@@ -616,6 +619,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
616
619
  numHours: z.ZodNullable<z.ZodNumber>;
617
620
  totalBilled: z.ZodNullable<z.ZodNumber>;
618
621
  }, "strip", z.ZodTypeAny, {
622
+ hourlyRate: number | null;
623
+ paymentType: string | null;
624
+ fixedPrice: number | null;
619
625
  jobTitle: string | null;
620
626
  freelancerName: string | null;
621
627
  freelancerRating: number | null;
@@ -623,12 +629,12 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
623
629
  clientFeedback: string | null;
624
630
  clientFeedbackRating: number | null;
625
631
  dateRange: string | null;
626
- paymentType: string | null;
627
- fixedPrice: number | null;
628
- hourlyRate: number | null;
629
632
  numHours: number | null;
630
633
  totalBilled: number | null;
631
634
  }, {
635
+ hourlyRate: number | null;
636
+ paymentType: string | null;
637
+ fixedPrice: number | null;
632
638
  jobTitle: string | null;
633
639
  freelancerName: string | null;
634
640
  freelancerRating: number | null;
@@ -636,12 +642,10 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
636
642
  clientFeedback: string | null;
637
643
  clientFeedbackRating: number | null;
638
644
  dateRange: string | null;
639
- paymentType: string | null;
640
- fixedPrice: number | null;
641
- hourlyRate: number | null;
642
645
  numHours: number | null;
643
646
  totalBilled: number | null;
644
647
  }>, "many">>;
648
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
645
649
  }, {
646
650
  jobId: z.ZodString;
647
651
  updatedAt: z.ZodNullable<z.ZodNumber>;
@@ -696,15 +700,16 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
696
700
  metadata: {
697
701
  hours: string | null;
698
702
  duration: string | null;
699
- paymentType: string | null;
700
- fixedPrice: number | null;
703
+ experienceLevel: string | null;
701
704
  hourlyRate: {
702
705
  max: number | null;
703
706
  min: number | null;
704
707
  } | null;
705
- experienceLevel: string | null;
708
+ paymentType: string | null;
709
+ fixedPrice: number | null;
706
710
  } | null;
707
711
  description: string | null;
712
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
708
713
  datetime: number | null;
709
714
  jobId: string;
710
715
  createdAt: number | null;
@@ -753,6 +758,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
753
758
  processed: boolean | null;
754
759
  isFeatured: boolean | null;
755
760
  clientReviews: {
761
+ hourlyRate: number | null;
762
+ paymentType: string | null;
763
+ fixedPrice: number | null;
756
764
  jobTitle: string | null;
757
765
  freelancerName: string | null;
758
766
  freelancerRating: number | null;
@@ -760,9 +768,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
760
768
  clientFeedback: string | null;
761
769
  clientFeedbackRating: number | null;
762
770
  dateRange: string | null;
763
- paymentType: string | null;
764
- fixedPrice: number | null;
765
- hourlyRate: number | null;
766
771
  numHours: number | null;
767
772
  totalBilled: number | null;
768
773
  }[] | null;
@@ -790,15 +795,16 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
790
795
  metadata: {
791
796
  hours: string | null;
792
797
  duration: string | null;
793
- paymentType: string | null;
794
- fixedPrice: number | null;
798
+ experienceLevel: string | null;
795
799
  hourlyRate: {
796
800
  max: number | null;
797
801
  min: number | null;
798
802
  } | null;
799
- experienceLevel: string | null;
803
+ paymentType: string | null;
804
+ fixedPrice: number | null;
800
805
  } | null;
801
806
  description: string | null;
807
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
802
808
  datetime: number | null;
803
809
  jobId: string;
804
810
  createdAt: number | null;
@@ -847,6 +853,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
847
853
  processed: boolean | null;
848
854
  isFeatured: boolean | null;
849
855
  clientReviews: {
856
+ hourlyRate: number | null;
857
+ paymentType: string | null;
858
+ fixedPrice: number | null;
850
859
  jobTitle: string | null;
851
860
  freelancerName: string | null;
852
861
  freelancerRating: number | null;
@@ -854,9 +863,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
854
863
  clientFeedback: string | null;
855
864
  clientFeedbackRating: number | null;
856
865
  dateRange: string | null;
857
- paymentType: string | null;
858
- fixedPrice: number | null;
859
- hourlyRate: number | null;
860
866
  numHours: number | null;
861
867
  totalBilled: number | null;
862
868
  }[] | null;
@@ -935,23 +941,23 @@ export declare const leadResponseSchema: z.ZodObject<{
935
941
  }, "strip", z.ZodTypeAny, {
936
942
  hours: string | null;
937
943
  duration: string | null;
938
- paymentType: string | null;
939
- fixedPrice: number | null;
944
+ experienceLevel: string | null;
940
945
  hourlyRate: {
941
946
  max: number | null;
942
947
  min: number | null;
943
948
  } | null;
944
- experienceLevel: string | null;
949
+ paymentType: string | null;
950
+ fixedPrice: number | null;
945
951
  }, {
946
952
  hours: string | null;
947
953
  duration: string | null;
948
- paymentType: string | null;
949
- fixedPrice: number | null;
954
+ experienceLevel: string | null;
950
955
  hourlyRate: {
951
956
  max: number | null;
952
957
  min: number | null;
953
958
  } | null;
954
- experienceLevel: string | null;
959
+ paymentType: string | null;
960
+ fixedPrice: number | null;
955
961
  }>>;
956
962
  clientInfo: z.ZodNullable<z.ZodObject<{
957
963
  isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
@@ -1043,6 +1049,9 @@ export declare const leadResponseSchema: z.ZodObject<{
1043
1049
  numHours: z.ZodNullable<z.ZodNumber>;
1044
1050
  totalBilled: z.ZodNullable<z.ZodNumber>;
1045
1051
  }, "strip", z.ZodTypeAny, {
1052
+ hourlyRate: number | null;
1053
+ paymentType: string | null;
1054
+ fixedPrice: number | null;
1046
1055
  jobTitle: string | null;
1047
1056
  freelancerName: string | null;
1048
1057
  freelancerRating: number | null;
@@ -1050,12 +1059,12 @@ export declare const leadResponseSchema: z.ZodObject<{
1050
1059
  clientFeedback: string | null;
1051
1060
  clientFeedbackRating: number | null;
1052
1061
  dateRange: string | null;
1053
- paymentType: string | null;
1054
- fixedPrice: number | null;
1055
- hourlyRate: number | null;
1056
1062
  numHours: number | null;
1057
1063
  totalBilled: number | null;
1058
1064
  }, {
1065
+ hourlyRate: number | null;
1066
+ paymentType: string | null;
1067
+ fixedPrice: number | null;
1059
1068
  jobTitle: string | null;
1060
1069
  freelancerName: string | null;
1061
1070
  freelancerRating: number | null;
@@ -1063,12 +1072,10 @@ export declare const leadResponseSchema: z.ZodObject<{
1063
1072
  clientFeedback: string | null;
1064
1073
  clientFeedbackRating: number | null;
1065
1074
  dateRange: string | null;
1066
- paymentType: string | null;
1067
- fixedPrice: number | null;
1068
- hourlyRate: number | null;
1069
1075
  numHours: number | null;
1070
1076
  totalBilled: number | null;
1071
1077
  }>, "many">>;
1078
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
1072
1079
  }, {
1073
1080
  jobId: z.ZodString;
1074
1081
  updatedAt: z.ZodNullable<z.ZodNumber>;
@@ -1123,15 +1130,16 @@ export declare const leadResponseSchema: z.ZodObject<{
1123
1130
  metadata: {
1124
1131
  hours: string | null;
1125
1132
  duration: string | null;
1126
- paymentType: string | null;
1127
- fixedPrice: number | null;
1133
+ experienceLevel: string | null;
1128
1134
  hourlyRate: {
1129
1135
  max: number | null;
1130
1136
  min: number | null;
1131
1137
  } | null;
1132
- experienceLevel: string | null;
1138
+ paymentType: string | null;
1139
+ fixedPrice: number | null;
1133
1140
  } | null;
1134
1141
  description: string | null;
1142
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
1135
1143
  datetime: number | null;
1136
1144
  jobId: string;
1137
1145
  createdAt: number | null;
@@ -1180,6 +1188,9 @@ export declare const leadResponseSchema: z.ZodObject<{
1180
1188
  processed: boolean | null;
1181
1189
  isFeatured: boolean | null;
1182
1190
  clientReviews: {
1191
+ hourlyRate: number | null;
1192
+ paymentType: string | null;
1193
+ fixedPrice: number | null;
1183
1194
  jobTitle: string | null;
1184
1195
  freelancerName: string | null;
1185
1196
  freelancerRating: number | null;
@@ -1187,9 +1198,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1187
1198
  clientFeedback: string | null;
1188
1199
  clientFeedbackRating: number | null;
1189
1200
  dateRange: string | null;
1190
- paymentType: string | null;
1191
- fixedPrice: number | null;
1192
- hourlyRate: number | null;
1193
1201
  numHours: number | null;
1194
1202
  totalBilled: number | null;
1195
1203
  }[] | null;
@@ -1217,15 +1225,16 @@ export declare const leadResponseSchema: z.ZodObject<{
1217
1225
  metadata: {
1218
1226
  hours: string | null;
1219
1227
  duration: string | null;
1220
- paymentType: string | null;
1221
- fixedPrice: number | null;
1228
+ experienceLevel: string | null;
1222
1229
  hourlyRate: {
1223
1230
  max: number | null;
1224
1231
  min: number | null;
1225
1232
  } | null;
1226
- experienceLevel: string | null;
1233
+ paymentType: string | null;
1234
+ fixedPrice: number | null;
1227
1235
  } | null;
1228
1236
  description: string | null;
1237
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
1229
1238
  datetime: number | null;
1230
1239
  jobId: string;
1231
1240
  createdAt: number | null;
@@ -1274,6 +1283,9 @@ export declare const leadResponseSchema: z.ZodObject<{
1274
1283
  processed: boolean | null;
1275
1284
  isFeatured: boolean | null;
1276
1285
  clientReviews: {
1286
+ hourlyRate: number | null;
1287
+ paymentType: string | null;
1288
+ fixedPrice: number | null;
1277
1289
  jobTitle: string | null;
1278
1290
  freelancerName: string | null;
1279
1291
  freelancerRating: number | null;
@@ -1281,9 +1293,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1281
1293
  clientFeedback: string | null;
1282
1294
  clientFeedbackRating: number | null;
1283
1295
  dateRange: string | null;
1284
- paymentType: string | null;
1285
- fixedPrice: number | null;
1286
- hourlyRate: number | null;
1287
1296
  numHours: number | null;
1288
1297
  totalBilled: number | null;
1289
1298
  }[] | null;
@@ -1316,15 +1325,16 @@ export declare const leadResponseSchema: z.ZodObject<{
1316
1325
  metadata: {
1317
1326
  hours: string | null;
1318
1327
  duration: string | null;
1319
- paymentType: string | null;
1320
- fixedPrice: number | null;
1328
+ experienceLevel: string | null;
1321
1329
  hourlyRate: {
1322
1330
  max: number | null;
1323
1331
  min: number | null;
1324
1332
  } | null;
1325
- experienceLevel: string | null;
1333
+ paymentType: string | null;
1334
+ fixedPrice: number | null;
1326
1335
  } | null;
1327
1336
  description: string | null;
1337
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
1328
1338
  datetime: number | null;
1329
1339
  jobId: string;
1330
1340
  createdAt: number | null;
@@ -1373,6 +1383,9 @@ export declare const leadResponseSchema: z.ZodObject<{
1373
1383
  processed: boolean | null;
1374
1384
  isFeatured: boolean | null;
1375
1385
  clientReviews: {
1386
+ hourlyRate: number | null;
1387
+ paymentType: string | null;
1388
+ fixedPrice: number | null;
1376
1389
  jobTitle: string | null;
1377
1390
  freelancerName: string | null;
1378
1391
  freelancerRating: number | null;
@@ -1380,9 +1393,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1380
1393
  clientFeedback: string | null;
1381
1394
  clientFeedbackRating: number | null;
1382
1395
  dateRange: string | null;
1383
- paymentType: string | null;
1384
- fixedPrice: number | null;
1385
- hourlyRate: number | null;
1386
1396
  numHours: number | null;
1387
1397
  totalBilled: number | null;
1388
1398
  }[] | null;
@@ -1415,15 +1425,16 @@ export declare const leadResponseSchema: z.ZodObject<{
1415
1425
  metadata: {
1416
1426
  hours: string | null;
1417
1427
  duration: string | null;
1418
- paymentType: string | null;
1419
- fixedPrice: number | null;
1428
+ experienceLevel: string | null;
1420
1429
  hourlyRate: {
1421
1430
  max: number | null;
1422
1431
  min: number | null;
1423
1432
  } | null;
1424
- experienceLevel: string | null;
1433
+ paymentType: string | null;
1434
+ fixedPrice: number | null;
1425
1435
  } | null;
1426
1436
  description: string | null;
1437
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
1427
1438
  datetime: number | null;
1428
1439
  jobId: string;
1429
1440
  createdAt: number | null;
@@ -1472,6 +1483,9 @@ export declare const leadResponseSchema: z.ZodObject<{
1472
1483
  processed: boolean | null;
1473
1484
  isFeatured: boolean | null;
1474
1485
  clientReviews: {
1486
+ hourlyRate: number | null;
1487
+ paymentType: string | null;
1488
+ fixedPrice: number | null;
1475
1489
  jobTitle: string | null;
1476
1490
  freelancerName: string | null;
1477
1491
  freelancerRating: number | null;
@@ -1479,9 +1493,6 @@ export declare const leadResponseSchema: z.ZodObject<{
1479
1493
  clientFeedback: string | null;
1480
1494
  clientFeedbackRating: number | null;
1481
1495
  dateRange: string | null;
1482
- paymentType: string | null;
1483
- fixedPrice: number | null;
1484
- hourlyRate: number | null;
1485
1496
  numHours: number | null;
1486
1497
  totalBilled: number | null;
1487
1498
  }[] | null;
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const lead_note_1 = require("./lead-note");
6
6
  const lead_status_1 = require("./lead-status");
7
7
  const proposal_1 = require("../ai/proposal");
8
+ const scraper_1 = require("../scraper");
8
9
  exports.jobSkillsSchema = zod_1.z.object({
9
10
  name: zod_1.z.string(),
10
11
  });
@@ -81,6 +82,7 @@ exports.upworkJobSchema = zod_1.z.object({
81
82
  processed: (0, zod_1.boolean)().nullable(),
82
83
  isFeatured: (0, zod_1.boolean)().nullable(),
83
84
  clientReviews: zod_1.z.array(exports.clientReviewSchema).nullable(),
85
+ region: scraper_1.regionSchema.nullable(),
84
86
  });
85
87
  exports.leadSchema = exports.upworkJobSchema.extend({
86
88
  jobId: zod_1.z.string(),
@@ -6,12 +6,12 @@ export declare const scrapePayloadSchema: z.ZodObject<{
6
6
  password: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  username: string;
9
- password: string;
10
9
  latestJobsUrls: string[];
11
10
  cookies: any[];
11
+ password: string;
12
12
  }, {
13
13
  username: string;
14
- password: string;
15
14
  latestJobsUrls: string[];
16
15
  cookies: any[];
16
+ password: string;
17
17
  }>;
@@ -40,23 +40,23 @@ export declare const scrapeResultSchema: z.ZodObject<{
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  hours: string | null;
42
42
  duration: string | null;
43
- paymentType: string | null;
44
- fixedPrice: number | null;
43
+ experienceLevel: string | null;
45
44
  hourlyRate: {
46
45
  max: number | null;
47
46
  min: number | null;
48
47
  } | null;
49
- experienceLevel: string | null;
48
+ paymentType: string | null;
49
+ fixedPrice: number | null;
50
50
  }, {
51
51
  hours: string | null;
52
52
  duration: string | null;
53
- paymentType: string | null;
54
- fixedPrice: number | null;
53
+ experienceLevel: string | null;
55
54
  hourlyRate: {
56
55
  max: number | null;
57
56
  min: number | null;
58
57
  } | null;
59
- experienceLevel: string | null;
58
+ paymentType: string | null;
59
+ fixedPrice: number | null;
60
60
  }>>;
61
61
  clientInfo: z.ZodNullable<z.ZodObject<{
62
62
  isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
@@ -148,6 +148,9 @@ export declare const scrapeResultSchema: z.ZodObject<{
148
148
  numHours: z.ZodNullable<z.ZodNumber>;
149
149
  totalBilled: z.ZodNullable<z.ZodNumber>;
150
150
  }, "strip", z.ZodTypeAny, {
151
+ hourlyRate: number | null;
152
+ paymentType: string | null;
153
+ fixedPrice: number | null;
151
154
  jobTitle: string | null;
152
155
  freelancerName: string | null;
153
156
  freelancerRating: number | null;
@@ -155,12 +158,12 @@ export declare const scrapeResultSchema: z.ZodObject<{
155
158
  clientFeedback: string | null;
156
159
  clientFeedbackRating: number | null;
157
160
  dateRange: string | null;
158
- paymentType: string | null;
159
- fixedPrice: number | null;
160
- hourlyRate: number | null;
161
161
  numHours: number | null;
162
162
  totalBilled: number | null;
163
163
  }, {
164
+ hourlyRate: number | null;
165
+ paymentType: string | null;
166
+ fixedPrice: number | null;
164
167
  jobTitle: string | null;
165
168
  freelancerName: string | null;
166
169
  freelancerRating: number | null;
@@ -168,27 +171,26 @@ export declare const scrapeResultSchema: z.ZodObject<{
168
171
  clientFeedback: string | null;
169
172
  clientFeedbackRating: number | null;
170
173
  dateRange: string | null;
171
- paymentType: string | null;
172
- fixedPrice: number | null;
173
- hourlyRate: number | null;
174
174
  numHours: number | null;
175
175
  totalBilled: number | null;
176
176
  }>, "many">>;
177
+ region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
177
178
  }, "strip", z.ZodTypeAny, {
178
179
  id: string | null;
179
180
  title: string | null;
180
181
  metadata: {
181
182
  hours: string | null;
182
183
  duration: string | null;
183
- paymentType: string | null;
184
- fixedPrice: number | null;
184
+ experienceLevel: string | null;
185
185
  hourlyRate: {
186
186
  max: number | null;
187
187
  min: number | null;
188
188
  } | null;
189
- experienceLevel: string | null;
189
+ paymentType: string | null;
190
+ fixedPrice: number | null;
190
191
  } | null;
191
192
  description: string | null;
193
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
192
194
  datetime: number | null;
193
195
  createdAt: number | null;
194
196
  category: string | null;
@@ -230,6 +232,9 @@ export declare const scrapeResultSchema: z.ZodObject<{
230
232
  processed: boolean | null;
231
233
  isFeatured: boolean | null;
232
234
  clientReviews: {
235
+ hourlyRate: number | null;
236
+ paymentType: string | null;
237
+ fixedPrice: number | null;
233
238
  jobTitle: string | null;
234
239
  freelancerName: string | null;
235
240
  freelancerRating: number | null;
@@ -237,9 +242,6 @@ export declare const scrapeResultSchema: z.ZodObject<{
237
242
  clientFeedback: string | null;
238
243
  clientFeedbackRating: number | null;
239
244
  dateRange: string | null;
240
- paymentType: string | null;
241
- fixedPrice: number | null;
242
- hourlyRate: number | null;
243
245
  numHours: number | null;
244
246
  totalBilled: number | null;
245
247
  }[] | null;
@@ -249,15 +251,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
249
251
  metadata: {
250
252
  hours: string | null;
251
253
  duration: string | null;
252
- paymentType: string | null;
253
- fixedPrice: number | null;
254
+ experienceLevel: string | null;
254
255
  hourlyRate: {
255
256
  max: number | null;
256
257
  min: number | null;
257
258
  } | null;
258
- experienceLevel: string | null;
259
+ paymentType: string | null;
260
+ fixedPrice: number | null;
259
261
  } | null;
260
262
  description: string | null;
263
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
261
264
  datetime: number | null;
262
265
  createdAt: number | null;
263
266
  category: string | null;
@@ -299,6 +302,9 @@ export declare const scrapeResultSchema: z.ZodObject<{
299
302
  processed: boolean | null;
300
303
  isFeatured: boolean | null;
301
304
  clientReviews: {
305
+ hourlyRate: number | null;
306
+ paymentType: string | null;
307
+ fixedPrice: number | null;
302
308
  jobTitle: string | null;
303
309
  freelancerName: string | null;
304
310
  freelancerRating: number | null;
@@ -306,9 +312,6 @@ export declare const scrapeResultSchema: z.ZodObject<{
306
312
  clientFeedback: string | null;
307
313
  clientFeedbackRating: number | null;
308
314
  dateRange: string | null;
309
- paymentType: string | null;
310
- fixedPrice: number | null;
311
- hourlyRate: number | null;
312
315
  numHours: number | null;
313
316
  totalBilled: number | null;
314
317
  }[] | null;
@@ -326,15 +329,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
326
329
  metadata: {
327
330
  hours: string | null;
328
331
  duration: string | null;
329
- paymentType: string | null;
330
- fixedPrice: number | null;
332
+ experienceLevel: string | null;
331
333
  hourlyRate: {
332
334
  max: number | null;
333
335
  min: number | null;
334
336
  } | null;
335
- experienceLevel: string | null;
337
+ paymentType: string | null;
338
+ fixedPrice: number | null;
336
339
  } | null;
337
340
  description: string | null;
341
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
338
342
  datetime: number | null;
339
343
  createdAt: number | null;
340
344
  category: string | null;
@@ -376,6 +380,9 @@ export declare const scrapeResultSchema: z.ZodObject<{
376
380
  processed: boolean | null;
377
381
  isFeatured: boolean | null;
378
382
  clientReviews: {
383
+ hourlyRate: number | null;
384
+ paymentType: string | null;
385
+ fixedPrice: number | null;
379
386
  jobTitle: string | null;
380
387
  freelancerName: string | null;
381
388
  freelancerRating: number | null;
@@ -383,9 +390,6 @@ export declare const scrapeResultSchema: z.ZodObject<{
383
390
  clientFeedback: string | null;
384
391
  clientFeedbackRating: number | null;
385
392
  dateRange: string | null;
386
- paymentType: string | null;
387
- fixedPrice: number | null;
388
- hourlyRate: number | null;
389
393
  numHours: number | null;
390
394
  totalBilled: number | null;
391
395
  }[] | null;
@@ -401,15 +405,16 @@ export declare const scrapeResultSchema: z.ZodObject<{
401
405
  metadata: {
402
406
  hours: string | null;
403
407
  duration: string | null;
404
- paymentType: string | null;
405
- fixedPrice: number | null;
408
+ experienceLevel: string | null;
406
409
  hourlyRate: {
407
410
  max: number | null;
408
411
  min: number | null;
409
412
  } | null;
410
- experienceLevel: string | null;
413
+ paymentType: string | null;
414
+ fixedPrice: number | null;
411
415
  } | null;
412
416
  description: string | null;
417
+ region: "USOnly" | "UKOnly" | "Worldwide" | null;
413
418
  datetime: number | null;
414
419
  createdAt: number | null;
415
420
  category: string | null;
@@ -451,6 +456,9 @@ export declare const scrapeResultSchema: z.ZodObject<{
451
456
  processed: boolean | null;
452
457
  isFeatured: boolean | null;
453
458
  clientReviews: {
459
+ hourlyRate: number | null;
460
+ paymentType: string | null;
461
+ fixedPrice: number | null;
454
462
  jobTitle: string | null;
455
463
  freelancerName: string | null;
456
464
  freelancerRating: number | null;
@@ -458,9 +466,6 @@ export declare const scrapeResultSchema: z.ZodObject<{
458
466
  clientFeedback: string | null;
459
467
  clientFeedbackRating: number | null;
460
468
  dateRange: string | null;
461
- paymentType: string | null;
462
- fixedPrice: number | null;
463
- hourlyRate: number | null;
464
469
  numHours: number | null;
465
470
  totalBilled: number | null;
466
471
  }[] | null;
@@ -47,26 +47,26 @@ export declare const registerSchema: import("zod").ZodEffects<import("zod").ZodO
47
47
  confirmPassword: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>, string, string>;
48
48
  }, "strip", import("zod").ZodTypeAny, {
49
49
  email: string;
50
+ password: string;
50
51
  firstName: string;
51
52
  lastName: string;
52
- password: string;
53
53
  confirmPassword: string;
54
54
  }, {
55
55
  email: string;
56
+ password: string;
56
57
  firstName: string;
57
58
  lastName: string;
58
- password: string;
59
59
  confirmPassword: string;
60
60
  }>, {
61
61
  email: string;
62
+ password: string;
62
63
  firstName: string;
63
64
  lastName: string;
64
- password: string;
65
65
  confirmPassword: string;
66
66
  }, {
67
67
  email: string;
68
+ password: string;
68
69
  firstName: string;
69
70
  lastName: string;
70
- password: string;
71
71
  confirmPassword: string;
72
72
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.36",
4
+ "version": "1.0.37",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",