lancer-shared 1.2.39 → 1.2.41

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 (246) hide show
  1. package/dist/bundle.cjs.js +3 -3
  2. package/dist/schemas/agent/index.d.ts +10 -20
  3. package/dist/schemas/campaign/campaign-analytics.d.ts +48 -40
  4. package/dist/schemas/campaign/campaign.d.ts +0 -18
  5. package/dist/schemas/logger/log-event.d.ts +5 -5
  6. package/dist/schemas/organization/index.d.ts +4 -0
  7. package/dist/schemas/organization/onboarding.d.ts +3 -3
  8. package/dist/schemas/scraper/scrape-payload.d.ts +24 -24
  9. package/package.json +1 -1
  10. package/dist/constants/account-status.d.ts +0 -3
  11. package/dist/constants/account-status.js +0 -17
  12. package/dist/constants/collections.d.ts +0 -13
  13. package/dist/constants/collections.js +0 -16
  14. package/dist/constants/common-questions.js +0 -60
  15. package/dist/constants/index.js +0 -40
  16. package/dist/constants/job-filter-options.js +0 -268
  17. package/dist/constants/job-status.js +0 -26
  18. package/dist/constants/mappings/countryMapping.js +0 -122
  19. package/dist/constants/mappings/regionMapping.js +0 -242
  20. package/dist/constants/organization.d.ts +0 -2
  21. package/dist/constants/proxies.d.ts +0 -4
  22. package/dist/constants/routes.js +0 -114
  23. package/dist/constants/upwork-accounts.js +0 -21
  24. package/dist/constants/upwork-filters.d.ts +0 -5
  25. package/dist/constants/upwork-filters.js +0 -75
  26. package/dist/index.js +0 -20
  27. package/dist/schemas/account/account-status.js +0 -11
  28. package/dist/schemas/account/bidder-account.js +0 -37
  29. package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +0 -5
  30. package/dist/schemas/account/index.js +0 -19
  31. package/dist/schemas/account/manager-account.d.ts +0 -116
  32. package/dist/schemas/account/manager-account.js +0 -38
  33. package/dist/schemas/account/scraper-account.js +0 -37
  34. package/dist/schemas/ai/ai-config.d.ts +0 -36
  35. package/dist/schemas/ai/ai-config.js +0 -12
  36. package/dist/schemas/ai/index.d.ts +0 -3
  37. package/dist/schemas/ai/index.js +0 -19
  38. package/dist/schemas/ai/proposal.d.ts +0 -82
  39. package/dist/schemas/ai/proposal.js +0 -16
  40. package/dist/schemas/ai/suitability.d.ts +0 -37
  41. package/dist/schemas/ai/suitability.js +0 -17
  42. package/dist/schemas/ai-config/ai-config.d.ts +0 -39
  43. package/dist/schemas/ai-config/ai-config.js +0 -12
  44. package/dist/schemas/ai-config/index.d.ts +0 -1
  45. package/dist/schemas/ai-config/index.js +0 -17
  46. package/dist/schemas/bid/bid-result.js +0 -15
  47. package/dist/schemas/bid/bid-status.d.ts +0 -30
  48. package/dist/schemas/bid/bid-status.js +0 -15
  49. package/dist/schemas/bid/bid.js +0 -36
  50. package/dist/schemas/bid/exceptions/base-exception.d.ts +0 -4
  51. package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +0 -5
  52. package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +0 -5
  53. package/dist/schemas/bid/index.js +0 -18
  54. package/dist/schemas/bidding/index.d.ts +0 -1
  55. package/dist/schemas/bidding/index.js +0 -17
  56. package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
  57. package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
  58. package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
  59. package/dist/schemas/bidding/proposal-dto.js +0 -18
  60. package/dist/schemas/campaign/campaign-ai-metrics.js +0 -9
  61. package/dist/schemas/campaign/campaign-analytics.js +0 -41
  62. package/dist/schemas/campaign/campaign-expenses.js +0 -9
  63. package/dist/schemas/campaign/campaign-insights.js +0 -31
  64. package/dist/schemas/campaign/campaign-integrations.d.ts +0 -82
  65. package/dist/schemas/campaign/campaign-integrations.js +0 -16
  66. package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
  67. package/dist/schemas/campaign/campaign-job-count.js +0 -6
  68. package/dist/schemas/campaign/campaign.js +0 -44
  69. package/dist/schemas/campaign/index.js +0 -23
  70. package/dist/schemas/chat-message/chat-message.d.ts +0 -31
  71. package/dist/schemas/chat-message/chat-message.js +0 -13
  72. package/dist/schemas/chat-message/index.d.ts +0 -1
  73. package/dist/schemas/chat-message/index.js +0 -17
  74. package/dist/schemas/config/agency-config.d.ts +0 -17
  75. package/dist/schemas/config/agency-config.js +0 -10
  76. package/dist/schemas/config/index.d.ts +0 -1
  77. package/dist/schemas/config/index.js +0 -17
  78. package/dist/schemas/index.js +0 -32
  79. package/dist/schemas/job/index.js +0 -19
  80. package/dist/schemas/job/job-details.d.ts +0 -335
  81. package/dist/schemas/job/job-details.js +0 -29
  82. package/dist/schemas/job/job-note.d.ts +0 -83
  83. package/dist/schemas/job/job-note.js +0 -30
  84. package/dist/schemas/job/job-pipeline.d.ts +0 -74
  85. package/dist/schemas/job/job-pipeline.js +0 -29
  86. package/dist/schemas/job/job-status.d.ts +0 -3
  87. package/dist/schemas/job/job-status.js +0 -27
  88. package/dist/schemas/job/job-suitability.d.ts +0 -12
  89. package/dist/schemas/job/job-suitability.js +0 -13
  90. package/dist/schemas/job/job.d.ts +0 -1160
  91. package/dist/schemas/job/job.js +0 -90
  92. package/dist/schemas/job/pipeline-job.d.ts +0 -608
  93. package/dist/schemas/job/pipeline-job.js +0 -43
  94. package/dist/schemas/job/upwork-job.d.ts +0 -334
  95. package/dist/schemas/job/upwork-job.js +0 -60
  96. package/dist/schemas/job-filters/index.d.ts +0 -1
  97. package/dist/schemas/job-filters/index.js +0 -17
  98. package/dist/schemas/job-filters/job-filters.d.ts +0 -241
  99. package/dist/schemas/job-filters/job-filters.js +0 -87
  100. package/dist/schemas/knowledge-object/index.d.ts +0 -1
  101. package/dist/schemas/knowledge-object/index.js +0 -17
  102. package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
  103. package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
  104. package/dist/schemas/lead/index.js +0 -19
  105. package/dist/schemas/lead/lead-note.d.ts +0 -83
  106. package/dist/schemas/lead/lead-note.js +0 -30
  107. package/dist/schemas/lead/lead-status.js +0 -26
  108. package/dist/schemas/lead/lead.d.ts +0 -1897
  109. package/dist/schemas/lead/lead.js +0 -143
  110. package/dist/schemas/lead/nuxt.d.ts +0 -1664
  111. package/dist/schemas/logger/index.js +0 -17
  112. package/dist/schemas/logger/log-event.js +0 -66
  113. package/dist/schemas/organization/index.js +0 -17
  114. package/dist/schemas/organization/organization.d.ts +0 -70
  115. package/dist/schemas/organization/organization.js +0 -19
  116. package/dist/schemas/proxy/index.js +0 -17
  117. package/dist/schemas/proxy/proxy.js +0 -23
  118. package/dist/schemas/saved-search/index.js +0 -12
  119. package/dist/schemas/scraper/index.js +0 -18
  120. package/dist/schemas/scraper/scrape-payload.js +0 -16
  121. package/dist/schemas/scraper/scrape-response.d.ts +0 -345
  122. package/dist/schemas/scraper/scrape-response.js +0 -9
  123. package/dist/schemas/scraper/scrape-result.js +0 -23
  124. package/dist/schemas/shared.js +0 -16
  125. package/dist/schemas/time-filter/index.js +0 -9
  126. package/dist/schemas/upwork-account/index.d.ts +0 -3
  127. package/dist/schemas/upwork-account/index.js +0 -19
  128. package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
  129. package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
  130. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
  131. package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
  132. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
  133. package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
  134. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
  135. package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
  136. package/dist/schemas/user/index.js +0 -55
  137. package/dist/types/account/account-status.d.ts +0 -3
  138. package/dist/types/account/account-status.js +0 -2
  139. package/dist/types/account/bidder-account.d.ts +0 -7
  140. package/dist/types/account/bidder-account.js +0 -2
  141. package/dist/types/account/index.d.ts +0 -3
  142. package/dist/types/account/index.js +0 -19
  143. package/dist/types/account/manager-account.d.ts +0 -7
  144. package/dist/types/account/manager-account.js +0 -2
  145. package/dist/types/account/scraper-account.d.ts +0 -5
  146. package/dist/types/account/scraper-account.js +0 -2
  147. package/dist/types/ai/ai-config.d.ts +0 -6
  148. package/dist/types/ai/ai-config.js +0 -2
  149. package/dist/types/ai/index.d.ts +0 -3
  150. package/dist/types/ai/index.js +0 -19
  151. package/dist/types/ai/proposal.d.ts +0 -10
  152. package/dist/types/ai/proposal.js +0 -2
  153. package/dist/types/ai/suitability.d.ts +0 -6
  154. package/dist/types/ai/suitability.js +0 -2
  155. package/dist/types/ai-config/ai-config.d.ts +0 -6
  156. package/dist/types/ai-config/ai-config.js +0 -2
  157. package/dist/types/ai-config/index.d.ts +0 -1
  158. package/dist/types/ai-config/index.js +0 -17
  159. package/dist/types/bid/bid-result.d.ts +0 -5
  160. package/dist/types/bid/bid-result.js +0 -2
  161. package/dist/types/bid/bid-status.d.ts +0 -5
  162. package/dist/types/bid/bid-status.js +0 -2
  163. package/dist/types/bid/bid.d.ts +0 -9
  164. package/dist/types/bid/bid.js +0 -2
  165. package/dist/types/bid/index.d.ts +0 -2
  166. package/dist/types/bid/index.js +0 -18
  167. package/dist/types/bidding/index.d.ts +0 -1
  168. package/dist/types/bidding/index.js +0 -17
  169. package/dist/types/bidding/proposal-bidding-status.d.ts +0 -3
  170. package/dist/types/bidding/proposal-bidding-status.js +0 -2
  171. package/dist/types/bidding/proposal-dto.d.ts +0 -3
  172. package/dist/types/bidding/proposal-dto.js +0 -2
  173. package/dist/types/campaign/campaign-analytics.d.ts +0 -7
  174. package/dist/types/campaign/campaign-analytics.js +0 -2
  175. package/dist/types/campaign/campaign-expenses.d.ts +0 -3
  176. package/dist/types/campaign/campaign-expenses.js +0 -2
  177. package/dist/types/campaign/campaign-insights.js +0 -2
  178. package/dist/types/campaign/campaign-integrations.d.ts +0 -6
  179. package/dist/types/campaign/campaign-integrations.js +0 -2
  180. package/dist/types/campaign/campaign-job-count.d.ts +0 -4
  181. package/dist/types/campaign/campaign-job-count.js +0 -2
  182. package/dist/types/campaign/campaign.js +0 -2
  183. package/dist/types/campaign/index.js +0 -22
  184. package/dist/types/chat-message/chat-message.d.ts +0 -4
  185. package/dist/types/chat-message/chat-message.js +0 -2
  186. package/dist/types/chat-message/index.d.ts +0 -1
  187. package/dist/types/chat-message/index.js +0 -17
  188. package/dist/types/config/agency-config.d.ts +0 -4
  189. package/dist/types/config/agency-config.js +0 -2
  190. package/dist/types/config/index.d.ts +0 -1
  191. package/dist/types/config/index.js +0 -17
  192. package/dist/types/index.d.ts +0 -15
  193. package/dist/types/index.js +0 -29
  194. package/dist/types/job/index.d.ts +0 -48
  195. package/dist/types/job/index.js +0 -19
  196. package/dist/types/job/job-details.d.ts +0 -36
  197. package/dist/types/job/job-details.js +0 -2
  198. package/dist/types/job/job-note.d.ts +0 -10
  199. package/dist/types/job/job-note.js +0 -2
  200. package/dist/types/job/job-pipeline.d.ts +0 -4
  201. package/dist/types/job/job-pipeline.js +0 -2
  202. package/dist/types/job/job-status.d.ts +0 -5
  203. package/dist/types/job/job-status.js +0 -12
  204. package/dist/types/job/job-suitability.d.ts +0 -3
  205. package/dist/types/job/job-suitability.js +0 -2
  206. package/dist/types/job/job.d.ts +0 -36
  207. package/dist/types/job/job.js +0 -2
  208. package/dist/types/job/nuxt.d.ts +0 -4
  209. package/dist/types/job-filters/index.d.ts +0 -1
  210. package/dist/types/job-filters/index.js +0 -17
  211. package/dist/types/job-filters/job-filters.d.ts +0 -4
  212. package/dist/types/job-filters/job-filters.js +0 -2
  213. package/dist/types/knowledge-object/index.d.ts +0 -1
  214. package/dist/types/knowledge-object/index.js +0 -17
  215. package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
  216. package/dist/types/knowledge-object/knowledge-object.js +0 -2
  217. package/dist/types/logger/index.d.ts +0 -1
  218. package/dist/types/logger/index.js +0 -17
  219. package/dist/types/logger/log-event.js +0 -2
  220. package/dist/types/saved-search/index.d.ts +0 -6
  221. package/dist/types/saved-search/index.js +0 -2
  222. package/dist/types/scraper/index.d.ts +0 -2
  223. package/dist/types/scraper/index.js +0 -18
  224. package/dist/types/scraper/scrape-payload.d.ts +0 -10
  225. package/dist/types/scraper/scrape-payload.js +0 -2
  226. package/dist/types/scraper/scrape-response.d.ts +0 -4
  227. package/dist/types/scraper/scrape-response.js +0 -2
  228. package/dist/types/scraper/scrape-result.d.ts +0 -8
  229. package/dist/types/scraper/scrape-result.js +0 -2
  230. package/dist/types/shared.d.ts +0 -8
  231. package/dist/types/time-filter/index.d.ts +0 -3
  232. package/dist/types/time-filter/index.js +0 -2
  233. package/dist/types/transaction/index.d.ts +0 -4
  234. package/dist/types/upwork-account/index.d.ts +0 -3
  235. package/dist/types/upwork-account/index.js +0 -19
  236. package/dist/types/upwork-account/upwork-account-status.d.ts +0 -3
  237. package/dist/types/upwork-account/upwork-account-status.js +0 -2
  238. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +0 -7
  239. package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
  240. package/dist/types/upwork-account/upwork-scraping-account.d.ts +0 -5
  241. package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
  242. package/dist/types/usage/index.d.ts +0 -6
  243. package/dist/types/user/index.d.ts +0 -15
  244. package/dist/types/user/index.js +0 -2
  245. package/dist/utils/index.js +0 -17
  246. package/dist/utils/try-catch.js +0 -25
