lancer-shared 1.2.47 → 1.2.49

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 (250) hide show
  1. package/dist/bundle.cjs.js +31 -43
  2. package/dist/constants/index.d.ts +8 -9
  3. package/dist/constants/routes.d.ts +8 -22
  4. package/dist/schemas/agent/index.d.ts +10 -10
  5. package/dist/schemas/campaign/campaign-analytics.d.ts +26 -26
  6. package/dist/schemas/campaign/campaign-webhooks.d.ts +21 -3
  7. package/dist/schemas/campaign/campaign.d.ts +9 -9
  8. package/dist/schemas/lead/index.d.ts +13 -13
  9. package/dist/schemas/lead/lead-status.d.ts +4 -4
  10. package/dist/schemas/logger/log-event.d.ts +5 -5
  11. package/dist/schemas/organization/index.d.ts +0 -23
  12. package/dist/schemas/scraper/scrape-payload.d.ts +10 -15
  13. package/package.json +1 -1
  14. package/dist/constants/account-status.d.ts +0 -3
  15. package/dist/constants/account-status.js +0 -17
  16. package/dist/constants/collections.d.ts +0 -13
  17. package/dist/constants/collections.js +0 -16
  18. package/dist/constants/common-questions.js +0 -60
  19. package/dist/constants/index.js +0 -40
  20. package/dist/constants/job-filter-options.js +0 -268
  21. package/dist/constants/job-status.js +0 -26
  22. package/dist/constants/mappings/countryMapping.js +0 -122
  23. package/dist/constants/mappings/regionMapping.js +0 -242
  24. package/dist/constants/organization.d.ts +0 -2
  25. package/dist/constants/proxies.d.ts +0 -4
  26. package/dist/constants/routes.js +0 -114
  27. package/dist/constants/upwork-accounts.js +0 -21
  28. package/dist/constants/upwork-filters.d.ts +0 -5
  29. package/dist/constants/upwork-filters.js +0 -75
  30. package/dist/index.js +0 -20
  31. package/dist/schemas/account/account-status.js +0 -11
  32. package/dist/schemas/account/bidder-account.js +0 -37
  33. package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +0 -5
  34. package/dist/schemas/account/index.js +0 -19
  35. package/dist/schemas/account/manager-account.d.ts +0 -116
  36. package/dist/schemas/account/manager-account.js +0 -38
  37. package/dist/schemas/account/scraper-account.js +0 -37
  38. package/dist/schemas/ai/ai-config.d.ts +0 -36
  39. package/dist/schemas/ai/ai-config.js +0 -12
  40. package/dist/schemas/ai/index.d.ts +0 -3
  41. package/dist/schemas/ai/index.js +0 -19
  42. package/dist/schemas/ai/proposal.d.ts +0 -82
  43. package/dist/schemas/ai/proposal.js +0 -16
  44. package/dist/schemas/ai/suitability.d.ts +0 -37
  45. package/dist/schemas/ai/suitability.js +0 -17
  46. package/dist/schemas/ai-config/ai-config.d.ts +0 -39
  47. package/dist/schemas/ai-config/ai-config.js +0 -12
  48. package/dist/schemas/ai-config/index.d.ts +0 -1
  49. package/dist/schemas/ai-config/index.js +0 -17
  50. package/dist/schemas/bid/bid-result.js +0 -15
  51. package/dist/schemas/bid/bid-status.d.ts +0 -30
  52. package/dist/schemas/bid/bid-status.js +0 -15
  53. package/dist/schemas/bid/bid.js +0 -36
  54. package/dist/schemas/bid/exceptions/base-exception.d.ts +0 -4
  55. package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +0 -5
  56. package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +0 -5
  57. package/dist/schemas/bid/index.js +0 -18
  58. package/dist/schemas/bidding/index.d.ts +0 -1
  59. package/dist/schemas/bidding/index.js +0 -17
  60. package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
  61. package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
  62. package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
  63. package/dist/schemas/bidding/proposal-dto.js +0 -18
  64. package/dist/schemas/campaign/campaign-ai-metrics.js +0 -9
  65. package/dist/schemas/campaign/campaign-analytics.js +0 -41
  66. package/dist/schemas/campaign/campaign-expenses.js +0 -9
  67. package/dist/schemas/campaign/campaign-insights.js +0 -31
  68. package/dist/schemas/campaign/campaign-integrations.d.ts +0 -82
  69. package/dist/schemas/campaign/campaign-integrations.js +0 -16
  70. package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
  71. package/dist/schemas/campaign/campaign-job-count.js +0 -6
  72. package/dist/schemas/campaign/campaign.js +0 -44
  73. package/dist/schemas/campaign/index.js +0 -23
  74. package/dist/schemas/chat-message/chat-message.d.ts +0 -31
  75. package/dist/schemas/chat-message/chat-message.js +0 -13
  76. package/dist/schemas/chat-message/index.d.ts +0 -1
  77. package/dist/schemas/chat-message/index.js +0 -17
  78. package/dist/schemas/config/agency-config.d.ts +0 -17
  79. package/dist/schemas/config/agency-config.js +0 -10
  80. package/dist/schemas/config/index.d.ts +0 -1
  81. package/dist/schemas/config/index.js +0 -17
  82. package/dist/schemas/index.js +0 -32
  83. package/dist/schemas/job/index.js +0 -19
  84. package/dist/schemas/job/job-details.d.ts +0 -335
  85. package/dist/schemas/job/job-details.js +0 -29
  86. package/dist/schemas/job/job-note.d.ts +0 -83
  87. package/dist/schemas/job/job-note.js +0 -30
  88. package/dist/schemas/job/job-pipeline.d.ts +0 -74
  89. package/dist/schemas/job/job-pipeline.js +0 -29
  90. package/dist/schemas/job/job-status.d.ts +0 -3
  91. package/dist/schemas/job/job-status.js +0 -27
  92. package/dist/schemas/job/job-suitability.d.ts +0 -12
  93. package/dist/schemas/job/job-suitability.js +0 -13
  94. package/dist/schemas/job/job.d.ts +0 -1160
  95. package/dist/schemas/job/job.js +0 -90
  96. package/dist/schemas/job/pipeline-job.d.ts +0 -608
  97. package/dist/schemas/job/pipeline-job.js +0 -43
  98. package/dist/schemas/job/upwork-job.d.ts +0 -334
  99. package/dist/schemas/job/upwork-job.js +0 -60
  100. package/dist/schemas/job-filters/index.d.ts +0 -1
  101. package/dist/schemas/job-filters/index.js +0 -17
  102. package/dist/schemas/job-filters/job-filters.d.ts +0 -241
  103. package/dist/schemas/job-filters/job-filters.js +0 -87
  104. package/dist/schemas/knowledge-object/index.d.ts +0 -1
  105. package/dist/schemas/knowledge-object/index.js +0 -17
  106. package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
  107. package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
  108. package/dist/schemas/lead/index.js +0 -19
  109. package/dist/schemas/lead/lead-note.d.ts +0 -83
  110. package/dist/schemas/lead/lead-note.js +0 -30
  111. package/dist/schemas/lead/lead-status.js +0 -26
  112. package/dist/schemas/lead/lead.d.ts +0 -1897
  113. package/dist/schemas/lead/lead.js +0 -143
  114. package/dist/schemas/lead/nuxt.d.ts +0 -1664
  115. package/dist/schemas/logger/index.js +0 -17
  116. package/dist/schemas/logger/log-event.js +0 -66
  117. package/dist/schemas/organization/index.js +0 -17
  118. package/dist/schemas/organization/organization.d.ts +0 -70
  119. package/dist/schemas/organization/organization.js +0 -19
  120. package/dist/schemas/proxy/index.js +0 -17
  121. package/dist/schemas/proxy/proxy.js +0 -23
  122. package/dist/schemas/saved-search/index.js +0 -12
  123. package/dist/schemas/scraper/index.js +0 -18
  124. package/dist/schemas/scraper/scrape-payload.js +0 -16
  125. package/dist/schemas/scraper/scrape-response.d.ts +0 -345
  126. package/dist/schemas/scraper/scrape-response.js +0 -9
  127. package/dist/schemas/scraper/scrape-result.js +0 -23
  128. package/dist/schemas/shared.js +0 -16
  129. package/dist/schemas/time-filter/index.js +0 -9
  130. package/dist/schemas/upwork-account/index.d.ts +0 -3
  131. package/dist/schemas/upwork-account/index.js +0 -19
  132. package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
  133. package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
  134. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
  135. package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
  136. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
  137. package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
  138. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
  139. package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
  140. package/dist/schemas/user/index.js +0 -55
  141. package/dist/types/account/account-status.d.ts +0 -3
  142. package/dist/types/account/account-status.js +0 -2
  143. package/dist/types/account/bidder-account.d.ts +0 -7
  144. package/dist/types/account/bidder-account.js +0 -2
  145. package/dist/types/account/index.d.ts +0 -3
  146. package/dist/types/account/index.js +0 -19
  147. package/dist/types/account/manager-account.d.ts +0 -7
  148. package/dist/types/account/manager-account.js +0 -2
  149. package/dist/types/account/scraper-account.d.ts +0 -5
  150. package/dist/types/account/scraper-account.js +0 -2
  151. package/dist/types/ai/ai-config.d.ts +0 -6
  152. package/dist/types/ai/ai-config.js +0 -2
  153. package/dist/types/ai/index.d.ts +0 -3
  154. package/dist/types/ai/index.js +0 -19
  155. package/dist/types/ai/proposal.d.ts +0 -10
  156. package/dist/types/ai/proposal.js +0 -2
  157. package/dist/types/ai/suitability.d.ts +0 -6
  158. package/dist/types/ai/suitability.js +0 -2
  159. package/dist/types/ai-config/ai-config.d.ts +0 -6
  160. package/dist/types/ai-config/ai-config.js +0 -2
  161. package/dist/types/ai-config/index.d.ts +0 -1
  162. package/dist/types/ai-config/index.js +0 -17
  163. package/dist/types/bid/bid-result.d.ts +0 -5
  164. package/dist/types/bid/bid-result.js +0 -2
  165. package/dist/types/bid/bid-status.d.ts +0 -5
  166. package/dist/types/bid/bid-status.js +0 -2
  167. package/dist/types/bid/bid.d.ts +0 -9
  168. package/dist/types/bid/bid.js +0 -2
  169. package/dist/types/bid/index.d.ts +0 -2
  170. package/dist/types/bid/index.js +0 -18
  171. package/dist/types/bidding/index.d.ts +0 -1
  172. package/dist/types/bidding/index.js +0 -17
  173. package/dist/types/bidding/proposal-bidding-status.d.ts +0 -3
  174. package/dist/types/bidding/proposal-bidding-status.js +0 -2
  175. package/dist/types/bidding/proposal-dto.d.ts +0 -3
  176. package/dist/types/bidding/proposal-dto.js +0 -2
  177. package/dist/types/campaign/campaign-analytics.d.ts +0 -7
  178. package/dist/types/campaign/campaign-analytics.js +0 -2
  179. package/dist/types/campaign/campaign-expenses.d.ts +0 -3
  180. package/dist/types/campaign/campaign-expenses.js +0 -2
  181. package/dist/types/campaign/campaign-insights.js +0 -2
  182. package/dist/types/campaign/campaign-integrations.d.ts +0 -6
  183. package/dist/types/campaign/campaign-integrations.js +0 -2
  184. package/dist/types/campaign/campaign-job-count.d.ts +0 -4
  185. package/dist/types/campaign/campaign-job-count.js +0 -2
  186. package/dist/types/campaign/campaign.js +0 -2
  187. package/dist/types/campaign/index.js +0 -22
  188. package/dist/types/chat-message/chat-message.d.ts +0 -4
  189. package/dist/types/chat-message/chat-message.js +0 -2
  190. package/dist/types/chat-message/index.d.ts +0 -1
  191. package/dist/types/chat-message/index.js +0 -17
  192. package/dist/types/config/agency-config.d.ts +0 -4
  193. package/dist/types/config/agency-config.js +0 -2
  194. package/dist/types/config/index.d.ts +0 -1
  195. package/dist/types/config/index.js +0 -17
  196. package/dist/types/index.d.ts +0 -15
  197. package/dist/types/index.js +0 -29
  198. package/dist/types/job/index.d.ts +0 -48
  199. package/dist/types/job/index.js +0 -19
  200. package/dist/types/job/job-details.d.ts +0 -36
  201. package/dist/types/job/job-details.js +0 -2
  202. package/dist/types/job/job-note.d.ts +0 -10
  203. package/dist/types/job/job-note.js +0 -2
  204. package/dist/types/job/job-pipeline.d.ts +0 -4
  205. package/dist/types/job/job-pipeline.js +0 -2
  206. package/dist/types/job/job-status.d.ts +0 -5
  207. package/dist/types/job/job-status.js +0 -12
  208. package/dist/types/job/job-suitability.d.ts +0 -3
  209. package/dist/types/job/job-suitability.js +0 -2
  210. package/dist/types/job/job.d.ts +0 -36
  211. package/dist/types/job/job.js +0 -2
  212. package/dist/types/job/nuxt.d.ts +0 -4
  213. package/dist/types/job-filters/index.d.ts +0 -1
  214. package/dist/types/job-filters/index.js +0 -17
  215. package/dist/types/job-filters/job-filters.d.ts +0 -4
  216. package/dist/types/job-filters/job-filters.js +0 -2
  217. package/dist/types/knowledge-object/index.d.ts +0 -1
  218. package/dist/types/knowledge-object/index.js +0 -17
  219. package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
  220. package/dist/types/knowledge-object/knowledge-object.js +0 -2
  221. package/dist/types/logger/index.d.ts +0 -1
  222. package/dist/types/logger/index.js +0 -17
  223. package/dist/types/logger/log-event.js +0 -2
  224. package/dist/types/saved-search/index.d.ts +0 -6
  225. package/dist/types/saved-search/index.js +0 -2
  226. package/dist/types/scraper/index.d.ts +0 -2
  227. package/dist/types/scraper/index.js +0 -18
  228. package/dist/types/scraper/scrape-payload.d.ts +0 -10
  229. package/dist/types/scraper/scrape-payload.js +0 -2
  230. package/dist/types/scraper/scrape-response.d.ts +0 -4
  231. package/dist/types/scraper/scrape-response.js +0 -2
  232. package/dist/types/scraper/scrape-result.d.ts +0 -8
  233. package/dist/types/scraper/scrape-result.js +0 -2
  234. package/dist/types/shared.d.ts +0 -8
  235. package/dist/types/time-filter/index.d.ts +0 -3
  236. package/dist/types/time-filter/index.js +0 -2
  237. package/dist/types/transaction/index.d.ts +0 -4
  238. package/dist/types/upwork-account/index.d.ts +0 -3
  239. package/dist/types/upwork-account/index.js +0 -19
  240. package/dist/types/upwork-account/upwork-account-status.d.ts +0 -3
  241. package/dist/types/upwork-account/upwork-account-status.js +0 -2
  242. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +0 -7
  243. package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
  244. package/dist/types/upwork-account/upwork-scraping-account.d.ts +0 -5
  245. package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
  246. package/dist/types/usage/index.d.ts +0 -6
  247. package/dist/types/user/index.d.ts +0 -15
  248. package/dist/types/user/index.js +0 -2
  249. package/dist/utils/index.js +0 -17
  250. package/dist/utils/try-catch.js +0 -25
