lancer-shared 1.2.301 → 1.2.303

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 (60) hide show
  1. package/dist/bundle.cjs.js +1 -0
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +1 -0
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/schemas/account/bidder-account.d.ts +40 -40
  6. package/dist/schemas/account/scraper-account.d.ts +27 -27
  7. package/dist/schemas/agent/index.d.ts +273 -273
  8. package/dist/schemas/agent/proposal.d.ts +4 -4
  9. package/dist/schemas/bidder/bid.d.ts +2358 -2358
  10. package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
  11. package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
  12. package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
  13. package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
  14. package/dist/schemas/campaign/campaign.d.ts +566 -566
  15. package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
  16. package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
  17. package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
  18. package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
  19. package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
  20. package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
  21. package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
  22. package/dist/schemas/dashboard/index.d.ts +46 -46
  23. package/dist/schemas/golden-dataset/sample.d.ts +12 -12
  24. package/dist/schemas/infrastructure/index.d.ts +8 -8
  25. package/dist/schemas/invoice/index.d.ts +55 -55
  26. package/dist/schemas/job/index.d.ts +189 -189
  27. package/dist/schemas/job/job-api.d.ts +4 -4
  28. package/dist/schemas/job/job-details.d.ts +726 -726
  29. package/dist/schemas/job/job-filters.d.ts +55 -55
  30. package/dist/schemas/job/job-listing.d.ts +96 -96
  31. package/dist/schemas/job/nuxt.d.ts +130 -130
  32. package/dist/schemas/lead/index.d.ts +1040 -1040
  33. package/dist/schemas/lead/lead-status.d.ts +4 -4
  34. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
  35. package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
  36. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +272 -272
  37. package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
  38. package/dist/schemas/logger/log-event.d.ts +103 -103
  39. package/dist/schemas/logger/scraper-events.d.ts +73 -73
  40. package/dist/schemas/notifications/index.d.ts +4 -4
  41. package/dist/schemas/organization/billing.d.ts +2 -2
  42. package/dist/schemas/organization/cover-letter.d.ts +4 -4
  43. package/dist/schemas/organization/index.d.ts +112 -112
  44. package/dist/schemas/organization/onboarding.d.ts +6 -6
  45. package/dist/schemas/organization/organization-leads.d.ts +4 -4
  46. package/dist/schemas/organization/subscription.d.ts +12 -12
  47. package/dist/schemas/plan/index.d.ts +55 -55
  48. package/dist/schemas/proxy/proxy.d.ts +29 -29
  49. package/dist/schemas/saved-search/index.d.ts +4 -4
  50. package/dist/schemas/scraper/scrape-payload.d.ts +876 -876
  51. package/dist/schemas/scraper/scrape-result.d.ts +174 -174
  52. package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
  53. package/dist/schemas/shared.d.ts +1 -1
  54. package/dist/schemas/talent/index.d.ts +750 -750
  55. package/dist/schemas/transaction/index.d.ts +20 -20
  56. package/dist/schemas/upwork-analytics/index.d.ts +22 -22
  57. package/dist/schemas/usage/index.d.ts +16 -16
  58. package/dist/schemas/usage-event/index.d.ts +11 -11
  59. package/dist/schemas/user/index.d.ts +4 -4
  60. package/package.json +2 -2
@@ -8,16 +8,16 @@ export declare const bidConfigSchema: z.ZodObject<{
8
8
  specialisedProfile: z.ZodNullable<z.ZodString>;
9
9
  bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- contractorName: string | null;
12
11
  agencyName: string | null;
13
- specialisedProfile: string | null;
14
12
  bidderId: string | null;
13
+ contractorName: string | null;
14
+ specialisedProfile: string | null;
15
15
  bidAs: "agency" | "freelancer" | null;
16
16
  }, {
17
- contractorName: string | null;
18
17
  agencyName: string | null;
19
- specialisedProfile: string | null;
20
18
  bidderId: string | null;
19
+ contractorName: string | null;
20
+ specialisedProfile: string | null;
21
21
  bidAs: "agency" | "freelancer" | null;
22
22
  }>;
23
23
  export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>;
@@ -49,16 +49,16 @@ export declare const workTimeSchema: z.ZodObject<{
49
49
  }>, "many">;
50
50
  timezone: z.ZodNullable<z.ZodString>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
53
52
  enabled: boolean;
53
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
54
54
  timeBlocks: {
55
55
  fromHour: number;
56
56
  toHour: number;
57
57
  }[];
58
58
  timezone: string | null;