@@ -290,13 +290,13 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
290
290
  leadId: z.ZodString;
291
291
  userId: z.ZodString;
292
292
  metadata: z.ZodOptional<z.ZodObject<{
293
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>;
293
+ status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>;
294
294
  proposalId: z.ZodNullable<z.ZodString>;
295
295
  }, "strip", z.ZodTypeAny, {
296
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
296
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
297
297
  proposalId: string | null;
298
298
  }, {
299
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
299
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
300
300
  proposalId: string | null;
301
301
  }>>;
302
302
  reason: z.ZodOptional<z.ZodString>;
@@ -307,7 +307,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
307
307
  leadId: string;
308
308
  reason?: string | undefined;
309
309
  metadata?: {
310
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
310
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
311
311
  proposalId: string | null;
312
312
  } | undefined;
313
313
  }, {
@@ -317,7 +317,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
317
317
  leadId: string;
318
318
  reason?: string | undefined;
319
319
  metadata?: {
320
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
320
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
321
321
  proposalId: string | null;
322
322
  } | undefined;
323
323
  }>;
@@ -178,6 +178,7 @@ export declare const organizationSchema: z.ZodObject<{
178
178
  };
179
179
  savedCard: boolean;
180
180
  }>>;
181
+ lastBidTime: z.ZodNullable<z.ZodNumber>;
181
182
  createdAt: z.ZodNumber;
