lancer-shared 1.2.38 → 1.2.39

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 (247) hide show
  1. package/dist/bundle.cjs.js +8 -13
  2. package/dist/constants/account-status.d.ts +3 -0
  3. package/dist/constants/account-status.js +17 -0
  4. package/dist/constants/collections.d.ts +13 -0
  5. package/dist/constants/collections.js +16 -0
  6. package/dist/constants/common-questions.js +60 -0
  7. package/dist/constants/index.js +40 -0
  8. package/dist/constants/job-filter-options.js +268 -0
  9. package/dist/constants/job-status.js +26 -0
  10. package/dist/constants/mappings/countryMapping.js +122 -0
  11. package/dist/constants/mappings/regionMapping.js +242 -0
  12. package/dist/constants/organization.d.ts +2 -0
  13. package/dist/constants/proxies.d.ts +4 -0
  14. package/dist/constants/routes.js +114 -0
  15. package/dist/constants/upwork-accounts.js +21 -0
  16. package/dist/constants/upwork-filters.d.ts +5 -0
  17. package/dist/constants/upwork-filters.js +75 -0
  18. package/dist/index.js +20 -0
  19. package/dist/schemas/account/account-status.js +11 -0
  20. package/dist/schemas/account/bidder-account.d.ts +9 -10
  21. package/dist/schemas/account/bidder-account.js +37 -0
  22. package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +5 -0
  23. package/dist/schemas/account/index.js +19 -0
  24. package/dist/schemas/account/manager-account.d.ts +116 -0
  25. package/dist/schemas/account/manager-account.js +38 -0
  26. package/dist/schemas/account/scraper-account.d.ts +2 -6
  27. package/dist/schemas/account/scraper-account.js +37 -0
  28. package/dist/schemas/agent/index.d.ts +20 -10
  29. package/dist/schemas/ai/ai-config.d.ts +36 -0
  30. package/dist/schemas/ai/ai-config.js +12 -0
  31. package/dist/schemas/ai/index.d.ts +3 -0
  32. package/dist/schemas/ai/index.js +19 -0
  33. package/dist/schemas/ai/proposal.d.ts +82 -0
  34. package/dist/schemas/ai/proposal.js +16 -0
  35. package/dist/schemas/ai/suitability.d.ts +37 -0
  36. package/dist/schemas/ai/suitability.js +17 -0
  37. package/dist/schemas/ai-config/ai-config.d.ts +39 -0
  38. package/dist/schemas/ai-config/ai-config.js +12 -0
  39. package/dist/schemas/ai-config/index.d.ts +1 -0
  40. package/dist/schemas/ai-config/index.js +17 -0
  41. package/dist/schemas/bid/bid-result.js +15 -0
  42. package/dist/schemas/bid/bid-status.d.ts +30 -0
  43. package/dist/schemas/bid/bid-status.js +15 -0
  44. package/dist/schemas/bid/bid.js +36 -0
  45. package/dist/schemas/bid/exceptions/base-exception.d.ts +4 -0
  46. package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +5 -0
  47. package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +5 -0
  48. package/dist/schemas/bid/index.js +18 -0
  49. package/dist/schemas/bidding/index.d.ts +1 -0
  50. package/dist/schemas/bidding/index.js +17 -0
  51. package/dist/schemas/bidding/proposal-bidding-status.d.ts +26 -0
  52. package/dist/schemas/bidding/proposal-bidding-status.js +18 -0
  53. package/dist/schemas/bidding/proposal-dto.d.ts +26 -0
  54. package/dist/schemas/bidding/proposal-dto.js +18 -0
  55. package/dist/schemas/campaign/campaign-ai-metrics.js +9 -0
  56. package/dist/schemas/campaign/campaign-analytics.d.ts +40 -48
  57. package/dist/schemas/campaign/campaign-analytics.js +41 -0
  58. package/dist/schemas/campaign/campaign-expenses.js +9 -0
  59. package/dist/schemas/campaign/campaign-insights.js +31 -0
  60. package/dist/schemas/campaign/campaign-integrations.d.ts +82 -0
  61. package/dist/schemas/campaign/campaign-integrations.js +16 -0
  62. package/dist/schemas/campaign/campaign-job-count.d.ts +2 -0
  63. package/dist/schemas/campaign/campaign-job-count.js +6 -0
  64. package/dist/schemas/campaign/campaign.d.ts +1 -13
  65. package/dist/schemas/campaign/campaign.js +44 -0
  66. package/dist/schemas/campaign/index.js +23 -0
  67. package/dist/schemas/chat-message/chat-message.d.ts +31 -0
  68. package/dist/schemas/chat-message/chat-message.js +13 -0
  69. package/dist/schemas/chat-message/index.d.ts +1 -0
  70. package/dist/schemas/chat-message/index.js +17 -0
  71. package/dist/schemas/config/agency-config.d.ts +17 -0
  72. package/dist/schemas/config/agency-config.js +10 -0
  73. package/dist/schemas/config/index.d.ts +1 -0
  74. package/dist/schemas/config/index.js +17 -0
  75. package/dist/schemas/index.js +32 -0
  76. package/dist/schemas/job/index.js +19 -0
  77. package/dist/schemas/job/job-details.d.ts +335 -0
  78. package/dist/schemas/job/job-details.js +29 -0
  79. package/dist/schemas/job/job-note.d.ts +83 -0
  80. package/dist/schemas/job/job-note.js +30 -0
  81. package/dist/schemas/job/job-pipeline.d.ts +74 -0
  82. package/dist/schemas/job/job-pipeline.js +29 -0
  83. package/dist/schemas/job/job-status.d.ts +3 -0
  84. package/dist/schemas/job/job-status.js +27 -0
  85. package/dist/schemas/job/job-suitability.d.ts +12 -0
  86. package/dist/schemas/job/job-suitability.js +13 -0
  87. package/dist/schemas/job/job.d.ts +1160 -0
  88. package/dist/schemas/job/job.js +90 -0
  89. package/dist/schemas/job/pipeline-job.d.ts +608 -0
  90. package/dist/schemas/job/pipeline-job.js +43 -0
  91. package/dist/schemas/job/upwork-job.d.ts +334 -0
  92. package/dist/schemas/job/upwork-job.js +60 -0
  93. package/dist/schemas/job-filters/index.d.ts +1 -0
  94. package/dist/schemas/job-filters/index.js +17 -0
  95. package/dist/schemas/job-filters/job-filters.d.ts +241 -0
  96. package/dist/schemas/job-filters/job-filters.js +87 -0
  97. package/dist/schemas/knowledge-object/index.d.ts +1 -0
  98. package/dist/schemas/knowledge-object/index.js +17 -0
  99. package/dist/schemas/knowledge-object/knowledge-object.d.ts +128 -0
  100. package/dist/schemas/knowledge-object/knowledge-object.js +47 -0
  101. package/dist/schemas/lead/index.js +19 -0
  102. package/dist/schemas/lead/lead-note.d.ts +83 -0
  103. package/dist/schemas/lead/lead-note.js +30 -0
  104. package/dist/schemas/lead/lead-status.js +26 -0
  105. package/dist/schemas/lead/lead.d.ts +1897 -0
  106. package/dist/schemas/lead/lead.js +143 -0
  107. package/dist/schemas/lead/nuxt.d.ts +1664 -0
  108. package/dist/schemas/logger/index.js +17 -0
  109. package/dist/schemas/logger/log-event.d.ts +5 -5
  110. package/dist/schemas/logger/log-event.js +66 -0
  111. package/dist/schemas/organization/index.js +17 -0
  112. package/dist/schemas/organization/organization.d.ts +70 -0
  113. package/dist/schemas/organization/organization.js +19 -0
  114. package/dist/schemas/proxy/index.js +17 -0
  115. package/dist/schemas/proxy/proxy.d.ts +5 -5
  116. package/dist/schemas/proxy/proxy.js +23 -0
  117. package/dist/schemas/saved-search/index.js +12 -0
  118. package/dist/schemas/scraper/index.js +18 -0
  119. package/dist/schemas/scraper/scrape-payload.d.ts +24 -24
  120. package/dist/schemas/scraper/scrape-payload.js +16 -0
  121. package/dist/schemas/scraper/scrape-response.d.ts +345 -0
  122. package/dist/schemas/scraper/scrape-response.js +9 -0
  123. package/dist/schemas/scraper/scrape-result.js +23 -0
  124. package/dist/schemas/shared.js +16 -0
  125. package/dist/schemas/time-filter/index.js +9 -0
  126. package/dist/schemas/upwork-account/index.d.ts +3 -0
  127. package/dist/schemas/upwork-account/index.js +19 -0
  128. package/dist/schemas/upwork-account/upwork-account-status.d.ts +2 -0
  129. package/dist/schemas/upwork-account/upwork-account-status.js +11 -0
  130. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +95 -0
  131. package/dist/schemas/upwork-account/upwork-business-manager-account.js +35 -0
  132. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +92 -0
  133. package/dist/schemas/upwork-account/upwork-scraper-account.js +31 -0
  134. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +90 -0
  135. package/dist/schemas/upwork-account/upwork-scraping-account.js +30 -0
  136. package/dist/schemas/user/index.js +55 -0
  137. package/dist/types/account/account-status.d.ts +3 -0
  138. package/dist/types/account/account-status.js +2 -0
  139. package/dist/types/account/bidder-account.d.ts +7 -0
  140. package/dist/types/account/bidder-account.js +2 -0
  141. package/dist/types/account/index.d.ts +3 -0
  142. package/dist/types/account/index.js +19 -0
  143. package/dist/types/account/manager-account.d.ts +7 -0
  144. package/dist/types/account/manager-account.js +2 -0
  145. package/dist/types/account/scraper-account.d.ts +5 -0
  146. package/dist/types/account/scraper-account.js +2 -0
  147. package/dist/types/ai/ai-config.d.ts +6 -0
  148. package/dist/types/ai/ai-config.js +2 -0
  149. package/dist/types/ai/index.d.ts +3 -0
  150. package/dist/types/ai/index.js +19 -0
  151. package/dist/types/ai/proposal.d.ts +10 -0
  152. package/dist/types/ai/proposal.js +2 -0
  153. package/dist/types/ai/suitability.d.ts +6 -0
  154. package/dist/types/ai/suitability.js +2 -0
  155. package/dist/types/ai-config/ai-config.d.ts +6 -0
  156. package/dist/types/ai-config/ai-config.js +2 -0
  157. package/dist/types/ai-config/index.d.ts +1 -0
  158. package/dist/types/ai-config/index.js +17 -0
  159. package/dist/types/bid/bid-result.d.ts +5 -0
  160. package/dist/types/bid/bid-result.js +2 -0
  161. package/dist/types/bid/bid-status.d.ts +5 -0
  162. package/dist/types/bid/bid-status.js +2 -0
  163. package/dist/types/bid/bid.d.ts +9 -0
  164. package/dist/types/bid/bid.js +2 -0
  165. package/dist/types/bid/index.d.ts +2 -0
  166. package/dist/types/bid/index.js +18 -0
  167. package/dist/types/bidding/index.d.ts +1 -0
  168. package/dist/types/bidding/index.js +17 -0
  169. package/dist/types/bidding/proposal-bidding-status.d.ts +3 -0
  170. package/dist/types/bidding/proposal-bidding-status.js +2 -0
  171. package/dist/types/bidding/proposal-dto.d.ts +3 -0
  172. package/dist/types/bidding/proposal-dto.js +2 -0
  173. package/dist/types/campaign/campaign-analytics.d.ts +7 -0
  174. package/dist/types/campaign/campaign-analytics.js +2 -0
  175. package/dist/types/campaign/campaign-expenses.d.ts +3 -0
  176. package/dist/types/campaign/campaign-expenses.js +2 -0
  177. package/dist/types/campaign/campaign-insights.js +2 -0
  178. package/dist/types/campaign/campaign-integrations.d.ts +6 -0
  179. package/dist/types/campaign/campaign-integrations.js +2 -0
  180. package/dist/types/campaign/campaign-job-count.d.ts +4 -0
  181. package/dist/types/campaign/campaign-job-count.js +2 -0
  182. package/dist/types/campaign/campaign.js +2 -0
  183. package/dist/types/campaign/index.js +22 -0
  184. package/dist/types/chat-message/chat-message.d.ts +4 -0
  185. package/dist/types/chat-message/chat-message.js +2 -0
  186. package/dist/types/chat-message/index.d.ts +1 -0
  187. package/dist/types/chat-message/index.js +17 -0
  188. package/dist/types/config/agency-config.d.ts +4 -0
  189. package/dist/types/config/agency-config.js +2 -0
  190. package/dist/types/config/index.d.ts +1 -0
  191. package/dist/types/config/index.js +17 -0
  192. package/dist/types/index.d.ts +15 -0
  193. package/dist/types/index.js +29 -0
  194. package/dist/types/job/index.d.ts +48 -0
  195. package/dist/types/job/index.js +19 -0
  196. package/dist/types/job/job-details.d.ts +36 -0
  197. package/dist/types/job/job-details.js +2 -0
  198. package/dist/types/job/job-note.d.ts +10 -0
  199. package/dist/types/job/job-note.js +2 -0
  200. package/dist/types/job/job-pipeline.d.ts +4 -0
  201. package/dist/types/job/job-pipeline.js +2 -0
  202. package/dist/types/job/job-status.d.ts +5 -0
  203. package/dist/types/job/job-status.js +12 -0
  204. package/dist/types/job/job-suitability.d.ts +3 -0
  205. package/dist/types/job/job-suitability.js +2 -0
  206. package/dist/types/job/job.d.ts +36 -0
  207. package/dist/types/job/job.js +2 -0
  208. package/dist/types/job/nuxt.d.ts +4 -0
  209. package/dist/types/job-filters/index.d.ts +1 -0
  210. package/dist/types/job-filters/index.js +17 -0
  211. package/dist/types/job-filters/job-filters.d.ts +4 -0
  212. package/dist/types/job-filters/job-filters.js +2 -0
  213. package/dist/types/knowledge-object/index.d.ts +1 -0
  214. package/dist/types/knowledge-object/index.js +17 -0
  215. package/dist/types/knowledge-object/knowledge-object.d.ts +4 -0
  216. package/dist/types/knowledge-object/knowledge-object.js +2 -0
  217. package/dist/types/logger/index.d.ts +1 -0
  218. package/dist/types/logger/index.js +17 -0
  219. package/dist/types/logger/log-event.js +2 -0
  220. package/dist/types/saved-search/index.d.ts +6 -0
  221. package/dist/types/saved-search/index.js +2 -0
  222. package/dist/types/scraper/index.d.ts +2 -0
  223. package/dist/types/scraper/index.js +18 -0
  224. package/dist/types/scraper/scrape-payload.d.ts +10 -0
  225. package/dist/types/scraper/scrape-payload.js +2 -0
  226. package/dist/types/scraper/scrape-response.d.ts +4 -0
  227. package/dist/types/scraper/scrape-response.js +2 -0
  228. package/dist/types/scraper/scrape-result.d.ts +8 -0
  229. package/dist/types/scraper/scrape-result.js +2 -0
  230. package/dist/types/shared.d.ts +8 -0
  231. package/dist/types/time-filter/index.d.ts +3 -0
  232. package/dist/types/time-filter/index.js +2 -0
  233. package/dist/types/transaction/index.d.ts +4 -0
  234. package/dist/types/upwork-account/index.d.ts +3 -0
  235. package/dist/types/upwork-account/index.js +19 -0
  236. package/dist/types/upwork-account/upwork-account-status.d.ts +3 -0
  237. package/dist/types/upwork-account/upwork-account-status.js +2 -0
  238. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +7 -0
  239. package/dist/types/upwork-account/upwork-business-manager-account.js +2 -0
  240. package/dist/types/upwork-account/upwork-scraping-account.d.ts +5 -0
  241. package/dist/types/upwork-account/upwork-scraping-account.js +2 -0
  242. package/dist/types/usage/index.d.ts +6 -0
  243. package/dist/types/user/index.d.ts +15 -0
  244. package/dist/types/user/index.js +2 -0
  245. package/dist/utils/index.js +17 -0
  246. package/dist/utils/try-catch.js +25 -0
  247. package/package.json +1 -1
