lancer-shared 1.2.81 → 1.2.82

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.
@@ -66,7 +66,7 @@ const invoiceStatusNames = {
66
66
  };
67
67
 
68
68
  const JOB_FILTER_OPTIONS = {
69
- REGIONS: ["Worldwide", "UKOnly", "USOnly"],
69
+ REGIONS: ["Worldwide", "USOnly", "UKOnly"],
70
70
  PROJECT_DURATION: [
71
71
  "Less than 1 month",
72
72
  "1 to 3 months",
@@ -330,6 +330,11 @@ const JOB_FILTER_OPTIONS = {
330
330
  "Unspecified",
331
331
  ],
332
332
  };
333
+ const regionNames = {
334
+ Worldwide: "Worldwide",
335
+ USOnly: "US Only",
336
+ UKOnly: "UK Only",
337
+ };
333
338
 
334
339
  const jobStatusOrder = [
335
340
  "leads",
@@ -13863,6 +13868,7 @@ exports.questionPairNotMatchingException = questionPairNotMatchingException;
13863
13868
  exports.questionRulesSchema = questionRulesSchema;
13864
13869
  exports.regionEnum = regionEnum;
13865
13870
  exports.regionMapping = regionMapping;
13871
+ exports.regionNames = regionNames;
13866
13872
  exports.regionSchema = regionSchema;
13867
13873
  exports.registerSchema = registerSchema;
13868
13874
  exports.requiredEarningsEnum = requiredEarningsEnum;
@@ -1,5 +1,6 @@
1
+ import { Region } from "../schemas";
1
2
  export declare const JOB_FILTER_OPTIONS: {
2
- REGIONS: readonly ["Worldwide", "UKOnly", "USOnly"];
3
+ REGIONS: readonly ["Worldwide", "USOnly", "UKOnly"];
3
4
  PROJECT_DURATION: readonly ["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"];
4
5
  ENGAGEMENT_TYPE: readonly ["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"];
5
6
  VENDOR_TYPE: readonly ["Independent", "Agency", "Unspecified"];
@@ -62,3 +63,4 @@ export declare const JOB_FILTER_OPTIONS: {
62
63
  CLIENT_INDUSTRY: readonly ["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"];
63
64
  CLIENT_SIZE: readonly ["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"];
64
65
  };
66
+ export declare const regionNames: Record<Region, string>;
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { Region } from "../shared";
2
3
  export declare const projectDurationEnum: z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>;
3
4
  export declare const engagementTypeEnum: z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>;
4
5
  export declare const vendorTypeEnum: z.ZodEnum<["Independent", "Agency", "Unspecified"]>;
@@ -146,7 +147,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
146
147
  excludes: string | null;
147
148
  } | null;
148
149
  isFeatured: "all" | "true" | "false" | null;
149
- regions: ("Worldwide" | "UKOnly" | "USOnly" | "all")[] | null;
150
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "all")[] | null;
150
151
  categories: {
151
152
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
152
153
  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;
@@ -196,7 +197,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
196
197
  excludes: string | null;
197
198
  } | null;
198
199
  isFeatured: "all" | "true" | "false" | null;
199
- regions: ("Worldwide" | "UKOnly" | "USOnly" | "all")[] | null;
200
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "all")[] | null;
200
201
  categories: {
201
202
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
202
203
  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;
@@ -252,4 +253,5 @@ export interface Counts {
252
253
  paymentType: Record<PaymentType, number>;
253
254
  paymentVerified: Record<IsPaymentVerified, number>;
254
255
  phoneVerified: Record<IsPhoneVerified, number>;
256
+ region: Record<Region, number>;
255
257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.81",
3
+ "version": "1.2.82",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",