182
183
  updatedAt: z.ZodNumber;
183
184
  }, "strip", z.ZodTypeAny, {
@@ -222,6 +223,7 @@ export declare const organizationSchema: z.ZodObject<{
222
223
  };
223
224
  savedCard: boolean;
224
225
  } | null;
226
+ lastBidTime: number | null;
225
227
  createdAt: number;
226
228
  updatedAt: number;
227
229
  }, {
@@ -266,6 +268,7 @@ export declare const organizationSchema: z.ZodObject<{
266
268
  };
267
269
  savedCard: boolean;
268
270
  } | null;
271
+ lastBidTime: number | null;
269
272
  createdAt: number;
270
273
  updatedAt: number;
271
274
  }>;
@@ -515,6 +518,7 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
515
518
  };
516
519
  savedCard: boolean;
517
520
  }>>;
521
+ lastBidTime: z.ZodNullable<z.ZodNumber>;
518
522
  createdAt: z.ZodNumber;
519
523
  updatedAt: z.ZodNumber;
520
524
  }, "type" | "name" | "tierId">, "strip", z.ZodTypeAny, {
@@ -3,19 +3,19 @@ export declare const onboardingProgressSchema: z.ZodObject<{
3
3
  profileSetup: z.ZodBoolean;
4
4
  campaignCreated: z.ZodBoolean;
5
5
  filtersAdded: z.ZodBoolean;
6
- rulesConfigured: z.ZodBoolean;
7
6
  automationEnabled: z.ZodBoolean;
7
+ startCampaign: z.ZodBoolean;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  profileSetup: boolean;
10
10
  campaignCreated: boolean;
11
11
  filtersAdded: boolean;
12
- rulesConfigured: boolean;
13
12
  automationEnabled: boolean;
13
+ startCampaign: boolean;
14
14
  }, {
15
15
  profileSetup: boolean;
16
16
  campaignCreated: boolean;
17
17
  filtersAdded: boolean;
18
- rulesConfigured: boolean;
19
18
  automationEnabled: boolean;
19
+ startCampaign: boolean;
20
20
  }>;
21
21
  export type OnboardingProgress = z.infer<typeof onboardingProgressSchema>;
@@ -131,19 +131,19 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
131
131
  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;
132
132
  }>>;
