lancer-shared 1.2.270 → 1.2.272

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.
Files changed (45) hide show
  1. package/dist/bundle.cjs.js +13 -6
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +13 -7
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/constants/routes.d.ts +1 -1
  6. package/dist/schemas/account/bidder-account.d.ts +20 -20
  7. package/dist/schemas/account/scraper-account.d.ts +22 -22
  8. package/dist/schemas/agent/index.d.ts +216 -216
  9. package/dist/schemas/agent/proposal.d.ts +2 -2
  10. package/dist/schemas/bidder/bid.d.ts +2062 -2043
  11. package/dist/schemas/campaign/campaign-analytics.d.ts +840 -784
  12. package/dist/schemas/campaign/campaign-chat-bot.d.ts +9 -9
  13. package/dist/schemas/campaign/campaign.d.ts +378 -378
  14. package/dist/schemas/dashboard/index.d.ts +12 -12
  15. package/dist/schemas/golden-dataset/sample.d.ts +8 -8
  16. package/dist/schemas/invoice/index.d.ts +4 -4
  17. package/dist/schemas/job/index.d.ts +112 -112
  18. package/dist/schemas/job/job-api.d.ts +6 -6
  19. package/dist/schemas/job/job-details.d.ts +74 -74
  20. package/dist/schemas/job/job-filters.d.ts +47 -47
  21. package/dist/schemas/job/job-listing.d.ts +22 -22
  22. package/dist/schemas/job/nuxt.d.ts +24 -24
  23. package/dist/schemas/lead/index.d.ts +845 -844
  24. package/dist/schemas/lead/insufficient-connects-action.d.ts +3 -0
  25. package/dist/schemas/lead/lead-status.d.ts +10 -10
  26. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +6 -6
  27. package/dist/schemas/logger/feed/feed-enrich.d.ts +6 -6
  28. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +140 -140
  29. package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
  30. package/dist/schemas/logger/log-event.d.ts +72 -72
  31. package/dist/schemas/logger/scraper-events.d.ts +28 -28
  32. package/dist/schemas/notifications/index.d.ts +4 -4
  33. package/dist/schemas/organization/billing.d.ts +2 -2
  34. package/dist/schemas/organization/index.d.ts +86 -66
  35. package/dist/schemas/organization/organization-leads.d.ts +4 -4
  36. package/dist/schemas/organization/subscription.d.ts +15 -9
  37. package/dist/schemas/plan/index.d.ts +22 -22
  38. package/dist/schemas/proxy/proxy.d.ts +2 -2
  39. package/dist/schemas/scraper/scrape-payload.d.ts +514 -495
  40. package/dist/schemas/scraper/scrape-result.d.ts +136 -136
  41. package/dist/schemas/talent/index.d.ts +148 -148
  42. package/dist/schemas/transaction/index.d.ts +2 -2
  43. package/dist/schemas/usage/index.d.ts +2 -2
  44. package/dist/schemas/usage-event/index.d.ts +8 -8
  45. package/package.json +1 -1
