lancer-shared 1.2.241 → 1.2.243

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 (55) hide show
  1. package/dist/bundle.cjs.js +2 -1
  2. package/dist/bundle.cjs.js.map +1 -0
  3. package/dist/bundle.esm.js +2 -1
  4. package/dist/bundle.esm.js.map +1 -0
  5. package/dist/schemas/account/bidder-account.d.ts +75 -75
  6. package/dist/schemas/account/scraper-account.d.ts +37 -37
  7. package/dist/schemas/agent/index.d.ts +287 -287
  8. package/dist/schemas/agent/proposal.d.ts +6 -6
  9. package/dist/schemas/bidder/bid.d.ts +2345 -2345
  10. package/dist/schemas/campaign/campaign-analytics.d.ts +857 -857
  11. package/dist/schemas/campaign/campaign-chat-bot.d.ts +25 -25
  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 +201 -201
  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 +34 -34
  23. package/dist/schemas/infrastructure/index.d.ts +8 -8
  24. package/dist/schemas/invoice/index.d.ts +51 -51
  25. package/dist/schemas/job/index.d.ts +212 -212
  26. package/dist/schemas/job/job-api.d.ts +4 -4
  27. package/dist/schemas/job/job-details.d.ts +736 -736
  28. package/dist/schemas/job/job-filters.d.ts +14 -14
  29. package/dist/schemas/job/job-listing.d.ts +94 -94
  30. package/dist/schemas/job/nuxt.d.ts +150 -150
  31. package/dist/schemas/lead/index.d.ts +1025 -1022
  32. package/dist/schemas/lead/lead-status.d.ts +10 -10
  33. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +25 -25
  34. package/dist/schemas/logger/feed/feed-enrich.d.ts +15 -15
  35. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +321 -321
  36. package/dist/schemas/logger/feed/feed-scrape.d.ts +15 -15
  37. package/dist/schemas/logger/log-event.d.ts +91 -91
  38. package/dist/schemas/logger/scraper-events.d.ts +90 -90
  39. package/dist/schemas/notifications/index.d.ts +4 -4
  40. package/dist/schemas/organization/cover-letter.d.ts +2 -2
  41. package/dist/schemas/organization/index.d.ts +104 -104
  42. package/dist/schemas/organization/subscription.d.ts +6 -6
  43. package/dist/schemas/plan/index.d.ts +14 -14
  44. package/dist/schemas/proxy/proxy.d.ts +20 -20
  45. package/dist/schemas/saved-search/index.d.ts +4 -4
  46. package/dist/schemas/scraper/scrape-payload.d.ts +621 -621
  47. package/dist/schemas/scraper/scrape-result.d.ts +214 -214
  48. package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
  49. package/dist/schemas/shared.d.ts +1 -1
  50. package/dist/schemas/talent/index.d.ts +854 -854
  51. package/dist/schemas/transaction/index.d.ts +18 -18
  52. package/dist/schemas/usage/index.d.ts +16 -16
  53. package/dist/schemas/usage-event/index.d.ts +4 -4
  54. package/dist/schemas/user/index.d.ts +4 -4
  55. package/package.json +7 -5
@@ -6,14 +6,14 @@ export declare const bidConfigSchema: z.ZodObject<{
6
6
  contractorName: z.ZodNullable<z.ZodString>;
7
7
  specialisedProfile: z.ZodNullable<z.ZodString>;
8
8
  }, "strip", z.ZodTypeAny, {
9
+ contractorName: string | null;
9
10
  agencyName: string | null;
10
11
  bidderId: string | null;
11
- contractorName: string | null;
12
12
  specialisedProfile: string | null;
13
13
  }, {
14
+ contractorName: string | null;
14
15
  agencyName: string | null;
15
16
  bidderId: string | null;
16
- contractorName: string | null;
17
17
  specialisedProfile: string | null;
18
18
  }>;
19
19
  export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>;
@@ -45,16 +45,16 @@ export declare const workTimeSchema: z.ZodObject<{
45
45
  }>, "many">;
46
46
  timezone: z.ZodNullable<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- enabled: boolean;
49
48
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
49
+ enabled: boolean;
50
50
  timeBlocks: {
51
51
  fromHour: number;
52
52
  toHour: number;
53
53
  }[];
54
54
  timezone: string | null;
