lancer-shared 1.2.74 → 1.2.76
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/bundle.cjs.js +6 -0
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +24 -24
- package/dist/schemas/logger/log-event.d.ts +11 -0
- package/dist/schemas/proxy/proxy-available-replacements.d.ts +1 -1
- package/package.json +1 -1
- package/dist/constants/collections.d.ts +0 -13
- package/dist/constants/collections.js +0 -14
- package/dist/constants/common-questions.js +0 -57
- package/dist/constants/index.js +0 -18
- package/dist/constants/job-filter-options.js +0 -265
- package/dist/constants/job-status.js +0 -21
- package/dist/constants/mappings/countryMapping.js +0 -120
- package/dist/constants/mappings/regionMapping.js +0 -240
- package/dist/constants/organization.d.ts +0 -2
- package/dist/constants/routes.js +0 -116
- package/dist/constants/upwork-accounts.js +0 -18
- package/dist/index.js +0 -4
- package/dist/schemas/account/account-status.js +0 -8
- package/dist/schemas/account/bidder-account.js +0 -35
- package/dist/schemas/account/index.js +0 -3
- package/dist/schemas/account/scraper-account.js +0 -34
- package/dist/schemas/ai/ai-config.d.ts +0 -36
- package/dist/schemas/ai/ai-config.js +0 -9
- package/dist/schemas/ai/index.d.ts +0 -3
- package/dist/schemas/ai/index.js +0 -3
- package/dist/schemas/ai/proposal.d.ts +0 -82
- package/dist/schemas/ai/proposal.js +0 -13
- package/dist/schemas/ai/suitability.d.ts +0 -37
- package/dist/schemas/ai/suitability.js +0 -14
- package/dist/schemas/bid/bid-result.js +0 -11
- package/dist/schemas/bid/bid.js +0 -35
- package/dist/schemas/bid/index.js +0 -2
- package/dist/schemas/campaign/campaign-ai-metrics.js +0 -6
- package/dist/schemas/campaign/campaign-analytics.js +0 -42
- package/dist/schemas/campaign/campaign-expenses.js +0 -6
- package/dist/schemas/campaign/campaign-insights.js +0 -31
- package/dist/schemas/campaign/campaign-integrations.d.ts +0 -87
- package/dist/schemas/campaign/campaign-integrations.js +0 -13
- package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
- package/dist/schemas/campaign/campaign-job-count.js +0 -3
- package/dist/schemas/campaign/campaign.js +0 -41
- package/dist/schemas/campaign/index.js +0 -7
- package/dist/schemas/chat-message/chat-message.d.ts +0 -31
- package/dist/schemas/chat-message/chat-message.js +0 -10
- package/dist/schemas/chat-message/index.d.ts +0 -1
- package/dist/schemas/chat-message/index.js +0 -1
- package/dist/schemas/config/agency-config.d.ts +0 -17
- package/dist/schemas/config/agency-config.js +0 -7
- package/dist/schemas/config/index.d.ts +0 -1
- package/dist/schemas/config/index.js +0 -1
- package/dist/schemas/event/index.d.ts +0 -58
- package/dist/schemas/index.js +0 -17
- package/dist/schemas/job-filters/index.d.ts +0 -1
- package/dist/schemas/job-filters/index.js +0 -1
- package/dist/schemas/job-filters/job-filters.d.ts +0 -241
- package/dist/schemas/job-filters/job-filters.js +0 -84
- package/dist/schemas/lead/index.js +0 -173
- package/dist/schemas/lead/lead-note.d.ts +0 -83
- package/dist/schemas/lead/lead-note.js +0 -27
- package/dist/schemas/lead/lead-status.js +0 -23
- package/dist/schemas/lead/nuxt.d.ts +0 -1664
- package/dist/schemas/lead/nuxt.js +0 -287
- package/dist/schemas/logger/index.js +0 -1
- package/dist/schemas/logger/log-event.js +0 -117
- package/dist/schemas/meter-event/index.d.ts +0 -12
- package/dist/schemas/organization/index.js +0 -70
- package/dist/schemas/organization/member.js +0 -7
- package/dist/schemas/organization/organization.d.ts +0 -240
- package/dist/schemas/organization/organization.js +0 -16
- package/dist/schemas/organization/subscription.js +0 -17
- package/dist/schemas/proxy/index.js +0 -3
- package/dist/schemas/proxy/proxy-available-replacements.js +0 -3
- package/dist/schemas/proxy/proxy-country.js +0 -249
- package/dist/schemas/proxy/proxy.js +0 -29
- package/dist/schemas/saved-search/index.js +0 -9
- package/dist/schemas/scraper/index.js +0 -2
- package/dist/schemas/scraper/scrape-payload.js +0 -21
- package/dist/schemas/scraper/scrape-result.js +0 -23
- package/dist/schemas/shared.js +0 -19
- package/dist/schemas/tier/index.d.ts +0 -119
- package/dist/schemas/time-filter/index.js +0 -6
- package/dist/schemas/transaction/index.js +0 -17
- package/dist/schemas/usage/index.js +0 -18
- package/dist/schemas/user/index.js +0 -52
- package/dist/types/account/account-status.d.ts +0 -3
- package/dist/types/account/account-status.js +0 -1
- package/dist/types/account/bidder-account.d.ts +0 -7
- package/dist/types/account/bidder-account.js +0 -1
- package/dist/types/account/index.d.ts +0 -3
- package/dist/types/account/index.js +0 -3
- package/dist/types/account/scraper-account.d.ts +0 -5
- package/dist/types/account/scraper-account.js +0 -1
- package/dist/types/ai/ai-config.d.ts +0 -6
- package/dist/types/ai/ai-config.js +0 -1
- package/dist/types/ai/index.d.ts +0 -3
- package/dist/types/ai/index.js +0 -3
- package/dist/types/ai/proposal.d.ts +0 -10
- package/dist/types/ai/proposal.js +0 -1
- package/dist/types/ai/suitability.d.ts +0 -6
- package/dist/types/ai/suitability.js +0 -1
- package/dist/types/bid/bid-result.d.ts +0 -5
- package/dist/types/bid/bid-result.js +0 -1
- package/dist/types/bid/bid.d.ts +0 -9
- package/dist/types/bid/bid.js +0 -1
- package/dist/types/bid/index.d.ts +0 -2
- package/dist/types/bid/index.js +0 -2
- package/dist/types/campaign/campaign-analytics.d.ts +0 -7
- package/dist/types/campaign/campaign-analytics.js +0 -1
- package/dist/types/campaign/campaign-expenses.d.ts +0 -3
- package/dist/types/campaign/campaign-expenses.js +0 -1
- package/dist/types/campaign/campaign-insights.js +0 -1
- package/dist/types/campaign/campaign-integrations.d.ts +0 -6
- package/dist/types/campaign/campaign-integrations.js +0 -1
- package/dist/types/campaign/campaign-job-count.d.ts +0 -4
- package/dist/types/campaign/campaign-job-count.js +0 -1
- package/dist/types/campaign/campaign.js +0 -1
- package/dist/types/campaign/index.js +0 -6
- package/dist/types/chat-message/chat-message.d.ts +0 -4
- package/dist/types/chat-message/chat-message.js +0 -1
- package/dist/types/chat-message/index.d.ts +0 -1
- package/dist/types/chat-message/index.js +0 -1
- package/dist/types/config/agency-config.d.ts +0 -4
- package/dist/types/config/agency-config.js +0 -1
- package/dist/types/config/index.d.ts +0 -1
- package/dist/types/config/index.js +0 -1
- package/dist/types/index.d.ts +0 -15
- package/dist/types/index.js +0 -15
- package/dist/types/job/index.d.ts +0 -48
- package/dist/types/job/index.js +0 -3
- package/dist/types/job/job-note.d.ts +0 -10
- package/dist/types/job/job-note.js +0 -1
- package/dist/types/job/job-status.d.ts +0 -5
- package/dist/types/job/job-status.js +0 -9
- package/dist/types/job/nuxt.d.ts +0 -4
- package/dist/types/job/nuxt.js +0 -1
- package/dist/types/job-filters/index.d.ts +0 -1
- package/dist/types/job-filters/index.js +0 -1
- package/dist/types/job-filters/job-filters.d.ts +0 -4
- package/dist/types/job-filters/job-filters.js +0 -1
- package/dist/types/logger/index.d.ts +0 -1
- package/dist/types/logger/index.js +0 -1
- package/dist/types/logger/log-event.js +0 -1
- package/dist/types/saved-search/index.d.ts +0 -6
- package/dist/types/saved-search/index.js +0 -1
- package/dist/types/scraper/index.d.ts +0 -2
- package/dist/types/scraper/index.js +0 -2
- package/dist/types/scraper/scrape-payload.d.ts +0 -10
- package/dist/types/scraper/scrape-payload.js +0 -1
- package/dist/types/scraper/scrape-result.d.ts +0 -8
- package/dist/types/scraper/scrape-result.js +0 -1
- package/dist/types/shared.d.ts +0 -8
- package/dist/types/shared.js +0 -1
- package/dist/types/time-filter/index.d.ts +0 -3
- package/dist/types/time-filter/index.js +0 -1
- package/dist/types/transaction/index.d.ts +0 -4
- package/dist/types/transaction/index.js +0 -1
- package/dist/types/usage/index.d.ts +0 -6
- package/dist/types/usage/index.js +0 -1
- package/dist/types/user/index.d.ts +0 -15
- package/dist/types/user/index.js +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/try-catch.js +0 -10
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const projectDurationEnum: z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>;
|
|
3
|
-
export declare const engagementTypeEnum: z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>;
|
|
4
|
-
export declare const vendorTypeEnum: z.ZodEnum<["Independent", "Agency", "Unspecified"]>;
|
|
5
|
-
export declare const paymentTypeEnum: z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>;
|
|
6
|
-
export declare const categoryEnum: 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"]>;
|
|
7
|
-
export declare const clientIndustryEnum: z.ZodEnum<["Aerospace", "Agriculture & Forestry", "Art & Design", "Automotive", "Aviation", "Education", "Energy & Utilities", "Engineering & Architecture", "Fashion & Beauty", "Finance & Accounting", "Food & Beverage", "Government & Public Sector", "Health & Fitness", "HR & Business Services", "Legal", "Manufacturing & Construction", "Media & Entertainment", "Military & Defense", "Mining", "Real Estate", "Retail & Consumer Goods", "Sales & Marketing", "Science & Medicine", "Sports & Recreation", "Supply Chain & Logistics", "Tech & IT", "Transportation & Warehousing", "Travel & Hospitality"]>;
|
|
8
|
-
export declare const clientSizeEnum: z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>;
|
|
9
|
-
export declare const talentTypeEnum: z.ZodEnum<["Agency", "Independent", "Unspecified"]>;
|
|
10
|
-
export declare const englishLevelEnum: z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>;
|
|
11
|
-
export declare const experienceLevelEnum: z.ZodEnum<["Entry level", "Intermediate", "Expert"]>;
|
|
12
|
-
export declare const regionEnum: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
|
|
13
|
-
export declare const requiredEarningsEnum: z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>;
|
|
14
|
-
export declare const requiredJSSEnum: z.ZodEnum<[">80%", ">90%", "100%", "RT"]>;
|
|
15
|
-
export declare const jobFiltersSchema: z.ZodObject<{
|
|
16
|
-
keywords: z.ZodNullable<z.ZodObject<{
|
|
17
|
-
includes: z.ZodNullable<z.ZodString>;
|
|
18
|
-
excludes: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
includes: string | null;
|
|
21
|
-
excludes: string | null;
|
|
22
|
-
}, {
|
|
23
|
-
includes: string | null;
|
|
24
|
-
excludes: string | null;
|
|
25
|
-
}>>;
|
|
26
|
-
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
27
|
-
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
28
|
-
categories: z.ZodNullable<z.ZodObject<{
|
|
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">>;
|
|
30
|
-
excludes: 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">>;
|
|
31
|
-
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
33
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
34
|
-
}, {
|
|
35
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
36
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
37
|
-
}>>;
|
|
38
|
-
payment: z.ZodNullable<z.ZodObject<{
|
|
39
|
-
paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
|
|
40
|
-
minFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
maxFixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
42
|
-
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
43
|
-
maxHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
44
|
-
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
|
|
46
|
-
minFixedPrice: number | null;
|
|
47
|
-
maxFixedPrice: number | null;
|
|
48
|
-
minHourlyRate: number | null;
|
|
49
|
-
maxHourlyRate: number | null;
|
|
50
|
-
}, {
|
|
51
|
-
paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
|
|
52
|
-
minFixedPrice: number | null;
|
|
53
|
-
maxFixedPrice: number | null;
|
|
54
|
-
minHourlyRate: number | null;
|
|
55
|
-
maxHourlyRate: number | null;
|
|
56
|
-
}>>;
|
|
57
|
-
projectDuration: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>, "many">>;
|
|
58
|
-
experienceLevel: z.ZodNullable<z.ZodArray<z.ZodEnum<["Entry level", "Intermediate", "Expert"]>, "many">>;
|
|
59
|
-
questions: z.ZodNullable<z.ZodObject<{
|
|
60
|
-
hasQuestions: z.ZodDefault<z.ZodEnum<["all", "yes", "no"]>>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
hasQuestions: "all" | "yes" | "no";
|
|
63
|
-
}, {
|
|
64
|
-
hasQuestions?: "all" | "yes" | "no" | undefined;
|
|
65
|
-
}>>;
|
|
66
|
-
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
67
|
-
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
68
|
-
isPaymentVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
69
|
-
isPhoneVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
70
|
-
enterpriseClient: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
71
|
-
clientLocationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
72
|
-
clientLocationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
73
|
-
minReviewScore: z.ZodNullable<z.ZodNumber>;
|
|
74
|
-
minTotalSpent: z.ZodNullable<z.ZodNumber>;
|
|
75
|
-
minHireRate: z.ZodNullable<z.ZodNumber>;
|
|
76
|
-
clientIndustry: z.ZodNullable<z.ZodArray<z.ZodEnum<["Aerospace", "Agriculture & Forestry", "Art & Design", "Automotive", "Aviation", "Education", "Energy & Utilities", "Engineering & Architecture", "Fashion & Beauty", "Finance & Accounting", "Food & Beverage", "Government & Public Sector", "Health & Fitness", "HR & Business Services", "Legal", "Manufacturing & Construction", "Media & Entertainment", "Military & Defense", "Mining", "Real Estate", "Retail & Consumer Goods", "Sales & Marketing", "Science & Medicine", "Sports & Recreation", "Supply Chain & Logistics", "Tech & IT", "Transportation & Warehousing", "Travel & Hospitality"]>, "many">>;
|
|
77
|
-
companySize: z.ZodNullable<z.ZodArray<z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>, "many">>;
|
|
78
|
-
minJobsPosted: z.ZodNullable<z.ZodNumber>;
|
|
79
|
-
minAvgHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
80
|
-
minNumReviews: z.ZodNullable<z.ZodNumber>;
|
|
81
|
-
memberSinceFrom: z.ZodNullable<z.ZodString>;
|
|
82
|
-
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
isPaymentVerified: "all" | "true" | "false";
|
|
85
|
-
isPhoneVerified: "all" | "true" | "false";
|
|
86
|
-
enterpriseClient: "all" | "true" | "false";
|
|
87
|
-
clientLocationIncludes: string[] | null;
|
|
88
|
-
clientLocationExcludes: string[] | null;
|
|
89
|
-
minReviewScore: number | null;
|
|
90
|
-
minTotalSpent: number | null;
|
|
91
|
-
minHireRate: number | null;
|
|
92
|
-
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
93
|
-
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;
|
|
94
|
-
minJobsPosted: number | null;
|
|
95
|
-
minAvgHourlyRate: number | null;
|
|
96
|
-
minNumReviews: number | null;
|
|
97
|
-
memberSinceFrom: string | null;
|
|
98
|
-
memberSinceTo: string | null;
|
|
99
|
-
}, {
|
|
100
|
-
clientLocationIncludes: string[] | null;
|
|
101
|
-
clientLocationExcludes: string[] | null;
|
|
102
|
-
minReviewScore: number | null;
|
|
103
|
-
minTotalSpent: number | null;
|
|
104
|
-
minHireRate: number | null;
|
|
105
|
-
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
106
|
-
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;
|
|
107
|
-
minJobsPosted: number | null;
|
|
108
|
-
minAvgHourlyRate: number | null;
|
|
109
|
-
minNumReviews: number | null;
|
|
110
|
-
memberSinceFrom: string | null;
|
|
111
|
-
memberSinceTo: string | null;
|
|
112
|
-
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
113
|
-
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
114
|
-
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
115
|
-
}>>;
|
|
116
|
-
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
117
|
-
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
118
|
-
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
119
|
-
talentTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Agency", "Independent", "Unspecified"]>, "many">>;
|
|
120
|
-
englishLevels: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>, "many">>;
|
|
121
|
-
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
122
|
-
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
123
|
-
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
124
|
-
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
locationIncludes: string[] | null;
|
|
126
|
-
locationExcludes: string[] | null;
|
|
127
|
-
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
128
|
-
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
129
|
-
includeRisingTalent: string | null;
|
|
130
|
-
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
131
|
-
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
132
|
-
}, {
|
|
133
|
-
locationIncludes: string[] | null;
|
|
134
|
-
locationExcludes: string[] | null;
|
|
135
|
-
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
136
|
-
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
137
|
-
includeRisingTalent: string | null;
|
|
138
|
-
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
139
|
-
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
140
|
-
}>>;
|
|
141
|
-
}, "strip", z.ZodTypeAny, {
|
|
142
|
-
keywords: {
|
|
143
|
-
includes: string | null;
|
|
144
|
-
excludes: string | null;
|
|
145
|
-
} | null;
|
|
146
|
-
isFeatured: "all" | "true" | "false" | null;
|
|
147
|
-
regions: ("Worldwide" | "UKOnly" | "USOnly" | "all")[] | null;
|
|
148
|
-
categories: {
|
|
149
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
150
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
151
|
-
} | null;
|
|
152
|
-
payment: {
|
|
153
|
-
paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
|
|
154
|
-
minFixedPrice: number | null;
|
|
155
|
-
maxFixedPrice: number | null;
|
|
156
|
-
minHourlyRate: number | null;
|
|
157
|
-
maxHourlyRate: number | null;
|
|
158
|
-
} | null;
|
|
159
|
-
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
160
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
161
|
-
questions: {
|
|
162
|
-
hasQuestions: "all" | "yes" | "no";
|
|
163
|
-
} | null;
|
|
164
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
165
|
-
clientInfo: {
|
|
166
|
-
isPaymentVerified: "all" | "true" | "false";
|
|
167
|
-
isPhoneVerified: "all" | "true" | "false";
|
|
168
|
-
enterpriseClient: "all" | "true" | "false";
|
|
169
|
-
clientLocationIncludes: string[] | null;
|
|
170
|
-
clientLocationExcludes: string[] | null;
|
|
171
|
-
minReviewScore: number | null;
|
|
172
|
-
minTotalSpent: number | null;
|
|
173
|
-
minHireRate: number | null;
|
|
174
|
-
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
175
|
-
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;
|
|
176
|
-
minJobsPosted: number | null;
|
|
177
|
-
minAvgHourlyRate: number | null;
|
|
178
|
-
minNumReviews: number | null;
|
|
179
|
-
memberSinceFrom: string | null;
|
|
180
|
-
memberSinceTo: string | null;
|
|
181
|
-
} | null;
|
|
182
|
-
vendorQualifications: {
|
|
183
|
-
locationIncludes: string[] | null;
|
|
184
|
-
locationExcludes: string[] | null;
|
|
185
|
-
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
186
|
-
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
187
|
-
includeRisingTalent: string | null;
|
|
188
|
-
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
189
|
-
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
190
|
-
} | null;
|
|
191
|
-
}, {
|
|
192
|
-
keywords: {
|
|
193
|
-
includes: string | null;
|
|
194
|
-
excludes: string | null;
|
|
195
|
-
} | null;
|
|
196
|
-
isFeatured: "all" | "true" | "false" | null;
|
|
197
|
-
regions: ("Worldwide" | "UKOnly" | "USOnly" | "all")[] | null;
|
|
198
|
-
categories: {
|
|
199
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
200
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "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" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
|
|
201
|
-
} | null;
|
|
202
|
-
payment: {
|
|
203
|
-
paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
|
|
204
|
-
minFixedPrice: number | null;
|
|
205
|
-
maxFixedPrice: number | null;
|
|
206
|
-
minHourlyRate: number | null;
|
|
207
|
-
maxHourlyRate: number | null;
|
|
208
|
-
} | null;
|
|
209
|
-
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
210
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
211
|
-
questions: {
|
|
212
|
-
hasQuestions?: "all" | "yes" | "no" | undefined;
|
|
213
|
-
} | null;
|
|
214
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
215
|
-
clientInfo: {
|
|
216
|
-
clientLocationIncludes: string[] | null;
|
|
217
|
-
clientLocationExcludes: string[] | null;
|
|
218
|
-
minReviewScore: number | null;
|
|
219
|
-
minTotalSpent: number | null;
|
|
220
|
-
minHireRate: number | null;
|
|
221
|
-
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
222
|
-
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;
|
|
223
|
-
minJobsPosted: number | null;
|
|
224
|
-
minAvgHourlyRate: number | null;
|
|
225
|
-
minNumReviews: number | null;
|
|
226
|
-
memberSinceFrom: string | null;
|
|
227
|
-
memberSinceTo: string | null;
|
|
228
|
-
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
229
|
-
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
230
|
-
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
231
|
-
} | null;
|
|
232
|
-
vendorQualifications: {
|
|
233
|
-
locationIncludes: string[] | null;
|
|
234
|
-
locationExcludes: string[] | null;
|
|
235
|
-
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
236
|
-
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
237
|
-
includeRisingTalent: string | null;
|
|
238
|
-
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
239
|
-
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
240
|
-
} | null;
|
|
241
|
-
}>;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { JOB_FILTER_OPTIONS } from "../../constants/job-filter-options";
|
|
3
|
-
// Enum definitions for fixed options
|
|
4
|
-
export const projectDurationEnum = z.enum(JOB_FILTER_OPTIONS.PROJECT_DURATION);
|
|
5
|
-
export const engagementTypeEnum = z.enum(JOB_FILTER_OPTIONS.ENGAGEMENT_TYPE);
|
|
6
|
-
export const vendorTypeEnum = z.enum(JOB_FILTER_OPTIONS.VENDOR_TYPE);
|
|
7
|
-
export const paymentTypeEnum = z.enum(JOB_FILTER_OPTIONS.PAYMENT_TYPE);
|
|
8
|
-
export const categoryEnum = z.enum(JOB_FILTER_OPTIONS.CATEGORIES);
|
|
9
|
-
export const clientIndustryEnum = z.enum(JOB_FILTER_OPTIONS.CLIENT_INDUSTRY);
|
|
10
|
-
export const clientSizeEnum = z.enum(JOB_FILTER_OPTIONS.CLIENT_SIZE);
|
|
11
|
-
export const talentTypeEnum = z.enum(JOB_FILTER_OPTIONS.TALENT_TYPE);
|
|
12
|
-
export const englishLevelEnum = z.enum(JOB_FILTER_OPTIONS.ENGLISH_LEVELS);
|
|
13
|
-
export const experienceLevelEnum = z.enum(JOB_FILTER_OPTIONS.EXPERIENCE_LEVELS);
|
|
14
|
-
export const regionEnum = z.enum(["all", "Worldwide", "UKOnly", "USOnly"]);
|
|
15
|
-
export const requiredEarningsEnum = z.union([
|
|
16
|
-
z.literal(100),
|
|
17
|
-
z.literal(1000),
|
|
18
|
-
z.literal(10000),
|
|
19
|
-
]);
|
|
20
|
-
export const requiredJSSEnum = z.enum(JOB_FILTER_OPTIONS.REQUIRED_JSS);
|
|
21
|
-
// Main job filters schema
|
|
22
|
-
export const jobFiltersSchema = z.object({
|
|
23
|
-
keywords: z
|
|
24
|
-
.object({
|
|
25
|
-
includes: z.string().nullable(),
|
|
26
|
-
excludes: z.string().nullable(),
|
|
27
|
-
})
|
|
28
|
-
.nullable(),
|
|
29
|
-
isFeatured: z.enum(["all", "true", "false"]).nullable(),
|
|
30
|
-
regions: z.array(regionEnum).nullable(),
|
|
31
|
-
categories: z
|
|
32
|
-
.object({
|
|
33
|
-
includes: z.array(categoryEnum).nullable(),
|
|
34
|
-
excludes: z.array(categoryEnum).nullable(),
|
|
35
|
-
})
|
|
36
|
-
.nullable(),
|
|
37
|
-
payment: z
|
|
38
|
-
.object({
|
|
39
|
-
paymentType: z.array(paymentTypeEnum).nullable(),
|
|
40
|
-
minFixedPrice: z.number().nullable(),
|
|
41
|
-
maxFixedPrice: z.number().nullable(),
|
|
42
|
-
minHourlyRate: z.number().nullable(),
|
|
43
|
-
maxHourlyRate: z.number().nullable(),
|
|
44
|
-
})
|
|
45
|
-
.nullable(),
|
|
46
|
-
projectDuration: z.array(projectDurationEnum).nullable(),
|
|
47
|
-
experienceLevel: z.array(experienceLevelEnum).nullable(),
|
|
48
|
-
questions: z
|
|
49
|
-
.object({
|
|
50
|
-
hasQuestions: z.enum(["all", "yes", "no"]).default("all"),
|
|
51
|
-
})
|
|
52
|
-
.nullable(),
|
|
53
|
-
engagementType: z.array(engagementTypeEnum).nullable(),
|
|
54
|
-
clientInfo: z
|
|
55
|
-
.object({
|
|
56
|
-
isPaymentVerified: z.enum(["all", "true", "false"]).default("all"),
|
|
57
|
-
isPhoneVerified: z.enum(["all", "true", "false"]).default("all"),
|
|
58
|
-
enterpriseClient: z.enum(["all", "true", "false"]).default("all"),
|
|
59
|
-
clientLocationIncludes: z.array(z.string()).nullable(),
|
|
60
|
-
clientLocationExcludes: z.array(z.string()).nullable(),
|
|
61
|
-
minReviewScore: z.number().min(0).max(5).nullable(),
|
|
62
|
-
minTotalSpent: z.number().nullable(),
|
|
63
|
-
minHireRate: z.number().min(0).max(100).nullable(),
|
|
64
|
-
clientIndustry: z.array(clientIndustryEnum).nullable(),
|
|
65
|
-
companySize: z.array(clientSizeEnum).nullable(),
|
|
66
|
-
minJobsPosted: z.number().nullable(),
|
|
67
|
-
minAvgHourlyRate: z.number().nullable(),
|
|
68
|
-
minNumReviews: z.number().nullable(),
|
|
69
|
-
memberSinceFrom: z.string().date().nullable(),
|
|
70
|
-
memberSinceTo: z.string().date().nullable(),
|
|
71
|
-
})
|
|
72
|
-
.nullable(),
|
|
73
|
-
vendorQualifications: z
|
|
74
|
-
.object({
|
|
75
|
-
locationIncludes: z.array(z.string()).nullable(),
|
|
76
|
-
locationExcludes: z.array(z.string()).nullable(),
|
|
77
|
-
talentTypes: z.array(talentTypeEnum).nullable(),
|
|
78
|
-
englishLevels: z.array(englishLevelEnum).nullable(),
|
|
79
|
-
includeRisingTalent: z.string().nullable(),
|
|
80
|
-
requiredEarnings: requiredEarningsEnum.nullable(),
|
|
81
|
-
requiredJSS: z.array(requiredJSSEnum).nullable(),
|
|
82
|
-
})
|
|
83
|
-
.nullable(),
|
|
84
|
-
});
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { array, boolean, custom, number, object, record, string, z } from "zod";
|
|
2
|
-
import { regionSchema } from "../shared";
|
|
3
|
-
import { leadNoteSchema } from "./lead-note";
|
|
4
|
-
import { agentStatusSchema, leadStatusSchema } from "./lead-status";
|
|
5
|
-
export const jobSkillsSchema = object({
|
|
6
|
-
name: string(),
|
|
7
|
-
});
|
|
8
|
-
export const vendorQualificationSchema = object({
|
|
9
|
-
location: string().nullable(),
|
|
10
|
-
talentType: z.enum(["Agency", "Independent", "unspecified"]).nullable(),
|
|
11
|
-
englishLevel: string().nullable(),
|
|
12
|
-
minimumEarnings: number().nullable(),
|
|
13
|
-
jobSuccessScore: string().nullable(),
|
|
14
|
-
includeRisingTalent: string().nullable(),
|
|
15
|
-
});
|
|
16
|
-
export const clientInfoSchema = object({
|
|
17
|
-
isPaymentVerified: boolean().nullable(),
|
|
18
|
-
isPhoneVerified: boolean().nullable(),
|
|
19
|
-
numberOfReviews: number().nullable(),
|
|
20
|
-
rating: number().nullable(),
|
|
21
|
-
country: string().nullable(),
|
|
22
|
-
region: string().nullable(),
|
|
23
|
-
jobsPosted: number().nullable(),
|
|
24
|
-
totalSpent: number().nullable(),
|
|
25
|
-
numberOfHires: number().nullable(),
|
|
26
|
-
activeEngagements: number().nullable(),
|
|
27
|
-
openJobs: number().nullable(),
|
|
28
|
-
hireRate: number().nullable(),
|
|
29
|
-
memberSince: string().nullable(),
|
|
30
|
-
companyIndustry: string().nullable(),
|
|
31
|
-
companySize: string().nullable(),
|
|
32
|
-
enterpriseClient: boolean().nullable(),
|
|
33
|
-
avgHourlyRatePaid: number().nullable(),
|
|
34
|
-
});
|
|
35
|
-
export const clientReviewSchema = object({
|
|
36
|
-
jobTitle: string().nullable(),
|
|
37
|
-
freelancerName: string().nullable(),
|
|
38
|
-
freelancerRating: number().nullable(),
|
|
39
|
-
freelancerFeedback: string().nullable(),
|
|
40
|
-
clientFeedback: string().nullable(),
|
|
41
|
-
clientFeedbackRating: number().nullable(),
|
|
42
|
-
dateRange: string().nullable(),
|
|
43
|
-
paymentType: string().nullable(),
|
|
44
|
-
fixedPrice: number().nullable(),
|
|
45
|
-
hourlyRate: number().nullable(),
|
|
46
|
-
numHours: number().nullable(),
|
|
47
|
-
totalBilled: number().nullable(),
|
|
48
|
-
});
|
|
49
|
-
export const bidRangeSchema = object({
|
|
50
|
-
high: number().nullable(),
|
|
51
|
-
avg: number().nullable(),
|
|
52
|
-
low: number().nullable(),
|
|
53
|
-
});
|
|
54
|
-
export const jobActivitySchema = object({
|
|
55
|
-
proposals: object({
|
|
56
|
-
min: number().nullable(),
|
|
57
|
-
max: number().nullable(),
|
|
58
|
-
}),
|
|
59
|
-
lastViewedByClient: string().nullable(),
|
|
60
|
-
lastViewedByClientTimestamp: number().nullable(),
|
|
61
|
-
hires: number().nullable(),
|
|
62
|
-
interviewing: number().nullable(),
|
|
63
|
-
invitesSent: number().nullable(),
|
|
64
|
-
unansweredInvites: number().nullable(),
|
|
65
|
-
updatedAt: number().nullable(),
|
|
66
|
-
});
|
|
67
|
-
export const jobActivityDeltaSchema = object({
|
|
68
|
-
proposals: number(),
|
|
69
|
-
interviewing: number(),
|
|
70
|
-
hires: number(),
|
|
71
|
-
invitesSent: number(),
|
|
72
|
-
unansweredInvites: number(),
|
|
73
|
-
});
|
|
74
|
-
export const metadataSchema = object({
|
|
75
|
-
hours: string().nullable(),
|
|
76
|
-
duration: string().nullable(),
|
|
77
|
-
experienceLevel: string().nullable(),
|
|
78
|
-
hourlyRate: z
|
|
79
|
-
.object({
|
|
80
|
-
min: number().nullable(),
|
|
81
|
-
max: number().nullable(),
|
|
82
|
-
})
|
|
83
|
-
.nullable(),
|
|
84
|
-
paymentType: string().nullable(),
|
|
85
|
-
fixedPrice: number().nullable(),
|
|
86
|
-
});
|
|
87
|
-
export const jobActivityOffsetHours = [4, 24];
|
|
88
|
-
export const jobActivityOffsetEnum = z.enum(jobActivityOffsetHours.map((h) => `${h}h`));
|
|
89
|
-
export const upworkJobSchema = object({
|
|
90
|
-
id: string().nullable(),
|
|
91
|
-
uid: string().nullable(),
|
|
92
|
-
createdAt: number().nullable(),
|
|
93
|
-
title: string().nullable(),
|
|
94
|
-
category: string().nullable(),
|
|
95
|
-
skills: array(jobSkillsSchema).nullable(),
|
|
96
|
-
datetime: number().nullable(),
|
|
97
|
-
description: string().nullable(),
|
|
98
|
-
descriptionLength: number().nullable(),
|
|
99
|
-
connectsRequired: number().nullable(),
|
|
100
|
-
projectType: string().nullable(),
|
|
101
|
-
projectDuration: string().nullable(),
|
|
102
|
-
questions: array(string()).nullable(),
|
|
103
|
-
jobUrl: string().nullable(),
|
|
104
|
-
metadata: metadataSchema.nullable(),
|
|
105
|
-
clientInfo: clientInfoSchema.nullable(),
|
|
106
|
-
vendorQualifications: vendorQualificationSchema.nullable(),
|
|
107
|
-
processed: boolean().nullable(),
|
|
108
|
-
isFeatured: boolean().nullable(),
|
|
109
|
-
clientReviews: array(clientReviewSchema).nullable(),
|
|
110
|
-
region: regionSchema.nullable(),
|
|
111
|
-
bidRange: bidRangeSchema.nullable(),
|
|
112
|
-
jobActivity: jobActivitySchema.nullable(),
|
|
113
|
-
activityUpdates: z
|
|
114
|
-
.union([z.literal(1), z.literal(2), z.literal(3)])
|
|
115
|
-
.nullable(),
|
|
116
|
-
activity: record(jobActivityOffsetEnum, jobActivitySchema).nullish(),
|
|
117
|
-
activityDelta: jobActivityDeltaSchema.nullish(),
|
|
118
|
-
});
|
|
119
|
-
export const questionAnswerPairSchema = z.object({
|
|
120
|
-
question: z.string(),
|
|
121
|
-
answer: z.string(),
|
|
122
|
-
});
|
|
123
|
-
export const leadSchema = upworkJobSchema
|
|
124
|
-
.extend({
|
|
125
|
-
jobId: string(),
|
|
126
|
-
updatedAt: number().nullable(),
|
|
127
|
-
suitabilityRating: number().nullable(),
|
|
128
|
-
suitabilityReason: string().nullable(),
|
|
129
|
-
proposal: string().nullable(),
|
|
130
|
-
questionAnswerPairs: array(questionAnswerPairSchema).nullable(),
|
|
131
|
-
agentStatus: agentStatusSchema.nullable(),
|
|
132
|
-
leadStatus: leadStatusSchema.nullable(),
|
|
133
|
-
notes: array(leadNoteSchema).nullable(),
|
|
134
|
-
biddingAmount: number().nullable(),
|
|
135
|
-
boosted: boolean().nullable(),
|
|
136
|
-
boostingAmount: number().nullable(),
|
|
137
|
-
biddingTaskScheduled: boolean().nullable(),
|
|
138
|
-
scheduledBiddingTime: number().nullable(),
|
|
139
|
-
})
|
|
140
|
-
.omit({
|
|
141
|
-
processed: true,
|
|
142
|
-
});
|
|
143
|
-
export const leadResponseSchema = object({
|
|
144
|
-
leads: array(leadSchema),
|
|
145
|
-
nextCursor: string().nullable(),
|
|
146
|
-
hasMore: boolean(),
|
|
147
|
-
leadCounts: number().nullable(),
|
|
148
|
-
});
|
|
149
|
-
export const jobListingSchema = object({
|
|
150
|
-
uid: string().nullable(),
|
|
151
|
-
title: string().nullable(),
|
|
152
|
-
jobUrl: string().nullable(),
|
|
153
|
-
datetime: string().nullable(),
|
|
154
|
-
isFeatured: boolean().nullable(),
|
|
155
|
-
region: regionSchema.nullable(),
|
|
156
|
-
});
|
|
157
|
-
export const jobActivityOffsetHourSchema = custom((val) => jobActivityOffsetHours.includes(val));
|
|
158
|
-
export const jobActivityUpdateSchema = object({
|
|
159
|
-
jobUrl: string(),
|
|
160
|
-
data: jobActivitySchema,
|
|
161
|
-
offsetHour: jobActivityOffsetHourSchema,
|
|
162
|
-
scrapedAt: number(),
|
|
163
|
-
});
|
|
164
|
-
export const jobActivitySnapshotSchema = object({
|
|
165
|
-
jobUrl: string(),
|
|
166
|
-
activity: jobActivitySchema,
|
|
167
|
-
postedAt: number(),
|
|
168
|
-
scrapedAt: number(),
|
|
169
|
-
hoursSincePosted: number(),
|
|
170
|
-
});
|
|
171
|
-
export * from "./lead-note";
|
|
172
|
-
export * from "./lead-status";
|
|
173
|
-
export * from "./nuxt";
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const leadNoteSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
jobId: z.ZodString;
|
|
5
|
-
content: z.ZodString;
|
|
6
|
-
order: z.ZodNumber;
|
|
7
|
-
bgColor: z.ZodString;
|
|
8
|
-
createdAt: z.ZodNumber;
|
|
9
|
-
updatedAt: z.ZodNumber;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
id: string;
|
|
12
|
-
jobId: string;
|
|
13
|
-
content: string;
|
|
14
|
-
order: number;
|
|
15
|
-
bgColor: string;
|
|
16
|
-
createdAt: number;
|
|
17
|
-
updatedAt: number;
|
|
18
|
-
}, {
|
|
19
|
-
id: string;
|
|
20
|
-
jobId: string;
|
|
21
|
-
content: string;
|
|
22
|
-
order: number;
|
|
23
|
-
bgColor: string;
|
|
24
|
-
createdAt: number;
|
|
25
|
-
updatedAt: number;
|
|
26
|
-
}>;
|
|
27
|
-
export declare const createLeadNoteSchema: z.ZodObject<Pick<{
|
|
28
|
-
id: z.ZodString;
|
|
29
|
-
jobId: z.ZodString;
|
|
30
|
-
content: z.ZodString;
|
|
31
|
-
order: z.ZodNumber;
|
|
32
|
-
bgColor: z.ZodString;
|
|
33
|
-
createdAt: z.ZodNumber;
|
|
34
|
-
updatedAt: z.ZodNumber;
|
|
35
|
-
}, "id" | "content" | "order" | "bgColor">, "strip", z.ZodTypeAny, {
|
|
36
|
-
id: string;
|
|
37
|
-
content: string;
|
|
38
|
-
order: number;
|
|
39
|
-
bgColor: string;
|
|
40
|
-
}, {
|
|
41
|
-
id: string;
|
|
42
|
-
content: string;
|
|
43
|
-
order: number;
|
|
44
|
-
bgColor: string;
|
|
45
|
-
}>;
|
|
46
|
-
export declare const updateLeadNoteSchema: z.ZodObject<{
|
|
47
|
-
id: z.ZodString;
|
|
48
|
-
content: z.ZodOptional<z.ZodString>;
|
|
49
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
50
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
id: string;
|
|
53
|
-
content?: string | undefined;
|
|
54
|
-
order?: number | undefined;
|
|
55
|
-
bgColor?: string | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
id: string;
|
|
58
|
-
content?: string | undefined;
|
|
59
|
-
order?: number | undefined;
|
|
60
|
-
bgColor?: string | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
export declare const updateLeadNotesOrderSchema: z.ZodObject<{
|
|
63
|
-
order: z.ZodArray<z.ZodObject<{
|
|
64
|
-
id: z.ZodString;
|
|
65
|
-
order: z.ZodNumber;
|
|
66
|
-
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
id: string;
|
|
68
|
-
order: number;
|
|
69
|
-
}, {
|
|
70
|
-
id: string;
|
|
71
|
-
order: number;
|
|
72
|
-
}>, "many">;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
order: {
|
|
75
|
-
id: string;
|
|
76
|
-
order: number;
|
|
77
|
-
}[];
|
|
78
|
-
}, {
|
|
79
|
-
order: {
|
|
80
|
-
id: string;
|
|
81
|
-
order: number;
|
|
82
|
-
}[];
|
|
83
|
-
}>;
|