lancer-shared 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/campaign/campaign.d.ts +12 -12
- package/dist/schemas/job-filters/job-filters.d.ts +2 -2
- package/dist/schemas/lead/lead.d.ts +110 -96
- package/dist/schemas/lead/lead.js +3 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +2 -2
- package/dist/schemas/scraper/scrape-result.d.ts +41 -36
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
147
|
+
paymentType: string | null;
|
|
148
|
+
fixedPrice: number | null;
|
|
149
149
|
}, {
|
|
150
150
|
hours: string | null;
|
|
151
151
|
duration: string | null;
|
|
152
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
204
|
+
paymentType: string | null;
|
|
205
|
+
fixedPrice: number | null;
|
|
206
206
|
}, {
|
|
207
207
|
hours: string | null;
|
|
208
208
|
duration: string | null;
|
|
209
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
519
|
+
paymentType: string | null;
|
|
520
|
+
fixedPrice: number | null;
|
|
518
521
|
}, {
|
|
519
522
|
hours: string | null;
|
|
520
523
|
duration: string | null;
|
|
521
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -884,13 +890,16 @@ export declare const jobListItemSchema: z.ZodObject<{
|
|
|
884
890
|
jobUrl: z.ZodNullable<z.ZodString>;
|
|
885
891
|
datetime: z.ZodNullable<z.ZodString>;
|
|
886
892
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
893
|
+
region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
|
|
887
894
|
}, "strip", z.ZodTypeAny, {
|
|
888
895
|
title: string | null;
|
|
896
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
889
897
|
datetime: string | null;
|
|
890
898
|
jobUrl: string | null;
|
|
891
899
|
isFeatured: boolean | null;
|
|
892
900
|
}, {
|
|
893
901
|
title: string | null;
|
|
902
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
894
903
|
datetime: string | null;
|
|
895
904
|
jobUrl: string | null;
|
|
896
905
|
isFeatured: boolean | null;
|
|
@@ -935,23 +944,23 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
935
944
|
}, "strip", z.ZodTypeAny, {
|
|
936
945
|
hours: string | null;
|
|
937
946
|
duration: string | null;
|
|
938
|
-
|
|
939
|
-
fixedPrice: number | null;
|
|
947
|
+
experienceLevel: string | null;
|
|
940
948
|
hourlyRate: {
|
|
941
949
|
max: number | null;
|
|
942
950
|
min: number | null;
|
|
943
951
|
} | null;
|
|
944
|
-
|
|
952
|
+
paymentType: string | null;
|
|
953
|
+
fixedPrice: number | null;
|
|
945
954
|
}, {
|
|
946
955
|
hours: string | null;
|
|
947
956
|
duration: string | null;
|
|
948
|
-
|
|
949
|
-
fixedPrice: number | null;
|
|
957
|
+
experienceLevel: string | null;
|
|
950
958
|
hourlyRate: {
|
|
951
959
|
max: number | null;
|
|
952
960
|
min: number | null;
|
|
953
961
|
} | null;
|
|
954
|
-
|
|
962
|
+
paymentType: string | null;
|
|
963
|
+
fixedPrice: number | null;
|
|
955
964
|
}>>;
|
|
956
965
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
957
966
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -1043,6 +1052,9 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1043
1052
|
numHours: z.ZodNullable<z.ZodNumber>;
|
|
1044
1053
|
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
1045
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1055
|
+
hourlyRate: number | null;
|
|
1056
|
+
paymentType: string | null;
|
|
1057
|
+
fixedPrice: number | null;
|
|
1046
1058
|
jobTitle: string | null;
|
|
1047
1059
|
freelancerName: string | null;
|
|
1048
1060
|
freelancerRating: number | null;
|
|
@@ -1050,12 +1062,12 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1050
1062
|
clientFeedback: string | null;
|
|
1051
1063
|
clientFeedbackRating: number | null;
|
|
1052
1064
|
dateRange: string | null;
|
|
1053
|
-
paymentType: string | null;
|
|
1054
|
-
fixedPrice: number | null;
|
|
1055
|
-
hourlyRate: number | null;
|
|
1056
1065
|
numHours: number | null;
|
|
1057
1066
|
totalBilled: number | null;
|
|
1058
1067
|
}, {
|
|
1068
|
+
hourlyRate: number | null;
|
|
1069
|
+
paymentType: string | null;
|
|
1070
|
+
fixedPrice: number | null;
|
|
1059
1071
|
jobTitle: string | null;
|
|
1060
1072
|
freelancerName: string | null;
|
|
1061
1073
|
freelancerRating: number | null;
|
|
@@ -1063,12 +1075,10 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1063
1075
|
clientFeedback: string | null;
|
|
1064
1076
|
clientFeedbackRating: number | null;
|
|
1065
1077
|
dateRange: string | null;
|
|
1066
|
-
paymentType: string | null;
|
|
1067
|
-
fixedPrice: number | null;
|
|
1068
|
-
hourlyRate: number | null;
|
|
1069
1078
|
numHours: number | null;
|
|
1070
1079
|
totalBilled: number | null;
|
|
1071
1080
|
}>, "many">>;
|
|
1081
|
+
region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
|
|
1072
1082
|
}, {
|
|
1073
1083
|
jobId: z.ZodString;
|
|
1074
1084
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1123,15 +1133,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1123
1133
|
metadata: {
|
|
1124
1134
|
hours: string | null;
|
|
1125
1135
|
duration: string | null;
|
|
1126
|
-
|
|
1127
|
-
fixedPrice: number | null;
|
|
1136
|
+
experienceLevel: string | null;
|
|
1128
1137
|
hourlyRate: {
|
|
1129
1138
|
max: number | null;
|
|
1130
1139
|
min: number | null;
|
|
1131
1140
|
} | null;
|
|
1132
|
-
|
|
1141
|
+
paymentType: string | null;
|
|
1142
|
+
fixedPrice: number | null;
|
|
1133
1143
|
} | null;
|
|
1134
1144
|
description: string | null;
|
|
1145
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
1135
1146
|
datetime: number | null;
|
|
1136
1147
|
jobId: string;
|
|
1137
1148
|
createdAt: number | null;
|
|
@@ -1180,6 +1191,9 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1180
1191
|
processed: boolean | null;
|
|
1181
1192
|
isFeatured: boolean | null;
|
|
1182
1193
|
clientReviews: {
|
|
1194
|
+
hourlyRate: number | null;
|
|
1195
|
+
paymentType: string | null;
|
|
1196
|
+
fixedPrice: number | null;
|
|
1183
1197
|
jobTitle: string | null;
|
|
1184
1198
|
freelancerName: string | null;
|
|
1185
1199
|
freelancerRating: number | null;
|
|
@@ -1187,9 +1201,6 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1187
1201
|
clientFeedback: string | null;
|
|
1188
1202
|
clientFeedbackRating: number | null;
|
|
1189
1203
|
dateRange: string | null;
|
|
1190
|
-
paymentType: string | null;
|
|
1191
|
-
fixedPrice: number | null;
|
|
1192
|
-
hourlyRate: number | null;
|
|
1193
1204
|
numHours: number | null;
|
|
1194
1205
|
totalBilled: number | null;
|
|
1195
1206
|
}[] | null;
|
|
@@ -1217,15 +1228,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1217
1228
|
metadata: {
|
|
1218
1229
|
hours: string | null;
|
|
1219
1230
|
duration: string | null;
|
|
1220
|
-
|
|
1221
|
-
fixedPrice: number | null;
|
|
1231
|
+
experienceLevel: string | null;
|
|
1222
1232
|
hourlyRate: {
|
|
1223
1233
|
max: number | null;
|
|
1224
1234
|
min: number | null;
|
|
1225
1235
|
} | null;
|
|
1226
|
-
|
|
1236
|
+
paymentType: string | null;
|
|
1237
|
+
fixedPrice: number | null;
|
|
1227
1238
|
} | null;
|
|
1228
1239
|
description: string | null;
|
|
1240
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
1229
1241
|
datetime: number | null;
|
|
1230
1242
|
jobId: string;
|
|
1231
1243
|
createdAt: number | null;
|
|
@@ -1274,6 +1286,9 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1274
1286
|
processed: boolean | null;
|
|
1275
1287
|
isFeatured: boolean | null;
|
|
1276
1288
|
clientReviews: {
|
|
1289
|
+
hourlyRate: number | null;
|
|
1290
|
+
paymentType: string | null;
|
|
1291
|
+
fixedPrice: number | null;
|
|
1277
1292
|
jobTitle: string | null;
|
|
1278
1293
|
freelancerName: string | null;
|
|
1279
1294
|
freelancerRating: number | null;
|
|
@@ -1281,9 +1296,6 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1281
1296
|
clientFeedback: string | null;
|
|
1282
1297
|
clientFeedbackRating: number | null;
|
|
1283
1298
|
dateRange: string | null;
|
|
1284
|
-
paymentType: string | null;
|
|
1285
|
-
fixedPrice: number | null;
|
|
1286
|
-
hourlyRate: number | null;
|
|
1287
1299
|
numHours: number | null;
|
|
1288
1300
|
totalBilled: number | null;
|
|
1289
1301
|
}[] | null;
|
|
@@ -1316,15 +1328,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1316
1328
|
metadata: {
|
|
1317
1329
|
hours: string | null;
|
|
1318
1330
|
duration: string | null;
|
|
1319
|
-
|
|
1320
|
-
fixedPrice: number | null;
|
|
1331
|
+
experienceLevel: string | null;
|
|
1321
1332
|
hourlyRate: {
|
|
1322
1333
|
max: number | null;
|
|
1323
1334
|
min: number | null;
|
|
1324
1335
|
} | null;
|
|
1325
|
-
|
|
1336
|
+
paymentType: string | null;
|
|
1337
|
+
fixedPrice: number | null;
|
|
1326
1338
|
} | null;
|
|
1327
1339
|
description: string | null;
|
|
1340
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
1328
1341
|
datetime: number | null;
|
|
1329
1342
|
jobId: string;
|
|
1330
1343
|
createdAt: number | null;
|
|
@@ -1373,6 +1386,9 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1373
1386
|
processed: boolean | null;
|
|
1374
1387
|
isFeatured: boolean | null;
|
|
1375
1388
|
clientReviews: {
|
|
1389
|
+
hourlyRate: number | null;
|
|
1390
|
+
paymentType: string | null;
|
|
1391
|
+
fixedPrice: number | null;
|
|
1376
1392
|
jobTitle: string | null;
|
|
1377
1393
|
freelancerName: string | null;
|
|
1378
1394
|
freelancerRating: number | null;
|
|
@@ -1380,9 +1396,6 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1380
1396
|
clientFeedback: string | null;
|
|
1381
1397
|
clientFeedbackRating: number | null;
|
|
1382
1398
|
dateRange: string | null;
|
|
1383
|
-
paymentType: string | null;
|
|
1384
|
-
fixedPrice: number | null;
|
|
1385
|
-
hourlyRate: number | null;
|
|
1386
1399
|
numHours: number | null;
|
|
1387
1400
|
totalBilled: number | null;
|
|
1388
1401
|
}[] | null;
|
|
@@ -1415,15 +1428,16 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1415
1428
|
metadata: {
|
|
1416
1429
|
hours: string | null;
|
|
1417
1430
|
duration: string | null;
|
|
1418
|
-
|
|
1419
|
-
fixedPrice: number | null;
|
|
1431
|
+
experienceLevel: string | null;
|
|
1420
1432
|
hourlyRate: {
|
|
1421
1433
|
max: number | null;
|
|
1422
1434
|
min: number | null;
|
|
1423
1435
|
} | null;
|
|
1424
|
-
|
|
1436
|
+
paymentType: string | null;
|
|
1437
|
+
fixedPrice: number | null;
|
|
1425
1438
|
} | null;
|
|
1426
1439
|
description: string | null;
|
|
1440
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | null;
|
|
1427
1441
|
datetime: number | null;
|
|
1428
1442
|
jobId: string;
|
|
1429
1443
|
createdAt: number | null;
|
|
@@ -1472,6 +1486,9 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1472
1486
|
processed: boolean | null;
|
|
1473
1487
|
isFeatured: boolean | null;
|
|
1474
1488
|
clientReviews: {
|
|
1489
|
+
hourlyRate: number | null;
|
|
1490
|
+
paymentType: string | null;
|
|
1491
|
+
fixedPrice: number | null;
|
|
1475
1492
|
jobTitle: string | null;
|
|
1476
1493
|
freelancerName: string | null;
|
|
1477
1494
|
freelancerRating: number | null;
|
|
@@ -1479,9 +1496,6 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1479
1496
|
clientFeedback: string | null;
|
|
1480
1497
|
clientFeedbackRating: number | null;
|
|
1481
1498
|
dateRange: string | null;
|
|
1482
|
-
paymentType: string | null;
|
|
1483
|
-
fixedPrice: number | null;
|
|
1484
|
-
hourlyRate: number | null;
|
|
1485
1499
|
numHours: number | null;
|
|
1486
1500
|
totalBilled: number | null;
|
|
1487
1501
|
}[] | 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(),
|
|
@@ -103,6 +105,7 @@ exports.jobListItemSchema = zod_1.z.object({
|
|
|
103
105
|
jobUrl: zod_1.z.string().nullable(),
|
|
104
106
|
datetime: zod_1.z.string().nullable(),
|
|
105
107
|
isFeatured: zod_1.z.boolean().nullable(),
|
|
108
|
+
region: scraper_1.regionSchema.nullable(),
|
|
106
109
|
});
|
|
107
110
|
exports.leadResponseSchema = zod_1.z.object({
|
|
108
111
|
leads: zod_1.z.array(exports.leadSchema),
|
|
@@ -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
|
-
|
|
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
|
-
|
|
48
|
+
paymentType: string | null;
|
|
49
|
+
fixedPrice: number | null;
|
|
50
50
|
}, {
|
|
51
51
|
hours: string | null;
|
|
52
52
|
duration: string | null;
|
|
53
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
}>;
|