@@ -257,7 +257,7 @@ export declare const campaignSchema: z.ZodObject<{
257
257
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
258
258
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
259
259
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
260
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
260
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
261
261
  expenses: z.ZodObject<{
262
262
  biddingAmount: z.ZodDefault<z.ZodNumber>;
263
263
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -377,7 +377,7 @@ export declare const campaignSchema: z.ZodObject<{
377
377
  maximumBoost: number | null;
378
378
  monthlyBudget: number | null;
379
379
  boostingThreshold: number | null;
380
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
380
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
381
381
  expenses: {
382
382
  biddingAmount: number;
383
383
  boostingAmount: number;
@@ -458,7 +458,7 @@ export declare const campaignSchema: z.ZodObject<{
458
458
  updatedAt: number;
459
459
  confirmedBillingAt: number | null;
460
460
  monthlyBudget: number | null;
461
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
461
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
462
462
  expenses: {
463
463
  biddingAmount?: number | undefined;
464
464
  boostingAmount?: number | undefined;
@@ -722,7 +722,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
722
722
  maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
723
723
  monthlyBudget: z.ZodNullable<z.ZodNumber>;
724
724
  boostingThreshold: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
725
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>;
725
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
726
726
  expenses: z.ZodObject<{
727
727
  biddingAmount: z.ZodDefault<z.ZodNumber>;
728
728
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -839,7 +839,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
839
839
  maximumBoost: number | null;
840
840
  monthlyBudget: number | null;
841
841
  boostingThreshold: number | null;
842
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
842
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
843
843
  expenses: {
844
844
  biddingAmount: number;
845
845
  boostingAmount: number;
@@ -911,7 +911,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
911
911
  };
912
912
  confirmedBillingAt: number | null;
913
913
  monthlyBudget: number | null;
914
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
914
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
915
915
  expenses: {
916
916
  biddingAmount?: number | undefined;
917
917
  boostingAmount?: number | undefined;
@@ -1168,7 +1168,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1168
1168
  maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1169
1169
  monthlyBudget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1170
1170
  boostingThreshold: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1171
- leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, z.ZodNumber>>>;
1171
+ leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>>;
1172
1172
  expenses: z.ZodOptional<z.ZodObject<{
1173
1173
  biddingAmount: z.ZodDefault<z.ZodNumber>;
1174
1174
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1286,7 +1286,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1286
1286
  maximumBoost?: number | null | undefined;
1287
1287
  monthlyBudget?: number | null | undefined;
1288
1288
  boostingThreshold?: number | null | undefined;
1289
- leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null | undefined;
1289
+ leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null | undefined;
1290
1290
  expenses?: {
1291
1291
  biddingAmount: number;
1292
1292
  boostingAmount: number;
@@ -1368,7 +1368,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1368
1368
  maximumBoost?: number | null | undefined;
1369
1369
  monthlyBudget?: number | null | undefined;
1370
1370
  boostingThreshold?: number | null | undefined;
1371
- leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null | undefined;
1371
+ leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null | undefined;
1372
1372
  expenses?: {
1373
1373
  biddingAmount?: number | undefined;
1374
1374
  boostingAmount?: number | undefined;
@@ -326,7 +326,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
326
326
  answer: string;
327
327
  }>, "many">>;
328
328
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
329
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
329
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
330
330
  biddingAmount: z.ZodNullable<z.ZodNumber>;
331
331
  boosted: z.ZodNullable<z.ZodBoolean>;
332
332
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -433,7 +433,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
433
433
  answer: string;
434
434
  }[] | null;
435
435
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
436
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
436
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
437
437
  biddingAmount: number | null;
438
438
  boosted: boolean | null;
439
439
  boostingAmount: number | null;
@@ -561,7 +561,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
561
561
  answer: string;
562
562
  }[] | null;
563
563
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
564
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
564
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
565
565
  biddingAmount: number | null;
566
566
  boosted: boolean | null;
567
567
  boostingAmount: number | null;
@@ -906,7 +906,7 @@ export declare const leadResponseSchema: z.ZodObject<{
906
906
  answer: string;
907
907
  }>, "many">>;
908
908
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
909
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
909
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
910
910
  biddingAmount: z.ZodNullable<z.ZodNumber>;
911
911
  boosted: z.ZodNullable<z.ZodBoolean>;
912
912
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1013,7 +1013,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1013
1013
  answer: string;
1014
1014
  }[] | null;
1015
1015
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1016
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1016
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1017
1017
  biddingAmount: number | null;
1018
1018
  boosted: boolean | null;
1019
1019
  boostingAmount: number | null;
@@ -1141,7 +1141,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1141
1141
  answer: string;
1142
1142
  }[] | null;
1143
1143
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1144
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1144
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1145
1145
  biddingAmount: number | null;
1146
1146
  boosted: boolean | null;
1147
1147
  boostingAmount: number | null;
@@ -1274,7 +1274,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1274
1274
  answer: string;
1275
1275
  }[] | null;
1276
1276
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1277
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1277
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1278
1278
  biddingAmount: number | null;
1279
1279
  boosted: boolean | null;
1280
1280
  boostingAmount: number | null;
@@ -1407,7 +1407,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1407
1407
  answer: string;
1408
1408
  }[] | null;
1409
1409
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1410
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1410
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1411
1411
  biddingAmount: number | null;
1412
1412
  boosted: boolean | null;
1413
1413
  boostingAmount: number | null;
@@ -2292,7 +2292,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2292
2292
  answer: string;
2293
2293
  }>, "many">>;
2294
2294
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
2295
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
2295
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
2296
2296
  biddingAmount: z.ZodNullable<z.ZodNumber>;
2297
2297
  boosted: z.ZodNullable<z.ZodBoolean>;
2298
2298
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -2399,7 +2399,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2399
2399
  answer: string;
2400
2400
  }[] | null;
2401
2401
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
2402
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
2402
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
2403
2403
  biddingAmount: number | null;
2404
2404
  boosted: boolean | null;
2405
2405
  boostingAmount: number | null;
@@ -2527,7 +2527,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2527
2527
  answer: string;
2528
2528
  }[] | null;
2529
2529
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
2530
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
2530
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
2531
2531
  biddingAmount: number | null;
2532
2532
  boosted: boolean | null;
2533
2533
  boostingAmount: number | null;
@@ -2771,7 +2771,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
2771
2771
  answer: string;
2772
2772
  }[] | null;