133
133
  payment: import("zod").ZodNullable<import("zod").ZodObject<{
134
- paymentType: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["Unspecified", "Hourly", "Fixed-price"]>, "many">>;
134
+ paymentType: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["Fixed-price", "Hourly", "Unspecified"]>, "many">>;
135
135
  minFixedPrice: import("zod").ZodNullable<import("zod").ZodNumber>;
136
136
  maxFixedPrice: import("zod").ZodNullable<import("zod").ZodNumber>;
137
137
  minHourlyRate: import("zod").ZodNullable<import("zod").ZodNumber>;
138
138
  maxHourlyRate: import("zod").ZodNullable<import("zod").ZodNumber>;
139
139
  }, "strip", import("zod").ZodTypeAny, {
140
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
140
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
141
141
  minFixedPrice: number | null;
142
142
  maxFixedPrice: number | null;
143
143
  minHourlyRate: number | null;
144
144
  maxHourlyRate: number | null;
145
145
  }, {
146
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
146
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
147
147
  minFixedPrice: number | null;
148
148
  maxFixedPrice: number | null;
149
149
  minHourlyRate: number | null;
@@ -245,7 +245,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
245
245
  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;
246
246
  } | null;
247
247
  payment: {
248
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
248
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
249
249
  minFixedPrice: number | null;
250
250
  maxFixedPrice: number | null;
251
251
  minHourlyRate: number | null;
@@ -295,7 +295,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
295
295
  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;
296
296
  } | null;
