lancer-shared 1.2.231 → 1.2.233
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/package.json +1 -1
- package/dist/constants/account-status.d.ts +0 -3
- package/dist/constants/account-status.js +0 -17
- package/dist/constants/campaign-notifications.d.ts +0 -2
- package/dist/constants/campaign-webhook-types.d.ts +0 -2
- package/dist/constants/collections.d.ts +0 -13
- package/dist/constants/collections.js +0 -16
- package/dist/constants/common-questions.d.ts +0 -2
- package/dist/constants/common-questions.js +0 -60
- package/dist/constants/index.js +0 -40
- package/dist/constants/job-filter-options.js +0 -268
- package/dist/constants/job-status.js +0 -26
- package/dist/constants/mappings/countryMapping.js +0 -122
- package/dist/constants/mappings/regionMapping.js +0 -242
- package/dist/constants/organization.d.ts +0 -2
- package/dist/constants/proxies.d.ts +0 -4
- package/dist/constants/routes.js +0 -114
- package/dist/constants/upwork-accounts.js +0 -21
- package/dist/constants/upwork-filters.d.ts +0 -5
- package/dist/constants/upwork-filters.js +0 -75
- package/dist/schemas/account/account-status.js +0 -11
- package/dist/schemas/account/bidder-account.js +0 -37
- package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +0 -5
- package/dist/schemas/account/index.js +0 -19
- package/dist/schemas/account/manager-account.d.ts +0 -116
- package/dist/schemas/account/manager-account.js +0 -38
- package/dist/schemas/account/scraper-account.js +0 -37
- package/dist/schemas/ai/ai-config.d.ts +0 -36
- package/dist/schemas/ai/ai-config.js +0 -12
- package/dist/schemas/ai/index.d.ts +0 -3
- package/dist/schemas/ai/index.js +0 -19
- package/dist/schemas/ai/proposal.d.ts +0 -82
- package/dist/schemas/ai/proposal.js +0 -16
- package/dist/schemas/ai/suitability.d.ts +0 -37
- package/dist/schemas/ai/suitability.js +0 -17
- 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-result.d.ts +0 -30
- package/dist/schemas/bid/bid-result.js +0 -15
- package/dist/schemas/bid/bid-status.d.ts +0 -30
- package/dist/schemas/bid/bid-status.js +0 -15
- package/dist/schemas/bid/bid.d.ts +0 -8010
- package/dist/schemas/bid/bid.js +0 -36
- package/dist/schemas/bid/exceptions/base-exception.d.ts +0 -4
- package/dist/schemas/bid/exceptions/cloudflare-challenge-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/delete-multilogin-profile.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/dropdown-option-not-present.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/element-not-clickable.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/evalaute-element.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/evaluate-function.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/get-multilogin-browser.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/incorrect-security-question-answer.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/index.d.ts +0 -63
- package/dist/schemas/bid/exceptions/init-browser.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/insufficient-connects.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/invalid-credentials.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/invalid-job-url.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/login-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/multilogin-authentication.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/navigation-timeout.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/new-browser-page.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/new-page.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/open-new-url.exception.d.ts +0 -15
- package/dist/schemas/bid/exceptions/parse-connects.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-error-alert.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-form-warning-alert.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-generation-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/proposal-submit-failed.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/pupeteer-conection-error.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/question-pair-not-matching.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/select-agency.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/select-contractor.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/selector-not-found.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/typed-value-not-matching.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/typing-input-field.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +0 -5
- package/dist/schemas/bid/exceptions/wait-for-function-timeout.exception.d.ts +0 -5
- package/dist/schemas/bid/index.d.ts +0 -3
- package/dist/schemas/bid/index.js +0 -18
- package/dist/schemas/bidding/index.d.ts +0 -1
- package/dist/schemas/bidding/index.js +0 -17
- package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
- package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
- package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
- package/dist/schemas/bidding/proposal-dto.js +0 -18
- package/dist/schemas/campaign/campaign-ai-metrics.js +0 -9
- package/dist/schemas/campaign/campaign-analytics.js +0 -41
- package/dist/schemas/campaign/campaign-expenses.js +0 -9
- package/dist/schemas/campaign/campaign-insights.js +0 -31
- package/dist/schemas/campaign/campaign-integrations.d.ts +0 -82
- package/dist/schemas/campaign/campaign-integrations.js +0 -16
- package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
- package/dist/schemas/campaign/campaign-job-count.js +0 -6
- package/dist/schemas/campaign/campaign-notifications.d.ts +0 -9
- package/dist/schemas/campaign/campaign.js +0 -44
- package/dist/schemas/campaign/index.js +0 -23
- package/dist/schemas/campaign/sequence/budget-node.d.ts +0 -294
- package/dist/schemas/campaign/sequence/client-size.d.ts +0 -45
- package/dist/schemas/campaign/sequence/fixed-budget-node.d.ts +0 -91
- package/dist/schemas/campaign/sequence/hire-rate.d.ts +0 -91
- package/dist/schemas/campaign/sequence/hourly-budget-node.d.ts +0 -91
- package/dist/schemas/campaign/sequence/hourly-rate.d.ts +0 -91
- package/dist/schemas/campaign/sequence/payment-type-node.d.ts +0 -45
- package/dist/schemas/campaign/sequence/payment-type.d.ts +0 -45
- package/dist/schemas/campaign/sequence/start-node.d.ts +0 -16
- package/dist/schemas/campaign/sequence/suitability.d.ts +0 -90
- package/dist/schemas/chat-message/chat-message.d.ts +0 -31
- package/dist/schemas/chat-message/chat-message.js +0 -13
- package/dist/schemas/chat-message/index.d.ts +0 -1
- package/dist/schemas/chat-message/index.js +0 -17
- package/dist/schemas/config/agency-config.d.ts +0 -17
- package/dist/schemas/config/agency-config.js +0 -10
- package/dist/schemas/config/index.d.ts +0 -1
- package/dist/schemas/config/index.js +0 -17
- package/dist/schemas/index.js +0 -32
- package/dist/schemas/job/feed-job.d.ts +0 -866
- package/dist/schemas/job/index.js +0 -19
- package/dist/schemas/job/job-details.js +0 -29
- package/dist/schemas/job/job-note.d.ts +0 -83
- package/dist/schemas/job/job-note.js +0 -30
- package/dist/schemas/job/job-pipeline.d.ts +0 -74
- package/dist/schemas/job/job-pipeline.js +0 -29
- package/dist/schemas/job/job-status.d.ts +0 -3
- package/dist/schemas/job/job-status.js +0 -27
- package/dist/schemas/job/job-suitability.d.ts +0 -12
- package/dist/schemas/job/job-suitability.js +0 -13
- package/dist/schemas/job/job.d.ts +0 -1160
- package/dist/schemas/job/job.js +0 -90
- package/dist/schemas/job/pipeline-job.d.ts +0 -608
- package/dist/schemas/job/pipeline-job.js +0 -43
- package/dist/schemas/job/upwork-job.d.ts +0 -334
- package/dist/schemas/job/upwork-job.js +0 -60
- package/dist/schemas/job-filters/index.d.ts +0 -1
- package/dist/schemas/job-filters/index.js +0 -17
- package/dist/schemas/job-filters/job-filters.d.ts +0 -241
- package/dist/schemas/job-filters/job-filters.js +0 -87
- 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/lead/index.js +0 -19
- package/dist/schemas/lead/lead-note.d.ts +0 -83
- package/dist/schemas/lead/lead-note.js +0 -30
- package/dist/schemas/lead/lead-status.js +0 -26
- package/dist/schemas/lead/lead.d.ts +0 -1897
- package/dist/schemas/lead/lead.js +0 -143
- package/dist/schemas/lead/nuxt.d.ts +0 -1664
- package/dist/schemas/logger/index.js +0 -17
- package/dist/schemas/logger/log-event.js +0 -66
- package/dist/schemas/organization/index.js +0 -17
- package/dist/schemas/organization/organization.d.ts +0 -70
- package/dist/schemas/organization/organization.js +0 -19
- package/dist/schemas/proxy/index.js +0 -17
- package/dist/schemas/proxy/proxy.js +0 -23
- package/dist/schemas/saved-search/index.js +0 -12
- package/dist/schemas/scraper/index.js +0 -18
- package/dist/schemas/scraper/scrape-payload.js +0 -16
- package/dist/schemas/scraper/scrape-response.d.ts +0 -345
- package/dist/schemas/scraper/scrape-response.js +0 -9
- package/dist/schemas/scraper/scrape-result.js +0 -23
- package/dist/schemas/shared.js +0 -16
- package/dist/schemas/time-filter/index.js +0 -9
- package/dist/schemas/upwork-account/index.d.ts +0 -3
- package/dist/schemas/upwork-account/index.js +0 -19
- package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
- package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
- package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
- package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
- 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/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
- package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
- package/dist/schemas/user/index.js +0 -55
- package/dist/types/account/account-status.d.ts +0 -3
- package/dist/types/account/account-status.js +0 -2
- package/dist/types/account/bidder-account.d.ts +0 -7
- package/dist/types/account/bidder-account.js +0 -2
- package/dist/types/account/index.d.ts +0 -3
- package/dist/types/account/index.js +0 -19
- package/dist/types/account/manager-account.d.ts +0 -7
- package/dist/types/account/manager-account.js +0 -2
- package/dist/types/account/scraper-account.d.ts +0 -5
- package/dist/types/account/scraper-account.js +0 -2
- package/dist/types/ai/ai-config.d.ts +0 -6
- package/dist/types/ai/ai-config.js +0 -2
- package/dist/types/ai/index.d.ts +0 -3
- package/dist/types/ai/index.js +0 -19
- package/dist/types/ai/proposal.d.ts +0 -10
- package/dist/types/ai/proposal.js +0 -2
- package/dist/types/ai/suitability.d.ts +0 -6
- package/dist/types/ai/suitability.js +0 -2
- 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-result.d.ts +0 -5
- package/dist/types/bid/bid-result.js +0 -2
- package/dist/types/bid/bid-status.d.ts +0 -5
- package/dist/types/bid/bid-status.js +0 -2
- package/dist/types/bid/bid.d.ts +0 -9
- package/dist/types/bid/bid.js +0 -2
- package/dist/types/bid/index.d.ts +0 -2
- package/dist/types/bid/index.js +0 -18
- package/dist/types/bidding/index.d.ts +0 -1
- package/dist/types/bidding/index.js +0 -17
- package/dist/types/bidding/proposal-bidding-status.d.ts +0 -3
- package/dist/types/bidding/proposal-bidding-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/campaign/campaign-analytics.d.ts +0 -7
- package/dist/types/campaign/campaign-analytics.js +0 -2
- package/dist/types/campaign/campaign-expenses.d.ts +0 -3
- package/dist/types/campaign/campaign-expenses.js +0 -2
- package/dist/types/campaign/campaign-insights.d.ts +0 -7
- package/dist/types/campaign/campaign-insights.js +0 -2
- package/dist/types/campaign/campaign-integrations.d.ts +0 -6
- package/dist/types/campaign/campaign-integrations.js +0 -2
- package/dist/types/campaign/campaign-job-count.d.ts +0 -4
- package/dist/types/campaign/campaign-job-count.js +0 -2
- package/dist/types/campaign/campaign-notifications.d.ts +0 -7
- package/dist/types/campaign/campaign.d.ts +0 -13
- package/dist/types/campaign/campaign.js +0 -2
- package/dist/types/campaign/index.d.ts +0 -2
- package/dist/types/campaign/index.js +0 -22
- package/dist/types/chat-message/chat-message.d.ts +0 -4
- package/dist/types/chat-message/chat-message.js +0 -2
- package/dist/types/chat-message/index.d.ts +0 -1
- package/dist/types/chat-message/index.js +0 -17
- package/dist/types/config/agency-config.d.ts +0 -4
- package/dist/types/config/agency-config.js +0 -2
- package/dist/types/config/index.d.ts +0 -1
- package/dist/types/config/index.js +0 -17
- package/dist/types/index.d.ts +0 -15
- package/dist/types/index.js +0 -29
- package/dist/types/job/index.d.ts +0 -48
- package/dist/types/job/index.js +0 -19
- package/dist/types/job/job-details.d.ts +0 -36
- package/dist/types/job/job-details.js +0 -2
- package/dist/types/job/job-note.d.ts +0 -10
- package/dist/types/job/job-note.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-status.d.ts +0 -5
- package/dist/types/job/job-status.js +0 -12
- package/dist/types/job/job-suitability.d.ts +0 -3
- package/dist/types/job/job-suitability.js +0 -2
- package/dist/types/job/job.d.ts +0 -36
- package/dist/types/job/job.js +0 -2
- package/dist/types/job/nuxt.d.ts +0 -4
- package/dist/types/job-filters/index.d.ts +0 -1
- package/dist/types/job-filters/index.js +0 -17
- package/dist/types/job-filters/job-filters.d.ts +0 -4
- package/dist/types/job-filters/job-filters.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/logger/index.d.ts +0 -1
- package/dist/types/logger/index.js +0 -17
- package/dist/types/logger/log-event.d.ts +0 -14
- package/dist/types/logger/log-event.js +0 -2
- package/dist/types/saved-search/index.d.ts +0 -6
- package/dist/types/saved-search/index.js +0 -2
- package/dist/types/scraper/index.d.ts +0 -2
- package/dist/types/scraper/index.js +0 -18
- package/dist/types/scraper/scrape-payload.d.ts +0 -10
- package/dist/types/scraper/scrape-payload.js +0 -2
- package/dist/types/scraper/scrape-response.d.ts +0 -4
- package/dist/types/scraper/scrape-response.js +0 -2
- package/dist/types/scraper/scrape-result.d.ts +0 -8
- package/dist/types/scraper/scrape-result.js +0 -2
- package/dist/types/shared.d.ts +0 -8
- package/dist/types/time-filter/index.d.ts +0 -3
- package/dist/types/time-filter/index.js +0 -2
- package/dist/types/transaction/index.d.ts +0 -4
- package/dist/types/upwork-account/index.d.ts +0 -3
- package/dist/types/upwork-account/index.js +0 -19
- package/dist/types/upwork-account/upwork-account-status.d.ts +0 -3
- package/dist/types/upwork-account/upwork-account-status.js +0 -2
- package/dist/types/upwork-account/upwork-business-manager-account.d.ts +0 -7
- package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
- package/dist/types/upwork-account/upwork-scraping-account.d.ts +0 -5
- package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
- package/dist/types/usage/index.d.ts +0 -6
- package/dist/types/user/index.d.ts +0 -15
- package/dist/types/user/index.js +0 -2
- package/dist/utils/index.js +0 -17
- package/dist/utils/try-catch.js +0 -25
|
@@ -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,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.jobFiltersSchema = exports.requiredJSSEnum = exports.requiredEarningsEnum = exports.regionEnum = exports.experienceLevelEnum = exports.englishLevelEnum = exports.talentTypeEnum = exports.clientSizeEnum = exports.clientIndustryEnum = exports.categoryEnum = exports.paymentTypeEnum = exports.vendorTypeEnum = exports.engagementTypeEnum = exports.projectDurationEnum = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const job_filter_options_1 = require("../../constants/job-filter-options");
|
|
6
|
-
// Enum definitions for fixed options
|
|
7
|
-
exports.projectDurationEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.PROJECT_DURATION);
|
|
8
|
-
exports.engagementTypeEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.ENGAGEMENT_TYPE);
|
|
9
|
-
exports.vendorTypeEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.VENDOR_TYPE);
|
|
10
|
-
exports.paymentTypeEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.PAYMENT_TYPE);
|
|
11
|
-
exports.categoryEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.CATEGORIES);
|
|
12
|
-
exports.clientIndustryEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.CLIENT_INDUSTRY);
|
|
13
|
-
exports.clientSizeEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.CLIENT_SIZE);
|
|
14
|
-
exports.talentTypeEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.TALENT_TYPE);
|
|
15
|
-
exports.englishLevelEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.ENGLISH_LEVELS);
|
|
16
|
-
exports.experienceLevelEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.EXPERIENCE_LEVELS);
|
|
17
|
-
exports.regionEnum = zod_1.z.enum(["all", "Worldwide", "UKOnly", "USOnly"]);
|
|
18
|
-
exports.requiredEarningsEnum = zod_1.z.union([
|
|
19
|
-
zod_1.z.literal(100),
|
|
20
|
-
zod_1.z.literal(1000),
|
|
21
|
-
zod_1.z.literal(10000),
|
|
22
|
-
]);
|
|
23
|
-
exports.requiredJSSEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.REQUIRED_JSS);
|
|
24
|
-
// Main job filters schema
|
|
25
|
-
exports.jobFiltersSchema = zod_1.z.object({
|
|
26
|
-
keywords: zod_1.z
|
|
27
|
-
.object({
|
|
28
|
-
includes: zod_1.z.string().nullable(),
|
|
29
|
-
excludes: zod_1.z.string().nullable(),
|
|
30
|
-
})
|
|
31
|
-
.nullable(),
|
|
32
|
-
isFeatured: zod_1.z.enum(["all", "true", "false"]).nullable(),
|
|
33
|
-
regions: zod_1.z.array(exports.regionEnum).nullable(),
|
|
34
|
-
categories: zod_1.z
|
|
35
|
-
.object({
|
|
36
|
-
includes: zod_1.z.array(exports.categoryEnum).nullable(),
|
|
37
|
-
excludes: zod_1.z.array(exports.categoryEnum).nullable(),
|
|
38
|
-
})
|
|
39
|
-
.nullable(),
|
|
40
|
-
payment: zod_1.z
|
|
41
|
-
.object({
|
|
42
|
-
paymentType: zod_1.z.array(exports.paymentTypeEnum).nullable(),
|
|
43
|
-
minFixedPrice: zod_1.z.number().nullable(),
|
|
44
|
-
maxFixedPrice: zod_1.z.number().nullable(),
|
|
45
|
-
minHourlyRate: zod_1.z.number().nullable(),
|
|
46
|
-
maxHourlyRate: zod_1.z.number().nullable(),
|
|
47
|
-
})
|
|
48
|
-
.nullable(),
|
|
49
|
-
projectDuration: zod_1.z.array(exports.projectDurationEnum).nullable(),
|
|
50
|
-
experienceLevel: zod_1.z.array(exports.experienceLevelEnum).nullable(),
|
|
51
|
-
questions: zod_1.z
|
|
52
|
-
.object({
|
|
53
|
-
hasQuestions: zod_1.z.enum(["all", "yes", "no"]).default("all"),
|
|
54
|
-
})
|
|
55
|
-
.nullable(),
|
|
56
|
-
engagementType: zod_1.z.array(exports.engagementTypeEnum).nullable(),
|
|
57
|
-
clientInfo: zod_1.z
|
|
58
|
-
.object({
|
|
59
|
-
isPaymentVerified: zod_1.z.enum(["all", "true", "false"]).default("all"),
|
|
60
|
-
isPhoneVerified: zod_1.z.enum(["all", "true", "false"]).default("all"),
|
|
61
|
-
enterpriseClient: zod_1.z.enum(["all", "true", "false"]).default("all"),
|
|
62
|
-
clientLocationIncludes: zod_1.z.array(zod_1.z.string()).nullable(),
|
|
63
|
-
clientLocationExcludes: zod_1.z.array(zod_1.z.string()).nullable(),
|
|
64
|
-
minReviewScore: zod_1.z.number().min(0).max(5).nullable(),
|
|
65
|
-
minTotalSpent: zod_1.z.number().nullable(),
|
|
66
|
-
minHireRate: zod_1.z.number().min(0).max(100).nullable(),
|
|
67
|
-
clientIndustry: zod_1.z.array(exports.clientIndustryEnum).nullable(),
|
|
68
|
-
companySize: zod_1.z.array(exports.clientSizeEnum).nullable(),
|
|
69
|
-
minJobsPosted: zod_1.z.number().nullable(),
|
|
70
|
-
minAvgHourlyRate: zod_1.z.number().nullable(),
|
|
71
|
-
minNumReviews: zod_1.z.number().nullable(),
|
|
72
|
-
memberSinceFrom: zod_1.z.string().date().nullable(),
|
|
73
|
-
memberSinceTo: zod_1.z.string().date().nullable(),
|
|
74
|
-
})
|
|
75
|
-
.nullable(),
|
|
76
|
-
vendorQualifications: zod_1.z
|
|
77
|
-
.object({
|
|
78
|
-
locationIncludes: zod_1.z.array(zod_1.z.string()).nullable(),
|
|
79
|
-
locationExcludes: zod_1.z.array(zod_1.z.string()).nullable(),
|
|
80
|
-
talentTypes: zod_1.z.array(exports.talentTypeEnum).nullable(),
|
|
81
|
-
englishLevels: zod_1.z.array(exports.englishLevelEnum).nullable(),
|
|
82
|
-
includeRisingTalent: zod_1.z.string().nullable(),
|
|
83
|
-
requiredEarnings: exports.requiredEarningsEnum.nullable(),
|
|
84
|
-
requiredJSS: zod_1.z.array(exports.requiredJSSEnum).nullable(),
|
|
85
|
-
})
|
|
86
|
-
.nullable(),
|
|
87
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './knowledge-object';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./knowledge-object"), exports);
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const KnowledgeObjectSchema: z.ZodObject<{
|
|
3
|
-
categories: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
}, {
|
|
6
|
-
[x: string]: any;
|
|
7
|
-
}>;
|
|
8
|
-
experienceLevels: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
}, {
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
}>;
|
|
13
|
-
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
fixedPriceMin: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
clientHistory: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
16
|
-
[x: string]: any;
|
|
17
|
-
}, {
|
|
18
|
-
[x: string]: any;
|
|
19
|
-
}>;
|
|
20
|
-
keywords: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
categories: {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
};
|
|
25
|
-
experienceLevels: {
|
|
26
|
-
[x: string]: any;
|
|
27
|
-
};
|
|
28
|
-
minHourlyRate: number | null;
|
|
29
|
-
fixedPriceMin: number | null;
|
|
30
|
-
clientHistory: {
|
|
31
|
-
[x: string]: any;
|
|
32
|
-
};
|
|
33
|
-
keywords: string[] | null;
|
|
34
|
-
}, {
|
|
35
|
-
categories: {
|
|
36
|
-
[x: string]: any;
|
|
37
|
-
};
|
|
38
|
-
experienceLevels: {
|
|
39
|
-
[x: string]: any;
|
|
40
|
-
};
|
|
41
|
-
minHourlyRate: number | null;
|
|
42
|
-
fixedPriceMin: number | null;
|
|
43
|
-
clientHistory: {
|
|
44
|
-
[x: string]: any;
|
|
45
|
-
};
|
|
46
|
-
keywords: string[] | null;
|
|
47
|
-
}>;
|
|
48
|
-
export declare const chatResponseSchema: z.ZodObject<{
|
|
49
|
-
followUpQuestion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
knowledgeObject: z.ZodOptional<z.ZodObject<{
|
|
51
|
-
categories: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
52
|
-
[x: string]: any;
|
|
53
|
-
}, {
|
|
54
|
-
[x: string]: any;
|
|
55
|
-
}>;
|
|
56
|
-
experienceLevels: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
57
|
-
[x: string]: any;
|
|
58
|
-
}, {
|
|
59
|
-
[x: string]: any;
|
|
60
|
-
}>;
|
|
61
|
-
minHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
62
|
-
fixedPriceMin: z.ZodNullable<z.ZodNumber>;
|
|
63
|
-
clientHistory: z.ZodObject<any, "strip", z.ZodTypeAny, {
|
|
64
|
-
[x: string]: any;
|
|
65
|
-
}, {
|
|
66
|
-
[x: string]: any;
|
|
67
|
-
}>;
|
|
68
|
-
keywords: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
69
|
-
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
categories: {
|
|
71
|
-
[x: string]: any;
|
|
72
|
-
};
|
|
73
|
-
experienceLevels: {
|
|
74
|
-
[x: string]: any;
|
|
75
|
-
};
|
|
76
|
-
minHourlyRate: number | null;
|
|
77
|
-
fixedPriceMin: number | null;
|
|
78
|
-
clientHistory: {
|
|
79
|
-
[x: string]: any;
|
|
80
|
-
};
|
|
81
|
-
keywords: string[] | null;
|
|
82
|
-
}, {
|
|
83
|
-
categories: {
|
|
84
|
-
[x: string]: any;
|
|
85
|
-
};
|
|
86
|
-
experienceLevels: {
|
|
87
|
-
[x: string]: any;
|
|
88
|
-
};
|
|
89
|
-
minHourlyRate: number | null;
|
|
90
|
-
fixedPriceMin: number | null;
|
|
91
|
-
clientHistory: {
|
|
92
|
-
[x: string]: any;
|
|
93
|
-
};
|
|
94
|
-
keywords: string[] | null;
|
|
95
|
-
}>>;
|
|
96
|
-
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
followUpQuestion?: string | null | undefined;
|
|
98
|
-
knowledgeObject?: {
|
|
99
|
-
categories: {
|
|
100
|
-
[x: string]: any;
|
|
101
|
-
};
|
|
102
|
-
experienceLevels: {
|
|
103
|
-
[x: string]: any;
|
|
104
|
-
};
|
|
105
|
-
minHourlyRate: number | null;
|
|
106
|
-
fixedPriceMin: number | null;
|
|
107
|
-
clientHistory: {
|
|
108
|
-
[x: string]: any;
|
|
109
|
-
};
|
|
110
|
-
keywords: string[] | null;
|
|
111
|
-
} | undefined;
|
|
112
|
-
}, {
|
|
113
|
-
followUpQuestion?: string | null | undefined;
|
|
114
|
-
knowledgeObject?: {
|
|
115
|
-
categories: {
|
|
116
|
-
[x: string]: any;
|
|
117
|
-
};
|
|
118
|
-
experienceLevels: {
|
|
119
|
-
[x: string]: any;
|
|
120
|
-
};
|
|
121
|
-
minHourlyRate: number | null;
|
|
122
|
-
fixedPriceMin: number | null;
|
|
123
|
-
clientHistory: {
|
|
124
|
-
[x: string]: any;
|
|
125
|
-
};
|
|
126
|
-
keywords: string[] | null;
|
|
127
|
-
} | undefined;
|
|
128
|
-
}>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.chatResponseSchema = exports.KnowledgeObjectSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const job_filter_options_1 = require("../../constants/job-filter-options");
|
|
6
|
-
exports.KnowledgeObjectSchema = zod_1.z.object({
|
|
7
|
-
categories: zod_1.z
|
|
8
|
-
.object(job_filter_options_1.CATEGORIES.reduce((acc, category) => (Object.assign(Object.assign({}, acc), { [category]: zod_1.z
|
|
9
|
-
.boolean()
|
|
10
|
-
.nullable()
|
|
11
|
-
.describe(`Indicates if ${category} category is suitable based on skills and services`) })), {}))
|
|
12
|
-
.describe('Job categories for the agency'),
|
|
13
|
-
experienceLevels: zod_1.z
|
|
14
|
-
.object(job_filter_options_1.EXPERIENCE_LEVELS.reduce((acc, level) => (Object.assign(Object.assign({}, acc), { [level]: zod_1.z
|
|
15
|
-
.boolean()
|
|
16
|
-
.nullable()
|
|
17
|
-
.describe(`Has ${level} experience level`) })), {}))
|
|
18
|
-
.describe('Experience level of the agency in the services they offer'),
|
|
19
|
-
minHourlyRate: zod_1.z
|
|
20
|
-
.number()
|
|
21
|
-
.min(0)
|
|
22
|
-
.nullable()
|
|
23
|
-
.describe('Minimum hourly rate in USD that the agency is willing to accept for providing their services'),
|
|
24
|
-
fixedPriceMin: zod_1.z
|
|
25
|
-
.number()
|
|
26
|
-
.min(0)
|
|
27
|
-
.nullable()
|
|
28
|
-
.describe('Minimum budget of the project in USD that the agency is willing to accept for providing their services'),
|
|
29
|
-
clientHistory: zod_1.z
|
|
30
|
-
.object(job_filter_options_1.CLIENT_HISTORY.reduce((acc, history) => (Object.assign(Object.assign({}, acc), { [history]: zod_1.z
|
|
31
|
-
.boolean()
|
|
32
|
-
.nullable()
|
|
33
|
-
.describe(`Whether the job poster (client) has made ${history} hires on Upwork. This refers to the client's hiring history, not the agency's experience.`) })), {}))
|
|
34
|
-
.describe("Filters for the job poster's (client's) hiring history on Upwork - indicates how many previous hires the client should have made to be considered suitable"),
|
|
35
|
-
keywords: zod_1.z
|
|
36
|
-
.array(zod_1.z.string())
|
|
37
|
-
.nullable()
|
|
38
|
-
.describe('List of search keywords that best match the agency\'s expertise and services. These keywords will be used when searching for job posts on Upwork to find the most relevant opportunities. Examples might include specific technologies, skills, or service areas like "React.js", "mobile development", or "UI/UX design".'),
|
|
39
|
-
});
|
|
40
|
-
exports.chatResponseSchema = zod_1.z.object({
|
|
41
|
-
followUpQuestion: zod_1.z
|
|
42
|
-
.string()
|
|
43
|
-
.nullable()
|
|
44
|
-
.optional()
|
|
45
|
-
.describe('This is a question that you should ask a user for a field that you left null. This is important. Always ask this if there is a null field.'),
|
|
46
|
-
knowledgeObject: exports.KnowledgeObjectSchema.optional(),
|
|
47
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./lead"), exports);
|
|
18
|
-
__exportStar(require("./lead-note"), exports);
|
|
19
|
-
__exportStar(require("./lead-status"), exports);
|