lancer-shared 1.0.102 → 1.0.104

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.
@@ -33,6 +33,84 @@ export declare const bidFormDataSchema: z.ZodObject<{
33
33
  maximumBoost: number | null;
34
34
  minimumBoost: number | null;
35
35
  }>;
36
+ export declare const freelancerBidFormDataSchema: z.ZodObject<{
37
+ coverLetter: z.ZodString;
38
+ questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
39
+ question: z.ZodString;
40
+ answer: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ answer: string;
43
+ question: string;
44
+ }, {
45
+ answer: string;
46
+ question: string;
47
+ }>, "many">>;
48
+ boostingEnabled: z.ZodBoolean;
49
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
50
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ coverLetter: string;
53
+ questionAnswerPairs: {
54
+ answer: string;
55
+ question: string;
56
+ }[] | null;
57
+ boostingEnabled: boolean;
58
+ maximumBoost: number | null;
59
+ minimumBoost: number | null;
60
+ }, {
61
+ coverLetter: string;
62
+ questionAnswerPairs: {
63
+ answer: string;
64
+ question: string;
65
+ }[] | null;
66
+ boostingEnabled: boolean;
67
+ maximumBoost: number | null;
68
+ minimumBoost: number | null;
69
+ }>;
70
+ export declare const agencyBidFormDataSchema: z.ZodObject<z.objectUtil.extendShape<{
71
+ coverLetter: z.ZodString;
72
+ questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
73
+ question: z.ZodString;
74
+ answer: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
76
+ answer: string;
77
+ question: string;
78
+ }, {
79
+ answer: string;
80
+ question: string;
81
+ }>, "many">>;
82
+ boostingEnabled: z.ZodBoolean;
83
+ minimumBoost: z.ZodNullable<z.ZodNumber>;
84
+ maximumBoost: z.ZodNullable<z.ZodNumber>;
85
+ }, {
86
+ agencyName: z.ZodString;
87
+ contractorName: z.ZodString;
88
+ specializedProfile: z.ZodNullable<z.ZodString>;
89
+ }>, "strip", z.ZodTypeAny, {
90
+ coverLetter: string;
91
+ questionAnswerPairs: {
92
+ answer: string;
93
+ question: string;
94
+ }[] | null;
95
+ boostingEnabled: boolean;
96
+ maximumBoost: number | null;
97
+ minimumBoost: number | null;
98
+ agencyName: string;
99
+ contractorName: string;
100
+ specializedProfile: string | null;
101
+ }, {
102
+ coverLetter: string;
103
+ questionAnswerPairs: {
104
+ answer: string;
105
+ question: string;
106
+ }[] | null;
107
+ boostingEnabled: boolean;
108
+ maximumBoost: number | null;
109
+ minimumBoost: number | null;
110
+ agencyName: string;
111
+ contractorName: string;
112
+ specializedProfile: string | null;
113
+ }>;
36
114
  export declare const bidSchema: z.ZodObject<{
37
115
  userId: z.ZodString;
38
116
  jobUrl: z.ZodString;
@@ -174,11 +252,11 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
174
252
  cookies: any[];
175
253
  password: string;
176
254
  jobUrl: string;
177
- userId: string;
178
- campaignId: string;
179
255
  agencyName: string;
180
256
  contractorName: string;
181
257
  specializedProfile: string | null;
258
+ userId: string;
259
+ campaignId: string;
182
260
  }, {
183
261
  formData: {
184
262
  coverLetter: string;
@@ -195,11 +273,11 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
195
273
  cookies: any[];
196
274
  password: string;
197
275
  jobUrl: string;
198
- userId: string;
199
- campaignId: string;
200
276
  agencyName: string;
201
277
  contractorName: string;
202
278
  specializedProfile: string | null;
279
+ userId: string;
280
+ campaignId: string;
203
281
  }>;
204
282
  export declare const freelancerBidSchema: z.ZodObject<{
205
283
  userId: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.freelancerBidSchema = exports.agencyBidSchema = exports.bidSchema = exports.bidFormDataSchema = void 0;
3
+ exports.freelancerBidSchema = exports.agencyBidSchema = exports.bidSchema = exports.agencyBidFormDataSchema = exports.freelancerBidFormDataSchema = exports.bidFormDataSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const ai_1 = require("../ai");
6
6
  exports.bidFormDataSchema = zod_1.z.object({
@@ -10,6 +10,12 @@ exports.bidFormDataSchema = zod_1.z.object({
10
10
  minimumBoost: zod_1.z.number().nullable(),
11
11
  maximumBoost: zod_1.z.number().nullable(),
12
12
  });
13
+ exports.freelancerBidFormDataSchema = exports.bidFormDataSchema;
14
+ exports.agencyBidFormDataSchema = exports.bidFormDataSchema.extend({
15
+ agencyName: zod_1.z.string(),
16
+ contractorName: zod_1.z.string(),
17
+ specializedProfile: zod_1.z.string().nullable(),
18
+ });
13
19
  exports.bidSchema = zod_1.z.object({
14
20
  userId: zod_1.z.string(),
15
21
  jobUrl: zod_1.z.string(),
@@ -14,7 +14,7 @@ export declare const campaignSchema: z.ZodObject<{
14
14
  includes: string | null;
15
15
  excludes: string | null;
16
16
  }>>;
17
- isFeatured: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
17
+ isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
18
18
  regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
19
19
  categories: z.ZodNullable<z.ZodObject<{
20
20
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -161,7 +161,7 @@ export declare const campaignSchema: z.ZodObject<{
161
161
  requiredEarnings: 100 | 1000 | 10000 | null;
162
162
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
163
163
  } | null;
164
- isFeatured: "false" | "all" | "true";
164
+ isFeatured: "false" | "all" | "true" | null;
165
165
  keywords: {
166
166
  includes: string | null;
167
167
  excludes: string | null;
@@ -211,6 +211,7 @@ export declare const campaignSchema: z.ZodObject<{
211
211
  requiredEarnings: 100 | 1000 | 10000 | null;
212
212
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
213
213
  } | null;
214
+ isFeatured: "false" | "all" | "true" | null;
214
215
  keywords: {
215
216
  includes: string | null;
216
217
  excludes: string | null;
@@ -228,7 +229,6 @@ export declare const campaignSchema: z.ZodObject<{
228
229
  maxHourlyRate: number | null;
229
230
  } | null;
230
231
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
231
- isFeatured?: "false" | "all" | "true" | undefined;
232
232
  }>;
233
233
  createdAt: z.ZodNumber;
234
234
  updatedAt: z.ZodNumber;
@@ -334,7 +334,7 @@ export declare const campaignSchema: z.ZodObject<{
334
334
  requiredEarnings: 100 | 1000 | 10000 | null;
335
335
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
336
336
  } | null;
337
- isFeatured: "false" | "all" | "true";
337
+ isFeatured: "false" | "all" | "true" | null;
338
338
  keywords: {
339
339
  includes: string | null;
340
340
  excludes: string | null;
@@ -416,6 +416,7 @@ export declare const campaignSchema: z.ZodObject<{
416
416
  requiredEarnings: 100 | 1000 | 10000 | null;
417
417
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
418
418
  } | null;
419
+ isFeatured: "false" | "all" | "true" | null;
419
420
  keywords: {
420
421
  includes: string | null;
421
422
  excludes: string | null;
@@ -433,7 +434,6 @@ export declare const campaignSchema: z.ZodObject<{
433
434
  maxHourlyRate: number | null;
434
435
  } | null;
435
436
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
436
- isFeatured?: "false" | "all" | "true" | undefined;
437
437
  };
438
438
  automatedSuitability: boolean | null;
439
439
  automatedBidding: boolean | null;
@@ -475,7 +475,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
475
475
  includes: string | null;
476
476
  excludes: string | null;
477
477
  }>>;
478
- isFeatured: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
478
+ isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
479
479
  regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
480
480
  categories: z.ZodNullable<z.ZodObject<{
481
481
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -622,7 +622,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
622
622
  requiredEarnings: 100 | 1000 | 10000 | null;
623
623
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
624
624
  } | null;
625
- isFeatured: "false" | "all" | "true";
625
+ isFeatured: "false" | "all" | "true" | null;
626
626
  keywords: {
627
627
  includes: string | null;
628
628
  excludes: string | null;
@@ -672,6 +672,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
672
672
  requiredEarnings: 100 | 1000 | 10000 | null;
673
673
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
674
674
  } | null;
675
+ isFeatured: "false" | "all" | "true" | null;
675
676
  keywords: {
676
677
  includes: string | null;
677
678
  excludes: string | null;
@@ -689,7 +690,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
689
690
  maxHourlyRate: number | null;
690
691
  } | null;
691
692
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
692
- isFeatured?: "false" | "all" | "true" | undefined;
693
693
  }>;
694
694
  createdAt: z.ZodNumber;
695
695
  updatedAt: z.ZodNumber;
@@ -792,7 +792,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
792
792
  requiredEarnings: 100 | 1000 | 10000 | null;
793
793
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
794
794
  } | null;
795
- isFeatured: "false" | "all" | "true";
795
+ isFeatured: "false" | "all" | "true" | null;
796
796
  keywords: {
797
797
  includes: string | null;
798
798
  excludes: string | null;
@@ -871,6 +871,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
871
871
  requiredEarnings: 100 | 1000 | 10000 | null;
872
872
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
873
873
  } | null;
874
+ isFeatured: "false" | "all" | "true" | null;
874
875
  keywords: {
875
876
  includes: string | null;
876
877
  excludes: string | null;
@@ -888,7 +889,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
888
889
  maxHourlyRate: number | null;
889
890
  } | null;
890
891
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
891
- isFeatured?: "false" | "all" | "true" | undefined;
892
892
  };
893
893
  automatedSuitability: boolean | null;
894
894
  automatedBidding: boolean | null;
@@ -930,7 +930,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
930
930
  includes: string | null;
931
931
  excludes: string | null;
932
932
  }>>;
933
- isFeatured: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
933
+ isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
934
934
  regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
935
935
  categories: z.ZodNullable<z.ZodObject<{
936
936
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -1077,7 +1077,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1077
1077
  requiredEarnings: 100 | 1000 | 10000 | null;
1078
1078
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1079
1079
  } | null;
1080
- isFeatured: "false" | "all" | "true";
1080
+ isFeatured: "false" | "all" | "true" | null;
1081
1081
  keywords: {
1082
1082
  includes: string | null;
1083
1083
  excludes: string | null;
@@ -1127,6 +1127,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1127
1127
  requiredEarnings: 100 | 1000 | 10000 | null;
1128
1128
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1129
1129
  } | null;
1130
+ isFeatured: "false" | "all" | "true" | null;
1130
1131
  keywords: {
1131
1132
  includes: string | null;
1132
1133
  excludes: string | null;
@@ -1144,7 +1145,6 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1144
1145
  maxHourlyRate: number | null;
1145
1146
  } | null;
1146
1147
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1147
- isFeatured?: "false" | "all" | "true" | undefined;
1148
1148
  }>;
1149
1149
  createdAt: z.ZodNumber;
1150
1150
  updatedAt: z.ZodNumber;
@@ -1248,7 +1248,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1248
1248
  requiredEarnings: 100 | 1000 | 10000 | null;
1249
1249
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1250
1250
  } | null;
1251
- isFeatured: "false" | "all" | "true";
1251
+ isFeatured: "false" | "all" | "true" | null;
1252
1252
  keywords: {
1253
1253
  includes: string | null;
1254
1254
  excludes: string | null;
@@ -1328,6 +1328,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1328
1328
  requiredEarnings: 100 | 1000 | 10000 | null;
1329
1329
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1330
1330
  } | null;
1331
+ isFeatured: "false" | "all" | "true" | null;
1331
1332
  keywords: {
1332
1333
  includes: string | null;
1333
1334
  excludes: string | null;
@@ -1345,7 +1346,6 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1345
1346
  maxHourlyRate: number | null;
1346
1347
  } | null;
1347
1348
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1348
- isFeatured?: "false" | "all" | "true" | undefined;
1349
1349
  };
1350
1350
  automatedSuitability: boolean | null;
1351
1351
  automatedBidding: boolean | null;
@@ -23,7 +23,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
23
23
  includes: string | null;
24
24
  excludes: string | null;
25
25
  }>>;