297
297
  payment: {
298
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
298
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
299
299
  minFixedPrice: number | null;
300
300
  maxFixedPrice: number | null;
301
301
  minHourlyRate: number | null;
@@ -344,8 +344,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
344
344
  minimumBoost: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
345
345
  webhookUrl: import("zod").ZodNullable<import("zod").ZodString>;
346
346
  monthlyBudget: import("zod").ZodNullable<import("zod").ZodNumber>;
347
+ suitabilityThreshold: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
347
348
  boostingThreshold: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
348
- leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, import("zod").ZodNumber>>;
349
+ leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>, import("zod").ZodNumber>>;
349
350
  expenses: import("zod").ZodObject<{
350
351
  biddingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
351
352
  boostingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -393,7 +394,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
393
394
  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;
394
395
  } | null;
395
396
  payment: {
396
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
397
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
397
398
  minFixedPrice: number | null;
398
399
  maxFixedPrice: number | null;
399
400
  minHourlyRate: number | null;
@@ -442,8 +443,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
442
443
  minimumBoost: number | null;
443
444
  webhookUrl: string | null;
444
445
  monthlyBudget: number | null;
446
+ suitabilityThreshold: number | null;
445
447
  boostingThreshold: number | null;
446
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
448
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost", number>> | null;
447
449
  expenses: {
448
450
  biddingAmount: number;
449
451
  boostingAmount: number;
@@ -473,7 +475,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
473
475
  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;
474
476
  } | null;
475
477
  payment: {
476
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
478
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
477
479
  minFixedPrice: number | null;
478
480
  maxFixedPrice: number | null;
479
481
  minHourlyRate: number | null;
@@ -519,7 +521,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
519
521
  automatedBidding: boolean | null;
520
522
  webhookUrl: string | null;
521
523
  monthlyBudget: number | null;
522
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
524
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost", number>> | null;
523
525
  expenses: {
524
526
  biddingAmount?: number | undefined;
525
527
  boostingAmount?: number | undefined;
@@ -537,6 +539,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
537
539
  boostingEnabled?: boolean | null | undefined;
538
540
  maximumBoost?: number | null | undefined;
539
541
  minimumBoost?: number | null | undefined;
542
+ suitabilityThreshold?: number | null | undefined;
540
543
  boostingThreshold?: number | null | undefined;
541
544
  }>;
542
545
  organization: import("zod").ZodObject<{
@@ -1107,13 +1110,12 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1107
1110
  answer: string;
1108
1111
  }>, "many">>;
1109
1112
  agentStatus: import("zod").ZodNullable<import("zod").ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1110
- leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
1113
+ leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>>;
1111
1114
  biddingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
1112
1115
  boosted: import("zod").ZodNullable<import("zod").ZodBoolean>;
1113
1116
  boostingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
1114
1117
  biddingTaskScheduled: import("zod").ZodNullable<import("zod").ZodBoolean>;
1115
1118
  scheduledBiddingTime: import("zod").ZodNullable<import("zod").ZodNumber>;
1116
- wonAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
1117
1119
  }>, "processed">, "strip", import("zod").ZodTypeAny, {
1118
1120
  uid: string | null;
1119
1121
  title: string | null;
@@ -1217,7 +1219,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1217
1219
  answer: string;
1218
1220
  }[] | null;
1219
1221
  agentStatus: "proposalFailed" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1220
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1222
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1221
1223
  biddingTaskScheduled: boolean | null;
1222
1224
  scheduledBiddingTime: number | null;
1223
1225
  activity?: Partial<Record<"4h" | "24h", {
@@ -1241,7 +1243,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1241
1243
  unansweredInvites: number;
1242
1244
  } | null | undefined;
1243
1245
  proposalId?: string | undefined;
1244
- wonAmount?: number | undefined;
1245
1246
  }, {
1246
1247
  uid: string | null;
1247
1248
  title: string | null;
@@ -1345,7 +1346,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1345
1346
  answer: string;
1346
1347
  }[] | null;
1347
1348
  agentStatus: "proposalFailed" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1348
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1349
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1349
1350
  biddingTaskScheduled: boolean | null;
1350
1351
  scheduledBiddingTime: number | null;
1351
1352
  activity?: Partial<Record<"4h" | "24h", {
@@ -1369,7 +1370,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1369
1370
  unansweredInvites: number;
1370
1371
  } | null | undefined;
1371
1372
  proposalId?: string | undefined;
1372
- wonAmount?: number | undefined;
1373
1373
  }>;