2773
2773
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
2774
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
2774
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
2775
2775
  biddingAmount: number | null;
2776
2776
  boosted: boolean | null;
2777
2777
  boostingAmount: number | null;
@@ -3015,7 +3015,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
3015
3015
  answer: string;
3016
3016
  }[] | null;
3017
3017
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
3018
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
3018
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
3019
3019
  biddingAmount: number | null;
3020
3020
  boosted: boolean | null;
3021
3021
  boostingAmount: number | null;
@@ -1,11 +1,11 @@
1
1
  import { z } from "zod";
2
2
  export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
3
- export declare const leadStatusSchema: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>;
3
+ export declare const leadStatusSchema: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>;
4
4
  export declare const updateLeadStatusSchema: z.ZodObject<{
5
5
  leadId: z.ZodString;
6
6
  organizationId: z.ZodString;
7
7
  campaignId: z.ZodString;
8
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>;
8
+ status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>;
9
9
  proposalId: z.ZodOptional<z.ZodString>;
10
10
  userId: z.ZodOptional<z.ZodString>;
11
11
  wonAmount: z.ZodOptional<z.ZodNumber>;
@@ -13,7 +13,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
13
13
  leadId: string;
14
14
  organizationId: string;
15
15
  campaignId: string;
16
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
16
+ status: "leads" | "contacted" | "viewed" | "replied" | "won";
17
17
  proposalId?: string | undefined;
18
18
  userId?: string | undefined;
19
19
  wonAmount?: number | undefined;
@@ -21,7 +21,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
21
21
  leadId: string;
22
22
  organizationId: string;
23
23
  campaignId: string;
24
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
24
+ status: "leads" | "contacted" | "viewed" | "replied" | "won";
25
25
  proposalId?: string | undefined;
26
26
  userId?: string | undefined;
27
27
  wonAmount?: number | undefined;
@@ -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", "won"]>;
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" | "won";
297
297
  proposalId: string | null;
298
298
  }, {
299
- status: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost";
299
+ status: "leads" | "contacted" | "viewed" | "replied" | "won";
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" | "won";
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" | "won";
321
321
  proposalId: string | null;
322
322
  } | undefined;
