lancer-shared 1.0.50 → 1.0.51

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;
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.51",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",