1374
1374
  bidder: import("zod").ZodObject<{
1375
1375
  id: import("zod").ZodString;
@@ -1464,7 +1464,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1464
1464
  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;
1465
1465
  } | null;
1466
1466
  payment: {
1467
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1467
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1468
1468
  minFixedPrice: number | null;
1469
1469
  maxFixedPrice: number | null;
1470
1470
  minHourlyRate: number | null;
@@ -1513,8 +1513,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1513
1513
  minimumBoost: number | null;
1514
1514
  webhookUrl: string | null;
1515
1515
  monthlyBudget: number | null;
1516
+ suitabilityThreshold: number | null;
1516
1517
  boostingThreshold: number | null;
1517
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
1518
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost", number>> | null;
1518
1519
  expenses: {
1519
1520
  biddingAmount: number;
1520
1521
  boostingAmount: number;
@@ -1678,7 +1679,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1678
1679
  answer: string;
1679
1680
  }[] | null;
1680
1681
  agentStatus: "proposalFailed" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1681
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1682
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1682
1683
  biddingTaskScheduled: boolean | null;
1683
1684
  scheduledBiddingTime: number | null;
1684
1685
  activity?: Partial<Record<"4h" | "24h", {
@@ -1702,7 +1703,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1702
1703
  unansweredInvites: number;
1703
1704
  } | null | undefined;
1704
1705
  proposalId?: string | undefined;
1705
- wonAmount?: number | undefined;
1706
1706
  };