26
- isFeatured: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
26
+ isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
27
27
  regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
28
28
  categories: z.ZodNullable<z.ZodObject<{
29
29
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -170,7 +170,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
170
170
  requiredEarnings: 100 | 1000 | 10000 | null;
171
171
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
172
172
  } | null;
173
- isFeatured: "false" | "all" | "true";
173
+ isFeatured: "false" | "all" | "true" | null;
174
174
  keywords: {
175
175
  includes: string | null;
176
176
  excludes: string | null;
@@ -220,6 +220,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
220
220
  requiredEarnings: 100 | 1000 | 10000 | null;
221
221
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
222
222
  } | null;
223
+ isFeatured: "false" | "all" | "true" | null;
223
224
  keywords: {
224
225
  includes: string | null;
225
226
  excludes: string | null;
@@ -237,5 +238,4 @@ export declare const jobFiltersSchema: z.ZodObject<{
237
238
  maxHourlyRate: number | null;
238
239
  } | null;
239
240
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
240
- isFeatured?: "false" | "all" | "true" | undefined;
241
241
  }>;
@@ -29,7 +29,7 @@ exports.jobFiltersSchema = zod_1.z.object({
29
29
  excludes: zod_1.z.string().nullable(),
30
30
  })
31
31
  .nullable(),
32
- isFeatured: zod_1.z.enum(["all", "true", "false"]).default("all"),
32
+ isFeatured: zod_1.z.enum(["all", "true", "false"]).nullable(),
33
33
  regions: zod_1.z.array(exports.regionEnum).nullable(),
34
34
  categories: zod_1.z
35
35
  .object({
@@ -1,7 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { agencyBidSchema, bidFormDataSchema, bidSchema, freelancerBidSchema } from '../../schemas/bid';
2
+ import { agencyBidFormDataSchema, agencyBidSchema, bidFormDataSchema, bidSchema, freelancerBidFormDataSchema, freelancerBidSchema } from '../../schemas/bid';
3
3
  export interface BidFormData extends z.infer<typeof bidFormDataSchema> {
4
4
  }
5
+ export interface FreelancerBidFormData extends z.infer<typeof freelancerBidFormDataSchema> {
6
+ }
7
+ export interface AgencyBidFormData extends z.infer<typeof agencyBidFormDataSchema> {
8
+ }
5
9
  export interface Bid extends z.infer<typeof bidSchema> {
6
10
  formData: BidFormData;
7
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.102",
4
+ "version": "1.0.104",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",