@@ -139,8 +139,9 @@ export declare const campaignSchema: z.ZodObject<{
139
139
  memberSinceFrom: z.ZodNullable<z.ZodString>;
140
140
  memberSinceTo: z.ZodNullable<z.ZodString>;
141
141
  }, "strip", z.ZodTypeAny, {
142
- isPaymentVerified: "false" | "all" | "true";
143
142
  isPhoneVerified: "false" | "all" | "true";
143
+ isPaymentVerified: "false" | "all" | "true";
144
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
144
145
  enterpriseClient: "false" | "all" | "true";
145
146
  clientLocationIncludes: string[] | null;
146
147
  clientLocationExcludes: string[] | null;
@@ -151,7 +152,6 @@ export declare const campaignSchema: z.ZodObject<{
151
152
  minHireRate: number | null;
152
153
  maxHireRate: number | null;
153
154
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
154
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
155
155
  minJobsPosted: number | null;
156
156
  minAvgHourlyRate: number | null;
157
157
  maxAvgHourlyRate: number | null;
@@ -159,6 +159,7 @@ export declare const campaignSchema: z.ZodObject<{
159
159
  memberSinceFrom: string | null;
160
160
  memberSinceTo: string | null;
161
161
  }, {
162
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
162
163
  clientLocationIncludes: string[] | null;
163
164
  clientLocationExcludes: string[] | null;
164
165
  minReviewScore: number | null;
@@ -168,15 +169,14 @@ export declare const campaignSchema: z.ZodObject<{
168
169
  minHireRate: number | null;
169
170
  maxHireRate: number | null;
170
171
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
171
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
172
172
  minJobsPosted: number | null;
173
173
  minAvgHourlyRate: number | null;
174
174
  maxAvgHourlyRate: number | null;
175
175
  minNumReviews: number | null;
176
176
  memberSinceFrom: string | null;
177
177
  memberSinceTo: string | null;
178
- isPaymentVerified?: "false" | "all" | "true" | undefined;
179
178
  isPhoneVerified?: "false" | "all" | "true" | undefined;
179
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
180
180
  enterpriseClient?: "false" | "all" | "true" | undefined;
181
181
  }>>;
182
182
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
@@ -192,50 +192,33 @@ export declare const campaignSchema: z.ZodObject<{
192
192
  requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
193
193
  requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
194
194
  }, "strip", z.ZodTypeAny, {
195
+ includeRisingTalent: string | null;
195
196
  locationIncludes: string[] | null;
196
197
  locationExcludes: string[] | null;
197
198
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
198
199
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
199
- includeRisingTalent: string | null;
200
200
  requiredEarnings: 100 | 1000 | 10000 | null;
201
201
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
202
202
  }, {
203
+ includeRisingTalent: string | null;
203
204
  locationIncludes: string[] | null;
204
205
  locationExcludes: string[] | null;
205
206
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
206
207
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
207
- includeRisingTalent: string | null;
208
208
  requiredEarnings: 100 | 1000 | 10000 | null;
209
209
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
210
210
  }>>;
211
211
  }, "strip", z.ZodTypeAny, {
212
- keywords: {
213
- includes: string | null;
214
- excludes: string | null;
215
- } | null;
216
- searchQuery: string | null;
217
- isFeatured: "false" | "all" | "true" | null;
218
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
219
- categories: {
220
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
221
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
222
- } | null;
223
- payment: {
224
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
225
- minFixedPrice: number | null;
226
- maxFixedPrice: number | null;
227
- minHourlyRate: number | null;
228
- maxHourlyRate: number | null;
229
- } | null;
230
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
231
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
212
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
232
213
  questions: {
233
214
  hasQuestions: ("all" | "yes" | "no")[];
234
215
  } | null;
235
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
216
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
217
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
236
218
  clientInfo: {
237
- isPaymentVerified: "false" | "all" | "true";
238
219
  isPhoneVerified: "false" | "all" | "true";
220
+ isPaymentVerified: "false" | "all" | "true";
221
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
239
222
  enterpriseClient: "false" | "all" | "true";
240
223
  clientLocationIncludes: string[] | null;
241
224
  clientLocationExcludes: string[] | null;
@@ -246,7 +229,6 @@ export declare const campaignSchema: z.ZodObject<{
246
229
  minHireRate: number | null;
247
230
  maxHireRate: number | null;
248
231
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
249
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
250
232
  minJobsPosted: number | null;
251
233
  minAvgHourlyRate: number | null;
252
234
  maxAvgHourlyRate: number | null;
@@ -254,27 +236,21 @@ export declare const campaignSchema: z.ZodObject<{
254
236
  memberSinceFrom: string | null;
255
237
  memberSinceTo: string | null;
256
238
  } | null;
257
- includeClientsWithZeroReviews: boolean | null;
258
- includeClientsWithLessThanXPostedJobs: number | null;
259
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
260
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
261
239
  vendorQualifications: {
240
+ includeRisingTalent: string | null;
262
241
  locationIncludes: string[] | null;
263
242
  locationExcludes: string[] | null;
264
243
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
265
244
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
266
- includeRisingTalent: string | null;
267
245
  requiredEarnings: 100 | 1000 | 10000 | null;
268
246
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
269
247
  } | null;
270
- }, {
248
+ isFeatured: "false" | "all" | "true" | null;
271
249
  keywords: {
272
250
  includes: string | null;
273
251
  excludes: string | null;
274
252
  } | null;
275
253
  searchQuery: string | null;
276
- isFeatured: "false" | "all" | "true" | null;
277
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
278
254
  categories: {
279
255
  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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
280
256
  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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -286,13 +262,20 @@ export declare const campaignSchema: z.ZodObject<{
286
262
  minHourlyRate: number | null;
287
263
  maxHourlyRate: number | null;
288
264
  } | null;
289
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
290
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
265
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
266
+ includeClientsWithZeroReviews: boolean | null;
267
+ includeClientsWithLessThanXPostedJobs: number | null;
268
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
269
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
270
+ }, {
271
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
291
272
  questions: {
292
273
  hasQuestions: ("all" | "yes" | "no")[];
293
274
  } | null;
294
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
275
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
276
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
295
277
  clientInfo: {
278
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
296
279
  clientLocationIncludes: string[] | null;
297
280
  clientLocationExcludes: string[] | null;
298
281
  minReviewScore: number | null;
@@ -302,30 +285,47 @@ export declare const campaignSchema: z.ZodObject<{
302
285
  minHireRate: number | null;
303
286
  maxHireRate: number | null;
304
287
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
305
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
306
288
  minJobsPosted: number | null;
307
289
  minAvgHourlyRate: number | null;
308
290
  maxAvgHourlyRate: number | null;
309
291
  minNumReviews: number | null;
310
292
  memberSinceFrom: string | null;
311
293
  memberSinceTo: string | null;
312
- isPaymentVerified?: "false" | "all" | "true" | undefined;
313
294
  isPhoneVerified?: "false" | "all" | "true" | undefined;
295
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
314
296
  enterpriseClient?: "false" | "all" | "true" | undefined;
315
297
  } | null;
316
- includeClientsWithZeroReviews: boolean | null;
317
- includeClientsWithLessThanXPostedJobs: number | null;
318
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
319
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
320
298
  vendorQualifications: {
299
+ includeRisingTalent: string | null;
321
300
  locationIncludes: string[] | null;
322
301
  locationExcludes: string[] | null;
323
302
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
324
303
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
325
- includeRisingTalent: string | null;
326
304
  requiredEarnings: 100 | 1000 | 10000 | null;
327
305
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
328
306
  } | null;
307
+ isFeatured: "false" | "all" | "true" | null;
308
+ keywords: {
309
+ includes: string | null;
310
+ excludes: string | null;
311
+ } | null;
312
+ searchQuery: string | null;
313
+ categories: {
314
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
315
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
316
+ } | null;
317
+ payment: {
318
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
319
+ minFixedPrice: number | null;
320
+ maxFixedPrice: number | null;
321
+ minHourlyRate: number | null;
322
+ maxHourlyRate: number | null;
323
+ } | null;
324
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
325
+ includeClientsWithZeroReviews: boolean | null;
326
+ includeClientsWithLessThanXPostedJobs: number | null;
327
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
328
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
329
329
  }>;
330
330
  createdAt: z.ZodNumber;
331
331
  updatedAt: z.ZodNumber;
@@ -447,15 +447,11 @@ export declare const campaignSchema: z.ZodObject<{
447
447
  id: string;
448
448
  priority: number | null;
449
449
  name: string;
450
- limits: {
451
- enabled: boolean;
452
- maxDailyProposalsSent: number;
453
- windowAnchorAt: number | null;
454
- };
455
450
  createdAt: number;
456
451
  updatedAt: number;
452
+ coverLetterTemplateId: string | null;
457
453
  biddingDelayInMinutes: number;
458
- bidWithWarning: "skip" | "bid";
454
+ bidWithWarning: "bid" | "skip";
459
455
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
460
456
  biddingHourlyRatePercentage: number | null;
461
457
  biddingFixedHourlyRate: number | null;
@@ -465,42 +461,24 @@ export declare const campaignSchema: z.ZodObject<{
465
461
  maximumBoost: number | null;
466
462
  minBoost: number | null;
467
463
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
468
- alreadyHiredAction: "skip" | "bid";
464
+ alreadyHiredAction: "bid" | "skip";
469
465
  bidConfig: {
470
466
  contractorName: string | null;
471
467
  agencyName: string | null;
472
468
  specialisedProfile: string | null;
473
469
  bidderId: string | null;
474
470
  } | null;
475
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
476
471
  filters: {
477
- keywords: {
478
- includes: string | null;
479
- excludes: string | null;
480
- } | null;
481
- searchQuery: string | null;
482
- isFeatured: "false" | "all" | "true" | null;
483
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
484
- categories: {
485
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
486
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
487
- } | null;
488
- payment: {
489
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
490
- minFixedPrice: number | null;
491
- maxFixedPrice: number | null;
492
- minHourlyRate: number | null;
493
- maxHourlyRate: number | null;
494
- } | null;
495
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
496
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
472
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
497
473
  questions: {
498
474
  hasQuestions: ("all" | "yes" | "no")[];
499
475
  } | null;
500
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
476
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
477
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
501
478
  clientInfo: {
502
- isPaymentVerified: "false" | "all" | "true";
503
479
  isPhoneVerified: "false" | "all" | "true";
480
+ isPaymentVerified: "false" | "all" | "true";
481
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
504
482
  enterpriseClient: "false" | "all" | "true";
505
483
  clientLocationIncludes: string[] | null;
506
484
  clientLocationExcludes: string[] | null;
@@ -511,7 +489,6 @@ export declare const campaignSchema: z.ZodObject<{
511
489
  minHireRate: number | null;
512
490
  maxHireRate: number | null;
513
491
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
514
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
515
492
  minJobsPosted: number | null;
516
493
  minAvgHourlyRate: number | null;
517
494
  maxAvgHourlyRate: number | null;
@@ -519,24 +496,42 @@ export declare const campaignSchema: z.ZodObject<{
519
496
  memberSinceFrom: string | null;
520
497
  memberSinceTo: string | null;
521
498
  } | null;
522
- includeClientsWithZeroReviews: boolean | null;
523
- includeClientsWithLessThanXPostedJobs: number | null;
524
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
525
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
526
499
  vendorQualifications: {
500
+ includeRisingTalent: string | null;
527
501
  locationIncludes: string[] | null;
528
502
  locationExcludes: string[] | null;
529
503
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
530
504
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
531
- includeRisingTalent: string | null;
532
505
  requiredEarnings: 100 | 1000 | 10000 | null;
533
506
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
534
507
  } | null;
508
+ isFeatured: "false" | "all" | "true" | null;
509
+ keywords: {
510
+ includes: string | null;
511
+ excludes: string | null;
512
+ } | null;
513
+ searchQuery: string | null;
514
+ categories: {
515
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
516
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
517
+ } | null;
518
+ payment: {
519
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
520
+ minFixedPrice: number | null;
521
+ maxFixedPrice: number | null;
522
+ minHourlyRate: number | null;
523
+ maxHourlyRate: number | null;
524
+ } | null;
525
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
526
+ includeClientsWithZeroReviews: boolean | null;
527
+ includeClientsWithLessThanXPostedJobs: number | null;
528
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
529
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
535
530
  };
536
- coverLetterTemplateId: string | null;
537
531
  confirmedBillingAt: number | null;
538
532
  monthlyBudget: number | null;
539
533
  boostingThreshold: number | null;
534
+ leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
540
535
  expenses: {
541
536
  biddingAmount: number;
542
537
  boosted: number;
@@ -552,6 +547,11 @@ export declare const campaignSchema: z.ZodObject<{
552
547
  } | null;
553
548
  organizationProfileId: string | null;
554
549
  lastSyncedProposalsAt: number | null;
550
+ limits: {
551
+ enabled: boolean;
552
+ maxDailyProposalsSent: number;
553
+ windowAnchorAt: number | null;
554
+ };
555
555
  workTime: {
556
556
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
557
557
  enabled: boolean;
@@ -566,54 +566,32 @@ export declare const campaignSchema: z.ZodObject<{
566
566
  id: string;
567
567
  priority: number | null;
568
568
  name: string;
569
- limits: {
570
- enabled: boolean;
571
- maxDailyProposalsSent: number;
572
- windowAnchorAt: number | null;
573
- };
574
569
  createdAt: number;
575
570
  updatedAt: number;
576
- bidWithWarning: "skip" | "bid";
571
+ coverLetterTemplateId: string | null;
572
+ bidWithWarning: "bid" | "skip";
577
573
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
578
574
  biddingHourlyRatePercentage: number | null;
579
575
  biddingFixedHourlyRate: number | null;
580
576
  boostDownToNthPlace: number | null;
581
577
  connectsAbovePrevious: number | null;
582
578
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
583
- alreadyHiredAction: "skip" | "bid";
579
+ alreadyHiredAction: "bid" | "skip";
584
580
  bidConfig: {
585
581
  contractorName: string | null;
586
582
  agencyName: string | null;
587
583
  specialisedProfile: string | null;
588
584
  bidderId: string | null;
589
585
  } | null;
590
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
591
586
  filters: {
592
- keywords: {
593
- includes: string | null;
594
- excludes: string | null;
595
- } | null;
596
- searchQuery: string | null;
597
- isFeatured: "false" | "all" | "true" | null;
598
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
599
- categories: {
600
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
601
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
602
- } | null;
603
- payment: {
604
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
605
- minFixedPrice: number | null;
606
- maxFixedPrice: number | null;
607
- minHourlyRate: number | null;
608
- maxHourlyRate: number | null;
609
- } | null;
610
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
611
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
587
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
612
588
  questions: {
613
589
  hasQuestions: ("all" | "yes" | "no")[];
614
590
  } | null;
615
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
591
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
592
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
616
593
  clientInfo: {
594
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
617
595
  clientLocationIncludes: string[] | null;
618
596
  clientLocationExcludes: string[] | null;
619
597
  minReviewScore: number | null;
@@ -623,34 +601,51 @@ export declare const campaignSchema: z.ZodObject<{
623
601
  minHireRate: number | null;
624
602
  maxHireRate: number | null;
625
603
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
626
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
627
604
  minJobsPosted: number | null;
628
605
  minAvgHourlyRate: number | null;
629
606
  maxAvgHourlyRate: number | null;
630
607
  minNumReviews: number | null;
631
608
  memberSinceFrom: string | null;
632
609
  memberSinceTo: string | null;
633
- isPaymentVerified?: "false" | "all" | "true" | undefined;
634
610
  isPhoneVerified?: "false" | "all" | "true" | undefined;
611
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
635
612
  enterpriseClient?: "false" | "all" | "true" | undefined;
636
613
  } | null;
637
- includeClientsWithZeroReviews: boolean | null;
638
- includeClientsWithLessThanXPostedJobs: number | null;
639
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
640
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
641
614
  vendorQualifications: {
615
+ includeRisingTalent: string | null;
642
616
  locationIncludes: string[] | null;
643
617
  locationExcludes: string[] | null;
644
618
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
645
619
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
646
- includeRisingTalent: string | null;
647
620
  requiredEarnings: 100 | 1000 | 10000 | null;
648
621
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
649
622
  } | null;
623
+ isFeatured: "false" | "all" | "true" | null;
624
+ keywords: {
625
+ includes: string | null;
626
+ excludes: string | null;
627
+ } | null;
628
+ searchQuery: string | null;
629
+ categories: {
630
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
631
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
632
+ } | null;
633
+ payment: {
634
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
635
+ minFixedPrice: number | null;
636
+ maxFixedPrice: number | null;
637
+ minHourlyRate: number | null;
638
+ maxHourlyRate: number | null;
639
+ } | null;
640
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
641
+ includeClientsWithZeroReviews: boolean | null;
642
+ includeClientsWithLessThanXPostedJobs: number | null;
643
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
644
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
650
645
  };
651
- coverLetterTemplateId: string | null;
652
646
  confirmedBillingAt: number | null;
653
647
  monthlyBudget: number | null;
648
+ leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
654
649
  expenses: {
655
650
  biddingAmount?: number | undefined;
656
651
  boosted?: number | undefined;
@@ -666,6 +661,11 @@ export declare const campaignSchema: z.ZodObject<{
666
661
  } | null;
667
662
  organizationProfileId: string | null;
668
663
  lastSyncedProposalsAt: number | null;
664
+ limits: {
665
+ enabled: boolean;
666
+ maxDailyProposalsSent: number;
667
+ windowAnchorAt: number | null;
668
+ };
669
669
  workTime: {
670
670
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
671
671
  enabled: boolean;
@@ -778,8 +778,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
778
778
  memberSinceFrom: z.ZodNullable<z.ZodString>;
779
779
  memberSinceTo: z.ZodNullable<z.ZodString>;
780
780
  }, "strip", z.ZodTypeAny, {
781
- isPaymentVerified: "false" | "all" | "true";
782
781
  isPhoneVerified: "false" | "all" | "true";
782
+ isPaymentVerified: "false" | "all" | "true";
783
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
783
784
  enterpriseClient: "false" | "all" | "true";
784
785
  clientLocationIncludes: string[] | null;
785
786
  clientLocationExcludes: string[] | null;
@@ -790,7 +791,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
790
791
  minHireRate: number | null;
791
792
  maxHireRate: number | null;
792
793
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
793
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
794
794
  minJobsPosted: number | null;
795
795
  minAvgHourlyRate: number | null;
796
796
  maxAvgHourlyRate: number | null;
@@ -798,6 +798,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
798
798
  memberSinceFrom: string | null;
799
799
  memberSinceTo: string | null;
800
800
  }, {
801
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
801
802
  clientLocationIncludes: string[] | null;
802
803
  clientLocationExcludes: string[] | null;
803
804
  minReviewScore: number | null;
@@ -807,15 +808,14 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
807
808
  minHireRate: number | null;
808
809
  maxHireRate: number | null;
809
810
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
810
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
811
811
  minJobsPosted: number | null;
812
812
  minAvgHourlyRate: number | null;
813
813
  maxAvgHourlyRate: number | null;
814
814
  minNumReviews: number | null;
815
815
  memberSinceFrom: string | null;
816
816
  memberSinceTo: string | null;
817
- isPaymentVerified?: "false" | "all" | "true" | undefined;
818
817
  isPhoneVerified?: "false" | "all" | "true" | undefined;
818
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
819
819
  enterpriseClient?: "false" | "all" | "true" | undefined;
820
820
  }>>;
821
821
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
@@ -831,50 +831,33 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
831
831
  requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
832
832
  requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
833
833
  }, "strip", z.ZodTypeAny, {
834
+ includeRisingTalent: string | null;
834
835
  locationIncludes: string[] | null;
835
836
  locationExcludes: string[] | null;
836
837
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
837
838
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
838
- includeRisingTalent: string | null;
839
839
  requiredEarnings: 100 | 1000 | 10000 | null;
840
840
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
841
841
  }, {
842
+ includeRisingTalent: string | null;
842
843
  locationIncludes: string[] | null;
843
844
  locationExcludes: string[] | null;
844
845
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
845
846
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
846
- includeRisingTalent: string | null;
847
847
  requiredEarnings: 100 | 1000 | 10000 | null;
848
848
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
849
849
  }>>;
850
850
  }, "strip", z.ZodTypeAny, {
851
- keywords: {
852
- includes: string | null;
853
- excludes: string | null;
854
- } | null;
855
- searchQuery: string | null;
856
- isFeatured: "false" | "all" | "true" | null;
857
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
858
- categories: {
859
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
860
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
861
- } | null;
862
- payment: {
863
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
864
- minFixedPrice: number | null;
865
- maxFixedPrice: number | null;
866
- minHourlyRate: number | null;
867
- maxHourlyRate: number | null;
868
- } | null;
869
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
870
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
851
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
871
852
  questions: {
872
853
  hasQuestions: ("all" | "yes" | "no")[];
873
854
  } | null;
874
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
855
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
856
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
875
857
  clientInfo: {
876
- isPaymentVerified: "false" | "all" | "true";
877
858
  isPhoneVerified: "false" | "all" | "true";
859
+ isPaymentVerified: "false" | "all" | "true";
860
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
878
861
  enterpriseClient: "false" | "all" | "true";
879
862
  clientLocationIncludes: string[] | null;
880
863
  clientLocationExcludes: string[] | null;
@@ -885,7 +868,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
885
868
  minHireRate: number | null;
886
869
  maxHireRate: number | null;
887
870
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
888
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
889
871
  minJobsPosted: number | null;
890
872
  minAvgHourlyRate: number | null;
891
873
  maxAvgHourlyRate: number | null;
@@ -893,27 +875,21 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
893
875
  memberSinceFrom: string | null;
894
876
  memberSinceTo: string | null;
895
877
  } | null;
896
- includeClientsWithZeroReviews: boolean | null;
897
- includeClientsWithLessThanXPostedJobs: number | null;
898
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
899
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
900
878
  vendorQualifications: {
879
+ includeRisingTalent: string | null;
901
880
  locationIncludes: string[] | null;
902
881
  locationExcludes: string[] | null;
903
882
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
904
883
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
905
- includeRisingTalent: string | null;
906
884
  requiredEarnings: 100 | 1000 | 10000 | null;
907
885
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
908
886
  } | null;
909
- }, {
887
+ isFeatured: "false" | "all" | "true" | null;
910
888
  keywords: {
911
889
  includes: string | null;
912
890
  excludes: string | null;
913
891
  } | null;
914
892
  searchQuery: string | null;
915
- isFeatured: "false" | "all" | "true" | null;
916
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
917
893
  categories: {
918
894
  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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
919
895
  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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -925,13 +901,20 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
925
901
  minHourlyRate: number | null;
926
902
  maxHourlyRate: number | null;
927
903
  } | null;
928
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
929
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
904
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
905
+ includeClientsWithZeroReviews: boolean | null;
906
+ includeClientsWithLessThanXPostedJobs: number | null;
907
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
908
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
909
+ }, {
910
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
930
911
  questions: {
931
912
  hasQuestions: ("all" | "yes" | "no")[];
932
913
  } | null;
933
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
914
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
915
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
934
916
  clientInfo: {
917
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
935
918
  clientLocationIncludes: string[] | null;
936
919
  clientLocationExcludes: string[] | null;
937
920
  minReviewScore: number | null;
@@ -941,30 +924,47 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
941
924
  minHireRate: number | null;
942
925
  maxHireRate: number | null;
943
926
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
944
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
945
927
  minJobsPosted: number | null;
946
928
  minAvgHourlyRate: number | null;
947
929
  maxAvgHourlyRate: number | null;
948
930
  minNumReviews: number | null;
949
931
  memberSinceFrom: string | null;
950
932
  memberSinceTo: string | null;
951
- isPaymentVerified?: "false" | "all" | "true" | undefined;
952
933
  isPhoneVerified?: "false" | "all" | "true" | undefined;
934
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
953
935
  enterpriseClient?: "false" | "all" | "true" | undefined;
954
936
  } | null;
955
- includeClientsWithZeroReviews: boolean | null;
956
- includeClientsWithLessThanXPostedJobs: number | null;
957
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
958
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
959
937
  vendorQualifications: {
938
+ includeRisingTalent: string | null;
960
939
  locationIncludes: string[] | null;
961
940
  locationExcludes: string[] | null;
962
941
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
963
942
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
964
- includeRisingTalent: string | null;
965
943
  requiredEarnings: 100 | 1000 | 10000 | null;
966
944
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
967
945
  } | null;
946
+ isFeatured: "false" | "all" | "true" | null;
947
+ keywords: {
948
+ includes: string | null;
949
+ excludes: string | null;
950
+ } | null;
951
+ searchQuery: string | null;
952
+ categories: {
953
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
954
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
955
+ } | null;
956
+ payment: {
957
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
958
+ minFixedPrice: number | null;
959
+ maxFixedPrice: number | null;
960
+ minHourlyRate: number | null;
961
+ maxHourlyRate: number | null;
962
+ } | null;
963
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
964
+ includeClientsWithZeroReviews: boolean | null;
965
+ includeClientsWithLessThanXPostedJobs: number | null;
966
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
967
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
968
968
  }>;
969
969
  createdAt: z.ZodNumber;
970
970
  updatedAt: z.ZodNumber;
@@ -1085,13 +1085,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1085
1085
  }, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
1086
1086
  priority: number | null;
1087
1087
  name: string;
1088
- limits: {
1089
- enabled: boolean;
1090
- maxDailyProposalsSent: number;
1091
- windowAnchorAt: number | null;
1092
- };
1088
+ coverLetterTemplateId: string | null;
1093
1089
  biddingDelayInMinutes: number;
1094
- bidWithWarning: "skip" | "bid";
1090
+ bidWithWarning: "bid" | "skip";
1095
1091
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1096
1092
  biddingHourlyRatePercentage: number | null;
1097
1093
  biddingFixedHourlyRate: number | null;
@@ -1101,36 +1097,18 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1101
1097
  maximumBoost: number | null;
1102
1098
  minBoost: number | null;
1103
1099
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1104
- alreadyHiredAction: "skip" | "bid";
1105
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
1100
+ alreadyHiredAction: "bid" | "skip";
1106
1101
  filters: {
1107
- keywords: {
1108
- includes: string | null;
1109
- excludes: string | null;
1110
- } | null;
1111
- searchQuery: string | null;
1112
- isFeatured: "false" | "all" | "true" | null;
1113
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1114
- categories: {
1115
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1116
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1117
- } | null;
1118
- payment: {
1119
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1120
- minFixedPrice: number | null;
1121
- maxFixedPrice: number | null;
1122
- minHourlyRate: number | null;
1123
- maxHourlyRate: number | null;
1124
- } | null;
1125
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1126
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1102
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1127
1103
  questions: {
1128
1104
  hasQuestions: ("all" | "yes" | "no")[];
1129
1105
  } | null;
1130
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1106
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1107
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1131
1108
  clientInfo: {
1132
- isPaymentVerified: "false" | "all" | "true";
1133
1109
  isPhoneVerified: "false" | "all" | "true";
1110
+ isPaymentVerified: "false" | "all" | "true";
1111
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1134
1112
  enterpriseClient: "false" | "all" | "true";
1135
1113
  clientLocationIncludes: string[] | null;
1136
1114
  clientLocationExcludes: string[] | null;
@@ -1141,7 +1119,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1141
1119
  minHireRate: number | null;
1142
1120
  maxHireRate: number | null;
1143
1121
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1144
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1145
1122
  minJobsPosted: number | null;
1146
1123
  minAvgHourlyRate: number | null;
1147
1124
  maxAvgHourlyRate: number | null;
@@ -1149,24 +1126,42 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1149
1126
  memberSinceFrom: string | null;
1150
1127
  memberSinceTo: string | null;
1151
1128
  } | null;
1152
- includeClientsWithZeroReviews: boolean | null;
1153
- includeClientsWithLessThanXPostedJobs: number | null;
1154
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1155
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1156
1129
  vendorQualifications: {
1130
+ includeRisingTalent: string | null;
1157
1131
  locationIncludes: string[] | null;
1158
1132
  locationExcludes: string[] | null;
1159
1133
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1160
1134
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1161
- includeRisingTalent: string | null;
1162
1135
  requiredEarnings: 100 | 1000 | 10000 | null;
1163
1136
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1164
1137
  } | null;
1138
+ isFeatured: "false" | "all" | "true" | null;
1139
+ keywords: {
1140
+ includes: string | null;
1141
+ excludes: string | null;
1142
+ } | null;
1143
+ searchQuery: string | null;
1144
+ categories: {
1145
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1146
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1147
+ } | null;
1148
+ payment: {
1149
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1150
+ minFixedPrice: number | null;
1151
+ maxFixedPrice: number | null;
1152
+ minHourlyRate: number | null;
1153
+ maxHourlyRate: number | null;
1154
+ } | null;
1155
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1156
+ includeClientsWithZeroReviews: boolean | null;
1157
+ includeClientsWithLessThanXPostedJobs: number | null;
1158
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1159
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1165
1160
  };
1166
- coverLetterTemplateId: string | null;
1167
1161
  confirmedBillingAt: number | null;
1168
1162
  monthlyBudget: number | null;
1169
1163
  boostingThreshold: number | null;
1164
+ leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
1170
1165
  expenses: {
1171
1166
  biddingAmount: number;
1172
1167
  boosted: number;
@@ -1182,6 +1177,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1182
1177
  } | null;
1183
1178
  organizationProfileId: string | null;
1184
1179
  lastSyncedProposalsAt: number | null;
1180
+ limits: {
1181
+ enabled: boolean;
1182
+ maxDailyProposalsSent: number;
1183
+ windowAnchorAt: number | null;
1184
+ };
1185
1185
  workTime: {
1186
1186
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1187
1187
  enabled: boolean;
@@ -1195,46 +1195,24 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1195
1195
  }, {
1196
1196
  priority: number | null;
1197
1197
  name: string;
1198
- limits: {
1199
- enabled: boolean;
1200
- maxDailyProposalsSent: number;
1201
- windowAnchorAt: number | null;
1202
- };
1203
- bidWithWarning: "skip" | "bid";
1198
+ coverLetterTemplateId: string | null;
1199
+ bidWithWarning: "bid" | "skip";
1204
1200
  biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate";
1205
1201
  biddingHourlyRatePercentage: number | null;
1206
1202
  biddingFixedHourlyRate: number | null;
1207
1203
  boostDownToNthPlace: number | null;
1208
1204
  connectsAbovePrevious: number | null;
1209
1205
  insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1210
- alreadyHiredAction: "skip" | "bid";
1211
- leadCounts: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
1206
+ alreadyHiredAction: "bid" | "skip";
1212
1207
  filters: {
1213
- keywords: {
1214
- includes: string | null;
1215
- excludes: string | null;
1216
- } | null;
1217
- searchQuery: string | null;
1218
- isFeatured: "false" | "all" | "true" | null;
1219
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1220
- categories: {
1221
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1222
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1223
- } | null;
1224
- payment: {
1225
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1226
- minFixedPrice: number | null;
1227
- maxFixedPrice: number | null;
1228
- minHourlyRate: number | null;
1229
- maxHourlyRate: number | null;
1230
- } | null;
1231
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1232
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1208
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1233
1209
  questions: {
1234
1210
  hasQuestions: ("all" | "yes" | "no")[];
1235
1211
  } | null;
1236
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1212
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1213
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1237
1214
  clientInfo: {
1215
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1238
1216
  clientLocationIncludes: string[] | null;
1239
1217
  clientLocationExcludes: string[] | null;
1240
1218
  minReviewScore: number | null;
@@ -1244,34 +1222,51 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1244
1222
  minHireRate: number | null;
1245
1223
  maxHireRate: number | null;
1246
1224
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1247
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1248
1225
  minJobsPosted: number | null;
1249
1226
  minAvgHourlyRate: number | null;
1250
1227
  maxAvgHourlyRate: number | null;
1251
1228
  minNumReviews: number | null;
1252
1229
  memberSinceFrom: string | null;
1253
1230
  memberSinceTo: string | null;
1254
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1255
1231
  isPhoneVerified?: "false" | "all" | "true" | undefined;
1232
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1256
1233
  enterpriseClient?: "false" | "all" | "true" | undefined;
1257
1234
  } | null;
1258
- includeClientsWithZeroReviews: boolean | null;
1259
- includeClientsWithLessThanXPostedJobs: number | null;
1260
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1261
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1262
1235
  vendorQualifications: {
1236
+ includeRisingTalent: string | null;
1263
1237
  locationIncludes: string[] | null;
1264
1238
  locationExcludes: string[] | null;
1265
1239
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1266
1240
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1267
- includeRisingTalent: string | null;
1268
1241
  requiredEarnings: 100 | 1000 | 10000 | null;
1269
1242
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1270
1243
  } | null;
1244
+ isFeatured: "false" | "all" | "true" | null;
1245
+ keywords: {
1246
+ includes: string | null;
1247
+ excludes: string | null;
1248
+ } | null;
1249
+ searchQuery: string | null;
1250
+ categories: {
1251
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1252
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1253
+ } | null;
1254
+ payment: {
1255
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1256
+ minFixedPrice: number | null;
1257
+ maxFixedPrice: number | null;
1258
+ minHourlyRate: number | null;
1259
+ maxHourlyRate: number | null;
1260
+ } | null;
1261
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1262
+ includeClientsWithZeroReviews: boolean | null;
1263
+ includeClientsWithLessThanXPostedJobs: number | null;
1264
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1265
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1271
1266
  };
1272
- coverLetterTemplateId: string | null;
1273
1267
  confirmedBillingAt: number | null;
1274
1268
  monthlyBudget: number | null;
1269
+ leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
1275
1270
  expenses: {
1276
1271
  biddingAmount?: number | undefined;
1277
1272
  boosted?: number | undefined;
@@ -1287,6 +1282,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1287
1282
  } | null;
1288
1283
  organizationProfileId: string | null;
1289
1284
  lastSyncedProposalsAt: number | null;
1285
+ limits: {
1286
+ enabled: boolean;
1287
+ maxDailyProposalsSent: number;
1288
+ windowAnchorAt: number | null;
1289
+ };
1290
1290
  workTime: {
1291
1291
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1292
1292
  enabled: boolean;
@@ -1308,19 +1308,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1308
1308
  priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1309
1309
  name: z.ZodOptional<z.ZodString>;
1310
1310
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>>;
1311
- limits: z.ZodOptional<z.ZodObject<{
1312
- maxDailyProposalsSent: z.ZodNumber;
1313
- enabled: z.ZodBoolean;
1314
- windowAnchorAt: z.ZodNullable<z.ZodNumber>;
1315
- }, "strip", z.ZodTypeAny, {
1316
- enabled: boolean;
1317
- maxDailyProposalsSent: number;
1318
- windowAnchorAt: number | null;
1319
- }, {
1320
- enabled: boolean;
1321
- maxDailyProposalsSent: number;
1322
- windowAnchorAt: number | null;
1323
- }>>;
1311
+ coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1324
1312
  biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1325
1313
  bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
1326
1314
  biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate"]>>;
@@ -1349,7 +1337,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
1349
1337
  specialisedProfile: string | null;
1350
1338
  bidderId: string | null;
1351
1339
  }>>>;
1352
- leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>>;
1353
1340
  filters: z.ZodOptional<z.ZodObject<{
1354
1341
  keywords: z.ZodNullable<z.ZodObject<{
1355
1342
  includes: z.ZodNullable<z.ZodString>;
@@ -1424,8 +1411,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1424
1411
  memberSinceFrom: z.ZodNullable<z.ZodString>;
1425
1412
  memberSinceTo: z.ZodNullable<z.ZodString>;
1426
1413
  }, "strip", z.ZodTypeAny, {
1427
- isPaymentVerified: "false" | "all" | "true";
1428
1414
  isPhoneVerified: "false" | "all" | "true";
1415
+ isPaymentVerified: "false" | "all" | "true";
1416
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1429
1417
  enterpriseClient: "false" | "all" | "true";
1430
1418
  clientLocationIncludes: string[] | null;
1431
1419
  clientLocationExcludes: string[] | null;
@@ -1436,7 +1424,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
1436
1424
  minHireRate: number | null;
1437
1425
  maxHireRate: number | null;
1438
1426
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1439
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1440
1427
  minJobsPosted: number | null;
1441
1428
  minAvgHourlyRate: number | null;
1442
1429
  maxAvgHourlyRate: number | null;
@@ -1444,6 +1431,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1444
1431
  memberSinceFrom: string | null;
1445
1432
  memberSinceTo: string | null;
1446
1433
  }, {
1434
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1447
1435
  clientLocationIncludes: string[] | null;
1448
1436
  clientLocationExcludes: string[] | null;
1449
1437
  minReviewScore: number | null;
@@ -1453,15 +1441,14 @@ export declare const updateCampaignSchema: z.ZodObject<{
1453
1441
  minHireRate: number | null;
1454
1442
  maxHireRate: number | null;
1455
1443
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1456
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1457
1444
  minJobsPosted: number | null;
1458
1445
  minAvgHourlyRate: number | null;
1459
1446
  maxAvgHourlyRate: number | null;
1460
1447
  minNumReviews: number | null;
1461
1448
  memberSinceFrom: string | null;
1462
1449
  memberSinceTo: string | null;
1463
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1464
1450
  isPhoneVerified?: "false" | "all" | "true" | undefined;
1451
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1465
1452
  enterpriseClient?: "false" | "all" | "true" | undefined;
1466
1453
  }>>;
1467
1454
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
@@ -1477,50 +1464,33 @@ export declare const updateCampaignSchema: z.ZodObject<{
1477
1464
  requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
1478
1465
  requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
1479
1466
  }, "strip", z.ZodTypeAny, {
1467
+ includeRisingTalent: string | null;
1480
1468
  locationIncludes: string[] | null;
1481
1469
  locationExcludes: string[] | null;
1482
1470
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1483
1471
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1484
- includeRisingTalent: string | null;
1485
1472
  requiredEarnings: 100 | 1000 | 10000 | null;
1486
1473
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1487
1474
  }, {
1475
+ includeRisingTalent: string | null;
1488
1476
  locationIncludes: string[] | null;
1489
1477
  locationExcludes: string[] | null;
1490
1478
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1491
1479
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1492
- includeRisingTalent: string | null;
1493
1480
  requiredEarnings: 100 | 1000 | 10000 | null;
1494
1481
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1495
1482
  }>>;
1496
1483
  }, "strip", z.ZodTypeAny, {
1497
- keywords: {
1498
- includes: string | null;
1499
- excludes: string | null;
1500
- } | null;
1501
- searchQuery: string | null;
1502
- isFeatured: "false" | "all" | "true" | null;
1503
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1504
- categories: {
1505
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1506
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1507
- } | null;
1508
- payment: {
1509
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1510
- minFixedPrice: number | null;
1511
- maxFixedPrice: number | null;
1512
- minHourlyRate: number | null;
1513
- maxHourlyRate: number | null;
1514
- } | null;
1515
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1516
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1484
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1517
1485
  questions: {
1518
1486
  hasQuestions: ("all" | "yes" | "no")[];
1519
1487
  } | null;
1520
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1488
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1489
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1521
1490
  clientInfo: {
1522
- isPaymentVerified: "false" | "all" | "true";
1523
1491
  isPhoneVerified: "false" | "all" | "true";
1492
+ isPaymentVerified: "false" | "all" | "true";
1493
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1524
1494
  enterpriseClient: "false" | "all" | "true";
1525
1495
  clientLocationIncludes: string[] | null;
1526
1496
  clientLocationExcludes: string[] | null;
@@ -1531,7 +1501,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
1531
1501
  minHireRate: number | null;
1532
1502
  maxHireRate: number | null;
1533
1503
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1534
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1535
1504
  minJobsPosted: number | null;
1536
1505
  minAvgHourlyRate: number | null;
1537
1506
  maxAvgHourlyRate: number | null;
@@ -1539,27 +1508,21 @@ export declare const updateCampaignSchema: z.ZodObject<{
1539
1508
  memberSinceFrom: string | null;
1540
1509
  memberSinceTo: string | null;
1541
1510
  } | null;
1542
- includeClientsWithZeroReviews: boolean | null;
1543
- includeClientsWithLessThanXPostedJobs: number | null;
1544
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1545
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1546
1511
  vendorQualifications: {
1512
+ includeRisingTalent: string | null;
1547
1513
  locationIncludes: string[] | null;
1548
1514
  locationExcludes: string[] | null;
1549
1515
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1550
1516
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1551
- includeRisingTalent: string | null;
1552
1517
  requiredEarnings: 100 | 1000 | 10000 | null;
1553
1518
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1554
1519
  } | null;
1555
- }, {
1520
+ isFeatured: "false" | "all" | "true" | null;
1556
1521
  keywords: {
1557
1522
  includes: string | null;
1558
1523
  excludes: string | null;
1559
1524
  } | null;
1560
1525
  searchQuery: string | null;
1561
- isFeatured: "false" | "all" | "true" | null;
1562
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1563
1526
  categories: {
1564
1527
  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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1565
1528
  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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
@@ -1571,13 +1534,20 @@ export declare const updateCampaignSchema: z.ZodObject<{
1571
1534
  minHourlyRate: number | null;
1572
1535
  maxHourlyRate: number | null;
1573
1536
  } | null;
1574
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1575
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1537
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1538
+ includeClientsWithZeroReviews: boolean | null;
1539
+ includeClientsWithLessThanXPostedJobs: number | null;
1540
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1541
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1542
+ }, {
1543
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1576
1544
  questions: {
1577
1545
  hasQuestions: ("all" | "yes" | "no")[];
1578
1546
  } | null;
1579
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1547
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1548
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1580
1549
  clientInfo: {
1550
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1581
1551
  clientLocationIncludes: string[] | null;
1582
1552
  clientLocationExcludes: string[] | null;
1583
1553
  minReviewScore: number | null;
@@ -1587,35 +1557,52 @@ export declare const updateCampaignSchema: z.ZodObject<{
1587
1557
  minHireRate: number | null;
1588
1558
  maxHireRate: number | null;
1589
1559
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1590
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1591
1560
  minJobsPosted: number | null;
1592
1561
  minAvgHourlyRate: number | null;
1593
1562
  maxAvgHourlyRate: number | null;
1594
1563
  minNumReviews: number | null;
1595
1564
  memberSinceFrom: string | null;
1596
1565
  memberSinceTo: string | null;
1597
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1598
1566
  isPhoneVerified?: "false" | "all" | "true" | undefined;
1567
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1599
1568
  enterpriseClient?: "false" | "all" | "true" | undefined;
1600
1569
  } | null;
1601
- includeClientsWithZeroReviews: boolean | null;
1602
- includeClientsWithLessThanXPostedJobs: number | null;
1603
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1604
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1605
1570
  vendorQualifications: {
1571
+ includeRisingTalent: string | null;
1606
1572
  locationIncludes: string[] | null;
1607
1573
  locationExcludes: string[] | null;
1608
1574
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1609
1575
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1610
- includeRisingTalent: string | null;
1611
1576
  requiredEarnings: 100 | 1000 | 10000 | null;
1612
1577
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1613
1578
  } | null;
1579
+ isFeatured: "false" | "all" | "true" | null;
1580
+ keywords: {
1581
+ includes: string | null;
1582
+ excludes: string | null;
1583
+ } | null;
1584
+ searchQuery: string | null;
1585
+ categories: {
1586
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1587
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1588
+ } | null;
1589
+ payment: {
1590
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1591
+ minFixedPrice: number | null;
1592
+ maxFixedPrice: number | null;
1593
+ minHourlyRate: number | null;
1594
+ maxHourlyRate: number | null;
1595
+ } | null;
1596
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1597
+ includeClientsWithZeroReviews: boolean | null;
1598
+ includeClientsWithLessThanXPostedJobs: number | null;
1599
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1600
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1614
1601
  }>>;
1615
- coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1616
1602
  confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1617
1603
  monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1618
1604
  boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1605
+ leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>>;
1619
1606
  expenses: z.ZodOptional<z.ZodObject<{
1620
1607
  biddingAmount: z.ZodDefault<z.ZodNumber>;
1621
1608
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1651,6 +1638,19 @@ export declare const updateCampaignSchema: z.ZodObject<{
1651
1638
  }>>>;
1652
1639
  organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1653
1640
  lastSyncedProposalsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1641
+ limits: z.ZodOptional<z.ZodObject<{
1642
+ maxDailyProposalsSent: z.ZodNumber;
1643
+ enabled: z.ZodBoolean;
1644
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ enabled: boolean;
1647
+ maxDailyProposalsSent: number;
1648
+ windowAnchorAt: number | null;
1649
+ }, {
1650
+ enabled: boolean;
1651
+ maxDailyProposalsSent: number;
1652
+ windowAnchorAt: number | null;
1653
+ }>>;
1654
1654
  workTime: z.ZodOptional<z.ZodObject<{
1655
1655
  enabled: z.ZodBoolean;
1656
1656
  days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
@@ -1687,13 +1687,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1687
1687
  priority?: number | null | undefined;
1688
1688
  name?: string | undefined;
1689
1689
  status?: "error" | "active" | "paused" | "draft" | undefined;
1690
- limits?: {
1691
- enabled: boolean;
1692
- maxDailyProposalsSent: number;
1693
- windowAnchorAt: number | null;
1694
- } | undefined;
1690
+ coverLetterTemplateId?: string | null | undefined;
1695
1691
  biddingDelayInMinutes?: number | undefined;
1696
- bidWithWarning?: "skip" | "bid" | undefined;
1692
+ bidWithWarning?: "bid" | "skip" | undefined;
1697
1693
  biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
1698
1694
  biddingHourlyRatePercentage?: number | null | undefined;
1699
1695
  biddingFixedHourlyRate?: number | null | undefined;
@@ -1703,42 +1699,24 @@ export declare const updateCampaignSchema: z.ZodObject<{
1703
1699
  maximumBoost?: number | null | undefined;
1704
1700
  minBoost?: number | null | undefined;
1705
1701
  insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
1706
- alreadyHiredAction?: "skip" | "bid" | undefined;
1702
+ alreadyHiredAction?: "bid" | "skip" | undefined;
1707
1703
  bidConfig?: {
1708
1704
  contractorName: string | null;
1709
1705
  agencyName: string | null;
1710
1706
  specialisedProfile: string | null;
1711
1707
  bidderId: string | null;
1712
1708
  } | null | undefined;
1713
- leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
1714
1709
  filters?: {
1715
- keywords: {
1716
- includes: string | null;
1717
- excludes: string | null;
1718
- } | null;
1719
- searchQuery: string | null;
1720
- isFeatured: "false" | "all" | "true" | null;
1721
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1722
- categories: {
1723
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1724
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1725
- } | null;
1726
- payment: {
1727
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1728
- minFixedPrice: number | null;
1729
- maxFixedPrice: number | null;
1730
- minHourlyRate: number | null;
1731
- maxHourlyRate: number | null;
1732
- } | null;
1733
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1734
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1710
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1735
1711
  questions: {
1736
1712
  hasQuestions: ("all" | "yes" | "no")[];
1737
1713
  } | null;
1738
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1714
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1715
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1739
1716
  clientInfo: {
1740
- isPaymentVerified: "false" | "all" | "true";
1741
1717
  isPhoneVerified: "false" | "all" | "true";
1718
+ isPaymentVerified: "false" | "all" | "true";
1719
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1742
1720
  enterpriseClient: "false" | "all" | "true";
1743
1721
  clientLocationIncludes: string[] | null;
1744
1722
  clientLocationExcludes: string[] | null;
@@ -1749,7 +1727,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
1749
1727
  minHireRate: number | null;
1750
1728
  maxHireRate: number | null;
1751
1729
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1752
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1753
1730
  minJobsPosted: number | null;
1754
1731
  minAvgHourlyRate: number | null;
1755
1732
  maxAvgHourlyRate: number | null;
@@ -1757,24 +1734,42 @@ export declare const updateCampaignSchema: z.ZodObject<{
1757
1734
  memberSinceFrom: string | null;
1758
1735
  memberSinceTo: string | null;
1759
1736
  } | null;
1760
- includeClientsWithZeroReviews: boolean | null;
1761
- includeClientsWithLessThanXPostedJobs: number | null;
1762
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1763
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1764
1737
  vendorQualifications: {
1738
+ includeRisingTalent: string | null;
1765
1739
  locationIncludes: string[] | null;
1766
1740
  locationExcludes: string[] | null;
1767
1741
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1768
1742
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1769
- includeRisingTalent: string | null;
1770
1743
  requiredEarnings: 100 | 1000 | 10000 | null;
1771
1744
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1772
1745
  } | null;
1746
+ isFeatured: "false" | "all" | "true" | null;
1747
+ keywords: {
1748
+ includes: string | null;
1749
+ excludes: string | null;
1750
+ } | null;
1751
+ searchQuery: string | null;
1752
+ categories: {
1753
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1754
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1755
+ } | null;
1756
+ payment: {
1757
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1758
+ minFixedPrice: number | null;
1759
+ maxFixedPrice: number | null;
1760
+ minHourlyRate: number | null;
1761
+ maxHourlyRate: number | null;
1762
+ } | null;
1763
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1764
+ includeClientsWithZeroReviews: boolean | null;
1765
+ includeClientsWithLessThanXPostedJobs: number | null;
1766
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1767
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1773
1768
  } | undefined;
1774
- coverLetterTemplateId?: string | null | undefined;
1775
1769
  confirmedBillingAt?: number | null | undefined;
1776
1770
  monthlyBudget?: number | null | undefined;
1777
1771
  boostingThreshold?: number | null | undefined;
1772
+ leadCounts?: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
1778
1773
  expenses?: {
1779
1774
  biddingAmount: number;
1780
1775
  boosted: number;
@@ -1790,6 +1785,11 @@ export declare const updateCampaignSchema: z.ZodObject<{
1790
1785
  } | null | undefined;
1791
1786
  organizationProfileId?: string | null | undefined;
1792
1787
  lastSyncedProposalsAt?: number | null | undefined;
1788
+ limits?: {
1789
+ enabled: boolean;
1790
+ maxDailyProposalsSent: number;
1791
+ windowAnchorAt: number | null;
1792
+ } | undefined;
1793
1793
  workTime?: {
1794
1794
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1795
1795
  enabled: boolean;
@@ -1804,13 +1804,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1804
1804
  priority?: number | null | undefined;
1805
1805
  name?: string | undefined;
1806
1806
  status?: "error" | "active" | "paused" | "draft" | undefined;
1807
- limits?: {
1808
- enabled: boolean;
1809
- maxDailyProposalsSent: number;
1810
- windowAnchorAt: number | null;
1811
- } | undefined;
1807
+ coverLetterTemplateId?: string | null | undefined;
1812
1808
  biddingDelayInMinutes?: number | undefined;
1813
- bidWithWarning?: "skip" | "bid" | undefined;
1809
+ bidWithWarning?: "bid" | "skip" | undefined;
1814
1810
  biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | undefined;
1815
1811
  biddingHourlyRatePercentage?: number | null | undefined;
1816
1812
  biddingFixedHourlyRate?: number | null | undefined;
@@ -1820,40 +1816,22 @@ export declare const updateCampaignSchema: z.ZodObject<{
1820
1816
  maximumBoost?: number | null | undefined;
1821
1817
  minBoost?: number | null | undefined;
1822
1818
  insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
1823
- alreadyHiredAction?: "skip" | "bid" | undefined;
1819
+ alreadyHiredAction?: "bid" | "skip" | undefined;
1824
1820
  bidConfig?: {
1825
1821
  contractorName: string | null;
1826
1822
  agencyName: string | null;
1827
1823
  specialisedProfile: string | null;
1828
1824
  bidderId: string | null;
1829
1825
  } | null | undefined;
1830
- leadCounts?: Partial<Record<"rejected" | "contacted" | "viewed" | "replied" | "biddingFailed" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
1831
1826
  filters?: {
1832
- keywords: {
1833
- includes: string | null;
1834
- excludes: string | null;
1835
- } | null;
1836
- searchQuery: string | null;
1837
- isFeatured: "false" | "all" | "true" | null;
1838
- regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1839
- categories: {
1840
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1841
- 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1842
- } | null;
1843
- payment: {
1844
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1845
- minFixedPrice: number | null;
1846
- maxFixedPrice: number | null;
1847
- minHourlyRate: number | null;
1848
- maxHourlyRate: number | null;
1849
- } | null;
1850
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1851
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1827
+ regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1852
1828
  questions: {
1853
1829
  hasQuestions: ("all" | "yes" | "no")[];
1854
1830
  } | null;
1855
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1831
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1832
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1856
1833
  clientInfo: {
1834
+ companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1857
1835
  clientLocationIncludes: string[] | null;
1858
1836
  clientLocationExcludes: string[] | null;
1859
1837
  minReviewScore: number | null;
@@ -1863,35 +1841,52 @@ export declare const updateCampaignSchema: z.ZodObject<{
1863
1841
  minHireRate: number | null;
1864
1842
  maxHireRate: number | null;
1865
1843
  clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
1866
- companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
1867
1844
  minJobsPosted: number | null;
1868
1845
  minAvgHourlyRate: number | null;
1869
1846
  maxAvgHourlyRate: number | null;
1870
1847
  minNumReviews: number | null;
1871
1848
  memberSinceFrom: string | null;
1872
1849
  memberSinceTo: string | null;
1873
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1874
1850
  isPhoneVerified?: "false" | "all" | "true" | undefined;
1851
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1875
1852
  enterpriseClient?: "false" | "all" | "true" | undefined;
1876
1853
  } | null;
1877
- includeClientsWithZeroReviews: boolean | null;
1878
- includeClientsWithLessThanXPostedJobs: number | null;
1879
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1880
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1881
1854
  vendorQualifications: {
1855
+ includeRisingTalent: string | null;
1882
1856
  locationIncludes: string[] | null;
1883
1857
  locationExcludes: string[] | null;
1884
1858
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1885
1859
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1886
- includeRisingTalent: string | null;
1887
1860
  requiredEarnings: 100 | 1000 | 10000 | null;
1888
1861
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1889
1862
  } | null;
1863
+ isFeatured: "false" | "all" | "true" | null;
1864
+ keywords: {
1865
+ includes: string | null;
1866
+ excludes: string | null;
1867
+ } | null;
1868
+ searchQuery: string | null;
1869
+ categories: {
1870
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1871
+ 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" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
1872
+ } | null;
1873
+ payment: {
1874
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1875
+ minFixedPrice: number | null;
1876
+ maxFixedPrice: number | null;
1877
+ minHourlyRate: number | null;
1878
+ maxHourlyRate: number | null;
1879
+ } | null;
1880
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1881
+ includeClientsWithZeroReviews: boolean | null;
1882
+ includeClientsWithLessThanXPostedJobs: number | null;
1883
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1884
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1890
1885
  } | undefined;
1891
- coverLetterTemplateId?: string | null | undefined;
1892
1886
  confirmedBillingAt?: number | null | undefined;
1893
1887
  monthlyBudget?: number | null | undefined;
1894
1888
  boostingThreshold?: number | null | undefined;
1889
+ leadCounts?: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
1895
1890
  expenses?: {
1896
1891
  biddingAmount?: number | undefined;
1897
1892
  boosted?: number | undefined;
@@ -1907,6 +1902,11 @@ export declare const updateCampaignSchema: z.ZodObject<{
1907
1902
  } | null | undefined;
1908
1903
  organizationProfileId?: string | null | undefined;
1909
1904
  lastSyncedProposalsAt?: number | null | undefined;
1905
+ limits?: {
1906
+ enabled: boolean;
1907
+ maxDailyProposalsSent: number;
1908
+ windowAnchorAt: number | null;
1909
+ } | undefined;
1910
1910
  workTime?: {
1911
1911
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1912
1912
  enabled: boolean;