1707
1707
  bidder: {
1708
1708
  id: string;
@@ -1745,7 +1745,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1745
1745
  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;
1746
1746
  } | null;
1747
1747
  payment: {
1748
- paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
1748
+ paymentType: ("Unspecified" | "Fixed-price" | "Hourly")[] | null;
1749
1749
  minFixedPrice: number | null;
1750
1750
  maxFixedPrice: number | null;
1751
1751
  minHourlyRate: number | null;
@@ -1791,7 +1791,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1791
1791
  automatedBidding: boolean | null;
1792
1792
  webhookUrl: string | null;
1793
1793
  monthlyBudget: number | null;
1794
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
1794
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost", number>> | null;
1795
1795
  expenses: {
1796
1796
  biddingAmount?: number | undefined;
1797
1797
  boostingAmount?: number | undefined;
@@ -1809,6 +1809,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1809
1809
  boostingEnabled?: boolean | null | undefined;
1810
1810
  maximumBoost?: number | null | undefined;
1811
1811
  minimumBoost?: number | null | undefined;
1812
+ suitabilityThreshold?: number | null | undefined;
1812
1813
  boostingThreshold?: number | null | undefined;
1813
1814
  };
1814
1815
  organization: {
@@ -1959,7 +1960,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1959
1960
  answer: string;
1960
1961
  }[] | null;
1961
1962
  agentStatus: "proposalFailed" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1962
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1963
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1963
1964
  biddingTaskScheduled: boolean | null;
1964
1965
  scheduledBiddingTime: number | null;
1965
1966
  activity?: Partial<Record<"4h" | "24h", {
@@ -1983,7 +1984,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1983
1984
  unansweredInvites: number;
1984
1985
  } | null | undefined;
1985
1986
  proposalId?: string | undefined;
1986
- wonAmount?: number | undefined;
1987
1987
  };
