lancer-shared 1.0.167 → 1.0.168

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 (213) hide show
  1. package/dist/bundle.cjs.js +6251 -0
  2. package/dist/constants/collections.js +1 -4
  3. package/dist/constants/common-questions.js +1 -4
  4. package/dist/constants/index.js +10 -32
  5. package/dist/constants/job-filter-options.js +1 -4
  6. package/dist/constants/job-status.js +7 -12
  7. package/dist/constants/mappings/countryMapping.js +1 -3
  8. package/dist/constants/mappings/regionMapping.js +1 -3
  9. package/dist/constants/routes.d.ts +8 -2
  10. package/dist/constants/routes.js +39 -37
  11. package/dist/constants/upwork-accounts.js +3 -6
  12. package/dist/index.js +4 -20
  13. package/dist/schemas/account/account-status.js +2 -5
  14. package/dist/schemas/account/bidder-account.d.ts +15 -15
  15. package/dist/schemas/account/bidder-account.js +19 -22
  16. package/dist/schemas/account/index.js +3 -19
  17. package/dist/schemas/account/scraper-account.d.ts +27 -27
  18. package/dist/schemas/account/scraper-account.js +21 -24
  19. package/dist/schemas/ai/ai-config.js +8 -11
  20. package/dist/schemas/ai/index.js +3 -19
  21. package/dist/schemas/ai/proposal.d.ts +12 -12
  22. package/dist/schemas/ai/proposal.js +10 -13
  23. package/dist/schemas/ai/suitability.d.ts +6 -6
  24. package/dist/schemas/ai/suitability.js +8 -11
  25. package/dist/schemas/bid/bid-result.d.ts +2 -2
  26. package/dist/schemas/bid/bid-result.js +10 -13
  27. package/dist/schemas/bid/bid.d.ts +42 -42
  28. package/dist/schemas/bid/bid.js +27 -30
  29. package/dist/schemas/bid/index.js +2 -18
  30. package/dist/schemas/campaign/campaign-ai-metrics.js +5 -8
  31. package/dist/schemas/campaign/campaign-analytics.d.ts +99 -40
  32. package/dist/schemas/campaign/campaign-analytics.js +28 -31
  33. package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
  34. package/dist/schemas/campaign/campaign-expenses.js +5 -8
  35. package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
  36. package/dist/schemas/campaign/campaign-insights.js +30 -30
  37. package/dist/schemas/campaign/campaign-integrations.js +10 -13
  38. package/dist/schemas/campaign/campaign-job-count.js +3 -6
  39. package/dist/schemas/campaign/campaign.d.ts +107 -107
  40. package/dist/schemas/campaign/campaign.js +32 -35
  41. package/dist/schemas/campaign/index.js +7 -23
  42. package/dist/schemas/chat-message/chat-message.js +7 -10
  43. package/dist/schemas/chat-message/index.js +1 -17
  44. package/dist/schemas/config/agency-config.js +6 -9
  45. package/dist/schemas/config/index.js +1 -17
  46. package/dist/schemas/event/index.d.ts +58 -0
  47. package/dist/schemas/index.d.ts +16 -16
  48. package/dist/schemas/index.js +16 -32
  49. package/dist/schemas/job/index.d.ts +95 -3
  50. package/dist/schemas/job-filters/index.js +1 -17
  51. package/dist/schemas/job-filters/job-filters.d.ts +16 -16
  52. package/dist/schemas/job-filters/job-filters.js +62 -65
  53. package/dist/schemas/lead/index.d.ts +2405 -1
  54. package/dist/schemas/lead/index.js +166 -19
  55. package/dist/schemas/lead/lead-note.d.ts +4 -4
  56. package/dist/schemas/lead/lead-note.js +13 -16
  57. package/dist/schemas/lead/lead-status.js +3 -6
  58. package/dist/schemas/logger/index.js +1 -17
  59. package/dist/schemas/logger/log-event.d.ts +183 -13
  60. package/dist/schemas/logger/log-event.js +38 -19
  61. package/dist/schemas/organization/index.js +1 -17
  62. package/dist/schemas/organization/organization.d.ts +10 -10
  63. package/dist/schemas/organization/organization.js +14 -17
  64. package/dist/schemas/proxy/index.js +1 -17
  65. package/dist/schemas/proxy/proxy.d.ts +16 -16
  66. package/dist/schemas/proxy/proxy.js +14 -17
  67. package/dist/schemas/saved-search/index.d.ts +5 -5
  68. package/dist/schemas/saved-search/index.js +8 -11
  69. package/dist/schemas/scraper/index.js +2 -18
  70. package/dist/schemas/scraper/scrape-payload.d.ts +105 -19
  71. package/dist/schemas/scraper/scrape-payload.js +19 -14
  72. package/dist/schemas/scraper/scrape-result.d.ts +476 -289
  73. package/dist/schemas/scraper/scrape-result.js +21 -21
  74. package/dist/schemas/shared.d.ts +2 -1
  75. package/dist/schemas/shared.js +12 -9
  76. package/dist/schemas/time-filter/index.js +5 -8
  77. package/dist/schemas/user/index.d.ts +26 -26
  78. package/dist/schemas/user/index.js +38 -41
  79. package/dist/types/account/account-status.js +1 -2
  80. package/dist/types/account/bidder-account.js +1 -2
  81. package/dist/types/account/index.js +3 -19
  82. package/dist/types/account/scraper-account.js +1 -2
  83. package/dist/types/ai/ai-config.js +1 -2
  84. package/dist/types/ai/index.js +3 -19
  85. package/dist/types/ai/proposal.js +1 -2
  86. package/dist/types/ai/suitability.js +1 -2
  87. package/dist/types/bid/bid-result.js +1 -2
  88. package/dist/types/bid/bid.js +1 -2
  89. package/dist/types/bid/index.js +2 -18
  90. package/dist/types/campaign/campaign-analytics.js +1 -2
  91. package/dist/types/campaign/campaign-expenses.js +1 -2
  92. package/dist/types/campaign/campaign-insights.js +1 -2
  93. package/dist/types/campaign/campaign-integrations.js +1 -2
  94. package/dist/types/campaign/campaign-job-count.js +1 -2
  95. package/dist/types/campaign/campaign.js +1 -2
  96. package/dist/types/campaign/index.js +6 -22
  97. package/dist/types/chat-message/chat-message.js +1 -2
  98. package/dist/types/chat-message/index.js +1 -17
  99. package/dist/types/config/agency-config.js +1 -2
  100. package/dist/types/config/index.js +1 -17
  101. package/dist/types/index.d.ts +1 -0
  102. package/dist/types/index.js +14 -29
  103. package/dist/types/job/index.d.ts +44 -1
  104. package/dist/types/job/index.js +2 -19
  105. package/dist/types/job/job-note.js +1 -2
  106. package/dist/types/job/job-status.js +1 -4
  107. package/dist/types/job-filters/index.js +1 -17
  108. package/dist/types/job-filters/job-filters.js +1 -2
  109. package/dist/types/logger/index.js +1 -17
  110. package/dist/types/logger/log-event.d.ts +4 -1
  111. package/dist/types/logger/log-event.js +1 -2
  112. package/dist/types/saved-search/index.js +1 -2
  113. package/dist/types/scraper/index.js +2 -18
  114. package/dist/types/scraper/scrape-payload.d.ts +5 -1
  115. package/dist/types/scraper/scrape-payload.js +1 -2
  116. package/dist/types/scraper/scrape-result.d.ts +3 -2
  117. package/dist/types/scraper/scrape-result.js +1 -2
  118. package/dist/types/shared.d.ts +3 -0
  119. package/dist/types/shared.js +1 -0
  120. package/dist/types/time-filter/index.js +1 -2
  121. package/dist/types/user/index.js +1 -2
  122. package/dist/utils/index.js +1 -17
  123. package/dist/utils/try-catch.js +8 -23
  124. package/package.json +12 -7
  125. package/dist/constants/account-status.d.ts +0 -3
  126. package/dist/constants/account-status.js +0 -17
  127. package/dist/constants/upwork-filters.d.ts +0 -5
  128. package/dist/constants/upwork-filters.js +0 -75
  129. package/dist/schemas/account/manager-account.d.ts +0 -116
  130. package/dist/schemas/account/manager-account.js +0 -38
  131. package/dist/schemas/ai-config/ai-config.d.ts +0 -39
  132. package/dist/schemas/ai-config/ai-config.js +0 -12
  133. package/dist/schemas/ai-config/index.d.ts +0 -1
  134. package/dist/schemas/ai-config/index.js +0 -17
  135. package/dist/schemas/bid/bid-status.d.ts +0 -30
  136. package/dist/schemas/bid/bid-status.js +0 -15
  137. package/dist/schemas/bidding/index.d.ts +0 -1
  138. package/dist/schemas/bidding/index.js +0 -17
  139. package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
  140. package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
  141. package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
  142. package/dist/schemas/bidding/proposal-dto.js +0 -18
  143. package/dist/schemas/job/index.js +0 -19
  144. package/dist/schemas/job/job-details.d.ts +0 -335
  145. package/dist/schemas/job/job-details.js +0 -29
  146. package/dist/schemas/job/job-note.d.ts +0 -83
  147. package/dist/schemas/job/job-note.js +0 -30
  148. package/dist/schemas/job/job-pipeline.d.ts +0 -74
  149. package/dist/schemas/job/job-pipeline.js +0 -29
  150. package/dist/schemas/job/job-status.d.ts +0 -3
  151. package/dist/schemas/job/job-status.js +0 -27
  152. package/dist/schemas/job/job-suitability.d.ts +0 -12
  153. package/dist/schemas/job/job-suitability.js +0 -13
  154. package/dist/schemas/job/job.d.ts +0 -1160
  155. package/dist/schemas/job/job.js +0 -90
  156. package/dist/schemas/job/pipeline-job.d.ts +0 -608
  157. package/dist/schemas/job/pipeline-job.js +0 -43
  158. package/dist/schemas/job/upwork-job.d.ts +0 -334
  159. package/dist/schemas/job/upwork-job.js +0 -60
  160. package/dist/schemas/knowledge-object/index.d.ts +0 -1
  161. package/dist/schemas/knowledge-object/index.js +0 -17
  162. package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
  163. package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
  164. package/dist/schemas/lead/lead.d.ts +0 -1897
  165. package/dist/schemas/lead/lead.js +0 -143
  166. package/dist/schemas/scraper/scrape-response.d.ts +0 -345
  167. package/dist/schemas/scraper/scrape-response.js +0 -9
  168. package/dist/schemas/upwork-account/index.d.ts +0 -3
  169. package/dist/schemas/upwork-account/index.js +0 -19
  170. package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
  171. package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
  172. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
  173. package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
  174. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
  175. package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
  176. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
  177. package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
  178. package/dist/types/account/manager-account.d.ts +0 -7
  179. package/dist/types/account/manager-account.js +0 -2
  180. package/dist/types/ai-config/ai-config.d.ts +0 -6
  181. package/dist/types/ai-config/ai-config.js +0 -2
  182. package/dist/types/ai-config/index.d.ts +0 -1
  183. package/dist/types/ai-config/index.js +0 -17
  184. package/dist/types/bid/bid-status.d.ts +0 -5
  185. package/dist/types/bid/bid-status.js +0 -2
  186. package/dist/types/bidding/index.d.ts +0 -1
  187. package/dist/types/bidding/index.js +0 -17
  188. package/dist/types/bidding/proposal-bidding-status.d.ts +0 -3
  189. package/dist/types/bidding/proposal-bidding-status.js +0 -2
  190. package/dist/types/bidding/proposal-dto.d.ts +0 -3
  191. package/dist/types/bidding/proposal-dto.js +0 -2
  192. package/dist/types/job/job-details.d.ts +0 -36
  193. package/dist/types/job/job-details.js +0 -2
  194. package/dist/types/job/job-pipeline.d.ts +0 -4
  195. package/dist/types/job/job-pipeline.js +0 -2
  196. package/dist/types/job/job-suitability.d.ts +0 -3
  197. package/dist/types/job/job-suitability.js +0 -2
  198. package/dist/types/job/job.d.ts +0 -36
  199. package/dist/types/job/job.js +0 -2
  200. package/dist/types/knowledge-object/index.d.ts +0 -1
  201. package/dist/types/knowledge-object/index.js +0 -17
  202. package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
  203. package/dist/types/knowledge-object/knowledge-object.js +0 -2
  204. package/dist/types/scraper/scrape-response.d.ts +0 -4
  205. package/dist/types/scraper/scrape-response.js +0 -2
  206. package/dist/types/upwork-account/index.d.ts +0 -3
  207. package/dist/types/upwork-account/index.js +0 -19
  208. package/dist/types/upwork-account/upwork-account-status.d.ts +0 -3
  209. package/dist/types/upwork-account/upwork-account-status.js +0 -2
  210. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +0 -7
  211. package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
  212. package/dist/types/upwork-account/upwork-scraping-account.d.ts +0 -5
  213. package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  export declare const campaignStatusSchema: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>;
