lancer-shared 1.0.102 → 1.0.103
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 +15 -15
- package/dist/schemas/job/job.d.ts +16 -16
- package/dist/schemas/job/pipeline-job.d.ts +3 -9
- package/dist/schemas/job/pipeline-job.js +0 -1
- package/dist/schemas/job-filters/job-filters.d.ts +3 -3
- package/dist/schemas/job-filters/job-filters.js +1 -1
- package/dist/schemas/upwork-account/index.d.ts +1 -1
- package/dist/schemas/upwork-account/index.js +1 -1
- package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +14 -14
- package/dist/schemas/upwork-account/upwork-business-manager-account.js +2 -2
- package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +23 -23
- package/dist/schemas/upwork-account/upwork-scraping-account.js +3 -4
- package/dist/types/upwork-account/upwork-scraping-account.d.ts +2 -2
- package/package.json +1 -1
- package/dist/constants/upwork-filters.d.ts +0 -5
- package/dist/constants/upwork-filters.js +0 -75
- package/dist/schemas/ai-config/ai-config.d.ts +0 -39
- package/dist/schemas/ai-config/ai-config.js +0 -12
- package/dist/schemas/ai-config/index.d.ts +0 -1
- package/dist/schemas/ai-config/index.js +0 -17
- package/dist/schemas/bid/bid-status.d.ts +0 -30
- package/dist/schemas/bid/bid-status.js +0 -15
- package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
- package/dist/schemas/bidding/proposal-dto.js +0 -18
- package/dist/schemas/job/job-pipeline.d.ts +0 -74
- package/dist/schemas/job/job-pipeline.js +0 -29
- package/dist/schemas/job/job-suitability.d.ts +0 -12
- package/dist/schemas/job/job-suitability.js +0 -13
- package/dist/schemas/knowledge-object/index.d.ts +0 -1
- package/dist/schemas/knowledge-object/index.js +0 -17
- package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
- package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
- package/dist/schemas/scraper/scrape-response.d.ts +0 -345
- package/dist/schemas/scraper/scrape-response.js +0 -9
- package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
- package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
- package/dist/types/ai-config/ai-config.d.ts +0 -6
- package/dist/types/ai-config/ai-config.js +0 -2
- package/dist/types/ai-config/index.d.ts +0 -1
- package/dist/types/ai-config/index.js +0 -17
- package/dist/types/bid/bid-status.d.ts +0 -5
- package/dist/types/bid/bid-status.js +0 -2
- package/dist/types/bidding/proposal-dto.d.ts +0 -3
- package/dist/types/bidding/proposal-dto.js +0 -2
- package/dist/types/job/job-pipeline.d.ts +0 -4
- package/dist/types/job/job-pipeline.js +0 -2
- package/dist/types/job/job-suitability.d.ts +0 -3
- package/dist/types/job/job-suitability.js +0 -2
- package/dist/types/knowledge-object/index.d.ts +0 -1
- package/dist/types/knowledge-object/index.js +0 -17
- package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
- package/dist/types/knowledge-object/knowledge-object.js +0 -2
- package/dist/types/scraper/scrape-response.d.ts +0 -4
- package/dist/types/scraper/scrape-response.js +0 -2
|
@@ -14,7 +14,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
14
14
|
includes: string | null;
|
|
15
15
|
excludes: string | null;
|
|
16
16
|
}>>;
|
|
17
|
-
isFeatured: z.
|
|
17
|
+
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
18
18
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
19
19
|
categories: z.ZodNullable<z.ZodObject<{
|
|
20
20
|
includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
|
|
@@ -161,7 +161,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
161
161
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
162
162
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
163
163
|
} | null;
|
|
164
|
-
isFeatured: "false" | "all" | "true";
|
|
164
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
165
165
|
keywords: {
|
|
166
166
|
includes: string | null;
|
|
167
167
|
excludes: string | null;
|
|
@@ -211,6 +211,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
211
211
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
212
212
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
213
213
|
} | null;
|
|
214
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
214
215
|
keywords: {
|
|
215
216
|
includes: string | null;
|
|
216
217
|
excludes: string | null;
|
|
@@ -228,7 +229,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
228
229
|
maxHourlyRate: number | null;
|
|
229
230
|
} | null;
|
|
230
231
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
231
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
createdAt: z.ZodNumber;
|
|
234
234
|
updatedAt: z.ZodNumber;
|
|
@@ -334,7 +334,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
334
334
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
335
335
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
336
336
|
} | null;
|
|
337
|
-
isFeatured: "false" | "all" | "true";
|
|
337
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
338
338
|
keywords: {
|
|
339
339
|
includes: string | null;
|
|
340
340
|
excludes: string | null;
|
|
@@ -416,6 +416,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
416
416
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
417
417
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
418
418
|
} | null;
|
|
419
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
419
420
|
keywords: {
|
|
420
421
|
includes: string | null;
|
|
421
422
|
excludes: string | null;
|
|
@@ -433,7 +434,6 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
433
434
|
maxHourlyRate: number | null;
|
|
434
435
|
} | null;
|
|
435
436
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
436
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
437
437
|
};
|
|
438
438
|
automatedSuitability: boolean | null;
|
|
439
439
|
automatedBidding: boolean | null;
|
|
@@ -475,7 +475,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
475
475
|
includes: string | null;
|
|
476
476
|
excludes: string | null;
|
|
477
477
|
}>>;
|
|
478
|
-
isFeatured: z.
|
|
478
|
+
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
479
479
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
480
480
|
categories: z.ZodNullable<z.ZodObject<{
|
|
481
481
|
includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
|
|
@@ -622,7 +622,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
622
622
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
623
623
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
624
624
|
} | null;
|
|
625
|
-
isFeatured: "false" | "all" | "true";
|
|
625
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
626
626
|
keywords: {
|
|
627
627
|
includes: string | null;
|
|
628
628
|
excludes: string | null;
|
|
@@ -672,6 +672,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
672
672
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
673
673
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
674
674
|
} | null;
|
|
675
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
675
676
|
keywords: {
|
|
676
677
|
includes: string | null;
|
|
677
678
|
excludes: string | null;
|
|
@@ -689,7 +690,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
689
690
|
maxHourlyRate: number | null;
|
|
690
691
|
} | null;
|
|
691
692
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
692
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
693
693
|
}>;
|
|
694
694
|
createdAt: z.ZodNumber;
|
|
695
695
|
updatedAt: z.ZodNumber;
|
|
@@ -792,7 +792,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
792
792
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
793
793
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
794
794
|
} | null;
|
|
795
|
-
isFeatured: "false" | "all" | "true";
|
|
795
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
796
796
|
keywords: {
|
|
797
797
|
includes: string | null;
|
|
798
798
|
excludes: string | null;
|
|
@@ -871,6 +871,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
871
871
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
872
872
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
873
873
|
} | null;
|
|
874
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
874
875
|
keywords: {
|
|
875
876
|
includes: string | null;
|
|
876
877
|
excludes: string | null;
|
|
@@ -888,7 +889,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
888
889
|
maxHourlyRate: number | null;
|
|
889
890
|
} | null;
|
|
890
891
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
891
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
892
892
|
};
|
|
893
893
|
automatedSuitability: boolean | null;
|
|
894
894
|
automatedBidding: boolean | null;
|
|
@@ -930,7 +930,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
930
930
|
includes: string | null;
|
|
931
931
|
excludes: string | null;
|
|
932
932
|
}>>;
|
|
933
|
-
isFeatured: z.
|
|
933
|
+
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
934
934
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
935
935
|
categories: z.ZodNullable<z.ZodObject<{
|
|
936
936
|
includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
|
|
@@ -1077,7 +1077,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1077
1077
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1078
1078
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1079
1079
|
} | null;
|
|
1080
|
-
isFeatured: "false" | "all" | "true";
|
|
1080
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
1081
1081
|
keywords: {
|
|
1082
1082
|
includes: string | null;
|
|
1083
1083
|
excludes: string | null;
|
|
@@ -1127,6 +1127,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1127
1127
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1128
1128
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1129
1129
|
} | null;
|
|
1130
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
1130
1131
|
keywords: {
|
|
1131
1132
|
includes: string | null;
|
|
1132
1133
|
excludes: string | null;
|
|
@@ -1144,7 +1145,6 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1144
1145
|
maxHourlyRate: number | null;
|
|
1145
1146
|
} | null;
|
|
1146
1147
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1147
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
1148
1148
|
}>;
|
|
1149
1149
|
createdAt: z.ZodNumber;
|
|
1150
1150
|
updatedAt: z.ZodNumber;
|
|
@@ -1248,7 +1248,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1248
1248
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1249
1249
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1250
1250
|
} | null;
|
|
1251
|
-
isFeatured: "false" | "all" | "true";
|
|
1251
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
1252
1252
|
keywords: {
|
|
1253
1253
|
includes: string | null;
|
|
1254
1254
|
excludes: string | null;
|
|
@@ -1328,6 +1328,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1328
1328
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1329
1329
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1330
1330
|
} | null;
|
|
1331
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
1331
1332
|
keywords: {
|
|
1332
1333
|
includes: string | null;
|
|
1333
1334
|
excludes: string | null;
|
|
@@ -1345,7 +1346,6 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1345
1346
|
maxHourlyRate: number | null;
|
|
1346
1347
|
} | null;
|
|
1347
1348
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1348
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
1349
1349
|
};
|
|
1350
1350
|
automatedSuitability: boolean | null;
|
|
1351
1351
|
automatedBidding: boolean | 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;
|
|
@@ -418,9 +418,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
419
|
country: string | null;
|
|
420
420
|
region: string | null;
|
|
421
|
+
rating: number | null;
|
|
421
422
|
isPaymentVerified: boolean | null;
|
|
422
423
|
numberOfReviews: number | null;
|
|
423
|
-
rating: number | null;
|
|
424
424
|
jobsPosted: number | null;
|
|
425
425
|
totalSpent: number | null;
|
|
426
426
|
numberOfHires: number | null;
|
|
@@ -434,9 +434,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
434
434
|
}, {
|
|
435
435
|
country: string | null;
|
|
436
436
|
region: string | null;
|
|
437
|
+
rating: number | null;
|
|
437
438
|
isPaymentVerified: boolean | null;
|
|
438
439
|
numberOfReviews: number | null;
|
|
439
|
-
rating: number | null;
|
|
440
440
|
jobsPosted: number | null;
|
|
441
441
|
totalSpent: number | null;
|
|
442
442
|
numberOfHires: number | null;
|
|
@@ -550,9 +550,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
550
550
|
clientInfo: {
|
|
551
551
|
country: string | null;
|
|
552
552
|
region: string | null;
|
|
553
|
+
rating: number | null;
|
|
553
554
|
isPaymentVerified: boolean | null;
|
|
554
555
|
numberOfReviews: number | null;
|
|
555
|
-
rating: number | null;
|
|
556
556
|
jobsPosted: number | null;
|
|
557
557
|
totalSpent: number | null;
|
|
558
558
|
numberOfHires: number | null;
|
|
@@ -624,9 +624,9 @@ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
624
624
|
clientInfo: {
|
|
625
625
|
country: string | null;
|
|
626
626
|
region: string | null;
|
|
627
|
+
rating: number | null;
|
|
627
628
|
isPaymentVerified: boolean | null;
|
|
628
629
|
numberOfReviews: number | null;
|
|
629
|
-
rating: number | null;
|
|
630
630
|
jobsPosted: number | null;
|
|
631
631
|
totalSpent: number | null;
|
|
632
632
|
numberOfHires: number | null;
|
|
@@ -752,9 +752,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
752
752
|
}, "strip", z.ZodTypeAny, {
|
|
753
753
|
country: string | null;
|
|
754
754
|
region: string | null;
|
|
755
|
+
rating: number | null;
|
|
755
756
|
isPaymentVerified: boolean | null;
|
|
756
757
|
numberOfReviews: number | null;
|
|
757
|
-
rating: number | null;
|
|
758
758
|
jobsPosted: number | null;
|
|
759
759
|
totalSpent: number | null;
|
|
760
760
|
numberOfHires: number | null;
|
|
@@ -768,9 +768,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
768
768
|
}, {
|
|
769
769
|
country: string | null;
|
|
770
770
|
region: string | null;
|
|
771
|
+
rating: number | null;
|
|
771
772
|
isPaymentVerified: boolean | null;
|
|
772
773
|
numberOfReviews: number | null;
|
|
773
|
-
rating: number | null;
|
|
774
774
|
jobsPosted: number | null;
|
|
775
775
|
totalSpent: number | null;
|
|
776
776
|
numberOfHires: number | null;
|
|
@@ -884,9 +884,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
884
884
|
clientInfo: {
|
|
885
885
|
country: string | null;
|
|
886
886
|
region: string | null;
|
|
887
|
+
rating: number | null;
|
|
887
888
|
isPaymentVerified: boolean | null;
|
|
888
889
|
numberOfReviews: number | null;
|
|
889
|
-
rating: number | null;
|
|
890
890
|
jobsPosted: number | null;
|
|
891
891
|
totalSpent: number | null;
|
|
892
892
|
numberOfHires: number | null;
|
|
@@ -958,9 +958,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
958
958
|
clientInfo: {
|
|
959
959
|
country: string | null;
|
|
960
960
|
region: string | null;
|
|
961
|
+
rating: number | null;
|
|
961
962
|
isPaymentVerified: boolean | null;
|
|
962
963
|
numberOfReviews: number | null;
|
|
963
|
-
rating: number | null;
|
|
964
964
|
jobsPosted: number | null;
|
|
965
965
|
totalSpent: number | null;
|
|
966
966
|
numberOfHires: number | null;
|
|
@@ -1037,9 +1037,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1037
1037
|
clientInfo: {
|
|
1038
1038
|
country: string | null;
|
|
1039
1039
|
region: string | null;
|
|
1040
|
+
rating: number | null;
|
|
1040
1041
|
isPaymentVerified: boolean | null;
|
|
1041
1042
|
numberOfReviews: number | null;
|
|
1042
|
-
rating: number | null;
|
|
1043
1043
|
jobsPosted: number | null;
|
|
1044
1044
|
totalSpent: number | null;
|
|
1045
1045
|
numberOfHires: number | null;
|
|
@@ -1116,9 +1116,9 @@ export declare const jobResponseSchema: z.ZodObject<{
|
|
|
1116
1116
|
clientInfo: {
|
|
1117
1117
|
country: string | null;
|
|
1118
1118
|
region: string | null;
|
|
1119
|
+
rating: number | null;
|
|
1119
1120
|
isPaymentVerified: boolean | null;
|
|
1120
1121
|
numberOfReviews: number | null;
|
|
1121
|
-
rating: number | null;
|
|
1122
1122
|
jobsPosted: number | null;
|
|
1123
1123
|
totalSpent: number | null;
|
|
1124
1124
|
numberOfHires: number | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
3
|
id: z.ZodNullable<z.ZodString>;
|
|
4
4
|
createdAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -222,7 +222,7 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
|
|
|
222
222
|
biddingAmount: z.ZodOptional<z.ZodNumber>;
|
|
223
223
|
boosted: z.ZodOptional<z.ZodBoolean>;
|
|
224
224
|
boostingAmount: z.ZodOptional<z.ZodNumber>;
|
|
225
|
-
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "
|
|
225
|
+
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
|
|
226
226
|
title: string | null;
|
|
227
227
|
metadata: {
|
|
228
228
|
hourlyRate: {
|
|
@@ -233,7 +233,6 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
|
|
|
233
233
|
};
|
|
234
234
|
description: string | null;
|
|
235
235
|
jobId: string;
|
|
236
|
-
questions: string[] | null;
|
|
237
236
|
clientInfo: {
|
|
238
237
|
country: string | null;
|
|
239
238
|
};
|
|
@@ -257,7 +256,6 @@ export declare const jobPipelineDetailsSchema: z.ZodObject<Pick<z.objectUtil.ext
|
|
|
257
256
|
};
|
|
258
257
|
description: string | null;
|
|
259
258
|
jobId: string;
|
|
260
|
-
questions: string[] | null;
|
|
261
259
|
clientInfo: {
|
|
262
260
|
country: string | null;
|
|
263
261
|
};
|
|
@@ -495,7 +493,7 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
495
493
|
biddingAmount: z.ZodOptional<z.ZodNumber>;
|
|
496
494
|
boosted: z.ZodOptional<z.ZodBoolean>;
|
|
497
495
|
boostingAmount: z.ZodOptional<z.ZodNumber>;
|
|
498
|
-
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "
|
|
496
|
+
}>, "title" | "metadata" | "description" | "status" | "jobId" | "updatedAt" | "clientInfo" | "addedAt" | "suitabilityRating" | "suitabilityReason" | "suitabilityStatus" | "biddingAmount" | "boosted" | "boostingAmount">, "strip", z.ZodTypeAny, {
|
|
499
497
|
title: string | null;
|
|
500
498
|
metadata: {
|
|
501
499
|
hourlyRate: {
|
|
@@ -506,7 +504,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
506
504
|
};
|
|
507
505
|
description: string | null;
|
|
508
506
|
jobId: string;
|
|
509
|
-
questions: string[] | null;
|
|
510
507
|
clientInfo: {
|
|
511
508
|
country: string | null;
|
|
512
509
|
};
|
|
@@ -530,7 +527,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
530
527
|
};
|
|
531
528
|
description: string | null;
|
|
532
529
|
jobId: string;
|
|
533
|
-
questions: string[] | null;
|
|
534
530
|
clientInfo: {
|
|
535
531
|
country: string | null;
|
|
536
532
|
};
|
|
@@ -559,7 +555,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
559
555
|
};
|
|
560
556
|
description: string | null;
|
|
561
557
|
jobId: string;
|
|
562
|
-
questions: string[] | null;
|
|
563
558
|
clientInfo: {
|
|
564
559
|
country: string | null;
|
|
565
560
|
};
|
|
@@ -588,7 +583,6 @@ export declare const jobPipelineResponseSchema: z.ZodObject<{
|
|
|
588
583
|
};
|
|
589
584
|
description: string | null;
|
|
590
585
|
jobId: string;
|
|
591
|
-
questions: string[] | null;
|
|
592
586
|
clientInfo: {
|
|
593
587
|
country: string | null;
|
|
594
588
|
};
|
|
@@ -33,7 +33,6 @@ exports.jobPipelineDetailsSchema = job_details_1.jobDetailsSchema
|
|
|
33
33
|
biddingAmount: true,
|
|
34
34
|
boostingAmount: true,
|
|
35
35
|
boosted: true,
|
|
36
|
-
questions: true,
|
|
37
36
|
});
|
|
38
37
|
exports.jobPipelineResponseSchema = zod_1.z.object({
|
|
39
38
|
jobs: zod_1.z.array(exports.jobPipelineDetailsSchema),
|
|
@@ -23,7 +23,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
23
23
|
includes: string | null;
|
|
24
24
|
excludes: string | null;
|
|
25
25
|
}>>;
|
|
26
|
-
isFeatured: z.
|
|
26
|
+
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
27
27
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
28
28
|
categories: z.ZodNullable<z.ZodObject<{
|
|
29
29
|
includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
|
|
@@ -170,7 +170,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
170
170
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
171
171
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
172
172
|
} | null;
|
|
173
|
-
isFeatured: "false" | "all" | "true";
|
|
173
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
174
174
|
keywords: {
|
|
175
175
|
includes: string | null;
|
|
176
176
|
excludes: string | null;
|
|
@@ -220,6 +220,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
220
220
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
221
221
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
222
222
|
} | null;
|
|
223
|
+
isFeatured: "false" | "all" | "true" | null;
|
|
223
224
|
keywords: {
|
|
224
225
|
includes: string | null;
|
|
225
226
|
excludes: string | null;
|
|
@@ -237,5 +238,4 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
237
238
|
maxHourlyRate: number | null;
|
|
238
239
|
} | null;
|
|
239
240
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
240
|
-
isFeatured?: "false" | "all" | "true" | undefined;
|
|
241
241
|
}>;
|
|
@@ -29,7 +29,7 @@ exports.jobFiltersSchema = zod_1.z.object({
|
|
|
29
29
|
excludes: zod_1.z.string().nullable(),
|
|
30
30
|
})
|
|
31
31
|
.nullable(),
|
|
32
|
-
isFeatured: zod_1.z.enum(["all", "true", "false"]).
|
|
32
|
+
isFeatured: zod_1.z.enum(["all", "true", "false"]).nullable(),
|
|
33
33
|
regions: zod_1.z.array(exports.regionEnum).nullable(),
|
|
34
34
|
categories: zod_1.z
|
|
35
35
|
.object({
|
|
@@ -16,4 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./upwork-account-status"), exports);
|
|
18
18
|
__exportStar(require("./upwork-business-manager-account"), exports);
|
|
19
|
-
__exportStar(require("./upwork-
|
|
19
|
+
__exportStar(require("./upwork-scraping-account"), exports);
|
|
@@ -9,33 +9,33 @@ export declare const upworkBusinessManagerAccountSchema: z.ZodObject<{
|
|
|
9
9
|
proxy: z.ZodString;
|
|
10
10
|
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
11
11
|
verified: z.ZodBoolean;
|
|
12
|
-
|
|
12
|
+
is_active: z.ZodBoolean;
|
|
13
13
|
assignedOrganizations: z.ZodArray<z.ZodString, "many">;
|
|
14
|
-
|
|
14
|
+
last_used: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
id: string;
|
|
17
17
|
email: string;
|
|
18
18
|
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
19
19
|
cookies: any[] | null;
|
|
20
20
|
password: string;
|
|
21
|
-
isActive: boolean;
|
|
22
21
|
provider: "user_provided" | "lancer_provided";
|
|
23
22
|
proxy: string;
|
|
24
23
|
verified: boolean;
|
|
24
|
+
is_active: boolean;
|
|
25
25
|
assignedOrganizations: string[];
|
|
26
|
-
|
|
26
|
+
last_used: number | null;
|
|
27
27
|
}, {
|
|
28
28
|
id: string;
|
|
29
29
|
email: string;
|
|
30
30
|
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
31
31
|
cookies: any[] | null;
|
|
32
32
|
password: string;
|
|
33
|
-
isActive: boolean;
|
|
34
33
|
provider: "user_provided" | "lancer_provided";
|
|
35
34
|
proxy: string;
|
|
36
35
|
verified: boolean;
|
|
36
|
+
is_active: boolean;
|
|
37
37
|
assignedOrganizations: string[];
|
|
38
|
-
|
|
38
|
+
last_used: number | null;
|
|
39
39
|
}>;
|
|
40
40
|
export declare const createUpworkBusinessManagerAccountSchema: z.ZodObject<Pick<{
|
|
41
41
|
id: z.ZodString;
|
|
@@ -46,9 +46,9 @@ export declare const createUpworkBusinessManagerAccountSchema: z.ZodObject<Pick<
|
|
|
46
46
|
proxy: z.ZodString;
|
|
47
47
|
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
48
48
|
verified: z.ZodBoolean;
|
|
49
|
-
|
|
49
|
+
is_active: z.ZodBoolean;
|
|
50
50
|
assignedOrganizations: z.ZodArray<z.ZodString, "many">;
|
|
51
|
-
|
|
51
|
+
last_used: z.ZodNullable<z.ZodNumber>;
|
|
52
52
|
}, "email" | "password" | "provider" | "proxy" | "assignedOrganizations">, "strip", z.ZodTypeAny, {
|
|
53
53
|
email: string;
|
|
54
54
|
password: string;
|
|
@@ -67,29 +67,29 @@ export declare const updateUpworkBusinessManagerAccountSchema: z.ZodObject<{
|
|
|
67
67
|
status: z.ZodOptional<z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>>;
|
|
68
68
|
cookies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
|
|
69
69
|
password: z.ZodOptional<z.ZodString>;
|
|
70
|
-
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
71
70
|
proxy: z.ZodOptional<z.ZodString>;
|
|
72
71
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
73
73
|
assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
|
-
|
|
74
|
+
last_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
email?: string | undefined;
|
|
77
77
|
status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
|
|
78
78
|
cookies?: any[] | null | undefined;
|
|
79
79
|
password?: string | undefined;
|
|
80
|
-
isActive?: boolean | undefined;
|
|
81
80
|
proxy?: string | undefined;
|
|
82
81
|
verified?: boolean | undefined;
|
|
82
|
+
is_active?: boolean | undefined;
|
|
83
83
|
assignedOrganizations?: string[] | undefined;
|
|
84
|
-
|
|
84
|
+
last_used?: number | null | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
email?: string | undefined;
|
|
87
87
|
status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
|
|
88
88
|
cookies?: any[] | null | undefined;
|
|
89
89
|
password?: string | undefined;
|
|
90
|
-
isActive?: boolean | undefined;
|
|
91
90
|
proxy?: string | undefined;
|
|
92
91
|
verified?: boolean | undefined;
|
|
92
|
+
is_active?: boolean | undefined;
|
|
93
93
|
assignedOrganizations?: string[] | undefined;
|
|
94
|
-
|
|
94
|
+
last_used?: number | null | undefined;
|
|
95
95
|
}>;
|
|
@@ -16,9 +16,9 @@ exports.upworkBusinessManagerAccountSchema = zod_1.z.object({
|
|
|
16
16
|
proxy: zod_1.z.string(),
|
|
17
17
|
status: upwork_account_status_1.upworkAccountStatusSchema,
|
|
18
18
|
verified: zod_1.z.boolean(),
|
|
19
|
-
|
|
19
|
+
is_active: zod_1.z.boolean(),
|
|
20
20
|
assignedOrganizations: zod_1.z.array(zod_1.z.string()),
|
|
21
|
-
|
|
21
|
+
last_used: zod_1.z.number().nullable(),
|
|
22
22
|
});
|
|
23
23
|
exports.createUpworkBusinessManagerAccountSchema = exports.upworkBusinessManagerAccountSchema.pick({
|
|
24
24
|
email: true,
|