@@ -355,19 +355,19 @@ export declare const campaignStatusActivitySchema: z.ZodObject<{
355
355
  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")[] | null;
356
356
  }>>;
357
357
  payment: z.ZodNullable<z.ZodObject<{
358
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
358
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
359
359
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
360
360
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
361
361
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
362
362
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
363
363
  }, "strip", z.ZodTypeAny, {
364
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
364
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
365
365
  minFixedPrice: number | null;
366
366
  maxFixedPrice: number | null;
367
367
  minHourlyRate: number | null;
368
368
  maxHourlyRate: number | null;
369
369
  }, {
370
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
370
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
371
371
  minFixedPrice: number | null;
372
372
  maxFixedPrice: number | null;
373
373
  minHourlyRate: number | null;
@@ -469,7 +469,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<{
469
469
  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")[] | null;
470
470
  } | null;
471
471
  payment: {
472
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
472
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
473
473
  minFixedPrice: number | null;
474
474
  maxFixedPrice: number | null;
475
475
  minHourlyRate: number | null;
@@ -519,7 +519,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<{
519
519
  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")[] | null;
520
520
  } | null;
521
521
  payment: {
522
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
522
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
523
523
  minFixedPrice: number | null;
524
524
  maxFixedPrice: number | null;
525
525
  minHourlyRate: number | null;
@@ -568,7 +568,6 @@ export declare const campaignStatusActivitySchema: z.ZodObject<{
568
568
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
569
569
  webhookUrl: z.ZodNullable<z.ZodString>;
570
570
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
571
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
572
571
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
573
572
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
574
573
  expenses: z.ZodObject<{
@@ -1170,19 +1169,19 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<{
1170
1169
  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")[] | null;
1171
1170
  }>>;
1172
1171
  payment: z.ZodNullable<z.ZodObject<{
1173
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
1172
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
1174
1173
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
1175
1174
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
1176
1175
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
1177
1176
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
1178
1177
  }, "strip", z.ZodTypeAny, {
1179
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1178
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1180
1179
  minFixedPrice: number | null;
1181
1180
  maxFixedPrice: number | null;
1182
1181
  minHourlyRate: number | null;
1183
1182
  maxHourlyRate: number | null;
1184
1183
  }, {
1185
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1184
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1186
1185
  minFixedPrice: number | null;
1187
1186
  maxFixedPrice: number | null;
1188
1187
  minHourlyRate: number | null;
@@ -1284,7 +1283,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<{
1284
1283
  excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting")[] | null;
1285
1284
  } | null;
1286
1285
  payment: {
1287
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1286
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1288
1287
  minFixedPrice: number | null;
1289
1288
  maxFixedPrice: number | null;
1290
1289
  minHourlyRate: number | null;
@@ -1334,7 +1333,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<{
1334
1333
  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")[] | null;
1335
1334
  } | null;
1336
1335
  payment: {
1337
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1336
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1338
1337
  minFixedPrice: number | null;
1339
1338
  maxFixedPrice: number | null;
1340
1339
  minHourlyRate: number | null;
@@ -1383,7 +1382,6 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<{
1383
1382
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1384
1383
  webhookUrl: z.ZodNullable<z.ZodString>;
1385
1384
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
1386
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1387
1385
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1388
1386
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
1389
1387
  expenses: z.ZodObject<{
@@ -1997,19 +1995,19 @@ export declare const leadStatusActivitySchema: z.ZodObject<{
1997
1995
  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")[] | null;
1998
1996
  }>>;
1999
1997
  payment: z.ZodNullable<z.ZodObject<{
2000
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
1998
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
2001
1999
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
2002
2000
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
2003
2001
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
2004
2002
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
2005
2003
  }, "strip", z.ZodTypeAny, {
2006
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2004
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2007
2005
  minFixedPrice: number | null;
2008
2006
  maxFixedPrice: number | null;
2009
2007
  minHourlyRate: number | null;
2010
2008
  maxHourlyRate: number | null;
2011
2009
  }, {
2012
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2010
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2013
2011
  minFixedPrice: number | null;
2014
2012
  maxFixedPrice: number | null;
2015
2013
  minHourlyRate: number | null;
@@ -2111,7 +2109,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<{
2111
2109
  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")[] | null;
2112
2110
  } | null;
2113
2111
  payment: {
2114
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2112
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2115
2113
  minFixedPrice: number | null;
2116
2114
  maxFixedPrice: number | null;
2117
2115
  minHourlyRate: number | null;
@@ -2161,7 +2159,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<{
2161
2159
  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")[] | null;
2162
2160
  } | null;
2163
2161
  payment: {
2164
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2162
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2165
2163
  minFixedPrice: number | null;
2166
2164
  maxFixedPrice: number | null;
2167
2165
  minHourlyRate: number | null;
@@ -2210,7 +2208,6 @@ export declare const leadStatusActivitySchema: z.ZodObject<{
2210
2208
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2211
2209
  webhookUrl: z.ZodNullable<z.ZodString>;
2212
2210
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
2213
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2214
2211
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2215
2212
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
2216
2213
  expenses: z.ZodObject<{
@@ -2823,19 +2820,19 @@ export declare const proposalSentActivitySchema: z.ZodObject<{
2823
2820
  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")[] | null;
2824
2821
  }>>;
2825
2822
  payment: z.ZodNullable<z.ZodObject<{
2826
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
2823
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
2827
2824
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
2828
2825
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
2829
2826
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
2830
2827
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
2831
2828
  }, "strip", z.ZodTypeAny, {
2832
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2829
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2833
2830
  minFixedPrice: number | null;
2834
2831
  maxFixedPrice: number | null;
2835
2832
  minHourlyRate: number | null;
2836
2833
  maxHourlyRate: number | null;
2837
2834
  }, {
2838
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2835
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2839
2836
  minFixedPrice: number | null;
2840
2837
  maxFixedPrice: number | null;
2841
2838
  minHourlyRate: number | null;
@@ -2937,7 +2934,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<{
2937
2934
  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")[] | null;
2938
2935
  } | null;
2939
2936
  payment: {
2940
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2937
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2941
2938
  minFixedPrice: number | null;
2942
2939
  maxFixedPrice: number | null;
2943
2940
  minHourlyRate: number | null;
@@ -2987,7 +2984,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<{
2987
2984
  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")[] | null;
2988
2985
  } | null;
2989
2986
  payment: {
2990
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
2987
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
2991
2988
  minFixedPrice: number | null;
2992
2989
  maxFixedPrice: number | null;
2993
2990
  minHourlyRate: number | null;
@@ -3036,7 +3033,6 @@ export declare const proposalSentActivitySchema: z.ZodObject<{
3036
3033
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3037
3034
  webhookUrl: z.ZodNullable<z.ZodString>;
3038
3035
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
3039
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3040
3036
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3041
3037
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
3042
3038
  expenses: z.ZodObject<{
@@ -3315,19 +3311,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3315
3311
  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")[] | null;
3316
3312
  }>>;
3317
3313
  payment: z.ZodNullable<z.ZodObject<{
3318
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
3314
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
3319
3315
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
3320
3316
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
3321
3317
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
3322
3318
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
3323
3319
  }, "strip", z.ZodTypeAny, {
3324
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
3320
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
3325
3321
  minFixedPrice: number | null;
3326
3322
  maxFixedPrice: number | null;
3327
3323
  minHourlyRate: number | null;
3328
3324
  maxHourlyRate: number | null;
3329
3325
  }, {
3330
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
3326
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
3331
3327
  minFixedPrice: number | null;
3332
3328
  maxFixedPrice: number | null;
3333
3329
  minHourlyRate: number | null;
@@ -3429,7 +3425,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3429
3425
  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")[] | null;
3430
3426
  } | null;
3431
3427
  payment: {
3432
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
3428
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
3433
3429
  minFixedPrice: number | null;
3434
3430
  maxFixedPrice: number | null;
3435
3431
  minHourlyRate: number | null;
@@ -3479,7 +3475,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3479
3475
  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")[] | null;
3480
3476
  } | null;
3481
3477
  payment: {
3482
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
3478
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
3483
3479
  minFixedPrice: number | null;
3484
3480
  maxFixedPrice: number | null;
3485
3481
  minHourlyRate: number | null;
@@ -3528,7 +3524,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3528
3524
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3529
3525
  webhookUrl: z.ZodNullable<z.ZodString>;
3530
3526
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
3531
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3532
3527
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3533
3528
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
3534
3529
  expenses: z.ZodObject<{
@@ -4129,19 +4124,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4129
4124
  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")[] | null;
4130
4125
  }>>;
4131
4126
  payment: z.ZodNullable<z.ZodObject<{
4132
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
4127
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
4133
4128
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
4134
4129
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
4135
4130
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
4136
4131
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
4137
4132
  }, "strip", z.ZodTypeAny, {
4138
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
4133
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
4139
4134
  minFixedPrice: number | null;
4140
4135
  maxFixedPrice: number | null;
4141
4136
  minHourlyRate: number | null;
4142
4137
  maxHourlyRate: number | null;
4143
4138
  }, {
4144
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
4139
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
4145
4140
  minFixedPrice: number | null;
4146
4141
  maxFixedPrice: number | null;
4147
4142
  minHourlyRate: number | null;
@@ -4243,7 +4238,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4243
4238
  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")[] | null;
4244
4239
  } | null;
4245
4240
  payment: {
4246
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
4241
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
4247
4242
  minFixedPrice: number | null;
4248
4243
  maxFixedPrice: number | null;
4249
4244
  minHourlyRate: number | null;
@@ -4293,7 +4288,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4293
4288
  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")[] | null;
4294
4289
  } | null;
4295
4290
  payment: {
4296
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
4291
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
4297
4292
  minFixedPrice: number | null;
4298
4293
  maxFixedPrice: number | null;
4299
4294
  minHourlyRate: number | null;
@@ -4342,7 +4337,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4342
4337
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4343
4338
  webhookUrl: z.ZodNullable<z.ZodString>;
4344
4339
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
4345
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4346
4340
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4347
4341
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
4348
4342
  expenses: z.ZodObject<{
@@ -4955,19 +4949,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4955
4949
  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")[] | null;
4956
4950
  }>>;
4957
4951
  payment: z.ZodNullable<z.ZodObject<{
4958
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
4952
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
4959
4953
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
4960
4954
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
4961
4955
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
4962
4956
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
4963
4957
  }, "strip", z.ZodTypeAny, {
4964
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
4958
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
4965
4959
  minFixedPrice: number | null;
4966
4960
  maxFixedPrice: number | null;
4967
4961
  minHourlyRate: number | null;
4968
4962
  maxHourlyRate: number | null;
4969
4963
  }, {
4970
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
4964
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
4971
4965
  minFixedPrice: number | null;
4972
4966
  maxFixedPrice: number | null;
4973
4967
  minHourlyRate: number | null;
@@ -5069,7 +5063,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5069
5063
  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")[] | null;
5070
5064
  } | null;
5071
5065
  payment: {
5072
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
5066
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
5073
5067
  minFixedPrice: number | null;
5074
5068
  maxFixedPrice: number | null;
5075
5069
  minHourlyRate: number | null;
@@ -5119,7 +5113,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5119
5113
  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")[] | null;
5120
5114
  } | null;
5121
5115
  payment: {
5122
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
5116
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
5123
5117
  minFixedPrice: number | null;
5124
5118
  maxFixedPrice: number | null;
5125
5119
  minHourlyRate: number | null;
@@ -5168,7 +5162,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5168
5162
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5169
5163
  webhookUrl: z.ZodNullable<z.ZodString>;
5170
5164
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
5171
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5172
5165
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5173
5166
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
5174
5167
  expenses: z.ZodObject<{
@@ -5780,19 +5773,19 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5780
5773
  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")[] | null;
5781
5774
  }>>;
5782
5775
  payment: z.ZodNullable<z.ZodObject<{
5783
- paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
5776
+ paymentType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
5784
5777
  minFixedPrice: z.ZodNullable<z.ZodNumber>;
5785
5778
  maxFixedPrice: z.ZodNullable<z.ZodNumber>;
5786
5779
  minHourlyRate: z.ZodNullable<z.ZodNumber>;
5787
5780
  maxHourlyRate: z.ZodNullable<z.ZodNumber>;
5788
5781
  }, "strip", z.ZodTypeAny, {
5789
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
5782
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
5790
5783
  minFixedPrice: number | null;
5791
5784
  maxFixedPrice: number | null;
5792
5785
  minHourlyRate: number | null;
5793
5786
  maxHourlyRate: number | null;
5794
5787
  }, {
5795
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
5788
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
5796
5789
  minFixedPrice: number | null;
5797
5790
  maxFixedPrice: number | null;
5798
5791
  minHourlyRate: number | null;
@@ -5894,7 +5887,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5894
5887
  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")[] | null;
5895
5888
  } | null;
5896
5889
  payment: {
5897
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
5890
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
5898
5891
  minFixedPrice: number | null;
5899
5892
  maxFixedPrice: number | null;
5900
5893
  minHourlyRate: number | null;
@@ -5944,7 +5937,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5944
5937
  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")[] | null;
5945
5938
  } | null;
5946
5939
  payment: {
5947
- paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
5940
+ paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
5948
5941
  minFixedPrice: number | null;
5949
5942
  maxFixedPrice: number | null;
5950
5943
  minHourlyRate: number | null;
@@ -5993,7 +5986,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5993
5986
  minimumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5994
5987
  webhookUrl: z.ZodNullable<z.ZodString>;
5995
5988
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
5996
- suitabilityThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5997
5989
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5998
5990
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
5999
5991
  expenses: z.ZodObject<{
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.campaignActivitySchema = exports.campaignAnalyticsResponseSchema = exports.campaignAnalyticsStatsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const lead_1 = require("../lead");
6
+ exports.campaignAnalyticsStatsSchema = zod_1.z.object({
7
+ jobsAnalyzed: zod_1.z.number(),
8
+ totalStats: zod_1.z.object({
9
+ contacted: zod_1.z.number(),
10
+ viewed: zod_1.z.number(),
11
+ replied: zod_1.z.number(),
12
+ negotiations: zod_1.z.number(),
13
+ won: zod_1.z.number(),
14
+ }),
15
+ statsByDate: zod_1.z.array(zod_1.z.object({
16
+ label: zod_1.z.string(),
17
+ contacted: zod_1.z.number(),
18
+ viewed: zod_1.z.number(),
19
+ replied: zod_1.z.number(),
20
+ negotiations: zod_1.z.number(),
21
+ won: zod_1.z.number(),
22
+ })),
23
+ });
24
+ exports.campaignAnalyticsResponseSchema = zod_1.z.object({
25
+ jobsAnalyzed: zod_1.z.number(),
26
+ contacted: zod_1.z.number(),
27
+ viewed: zod_1.z.number(),
28
+ replied: zod_1.z.number(),
29
+ negotiations: zod_1.z.number(),
30
+ won: zod_1.z.number(),
31
+ });
32
+ exports.campaignActivitySchema = zod_1.z.object({
33
+ createdAt: zod_1.z.number(),
34
+ status: lead_1.leadStatusSchema,
35
+ job: lead_1.upworkJobSchema.pick({
36
+ id: true,
37
+ title: true,
38
+ datetime: true,
39
+ jobUrl: true,
40
+ }),
41
+ });
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.campaignExpensesSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.campaignExpensesSchema = zod_1.z.object({
6
+ biddingAmount: zod_1.z.number().default(0),
7
+ boostingAmount: zod_1.z.number().default(0),
8
+ boosted: zod_1.z.number().default(0),
9
+ });
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.campaignInsightsSchema = exports.campaignCountByStatusSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const lead_1 = require("../lead");
6
+ exports.campaignCountByStatusSchema = zod_1.z.object(Object.assign({}, Object.fromEntries(Object.values(lead_1.agentStatusSchema.enum).map((status) => [
7
+ status,
8
+ zod_1.z.object({
9
+ boosted: zod_1.z.number(),
10
+ organic: zod_1.z.number(),
11
+ total: zod_1.z.number(),
12
+ }),
13
+ ]))));
14
+ exports.campaignInsightsSchema = zod_1.z.object({
15
+ pipelineHealth: exports.campaignCountByStatusSchema,
16
+ biddingAmount: zod_1.z.number().default(0),
17
+ boostingAmount: zod_1.z.number().default(0),
18
+ boostedProposalsCount: zod_1.z.number().default(0),
19
+ totalProposalsCount: zod_1.z.number().default(0),
20
+ totalExpenses: zod_1.z.number().default(0),
21
+ suitabilityRange0to10: zod_1.z.number(),
22
+ suitabilityRange10to20: zod_1.z.number(),
23
+ suitabilityRange20to30: zod_1.z.number(),
24
+ suitabilityRange30to40: zod_1.z.number(),
25
+ suitabilityRange40to50: zod_1.z.number(),
26
+ suitabilityRange50to60: zod_1.z.number(),
27
+ suitabilityRange60to70: zod_1.z.number(),
28
+ suitabilityRange70to80: zod_1.z.number(),
29
+ suitabilityRange80to90: zod_1.z.number(),
30
+ suitabilityRange90to100: zod_1.z.number(),
31
+ });