lancer-shared 1.0.50 → 1.0.52

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.
@@ -3,7 +3,7 @@ export declare const JOB_FILTER_OPTIONS: {
3
3
  PROJECT_DURATION: readonly ["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"];
4
4
  ENGAGEMENT_TYPE: readonly ["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"];
5
5
  VENDOR_TYPE: readonly ["Independent", "Agency", "Unspecified"];
6
- PAYMENT_TYPE: readonly ["Fixed-price", "Hourly"];
6
+ PAYMENT_TYPE: readonly ["Fixed-price", "Hourly", "Unspecified"];
7
7
  TALENT_TYPE: readonly ["Agency", "Independent", "Unspecified"];
8
8
  ENGLISH_LEVELS: readonly ["Fluent", "Conversational", "Native or Bilingual", "Unspecified"];
9
9
  EXPERIENCE_LEVELS: readonly ["Entry level", "Intermediate", "Expert"];
@@ -16,7 +16,7 @@ exports.JOB_FILTER_OPTIONS = {
16
16
  "Unspecified",
17
17
  ],
18
18
  VENDOR_TYPE: ["Independent", "Agency", "Unspecified"],
19
- PAYMENT_TYPE: ["Fixed-price", "Hourly"],
19
+ PAYMENT_TYPE: ["Fixed-price", "Hourly", "Unspecified"],
20
20
  TALENT_TYPE: ["Agency", "Independent", "Unspecified"],
21
21
  ENGLISH_LEVELS: [
22
22
  "Fluent",
@@ -26,19 +26,19 @@ export declare const campaignSchema: z.ZodObject<{
26
26
  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;
27
27
  }>>;
28
28
  payment: z.ZodNullable<z.ZodObject<{
29
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly"]>, "many">>;
29
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
30
30
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
31
31
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
32
32
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
33
33
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- paymentType: ("Fixed-price" | "Hourly")[] | null;
35
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
36
36
  minFixedPrice: number | null;
37
37
  maxFixedPrice: number | null;
38
38
  minHourlyRate: number | null;
39
39
  maxHourlyRate: number | null;
40
40
  }, {
41
- paymentType: ("Fixed-price" | "Hourly")[] | null;
41
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
42
42
  minFixedPrice: number | null;
43
43
  maxFixedPrice: number | null;
44
44
  minHourlyRate: number | null;
@@ -139,7 +139,7 @@ export declare const campaignSchema: z.ZodObject<{
139
139
  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;
140
140
  } | null;
141
141
  payment: {
142
- paymentType: ("Fixed-price" | "Hourly")[] | null;
142
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
143
143
  minFixedPrice: number | null;
144
144
  maxFixedPrice: number | null;
145
145
  minHourlyRate: number | null;
@@ -180,7 +180,7 @@ export declare const campaignSchema: z.ZodObject<{
180
180
  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;
181
181
  } | null;
182
182
  payment: {
183
- paymentType: ("Fixed-price" | "Hourly")[] | null;
183
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
184
184
  minFixedPrice: number | null;
185
185
  maxFixedPrice: number | null;
186
186
  minHourlyRate: number | null;
@@ -295,7 +295,7 @@ export declare const campaignSchema: z.ZodObject<{
295
295
  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;
296
296
  } | null;
297
297
  payment: {
298
- paymentType: ("Fixed-price" | "Hourly")[] | null;
298
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
299
299
  minFixedPrice: number | null;
300
300
  maxFixedPrice: number | null;
301
301
  minHourlyRate: number | null;
@@ -367,7 +367,7 @@ export declare const campaignSchema: z.ZodObject<{
367
367
  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;
368
368
  } | null;
369
369
  payment: {
370
- paymentType: ("Fixed-price" | "Hourly")[] | null;
370
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
371
371
  minFixedPrice: number | null;
372
372
  maxFixedPrice: number | null;
373
373
  minHourlyRate: number | null;
@@ -428,19 +428,19 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
428
428
  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;
429
429
  }>>;
430
430
  payment: z.ZodNullable<z.ZodObject<{
431
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly"]>, "many">>;
431
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
432
432
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
433
433
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
434
434
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
435
435
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
436
436
  }, "strip", z.ZodTypeAny, {
437
- paymentType: ("Fixed-price" | "Hourly")[] | null;
437
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
438
438
  minFixedPrice: number | null;
439
439
  maxFixedPrice: number | null;
440
440
  minHourlyRate: number | null;
441
441
  maxHourlyRate: number | null;
442
442
  }, {
443
- paymentType: ("Fixed-price" | "Hourly")[] | null;
443
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
444
444
  minFixedPrice: number | null;
445
445
  maxFixedPrice: number | null;
446
446
  minHourlyRate: number | null;
@@ -541,7 +541,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
541
541
  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;
542
542
  } | null;
543
543
  payment: {
544
- paymentType: ("Fixed-price" | "Hourly")[] | null;
544
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
545
545
  minFixedPrice: number | null;
546
546
  maxFixedPrice: number | null;
547
547
  minHourlyRate: number | null;
@@ -582,7 +582,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
582
582
  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;
583
583
  } | null;
584
584
  payment: {
585
- paymentType: ("Fixed-price" | "Hourly")[] | null;
585
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
586
586
  minFixedPrice: number | null;
587
587
  maxFixedPrice: number | null;
588
588
  minHourlyRate: number | null;
@@ -694,7 +694,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
694
694
  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;
695
695
  } | null;
696
696
  payment: {
697
- paymentType: ("Fixed-price" | "Hourly")[] | null;
697
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
698
698
  minFixedPrice: number | null;
699
699
  maxFixedPrice: number | null;
700
700
  minHourlyRate: number | null;
@@ -763,7 +763,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
763
763
  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;
764
764
  } | null;
765
765
  payment: {
766
- paymentType: ("Fixed-price" | "Hourly")[] | null;
766
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
767
767
  minFixedPrice: number | null;
768
768
  maxFixedPrice: number | null;
769
769
  minHourlyRate: number | null;
@@ -824,19 +824,19 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
824
824
  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;
825
825
  }>>;
826
826
  payment: z.ZodNullable<z.ZodObject<{
827
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly"]>, "many">>;
827
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
828
828
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
829
829
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
830
830
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
831
831
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
832
832
  }, "strip", z.ZodTypeAny, {
833
- paymentType: ("Fixed-price" | "Hourly")[] | null;
833
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
834
834
  minFixedPrice: number | null;
835
835
  maxFixedPrice: number | null;
836
836
  minHourlyRate: number | null;
837
837
  maxHourlyRate: number | null;
838
838
  }, {
839
- paymentType: ("Fixed-price" | "Hourly")[] | null;
839
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
840
840
  minFixedPrice: number | null;
841
841
  maxFixedPrice: number | null;
842
842
  minHourlyRate: number | null;
@@ -937,7 +937,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
937
937
  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;
938
938
  } | null;
939
939
  payment: {
940
- paymentType: ("Fixed-price" | "Hourly")[] | null;
940
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
941
941
  minFixedPrice: number | null;
942
942
  maxFixedPrice: number | null;
943
943
  minHourlyRate: number | null;
@@ -978,7 +978,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
978
978
  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;
979
979
  } | null;
980
980
  payment: {
981
- paymentType: ("Fixed-price" | "Hourly")[] | null;
981
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
982
982
  minFixedPrice: number | null;
983
983
  maxFixedPrice: number | null;
984
984
  minHourlyRate: number | null;
@@ -1091,7 +1091,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1091
1091
  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;
1092
1092
  } | null;
1093
1093
  payment: {
1094
- paymentType: ("Fixed-price" | "Hourly")[] | null;
1094
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1095
1095
  minFixedPrice: number | null;
1096
1096
  maxFixedPrice: number | null;
1097
1097
  minHourlyRate: number | null;
@@ -1161,7 +1161,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1161
1161
  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;
1162
1162
  } | null;
1163
1163
  payment: {
1164
- paymentType: ("Fixed-price" | "Hourly")[] | null;
1164
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1165
1165
  minFixedPrice: number | null;
1166
1166
  maxFixedPrice: number | null;
1167
1167
  minHourlyRate: number | null;
@@ -44,9 +44,9 @@ export declare const clientInfoSchema: z.ZodObject<{
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  country: string | null;
46
46
  region: string | null;
47
+ rating: number | null;
47
48
  isPaymentVerified: boolean | null;
48
49
  numberOfReviews: number | null;
49
- rating: number | null;
50
50
  jobsPosted: number | null;
51
51
  totalSpent: number | null;
52
52
  numberOfHires: number | null;
@@ -60,9 +60,9 @@ export declare const clientInfoSchema: z.ZodObject<{
60
60
  }, {
61
61
  country: string | null;
62
62
  region: string | null;
63
+ rating: number | null;
63
64
  isPaymentVerified: boolean | null;
64
65
  numberOfReviews: number | null;
65
- rating: number | null;
66
66
  jobsPosted: number | null;
67
67
  totalSpent: number | null;
68
68
  numberOfHires: number | null;
@@ -187,9 +187,9 @@ export declare const upworkJobSchema: z.ZodObject<{
187
187
  }, "strip", z.ZodTypeAny, {
188
188
  country: string | null;
189
189
  region: string | null;
190
+ rating: number | null;
190
191
  isPaymentVerified: boolean | null;
191
192
  numberOfReviews: number | null;
192
- rating: number | null;
193
193
  jobsPosted: number | null;
194
194
  totalSpent: number | null;
195
195
  numberOfHires: number | null;
@@ -203,9 +203,9 @@ export declare const upworkJobSchema: z.ZodObject<{
203
203
  }, {
204
204
  country: string | null;
205
205
  region: string | null;
206
+ rating: number | null;
206
207
  isPaymentVerified: boolean | null;
207
208
  numberOfReviews: number | null;
208
- rating: number | null;
209
209
  jobsPosted: number | null;
210
210
  totalSpent: number | null;
211
211
  numberOfHires: number | null;
@@ -267,9 +267,9 @@ export declare const upworkJobSchema: z.ZodObject<{
267
267
  clientInfo: {
268
268
  country: string | null;
269
269
  region: string | null;
270
+ rating: number | null;
270
271
  isPaymentVerified: boolean | null;
271
272
  numberOfReviews: number | null;
272
- rating: number | null;
273
273
  jobsPosted: number | null;
274
274
  totalSpent: number | null;
275
275
  numberOfHires: number | null;
@@ -319,9 +319,9 @@ export declare const upworkJobSchema: z.ZodObject<{
319
319
  clientInfo: {
320
320
  country: string | null;
321
321
  region: string | null;
322
+ rating: number | null;
322
323
  isPaymentVerified: boolean | null;
323
324
  numberOfReviews: number | null;
324
- rating: number | null;
325
325
  jobsPosted: number | null;
326
326
  totalSpent: number | null;
327
327
  numberOfHires: number | null;
@@ -342,7 +342,7 @@ export declare const upworkJobSchema: z.ZodObject<{
342
342
  } | null;
343
343
  processed: boolean | null;
344
344
  }>;
345
- export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
345
+ export declare const jobSchema: z.ZodObject<z.objectUtil.extendShape<{
346
346
  id: z.ZodNullable<z.ZodString>;
347
347
  createdAt: z.ZodNullable<z.ZodNumber>;
348
348
  title: z.ZodNullable<z.ZodString>;
@@ -418,9 +418,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
418
418
  }, "strip", z.ZodTypeAny, {
419
419
  country: string | null;
420
420
  region: string | null;
421
+ rating: number | null;
421
422
  isPaymentVerified: boolean | null;
422
423
  numberOfReviews: number | null;
423
- rating: number | null;
424
424
  jobsPosted: number | null;
425
425
  totalSpent: number | null;
426
426
  numberOfHires: number | null;
@@ -434,9 +434,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
434
434
  }, {
435
435
  country: string | null;
436
436
  region: string | null;
437
+ rating: number | null;
437
438
  isPaymentVerified: boolean | null;
438
439
  numberOfReviews: number | null;
439
- rating: number | null;
440
440
  jobsPosted: number | null;
441
441
  totalSpent: number | null;
442
442
  numberOfHires: number | null;
@@ -469,7 +469,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
469
469
  }>>;
470
470
  processed: z.ZodNullable<z.ZodBoolean>;
471
471
  }, {
472
- jobId: z.ZodString;
473
472
  updatedAt: z.ZodNullable<z.ZodNumber>;
474
473
  suitabilityRating: z.ZodNullable<z.ZodNumber>;
475
474
  suitabilityReason: z.ZodNullable<z.ZodString>;
@@ -531,7 +530,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
531
530
  description: string | null;
532
531
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
533
532
  datetime: number | null;
534
- jobId: string;
535
533
  createdAt: number | null;
536
534
  updatedAt: number | null;
537
535
  questionAnswerPairs: {
@@ -552,9 +550,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
552
550
  clientInfo: {
553
551
  country: string | null;
554
552
  region: string | null;
553
+ rating: number | null;
555
554
  isPaymentVerified: boolean | null;
556
555
  numberOfReviews: number | null;
557
- rating: number | null;
558
556
  jobsPosted: number | null;
559
557
  totalSpent: number | null;
560
558
  numberOfHires: number | null;
@@ -606,7 +604,6 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
606
604
  description: string | null;
607
605
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
608
606
  datetime: number | null;
609
- jobId: string;
610
607
  createdAt: number | null;
611
608
  updatedAt: number | null;
612
609
  questionAnswerPairs: {
@@ -627,9 +624,9 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
627
624
  clientInfo: {
628
625
  country: string | null;
629
626
  region: string | null;
627
+ rating: number | null;
630
628
  isPaymentVerified: boolean | null;
631
629
  numberOfReviews: number | null;
632
- rating: number | null;
633
630
  jobsPosted: number | null;
634
631
  totalSpent: number | null;
635
632
  numberOfHires: number | null;
@@ -679,7 +676,7 @@ export declare const jobListItemSchema: z.ZodObject<{
679
676
  jobUrl: string | null;
680
677
  }>;
681
678
  export declare const jobResponseSchema: z.ZodObject<{
682
- leads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
679
+ jobs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
683
680
  id: z.ZodNullable<z.ZodString>;
684
681
  createdAt: z.ZodNullable<z.ZodNumber>;
685
682
  title: z.ZodNullable<z.ZodString>;
@@ -755,9 +752,9 @@ export declare const jobResponseSchema: z.ZodObject<{
755
752
  }, "strip", z.ZodTypeAny, {
756
753
  country: string | null;
757
754
  region: string | null;
755
+ rating: number | null;
758
756
  isPaymentVerified: boolean | null;
759
757
  numberOfReviews: number | null;
760
- rating: number | null;
761
758
  jobsPosted: number | null;
762
759
  totalSpent: number | null;
763
760
  numberOfHires: number | null;
@@ -771,9 +768,9 @@ export declare const jobResponseSchema: z.ZodObject<{
771
768
  }, {
772
769
  country: string | null;
773
770
  region: string | null;
771
+ rating: number | null;
774
772
  isPaymentVerified: boolean | null;
775
773
  numberOfReviews: number | null;
776
- rating: number | null;
777
774
  jobsPosted: number | null;
778
775
  totalSpent: number | null;
779
776
  numberOfHires: number | null;
@@ -806,7 +803,6 @@ export declare const jobResponseSchema: z.ZodObject<{
806
803
  }>>;
807
804
  processed: z.ZodNullable<z.ZodBoolean>;
808
805
  }, {
809
- jobId: z.ZodString;
810
806
  updatedAt: z.ZodNullable<z.ZodNumber>;
811
807
  suitabilityRating: z.ZodNullable<z.ZodNumber>;
812
808
  suitabilityReason: z.ZodNullable<z.ZodString>;
@@ -868,7 +864,6 @@ export declare const jobResponseSchema: z.ZodObject<{
868
864
  description: string | null;
869
865
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
870
866
  datetime: number | null;
871
- jobId: string;
872
867
  createdAt: number | null;
873
868
  updatedAt: number | null;
874
869
  questionAnswerPairs: {
@@ -889,9 +884,9 @@ export declare const jobResponseSchema: z.ZodObject<{
889
884
  clientInfo: {
890
885
  country: string | null;
891
886
  region: string | null;
887
+ rating: number | null;
892
888
  isPaymentVerified: boolean | null;
893
889
  numberOfReviews: number | null;
894
- rating: number | null;
895
890
  jobsPosted: number | null;
896
891
  totalSpent: number | null;
897
892
  numberOfHires: number | null;
@@ -943,7 +938,6 @@ export declare const jobResponseSchema: z.ZodObject<{
943
938
  description: string | null;
944
939
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
945
940
  datetime: number | null;
946
- jobId: string;
947
941
  createdAt: number | null;
948
942
  updatedAt: number | null;
949
943
  questionAnswerPairs: {
@@ -964,9 +958,9 @@ export declare const jobResponseSchema: z.ZodObject<{
964
958
  clientInfo: {
965
959
  country: string | null;
966
960
  region: string | null;
961
+ rating: number | null;
967
962
  isPaymentVerified: boolean | null;
968
963
  numberOfReviews: number | null;
969
- rating: number | null;
970
964
  jobsPosted: number | null;
971
965
  totalSpent: number | null;
972
966
  numberOfHires: number | null;
@@ -1006,7 +1000,7 @@ export declare const jobResponseSchema: z.ZodObject<{
1006
1000
  hasMore: z.ZodBoolean;
1007
1001
  jobCounts: z.ZodNullable<z.ZodNumber>;
1008
1002
  }, "strip", z.ZodTypeAny, {
1009
- leads: {
1003
+ jobs: {
1010
1004
  id: string | null;
1011
1005
  title: string | null;
1012
1006
  metadata: {
@@ -1023,7 +1017,6 @@ export declare const jobResponseSchema: z.ZodObject<{
1023
1017
  description: string | null;
1024
1018
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1025
1019
  datetime: number | null;
1026
- jobId: string;
1027
1020
  createdAt: number | null;
1028
1021
  updatedAt: number | null;
1029
1022
  questionAnswerPairs: {
@@ -1044,9 +1037,9 @@ export declare const jobResponseSchema: z.ZodObject<{
1044
1037
  clientInfo: {
1045
1038
  country: string | null;
1046
1039
  region: string | null;
1040
+ rating: number | null;
1047
1041
  isPaymentVerified: boolean | null;
1048
1042
  numberOfReviews: number | null;
1049
- rating: number | null;
1050
1043
  jobsPosted: number | null;
1051
1044
  totalSpent: number | null;
1052
1045
  numberOfHires: number | null;
@@ -1086,7 +1079,7 @@ export declare const jobResponseSchema: z.ZodObject<{
1086
1079
  hasMore: boolean;
1087
1080
  jobCounts: number | null;
1088
1081
  }, {
1089
- leads: {
1082
+ jobs: {
1090
1083
  id: string | null;
1091
1084
  title: string | null;
1092
1085
  metadata: {
@@ -1103,7 +1096,6 @@ export declare const jobResponseSchema: z.ZodObject<{
1103
1096
  description: string | null;
1104
1097
  status: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalPending" | "proposalProcessing" | "proposalComplete" | "biddingPending" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1105
1098
  datetime: number | null;
1106
- jobId: string;
1107
1099
  createdAt: number | null;
1108
1100
  updatedAt: number | null;
1109
1101
  questionAnswerPairs: {
@@ -1124,9 +1116,9 @@ export declare const jobResponseSchema: z.ZodObject<{
1124
1116
  clientInfo: {
1125
1117
  country: string | null;
1126
1118
  region: string | null;
1119
+ rating: number | null;
1127
1120
  isPaymentVerified: boolean | null;
1128
1121
  numberOfReviews: number | null;
1129
- rating: number | null;
1130
1122
  jobsPosted: number | null;
1131
1123
  totalSpent: number | null;
1132
1124
  numberOfHires: number | null;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jobResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
3
+ exports.jobResponseSchema = exports.jobListItemSchema = exports.jobSchema = exports.upworkJobSchema = exports.metadataSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const job_note_1 = require("./job-note");
6
6
  const job_status_1 = require("./job-status");
@@ -64,8 +64,7 @@ exports.upworkJobSchema = zod_1.z.object({
64
64
  vendorQualifications: exports.vendorQualificationSchema.nullable(),
65
65
  processed: (0, zod_1.boolean)().nullable(),
66
66
  });
67
- exports.leadSchema = exports.upworkJobSchema.extend({
68
- jobId: zod_1.z.string(),
67
+ exports.jobSchema = exports.upworkJobSchema.extend({
69
68
  updatedAt: zod_1.z.number().nullable(),
70
69
  suitabilityRating: zod_1.z.number().nullable(),
71
70
  suitabilityReason: zod_1.z.string().nullable(),
@@ -84,7 +83,7 @@ exports.jobListItemSchema = zod_1.z.object({
84
83
  datetime: zod_1.z.string().nullable(),
85
84
  });
86
85
  exports.jobResponseSchema = zod_1.z.object({
87
- leads: zod_1.z.array(exports.leadSchema),
86
+ jobs: zod_1.z.array(exports.jobSchema),
88
87
  nextCursor: zod_1.z.string().nullable(),
89
88
  hasMore: zod_1.z.boolean(),
90
89
  jobCounts: zod_1.z.number().nullable(),
@@ -2,7 +2,7 @@ import { z } from "zod";
2
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
3
  export declare const engagementTypeEnum: z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>;
4
4
  export declare const vendorTypeEnum: z.ZodEnum<["Independent", "Agency", "Unspecified"]>;
5
- export declare const paymentTypeEnum: z.ZodEnum<["Fixed-price", "Hourly"]>;
5
+ export declare const paymentTypeEnum: z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>;
6
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
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
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"]>;
@@ -34,19 +34,19 @@ export declare const jobFiltersSchema: z.ZodObject<{
34
34
  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;
35
35
  }>>;
36
36
  payment: z.ZodNullable<z.ZodObject<{
37
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly"]>, "many">>;
37
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
38
38
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
39
39
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
40
40
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
41
41
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- paymentType: ("Fixed-price" | "Hourly")[] | null;
43
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
44
44
  minFixedPrice: number | null;
45
45
  maxFixedPrice: number | null;
46
46
  minHourlyRate: number | null;
47
47
  maxHourlyRate: number | null;
48
48
  }, {
49
- paymentType: ("Fixed-price" | "Hourly")[] | null;
49
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
50
50
  minFixedPrice: number | null;
51
51
  maxFixedPrice: number | null;
52
52
  minHourlyRate: number | null;
@@ -147,7 +147,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
147
147
  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;
148
148
  } | null;
149
149
  payment: {
150
- paymentType: ("Fixed-price" | "Hourly")[] | null;
150
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
151
151
  minFixedPrice: number | null;
152
152
  maxFixedPrice: number | null;
153
153
  minHourlyRate: number | null;
@@ -188,7 +188,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
188
188
  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;
189
189
  } | null;
190
190
  payment: {
191
- paymentType: ("Fixed-price" | "Hourly")[] | null;
191
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
192
192
  minFixedPrice: number | null;
193
193
  maxFixedPrice: number | null;
194
194
  minHourlyRate: number | null;
@@ -120,6 +120,19 @@ export declare const clientReviewSchema: z.ZodObject<{
120
120
  numHours: number | null;
121
121
  totalBilled: number | null;
122
122
  }>;
123
+ export declare const bidRangeSchema: z.ZodObject<{
124
+ high: z.ZodNullable<z.ZodNumber>;
125
+ avg: z.ZodNullable<z.ZodNumber>;
126
+ low: z.ZodNullable<z.ZodNumber>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ high: number | null;
129
+ low: number | null;
130
+ avg: number | null;
131
+ }, {
132
+ high: number | null;
133
+ low: number | null;
134
+ avg: number | null;
135
+ }>;
123
136
  export declare const metadataSchema: z.ZodObject<{
124
137
  hours: z.ZodNullable<z.ZodString>;
125
138
  duration: z.ZodNullable<z.ZodString>;
@@ -331,6 +344,19 @@ export declare const upworkJobSchema: z.ZodObject<{
331
344
  totalBilled: number | null;
332
345
  }>, "many">>;
333
346
  region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
347
+ bidRange: z.ZodNullable<z.ZodObject<{
348
+ high: z.ZodNullable<z.ZodNumber>;
349
+ avg: z.ZodNullable<z.ZodNumber>;
350
+ low: z.ZodNullable<z.ZodNumber>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ high: number | null;
353
+ low: number | null;
354
+ avg: number | null;
355
+ }, {
356
+ high: number | null;
357
+ low: number | null;
358
+ avg: number | null;
359
+ }>>;
334
360
  }, "strip", z.ZodTypeAny, {
335
361
  id: string | null;
336
362
  title: string | null;
@@ -401,6 +427,11 @@ export declare const upworkJobSchema: z.ZodObject<{
401
427
  numHours: number | null;
402
428
  totalBilled: number | null;
403
429
  }[] | null;
430
+ bidRange: {
431
+ high: number | null;
432
+ low: number | null;
433
+ avg: number | null;
434
+ } | null;
404
435
  }, {
405
436
  id: string | null;
406
437
  title: string | null;
@@ -471,6 +502,11 @@ export declare const upworkJobSchema: z.ZodObject<{
471
502
  numHours: number | null;
472
503
  totalBilled: number | null;
473
504
  }[] | null;
505
+ bidRange: {
506
+ high: number | null;
507
+ low: number | null;
508
+ avg: number | null;
509
+ } | null;
474
510
  }>;
475
511
  export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
476
512
  id: z.ZodNullable<z.ZodString>;
@@ -646,6 +682,19 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
646
682
  totalBilled: number | null;
647
683
  }>, "many">>;
648
684
  region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
685
+ bidRange: z.ZodNullable<z.ZodObject<{
686
+ high: z.ZodNullable<z.ZodNumber>;
687
+ avg: z.ZodNullable<z.ZodNumber>;
688
+ low: z.ZodNullable<z.ZodNumber>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ high: number | null;
691
+ low: number | null;
692
+ avg: number | null;
693
+ }, {
694
+ high: number | null;
695
+ low: number | null;
696
+ avg: number | null;
697
+ }>>;
649
698
  }, {
650
699
  jobId: z.ZodString;
651
700
  updatedAt: z.ZodNullable<z.ZodNumber>;
@@ -770,6 +819,11 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
770
819
  numHours: number | null;
771
820
  totalBilled: number | null;
772
821
  }[] | null;
822
+ bidRange: {
823
+ high: number | null;
824
+ low: number | null;
825
+ avg: number | null;
826
+ } | null;
773
827
  suitabilityRating: number | null;
774
828
  suitabilityReason: string | null;
775
829
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
@@ -864,6 +918,11 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
864
918
  numHours: number | null;
865
919
  totalBilled: number | null;
866
920
  }[] | null;
921
+ bidRange: {
922
+ high: number | null;
923
+ low: number | null;
924
+ avg: number | null;
925
+ } | null;
867
926
  suitabilityRating: number | null;
868
927
  suitabilityReason: string | null;
869
928
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
@@ -1077,6 +1136,19 @@ export declare const leadResponseSchema: z.ZodObject<{
1077
1136
  totalBilled: number | null;
1078
1137
  }>, "many">>;
1079
1138
  region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
1139
+ bidRange: z.ZodNullable<z.ZodObject<{
1140
+ high: z.ZodNullable<z.ZodNumber>;
1141
+ avg: z.ZodNullable<z.ZodNumber>;
1142
+ low: z.ZodNullable<z.ZodNumber>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ high: number | null;
1145
+ low: number | null;
1146
+ avg: number | null;
1147
+ }, {
1148
+ high: number | null;
1149
+ low: number | null;
1150
+ avg: number | null;
1151
+ }>>;
1080
1152
  }, {
1081
1153
  jobId: z.ZodString;
1082
1154
  updatedAt: z.ZodNullable<z.ZodNumber>;
@@ -1201,6 +1273,11 @@ export declare const leadResponseSchema: z.ZodObject<{
1201
1273
  numHours: number | null;
1202
1274
  totalBilled: number | null;
1203
1275
  }[] | null;
1276
+ bidRange: {
1277
+ high: number | null;
1278
+ low: number | null;
1279
+ avg: number | null;
1280
+ } | null;
1204
1281
  suitabilityRating: number | null;
1205
1282
  suitabilityReason: string | null;
1206
1283
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
@@ -1295,6 +1372,11 @@ export declare const leadResponseSchema: z.ZodObject<{
1295
1372
  numHours: number | null;
1296
1373
  totalBilled: number | null;
1297
1374
  }[] | null;
1375
+ bidRange: {
1376
+ high: number | null;
1377
+ low: number | null;
1378
+ avg: number | null;
1379
+ } | null;
1298
1380
  suitabilityRating: number | null;
1299
1381
  suitabilityReason: string | null;
1300
1382
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
@@ -1394,6 +1476,11 @@ export declare const leadResponseSchema: z.ZodObject<{
1394
1476
  numHours: number | null;
1395
1477
  totalBilled: number | null;
1396
1478
  }[] | null;
1479
+ bidRange: {
1480
+ high: number | null;
1481
+ low: number | null;
1482
+ avg: number | null;
1483
+ } | null;
1397
1484
  suitabilityRating: number | null;
1398
1485
  suitabilityReason: string | null;
1399
1486
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
@@ -1493,6 +1580,11 @@ export declare const leadResponseSchema: z.ZodObject<{
1493
1580
  numHours: number | null;
1494
1581
  totalBilled: number | null;
1495
1582
  }[] | null;
1583
+ bidRange: {
1584
+ high: number | null;
1585
+ low: number | null;
1586
+ avg: number | null;
1587
+ } | null;
1496
1588
  suitabilityRating: number | null;
1497
1589
  suitabilityReason: string | null;
1498
1590
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.leadResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = exports.clientReviewSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
3
+ exports.leadResponseSchema = exports.jobListItemSchema = exports.leadSchema = exports.upworkJobSchema = exports.metadataSchema = exports.bidRangeSchema = exports.clientReviewSchema = exports.clientInfoSchema = exports.vendorQualificationSchema = exports.jobSkillsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const lead_note_1 = require("./lead-note");
6
6
  const lead_status_1 = require("./lead-status");
@@ -49,6 +49,11 @@ exports.clientReviewSchema = zod_1.z.object({
49
49
  numHours: zod_1.z.number().nullable(),
50
50
  totalBilled: zod_1.z.number().nullable(),
51
51
  });
52
+ exports.bidRangeSchema = zod_1.z.object({
53
+ high: zod_1.z.number().nullable(),
54
+ avg: zod_1.z.number().nullable(),
55
+ low: zod_1.z.number().nullable(),
56
+ });
52
57
  exports.metadataSchema = zod_1.z.object({
53
58
  hours: zod_1.z.string().nullable(),
54
59
  duration: zod_1.z.string().nullable(),
@@ -83,6 +88,7 @@ exports.upworkJobSchema = zod_1.z.object({
83
88
  isFeatured: (0, zod_1.boolean)().nullable(),
84
89
  clientReviews: zod_1.z.array(exports.clientReviewSchema).nullable(),
85
90
  region: scraper_1.regionSchema.nullable(),
91
+ bidRange: exports.bidRangeSchema.nullable(),
86
92
  });
87
93
  exports.leadSchema = exports.upworkJobSchema
88
94
  .extend({
@@ -175,6 +175,19 @@ export declare const scrapeResultSchema: z.ZodObject<{
175
175
  totalBilled: number | null;
176
176
  }>, "many">>;
177
177
  region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>>;
178
+ bidRange: z.ZodNullable<z.ZodObject<{
179
+ high: z.ZodNullable<z.ZodNumber>;
180
+ avg: z.ZodNullable<z.ZodNumber>;
181
+ low: z.ZodNullable<z.ZodNumber>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ high: number | null;
184
+ low: number | null;
185
+ avg: number | null;
186
+ }, {
187
+ high: number | null;
188
+ low: number | null;
189
+ avg: number | null;
190
+ }>>;
178
191
  }, "strip", z.ZodTypeAny, {
179
192
  id: string | null;
180
193
  title: string | null;
@@ -245,6 +258,11 @@ export declare const scrapeResultSchema: z.ZodObject<{
245
258
  numHours: number | null;
246
259
  totalBilled: number | null;
247
260
  }[] | null;
261
+ bidRange: {
262
+ high: number | null;
263
+ low: number | null;
264
+ avg: number | null;
265
+ } | null;
248
266
  }, {
249
267
  id: string | null;
250
268
  title: string | null;
@@ -315,6 +333,11 @@ export declare const scrapeResultSchema: z.ZodObject<{
315
333
  numHours: number | null;
316
334
  totalBilled: number | null;
317
335
  }[] | null;
336
+ bidRange: {
337
+ high: number | null;
338
+ low: number | null;
339
+ avg: number | null;
340
+ } | null;
318
341
  }>, "many">;
319
342
  cookies: z.ZodArray<z.ZodAny, "many">;
320
343
  region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
@@ -393,6 +416,11 @@ export declare const scrapeResultSchema: z.ZodObject<{
393
416
  numHours: number | null;
394
417
  totalBilled: number | null;
395
418
  }[] | null;
419
+ bidRange: {
420
+ high: number | null;
421
+ low: number | null;
422
+ avg: number | null;
423
+ } | null;
396
424
  }[];
397
425
  usAccountCookies?: any[] | undefined;
398
426
  ukAccountCookies?: any[] | undefined;
@@ -469,6 +497,11 @@ export declare const scrapeResultSchema: z.ZodObject<{
469
497
  numHours: number | null;
470
498
  totalBilled: number | null;
471
499
  }[] | null;
500
+ bidRange: {
501
+ high: number | null;
502
+ low: number | null;
503
+ avg: number | null;
504
+ } | null;
472
505
  }[];
473
506
  usAccountCookies?: any[] | undefined;
474
507
  ukAccountCookies?: any[] | undefined;
@@ -3,7 +3,7 @@ import { SavedSearch } from "../saved-search";
3
3
  import { LeadNote } from "./job-note";
4
4
  import { LeadAgentStatus, LeadStatus } from "./job-status";
5
5
  import { QuestionAnswerPair } from "../ai";
6
- import { clientInfoSchema, jobListItemSchema, leadResponseSchema, leadSchema, jobSkillsSchema, metadataSchema, upworkJobSchema, vendorQualificationSchema, clientReviewSchema } from "../../schemas/lead/lead";
6
+ import { clientInfoSchema, jobListItemSchema, leadResponseSchema, leadSchema, jobSkillsSchema, metadataSchema, upworkJobSchema, vendorQualificationSchema, clientReviewSchema, bidRangeSchema } from "../../schemas/lead/lead";
7
7
  export interface Job extends z.infer<typeof upworkJobSchema> {
8
8
  clientInfo: ClientInfo | null;
9
9
  metadata: JobMetadata | null;
@@ -32,3 +32,4 @@ export type VendorQualifications = z.infer<typeof vendorQualificationSchema>;
32
32
  export type ClientInfo = z.infer<typeof clientInfoSchema>;
33
33
  export type JobMetadata = z.infer<typeof metadataSchema>;
34
34
  export type ClientReview = z.infer<typeof clientReviewSchema>;
35
+ export type JobBidRange = z.infer<typeof bidRangeSchema>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.50",
4
+ "version": "1.0.52",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",