55
55
  }, {
56
- enabled: boolean;
57
56
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
57
+ enabled: boolean;
58
58
  timeBlocks: {
59
59
  fromHour: number;
60
60
  toHour: number;
@@ -78,7 +78,7 @@ export declare const campaignSchema: z.ZodObject<{
78
78
  }>>;
79
79
  searchQuery: z.ZodNullable<z.ZodString>;
80
80
  isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
81
- regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
81
+ regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
82
82
  categories: z.ZodNullable<z.ZodObject<{
83
83
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
84
84
  excludes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -139,9 +139,9 @@ export declare const campaignSchema: z.ZodObject<{
139
139
  memberSinceFrom: z.ZodNullable<z.ZodString>;
140
140
  memberSinceTo: z.ZodNullable<z.ZodString>;
141
141
  }, "strip", z.ZodTypeAny, {
142
- isPaymentVerified: "all" | "true" | "false";
143
- isPhoneVerified: "all" | "true" | "false";
144
- enterpriseClient: "all" | "true" | "false";
142
+ isPaymentVerified: "false" | "all" | "true";
143
+ isPhoneVerified: "false" | "all" | "true";
144
+ enterpriseClient: "false" | "all" | "true";
145
145
  clientLocationIncludes: string[] | null;
146
146
  clientLocationExcludes: string[] | null;
147
147
  minReviewScore: number | null;
@@ -175,9 +175,9 @@ export declare const campaignSchema: z.ZodObject<{
175
175
  minNumReviews: number | null;
176
176
  memberSinceFrom: string | null;
177
177
  memberSinceTo: string | null;
178
- isPaymentVerified?: "all" | "true" | "false" | undefined;
179
- isPhoneVerified?: "all" | "true" | "false" | undefined;
180
- enterpriseClient?: "all" | "true" | "false" | undefined;
178
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
179
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
180
+ enterpriseClient?: "false" | "all" | "true" | undefined;
181
181
  }>>;
182
182
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
183
183
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -212,8 +212,8 @@ export declare const campaignSchema: z.ZodObject<{
212
212
  excludes: string | null;
213
213
  } | null;
214
214
  searchQuery: string | null;
215
- isFeatured: "all" | "true" | "false" | null;
216
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
215
+ isFeatured: "false" | "all" | "true" | null;
216
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
217
217
  categories: {
218
218
  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;
219
219
  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;
@@ -232,9 +232,9 @@ export declare const campaignSchema: z.ZodObject<{
232
232
  } | null;
233
233
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
234
234
  clientInfo: {
235
- isPaymentVerified: "all" | "true" | "false";
236
- isPhoneVerified: "all" | "true" | "false";
237
- enterpriseClient: "all" | "true" | "false";
235
+ isPaymentVerified: "false" | "all" | "true";
236
+ isPhoneVerified: "false" | "all" | "true";
237
+ enterpriseClient: "false" | "all" | "true";
238
238
  clientLocationIncludes: string[] | null;
239
239
  clientLocationExcludes: string[] | null;
240
240
  minReviewScore: number | null;
@@ -269,8 +269,8 @@ export declare const campaignSchema: z.ZodObject<{
269
269
  excludes: string | null;
270
270
  } | null;
271
271
  searchQuery: string | null;
272
- isFeatured: "all" | "true" | "false" | null;
273
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
272
+ isFeatured: "false" | "all" | "true" | null;
273
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
274
274
  categories: {
275
275
  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;
276
276
  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;
@@ -305,9 +305,9 @@ export declare const campaignSchema: z.ZodObject<{
305
305
  minNumReviews: number | null;
306
306
  memberSinceFrom: string | null;
307
307
  memberSinceTo: string | null;
308
- isPaymentVerified?: "all" | "true" | "false" | undefined;
309
- isPhoneVerified?: "all" | "true" | "false" | undefined;
310
- enterpriseClient?: "all" | "true" | "false" | undefined;
308
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
309
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
310
+ enterpriseClient?: "false" | "all" | "true" | undefined;
311
311
  } | null;
312
312
  includeClientsWithZeroReviews: boolean | null;
313
313
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -344,12 +344,12 @@ export declare const campaignSchema: z.ZodObject<{
344
344
  boosted: z.ZodDefault<z.ZodNumber>;
345
345
  }, "strip", z.ZodTypeAny, {
346
346
  biddingAmount: number;
347
- boostingAmount: number;
348
347
  boosted: number;
348
+ boostingAmount: number;
349
349
  }, {
350
350
  biddingAmount?: number | undefined;
351
- boostingAmount?: number | undefined;
352
351
  boosted?: number | undefined;
352
+ boostingAmount?: number | undefined;
353
353
  }>;
354
354
  notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
355
355
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>;
@@ -359,14 +359,14 @@ export declare const campaignSchema: z.ZodObject<{
359
359
  contractorName: z.ZodNullable<z.ZodString>;
360
360
  specialisedProfile: z.ZodNullable<z.ZodString>;
361
361
  }, "strip", z.ZodTypeAny, {
362
+ contractorName: string | null;
362
363
  agencyName: string | null;
363
364
  bidderId: string | null;
364
- contractorName: string | null;
365
365
  specialisedProfile: string | null;
366
366
  }, {
367
+ contractorName: string | null;
367
368
  agencyName: string | null;
368
369
  bidderId: string | null;
369
- contractorName: string | null;
370
370
  specialisedProfile: string | null;
371
371
  }>>;
372
372
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
@@ -380,14 +380,14 @@ export declare const campaignSchema: z.ZodObject<{
380
380
  }, "strip", z.ZodTypeAny, {
381
381
  id: string;
382
382
  name: string;
383
- description: string | null;
384
383
  template: string;
384
+ description: string | null;
385
385
  instructions: string;
386
386
  }, {
387
387
  id: string;
388
388
  name: string;
389
- description: string | null;
390
389
  template: string;
390
+ description: string | null;
391
391
  instructions: string;
392
392
  }>>;
393
393
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -420,16 +420,16 @@ export declare const campaignSchema: z.ZodObject<{
420
420
  }>, "many">;
421
421
  timezone: z.ZodNullable<z.ZodString>;
422
422
  }, "strip", z.ZodTypeAny, {
423
- enabled: boolean;
424
423
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
424
+ enabled: boolean;
425
425
  timeBlocks: {
426
426
  fromHour: number;
427
427
  toHour: number;
428
428
  }[];
429
429
  timezone: string | null;
430
430
  }, {
431
- enabled: boolean;
432
431
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
432
+ enabled: boolean;
433
433
  timeBlocks: {
434
434
  fromHour: number;
435
435
  toHour: number;
@@ -438,15 +438,24 @@ export declare const campaignSchema: z.ZodObject<{
438
438
  }>;
439
439
  }, "strip", z.ZodTypeAny, {
440
440
  id: string;
441
+ priority: number | null;
441
442
  name: string;
443
+ limits: {
444
+ enabled: boolean;
445
+ maxDailyProposalsSent: number;
446
+ windowAnchorAt: number | null;
447
+ };
448
+ createdAt: number;
449
+ updatedAt: number;
450
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
442
451
  filters: {
443
452
  keywords: {
444
453
  includes: string | null;
445
454
  excludes: string | null;
446
455
  } | null;
447
456
  searchQuery: string | null;
448
- isFeatured: "all" | "true" | "false" | null;
449
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
457
+ isFeatured: "false" | "all" | "true" | null;
458
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
450
459
  categories: {
451
460
  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;
452
461
  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;
@@ -465,9 +474,9 @@ export declare const campaignSchema: z.ZodObject<{
465
474
  } | null;
466
475
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
467
476
  clientInfo: {
468
- isPaymentVerified: "all" | "true" | "false";
469
- isPhoneVerified: "all" | "true" | "false";
470
- enterpriseClient: "all" | "true" | "false";
477
+ isPaymentVerified: "false" | "all" | "true";
478
+ isPhoneVerified: "false" | "all" | "true";
479
+ enterpriseClient: "false" | "all" | "true";
471
480
  clientLocationIncludes: string[] | null;
472
481
  clientLocationExcludes: string[] | null;
473
482
  minReviewScore: number | null;
@@ -497,8 +506,6 @@ export declare const campaignSchema: z.ZodObject<{
497
506
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
498
507
  } | null;
499
508
  };
500
- createdAt: number;
501
- updatedAt: number;
502
509
  confirmedBillingAt: number | null;
503
510
  boostingEnabled: boolean | null;
504
511
  maximumBoost: number | null;
@@ -513,56 +520,58 @@ export declare const campaignSchema: z.ZodObject<{
513
520
  biddingFixedHourlyRate: number | null;
514
521
  biddingHourlyRatePercentage: number | null;
515
522
  bidWithWarning: "bid" | "skip";
516
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
517
523
  expenses: {
518
524
  biddingAmount: number;
519
- boostingAmount: number;
520
525
  boosted: number;
526
+ boostingAmount: number;
521
527
  };
522
528
  notificationsEnabled: boolean | null;
523
529
  bidConfig: {
530
+ contractorName: string | null;
524
531
  agencyName: string | null;
525
532
  bidderId: string | null;
526
- contractorName: string | null;
527
533
  specialisedProfile: string | null;
528
534
  } | null;
529
535
  coverLetterTemplateId: string | null;
530
- priority: number | null;
531
536
  coverLetterTemplate: {
532
537
  id: string;
533
538
  name: string;
534
- description: string | null;
535
539
  template: string;
540
+ description: string | null;
536
541
  instructions: string;
537
542
  } | null;
538
543
  organizationProfileId: string | null;
539
544
  lastSyncedProposalsAt: number | null;
540
- limits: {
541
- enabled: boolean;
542
- maxDailyProposalsSent: number;
543
- windowAnchorAt: number | null;
544
- };
545
545
  workTime: {
546
- enabled: boolean;
547
546
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
547
+ enabled: boolean;
548
548
  timeBlocks: {
549
549
  fromHour: number;
550
550
  toHour: number;
551
551
  }[];
552
552
  timezone: string | null;
553
553
  };
554
- status?: "active" | "draft" | "paused" | "error" | undefined;
554
+ status?: "error" | "active" | "paused" | "draft" | undefined;
555
555
  }, {
556
556
  id: string;
557
+ priority: number | null;
557
558
  name: string;
559
+ limits: {
560
+ enabled: boolean;
561
+ maxDailyProposalsSent: number;
562
+ windowAnchorAt: number | null;
563
+ };
564
+ createdAt: number;
565
+ updatedAt: number;
566
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
558
567
  filters: {
559
568
  keywords: {
560
569
  includes: string | null;
561
570
  excludes: string | null;
562
571
  } | null;
563
572
  searchQuery: string | null;
564
- isFeatured: "all" | "true" | "false" | null;
565
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
573
+ isFeatured: "false" | "all" | "true" | null;
574
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
566
575
  categories: {
567
576
  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;
568
577
  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;
@@ -597,9 +606,9 @@ export declare const campaignSchema: z.ZodObject<{
597
606
  minNumReviews: number | null;
598
607
  memberSinceFrom: string | null;
599
608
  memberSinceTo: string | null;
600
- isPaymentVerified?: "all" | "true" | "false" | undefined;
601
- isPhoneVerified?: "all" | "true" | "false" | undefined;
602
- enterpriseClient?: "all" | "true" | "false" | undefined;
609
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
610
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
611
+ enterpriseClient?: "false" | "all" | "true" | undefined;
603
612
  } | null;
604
613
  includeClientsWithZeroReviews: boolean | null;
605
614
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -613,8 +622,6 @@ export declare const campaignSchema: z.ZodObject<{
613
622
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
614
623
  } | null;
615
624
  };
616
- createdAt: number;
617
- updatedAt: number;
618
625
  confirmedBillingAt: number | null;
619
626
  boostDownToNthPlace: number | null;
620
627
  connectsAbovePrevious: number | null;
@@ -624,45 +631,38 @@ export declare const campaignSchema: z.ZodObject<{
624
631
  biddingFixedHourlyRate: number | null;
625
632
  biddingHourlyRatePercentage: number | null;
626
633
  bidWithWarning: "bid" | "skip";
627
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
628
634
  expenses: {
629
635
  biddingAmount?: number | undefined;
630
- boostingAmount?: number | undefined;
631
636
  boosted?: number | undefined;
637
+ boostingAmount?: number | undefined;
632
638
  };
633
639
  notificationsEnabled: boolean | null;
634
640
  bidConfig: {
641
+ contractorName: string | null;
635
642
  agencyName: string | null;
636
643
  bidderId: string | null;
637
- contractorName: string | null;
638
644
  specialisedProfile: string | null;
639
645
  } | null;
640
646
  coverLetterTemplateId: string | null;
641
- priority: number | null;
642
647
  coverLetterTemplate: {
643
648
  id: string;
644
649
  name: string;
645
- description: string | null;
646
650
  template: string;
651
+ description: string | null;
647
652
  instructions: string;
648
653
  } | null;
649
654
  organizationProfileId: string | null;
650
655
  lastSyncedProposalsAt: number | null;
651
- limits: {
652
- enabled: boolean;
653
- maxDailyProposalsSent: number;
654
- windowAnchorAt: number | null;
655
- };
656
656
  workTime: {
657
- enabled: boolean;
658
657
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
658
+ enabled: boolean;
659
659
  timeBlocks: {
660
660
  fromHour: number;
661
661
  toHour: number;
662
662
  }[];
663
663
  timezone: string | null;
664
664
  };
665
- status?: "active" | "draft" | "paused" | "error" | undefined;
665
+ status?: "error" | "active" | "paused" | "draft" | undefined;
666
666
  boostingEnabled?: boolean | null | undefined;
667
667
  maximumBoost?: number | null | undefined;
668
668
  minBoost?: number | null | undefined;
@@ -676,13 +676,13 @@ export declare const upworkAccountConnectSchema: z.ZodObject<{
676
676
  email: z.ZodOptional<z.ZodString>;
677
677
  profilePhotoUrl: z.ZodOptional<z.ZodString>;
678
678
  }, "strip", z.ZodTypeAny, {
679
- status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
680
679
  error: string | null;
680
+ status: "failed" | "connected" | "processing" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
681
681
  email?: string | undefined;
682
682
  profilePhotoUrl?: string | undefined;
683
683
  }, {
684
- status: "processing" | "connected" | "failed" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
685
684
  error: string | null;
685
+ status: "failed" | "connected" | "processing" | "reconnecting" | "reconnected" | "reconnect_failed" | null;
686
686
  email?: string | undefined;
687
687
  profilePhotoUrl?: string | undefined;
688
688
  }>;
@@ -704,7 +704,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
704
704
  }>>;
705
705
  searchQuery: z.ZodNullable<z.ZodString>;
706
706
  isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
707
- regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
707
+ regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
708
708
  categories: z.ZodNullable<z.ZodObject<{
709
709
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
710
710
  excludes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -765,9 +765,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
765
765
  memberSinceFrom: z.ZodNullable<z.ZodString>;
766
766
  memberSinceTo: z.ZodNullable<z.ZodString>;
767
767
  }, "strip", z.ZodTypeAny, {
768
- isPaymentVerified: "all" | "true" | "false";
769
- isPhoneVerified: "all" | "true" | "false";
770
- enterpriseClient: "all" | "true" | "false";
768
+ isPaymentVerified: "false" | "all" | "true";
769
+ isPhoneVerified: "false" | "all" | "true";
770
+ enterpriseClient: "false" | "all" | "true";
771
771
  clientLocationIncludes: string[] | null;
772
772
  clientLocationExcludes: string[] | null;
773
773
  minReviewScore: number | null;
@@ -801,9 +801,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
801
801
  minNumReviews: number | null;
802
802
  memberSinceFrom: string | null;
803
803
  memberSinceTo: string | null;
804
- isPaymentVerified?: "all" | "true" | "false" | undefined;
805
- isPhoneVerified?: "all" | "true" | "false" | undefined;
806
- enterpriseClient?: "all" | "true" | "false" | undefined;
804
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
805
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
806
+ enterpriseClient?: "false" | "all" | "true" | undefined;
807
807
  }>>;
808
808
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
809
809
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -838,8 +838,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
838
838
  excludes: string | null;
839
839
  } | null;
840
840
  searchQuery: string | null;
841
- isFeatured: "all" | "true" | "false" | null;
842
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
841
+ isFeatured: "false" | "all" | "true" | null;
842
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
843
843
  categories: {
844
844
  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;
845
845
  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;
@@ -858,9 +858,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
858
858
  } | null;
859
859
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
860
860
  clientInfo: {
861
- isPaymentVerified: "all" | "true" | "false";
862
- isPhoneVerified: "all" | "true" | "false";
863
- enterpriseClient: "all" | "true" | "false";
861
+ isPaymentVerified: "false" | "all" | "true";
862
+ isPhoneVerified: "false" | "all" | "true";
863
+ enterpriseClient: "false" | "all" | "true";
864
864
  clientLocationIncludes: string[] | null;
865
865
  clientLocationExcludes: string[] | null;
866
866
  minReviewScore: number | null;
@@ -895,8 +895,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
895
895
  excludes: string | null;
896
896
  } | null;
897
897
  searchQuery: string | null;
898
- isFeatured: "all" | "true" | "false" | null;
899
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
898
+ isFeatured: "false" | "all" | "true" | null;
899
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
900
900
  categories: {
901
901
  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;
902
902
  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;
@@ -931,9 +931,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
931
931
  minNumReviews: number | null;
932
932
  memberSinceFrom: string | null;
933
933
  memberSinceTo: string | null;
934
- isPaymentVerified?: "all" | "true" | "false" | undefined;
935
- isPhoneVerified?: "all" | "true" | "false" | undefined;
936
- enterpriseClient?: "all" | "true" | "false" | undefined;
934
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
935
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
936
+ enterpriseClient?: "false" | "all" | "true" | undefined;
937
937
  } | null;
938
938
  includeClientsWithZeroReviews: boolean | null;
939
939
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -970,12 +970,12 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
970
970
  boosted: z.ZodDefault<z.ZodNumber>;
971
971
  }, "strip", z.ZodTypeAny, {
972
972
  biddingAmount: number;
973
- boostingAmount: number;
974
973
  boosted: number;
974
+ boostingAmount: number;
975
975
  }, {
976
976
  biddingAmount?: number | undefined;
977
- boostingAmount?: number | undefined;
978
977
  boosted?: number | undefined;
978
+ boostingAmount?: number | undefined;
979
979
  }>;
980
980
  notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
981
981
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>;
@@ -985,14 +985,14 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
985
985
  contractorName: z.ZodNullable<z.ZodString>;
986
986
  specialisedProfile: z.ZodNullable<z.ZodString>;
987
987
  }, "strip", z.ZodTypeAny, {
988
+ contractorName: string | null;
988
989
  agencyName: string | null;
989
990
  bidderId: string | null;
990
- contractorName: string | null;
991
991
  specialisedProfile: string | null;
992
992
  }, {
993
+ contractorName: string | null;
993
994
  agencyName: string | null;
994
995
  bidderId: string | null;
995
- contractorName: string | null;
996
996
  specialisedProfile: string | null;
997
997
  }>>;
998
998
  coverLetterTemplateId: z.ZodNullable<z.ZodString>;
@@ -1006,14 +1006,14 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1006
1006
  }, "strip", z.ZodTypeAny, {
1007
1007
  id: string;
1008
1008
  name: string;
1009
- description: string | null;
1010
1009
  template: string;
1010
+ description: string | null;
1011
1011
  instructions: string;
1012
1012
  }, {
1013
1013
  id: string;
1014
1014
  name: string;
1015
- description: string | null;
1016
1015
  template: string;
1016
+ description: string | null;
1017
1017
  instructions: string;
1018
1018
  }>>;
1019
1019
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -1046,16 +1046,16 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1046
1046
  }>, "many">;
1047
1047
  timezone: z.ZodNullable<z.ZodString>;
1048
1048
  }, "strip", z.ZodTypeAny, {
1049
- enabled: boolean;
1050
1049
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1050
+ enabled: boolean;
1051
1051
  timeBlocks: {
1052
1052
  fromHour: number;
1053
1053
  toHour: number;
1054
1054
  }[];
1055
1055
  timezone: string | null;
1056
1056
  }, {
1057
- enabled: boolean;
1058
1057
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1058
+ enabled: boolean;
1059
1059
  timeBlocks: {
1060
1060
  fromHour: number;
1061
1061
  toHour: number;
@@ -1063,15 +1063,22 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1063
1063
  timezone: string | null;
1064
1064
  }>;
1065
1065
  }, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
1066
+ priority: number | null;
1066
1067
  name: string;
1068
+ limits: {
1069
+ enabled: boolean;
1070
+ maxDailyProposalsSent: number;
1071
+ windowAnchorAt: number | null;
1072
+ };
1073
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
1067
1074
  filters: {
1068
1075
  keywords: {
1069
1076
  includes: string | null;
1070
1077
  excludes: string | null;
1071
1078
  } | null;
1072
1079
  searchQuery: string | null;
1073
- isFeatured: "all" | "true" | "false" | null;
1074
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1080
+ isFeatured: "false" | "all" | "true" | null;
1081
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1075
1082
  categories: {
1076
1083
  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;
1077
1084
  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;
@@ -1090,9 +1097,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1090
1097
  } | null;
1091
1098
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1092
1099
  clientInfo: {
1093
- isPaymentVerified: "all" | "true" | "false";
1094
- isPhoneVerified: "all" | "true" | "false";
1095
- enterpriseClient: "all" | "true" | "false";
1100
+ isPaymentVerified: "false" | "all" | "true";
1101
+ isPhoneVerified: "false" | "all" | "true";
1102
+ enterpriseClient: "false" | "all" | "true";
1096
1103
  clientLocationIncludes: string[] | null;
1097
1104
  clientLocationExcludes: string[] | null;
1098
1105
  minReviewScore: number | null;
@@ -1136,49 +1143,49 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1136
1143
  biddingFixedHourlyRate: number | null;
1137
1144
  biddingHourlyRatePercentage: number | null;
1138
1145
  bidWithWarning: "bid" | "skip";
1139
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
1140
1146
  expenses: {
1141
1147
  biddingAmount: number;
1142
- boostingAmount: number;
1143
1148
  boosted: number;
1149
+ boostingAmount: number;
1144
1150
  };
1145
1151
  notificationsEnabled: boolean | null;
1146
1152
  coverLetterTemplateId: string | null;
1147
- priority: number | null;
1148
1153
  coverLetterTemplate: {
1149
1154
  id: string;
1150
1155
  name: string;
1151
- description: string | null;
1152
1156
  template: string;
1157
+ description: string | null;
1153
1158
  instructions: string;
1154
1159
  } | null;
1155
1160
  organizationProfileId: string | null;
1156
1161
  lastSyncedProposalsAt: number | null;
1157
- limits: {
1158
- enabled: boolean;
1159
- maxDailyProposalsSent: number;
1160
- windowAnchorAt: number | null;
1161
- };
1162
1162
  workTime: {
1163
- enabled: boolean;
1164
1163
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1164
+ enabled: boolean;
1165
1165
  timeBlocks: {
1166
1166
  fromHour: number;
1167
1167
  toHour: number;
1168
1168
  }[];
1169
1169
  timezone: string | null;
1170
1170
  };
1171
- status?: "active" | "draft" | "paused" | "error" | undefined;
1171
+ status?: "error" | "active" | "paused" | "draft" | undefined;
1172
1172
  }, {
1173
+ priority: number | null;
1173
1174
  name: string;
1175
+ limits: {
1176
+ enabled: boolean;
1177
+ maxDailyProposalsSent: number;
1178
+ windowAnchorAt: number | null;
1179
+ };
1180
+ leadCounts: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
1174
1181
  filters: {
1175
1182
  keywords: {
1176
1183
  includes: string | null;
1177
1184
  excludes: string | null;
1178
1185
  } | null;
1179
1186
  searchQuery: string | null;
1180
- isFeatured: "all" | "true" | "false" | null;
1181
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1187
+ isFeatured: "false" | "all" | "true" | null;
1188
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1182
1189
  categories: {
1183
1190
  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;
1184
1191
  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;
@@ -1213,9 +1220,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1213
1220
  minNumReviews: number | null;
1214
1221
  memberSinceFrom: string | null;
1215
1222
  memberSinceTo: string | null;
1216
- isPaymentVerified?: "all" | "true" | "false" | undefined;
1217
- isPhoneVerified?: "all" | "true" | "false" | undefined;
1218
- enterpriseClient?: "all" | "true" | "false" | undefined;
1223
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1224
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
1225
+ enterpriseClient?: "false" | "all" | "true" | undefined;
1219
1226
  } | null;
1220
1227
  includeClientsWithZeroReviews: boolean | null;
1221
1228
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -1238,39 +1245,32 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1238
1245
  biddingFixedHourlyRate: number | null;
1239
1246
  biddingHourlyRatePercentage: number | null;
1240
1247
  bidWithWarning: "bid" | "skip";
1241
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null;
1242
1248
  expenses: {
1243
1249
  biddingAmount?: number | undefined;
1244
- boostingAmount?: number | undefined;
1245
1250
  boosted?: number | undefined;
1251
+ boostingAmount?: number | undefined;
1246
1252
  };
1247
1253
  notificationsEnabled: boolean | null;
1248
1254
  coverLetterTemplateId: string | null;
1249
- priority: number | null;
1250
1255
  coverLetterTemplate: {
1251
1256
  id: string;
1252
1257
  name: string;
1253
- description: string | null;
1254
1258
  template: string;
1259
+ description: string | null;
1255
1260
  instructions: string;
1256
1261
  } | null;
1257
1262
  organizationProfileId: string | null;
1258
1263
  lastSyncedProposalsAt: number | null;
1259
- limits: {
1260
- enabled: boolean;
1261
- maxDailyProposalsSent: number;
1262
- windowAnchorAt: number | null;
1263
- };
1264
1264
  workTime: {
1265
- enabled: boolean;
1266
1265
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1266
+ enabled: boolean;
1267
1267
  timeBlocks: {
1268
1268
  fromHour: number;
1269
1269
  toHour: number;
1270
1270
  }[];
1271
1271
  timezone: string | null;
1272
1272
  };
1273
- status?: "active" | "draft" | "paused" | "error" | undefined;
1273
+ status?: "error" | "active" | "paused" | "draft" | undefined;
1274
1274
  boostingEnabled?: boolean | null | undefined;
1275
1275
  maximumBoost?: number | null | undefined;
1276
1276
  minBoost?: number | null | undefined;
@@ -1278,9 +1278,24 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1278
1278
  biddingDelayInMinutes?: number | undefined;
1279
1279
  }>;
1280
1280
  export declare const updateCampaignSchema: z.ZodObject<{
1281
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>>;
1282
1281
  id: z.ZodOptional<z.ZodString>;
1282
+ priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1283
1283
  name: z.ZodOptional<z.ZodString>;
1284
+ status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>>;
1285
+ limits: z.ZodOptional<z.ZodObject<{
1286
+ maxDailyProposalsSent: z.ZodNumber;
1287
+ enabled: z.ZodBoolean;
1288
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
1289
+ }, "strip", z.ZodTypeAny, {
1290
+ enabled: boolean;
1291
+ maxDailyProposalsSent: number;
1292
+ windowAnchorAt: number | null;
1293
+ }, {
1294
+ enabled: boolean;
1295
+ maxDailyProposalsSent: number;
1296
+ windowAnchorAt: number | null;
1297
+ }>>;
1298
+ leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>>;
1284
1299
  filters: z.ZodOptional<z.ZodObject<{
1285
1300
  keywords: z.ZodNullable<z.ZodObject<{
1286
1301
  includes: z.ZodNullable<z.ZodString>;
@@ -1294,7 +1309,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1294
1309
  }>>;
1295
1310
  searchQuery: z.ZodNullable<z.ZodString>;
1296
1311
  isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
1297
- regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
1312
+ regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
1298
1313
  categories: z.ZodNullable<z.ZodObject<{
1299
1314
  includes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
1300
1315
  excludes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Interior & Trade Show Design", "Physical Sciences", "Personal & Professional Coaching", "Accounting & Bookkeeping", "Financial Planning", "Recruiting & Human Resources", "Management Consulting & Analysis", "Other - Accounting & Consulting", "Data Entry & Transcription Services", "Virtual Assistance", "Project Management", "Market Research & Product Reviews", "Community Management & Tagging", "Customer Service & Tech Support", "Data Analysis & Testing", "Data Extraction/ETL", "Data Mining & Management", "AI & Machine Learning", "Art & Illustration", "Audio & Music Production", "Branding & Logo Design", "NFT, AR/VR & Game Art", "Graphic, Editorial & Presentation Design", "Performing Arts", "Photography", "Product Design", "Video & Animation", "Building & Landscape Architecture", "Chemical Engineering", "Civil & Structural Engineering", "Contract Manufacturing", "Electrical & Electronic Engineering", "Energy & Mechanical Engineering", "3D Modeling & CAD", "Database Management & Administration", "ERP/CRM Software", "Information Security & Compliance", "Network & System Administration", "DevOps & Solution Architecture", "Corporate & Contract Law", "International & Immigration Law", "Finance & Tax Law", "Public Law", "Digital Marketing", "Lead Generation & Telemarketing", "Marketing, PR & Brand Strategy", "Language Tutoring & Interpretation", "Translation & Localization Services", "Blockchain, NFT & Cryptocurrency", "AI Apps & Integration", "Desktop Application Development", "Ecommerce Development", "Game Design & Development", "Mobile Development", "Other - Software Development", "Product Management & Scrum", "QA Testing", "Scripts & Utilities", "Web & Mobile Design", "Web Development", "Sales & Marketing Copywriting", "Content Writing", "Editing & Proofreading Services", "Professional & Business Writing"]>, "many">>;
@@ -1355,9 +1370,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1355
1370
  memberSinceFrom: z.ZodNullable<z.ZodString>;
1356
1371
  memberSinceTo: z.ZodNullable<z.ZodString>;
1357
1372
  }, "strip", z.ZodTypeAny, {
1358
- isPaymentVerified: "all" | "true" | "false";
1359
- isPhoneVerified: "all" | "true" | "false";
1360
- enterpriseClient: "all" | "true" | "false";
1373
+ isPaymentVerified: "false" | "all" | "true";
1374
+ isPhoneVerified: "false" | "all" | "true";
1375
+ enterpriseClient: "false" | "all" | "true";
1361
1376
  clientLocationIncludes: string[] | null;
1362
1377
  clientLocationExcludes: string[] | null;
1363
1378
  minReviewScore: number | null;
@@ -1391,9 +1406,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1391
1406
  minNumReviews: number | null;
1392
1407
  memberSinceFrom: string | null;
1393
1408
  memberSinceTo: string | null;
1394
- isPaymentVerified?: "all" | "true" | "false" | undefined;
1395
- isPhoneVerified?: "all" | "true" | "false" | undefined;
1396
- enterpriseClient?: "all" | "true" | "false" | undefined;
1409
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1410
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
1411
+ enterpriseClient?: "false" | "all" | "true" | undefined;
1397
1412
  }>>;
1398
1413
  includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
1399
1414
  includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
@@ -1428,8 +1443,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
1428
1443
  excludes: string | null;
1429
1444
  } | null;
1430
1445
  searchQuery: string | null;
1431
- isFeatured: "all" | "true" | "false" | null;
1432
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1446
+ isFeatured: "false" | "all" | "true" | null;
1447
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1433
1448
  categories: {
1434
1449
  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;
1435
1450
  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;
@@ -1448,9 +1463,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1448
1463
  } | null;
1449
1464
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1450
1465
  clientInfo: {
1451
- isPaymentVerified: "all" | "true" | "false";
1452
- isPhoneVerified: "all" | "true" | "false";
1453
- enterpriseClient: "all" | "true" | "false";
1466
+ isPaymentVerified: "false" | "all" | "true";
1467
+ isPhoneVerified: "false" | "all" | "true";
1468
+ enterpriseClient: "false" | "all" | "true";
1454
1469
  clientLocationIncludes: string[] | null;
1455
1470
  clientLocationExcludes: string[] | null;
1456
1471
  minReviewScore: number | null;
@@ -1485,8 +1500,8 @@ export declare const updateCampaignSchema: z.ZodObject<{
1485
1500
  excludes: string | null;
1486
1501
  } | null;
1487
1502
  searchQuery: string | null;
1488
- isFeatured: "all" | "true" | "false" | null;
1489
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1503
+ isFeatured: "false" | "all" | "true" | null;
1504
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1490
1505
  categories: {
1491
1506
  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;
1492
1507
  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;
@@ -1521,9 +1536,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1521
1536
  minNumReviews: number | null;
1522
1537
  memberSinceFrom: string | null;
1523
1538
  memberSinceTo: string | null;
1524
- isPaymentVerified?: "all" | "true" | "false" | undefined;
1525
- isPhoneVerified?: "all" | "true" | "false" | undefined;
1526
- enterpriseClient?: "all" | "true" | "false" | undefined;
1539
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1540
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
1541
+ enterpriseClient?: "false" | "all" | "true" | undefined;
1527
1542
  } | null;
1528
1543
  includeClientsWithZeroReviews: boolean | null;
1529
1544
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -1551,19 +1566,18 @@ export declare const updateCampaignSchema: z.ZodObject<{
1551
1566
  biddingFixedHourlyRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1552
1567
  biddingHourlyRatePercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1553
1568
  bidWithWarning: z.ZodOptional<z.ZodEnum<["bid", "skip"]>>;
1554
- leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>, z.ZodNumber>>>;
1555
1569
  expenses: z.ZodOptional<z.ZodObject<{
1556
1570
  biddingAmount: z.ZodDefault<z.ZodNumber>;
1557
1571
  boostingAmount: z.ZodDefault<z.ZodNumber>;
1558
1572
  boosted: z.ZodDefault<z.ZodNumber>;
1559
1573
  }, "strip", z.ZodTypeAny, {
1560
1574
  biddingAmount: number;
1561
- boostingAmount: number;
1562
1575
  boosted: number;
1576
+ boostingAmount: number;
1563
1577
  }, {
1564
1578
  biddingAmount?: number | undefined;
1565
- boostingAmount?: number | undefined;
1566
1579
  boosted?: number | undefined;
1580
+ boostingAmount?: number | undefined;
1567
1581
  }>>;
1568
1582
  notificationsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1569
1583
  bidConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1572,18 +1586,17 @@ export declare const updateCampaignSchema: z.ZodObject<{
1572
1586
  contractorName: z.ZodNullable<z.ZodString>;
1573
1587
  specialisedProfile: z.ZodNullable<z.ZodString>;
1574
1588
  }, "strip", z.ZodTypeAny, {
1589
+ contractorName: string | null;
1575
1590
  agencyName: string | null;
1576
1591
  bidderId: string | null;
1577
- contractorName: string | null;
1578
1592
  specialisedProfile: string | null;
1579
1593
  }, {
1594
+ contractorName: string | null;
1580
1595
  agencyName: string | null;
1581
1596
  bidderId: string | null;
1582
- contractorName: string | null;
1583
1597
  specialisedProfile: string | null;
1584
1598
  }>>>;
1585
1599
  coverLetterTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1586
- priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1587
1600
  coverLetterTemplate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1588
1601
  id: z.ZodString;
1589
1602
  name: z.ZodString;
@@ -1593,31 +1606,18 @@ export declare const updateCampaignSchema: z.ZodObject<{
1593
1606
  }, "strip", z.ZodTypeAny, {
1594
1607
  id: string;
1595
1608
  name: string;
1596
- description: string | null;
1597
1609
  template: string;
1610
+ description: string | null;
1598
1611
  instructions: string;
1599
1612
  }, {
1600
1613
  id: string;
1601
1614
  name: string;
1602
- description: string | null;
1603
1615
  template: string;
1616
+ description: string | null;
1604
1617
  instructions: string;
1605
1618
  }>>>;
1606
1619
  organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
1620
  lastSyncedProposalsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1608
- limits: z.ZodOptional<z.ZodObject<{
1609
- maxDailyProposalsSent: z.ZodNumber;
1610
- enabled: z.ZodBoolean;
1611
- windowAnchorAt: z.ZodNullable<z.ZodNumber>;
1612
- }, "strip", z.ZodTypeAny, {
1613
- enabled: boolean;
1614
- maxDailyProposalsSent: number;
1615
- windowAnchorAt: number | null;
1616
- }, {
1617
- enabled: boolean;
1618
- maxDailyProposalsSent: number;
1619
- windowAnchorAt: number | null;
1620
- }>>;
1621
1621
  workTime: z.ZodOptional<z.ZodObject<{
1622
1622
  enabled: z.ZodBoolean;
1623
1623
  days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
@@ -1633,16 +1633,16 @@ export declare const updateCampaignSchema: z.ZodObject<{
1633
1633
  }>, "many">;
1634
1634
  timezone: z.ZodNullable<z.ZodString>;
1635
1635
  }, "strip", z.ZodTypeAny, {
1636
- enabled: boolean;
1637
1636
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1637
+ enabled: boolean;
1638
1638
  timeBlocks: {
1639
1639
  fromHour: number;
1640
1640
  toHour: number;
1641
1641
  }[];
1642
1642
  timezone: string | null;
1643
1643
  }, {
1644
- enabled: boolean;
1645
1644
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1645
+ enabled: boolean;
1646
1646
  timeBlocks: {
1647
1647
  fromHour: number;
1648
1648
  toHour: number;
@@ -1650,17 +1650,24 @@ export declare const updateCampaignSchema: z.ZodObject<{
1650
1650
  timezone: string | null;
1651
1651
  }>>;
1652
1652
  }, "strip", z.ZodTypeAny, {
1653
- status?: "active" | "draft" | "paused" | "error" | undefined;
1654
1653
  id?: string | undefined;
1654
+ priority?: number | null | undefined;
1655
1655
  name?: string | undefined;
1656
+ status?: "error" | "active" | "paused" | "draft" | undefined;
1657
+ limits?: {
1658
+ enabled: boolean;
1659
+ maxDailyProposalsSent: number;
1660
+ windowAnchorAt: number | null;
1661
+ } | undefined;
1662
+ leadCounts?: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null | undefined;
1656
1663
  filters?: {
1657
1664
  keywords: {
1658
1665
  includes: string | null;
1659
1666
  excludes: string | null;
1660
1667
  } | null;
1661
1668
  searchQuery: string | null;
1662
- isFeatured: "all" | "true" | "false" | null;
1663
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1669
+ isFeatured: "false" | "all" | "true" | null;
1670
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1664
1671
  categories: {
1665
1672
  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;
1666
1673
  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;
@@ -1679,9 +1686,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1679
1686
  } | null;
1680
1687
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1681
1688
  clientInfo: {
1682
- isPaymentVerified: "all" | "true" | "false";
1683
- isPhoneVerified: "all" | "true" | "false";
1684
- enterpriseClient: "all" | "true" | "false";
1689
+ isPaymentVerified: "false" | "all" | "true";
1690
+ isPhoneVerified: "false" | "all" | "true";
1691
+ enterpriseClient: "false" | "all" | "true";
1685
1692
  clientLocationIncludes: string[] | null;
1686
1693
  clientLocationExcludes: string[] | null;
1687
1694
  minReviewScore: number | null;
@@ -1725,38 +1732,31 @@ export declare const updateCampaignSchema: z.ZodObject<{
1725
1732
  biddingFixedHourlyRate?: number | null | undefined;
1726
1733
  biddingHourlyRatePercentage?: number | null | undefined;
1727
1734
  bidWithWarning?: "bid" | "skip" | undefined;
1728
- leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null | undefined;
1729
1735
  expenses?: {
1730
1736
  biddingAmount: number;
1731
- boostingAmount: number;
1732
1737
  boosted: number;
1738
+ boostingAmount: number;
1733
1739
  } | undefined;
1734
1740
  notificationsEnabled?: boolean | null | undefined;
1735
1741
  bidConfig?: {
1742
+ contractorName: string | null;
1736
1743
  agencyName: string | null;
1737
1744
  bidderId: string | null;
1738
- contractorName: string | null;
1739
1745
  specialisedProfile: string | null;
1740
1746
  } | null | undefined;
1741
1747
  coverLetterTemplateId?: string | null | undefined;
1742
- priority?: number | null | undefined;
1743
1748
  coverLetterTemplate?: {
1744
1749
  id: string;
1745
1750
  name: string;
1746
- description: string | null;
1747
1751
  template: string;
1752
+ description: string | null;
1748
1753
  instructions: string;
1749
1754
  } | null | undefined;
1750
1755
  organizationProfileId?: string | null | undefined;
1751
1756
  lastSyncedProposalsAt?: number | null | undefined;
1752
- limits?: {
1753
- enabled: boolean;
1754
- maxDailyProposalsSent: number;
1755
- windowAnchorAt: number | null;
1756
- } | undefined;
1757
1757
  workTime?: {
1758
- enabled: boolean;
1759
1758
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1759
+ enabled: boolean;
1760
1760
  timeBlocks: {
1761
1761
  fromHour: number;
1762
1762
  toHour: number;
@@ -1764,17 +1764,24 @@ export declare const updateCampaignSchema: z.ZodObject<{
1764
1764
  timezone: string | null;
1765
1765
  } | undefined;
1766
1766
  }, {
1767
- status?: "active" | "draft" | "paused" | "error" | undefined;
1768
1767
  id?: string | undefined;
1768
+ priority?: number | null | undefined;
1769
1769
  name?: string | undefined;
1770
+ status?: "error" | "active" | "paused" | "draft" | undefined;
1771
+ limits?: {
1772
+ enabled: boolean;
1773
+ maxDailyProposalsSent: number;
1774
+ windowAnchorAt: number | null;
1775
+ } | undefined;
1776
+ leadCounts?: Partial<Record<"rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null | undefined;
1770
1777
  filters?: {
1771
1778
  keywords: {
1772
1779
  includes: string | null;
1773
1780
  excludes: string | null;
1774
1781
  } | null;
1775
1782
  searchQuery: string | null;
1776
- isFeatured: "all" | "true" | "false" | null;
1777
- regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1783
+ isFeatured: "false" | "all" | "true" | null;
1784
+ regions: ("Worldwide" | "USOnly" | "UKOnly" | "All")[] | null;
1778
1785
  categories: {
1779
1786
  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;
1780
1787
  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;
@@ -1809,9 +1816,9 @@ export declare const updateCampaignSchema: z.ZodObject<{
1809
1816
  minNumReviews: number | null;
1810
1817
  memberSinceFrom: string | null;
1811
1818
  memberSinceTo: string | null;
1812
- isPaymentVerified?: "all" | "true" | "false" | undefined;
1813
- isPhoneVerified?: "all" | "true" | "false" | undefined;
1814
- enterpriseClient?: "all" | "true" | "false" | undefined;
1819
+ isPaymentVerified?: "false" | "all" | "true" | undefined;
1820
+ isPhoneVerified?: "false" | "all" | "true" | undefined;
1821
+ enterpriseClient?: "false" | "all" | "true" | undefined;
1815
1822
  } | null;
1816
1823
  includeClientsWithZeroReviews: boolean | null;
1817
1824
  includeClientsWithLessThanXPostedJobs: number | null;
@@ -1839,38 +1846,31 @@ export declare const updateCampaignSchema: z.ZodObject<{
1839
1846
  biddingFixedHourlyRate?: number | null | undefined;
1840
1847
  biddingHourlyRatePercentage?: number | null | undefined;
1841
1848
  bidWithWarning?: "bid" | "skip" | undefined;
1842
- leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "won", number>> | null | undefined;
1843
1849
  expenses?: {
1844
1850
  biddingAmount?: number | undefined;
1845
- boostingAmount?: number | undefined;
1846
1851
  boosted?: number | undefined;
1852
+ boostingAmount?: number | undefined;
1847
1853
  } | undefined;
1848
1854
  notificationsEnabled?: boolean | null | undefined;
1849
1855
  bidConfig?: {
1856
+ contractorName: string | null;
1850
1857
  agencyName: string | null;
1851
1858
  bidderId: string | null;
1852
- contractorName: string | null;
1853
1859
  specialisedProfile: string | null;
1854
1860
  } | null | undefined;
1855
1861
  coverLetterTemplateId?: string | null | undefined;
1856
- priority?: number | null | undefined;
1857
1862
  coverLetterTemplate?: {
1858
1863
  id: string;
1859
1864
  name: string;
1860
- description: string | null;
1861
1865
  template: string;
1866
+ description: string | null;
1862
1867
  instructions: string;
1863
1868
  } | null | undefined;
1864
1869
  organizationProfileId?: string | null | undefined;
1865
1870
  lastSyncedProposalsAt?: number | null | undefined;
1866
- limits?: {
1867
- enabled: boolean;
1868
- maxDailyProposalsSent: number;
1869
- windowAnchorAt: number | null;
1870
- } | undefined;
1871
1871
  workTime?: {
1872
- enabled: boolean;
1873
1872
  days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1873
+ enabled: boolean;
1874
1874
  timeBlocks: {
1875
1875
  fromHour: number;
1876
1876
  toHour: number;