59
59
  }, {
60
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
61
60
  enabled: boolean;
61
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
62
62
  timeBlocks: {
63
63
  fromHour: number;
64
64
  toHour: number;
@@ -143,10 +143,9 @@ export declare const campaignSchema: z.ZodObject<{
143
143
  memberSinceFrom: z.ZodNullable<z.ZodString>;
144
144
  memberSinceTo: z.ZodNullable<z.ZodString>;
145
145
  }, "strip", z.ZodTypeAny, {
146
- isPhoneVerified: "false" | "all" | "true";
147
- isPaymentVerified: "false" | "all" | "true";
148
- 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;
149
- enterpriseClient: "false" | "all" | "true";
146
+ isPaymentVerified: "all" | "true" | "false";
147
+ isPhoneVerified: "all" | "true" | "false";
148
+ enterpriseClient: "all" | "true" | "false";
150
149
  clientLocationIncludes: string[] | null;
151
150
  clientLocationExcludes: string[] | null;
152
151
  minReviewScore: number | null;
@@ -156,6 +155,7 @@ export declare const campaignSchema: z.ZodObject<{
156
155
  minHireRate: number | null;
157
156
  maxHireRate: number | null;
158
157
  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;
158
+ 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;
159
159
  minJobsPosted: number | null;
160
160
  minAvgHourlyRate: number | null;
161
161
  maxAvgHourlyRate: number | null;
@@ -163,7 +163,6 @@ export declare const campaignSchema: z.ZodObject<{
163
163
  memberSinceFrom: string | null;
164
164
  memberSinceTo: string | null;
165
165
  }, {
166
- 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;
167
166
  clientLocationIncludes: string[] | null;
168
167
  clientLocationExcludes: string[] | null;
169
168
  minReviewScore: number | null;
@@ -173,15 +172,16 @@ export declare const campaignSchema: z.ZodObject<{
173
172
  minHireRate: number | null;
174
173
  maxHireRate: number | null;
175
174
  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;
175
+ 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;
176
176
  minJobsPosted: number | null;
177
177
  minAvgHourlyRate: number | null;
178
178
  maxAvgHourlyRate: number | null;
179
179
  minNumReviews: number | null;
180
180
  memberSinceFrom: string | null;
181
181
  memberSinceTo: string | null;
182
- isPhoneVerified?: "false" | "all" | "true" | undefined;
183
- isPaymentVerified?: "false" | "all" | "true" | undefined;
184
- enterpriseClient?: "false" | "all" | "true" | undefined;
182
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
183
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
184
+ enterpriseClient?: "all" | "true" | "false" | undefined;
185
185
  }>>;
186
186
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
187
187
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -196,34 +196,51 @@ export declare const campaignSchema: z.ZodObject<{
196
196
  requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
197
197
  requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
198
198
  }, "strip", z.ZodTypeAny, {
199
- includeRisingTalent: string | null;
200
199
  locationIncludes: string[] | null;
201
200
  locationExcludes: string[] | null;
202
201
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
203
202
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
203
+ includeRisingTalent: string | null;
204
204
  requiredEarnings: 100 | 1000 | 10000 | null;
205
205
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
206
206
  }, {
207
- includeRisingTalent: string | null;
208
207
  locationIncludes: string[] | null;
209
208
  locationExcludes: string[] | null;
210
209
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
211
210
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
211
+ includeRisingTalent: string | null;
212
212
  requiredEarnings: 100 | 1000 | 10000 | null;
213
213
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
214
214
  }>>;
215
215
  }, "strip", z.ZodTypeAny, {
216
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
217
- questions: {
218
- hasQuestions: ("all" | "yes" | "no")[];
216
+ keywords: {
217
+ includes: string | null;
218
+ excludes: string | null;
219
+ } | null;
220
+ searchQuery: string | null;
221
+ isFeatured: "all" | "true" | "false" | null;
222
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
223
+ categories: {
224
+ 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;
225
+ 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;
226
+ } | null;
227
+ payment: {
228
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
229
+ minFixedPrice: number | null;
230
+ maxFixedPrice: number | null;
231
+ minHourlyRate: number | null;
232
+ maxHourlyRate: number | null;
219
233
  } | null;
220
234
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
221
235
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
236
+ questions: {
237
+ hasQuestions: ("all" | "yes" | "no")[];
238
+ } | null;
239
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
222
240
  clientInfo: {
223
- isPhoneVerified: "false" | "all" | "true";
224
- isPaymentVerified: "false" | "all" | "true";
225
- 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;
226
- enterpriseClient: "false" | "all" | "true";
241
+ isPaymentVerified: "all" | "true" | "false";
242
+ isPhoneVerified: "all" | "true" | "false";
243
+ enterpriseClient: "all" | "true" | "false";
227
244
  clientLocationIncludes: string[] | null;
228
245
  clientLocationExcludes: string[] | null;
229
246
  minReviewScore: number | null;
@@ -233,6 +250,7 @@ export declare const campaignSchema: z.ZodObject<{
233
250
  minHireRate: number | null;
234
251
  maxHireRate: number | null;
235
252
  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;
253
+ 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;
236
254
  minJobsPosted: number | null;
237
255
  minAvgHourlyRate: number | null;
238
256
  maxAvgHourlyRate: number | null;
@@ -240,21 +258,27 @@ export declare const campaignSchema: z.ZodObject<{
240
258
  memberSinceFrom: string | null;
241
259
  memberSinceTo: string | null;
242
260
  } | null;
261
+ includeClientsWithZeroReviews: boolean | null;
262
+ includeClientsWithLessThanXPostedJobs: number | null;
263
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
264
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
243
265
  vendorQualifications: {
244
- includeRisingTalent: string | null;
245
266
  locationIncludes: string[] | null;
246
267
  locationExcludes: string[] | null;
247
268
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
248
269
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
270
+ includeRisingTalent: string | null;
249
271
  requiredEarnings: 100 | 1000 | 10000 | null;
250
272
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
251
273
  } | null;
252
- isFeatured: "false" | "all" | "true" | null;
274
+ }, {
253
275
  keywords: {
254
276
  includes: string | null;
255
277
  excludes: string | null;
256
278
  } | null;
257
279
  searchQuery: string | null;
280
+ isFeatured: "all" | "true" | "false" | null;
281
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
258
282
  categories: {
259
283
  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;
260
284
  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;
@@ -266,20 +290,13 @@ export declare const campaignSchema: z.ZodObject<{
266
290
  minHourlyRate: number | null;
267
291
  maxHourlyRate: number | null;
268
292
  } | null;
269
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
270
- includeClientsWithZeroReviews: boolean | null;
271
- includeClientsWithLessThanXPostedJobs: number | null;
272
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
273
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
274
- }, {
275
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
293
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
294
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
276
295
  questions: {
277
296
  hasQuestions: ("all" | "yes" | "no")[];
278
297
  } | null;
279
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
280
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
298
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
281
299
  clientInfo: {
282
- 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;
283
300
  clientLocationIncludes: string[] | null;
284
301
  clientLocationExcludes: string[] | null;
285
302
  minReviewScore: number | null;
@@ -289,47 +306,30 @@ export declare const campaignSchema: z.ZodObject<{
289
306
  minHireRate: number | null;
290
307
  maxHireRate: number | null;
291
308
  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;
309
+ 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;
292
310
  minJobsPosted: number | null;
293
311
  minAvgHourlyRate: number | null;
294
312
  maxAvgHourlyRate: number | null;
295
313
  minNumReviews: number | null;
296
314
  memberSinceFrom: string | null;
297
315
  memberSinceTo: string | null;
298
- isPhoneVerified?: "false" | "all" | "true" | undefined;
299
- isPaymentVerified?: "false" | "all" | "true" | undefined;
300
- enterpriseClient?: "false" | "all" | "true" | undefined;
316
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
317
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
318
+ enterpriseClient?: "all" | "true" | "false" | undefined;
301
319
  } | null;
320
+ includeClientsWithZeroReviews: boolean | null;
321
+ includeClientsWithLessThanXPostedJobs: number | null;
322
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
323
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
302
324
  vendorQualifications: {
303
- includeRisingTalent: string | null;
304
325
  locationIncludes: string[] | null;
305
326
  locationExcludes: string[] | null;
306
327
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
307
328
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
329
+ includeRisingTalent: string | null;
308
330
  requiredEarnings: 100 | 1000 | 10000 | null;
309
331
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
310
332
  } | null;
311
- isFeatured: "false" | "all" | "true" | null;
312
- keywords: {
313
- includes: string | null;
314
- excludes: string | null;
315
- } | null;
316
- searchQuery: string | null;
317
- categories: {
318
- 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;
319
- 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;
320
- } | null;
321
- payment: {
322
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
323
- minFixedPrice: number | null;
324
- maxFixedPrice: number | null;
325
- minHourlyRate: number | null;
326
- maxHourlyRate: number | null;
327
- } | null;
328
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
329
- includeClientsWithZeroReviews: boolean | null;
330
- includeClientsWithLessThanXPostedJobs: number | null;
331
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
332
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
333
333
  }>;
334
334
  createdAt: z.ZodNumber;
335
335
  updatedAt: z.ZodNumber;
@@ -356,12 +356,12 @@ export declare const campaignSchema: z.ZodObject<{
356
356
  boosted: z.ZodDefault<z.ZodNumber>;
357
357
  }, "strip", z.ZodTypeAny, {
358
358
  biddingAmount: number;
359
- boosted: number;
360
359
  boostingAmount: number;
360
+ boosted: number;
361
361
  }, {
362
362
  biddingAmount?: number | undefined;
363
- boosted?: number | undefined;
364
363
  boostingAmount?: number | undefined;
364
+ boosted?: number | undefined;
365
365
  }>;
366
366
  notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
367
367
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>;
@@ -372,16 +372,16 @@ export declare const campaignSchema: z.ZodObject<{
372
372
  specialisedProfile: z.ZodNullable<z.ZodString>;
373
373
  bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
374
374
  }, "strip", z.ZodTypeAny, {
375
- contractorName: string | null;
376
375
  agencyName: string | null;
377
- specialisedProfile: string | null;
378
376
  bidderId: string | null;
377
+ contractorName: string | null;
378
+ specialisedProfile: string | null;
379
379
  bidAs: "agency" | "freelancer" | null;
380
380
  }, {
381
- contractorName: string | null;
382
381
  agencyName: string | null;
383
- specialisedProfile: string | null;
384
382
  bidderId: string | null;
383
+ contractorName: string | null;
384
+ specialisedProfile: string | null;
385
385
  bidAs: "agency" | "freelancer" | null;
386
386
  }>>;
387
387
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
@@ -395,18 +395,18 @@ export declare const campaignSchema: z.ZodObject<{
395
395
  instructions: z.ZodString;
396
396
  status: z.ZodEnum<["active", "archived"]>;
397
397
  }, "strip", z.ZodTypeAny, {
398
+ status: "active" | "archived";
398
399
  id: string;
399
400
  name: string;
400
- template: string;
401
401
  description: string | null;
402
- status: "active" | "archived";
402
+ template: string;
403
403
  instructions: string;
404
404
  }, {
405
+ status: "active" | "archived";
405
406
  id: string;
406
407
  name: string;
407
- template: string;
408
408
  description: string | null;
409
- status: "active" | "archived";
409
+ template: string;
410
410
  instructions: string;
411
411
  }>>;
412
412
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -439,16 +439,16 @@ export declare const campaignSchema: z.ZodObject<{
439
439
  }>, "many">;
440
440
  timezone: z.ZodNullable<z.ZodString>;
441
441
  }, "strip", z.ZodTypeAny, {
442
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
443
442
  enabled: boolean;
443
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
444
444
  timeBlocks: {
445
445
  fromHour: number;
446
446
  toHour: number;
447
447
  }[];
448
448
  timezone: string | null;
449
449
  }, {
450
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
451
450
  enabled: boolean;
451
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
452
452
  timeBlocks: {
453
453
  fromHour: number;
454
454
  toHour: number;
@@ -457,42 +457,36 @@ export declare const campaignSchema: z.ZodObject<{
457
457
  }>;
458
458
  }, "strip", z.ZodTypeAny, {
459
459
  id: string;
460
- priority: number | null;
461
460
  name: string;
462
- createdAt: number;
463
- updatedAt: number;
464
- coverLetterTemplateId: string | null;
465
- biddingDelayInMinutes: number;
466
- bidWithWarning: "bid" | "skip";
467
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
468
- biddingHourlyRatePercentage: number | null;
469
- biddingFixedHourlyRate: number | null;
470
- boostingEnabled: boolean | null;
471
- boostDownToNthPlace: number | null;
472
- connectsAbovePrevious: number | null;
473
- maximumBoost: number | null;
474
- minBoost: number | null;
475
- insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
476
- alreadyHiredAction: "bid" | "skip";
477
- bidConfig: {
478
- contractorName: string | null;
479
- agencyName: string | null;
480
- specialisedProfile: string | null;
481
- bidderId: string | null;
482
- bidAs: "agency" | "freelancer" | null;
483
- } | null;
484
461
  filters: {
485
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
486
- questions: {
487
- hasQuestions: ("all" | "yes" | "no")[];
462
+ keywords: {
463
+ includes: string | null;
464
+ excludes: string | null;
465
+ } | null;
466
+ searchQuery: string | null;
467
+ isFeatured: "all" | "true" | "false" | null;
468
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
469
+ categories: {
470
+ 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;
471
+ 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;
472
+ } | null;
473
+ payment: {
474
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
475
+ minFixedPrice: number | null;
476
+ maxFixedPrice: number | null;
477
+ minHourlyRate: number | null;
478
+ maxHourlyRate: number | null;
488
479
  } | null;
489
480
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
490
481
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
482
+ questions: {
483
+ hasQuestions: ("all" | "yes" | "no")[];
484
+ } | null;
485
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
491
486
  clientInfo: {
492
- isPhoneVerified: "false" | "all" | "true";
493
- isPaymentVerified: "false" | "all" | "true";
494
- 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;
495
- enterpriseClient: "false" | "all" | "true";
487
+ isPaymentVerified: "all" | "true" | "false";
488
+ isPhoneVerified: "all" | "true" | "false";
489
+ enterpriseClient: "all" | "true" | "false";
496
490
  clientLocationIncludes: string[] | null;
497
491
  clientLocationExcludes: string[] | null;
498
492
  minReviewScore: number | null;
@@ -502,6 +496,7 @@ export declare const campaignSchema: z.ZodObject<{
502
496
  minHireRate: number | null;
503
497
  maxHireRate: number | null;
504
498
  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;
499
+ 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;
505
500
  minJobsPosted: number | null;
506
501
  minAvgHourlyRate: number | null;
507
502
  maxAvgHourlyRate: number | null;
@@ -509,56 +504,61 @@ export declare const campaignSchema: z.ZodObject<{
509
504
  memberSinceFrom: string | null;
510
505
  memberSinceTo: string | null;
511
506
  } | null;
507
+ includeClientsWithZeroReviews: boolean | null;
508
+ includeClientsWithLessThanXPostedJobs: number | null;
509
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
510
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
512
511
  vendorQualifications: {
513
- includeRisingTalent: string | null;
514
512
  locationIncludes: string[] | null;
515
513
  locationExcludes: string[] | null;
516
514
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
517
515
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
516
+ includeRisingTalent: string | null;
518
517
  requiredEarnings: 100 | 1000 | 10000 | null;
519
518
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
520
519
  } | null;
521
- isFeatured: "false" | "all" | "true" | null;
522
- keywords: {
523
- includes: string | null;
524
- excludes: string | null;
525
- } | null;
526
- searchQuery: string | null;
527
- categories: {
528
- 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;
529
- 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;
530
- } | null;
531
- payment: {
532
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
533
- minFixedPrice: number | null;
534
- maxFixedPrice: number | null;
535
- minHourlyRate: number | null;
536
- maxHourlyRate: number | null;
537
- } | null;
538
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
539
- includeClientsWithZeroReviews: boolean | null;
540
- includeClientsWithLessThanXPostedJobs: number | null;
541
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
542
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
543
520
  };
521
+ createdAt: number;
522
+ updatedAt: number;
544
523
  archivedAt: number | null;
545
524
  confirmedBillingAt: number | null;
525
+ boostingEnabled: boolean | null;
526
+ maximumBoost: number | null;
527
+ minBoost: number | null;
528
+ boostDownToNthPlace: number | null;
529
+ connectsAbovePrevious: number | null;
530
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
546
531
  monthlyBudget: number | null;
547
532
  boostingThreshold: number | null;
548
- leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
533
+ biddingDelayInMinutes: number;
534
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
535
+ biddingFixedHourlyRate: number | null;
536
+ alreadyHiredAction: "bid" | "skip";
537
+ biddingHourlyRatePercentage: number | null;
538
+ bidWithWarning: "bid" | "skip";
539
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
549
540
  expenses: {
550
541
  biddingAmount: number;
551
- boosted: number;
552
542
  boostingAmount: number;
543
+ boosted: number;
553
544
  };
554
545
  notificationsEnabled: boolean | null;
546
+ bidConfig: {
547
+ agencyName: string | null;
548
+ bidderId: string | null;
549
+ contractorName: string | null;
550
+ specialisedProfile: string | null;
551
+ bidAs: "agency" | "freelancer" | null;
552
+ } | null;
553
+ coverLetterTemplateId: string | null;
555
554
  coverLetterTemplatesIds: string[] | null;
555
+ priority: number | null;
556
556
  coverLetterTemplate: {
557
+ status: "active" | "archived";
557
558
  id: string;
558
559
  name: string;
559
- template: string;
560
560
  description: string | null;
561
- status: "active" | "archived";
561
+ template: string;
562
562
  instructions: string;
563
563
  } | null;
564
564
  organizationProfileId: string | null;
@@ -569,46 +569,44 @@ export declare const campaignSchema: z.ZodObject<{
569
569
  windowAnchorAt: number | null;
570
570
  };
571
571
  workTime: {
572
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
573
572
  enabled: boolean;
573
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
574
574
  timeBlocks: {
575
575
  fromHour: number;
576
576
  toHour: number;
577
577
  }[];
578
578
  timezone: string | null;
579
579
  };
580
- status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
580
+ status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
581
581
  }, {
582
582
  id: string;
583
- priority: number | null;
584
583
  name: string;
585
- createdAt: number;
586
- updatedAt: number;
587
- coverLetterTemplateId: string | null;
588
- bidWithWarning: "bid" | "skip";
589
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
590
- biddingHourlyRatePercentage: number | null;
591
- biddingFixedHourlyRate: number | null;
592
- boostDownToNthPlace: number | null;
593
- connectsAbovePrevious: number | null;
594
- insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
595
- alreadyHiredAction: "bid" | "skip";
596
- bidConfig: {
597
- contractorName: string | null;
598
- agencyName: string | null;
599
- specialisedProfile: string | null;
600
- bidderId: string | null;
601
- bidAs: "agency" | "freelancer" | null;
602
- } | null;
603
584
  filters: {
604
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
605
- questions: {
606
- hasQuestions: ("all" | "yes" | "no")[];
585
+ keywords: {
586
+ includes: string | null;
587
+ excludes: string | null;
588
+ } | null;
589
+ searchQuery: string | null;
590
+ isFeatured: "all" | "true" | "false" | null;
591
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
592
+ categories: {
593
+ 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;
594
+ 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;
595
+ } | null;
596
+ payment: {
597
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
598
+ minFixedPrice: number | null;
599
+ maxFixedPrice: number | null;
600
+ minHourlyRate: number | null;
601
+ maxHourlyRate: number | null;
607
602
  } | null;
608
603
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
609
604
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
610
- clientInfo: {
611
- 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;
605
+ questions: {
606
+ hasQuestions: ("all" | "yes" | "no")[];
607
+ } | null;
608
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
609
+ clientInfo: {
612
610
  clientLocationIncludes: string[] | null;
613
611
  clientLocationExcludes: string[] | null;
614
612
  minReviewScore: number | null;
@@ -618,65 +616,67 @@ export declare const campaignSchema: z.ZodObject<{
618
616
  minHireRate: number | null;
619
617
  maxHireRate: number | null;
620
618
  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;
619
+ 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;
621
620
  minJobsPosted: number | null;
622
621
  minAvgHourlyRate: number | null;
623
622
  maxAvgHourlyRate: number | null;
624
623
  minNumReviews: number | null;
625
624
  memberSinceFrom: string | null;
626
625
  memberSinceTo: string | null;
627
- isPhoneVerified?: "false" | "all" | "true" | undefined;
628
- isPaymentVerified?: "false" | "all" | "true" | undefined;
629
- enterpriseClient?: "false" | "all" | "true" | undefined;
626
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
627
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
628
+ enterpriseClient?: "all" | "true" | "false" | undefined;
630
629
  } | null;
630
+ includeClientsWithZeroReviews: boolean | null;
631
+ includeClientsWithLessThanXPostedJobs: number | null;
632
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
633
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
631
634
  vendorQualifications: {
632
- includeRisingTalent: string | null;
633
635
  locationIncludes: string[] | null;
634
636
  locationExcludes: string[] | null;
635
637
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
636
638
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
639
+ includeRisingTalent: string | null;
637
640
  requiredEarnings: 100 | 1000 | 10000 | null;
638
641
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
639
642
  } | null;
640
- isFeatured: "false" | "all" | "true" | null;
641
- keywords: {
642
- includes: string | null;
643
- excludes: string | null;
644
- } | null;
645
- searchQuery: string | null;
646
- categories: {
647
- 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;
648
- 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;
649
- } | null;
650
- payment: {
651
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
652
- minFixedPrice: number | null;
653
- maxFixedPrice: number | null;
654
- minHourlyRate: number | null;
655
- maxHourlyRate: number | null;
656
- } | null;
657
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
658
- includeClientsWithZeroReviews: boolean | null;
659
- includeClientsWithLessThanXPostedJobs: number | null;
660
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
661
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
662
643
  };
644
+ createdAt: number;
645
+ updatedAt: number;
663
646
  archivedAt: number | null;
664
647
  confirmedBillingAt: number | null;
648
+ boostDownToNthPlace: number | null;
649
+ connectsAbovePrevious: number | null;
650
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
665
651
  monthlyBudget: number | null;
666
- leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
652
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
653
+ biddingFixedHourlyRate: number | null;
654
+ alreadyHiredAction: "bid" | "skip";
655
+ biddingHourlyRatePercentage: number | null;
656
+ bidWithWarning: "bid" | "skip";
657
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
667
658
  expenses: {
668
659
  biddingAmount?: number | undefined;
669
- boosted?: number | undefined;
670
660
  boostingAmount?: number | undefined;
661
+ boosted?: number | undefined;
671
662
  };
672
663
  notificationsEnabled: boolean | null;
664
+ bidConfig: {
665
+ agencyName: string | null;
666
+ bidderId: string | null;
667
+ contractorName: string | null;
668
+ specialisedProfile: string | null;
669
+ bidAs: "agency" | "freelancer" | null;
670
+ } | null;
671
+ coverLetterTemplateId: string | null;
673
672
  coverLetterTemplatesIds: string[] | null;
673
+ priority: number | null;
674
674
  coverLetterTemplate: {
675
+ status: "active" | "archived";
675
676
  id: string;
676
677
  name: string;
677
- template: string;
678
678
  description: string | null;
679
- status: "active" | "archived";
679
+ template: string;
680
680
  instructions: string;
681
681
  } | null;
682
682
  organizationProfileId: string | null;
@@ -687,20 +687,20 @@ export declare const campaignSchema: z.ZodObject<{
687
687
  windowAnchorAt: number | null;
688
688
  };
689
689
  workTime: {
690
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
691
690
  enabled: boolean;
691
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
692
692
  timeBlocks: {
693
693
  fromHour: number;
694
694
  toHour: number;
695
695
  }[];
696
696
  timezone: string | null;
697
697
  };
698
- status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
699
- biddingDelayInMinutes?: number | undefined;
698
+ status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
700
699
  boostingEnabled?: boolean | null | undefined;
701
700
  maximumBoost?: number | null | undefined;
702
701
  minBoost?: number | null | undefined;
703
702
  boostingThreshold?: number | null | undefined;
703
+ biddingDelayInMinutes?: number | undefined;
704
704
  }>;
705
705
  export declare const upworkAccountConnectStatusSchema: z.ZodUnion<[z.ZodLiteral<"processing">, z.ZodLiteral<"connected">, z.ZodLiteral<"failed">, z.ZodLiteral<"reconnecting">, z.ZodLiteral<"reconnected">, z.ZodLiteral<"reconnect_failed">]>;
706
706
  export declare const upworkAccountConnectSchema: z.ZodObject<{
@@ -709,13 +709,13 @@ export declare const upworkAccountConnectSchema: z.ZodObject<{
709
709
  email: z.ZodOptional<z.ZodString>;
710
710
  profilePhotoUrl: z.ZodOptional<z.ZodString>;
711
711
  }, "strip", z.ZodTypeAny, {
712
+ status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
712
713
  error: string | null;
713
- status: "failed" | "connected" | "reconnecting" | "processing" | "reconnected" | "reconnect_failed" | null;
714
714
  email?: string | undefined;
715
715
  profilePhotoUrl?: string | undefined;
716
716
  }, {
717
+ status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
717
718
  error: string | null;
718
- status: "failed" | "connected" | "reconnecting" | "processing" | "reconnected" | "reconnect_failed" | null;
719
719
  email?: string | undefined;
720
720
  profilePhotoUrl?: string | undefined;
721
721
  }>;
@@ -798,10 +798,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
798
798
  memberSinceFrom: z.ZodNullable<z.ZodString>;
799
799
  memberSinceTo: z.ZodNullable<z.ZodString>;
800
800
  }, "strip", z.ZodTypeAny, {
801
- isPhoneVerified: "false" | "all" | "true";
802
- isPaymentVerified: "false" | "all" | "true";
803
- 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;
804
- enterpriseClient: "false" | "all" | "true";
801
+ isPaymentVerified: "all" | "true" | "false";
802
+ isPhoneVerified: "all" | "true" | "false";
803
+ enterpriseClient: "all" | "true" | "false";
805
804
  clientLocationIncludes: string[] | null;
806
805
  clientLocationExcludes: string[] | null;
807
806
  minReviewScore: number | null;
@@ -811,6 +810,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
811
810
  minHireRate: number | null;
812
811
  maxHireRate: number | null;
813
812
  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;
813
+ 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;
814
814
  minJobsPosted: number | null;
815
815
  minAvgHourlyRate: number | null;
816
816
  maxAvgHourlyRate: number | null;
@@ -818,7 +818,6 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
818
818
  memberSinceFrom: string | null;
819
819
  memberSinceTo: string | null;
820
820
  }, {
821
- 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;
822
821
  clientLocationIncludes: string[] | null;
823
822
  clientLocationExcludes: string[] | null;
824
823
  minReviewScore: number | null;
@@ -828,15 +827,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
828
827
  minHireRate: number | null;
829
828
  maxHireRate: number | null;
830
829
  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;
830
+ 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;
831
831
  minJobsPosted: number | null;
832
832
  minAvgHourlyRate: number | null;
833
833
  maxAvgHourlyRate: number | null;
834
834
  minNumReviews: number | null;
835
835
  memberSinceFrom: string | null;
836
836
  memberSinceTo: string | null;
837
- isPhoneVerified?: "false" | "all" | "true" | undefined;
838
- isPaymentVerified?: "false" | "all" | "true" | undefined;
839
- enterpriseClient?: "false" | "all" | "true" | undefined;
837
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
838
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
839
+ enterpriseClient?: "all" | "true" | "false" | undefined;
840
840
  }>>;
841
841
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
842
842
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -851,34 +851,51 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
851
851
  requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
852
852
  requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
853
853
  }, "strip", z.ZodTypeAny, {
854
- includeRisingTalent: string | null;
855
854
  locationIncludes: string[] | null;
856
855
  locationExcludes: string[] | null;
857
856
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
858
857
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
858
+ includeRisingTalent: string | null;
859
859
  requiredEarnings: 100 | 1000 | 10000 | null;
860
860
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
861
861
  }, {
862
- includeRisingTalent: string | null;
863
862
  locationIncludes: string[] | null;
864
863
  locationExcludes: string[] | null;
865
864
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
866
865
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
866
+ includeRisingTalent: string | null;
867
867
  requiredEarnings: 100 | 1000 | 10000 | null;
868
868
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
869
869
  }>>;
870
870
  }, "strip", z.ZodTypeAny, {
871
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
872
- questions: {
873
- hasQuestions: ("all" | "yes" | "no")[];
871
+ keywords: {
872
+ includes: string | null;
873
+ excludes: string | null;
874
+ } | null;
875
+ searchQuery: string | null;
876
+ isFeatured: "all" | "true" | "false" | null;
877
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
878
+ categories: {
879
+ 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;
880
+ 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;
881
+ } | null;
882
+ payment: {
883
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
884
+ minFixedPrice: number | null;
885
+ maxFixedPrice: number | null;
886
+ minHourlyRate: number | null;
887
+ maxHourlyRate: number | null;
874
888
  } | null;
875
889
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
876
890
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
891
+ questions: {
892
+ hasQuestions: ("all" | "yes" | "no")[];
893
+ } | null;
894
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
877
895
  clientInfo: {
878
- isPhoneVerified: "false" | "all" | "true";
879
- isPaymentVerified: "false" | "all" | "true";
880
- 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;
881
- enterpriseClient: "false" | "all" | "true";
896
+ isPaymentVerified: "all" | "true" | "false";
897
+ isPhoneVerified: "all" | "true" | "false";
898
+ enterpriseClient: "all" | "true" | "false";
882
899
  clientLocationIncludes: string[] | null;
883
900
  clientLocationExcludes: string[] | null;
884
901
  minReviewScore: number | null;
@@ -888,6 +905,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
888
905
  minHireRate: number | null;
889
906
  maxHireRate: number | null;
890
907
  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;
908
+ 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;
891
909
  minJobsPosted: number | null;
892
910
  minAvgHourlyRate: number | null;
893
911
  maxAvgHourlyRate: number | null;
@@ -895,21 +913,27 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
895
913
  memberSinceFrom: string | null;
896
914
  memberSinceTo: string | null;
897
915
  } | null;
916
+ includeClientsWithZeroReviews: boolean | null;
917
+ includeClientsWithLessThanXPostedJobs: number | null;
918
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
919
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
898
920
  vendorQualifications: {
899
- includeRisingTalent: string | null;
900
921
  locationIncludes: string[] | null;
901
922
  locationExcludes: string[] | null;
902
923
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
903
924
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
925
+ includeRisingTalent: string | null;
904
926
  requiredEarnings: 100 | 1000 | 10000 | null;
905
927
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
906
928
  } | null;
907
- isFeatured: "false" | "all" | "true" | null;
929
+ }, {
908
930
  keywords: {
909
931
  includes: string | null;
910
932
  excludes: string | null;
911
933
  } | null;
912
934
  searchQuery: string | null;
935
+ isFeatured: "all" | "true" | "false" | null;
936
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
913
937
  categories: {
914
938
  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;
915
939
  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;
@@ -921,20 +945,13 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
921
945
  minHourlyRate: number | null;
922
946
  maxHourlyRate: number | null;
923
947
  } | null;
924
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
925
- includeClientsWithZeroReviews: boolean | null;
926
- includeClientsWithLessThanXPostedJobs: number | null;
927
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
928
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
929
- }, {
930
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
948
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
949
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
931
950
  questions: {
932
951
  hasQuestions: ("all" | "yes" | "no")[];
933
952
  } | null;
934
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
935
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
953
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
936
954
  clientInfo: {
937
- 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;
938
955
  clientLocationIncludes: string[] | null;
939
956
  clientLocationExcludes: string[] | null;
940
957
  minReviewScore: number | null;
@@ -944,47 +961,30 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
944
961
  minHireRate: number | null;
945
962
  maxHireRate: number | null;
946
963
  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;
964
+ 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;
947
965
  minJobsPosted: number | null;
948
966
  minAvgHourlyRate: number | null;
949
967
  maxAvgHourlyRate: number | null;
950
968
  minNumReviews: number | null;
951
969
  memberSinceFrom: string | null;
952
970
  memberSinceTo: string | null;
953
- isPhoneVerified?: "false" | "all" | "true" | undefined;
954
- isPaymentVerified?: "false" | "all" | "true" | undefined;
955
- enterpriseClient?: "false" | "all" | "true" | undefined;
971
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
972
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
973
+ enterpriseClient?: "all" | "true" | "false" | undefined;
956
974
  } | null;
975
+ includeClientsWithZeroReviews: boolean | null;
976
+ includeClientsWithLessThanXPostedJobs: number | null;
977
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
978
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
957
979
  vendorQualifications: {
958
- includeRisingTalent: string | null;
959
980
  locationIncludes: string[] | null;
960
981
  locationExcludes: string[] | null;
961
982
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
962
983
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
984
+ includeRisingTalent: string | null;
963
985
  requiredEarnings: 100 | 1000 | 10000 | null;
964
986
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
965
987
  } | null;
966
- isFeatured: "false" | "all" | "true" | null;
967
- keywords: {
968
- includes: string | null;
969
- excludes: string | null;
970
- } | null;
971
- searchQuery: string | null;
972
- categories: {
973
- 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;
974
- 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;
975
- } | null;
976
- payment: {
977
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
978
- minFixedPrice: number | null;
979
- maxFixedPrice: number | null;
980
- minHourlyRate: number | null;
981
- maxHourlyRate: number | null;
982
- } | null;
983
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
984
- includeClientsWithZeroReviews: boolean | null;
985
- includeClientsWithLessThanXPostedJobs: number | null;
986
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
987
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
988
988
  }>;
989
989
  createdAt: z.ZodNumber;
990
990
  updatedAt: z.ZodNumber;
@@ -1011,12 +1011,12 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1011
1011
  boosted: z.ZodDefault<z.ZodNumber>;
1012
1012
  }, "strip", z.ZodTypeAny, {
1013
1013
  biddingAmount: number;
1014
- boosted: number;
1015
1014
  boostingAmount: number;
1015
+ boosted: number;
1016
1016
  }, {
1017
1017
  biddingAmount?: number | undefined;
1018
- boosted?: number | undefined;
1019
1018
  boostingAmount?: number | undefined;
1019
+ boosted?: number | undefined;
1020
1020
  }>;
1021
1021
  notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
1022
1022
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>;
@@ -1027,16 +1027,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1027
1027
  specialisedProfile: z.ZodNullable<z.ZodString>;
1028
1028
  bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
1029
1029
  }, "strip", z.ZodTypeAny, {
1030
- contractorName: string | null;
1031
1030
  agencyName: string | null;
1032
- specialisedProfile: string | null;
1033
1031
  bidderId: string | null;
1032
+ contractorName: string | null;
1033
+ specialisedProfile: string | null;
1034
1034
  bidAs: "agency" | "freelancer" | null;
1035
1035
  }, {
1036
- contractorName: string | null;
1037
1036
  agencyName: string | null;
1038
- specialisedProfile: string | null;
1039
1037
  bidderId: string | null;
1038
+ contractorName: string | null;
1039
+ specialisedProfile: string | null;
1040
1040
  bidAs: "agency" | "freelancer" | null;
1041
1041
  }>>;
1042
1042
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
@@ -1050,18 +1050,18 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1050
1050
  instructions: z.ZodString;
1051
1051
  status: z.ZodEnum<["active", "archived"]>;
1052
1052
  }, "strip", z.ZodTypeAny, {
1053
+ status: "active" | "archived";
1053
1054
  id: string;
1054
1055
  name: string;
1055
- template: string;
1056
1056
  description: string | null;
1057
- status: "active" | "archived";
1057
+ template: string;
1058
1058
  instructions: string;
1059
1059
  }, {
1060
+ status: "active" | "archived";
1060
1061
  id: string;
1061
1062
  name: string;
1062
- template: string;
1063
1063
  description: string | null;
1064
- status: "active" | "archived";
1064
+ template: string;
1065
1065
  instructions: string;
1066
1066
  }>>;
1067
1067
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -1094,16 +1094,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1094
1094
  }>, "many">;
1095
1095
  timezone: z.ZodNullable<z.ZodString>;
1096
1096
  }, "strip", z.ZodTypeAny, {
1097
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1098
1097
  enabled: boolean;
1098
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1099
1099
  timeBlocks: {
1100
1100
  fromHour: number;
1101
1101
  toHour: number;
1102
1102
  }[];
1103
1103
  timezone: string | null;
1104
1104
  }, {
1105
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1106
1105
  enabled: boolean;
1106
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1107
1107
  timeBlocks: {
1108
1108
  fromHour: number;
1109
1109
  toHour: number;
@@ -1111,33 +1111,36 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1111
1111
  timezone: string | null;
1112
1112
  }>;
1113
1113
  }, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
1114
- priority: number | null;
1115
1114
  name: string;
1116
- coverLetterTemplateId: string | null;
1117
- biddingDelayInMinutes: number;
1118
- bidWithWarning: "bid" | "skip";
1119
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1120
- biddingHourlyRatePercentage: number | null;
1121
- biddingFixedHourlyRate: number | null;
1122
- boostingEnabled: boolean | null;
1123
- boostDownToNthPlace: number | null;
1124
- connectsAbovePrevious: number | null;
1125
- maximumBoost: number | null;
1126
- minBoost: number | null;
1127
- insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1128
- alreadyHiredAction: "bid" | "skip";
1129
1115
  filters: {
1130
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1131
- questions: {
1132
- hasQuestions: ("all" | "yes" | "no")[];
1116
+ keywords: {
1117
+ includes: string | null;
1118
+ excludes: string | null;
1119
+ } | null;
1120
+ searchQuery: string | null;
1121
+ isFeatured: "all" | "true" | "false" | null;
1122
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1123
+ categories: {
1124
+ 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;
1125
+ 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;
1126
+ } | null;
1127
+ payment: {
1128
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1129
+ minFixedPrice: number | null;
1130
+ maxFixedPrice: number | null;
1131
+ minHourlyRate: number | null;
1132
+ maxHourlyRate: number | null;
1133
1133
  } | null;
1134
1134
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1135
1135
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1136
+ questions: {
1137
+ hasQuestions: ("all" | "yes" | "no")[];
1138
+ } | null;
1139
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1136
1140
  clientInfo: {
1137
- isPhoneVerified: "false" | "all" | "true";
1138
- isPaymentVerified: "false" | "all" | "true";
1139
- 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;
1140
- enterpriseClient: "false" | "all" | "true";
1141
+ isPaymentVerified: "all" | "true" | "false";
1142
+ isPhoneVerified: "all" | "true" | "false";
1143
+ enterpriseClient: "all" | "true" | "false";
1141
1144
  clientLocationIncludes: string[] | null;
1142
1145
  clientLocationExcludes: string[] | null;
1143
1146
  minReviewScore: number | null;
@@ -1147,6 +1150,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1147
1150
  minHireRate: number | null;
1148
1151
  maxHireRate: number | null;
1149
1152
  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;
1153
+ 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;
1150
1154
  minJobsPosted: number | null;
1151
1155
  minAvgHourlyRate: number | null;
1152
1156
  maxAvgHourlyRate: number | null;
@@ -1154,56 +1158,52 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1154
1158
  memberSinceFrom: string | null;
1155
1159
  memberSinceTo: string | null;
1156
1160
  } | null;
1161
+ includeClientsWithZeroReviews: boolean | null;
1162
+ includeClientsWithLessThanXPostedJobs: number | null;
1163
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1164
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1157
1165
  vendorQualifications: {
1158
- includeRisingTalent: string | null;
1159
1166
  locationIncludes: string[] | null;
1160
1167
  locationExcludes: string[] | null;
1161
1168
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1162
1169
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1170
+ includeRisingTalent: string | null;
1163
1171
  requiredEarnings: 100 | 1000 | 10000 | null;
1164
1172
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1165
1173
  } | null;
1166
- isFeatured: "false" | "all" | "true" | null;
1167
- keywords: {
1168
- includes: string | null;
1169
- excludes: string | null;
1170
- } | null;
1171
- searchQuery: string | null;
1172
- categories: {
1173
- 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;
1174
- 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;
1175
- } | null;
1176
- payment: {
1177
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1178
- minFixedPrice: number | null;
1179
- maxFixedPrice: number | null;
1180
- minHourlyRate: number | null;
1181
- maxHourlyRate: number | null;
1182
- } | null;
1183
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1184
- includeClientsWithZeroReviews: boolean | null;
1185
- includeClientsWithLessThanXPostedJobs: number | null;
1186
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1187
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1188
1174
  };
1189
1175
  archivedAt: number | null;
1190
1176
  confirmedBillingAt: number | null;
1177
+ boostingEnabled: boolean | null;
1178
+ maximumBoost: number | null;
1179
+ minBoost: number | null;
1180
+ boostDownToNthPlace: number | null;
1181
+ connectsAbovePrevious: number | null;
1182
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1191
1183
  monthlyBudget: number | null;
1192
1184
  boostingThreshold: number | null;
1193
- leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
1185
+ biddingDelayInMinutes: number;
1186
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1187
+ biddingFixedHourlyRate: number | null;
1188
+ alreadyHiredAction: "bid" | "skip";
1189
+ biddingHourlyRatePercentage: number | null;
1190
+ bidWithWarning: "bid" | "skip";
1191
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
1194
1192
  expenses: {
1195
1193
  biddingAmount: number;
1196
- boosted: number;
1197
1194
  boostingAmount: number;
1195
+ boosted: number;
1198
1196
  };
1199
1197
  notificationsEnabled: boolean | null;
1198
+ coverLetterTemplateId: string | null;
1200
1199
  coverLetterTemplatesIds: string[] | null;
1200
+ priority: number | null;
1201
1201
  coverLetterTemplate: {
1202
+ status: "active" | "archived";
1202
1203
  id: string;
1203
1204
  name: string;
1204
- template: string;
1205
1205
  description: string | null;
1206
- status: "active" | "archived";
1206
+ template: string;
1207
1207
  instructions: string;
1208
1208
  } | null;
1209
1209
  organizationProfileId: string | null;
@@ -1214,36 +1214,43 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1214
1214
  windowAnchorAt: number | null;
1215
1215
  };
1216
1216
  workTime: {
1217
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1218
1217
  enabled: boolean;
1218
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1219
1219
  timeBlocks: {
1220
1220
  fromHour: number;
1221
1221
  toHour: number;
1222
1222
  }[];
1223
1223
  timezone: string | null;
1224
1224
  };
1225
- status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
1225
+ status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
1226
1226
  }, {
1227
- priority: number | null;
1228
1227
  name: string;
1229
- coverLetterTemplateId: string | null;
1230
- bidWithWarning: "bid" | "skip";
1231
- biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1232
- biddingHourlyRatePercentage: number | null;
1233
- biddingFixedHourlyRate: number | null;
1234
- boostDownToNthPlace: number | null;
1235
- connectsAbovePrevious: number | null;
1236
- insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1237
- alreadyHiredAction: "bid" | "skip";
1238
1228
  filters: {
1239
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1240
- questions: {
1241
- hasQuestions: ("all" | "yes" | "no")[];
1229
+ keywords: {
1230
+ includes: string | null;
1231
+ excludes: string | null;
1232
+ } | null;
1233
+ searchQuery: string | null;
1234
+ isFeatured: "all" | "true" | "false" | null;
1235
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1236
+ categories: {
1237
+ 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;
1238
+ 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;
1239
+ } | null;
1240
+ payment: {
1241
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1242
+ minFixedPrice: number | null;
1243
+ maxFixedPrice: number | null;
1244
+ minHourlyRate: number | null;
1245
+ maxHourlyRate: number | null;
1242
1246
  } | null;
1243
1247
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1244
1248
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1249
+ questions: {
1250
+ hasQuestions: ("all" | "yes" | "no")[];
1251
+ } | null;
1252
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1245
1253
  clientInfo: {
1246
- 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;
1247
1254
  clientLocationIncludes: string[] | null;
1248
1255
  clientLocationExcludes: string[] | null;
1249
1256
  minReviewScore: number | null;
@@ -1253,65 +1260,58 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1253
1260
  minHireRate: number | null;
1254
1261
  maxHireRate: number | null;
1255
1262
  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;
1263
+ 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;
1256
1264
  minJobsPosted: number | null;
1257
1265
  minAvgHourlyRate: number | null;
1258
1266
  maxAvgHourlyRate: number | null;
1259
1267
  minNumReviews: number | null;
1260
1268
  memberSinceFrom: string | null;
1261
1269
  memberSinceTo: string | null;
1262
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1263
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1264
- enterpriseClient?: "false" | "all" | "true" | undefined;
1270
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1271
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1272
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1265
1273
  } | null;
1274
+ includeClientsWithZeroReviews: boolean | null;
1275
+ includeClientsWithLessThanXPostedJobs: number | null;
1276
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1277
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1266
1278
  vendorQualifications: {
1267
- includeRisingTalent: string | null;
1268
1279
  locationIncludes: string[] | null;
1269
1280
  locationExcludes: string[] | null;
1270
1281
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1271
1282
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1283
+ includeRisingTalent: string | null;
1272
1284
  requiredEarnings: 100 | 1000 | 10000 | null;
1273
1285
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1274
1286
  } | null;
1275
- isFeatured: "false" | "all" | "true" | null;
1276
- keywords: {
1277
- includes: string | null;
1278
- excludes: string | null;
1279
- } | null;
1280
- searchQuery: string | null;
1281
- categories: {
1282
- 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;
1283
- 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;
1284
- } | null;
1285
- payment: {
1286
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1287
- minFixedPrice: number | null;
1288
- maxFixedPrice: number | null;
1289
- minHourlyRate: number | null;
1290
- maxHourlyRate: number | null;
1291
- } | null;
1292
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1293
- includeClientsWithZeroReviews: boolean | null;
1294
- includeClientsWithLessThanXPostedJobs: number | null;
1295
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1296
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1297
1287
  };
1298
1288
  archivedAt: number | null;
1299
1289
  confirmedBillingAt: number | null;
1290
+ boostDownToNthPlace: number | null;
1291
+ connectsAbovePrevious: number | null;
1292
+ insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
1300
1293
  monthlyBudget: number | null;
1301
- leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
1294
+ biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
1295
+ biddingFixedHourlyRate: number | null;
1296
+ alreadyHiredAction: "bid" | "skip";
1297
+ biddingHourlyRatePercentage: number | null;
1298
+ bidWithWarning: "bid" | "skip";
1299
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
1302
1300
  expenses: {
1303
1301
  biddingAmount?: number | undefined;
1304
- boosted?: number | undefined;
1305
1302
  boostingAmount?: number | undefined;
1303
+ boosted?: number | undefined;
1306
1304
  };
1307
1305
  notificationsEnabled: boolean | null;
1306
+ coverLetterTemplateId: string | null;
1308
1307
  coverLetterTemplatesIds: string[] | null;
1308
+ priority: number | null;
1309
1309
  coverLetterTemplate: {
1310
+ status: "active" | "archived";
1310
1311
  id: string;
1311
1312
  name: string;
1312
- template: string;
1313
1313
  description: string | null;
1314
- status: "active" | "archived";
1314
+ template: string;
1315
1315
  instructions: string;
1316
1316
  } | null;
1317
1317
  organizationProfileId: string | null;
@@ -1322,58 +1322,25 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1322
1322
  windowAnchorAt: number | null;
1323
1323
  };
1324
1324
  workTime: {
1325
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1326
1325
  enabled: boolean;
1326
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1327
1327
  timeBlocks: {
1328
1328
  fromHour: number;
1329
1329
  toHour: number;
1330
1330
  }[];
1331
1331
  timezone: string | null;
1332
1332
  };
1333
- status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
1334
- biddingDelayInMinutes?: number | undefined;
1333
+ status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
1335
1334
  boostingEnabled?: boolean | null | undefined;
1336
1335
  maximumBoost?: number | null | undefined;
1337
1336
  minBoost?: number | null | undefined;
1338
1337
  boostingThreshold?: number | null | undefined;
1338
+ biddingDelayInMinutes?: number | undefined;
1339
1339
  }>;
1340
1340
  export declare const updateCampaignSchema: z.ZodObject<{
1341
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>>;
1341
1342
  id: z.ZodOptional<z.ZodString>;
1342
- priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1343
1343
  name: z.ZodOptional<z.ZodString>;
1344
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>>;
1345
- coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1346
- biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1347
- bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
1348
- biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>>;
1349
- biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1350
- biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1351
- boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
1352
- boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1353
- connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1354
- maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1355
- minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1356
- insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
1357
- alreadyHiredAction: z.ZodOptional<z.ZodEnum<["skip", "bid"]>>;
1358
- bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1359
- agencyName: z.ZodNullable<z.ZodString>;
1360
- bidderId: z.ZodNullable<z.ZodString>;
1361
- contractorName: z.ZodNullable<z.ZodString>;
1362
- specialisedProfile: z.ZodNullable<z.ZodString>;
1363
- bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
1364
- }, "strip", z.ZodTypeAny, {
1365
- contractorName: string | null;
1366
- agencyName: string | null;
1367
- specialisedProfile: string | null;
1368
- bidderId: string | null;
1369
- bidAs: "agency" | "freelancer" | null;
1370
- }, {
1371
- contractorName: string | null;
1372
- agencyName: string | null;
1373
- specialisedProfile: string | null;
1374
- bidderId: string | null;
1375
- bidAs: "agency" | "freelancer" | null;
1376
- }>>>;
1377
1344
  filters: z.ZodOptional<z.ZodObject<{
1378
1345
  keywords: z.ZodNullable<z.ZodObject<{
1379
1346
  includes: z.ZodNullable<z.ZodString>;
@@ -1448,10 +1415,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1448
1415
  memberSinceFrom: z.ZodNullable<z.ZodString>;
1449
1416
  memberSinceTo: z.ZodNullable<z.ZodString>;
1450
1417
  }, "strip", z.ZodTypeAny, {
1451
- isPhoneVerified: "false" | "all" | "true";
1452
- isPaymentVerified: "false" | "all" | "true";
1453
- 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;
1454
- enterpriseClient: "false" | "all" | "true";
1418
+ isPaymentVerified: "all" | "true" | "false";
1419
+ isPhoneVerified: "all" | "true" | "false";
1420
+ enterpriseClient: "all" | "true" | "false";
1455
1421
  clientLocationIncludes: string[] | null;
1456
1422
  clientLocationExcludes: string[] | null;
1457
1423
  minReviewScore: number | null;
@@ -1461,6 +1427,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1461
1427
  minHireRate: number | null;
1462
1428
  maxHireRate: number | null;
1463
1429
  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;
1430
+ 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;
1464
1431
  minJobsPosted: number | null;
1465
1432
  minAvgHourlyRate: number | null;
1466
1433
  maxAvgHourlyRate: number | null;
@@ -1468,7 +1435,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
1468
1435
  memberSinceFrom: string | null;
1469
1436
  memberSinceTo: string | null;
1470
1437
  }, {
1471
- 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;
1472
1438
  clientLocationIncludes: string[] | null;
1473
1439
  clientLocationExcludes: string[] | null;
1474
1440
  minReviewScore: number | null;
@@ -1478,15 +1444,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
1478
1444
  minHireRate: number | null;
1479
1445
  maxHireRate: number | null;
1480
1446
  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;
1447
+ 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;
1481
1448
  minJobsPosted: number | null;
1482
1449
  minAvgHourlyRate: number | null;
1483
1450
  maxAvgHourlyRate: number | null;
1484
1451
  minNumReviews: number | null;
1485
1452
  memberSinceFrom: string | null;
1486
1453
  memberSinceTo: string | null;
1487
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1488
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1489
- enterpriseClient?: "false" | "all" | "true" | undefined;
1454
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1455
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1456
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1490
1457
  }>>;
1491
1458
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
1492
1459
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -1501,34 +1468,51 @@ export declare const updateCampaignSchema: z.ZodObject<{
1501
1468
  requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
1502
1469
  requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
1503
1470
  }, "strip", z.ZodTypeAny, {
1504
- includeRisingTalent: string | null;
1505
1471
  locationIncludes: string[] | null;
1506
1472
  locationExcludes: string[] | null;
1507
1473
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1508
1474
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1475
+ includeRisingTalent: string | null;
1509
1476
  requiredEarnings: 100 | 1000 | 10000 | null;
1510
1477
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1511
1478
  }, {
1512
- includeRisingTalent: string | null;
1513
1479
  locationIncludes: string[] | null;
1514
1480
  locationExcludes: string[] | null;
1515
1481
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1516
1482
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1483
+ includeRisingTalent: string | null;
1517
1484
  requiredEarnings: 100 | 1000 | 10000 | null;
1518
1485
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1519
1486
  }>>;
1520
1487
  }, "strip", z.ZodTypeAny, {
1521
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1522
- questions: {
1523
- hasQuestions: ("all" | "yes" | "no")[];
1488
+ keywords: {
1489
+ includes: string | null;
1490
+ excludes: string | null;
1491
+ } | null;
1492
+ searchQuery: string | null;
1493
+ isFeatured: "all" | "true" | "false" | null;
1494
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1495
+ categories: {
1496
+ 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;
1497
+ 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;
1498
+ } | null;
1499
+ payment: {
1500
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1501
+ minFixedPrice: number | null;
1502
+ maxFixedPrice: number | null;
1503
+ minHourlyRate: number | null;
1504
+ maxHourlyRate: number | null;
1524
1505
  } | null;
1525
1506
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1526
1507
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1508
+ questions: {
1509
+ hasQuestions: ("all" | "yes" | "no")[];
1510
+ } | null;
1511
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1527
1512
  clientInfo: {
1528
- isPhoneVerified: "false" | "all" | "true";
1529
- isPaymentVerified: "false" | "all" | "true";
1530
- 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;
1531
- enterpriseClient: "false" | "all" | "true";
1513
+ isPaymentVerified: "all" | "true" | "false";
1514
+ isPhoneVerified: "all" | "true" | "false";
1515
+ enterpriseClient: "all" | "true" | "false";
1532
1516
  clientLocationIncludes: string[] | null;
1533
1517
  clientLocationExcludes: string[] | null;
1534
1518
  minReviewScore: number | null;
@@ -1538,6 +1522,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1538
1522
  minHireRate: number | null;
1539
1523
  maxHireRate: number | null;
1540
1524
  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;
1525
+ 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;
1541
1526
  minJobsPosted: number | null;
1542
1527
  minAvgHourlyRate: number | null;
1543
1528
  maxAvgHourlyRate: number | null;
@@ -1545,21 +1530,27 @@ export declare const updateCampaignSchema: z.ZodObject<{
1545
1530
  memberSinceFrom: string | null;
1546
1531
  memberSinceTo: string | null;
1547
1532
  } | null;
1533
+ includeClientsWithZeroReviews: boolean | null;
1534
+ includeClientsWithLessThanXPostedJobs: number | null;
1535
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1536
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1548
1537
  vendorQualifications: {
1549
- includeRisingTalent: string | null;
1550
1538
  locationIncludes: string[] | null;
1551
1539
  locationExcludes: string[] | null;
1552
1540
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1553
1541
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1542
+ includeRisingTalent: string | null;
1554
1543
  requiredEarnings: 100 | 1000 | 10000 | null;
1555
1544
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1556
1545
  } | null;
1557
- isFeatured: "false" | "all" | "true" | null;
1546
+ }, {
1558
1547
  keywords: {
1559
1548
  includes: string | null;
1560
1549
  excludes: string | null;
1561
1550
  } | null;
1562
1551
  searchQuery: string | null;
1552
+ isFeatured: "all" | "true" | "false" | null;
1553
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1563
1554
  categories: {
1564
1555
  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
1556
  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,20 +1562,13 @@ export declare const updateCampaignSchema: z.ZodObject<{
1571
1562
  minHourlyRate: number | null;
1572
1563
  maxHourlyRate: number | null;
1573
1564
  } | null;
1574
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1575
- includeClientsWithZeroReviews: boolean | null;
1576
- includeClientsWithLessThanXPostedJobs: number | null;
1577
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1578
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1579
- }, {
1580
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1565
+ projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1566
+ experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1581
1567
  questions: {
1582
1568
  hasQuestions: ("all" | "yes" | "no")[];
1583
1569
  } | null;
1584
- projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1585
- experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1570
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1586
1571
  clientInfo: {
1587
- 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;
1588
1572
  clientLocationIncludes: string[] | null;
1589
1573
  clientLocationExcludes: string[] | null;
1590
1574
  minReviewScore: number | null;
@@ -1594,52 +1578,47 @@ export declare const updateCampaignSchema: z.ZodObject<{
1594
1578
  minHireRate: number | null;
1595
1579
  maxHireRate: number | null;
1596
1580
  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;
1581
+ 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;
1597
1582
  minJobsPosted: number | null;
1598
1583
  minAvgHourlyRate: number | null;
1599
1584
  maxAvgHourlyRate: number | null;
1600
1585
  minNumReviews: number | null;
1601
1586
  memberSinceFrom: string | null;
1602
1587
  memberSinceTo: string | null;
1603
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1604
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1605
- enterpriseClient?: "false" | "all" | "true" | undefined;
1588
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1589
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1590
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1606
1591
  } | null;
1592
+ includeClientsWithZeroReviews: boolean | null;
1593
+ includeClientsWithLessThanXPostedJobs: number | null;
1594
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1595
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1607
1596
  vendorQualifications: {
1608
- includeRisingTalent: string | null;
1609
1597
  locationIncludes: string[] | null;
1610
1598
  locationExcludes: string[] | null;
1611
1599
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1612
1600
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1601
+ includeRisingTalent: string | null;
1613
1602
  requiredEarnings: 100 | 1000 | 10000 | null;
1614
1603
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1615
1604
  } | null;
1616
- isFeatured: "false" | "all" | "true" | null;
1617
- keywords: {
1618
- includes: string | null;
1619
- excludes: string | null;
1620
- } | null;
1621
- searchQuery: string | null;
1622
- categories: {
1623
- 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;
1624
- 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;
1625
- } | null;
1626
- payment: {
1627
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1628
- minFixedPrice: number | null;
1629
- maxFixedPrice: number | null;
1630
- minHourlyRate: number | null;
1631
- maxHourlyRate: number | null;
1632
- } | null;
1633
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1634
- includeClientsWithZeroReviews: boolean | null;
1635
- includeClientsWithLessThanXPostedJobs: number | null;
1636
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1637
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1638
1605
  }>>;
1639
1606
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1640
1607
  confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1608
+ boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
1609
+ maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1610
+ minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1611
+ boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1612
+ connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1613
+ insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
1641
1614
  monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1642
1615
  boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1616
+ biddingDelayInMinutes: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1617
+ biddingHourlyRateStrategy: z.ZodOptional<z.ZodEnum<["match_job_budget", "match_profile_rate", "fixed_rate", "smart_bidding"]>>;
1618
+ biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1619
+ alreadyHiredAction: z.ZodOptional<z.ZodEnum<["skip", "bid"]>>;
1620
+ biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1621
+ bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
1643
1622
  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>>>;
1644
1623
  expenses: z.ZodOptional<z.ZodObject<{
1645
1624
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1647,15 +1626,36 @@ export declare const updateCampaignSchema: z.ZodObject<{
1647
1626
  boosted: z.ZodDefault<z.ZodNumber>;
1648
1627
  }, "strip", z.ZodTypeAny, {
1649
1628
  biddingAmount: number;
1650
- boosted: number;
1651
1629
  boostingAmount: number;
1630
+ boosted: number;
1652
1631
  }, {
1653
1632
  biddingAmount?: number | undefined;
1654
- boosted?: number | undefined;
1655
1633
  boostingAmount?: number | undefined;
1634
+ boosted?: number | undefined;
1656
1635
  }>>;
1657
1636
  notificationsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1637
+ bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1638
+ agencyName: z.ZodNullable<z.ZodString>;
1639
+ bidderId: z.ZodNullable<z.ZodString>;
1640
+ contractorName: z.ZodNullable<z.ZodString>;
1641
+ specialisedProfile: z.ZodNullable<z.ZodString>;
1642
+ bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ agencyName: string | null;
1645
+ bidderId: string | null;
1646
+ contractorName: string | null;
1647
+ specialisedProfile: string | null;
1648
+ bidAs: "agency" | "freelancer" | null;
1649
+ }, {
1650
+ agencyName: string | null;
1651
+ bidderId: string | null;
1652
+ contractorName: string | null;
1653
+ specialisedProfile: string | null;
1654
+ bidAs: "agency" | "freelancer" | null;
1655
+ }>>>;
1656
+ coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
1657
  coverLetterTemplatesIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1658
+ priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1659
1659
  coverLetterTemplate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1660
1660
  id: z.ZodString;
1661
1661
  name: z.ZodString;
@@ -1664,18 +1664,18 @@ export declare const updateCampaignSchema: z.ZodObject<{
1664
1664
  instructions: z.ZodString;
1665
1665
  status: z.ZodEnum<["active", "archived"]>;
1666
1666
  }, "strip", z.ZodTypeAny, {
1667
+ status: "active" | "archived";
1667
1668
  id: string;
1668
1669
  name: string;
1669
- template: string;
1670
1670
  description: string | null;
1671
- status: "active" | "archived";
1671
+ template: string;
1672
1672
  instructions: string;
1673
1673
  }, {
1674
+ status: "active" | "archived";
1674
1675
  id: string;
1675
1676
  name: string;
1676
- template: string;
1677
1677
  description: string | null;
1678
- status: "active" | "archived";
1678
+ template: string;
1679
1679
  instructions: string;
1680
1680
  }>>>;
1681
1681
  organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1708,16 +1708,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
1708
1708
  }>, "many">;
1709
1709
  timezone: z.ZodNullable<z.ZodString>;
1710
1710
  }, "strip", z.ZodTypeAny, {
1711
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1712
1711
  enabled: boolean;
1712
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1713
1713
  timeBlocks: {
1714
1714
  fromHour: number;
1715
1715
  toHour: number;
1716
1716
  }[];
1717
1717
  timezone: string | null;
1718
1718
  }, {
1719
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1720
1719
  enabled: boolean;
1720
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1721
1721
  timeBlocks: {
1722
1722
  fromHour: number;
1723
1723
  toHour: number;
@@ -1725,42 +1725,38 @@ export declare const updateCampaignSchema: z.ZodObject<{
1725
1725
  timezone: string | null;
1726
1726
  }>>;
1727
1727
  }, "strip", z.ZodTypeAny, {
1728
+ status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
1728
1729
  id?: string | undefined;
1729
- priority?: number | null | undefined;
1730
1730
  name?: string | undefined;
1731
- status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
1732
- coverLetterTemplateId?: string | null | undefined;
1733
- biddingDelayInMinutes?: number | undefined;
1734
- bidWithWarning?: "bid" | "skip" | undefined;
1735
- biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
1736
- biddingHourlyRatePercentage?: number | null | undefined;
1737
- biddingFixedHourlyRate?: number | null | undefined;
1738
- boostingEnabled?: boolean | null | undefined;
1739
- boostDownToNthPlace?: number | null | undefined;
1740
- connectsAbovePrevious?: number | null | undefined;
1741
- maximumBoost?: number | null | undefined;
1742
- minBoost?: number | null | undefined;
1743
- insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
1744
- alreadyHiredAction?: "bid" | "skip" | undefined;
1745
- bidConfig?: {
1746
- contractorName: string | null;
1747
- agencyName: string | null;
1748
- specialisedProfile: string | null;
1749
- bidderId: string | null;
1750
- bidAs: "agency" | "freelancer" | null;
1751
- } | null | undefined;
1752
1731
  filters?: {
1753
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1754
- questions: {
1755
- hasQuestions: ("all" | "yes" | "no")[];
1732
+ keywords: {
1733
+ includes: string | null;
1734
+ excludes: string | null;
1735
+ } | null;
1736
+ searchQuery: string | null;
1737
+ isFeatured: "all" | "true" | "false" | null;
1738
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1739
+ categories: {
1740
+ 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;
1741
+ 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;
1742
+ } | null;
1743
+ payment: {
1744
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1745
+ minFixedPrice: number | null;
1746
+ maxFixedPrice: number | null;
1747
+ minHourlyRate: number | null;
1748
+ maxHourlyRate: number | null;
1756
1749
  } | null;
1757
1750
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1758
1751
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1752
+ questions: {
1753
+ hasQuestions: ("all" | "yes" | "no")[];
1754
+ } | null;
1755
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1759
1756
  clientInfo: {
1760
- isPhoneVerified: "false" | "all" | "true";
1761
- isPaymentVerified: "false" | "all" | "true";
1762
- 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;
1763
- enterpriseClient: "false" | "all" | "true";
1757
+ isPaymentVerified: "all" | "true" | "false";
1758
+ isPhoneVerified: "all" | "true" | "false";
1759
+ enterpriseClient: "all" | "true" | "false";
1764
1760
  clientLocationIncludes: string[] | null;
1765
1761
  clientLocationExcludes: string[] | null;
1766
1762
  minReviewScore: number | null;
@@ -1770,6 +1766,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1770
1766
  minHireRate: number | null;
1771
1767
  maxHireRate: number | null;
1772
1768
  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;
1769
+ 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;
1773
1770
  minJobsPosted: number | null;
1774
1771
  minAvgHourlyRate: number | null;
1775
1772
  maxAvgHourlyRate: number | null;
@@ -1777,56 +1774,59 @@ export declare const updateCampaignSchema: z.ZodObject<{
1777
1774
  memberSinceFrom: string | null;
1778
1775
  memberSinceTo: string | null;
1779
1776
  } | null;
1777
+ includeClientsWithZeroReviews: boolean | null;
1778
+ includeClientsWithLessThanXPostedJobs: number | null;
1779
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1780
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1780
1781
  vendorQualifications: {
1781
- includeRisingTalent: string | null;
1782
1782
  locationIncludes: string[] | null;
1783
1783
  locationExcludes: string[] | null;
1784
1784
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1785
1785
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1786
+ includeRisingTalent: string | null;
1786
1787
  requiredEarnings: 100 | 1000 | 10000 | null;
1787
1788
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1788
1789
  } | null;
1789
- isFeatured: "false" | "all" | "true" | null;
1790
- keywords: {
1791
- includes: string | null;
1792
- excludes: string | null;
1793
- } | null;
1794
- searchQuery: string | null;
1795
- categories: {
1796
- 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;
1797
- 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;
1798
- } | null;
1799
- payment: {
1800
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1801
- minFixedPrice: number | null;
1802
- maxFixedPrice: number | null;
1803
- minHourlyRate: number | null;
1804
- maxHourlyRate: number | null;
1805
- } | null;
1806
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1807
- includeClientsWithZeroReviews: boolean | null;
1808
- includeClientsWithLessThanXPostedJobs: number | null;
1809
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1810
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1811
1790
  } | undefined;
1812
1791
  archivedAt?: number | null | undefined;
1813
1792
  confirmedBillingAt?: number | null | undefined;
1793
+ boostingEnabled?: boolean | null | undefined;
1794
+ maximumBoost?: number | null | undefined;
1795
+ minBoost?: number | null | undefined;
1796
+ boostDownToNthPlace?: number | null | undefined;
1797
+ connectsAbovePrevious?: number | null | undefined;
1798
+ insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
1814
1799
  monthlyBudget?: number | null | undefined;
1815
1800
  boostingThreshold?: number | null | undefined;
1816
- leadCounts?: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
1801
+ biddingDelayInMinutes?: number | undefined;
1802
+ biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
1803
+ biddingFixedHourlyRate?: number | null | undefined;
1804
+ alreadyHiredAction?: "bid" | "skip" | undefined;
1805
+ biddingHourlyRatePercentage?: number | null | undefined;
1806
+ bidWithWarning?: "bid" | "skip" | undefined;
1807
+ leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null | undefined;
1817
1808
  expenses?: {
1818
1809
  biddingAmount: number;
1819
- boosted: number;
1820
1810
  boostingAmount: number;
1811
+ boosted: number;
1821
1812
  } | undefined;
1822
1813
  notificationsEnabled?: boolean | null | undefined;
1814
+ bidConfig?: {
1815
+ agencyName: string | null;
1816
+ bidderId: string | null;
1817
+ contractorName: string | null;
1818
+ specialisedProfile: string | null;
1819
+ bidAs: "agency" | "freelancer" | null;
1820
+ } | null | undefined;
1821
+ coverLetterTemplateId?: string | null | undefined;
1823
1822
  coverLetterTemplatesIds?: string[] | null | undefined;
1823
+ priority?: number | null | undefined;
1824
1824
  coverLetterTemplate?: {
1825
+ status: "active" | "archived";
1825
1826
  id: string;
1826
1827
  name: string;
1827
- template: string;
1828
1828
  description: string | null;
1829
- status: "active" | "archived";
1829
+ template: string;
1830
1830
  instructions: string;
1831
1831
  } | null | undefined;
1832
1832
  organizationProfileId?: string | null | undefined;
@@ -1837,8 +1837,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
1837
1837
  windowAnchorAt: number | null;
1838
1838
  } | undefined;
1839
1839
  workTime?: {
1840
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1841
1840
  enabled: boolean;
1841
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1842
1842
  timeBlocks: {
1843
1843
  fromHour: number;
1844
1844
  toHour: number;
@@ -1846,39 +1846,35 @@ export declare const updateCampaignSchema: z.ZodObject<{
1846
1846
  timezone: string | null;
1847
1847
  } | undefined;
1848
1848
  }, {
1849
+ status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
1849
1850
  id?: string | undefined;
1850
- priority?: number | null | undefined;
1851
1851
  name?: string | undefined;
1852
- status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
1853
- coverLetterTemplateId?: string | null | undefined;
1854
- biddingDelayInMinutes?: number | undefined;
1855
- bidWithWarning?: "bid" | "skip" | undefined;
1856
- biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
1857
- biddingHourlyRatePercentage?: number | null | undefined;
1858
- biddingFixedHourlyRate?: number | null | undefined;
1859
- boostingEnabled?: boolean | null | undefined;
1860
- boostDownToNthPlace?: number | null | undefined;
1861
- connectsAbovePrevious?: number | null | undefined;
1862
- maximumBoost?: number | null | undefined;
1863
- minBoost?: number | null | undefined;
1864
- insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
1865
- alreadyHiredAction?: "bid" | "skip" | undefined;
1866
- bidConfig?: {
1867
- contractorName: string | null;
1868
- agencyName: string | null;
1869
- specialisedProfile: string | null;
1870
- bidderId: string | null;
1871
- bidAs: "agency" | "freelancer" | null;
1872
- } | null | undefined;
1873
1852
  filters?: {
1874
- regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
1875
- questions: {
1876
- hasQuestions: ("all" | "yes" | "no")[];
1853
+ keywords: {
1854
+ includes: string | null;
1855
+ excludes: string | null;
1856
+ } | null;
1857
+ searchQuery: string | null;
1858
+ isFeatured: "all" | "true" | "false" | null;
1859
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1860
+ categories: {
1861
+ 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;
1862
+ 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;
1863
+ } | null;
1864
+ payment: {
1865
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1866
+ minFixedPrice: number | null;
1867
+ maxFixedPrice: number | null;
1868
+ minHourlyRate: number | null;
1869
+ maxHourlyRate: number | null;
1877
1870
  } | null;
1878
1871
  projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
1879
1872
  experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
1873
+ questions: {
1874
+ hasQuestions: ("all" | "yes" | "no")[];
1875
+ } | null;
1876
+ engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1880
1877
  clientInfo: {
1881
- 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;
1882
1878
  clientLocationIncludes: string[] | null;
1883
1879
  clientLocationExcludes: string[] | null;
1884
1880
  minReviewScore: number | null;
@@ -1888,66 +1884,70 @@ export declare const updateCampaignSchema: z.ZodObject<{
1888
1884
  minHireRate: number | null;
1889
1885
  maxHireRate: number | null;
1890
1886
  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;
1887
+ 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;
1891
1888
  minJobsPosted: number | null;
1892
1889
  minAvgHourlyRate: number | null;
1893
1890
  maxAvgHourlyRate: number | null;
1894
1891
  minNumReviews: number | null;
1895
1892
  memberSinceFrom: string | null;
1896
1893
  memberSinceTo: string | null;
1897
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1898
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1899
- enterpriseClient?: "false" | "all" | "true" | undefined;
1894
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1895
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1896
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1900
1897
  } | null;
1898
+ includeClientsWithZeroReviews: boolean | null;
1899
+ includeClientsWithLessThanXPostedJobs: number | null;
1900
+ totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1901
+ averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1901
1902
  vendorQualifications: {
1902
- includeRisingTalent: string | null;
1903
1903
  locationIncludes: string[] | null;
1904
1904
  locationExcludes: string[] | null;
1905
1905
  talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
1906
1906
  englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
1907
+ includeRisingTalent: string | null;
1907
1908
  requiredEarnings: 100 | 1000 | 10000 | null;
1908
1909
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
1909
1910
  } | null;
1910
- isFeatured: "false" | "all" | "true" | null;
1911
- keywords: {
1912
- includes: string | null;
1913
- excludes: string | null;
1914
- } | null;
1915
- searchQuery: string | null;
1916
- categories: {
1917
- 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;
1918
- 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;
1919
- } | null;
1920
- payment: {
1921
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1922
- minFixedPrice: number | null;
1923
- maxFixedPrice: number | null;
1924
- minHourlyRate: number | null;
1925
- maxHourlyRate: number | null;
1926
- } | null;
1927
- engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1928
- includeClientsWithZeroReviews: boolean | null;
1929
- includeClientsWithLessThanXPostedJobs: number | null;
1930
- totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
1931
- averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
1932
1911
  } | undefined;
1933
1912
  archivedAt?: number | null | undefined;
1934
1913
  confirmedBillingAt?: number | null | undefined;
1914
+ boostingEnabled?: boolean | null | undefined;
1915
+ maximumBoost?: number | null | undefined;
1916
+ minBoost?: number | null | undefined;
1917
+ boostDownToNthPlace?: number | null | undefined;
1918
+ connectsAbovePrevious?: number | null | undefined;
1919
+ insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
1935
1920
  monthlyBudget?: number | null | undefined;
1936
1921
  boostingThreshold?: number | null | undefined;
1937
- leadCounts?: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null | undefined;
1922
+ biddingDelayInMinutes?: number | undefined;
1923
+ biddingHourlyRateStrategy?: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding" | undefined;
1924
+ biddingFixedHourlyRate?: number | null | undefined;
1925
+ alreadyHiredAction?: "bid" | "skip" | undefined;
1926
+ biddingHourlyRatePercentage?: number | null | undefined;
1927
+ bidWithWarning?: "bid" | "skip" | undefined;
1928
+ leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null | undefined;
1938
1929
  expenses?: {
1939
1930
  biddingAmount?: number | undefined;
1940
- boosted?: number | undefined;
1941
1931
  boostingAmount?: number | undefined;
1932
+ boosted?: number | undefined;
1942
1933
  } | undefined;
1943
1934
  notificationsEnabled?: boolean | null | undefined;
1935
+ bidConfig?: {
1936
+ agencyName: string | null;
1937
+ bidderId: string | null;
1938
+ contractorName: string | null;
1939
+ specialisedProfile: string | null;
1940
+ bidAs: "agency" | "freelancer" | null;
1941
+ } | null | undefined;
1942
+ coverLetterTemplateId?: string | null | undefined;
1944
1943
  coverLetterTemplatesIds?: string[] | null | undefined;
1944
+ priority?: number | null | undefined;
1945
1945
  coverLetterTemplate?: {
1946
+ status: "active" | "archived";
1946
1947
  id: string;
1947
1948
  name: string;
1948
- template: string;
1949
1949
  description: string | null;
1950
- status: "active" | "archived";
1950
+ template: string;
1951
1951
  instructions: string;
1952
1952
  } | null | undefined;
1953
1953
  organizationProfileId?: string | null | undefined;
@@ -1958,8 +1958,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
1958
1958
  windowAnchorAt: number | null;
1959
1959
  } | undefined;
1960
1960
  workTime?: {
1961
- days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1962
1961
  enabled: boolean;
1962
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1963
1963
  timeBlocks: {
1964
1964
  fromHour: number;
1965
1965
  toHour: number;