3
3
  export declare const campaignSchema: z.ZodObject<{
4
4
  id: z.ZodString;
@@ -72,9 +72,9 @@ export declare const campaignSchema: z.ZodObject<{
72
72
  memberSinceFrom: z.ZodNullable<z.ZodString>;
73
73
  memberSinceTo: z.ZodNullable<z.ZodString>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- isPaymentVerified: "false" | "all" | "true";
76
- isPhoneVerified: "false" | "all" | "true";
77
- enterpriseClient: "false" | "all" | "true";
75
+ isPaymentVerified: "all" | "true" | "false";
76
+ isPhoneVerified: "all" | "true" | "false";
77
+ enterpriseClient: "all" | "true" | "false";
78
78
  clientLocationIncludes: string[] | null;
79
79
  clientLocationExcludes: string[] | null;
80
80
  minReviewScore: number | null;
@@ -100,9 +100,9 @@ export declare const campaignSchema: z.ZodObject<{
100
100
  minNumReviews: number | null;
101
101
  memberSinceFrom: string | null;
102
102
  memberSinceTo: string | null;
103
- isPaymentVerified?: "false" | "all" | "true" | undefined;
104
- isPhoneVerified?: "false" | "all" | "true" | undefined;
105
- enterpriseClient?: "false" | "all" | "true" | undefined;
103
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
104
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
105
+ enterpriseClient?: "all" | "true" | "false" | undefined;
106
106
  }>>;
107
107
  vendorQualifications: z.ZodNullable<z.ZodObject<{
108
108
  locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -134,7 +134,7 @@ export declare const campaignSchema: z.ZodObject<{
134
134
  includes: string | null;
135
135
  excludes: string | null;
136
136
  } | null;
137
- isFeatured: "false" | "all" | "true" | null;
137
+ isFeatured: "all" | "true" | "false" | null;
138
138
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
139
139
  categories: {
140
140
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -154,9 +154,9 @@ export declare const campaignSchema: z.ZodObject<{
154
154
  } | null;
155
155
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
156
156
  clientInfo: {
157
- isPaymentVerified: "false" | "all" | "true";
158
- isPhoneVerified: "false" | "all" | "true";
159
- enterpriseClient: "false" | "all" | "true";
157
+ isPaymentVerified: "all" | "true" | "false";
158
+ isPhoneVerified: "all" | "true" | "false";
159
+ enterpriseClient: "all" | "true" | "false";
160
160
  clientLocationIncludes: string[] | null;
161
161
  clientLocationExcludes: string[] | null;
162
162
  minReviewScore: number | null;
@@ -184,7 +184,7 @@ export declare const campaignSchema: z.ZodObject<{
184
184
  includes: string | null;
185
185
  excludes: string | null;
186
186
  } | null;
187
- isFeatured: "false" | "all" | "true" | null;
187
+ isFeatured: "all" | "true" | "false" | null;
188
188
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
189
189
  categories: {
190
190
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -216,9 +216,9 @@ export declare const campaignSchema: z.ZodObject<{
216
216
  minNumReviews: number | null;
217
217
  memberSinceFrom: string | null;
218
218
  memberSinceTo: string | null;
219
- isPaymentVerified?: "false" | "all" | "true" | undefined;
220
- isPhoneVerified?: "false" | "all" | "true" | undefined;
221
- enterpriseClient?: "false" | "all" | "true" | undefined;
219
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
220
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
221
+ enterpriseClient?: "all" | "true" | "false" | undefined;
222
222
  } | null;
223
223
  vendorQualifications: {
224
224
  locationIncludes: string[] | null;
@@ -249,12 +249,12 @@ export declare const campaignSchema: z.ZodObject<{
249
249
  boosted: z.ZodDefault<z.ZodNumber>;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  biddingAmount: number;
252
- boosted: number;
253
252
  boostingAmount: number;
253
+ boosted: number;
254
254
  }, {
255
255
  biddingAmount?: number | undefined;
256
- boosted?: number | undefined;
257
256
  boostingAmount?: number | undefined;
257
+ boosted?: number | undefined;
258
258
  }>;
259
259
  integrations: z.ZodObject<{
260
260
  suitabilityHooks: z.ZodObject<{
@@ -300,18 +300,12 @@ export declare const campaignSchema: z.ZodObject<{
300
300
  }, "strip", z.ZodTypeAny, {
301
301
  id: string;
302
302
  name: string;
303
- createdAt: number;
304
- updatedAt: number;
305
- boostingEnabled: boolean | null;
306
- minimumBoost: number | null;
307
- maximumBoost: number | null;
308
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
309
303
  filters: {
310
304
  keywords: {
311
305
  includes: string | null;
312
306
  excludes: string | null;
313
307
  } | null;
314
- isFeatured: "false" | "all" | "true" | null;
308
+ isFeatured: "all" | "true" | "false" | null;
315
309
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
316
310
  categories: {
317
311
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -331,9 +325,9 @@ export declare const campaignSchema: z.ZodObject<{
331
325
  } | null;
332
326
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
333
327
  clientInfo: {
334
- isPaymentVerified: "false" | "all" | "true";
335
- isPhoneVerified: "false" | "all" | "true";
336
- enterpriseClient: "false" | "all" | "true";
328
+ isPaymentVerified: "all" | "true" | "false";
329
+ isPhoneVerified: "all" | "true" | "false";
330
+ enterpriseClient: "all" | "true" | "false";
337
331
  clientLocationIncludes: string[] | null;
338
332
  clientLocationExcludes: string[] | null;
339
333
  minReviewScore: number | null;
@@ -357,17 +351,23 @@ export declare const campaignSchema: z.ZodObject<{
357
351
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
358
352
  } | null;
359
353
  };
354
+ createdAt: number;
355
+ updatedAt: number;
360
356
  confirmedBillingAt: number | null;
361
357
  automatedSuitability: boolean | null;
362
358
  automatedBidding: boolean | null;
359
+ boostingEnabled: boolean | null;
360
+ maximumBoost: number | null;
361
+ minimumBoost: number | null;
363
362
  webhookUrl: string | null;
364
363
  monthlyBudget: number | null;
365
364
  suitabilityThreshold: number | null;
366
365
  boostingThreshold: number | null;
366
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
367
367
  expenses: {
368
368
  biddingAmount: number;
369
- boosted: number;
370
369
  boostingAmount: number;
370
+ boosted: number;
371
371
  };
372
372
  integrations: {
373
373
  suitabilityHooks: {
@@ -379,19 +379,16 @@ export declare const campaignSchema: z.ZodObject<{
379
379
  slack: string | null;
380
380
  };
381
381
  };
382
- status?: "error" | "active" | "paused" | "draft" | undefined;
382
+ status?: "active" | "draft" | "paused" | "error" | undefined;
383
383
  }, {
384
384
  id: string;
385
385
  name: string;
386
- createdAt: number;
387
- updatedAt: number;
388
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
389
386
  filters: {
390
387
  keywords: {
391
388
  includes: string | null;
392
389
  excludes: string | null;
393
390
  } | null;
394
- isFeatured: "false" | "all" | "true" | null;
391
+ isFeatured: "all" | "true" | "false" | null;
395
392
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
396
393
  categories: {
397
394
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -423,9 +420,9 @@ export declare const campaignSchema: z.ZodObject<{
423
420
  minNumReviews: number | null;
424
421
  memberSinceFrom: string | null;
425
422
  memberSinceTo: string | null;
426
- isPaymentVerified?: "false" | "all" | "true" | undefined;
427
- isPhoneVerified?: "false" | "all" | "true" | undefined;
428
- enterpriseClient?: "false" | "all" | "true" | undefined;
423
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
424
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
425
+ enterpriseClient?: "all" | "true" | "false" | undefined;
429
426
  } | null;
430
427
  vendorQualifications: {
431
428
  locationIncludes: string[] | null;
@@ -437,15 +434,18 @@ export declare const campaignSchema: z.ZodObject<{
437
434
  requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
438
435
  } | null;
439
436
  };
437
+ createdAt: number;
438
+ updatedAt: number;
440
439
  confirmedBillingAt: number | null;
441
440
  automatedSuitability: boolean | null;
442
441
  automatedBidding: boolean | null;
443
442
  webhookUrl: string | null;
444
443
  monthlyBudget: number | null;
444
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
445
445
  expenses: {
446
446
  biddingAmount?: number | undefined;
447
- boosted?: number | undefined;
448
447
  boostingAmount?: number | undefined;
448
+ boosted?: number | undefined;
449
449
  };
450
450
  integrations: {
451
451
  suitabilityHooks: {
@@ -457,10 +457,10 @@ export declare const campaignSchema: z.ZodObject<{
457
457
  slack: string | null;
458
458
  };
459
459
  };
460
- status?: "error" | "active" | "paused" | "draft" | undefined;
460
+ status?: "active" | "draft" | "paused" | "error" | undefined;
461
461
  boostingEnabled?: boolean | null | undefined;
462
- minimumBoost?: number | null | undefined;
463
462
  maximumBoost?: number | null | undefined;
463
+ minimumBoost?: number | null | undefined;
464
464
  suitabilityThreshold?: number | null | undefined;
465
465
  boostingThreshold?: number | null | undefined;
466
466
  }>;
@@ -536,9 +536,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
536
536
  memberSinceFrom: z.ZodNullable<z.ZodString>;
537
537
  memberSinceTo: z.ZodNullable<z.ZodString>;
538
538
  }, "strip", z.ZodTypeAny, {
539
- isPaymentVerified: "false" | "all" | "true";
540
- isPhoneVerified: "false" | "all" | "true";
541
- enterpriseClient: "false" | "all" | "true";
539
+ isPaymentVerified: "all" | "true" | "false";
540
+ isPhoneVerified: "all" | "true" | "false";
541
+ enterpriseClient: "all" | "true" | "false";
542
542
  clientLocationIncludes: string[] | null;
543
543
  clientLocationExcludes: string[] | null;
544
544
  minReviewScore: number | null;
@@ -564,9 +564,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
564
564
  minNumReviews: number | null;
565
565
  memberSinceFrom: string | null;
566
566
  memberSinceTo: string | null;
567
- isPaymentVerified?: "false" | "all" | "true" | undefined;
568
- isPhoneVerified?: "false" | "all" | "true" | undefined;
569
- enterpriseClient?: "false" | "all" | "true" | undefined;
567
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
568
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
569
+ enterpriseClient?: "all" | "true" | "false" | undefined;
570
570
  }>>;
571
571
  vendorQualifications: z.ZodNullable<z.ZodObject<{
572
572
  locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -598,7 +598,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
598
598
  includes: string | null;
599
599
  excludes: string | null;
600
600
  } | null;
601
- isFeatured: "false" | "all" | "true" | null;
601
+ isFeatured: "all" | "true" | "false" | null;
602
602
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
603
603
  categories: {
604
604
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -618,9 +618,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
618
618
  } | null;
619
619
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
620
620
  clientInfo: {
621
- isPaymentVerified: "false" | "all" | "true";
622
- isPhoneVerified: "false" | "all" | "true";
623
- enterpriseClient: "false" | "all" | "true";
621
+ isPaymentVerified: "all" | "true" | "false";
622
+ isPhoneVerified: "all" | "true" | "false";
623
+ enterpriseClient: "all" | "true" | "false";
624
624
  clientLocationIncludes: string[] | null;
625
625
  clientLocationExcludes: string[] | null;
626
626
  minReviewScore: number | null;
@@ -648,7 +648,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
648
648
  includes: string | null;
649
649
  excludes: string | null;
650
650
  } | null;
651
- isFeatured: "false" | "all" | "true" | null;
651
+ isFeatured: "all" | "true" | "false" | null;
652
652
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
653
653
  categories: {
654
654
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -680,9 +680,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
680
680
  minNumReviews: number | null;
681
681
  memberSinceFrom: string | null;
682
682
  memberSinceTo: string | null;
683
- isPaymentVerified?: "false" | "all" | "true" | undefined;
684
- isPhoneVerified?: "false" | "all" | "true" | undefined;
685
- enterpriseClient?: "false" | "all" | "true" | undefined;
683
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
684
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
685
+ enterpriseClient?: "all" | "true" | "false" | undefined;
686
686
  } | null;
687
687
  vendorQualifications: {
688
688
  locationIncludes: string[] | null;
@@ -713,12 +713,12 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
713
713
  boosted: z.ZodDefault<z.ZodNumber>;
714
714
  }, "strip", z.ZodTypeAny, {
715
715
  biddingAmount: number;
716
- boosted: number;
717
716
  boostingAmount: number;
717
+ boosted: number;
718
718
  }, {
719
719
  biddingAmount?: number | undefined;
720
- boosted?: number | undefined;
721
720
  boostingAmount?: number | undefined;
721
+ boosted?: number | undefined;
722
722
  }>;
723
723
  integrations: z.ZodObject<{
724
724
  suitabilityHooks: z.ZodObject<{
@@ -763,16 +763,12 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
763
763
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">]>>;
764
764
  }, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
765
765
  name: string;
766
- boostingEnabled: boolean | null;
767
- minimumBoost: number | null;
768
- maximumBoost: number | null;
769
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
770
766
  filters: {
771
767
  keywords: {
772
768
  includes: string | null;
773
769
  excludes: string | null;
774
770
  } | null;
775
- isFeatured: "false" | "all" | "true" | null;
771
+ isFeatured: "all" | "true" | "false" | null;
776
772
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
777
773
  categories: {
778
774
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -792,9 +788,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
792
788
  } | null;
793
789
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
794
790
  clientInfo: {
795
- isPaymentVerified: "false" | "all" | "true";
796
- isPhoneVerified: "false" | "all" | "true";
797
- enterpriseClient: "false" | "all" | "true";
791
+ isPaymentVerified: "all" | "true" | "false";
792
+ isPhoneVerified: "all" | "true" | "false";
793
+ enterpriseClient: "all" | "true" | "false";
798
794
  clientLocationIncludes: string[] | null;
799
795
  clientLocationExcludes: string[] | null;
800
796
  minReviewScore: number | null;
@@ -821,14 +817,18 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
821
817
  confirmedBillingAt: number | null;
822
818
  automatedSuitability: boolean | null;
823
819
  automatedBidding: boolean | null;
820
+ boostingEnabled: boolean | null;
821
+ maximumBoost: number | null;
822
+ minimumBoost: number | null;
824
823
  webhookUrl: string | null;
825
824
  monthlyBudget: number | null;
826
825
  suitabilityThreshold: number | null;
827
826
  boostingThreshold: number | null;
827
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
828
828
  expenses: {
829
829
  biddingAmount: number;
830
- boosted: number;
831
830
  boostingAmount: number;
831
+ boosted: number;
832
832
  };
833
833
  integrations: {
834
834
  suitabilityHooks: {
@@ -840,16 +840,15 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
840
840
  slack: string | null;
841
841
  };
842
842
  };
843
- status?: "error" | "active" | "paused" | "draft" | undefined;
843
+ status?: "active" | "draft" | "paused" | "error" | undefined;
844
844
  }, {
845
845
  name: string;
846
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
847
846
  filters: {
848
847
  keywords: {
849
848
  includes: string | null;
850
849
  excludes: string | null;
851
850
  } | null;
852
- isFeatured: "false" | "all" | "true" | null;
851
+ isFeatured: "all" | "true" | "false" | null;
853
852
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
854
853
  categories: {
855
854
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -881,9 +880,9 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
881
880
  minNumReviews: number | null;
882
881
  memberSinceFrom: string | null;
883
882
  memberSinceTo: string | null;
884
- isPaymentVerified?: "false" | "all" | "true" | undefined;
885
- isPhoneVerified?: "false" | "all" | "true" | undefined;
886
- enterpriseClient?: "false" | "all" | "true" | undefined;
883
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
884
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
885
+ enterpriseClient?: "all" | "true" | "false" | undefined;
887
886
  } | null;
888
887
  vendorQualifications: {
889
888
  locationIncludes: string[] | null;
@@ -900,10 +899,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
900
899
  automatedBidding: boolean | null;
901
900
  webhookUrl: string | null;
902
901
  monthlyBudget: number | null;
902
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
903
903
  expenses: {
904
904
  biddingAmount?: number | undefined;
905
- boosted?: number | undefined;
906
905
  boostingAmount?: number | undefined;
906
+ boosted?: number | undefined;
907
907
  };
908
908
  integrations: {
909
909
  suitabilityHooks: {
@@ -915,10 +915,10 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
915
915
  slack: string | null;
916
916
  };
917
917
  };
918
- status?: "error" | "active" | "paused" | "draft" | undefined;
918
+ status?: "active" | "draft" | "paused" | "error" | undefined;
919
919
  boostingEnabled?: boolean | null | undefined;
920
- minimumBoost?: number | null | undefined;
921
920
  maximumBoost?: number | null | undefined;
921
+ minimumBoost?: number | null | undefined;
922
922
  suitabilityThreshold?: number | null | undefined;
923
923
  boostingThreshold?: number | null | undefined;
924
924
  }>;
@@ -994,9 +994,9 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
994
994
  memberSinceFrom: z.ZodNullable<z.ZodString>;
995
995
  memberSinceTo: z.ZodNullable<z.ZodString>;
996
996
  }, "strip", z.ZodTypeAny, {
997
- isPaymentVerified: "false" | "all" | "true";
998
- isPhoneVerified: "false" | "all" | "true";
999
- enterpriseClient: "false" | "all" | "true";
997
+ isPaymentVerified: "all" | "true" | "false";
998
+ isPhoneVerified: "all" | "true" | "false";
999
+ enterpriseClient: "all" | "true" | "false";
1000
1000
  clientLocationIncludes: string[] | null;
1001
1001
  clientLocationExcludes: string[] | null;
1002
1002
  minReviewScore: number | null;
@@ -1022,9 +1022,9 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1022
1022
  minNumReviews: number | null;
1023
1023
  memberSinceFrom: string | null;
1024
1024
  memberSinceTo: string | null;
1025
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1026
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1027
- enterpriseClient?: "false" | "all" | "true" | undefined;
1025
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1026
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1027
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1028
1028
  }>>;
1029
1029
  vendorQualifications: z.ZodNullable<z.ZodObject<{
1030
1030
  locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -1056,7 +1056,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1056
1056
  includes: string | null;
1057
1057
  excludes: string | null;
1058
1058
  } | null;
1059
- isFeatured: "false" | "all" | "true" | null;
1059
+ isFeatured: "all" | "true" | "false" | null;
1060
1060
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1061
1061
  categories: {
1062
1062
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -1076,9 +1076,9 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1076
1076
  } | null;
1077
1077
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1078
1078
  clientInfo: {
1079
- isPaymentVerified: "false" | "all" | "true";
1080
- isPhoneVerified: "false" | "all" | "true";
1081
- enterpriseClient: "false" | "all" | "true";
1079
+ isPaymentVerified: "all" | "true" | "false";
1080
+ isPhoneVerified: "all" | "true" | "false";
1081
+ enterpriseClient: "all" | "true" | "false";
1082
1082
  clientLocationIncludes: string[] | null;
1083
1083
  clientLocationExcludes: string[] | null;
1084
1084
  minReviewScore: number | null;
@@ -1106,7 +1106,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1106
1106
  includes: string | null;
1107
1107
  excludes: string | null;
1108
1108
  } | null;
1109
- isFeatured: "false" | "all" | "true" | null;
1109
+ isFeatured: "all" | "true" | "false" | null;
1110
1110
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1111
1111
  categories: {
1112
1112
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -1138,9 +1138,9 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1138
1138
  minNumReviews: number | null;
1139
1139
  memberSinceFrom: string | null;
1140
1140
  memberSinceTo: string | null;
1141
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1142
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1143
- enterpriseClient?: "false" | "all" | "true" | undefined;
1141
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1142
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1143
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1144
1144
  } | null;
1145
1145
  vendorQualifications: {
1146
1146
  locationIncludes: string[] | null;
@@ -1171,12 +1171,12 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1171
1171
  boosted: z.ZodDefault<z.ZodNumber>;
1172
1172
  }, "strip", z.ZodTypeAny, {
1173
1173
  biddingAmount: number;
1174
- boosted: number;
1175
1174
  boostingAmount: number;
1175
+ boosted: number;
1176
1176
  }, {
1177
1177
  biddingAmount?: number | undefined;
1178
- boosted?: number | undefined;
1179
1178
  boostingAmount?: number | undefined;
1179
+ boosted?: number | undefined;
1180
1180
  }>;
1181
1181
  integrations: z.ZodObject<{
1182
1182
  suitabilityHooks: z.ZodObject<{
@@ -1222,16 +1222,12 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1222
1222
  }, "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
1223
1223
  id: string;
1224
1224
  name: string;
1225
- boostingEnabled: boolean | null;
1226
- minimumBoost: number | null;
1227
- maximumBoost: number | null;
1228
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
1229
1225
  filters: {
1230
1226
  keywords: {
1231
1227
  includes: string | null;
1232
1228
  excludes: string | null;
1233
1229
  } | null;
1234
- isFeatured: "false" | "all" | "true" | null;
1230
+ isFeatured: "all" | "true" | "false" | null;
1235
1231
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1236
1232
  categories: {
1237
1233
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -1251,9 +1247,9 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1251
1247
  } | null;
1252
1248
  engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
1253
1249
  clientInfo: {
1254
- isPaymentVerified: "false" | "all" | "true";
1255
- isPhoneVerified: "false" | "all" | "true";
1256
- enterpriseClient: "false" | "all" | "true";
1250
+ isPaymentVerified: "all" | "true" | "false";
1251
+ isPhoneVerified: "all" | "true" | "false";
1252
+ enterpriseClient: "all" | "true" | "false";
1257
1253
  clientLocationIncludes: string[] | null;
1258
1254
  clientLocationExcludes: string[] | null;
1259
1255
  minReviewScore: number | null;
@@ -1280,14 +1276,18 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1280
1276
  confirmedBillingAt: number | null;
1281
1277
  automatedSuitability: boolean | null;
1282
1278
  automatedBidding: boolean | null;
1279
+ boostingEnabled: boolean | null;
1280
+ maximumBoost: number | null;
1281
+ minimumBoost: number | null;
1283
1282
  webhookUrl: string | null;
1284
1283
  monthlyBudget: number | null;
1285
1284
  suitabilityThreshold: number | null;
1286
1285
  boostingThreshold: number | null;
1286
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
1287
1287
  expenses: {
1288
1288
  biddingAmount: number;
1289
- boosted: number;
1290
1289
  boostingAmount: number;
1290
+ boosted: number;
1291
1291
  };
1292
1292
  integrations: {
1293
1293
  suitabilityHooks: {
@@ -1299,17 +1299,16 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1299
1299
  slack: string | null;
1300
1300
  };
1301
1301
  };
1302
- status?: "error" | "active" | "paused" | "draft" | undefined;
1302
+ status?: "active" | "draft" | "paused" | "error" | undefined;
1303
1303
  }, {
1304
1304
  id: string;
1305
1305
  name: string;
1306
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
1307
1306
  filters: {
1308
1307
  keywords: {
1309
1308
  includes: string | null;
1310
1309
  excludes: string | null;
1311
1310
  } | null;
1312
- isFeatured: "false" | "all" | "true" | null;
1311
+ isFeatured: "all" | "true" | "false" | null;
1313
1312
  regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
1314
1313
  categories: {
1315
1314
  includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
@@ -1341,9 +1340,9 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1341
1340
  minNumReviews: number | null;
1342
1341
  memberSinceFrom: string | null;
1343
1342
  memberSinceTo: string | null;
1344
- isPaymentVerified?: "false" | "all" | "true" | undefined;
1345
- isPhoneVerified?: "false" | "all" | "true" | undefined;
1346
- enterpriseClient?: "false" | "all" | "true" | undefined;
1343
+ isPaymentVerified?: "all" | "true" | "false" | undefined;
1344
+ isPhoneVerified?: "all" | "true" | "false" | undefined;
1345
+ enterpriseClient?: "all" | "true" | "false" | undefined;
1347
1346
  } | null;
1348
1347
  vendorQualifications: {
1349
1348
  locationIncludes: string[] | null;
@@ -1360,10 +1359,11 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1360
1359
  automatedBidding: boolean | null;
1361
1360
  webhookUrl: string | null;
1362
1361
  monthlyBudget: number | null;
1362
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost", number>> | null;
1363
1363
  expenses: {
1364
1364
  biddingAmount?: number | undefined;
1365
- boosted?: number | undefined;
1366
1365
  boostingAmount?: number | undefined;
1366
+ boosted?: number | undefined;
1367
1367
  };
1368
1368
  integrations: {
1369
1369
  suitabilityHooks: {
@@ -1375,10 +1375,10 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
1375
1375
  slack: string | null;
1376
1376
  };
1377
1377
  };
1378
- status?: "error" | "active" | "paused" | "draft" | undefined;
1378
+ status?: "active" | "draft" | "paused" | "error" | undefined;
1379
1379
  boostingEnabled?: boolean | null | undefined;
1380
- minimumBoost?: number | null | undefined;
1381
1380
  maximumBoost?: number | null | undefined;
1381
+ minimumBoost?: number | null | undefined;
1382
1382
  suitabilityThreshold?: number | null | undefined;
1383
1383
  boostingThreshold?: number | null | undefined;
1384
1384
  }>;