lancer-shared 1.0.35 → 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;
@@ -44,9 +44,9 @@ export declare const clientInfoSchema: z.ZodObject<{
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  country: string | null;
46
46
  region: string | null;
47
+ rating: number | null;
47
48
  isPaymentVerified: boolean | null;
48
49
  numberOfReviews: number | null;
49
- rating: number | null;
50
50
  jobsPosted: number | null;
51
51
  totalSpent: number | null;
52
52
  numberOfHires: number | null;
@@ -60,9 +60,9 @@ export declare const clientInfoSchema: z.ZodObject<{
60
60
  }, {
61
61
  country: string | null;
62
62
  region: string | null;
63
+ rating: number | null;
63
64
  isPaymentVerified: boolean | null;
64
65
  numberOfReviews: number | null;
65
- rating: number | null;
66
66
  jobsPosted: number | null;
67
67
  totalSpent: number | null;
68
68
  numberOfHires: number | null;
@@ -187,9 +187,9 @@ export declare const upworkJobSchema: z.ZodObject<{
187
187
  }, "strip", z.ZodTypeAny, {
188
188
  country: string | null;
189
189
  region: string | null;
190
+ rating: number | null;
190
191
  isPaymentVerified: boolean | null;
191
192
  numberOfReviews: number | null;
192
- rating: number | null;
193
193
  jobsPosted: number | null;
194
194
  totalSpent: number | null;
195
195
  numberOfHires: number | null;
@@ -203,9 +203,9 @@ export declare const upworkJobSchema: z.ZodObject<{
203
203
  }, {
204
204
  country: string | null;
205
205
  region: string | null;
206
+ rating: number | null;
206
207
  isPaymentVerified: boolean | null;
207
208
  numberOfReviews: number | null;
208
- rating: number | null;
209
209
  jobsPosted: number | null;
210
210
  totalSpent: number | null;
211
211
  numberOfHires: number | null;
@@ -267,9 +267,9 @@ export declare const upworkJobSchema: z.ZodObject<{
267
267
  clientInfo: {
268
268
  country: string | null;
269
269
  region: string | null;
270
+ rating: number | null;
270
271
  isPaymentVerified: boolean | null;
271
272
  numberOfReviews: number | null;
272
- rating: number | null;
273
273
  jobsPosted: number | null;
274
274
  totalSpent: number | null;
275
275
  numberOfHires: number | null;
@@ -319,9 +319,9 @@ export declare const upworkJobSchema: z.ZodObject<{
319
319
  clientInfo: {
320
320
  country: string | null;
321
321
  region: string | null;
322
+ rating: number | null;
322
323
  isPaymentVerified: boolean | null;
323
324
  numberOfReviews: number | null;
324
- rating: number | null;
325
325
  jobsPosted: number | null;
326
326
  totalSpent: number | null;
327
327
  numberOfHires: number | null;
@@ -342,7 +342,7 @@ export declare const upworkJobSchema: z.ZodObject<{
342
342
  } | null;
343
343
  processed: boolean | null;
344
344
  }>;
345
- export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
345
+ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
346
346
  id: z.ZodNullable<z.ZodString>;
347
347
  createdAt: z.ZodNullable<z.ZodNumber>;
348
348
  title: z.ZodNullable<z.ZodString>;
@@ -418,9 +418,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
418
418
  }, "strip", z.ZodTypeAny, {
419
419
  country: string | null;
420
420
  region: string | null;
421
+ rating: number | null;
421
422
  isPaymentVerified: boolean | null;
422
423
  numberOfReviews: number | null;
423
- rating: number | null;
424
424
  jobsPosted: number | null;
425
425
  totalSpent: number | null;
426
426
  numberOfHires: number | null;
@@ -434,9 +434,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
434
434
  }, {
435
435
  country: string | null;
436
436
  region: string | null;
437
+ rating: number | null;
437
438
  isPaymentVerified: boolean | null;
438
439
  numberOfReviews: number | null;
439
- rating: number | null;
440
440
  jobsPosted: number | null;
441
441
  totalSpent: number | null;
442
442
  numberOfHires: number | null;
@@ -469,7 +469,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
469
469
  }>>;
470
470
  processed: z.ZodNullable<z.ZodBoolean>;
471
471
  }, {
472
- jobId: z.ZodString;
473
472
  updatedAt: z.ZodNullable<z.ZodNumber>;
474
473
  suitabilityRating: z.ZodNullable<z.ZodNumber>;
475
474
  suitabilityReason: z.ZodNullable<z.ZodString>;
@@ -531,7 +530,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
531
530
  description: string | null;
532
531
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
533
532
  datetime: number | null;
534
- jobId: string;
535
533
  createdAt: number | null;
536
534
  updatedAt: number | null;
537
535
  questionAnswerPairs: {
@@ -552,9 +550,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
552
550
  clientInfo: {
553
551
  country: string | null;
554
552
  region: string | null;
553
+ rating: number | null;
555
554
  isPaymentVerified: boolean | null;
556
555
  numberOfReviews: number | null;
557
- rating: number | null;
558
556
  jobsPosted: number | null;
559
557
  totalSpent: number | null;
560
558
  numberOfHires: number | null;
@@ -606,7 +604,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
606
604
  description: string | null;
607
605
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
608
606
  datetime: number | null;
609
- jobId: string;
610
607
  createdAt: number | null;
611
608
  updatedAt: number | null;
612
609
  questionAnswerPairs: {
@@ -627,9 +624,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
627
624
  clientInfo: {
628
625
  country: string | null;
629
626
  region: string | null;
627
+ rating: number | null;
630
628
  isPaymentVerified: boolean | null;
631
629
  numberOfReviews: number | null;
632
- rating: number | null;
633
630
  jobsPosted: number | null;
634
631
  totalSpent: number | null;
635
632
  numberOfHires: number | null;
@@ -679,7 +676,7 @@ export declare const jobListItemSchema: z.ZodObject<{
679
676
  jobUrl: string | null;
680
677
  }>;
681
678
  export declare const jobResponseSchema: z.ZodObject<{
682
- leads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
679
+ jobs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
683
680
  id: z.ZodNullable<z.ZodString>;
684
681
  createdAt: z.ZodNullable<z.ZodNumber>;
685
682
  title: z.ZodNullable<z.ZodString>;
@@ -755,9 +752,9 @@ export declare const jobResponseSchema: z.ZodObject<{
755
752
  }, "strip", z.ZodTypeAny, {
756
753
  country: string | null;
757
754
  region: string | null;
755
+ rating: number | null;
758
756
  isPaymentVerified: boolean | null;
759
757
  numberOfReviews: number | null;
760
- rating: number | null;
761
758
  jobsPosted: number | null;
762
759
  totalSpent: number | null;
763
760
  numberOfHires: number | null;
@@ -771,9 +768,9 @@ export declare const jobResponseSchema: z.ZodObject<{
771
768
  }, {
772
769
  country: string | null;
773
770
  region: string | null;
771
+ rating: number | null;
774
772
  isPaymentVerified: boolean | null;
775
773
  numberOfReviews: number | null;
776
- rating: number | null;
777
774
  jobsPosted: number | null;
778
775
  totalSpent: number | null;
779
776
  numberOfHires: number | null;
@@ -806,7 +803,6 @@ export declare const jobResponseSchema: z.ZodObject<{
806
803
  }>>;
807
804
  processed: z.ZodNullable<z.ZodBoolean>;
808
805
  }, {
809
- jobId: z.ZodString;
810
806
  updatedAt: z.ZodNullable<z.ZodNumber>;
811
807
  suitabilityRating: z.ZodNullable<z.ZodNumber>;
812
808
  suitabilityReason: z.ZodNullable<z.ZodString>;
@@ -868,7 +864,6 @@ export declare const jobResponseSchema: z.ZodObject<{
868
864
  description: string | null;
869
865
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
870
866
  datetime: number | null;
871
- jobId: string;
872
867
  createdAt: number | null;
873
868
  updatedAt: number | null;
874
869
  questionAnswerPairs: {
@@ -889,9 +884,9 @@ export declare const jobResponseSchema: z.ZodObject<{
889
884
  clientInfo: {
890
885
  country: string | null;
891
886
  region: string | null;
887
+ rating: number | null;
892
888
  isPaymentVerified: boolean | null;
893
889
  numberOfReviews: number | null;
894
- rating: number | null;
895
890
  jobsPosted: number | null;
896
891
  totalSpent: number | null;
897
892
  numberOfHires: number | null;
@@ -943,7 +938,6 @@ export declare const jobResponseSchema: z.ZodObject<{
943
938
  description: string | null;
944
939
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
945
940
  datetime: number | null;
946
- jobId: string;
947
941
  createdAt: number | null;
948
942
  updatedAt: number | null;
949
943
  questionAnswerPairs: {
@@ -964,9 +958,9 @@ export declare const jobResponseSchema: z.ZodObject<{
964
958
  clientInfo: {
965
959
  country: string | null;
966
960
  region: string | null;
961
+ rating: number | null;
967
962
  isPaymentVerified: boolean | null;
968
963
  numberOfReviews: number | null;
969
- rating: number | null;
970
964
  jobsPosted: number | null;
971
965
  totalSpent: number | null;
972
966
  numberOfHires: number | null;
@@ -1006,7 +1000,7 @@ export declare const jobResponseSchema: z.ZodObject<{
1006
1000
  hasMore: z.ZodBoolean;
1007
1001
  jobCounts: z.ZodNullable<z.ZodNumber>;
1008
1002
  }, "strip", z.ZodTypeAny, {
1009
- leads: {
1003
+ jobs: {
1010
1004
  id: string | null;
1011
1005
  title: string | null;
1012
1006
  metadata: {
@@ -1023,7 +1017,6 @@ export declare const jobResponseSchema: z.ZodObject<{
1023
1017
  description: string | null;
1024
1018
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1025
1019
  datetime: number | null;
1026
- jobId: string;
1027
1020
  createdAt: number | null;
1028
1021
  updatedAt: number | null;
1029
1022
  questionAnswerPairs: {
@@ -1044,9 +1037,9 @@ export declare const jobResponseSchema: z.ZodObject<{
1044
1037
  clientInfo: {
1045
1038
  country: string | null;
1046
1039
  region: string | null;
1040
+ rating: number | null;
1047
1041
  isPaymentVerified: boolean | null;
1048
1042
  numberOfReviews: number | null;
1049
- rating: number | null;
1050
1043
  jobsPosted: number | null;
1051
1044
  totalSpent: number | null;
1052
1045
  numberOfHires: number | null;
@@ -1086,7 +1079,7 @@ export declare const jobResponseSchema: z.ZodObject<{
1086
1079
  hasMore: boolean;
1087
1080
  jobCounts: number | null;
1088
1081
  }, {
1089
- leads: {
1082
+ jobs: {
1090
1083
  id: string | null;
1091
1084
  title: string | null;
1092
1085
  metadata: {
@@ -1103,7 +1096,6 @@ export declare const jobResponseSchema: z.ZodObject<{
1103
1096
  description: string | null;
1104
1097
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1105
1098
  datetime: number | null;
1106
- jobId: string;
1107
1099
  createdAt: number | null;
1108
1100
  updatedAt: number | null;
1109
1101
  questionAnswerPairs: {
@@ -1124,9 +1116,9 @@ export declare const jobResponseSchema: z.ZodObject<{
1124
1116
  clientInfo: {
1125
1117
  country: string | null;
1126
1118
  region: string | null;
1119
+ rating: number | null;
1127
1120
  isPaymentVerified: boolean | null;
1128
1121
  numberOfReviews: number | null;
1129
- rating: number | null;
1130
1122
  jobsPosted: number | null;
1131
1123
  totalSpent: number | null;
1132
1124
  numberOfHires: number | null;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jobResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
3
+ exports.jobResponseSchema = exports.jobListItemSchema = exports.jobSchema = exports.upworkJobSchema = exports.metadataSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const job_note_1 = require("./job-note");
6
6
  const job_status_1 = require("./job-status");
@@ -64,8 +64,7 @@ exports.upworkJobSchema = zod_1.z.object({
64
64
  vendorQualifications: exports.vendorQualificationSchema.nullable(),
65
65
  processed: (0, zod_1.boolean)().nullable(),
66
66
  });
67
- exports.leadSchema = exports.upworkJobSchema.extend({
68
- jobId: zod_1.z.string(),
67
+ exports.jobSchema = exports.upworkJobSchema.extend({
69
68
  updatedAt: zod_1.z.number().nullable(),
70
69
  suitabilityRating: zod_1.z.number().nullable(),
71
70
  suitabilityReason: zod_1.z.string().nullable(),
@@ -84,7 +83,7 @@ exports.jobListItemSchema = zod_1.z.object({
84
83
  datetime: zod_1.z.string().nullable(),
85
84
  });
86
85
  exports.jobResponseSchema = zod_1.z.object({
87
- leads: zod_1.z.array(exports.leadSchema),
86
+ jobs: zod_1.z.array(exports.jobSchema),
88
87
  nextCursor: zod_1.z.string().nullable(),
89
88
  hasMore: zod_1.z.boolean(),
90
89
  jobCounts: zod_1.z.number().nullable(),
@@ -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;