1988
1988
  bidder: {
1989
1989
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.39",
3
+ "version": "1.2.41",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",
@@ -1,3 +0,0 @@
1
- import { AccountStatus } from '../types/account/account-status';
2
- export declare const accountStatusOrder: AccountStatus[];
3
- export declare const accountStatusDisplayMap: Record<AccountStatus, string>;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.accountStatusDisplayMap = exports.accountStatusOrder = void 0;
4
- exports.accountStatusOrder = [
5
- 'verification_required',
6
- 'shadow_banned',
7
- 'healthy',
8
- 'banned',
9
- 'suspended',
10
- ];
11
- exports.accountStatusDisplayMap = {
12
- verification_required: 'Verification Required',
13
- shadow_banned: 'Shadow Banned',
14
- healthy: 'Healthy',
15
- banned: 'Banned',
16
- suspended: 'Suspended',
17
- };
@@ -1,13 +0,0 @@
1
- export declare const COLLECTIONS: {
2
- readonly USERS: "users";
3
- readonly SETTINGS: "settings";
4
- readonly CAMPAIGNS: "campaigns";
5
- readonly LEADS: "leads";
6
- readonly EVENTS: "events";
7
- readonly SCRAPER_ACCOUNTS: "scrapers";
8
- readonly BIDDER_ACCOUNTS: "bidders";
9
- readonly CAMPAIGN_ACTIVITIES: (userId: string, campaignId: string) => string;
10
- readonly ORGANIZATIONS: "organizations";
11
- readonly PROXIES: "proxies";
12
- readonly TRANSACTIONS: "transactions";
13
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COLLECTIONS = void 0;
4
- // Base collection names
5
- exports.COLLECTIONS = {
6
- USERS: 'users',
7
- SETTINGS: 'settings',
8
- CAMPAIGNS: 'campaigns',
9
- LEADS: 'leads',
10
- EVENTS: 'events',
11
- SCRAPER_ACCOUNTS: 'scrapers',
12
- BIDDER_ACCOUNTS: 'bidders',
13
- CAMPAIGN_ACTIVITIES: (userId, campaignId) => `users/${userId}/campaigns/${campaignId}/activities`,
14
- ORGANIZATIONS: 'organizations',
15
- PROXIES: 'proxies',
16
- };
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonQuestions = void 0;
4
- exports.commonQuestions = [
5
- {
6
- id: 'similar_experience',
7
- question: 'Describe your recent experience with similar projects',
8
- placeholder: 'ex: [Answer the question based on case studies, if not certain ask to discuss in DMs]',
9
- },
10
- {
11
- id: 'profile_links',
12
- question: 'Include a link to your GitHub profile and/or website',
13
- placeholder: 'ex: [https://github.com/yourusername or https://yourwebsite.com]',
14
- },
15
- {
16
- id: 'frameworks',
17
- question: 'What frameworks have you worked with?',
18
- placeholder: 'ex: [NextJS, React, TailwindCSS, etc...]',
19
- },
20
- {
21
- id: 'testing_approach',
22
- question: 'Describe your approach to testing and improving QA',
23
- placeholder: 'ex: [We are using test-driven development, and we are using Jest for testing]',
24
- },
25
- {
26
- id: 'certifications',
27
- question: 'Please list any certifications related to this project',
28
- placeholder: 'ex: [Certification in React, Certification in NextJS, etc...]',
29
- },
30
- {
31
- id: 'similar_project',
32
- question: 'What past project or job have you had that is most like this one and why?',
33
- placeholder: "ex: [Describe a similar project and explain the key similarities... If you can't answer based on the case studies, ask to discuss in DMs]",
34
- },
35
- {
36
- id: 'project_fit',
37
- question: 'Why do you think you are a good fit for this particular project?',
38
- placeholder: 'ex: [Explain how your skills and experience match the project requirements...]',
39
- },
40
- {
41
- id: 'job_questions',
42
- question: 'Do you have any questions about the job description?',
43
- placeholder: 'ex: [Ask for any clarifications needed about the role or requirements...]',
44
- },
45
- {
46
- id: 'project_questions',
47
- question: 'What questions do you have about the project?',
48
- placeholder: 'ex: [Ask about project scope, timeline, team structure...]',
49
- },
50
- {
51
- id: 'project_suggestions',
52
- question: 'Do you have suggestions to make this project run successfully?',
53
- placeholder: 'ex: [Ask to discuss in DMs]',
54
- },
55
- {
56
- id: 'company_info',
57
- question: 'What is your company website URL? . . . Company size?',
58
- placeholder: 'ex: [https://company.com | Number of employees: ...]',
59
- },
60
- ];
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.regionMapping = exports.countryMapping = exports.paths = void 0;
21
- exports.paths = {
22
- auth: {
23
- register: `auth/register`,
24
- },
25
- users: {
26
- root: 'users',
27
- details: (id) => `users/${id}`,
28
- },
29
- };
30
- __exportStar(require("./job-filter-options"), exports);
31
- var countryMapping_1 = require("./mappings/countryMapping");
32
- Object.defineProperty(exports, "countryMapping", { enumerable: true, get: function () { return __importDefault(countryMapping_1).default; } });
33
- var regionMapping_1 = require("./mappings/regionMapping");
34
- Object.defineProperty(exports, "regionMapping", { enumerable: true, get: function () { return __importDefault(regionMapping_1).default; } });
35
- __exportStar(require("./job-filter-options"), exports);
36
- __exportStar(require("./common-questions"), exports);
37
- __exportStar(require("./job-status"), exports);
38
- __exportStar(require("./routes"), exports);
39
- __exportStar(require("./collections"), exports);
40
- __exportStar(require("./upwork-accounts"), exports);