323
323
  }>;
@@ -618,19 +618,6 @@ export declare const organizationSettingsSchema: z.ZodObject<{
618
618
  category: string;
619
619
  }[] | null;
620
620
  }>;
621
- notifications: z.ZodObject<{
622
- emailEnabled: z.ZodBoolean;
623
- discordWebhookUrl: z.ZodNullable<z.ZodString>;
624
- slackWebhookUrl: z.ZodNullable<z.ZodString>;
625
- }, "strip", z.ZodTypeAny, {
626
- emailEnabled: boolean;
627
- discordWebhookUrl: string | null;
628
- slackWebhookUrl: string | null;
629
- }, {
630
- emailEnabled: boolean;
631
- discordWebhookUrl: string | null;
632
- slackWebhookUrl: string | null;
633
- }>;
634
621
  }, "strip", z.ZodTypeAny, {
635
622
  aiConfig: {
636
623
  questionRules: {
@@ -639,11 +626,6 @@ export declare const organizationSettingsSchema: z.ZodObject<{
639
626
  category: string;
640
627
  }[] | null;
641
628
  };
642
- notifications: {
643
- emailEnabled: boolean;
644
- discordWebhookUrl: string | null;
645
- slackWebhookUrl: string | null;
646
- };
647
629
  }, {
648
630
  aiConfig: {
649
631
  questionRules: {
@@ -652,11 +634,6 @@ export declare const organizationSettingsSchema: z.ZodObject<{
652
634
  category: string;
653
635
  }[] | null;
654
636
  };
655
- notifications: {
656
- emailEnabled: boolean;
657
- discordWebhookUrl: string | null;
658
- slackWebhookUrl: string | null;
659
- };
660
637
  }>;
661
638
  export declare const subscribePayloadSchema: z.ZodObject<{
662
639
  planId: z.ZodString;
@@ -341,7 +341,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
341
341
  maximumBoost: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
342
342
  monthlyBudget: import("zod").ZodNullable<import("zod").ZodNumber>;
343
343
  boostingThreshold: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
344
- leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>, import("zod").ZodNumber>>;
344
+ leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
345
345
  expenses: import("zod").ZodObject<{
346
346
  biddingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
347
347
  boostingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -461,7 +461,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
461
461
  maximumBoost: number | null;
462
462
  monthlyBudget: number | null;
463
463
  boostingThreshold: number | null;
464
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
464
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
465
465
  expenses: {
466
466
  biddingAmount: number;
467
467
  boostingAmount: number;
@@ -542,7 +542,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
542
542
  updatedAt: number;
543
543
  confirmedBillingAt: number | null;
544
544
  monthlyBudget: number | null;
545
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
545
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
546
546
  expenses: {
547
547
  biddingAmount?: number | undefined;
548
548
  boostingAmount?: number | undefined;
@@ -574,7 +574,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
574
574
  name: import("zod").ZodString;
575
575
  type: import("zod").ZodEnum<["agency", "freelancer"]>;
576
576
  associatedBidders: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString, "many">>;
577
- tierId: import("zod").ZodEnum<["free", "premium"]>;
578
577
  subscription: import("zod").ZodNullable<import("zod").ZodObject<{
579
578
  planId: import("zod").ZodString;
580
579
  pendingPlanId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -742,7 +741,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
742
741
  updatedAt: number;
743
742
  active: boolean;
744
743
  associatedBidders: string[] | null;
745
- tierId: "free" | "premium";
746
744
  subscription: {
747
745
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_pending" | "payment_failed";
748
746
  planId: string;
@@ -787,7 +785,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
787
785
  updatedAt: number;
788
786
  active: boolean;
789
787
  associatedBidders: string[] | null;
790
- tierId: "free" | "premium";
791
788
  subscription: {
792
789
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_pending" | "payment_failed";
793
790
  planId: string;
@@ -1140,7 +1137,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1140
1137
  answer: string;
1141
1138
  }>, "many">>;
1142
1139
  agentStatus: import("zod").ZodNullable<import("zod").ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1143
- leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
1140
+ leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
1144
1141
  biddingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
1145
1142
  boosted: import("zod").ZodNullable<import("zod").ZodBoolean>;
1146
1143
  boostingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -1250,7 +1247,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1250
1247
  answer: string;
1251
1248
  }[] | null;
1252
1249
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1253
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1250
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1254
1251
  biddingTaskScheduled: boolean | null;
1255
1252
  scheduledBiddingTime: number | null;
1256
1253
  activity?: Partial<Record<"4h" | "24h", {
@@ -1378,7 +1375,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1378
1375
  answer: string;
1379
1376
  }[] | null;
1380
1377
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1381
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1378
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1382
1379
  biddingTaskScheduled: boolean | null;
1383
1380
  scheduledBiddingTime: number | null;
1384
1381
  activity?: Partial<Record<"4h" | "24h", {
@@ -1543,7 +1540,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1543
1540
  maximumBoost: number | null;
1544
1541
  monthlyBudget: number | null;
1545
1542
  boostingThreshold: number | null;
1546
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
1543
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
1547
1544
  expenses: {
1548
1545
  biddingAmount: number;
1549
1546
  boostingAmount: number;
@@ -1575,7 +1572,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1575
1572
  updatedAt: number;
1576
1573
  active: boolean;
1577
1574
  associatedBidders: string[] | null;
1578
- tierId: "free" | "premium";
1579
1575
  subscription: {
1580
1576
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_pending" | "payment_failed";
1581
1577
  planId: string;
@@ -1716,7 +1712,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1716
1712
  answer: string;
1717
1713
  }[] | null;
1718
1714
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1719
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1715
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
1720
1716
  biddingTaskScheduled: boolean | null;
1721
1717
  scheduledBiddingTime: number | null;
1722
1718
  activity?: Partial<Record<"4h" | "24h", {
@@ -1826,7 +1822,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1826
1822
  updatedAt: number;
1827
1823
  confirmedBillingAt: number | null;
1828
1824
  monthlyBudget: number | null;
1829
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won" | "lost", number>> | null;
1825
+ leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
1830
1826
  expenses: {
1831
1827
  biddingAmount?: number | undefined;
1832
1828
  boostingAmount?: number | undefined;
@@ -1861,7 +1857,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1861
1857
  updatedAt: number;
1862
1858
  active: boolean;
1863
1859
  associatedBidders: string[] | null;
1864
- tierId: "free" | "premium";
1865
1860
  subscription: {
1866
1861
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_pending" | "payment_failed";
1867
1862
  planId: string;
@@ -2002,7 +1997,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2002
1997
  answer: string;
2003
1998
  }[] | null;
2004
1999
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
2005
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
2000
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
2006
2001
  biddingTaskScheduled: boolean | null;
2007
2002
  scheduledBiddingTime: number | null;
2008
2003
  activity?: Partial<Record<"4h" | "24h", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.47",
3
+ "version": "1.2.49",
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);