lancer-shared 1.2.41 → 1.2.43

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 (251) hide show
  1. package/dist/bundle.cjs.js +57 -79
  2. package/dist/constants/account-status.d.ts +3 -0
  3. package/dist/constants/account-status.js +17 -0
  4. package/dist/constants/campaign-webhook-types.d.ts +2 -0
  5. package/dist/constants/collections.d.ts +13 -0
  6. package/dist/constants/collections.js +16 -0
  7. package/dist/constants/common-questions.js +60 -0
  8. package/dist/constants/index.d.ts +9 -8
  9. package/dist/constants/index.js +40 -0
  10. package/dist/constants/job-filter-options.js +268 -0
  11. package/dist/constants/job-status.js +26 -0
  12. package/dist/constants/mappings/countryMapping.js +122 -0
  13. package/dist/constants/mappings/regionMapping.js +242 -0
  14. package/dist/constants/organization.d.ts +2 -0
  15. package/dist/constants/proxies.d.ts +4 -0
  16. package/dist/constants/routes.js +114 -0
  17. package/dist/constants/upwork-accounts.js +21 -0
  18. package/dist/constants/upwork-filters.d.ts +5 -0
  19. package/dist/constants/upwork-filters.js +75 -0
  20. package/dist/index.js +20 -0
  21. package/dist/schemas/account/account-status.js +11 -0
  22. package/dist/schemas/account/bidder-account.js +37 -0
  23. package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +5 -0
  24. package/dist/schemas/account/index.js +19 -0
  25. package/dist/schemas/account/manager-account.d.ts +116 -0
  26. package/dist/schemas/account/manager-account.js +38 -0
  27. package/dist/schemas/account/scraper-account.js +37 -0
  28. package/dist/schemas/agent/index.d.ts +20 -10
  29. package/dist/schemas/ai/ai-config.d.ts +36 -0
  30. package/dist/schemas/ai/ai-config.js +12 -0
  31. package/dist/schemas/ai/index.d.ts +3 -0
  32. package/dist/schemas/ai/index.js +19 -0
  33. package/dist/schemas/ai/proposal.d.ts +82 -0
  34. package/dist/schemas/ai/proposal.js +16 -0
  35. package/dist/schemas/ai/suitability.d.ts +37 -0
  36. package/dist/schemas/ai/suitability.js +17 -0
  37. package/dist/schemas/ai-config/ai-config.d.ts +39 -0
  38. package/dist/schemas/ai-config/ai-config.js +12 -0
  39. package/dist/schemas/ai-config/index.d.ts +1 -0
  40. package/dist/schemas/ai-config/index.js +17 -0
  41. package/dist/schemas/bid/bid-result.js +15 -0
  42. package/dist/schemas/bid/bid-status.d.ts +30 -0
  43. package/dist/schemas/bid/bid-status.js +15 -0
  44. package/dist/schemas/bid/bid.js +36 -0
  45. package/dist/schemas/bid/exceptions/base-exception.d.ts +4 -0
  46. package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +5 -0
  47. package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +5 -0
  48. package/dist/schemas/bid/index.js +18 -0
  49. package/dist/schemas/bidding/index.d.ts +1 -0
  50. package/dist/schemas/bidding/index.js +17 -0
  51. package/dist/schemas/bidding/proposal-bidding-status.d.ts +26 -0
  52. package/dist/schemas/bidding/proposal-bidding-status.js +18 -0
  53. package/dist/schemas/bidding/proposal-dto.d.ts +26 -0
  54. package/dist/schemas/bidding/proposal-dto.js +18 -0
  55. package/dist/schemas/campaign/campaign-ai-metrics.js +9 -0
  56. package/dist/schemas/campaign/campaign-analytics.d.ts +2722 -2538
  57. package/dist/schemas/campaign/campaign-analytics.js +41 -0
  58. package/dist/schemas/campaign/campaign-expenses.js +9 -0
  59. package/dist/schemas/campaign/campaign-insights.js +31 -0
  60. package/dist/schemas/campaign/campaign-integrations.d.ts +82 -0
  61. package/dist/schemas/campaign/campaign-integrations.js +16 -0
  62. package/dist/schemas/campaign/campaign-job-count.d.ts +2 -0
  63. package/dist/schemas/campaign/campaign-job-count.js +6 -0
  64. package/dist/schemas/campaign/campaign-webhooks.d.ts +40 -0
  65. package/dist/schemas/campaign/campaign.d.ts +142 -34
  66. package/dist/schemas/campaign/campaign.js +44 -0
  67. package/dist/schemas/campaign/index.d.ts +1 -1
  68. package/dist/schemas/campaign/index.js +23 -0
  69. package/dist/schemas/chat-message/chat-message.d.ts +31 -0
  70. package/dist/schemas/chat-message/chat-message.js +13 -0
  71. package/dist/schemas/chat-message/index.d.ts +1 -0
  72. package/dist/schemas/chat-message/index.js +17 -0
  73. package/dist/schemas/config/agency-config.d.ts +17 -0
  74. package/dist/schemas/config/agency-config.js +10 -0
  75. package/dist/schemas/config/index.d.ts +1 -0
  76. package/dist/schemas/config/index.js +17 -0
  77. package/dist/schemas/index.js +32 -0
  78. package/dist/schemas/job/index.js +19 -0
  79. package/dist/schemas/job/job-details.d.ts +335 -0
  80. package/dist/schemas/job/job-details.js +29 -0
  81. package/dist/schemas/job/job-note.d.ts +83 -0
  82. package/dist/schemas/job/job-note.js +30 -0
  83. package/dist/schemas/job/job-pipeline.d.ts +74 -0
  84. package/dist/schemas/job/job-pipeline.js +29 -0
  85. package/dist/schemas/job/job-status.d.ts +3 -0
  86. package/dist/schemas/job/job-status.js +27 -0
  87. package/dist/schemas/job/job-suitability.d.ts +12 -0
  88. package/dist/schemas/job/job-suitability.js +13 -0
  89. package/dist/schemas/job/job.d.ts +1160 -0
  90. package/dist/schemas/job/job.js +90 -0
  91. package/dist/schemas/job/pipeline-job.d.ts +608 -0
  92. package/dist/schemas/job/pipeline-job.js +43 -0
  93. package/dist/schemas/job/upwork-job.d.ts +334 -0
  94. package/dist/schemas/job/upwork-job.js +60 -0
  95. package/dist/schemas/job-filters/index.d.ts +1 -0
  96. package/dist/schemas/job-filters/index.js +17 -0
  97. package/dist/schemas/job-filters/job-filters.d.ts +241 -0
  98. package/dist/schemas/job-filters/job-filters.js +87 -0
  99. package/dist/schemas/knowledge-object/index.d.ts +1 -0
  100. package/dist/schemas/knowledge-object/index.js +17 -0
  101. package/dist/schemas/knowledge-object/knowledge-object.d.ts +128 -0
  102. package/dist/schemas/knowledge-object/knowledge-object.js +47 -0
  103. package/dist/schemas/lead/index.js +19 -0
  104. package/dist/schemas/lead/lead-note.d.ts +83 -0
  105. package/dist/schemas/lead/lead-note.js +30 -0
  106. package/dist/schemas/lead/lead-status.js +26 -0
  107. package/dist/schemas/lead/lead.d.ts +1897 -0
  108. package/dist/schemas/lead/lead.js +143 -0
  109. package/dist/schemas/lead/nuxt.d.ts +1664 -0
  110. package/dist/schemas/logger/index.js +17 -0
  111. package/dist/schemas/logger/log-event.d.ts +5 -5
  112. package/dist/schemas/logger/log-event.js +66 -0
  113. package/dist/schemas/organization/index.js +17 -0
  114. package/dist/schemas/organization/organization.d.ts +70 -0
  115. package/dist/schemas/organization/organization.js +19 -0
  116. package/dist/schemas/proxy/index.js +17 -0
  117. package/dist/schemas/proxy/proxy.js +23 -0
  118. package/dist/schemas/saved-search/index.js +12 -0
  119. package/dist/schemas/scraper/index.js +18 -0
  120. package/dist/schemas/scraper/scrape-payload.d.ts +96 -53
  121. package/dist/schemas/scraper/scrape-payload.js +16 -0
  122. package/dist/schemas/scraper/scrape-response.d.ts +345 -0
  123. package/dist/schemas/scraper/scrape-response.js +9 -0
  124. package/dist/schemas/scraper/scrape-result.js +23 -0
  125. package/dist/schemas/shared.js +16 -0
  126. package/dist/schemas/time-filter/index.js +9 -0
  127. package/dist/schemas/upwork-account/index.d.ts +3 -0
  128. package/dist/schemas/upwork-account/index.js +19 -0
  129. package/dist/schemas/upwork-account/upwork-account-status.d.ts +2 -0
  130. package/dist/schemas/upwork-account/upwork-account-status.js +11 -0
  131. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +95 -0
  132. package/dist/schemas/upwork-account/upwork-business-manager-account.js +35 -0
  133. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +92 -0
  134. package/dist/schemas/upwork-account/upwork-scraper-account.js +31 -0
  135. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +90 -0
  136. package/dist/schemas/upwork-account/upwork-scraping-account.js +30 -0
  137. package/dist/schemas/user/index.d.ts +8 -0
  138. package/dist/schemas/user/index.js +55 -0
  139. package/dist/types/account/account-status.d.ts +3 -0
  140. package/dist/types/account/account-status.js +2 -0
  141. package/dist/types/account/bidder-account.d.ts +7 -0
  142. package/dist/types/account/bidder-account.js +2 -0
  143. package/dist/types/account/index.d.ts +3 -0
  144. package/dist/types/account/index.js +19 -0
  145. package/dist/types/account/manager-account.d.ts +7 -0
  146. package/dist/types/account/manager-account.js +2 -0
  147. package/dist/types/account/scraper-account.d.ts +5 -0
  148. package/dist/types/account/scraper-account.js +2 -0
  149. package/dist/types/ai/ai-config.d.ts +6 -0
  150. package/dist/types/ai/ai-config.js +2 -0
  151. package/dist/types/ai/index.d.ts +3 -0
  152. package/dist/types/ai/index.js +19 -0
  153. package/dist/types/ai/proposal.d.ts +10 -0
  154. package/dist/types/ai/proposal.js +2 -0
  155. package/dist/types/ai/suitability.d.ts +6 -0
  156. package/dist/types/ai/suitability.js +2 -0
  157. package/dist/types/ai-config/ai-config.d.ts +6 -0
  158. package/dist/types/ai-config/ai-config.js +2 -0
  159. package/dist/types/ai-config/index.d.ts +1 -0
  160. package/dist/types/ai-config/index.js +17 -0
  161. package/dist/types/bid/bid-result.d.ts +5 -0
  162. package/dist/types/bid/bid-result.js +2 -0
  163. package/dist/types/bid/bid-status.d.ts +5 -0
  164. package/dist/types/bid/bid-status.js +2 -0
  165. package/dist/types/bid/bid.d.ts +9 -0
  166. package/dist/types/bid/bid.js +2 -0
  167. package/dist/types/bid/index.d.ts +2 -0
  168. package/dist/types/bid/index.js +18 -0
  169. package/dist/types/bidding/index.d.ts +1 -0
  170. package/dist/types/bidding/index.js +17 -0
  171. package/dist/types/bidding/proposal-bidding-status.d.ts +3 -0
  172. package/dist/types/bidding/proposal-bidding-status.js +2 -0
  173. package/dist/types/bidding/proposal-dto.d.ts +3 -0
  174. package/dist/types/bidding/proposal-dto.js +2 -0
  175. package/dist/types/campaign/campaign-analytics.d.ts +7 -0
  176. package/dist/types/campaign/campaign-analytics.js +2 -0
  177. package/dist/types/campaign/campaign-expenses.d.ts +3 -0
  178. package/dist/types/campaign/campaign-expenses.js +2 -0
  179. package/dist/types/campaign/campaign-insights.js +2 -0
  180. package/dist/types/campaign/campaign-integrations.d.ts +6 -0
  181. package/dist/types/campaign/campaign-integrations.js +2 -0
  182. package/dist/types/campaign/campaign-job-count.d.ts +4 -0
  183. package/dist/types/campaign/campaign-job-count.js +2 -0
  184. package/dist/types/campaign/campaign.d.ts +4 -4
  185. package/dist/types/campaign/campaign.js +2 -0
  186. package/dist/types/campaign/index.d.ts +0 -1
  187. package/dist/types/campaign/index.js +22 -0
  188. package/dist/types/chat-message/chat-message.d.ts +4 -0
  189. package/dist/types/chat-message/chat-message.js +2 -0
  190. package/dist/types/chat-message/index.d.ts +1 -0
  191. package/dist/types/chat-message/index.js +17 -0
  192. package/dist/types/config/agency-config.d.ts +4 -0
  193. package/dist/types/config/agency-config.js +2 -0
  194. package/dist/types/config/index.d.ts +1 -0
  195. package/dist/types/config/index.js +17 -0
  196. package/dist/types/index.d.ts +15 -0
  197. package/dist/types/index.js +29 -0
  198. package/dist/types/job/index.d.ts +48 -0
  199. package/dist/types/job/index.js +19 -0
  200. package/dist/types/job/job-details.d.ts +36 -0
  201. package/dist/types/job/job-details.js +2 -0
  202. package/dist/types/job/job-note.d.ts +10 -0
  203. package/dist/types/job/job-note.js +2 -0
  204. package/dist/types/job/job-pipeline.d.ts +4 -0
  205. package/dist/types/job/job-pipeline.js +2 -0
  206. package/dist/types/job/job-status.d.ts +5 -0
  207. package/dist/types/job/job-status.js +12 -0
  208. package/dist/types/job/job-suitability.d.ts +3 -0
  209. package/dist/types/job/job-suitability.js +2 -0
  210. package/dist/types/job/job.d.ts +36 -0
  211. package/dist/types/job/job.js +2 -0
  212. package/dist/types/job/nuxt.d.ts +4 -0
  213. package/dist/types/job-filters/index.d.ts +1 -0
  214. package/dist/types/job-filters/index.js +17 -0
  215. package/dist/types/job-filters/job-filters.d.ts +4 -0
  216. package/dist/types/job-filters/job-filters.js +2 -0
  217. package/dist/types/knowledge-object/index.d.ts +1 -0
  218. package/dist/types/knowledge-object/index.js +17 -0
  219. package/dist/types/knowledge-object/knowledge-object.d.ts +4 -0
  220. package/dist/types/knowledge-object/knowledge-object.js +2 -0
  221. package/dist/types/logger/index.d.ts +1 -0
  222. package/dist/types/logger/index.js +17 -0
  223. package/dist/types/logger/log-event.js +2 -0
  224. package/dist/types/saved-search/index.d.ts +6 -0
  225. package/dist/types/saved-search/index.js +2 -0
  226. package/dist/types/scraper/index.d.ts +2 -0
  227. package/dist/types/scraper/index.js +18 -0
  228. package/dist/types/scraper/scrape-payload.d.ts +10 -0
  229. package/dist/types/scraper/scrape-payload.js +2 -0
  230. package/dist/types/scraper/scrape-response.d.ts +4 -0
  231. package/dist/types/scraper/scrape-response.js +2 -0
  232. package/dist/types/scraper/scrape-result.d.ts +8 -0
  233. package/dist/types/scraper/scrape-result.js +2 -0
  234. package/dist/types/shared.d.ts +8 -0
  235. package/dist/types/time-filter/index.d.ts +3 -0
  236. package/dist/types/time-filter/index.js +2 -0
  237. package/dist/types/transaction/index.d.ts +4 -0
  238. package/dist/types/upwork-account/index.d.ts +3 -0
  239. package/dist/types/upwork-account/index.js +19 -0
  240. package/dist/types/upwork-account/upwork-account-status.d.ts +3 -0
  241. package/dist/types/upwork-account/upwork-account-status.js +2 -0
  242. package/dist/types/upwork-account/upwork-business-manager-account.d.ts +7 -0
  243. package/dist/types/upwork-account/upwork-business-manager-account.js +2 -0
  244. package/dist/types/upwork-account/upwork-scraping-account.d.ts +5 -0
  245. package/dist/types/upwork-account/upwork-scraping-account.js +2 -0
  246. package/dist/types/usage/index.d.ts +6 -0
  247. package/dist/types/user/index.d.ts +15 -0
  248. package/dist/types/user/index.js +2 -0
  249. package/dist/utils/index.js +17 -0
  250. package/dist/utils/try-catch.js +25 -0
  251. package/package.json +1 -1
@@ -318,12 +318,13 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
318
318
  answer: string;
319
319
  }>, "many">>;
320
320
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
321
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>>;
321
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
322
322
  biddingAmount: z.ZodNullable<z.ZodNumber>;
323
323
  boosted: z.ZodNullable<z.ZodBoolean>;
324
324
  boostingAmount: z.ZodNullable<z.ZodNumber>;
325
325
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
326
326
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
327
+ wonAmount: z.ZodOptional<z.ZodNumber>;
327
328
  }>, "processed">, "strip", z.ZodTypeAny, {
328
329
  id: string | null;
329
330
  uid: string | null;
@@ -424,7 +425,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
424
425
  answer: string;
425
426
  }[] | null;
426
427
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
427
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
428
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
428
429
  biddingAmount: number | null;
429
430
  boosted: boolean | null;
430
431
  boostingAmount: number | null;
@@ -451,6 +452,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
451
452
  unansweredInvites: number;
452
453
  } | null | undefined;
453
454
  proposalId?: string | undefined;
455
+ wonAmount?: number | undefined;
454
456
  }, {
455
457
  id: string | null;
456
458
  uid: string | null;
@@ -551,7 +553,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
551
553
  answer: string;
552
554
  }[] | null;
553
555
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
554
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
556
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
555
557
  biddingAmount: number | null;
556
558
  boosted: boolean | null;
557
559
  boostingAmount: number | null;
@@ -578,6 +580,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
578
580
  unansweredInvites: number;
579
581
  } | null | undefined;
580
582
  proposalId?: string | undefined;
583
+ wonAmount?: number | undefined;
581
584
  }>;
582
585
  }, "strip", z.ZodTypeAny, {
583
586
  userId: string;
@@ -683,7 +686,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
683
686
  answer: string;
684
687
  }[] | null;
685
688
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
686
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
689
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
687
690
  biddingAmount: number | null;
688
691
  boosted: boolean | null;
689
692
  boostingAmount: number | null;
@@ -710,6 +713,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
710
713
  unansweredInvites: number;
711
714
  } | null | undefined;
712
715
  proposalId?: string | undefined;
716
+ wonAmount?: number | undefined;
713
717
  };
714
718
  }, {
715
719
  userId: string;
@@ -815,7 +819,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
815
819
  answer: string;
816
820
  }[] | null;
817
821
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
818
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
822
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
819
823
  biddingAmount: number | null;
820
824
  boosted: boolean | null;
821
825
  boostingAmount: number | null;
@@ -842,6 +846,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
842
846
  unansweredInvites: number;
843
847
  } | null | undefined;
844
848
  proposalId?: string | undefined;
849
+ wonAmount?: number | undefined;
845
850
  };
846
851
  }>;
847
852
  export type AgentTaskRequest = z.infer<typeof agentTaskRequestSchema>;
@@ -1204,12 +1209,13 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1204
1209
  answer: string;
1205
1210
  }>, "many">>;
1206
1211
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1207
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>>;
1212
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won", "lost"]>>;
1208
1213
  biddingAmount: z.ZodNullable<z.ZodNumber>;
1209
1214
  boosted: z.ZodNullable<z.ZodBoolean>;
1210
1215
  boostingAmount: z.ZodNullable<z.ZodNumber>;
1211
1216
  biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
1212
1217
  scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
1218
+ wonAmount: z.ZodOptional<z.ZodNumber>;
1213
1219
  }>, "processed">, "strip", z.ZodTypeAny, {
1214
1220
  id: string | null;
1215
1221
  uid: string | null;
@@ -1310,7 +1316,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1310
1316
  answer: string;
1311
1317
  }[] | null;
1312
1318
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1313
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1319
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1314
1320
  biddingAmount: number | null;
1315
1321
  boosted: boolean | null;
1316
1322
  boostingAmount: number | null;
@@ -1337,6 +1343,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1337
1343
  unansweredInvites: number;
1338
1344
  } | null | undefined;
1339
1345
  proposalId?: string | undefined;
1346
+ wonAmount?: number | undefined;
1340
1347
  }, {
1341
1348
  id: string | null;
1342
1349
  uid: string | null;
@@ -1437,7 +1444,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1437
1444
  answer: string;
1438
1445
  }[] | null;
1439
1446
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1440
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1447
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1441
1448
  biddingAmount: number | null;
1442
1449
  boosted: boolean | null;
1443
1450
  boostingAmount: number | null;
@@ -1464,6 +1471,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1464
1471
  unansweredInvites: number;
1465
1472
  } | null | undefined;
1466
1473
  proposalId?: string | undefined;
1474
+ wonAmount?: number | undefined;
1467
1475
  }>;
1468
1476
  }, "strip", z.ZodTypeAny, {
1469
1477
  organizationId: string;
@@ -1567,7 +1575,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1567
1575
  answer: string;
1568
1576
  }[] | null;
1569
1577
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1570
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1578
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1571
1579
  biddingAmount: number | null;
1572
1580
  boosted: boolean | null;
1573
1581
  boostingAmount: number | null;
@@ -1594,6 +1602,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1594
1602
  unansweredInvites: number;
1595
1603
  } | null | undefined;
1596
1604
  proposalId?: string | undefined;
1605
+ wonAmount?: number | undefined;
1597
1606
  };
1598
1607
  modelSuitability: string;
1599
1608
  modelProposal: string;
@@ -1711,7 +1720,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1711
1720
  answer: string;
1712
1721
  }[] | null;
1713
1722
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1714
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1723
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | "lost" | null;
1715
1724
  biddingAmount: number | null;
1716
1725
  boosted: boolean | null;
1717
1726
  boostingAmount: number | null;
@@ -1738,6 +1747,7 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
1738
1747
  unansweredInvites: number;
1739
1748
  } | null | undefined;
1740
1749
  proposalId?: string | undefined;
1750
+ wonAmount?: number | undefined;
1741
1751
  };
1742
1752
  modelSuitability: string;
1743
1753
  modelProposal: string;
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+ export declare const aiConfigSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ suitabilityPrompt: z.ZodNullable<z.ZodString>;
5
+ proposalPrompt: z.ZodNullable<z.ZodString>;
6
+ questionProposalPrompt: z.ZodNullable<z.ZodString>;
7
+ knowledgeBase: z.ZodNullable<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ suitabilityPrompt: string | null;
11
+ proposalPrompt: string | null;
12
+ questionProposalPrompt: string | null;
13
+ knowledgeBase: string | null;
14
+ }, {
15
+ id: string;
16
+ suitabilityPrompt: string | null;
17
+ proposalPrompt: string | null;
18
+ questionProposalPrompt: string | null;
19
+ knowledgeBase: string | null;
20
+ }>;
21
+ export declare const updateAiConfigSchema: z.ZodObject<{
22
+ suitabilityPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ proposalPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ questionProposalPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ knowledgeBase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ suitabilityPrompt?: string | null | undefined;
28
+ proposalPrompt?: string | null | undefined;
29
+ questionProposalPrompt?: string | null | undefined;
30
+ knowledgeBase?: string | null | undefined;
31
+ }, {
32
+ suitabilityPrompt?: string | null | undefined;
33
+ proposalPrompt?: string | null | undefined;
34
+ questionProposalPrompt?: string | null | undefined;
35
+ knowledgeBase?: string | null | undefined;
36
+ }>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateAiConfigSchema = exports.aiConfigSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.aiConfigSchema = zod_1.z.object({
6
+ id: zod_1.z.string(),
7
+ suitabilityPrompt: zod_1.z.string().nullable(),
8
+ proposalPrompt: zod_1.z.string().nullable(),
9
+ questionProposalPrompt: zod_1.z.string().nullable(),
10
+ knowledgeBase: zod_1.z.string().nullable(),
11
+ });
12
+ exports.updateAiConfigSchema = exports.aiConfigSchema.omit({ id: true }).partial();
@@ -0,0 +1,3 @@
1
+ export * from './ai-config';
2
+ export * from './proposal';
3
+ export * from './suitability';
@@ -0,0 +1,19 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ai-config"), exports);
18
+ __exportStar(require("./proposal"), exports);
19
+ __exportStar(require("./suitability"), exports);
@@ -0,0 +1,82 @@
1
+ import { z } from "zod";
2
+ export declare const questionAnswerPairSchema: z.ZodObject<{
3
+ question: z.ZodString;
4
+ answer: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ question: string;
7
+ answer: string;
8
+ }, {
9
+ question: string;
10
+ answer: string;
11
+ }>;
12
+ export declare const proposalSchema: z.ZodObject<{
13
+ coverLetter: z.ZodString;
14
+ questionAnswerPairs: z.ZodArray<z.ZodObject<{
15
+ question: z.ZodString;
16
+ answer: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ question: string;
19
+ answer: string;
20
+ }, {
21
+ question: string;
22
+ answer: string;
23
+ }>, "many">;
24
+ }, "strip", z.ZodTypeAny, {
25
+ coverLetter: string;
26
+ questionAnswerPairs: {
27
+ question: string;
28
+ answer: string;
29
+ }[];
30
+ }, {
31
+ coverLetter: string;
32
+ questionAnswerPairs: {
33
+ question: string;
34
+ answer: string;
35
+ }[];
36
+ }>;
37
+ export declare const proposalResponseSchema: z.ZodArray<z.ZodObject<{
38
+ modelName: z.ZodString;
39
+ proposal: z.ZodObject<{
40
+ coverLetter: z.ZodString;
41
+ questionAnswerPairs: z.ZodArray<z.ZodObject<{
42
+ question: z.ZodString;
43
+ answer: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ question: string;
46
+ answer: string;
47
+ }, {
48
+ question: string;
49
+ answer: string;
50
+ }>, "many">;
51
+ }, "strip", z.ZodTypeAny, {
52
+ coverLetter: string;
53
+ questionAnswerPairs: {
54
+ question: string;
55
+ answer: string;
56
+ }[];
57
+ }, {
58
+ coverLetter: string;
59
+ questionAnswerPairs: {
60
+ question: string;
61
+ answer: string;
62
+ }[];
63
+ }>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ modelName: string;
66
+ proposal: {
67
+ coverLetter: string;
68
+ questionAnswerPairs: {
69
+ question: string;
70
+ answer: string;
71
+ }[];
72
+ };
73
+ }, {
74
+ modelName: string;
75
+ proposal: {
76
+ coverLetter: string;
77
+ questionAnswerPairs: {
78
+ question: string;
79
+ answer: string;
80
+ }[];
81
+ };
82
+ }>, "many">;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.proposalResponseSchema = exports.proposalSchema = exports.questionAnswerPairSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.questionAnswerPairSchema = zod_1.z.object({
6
+ question: zod_1.z.string(),
7
+ answer: zod_1.z.string(),
8
+ });
9
+ exports.proposalSchema = zod_1.z.object({
10
+ coverLetter: zod_1.z.string(),
11
+ questionAnswerPairs: zod_1.z.array(exports.questionAnswerPairSchema),
12
+ });
13
+ exports.proposalResponseSchema = zod_1.z.array(zod_1.z.object({
14
+ modelName: zod_1.z.string(),
15
+ proposal: exports.proposalSchema,
16
+ }));
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ export declare const suitabilitySchema: z.ZodObject<{
3
+ rating: z.ZodString;
4
+ reason: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ rating: string;
7
+ reason: string;
8
+ }, {
9
+ rating: string;
10
+ reason: string;
11
+ }>;
12
+ export declare const suitabilityStatusSchema: z.ZodEnum<["completed", "pending", "failed"]>;
13
+ export declare const suitabilityResponseSchema: z.ZodArray<z.ZodObject<{
14
+ modelName: z.ZodString;
15
+ suitability: z.ZodObject<{
16
+ rating: z.ZodString;
17
+ reason: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ rating: string;
20
+ reason: string;
21
+ }, {
22
+ rating: string;
23
+ reason: string;
24
+ }>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ modelName: string;
27
+ suitability: {
28
+ rating: string;
29
+ reason: string;
30
+ };
31
+ }, {
32
+ modelName: string;
33
+ suitability: {
34
+ rating: string;
35
+ reason: string;
36
+ };
37
+ }>, "many">;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.suitabilityResponseSchema = exports.suitabilityStatusSchema = exports.suitabilitySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.suitabilitySchema = zod_1.z.object({
6
+ rating: zod_1.z.string(),
7
+ reason: zod_1.z.string(),
8
+ });
9
+ exports.suitabilityStatusSchema = zod_1.z.enum([
10
+ 'completed',
11
+ 'pending',
12
+ 'failed',
13
+ ]);
14
+ exports.suitabilityResponseSchema = zod_1.z.array(zod_1.z.object({
15
+ modelName: zod_1.z.string(),
16
+ suitability: exports.suitabilitySchema,
17
+ }));
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const aiConfigSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ suitabilityPrompt: z.ZodOptional<z.ZodString>;
5
+ proposalPrompt: z.ZodOptional<z.ZodString>;
6
+ questionProposalPrompt: z.ZodOptional<z.ZodString>;
7
+ knowledgeBase: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ suitabilityPrompt?: string | undefined;
11
+ proposalPrompt?: string | undefined;
12
+ questionProposalPrompt?: string | undefined;
13
+ knowledgeBase?: string | undefined;
14
+ }, {
15
+ id: string;
16
+ suitabilityPrompt?: string | undefined;
17
+ proposalPrompt?: string | undefined;
18
+ questionProposalPrompt?: string | undefined;
19
+ knowledgeBase?: string | undefined;
20
+ }>;
21
+ export declare const updateAiConfigSchema: z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodString>;
23
+ suitabilityPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24
+ proposalPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25
+ questionProposalPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26
+ knowledgeBase: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id?: string | undefined;
29
+ suitabilityPrompt?: string | undefined;
30
+ proposalPrompt?: string | undefined;
31
+ questionProposalPrompt?: string | undefined;
32
+ knowledgeBase?: string | undefined;
33
+ }, {
34
+ id?: string | undefined;
35
+ suitabilityPrompt?: string | undefined;
36
+ proposalPrompt?: string | undefined;
37
+ questionProposalPrompt?: string | undefined;
38
+ knowledgeBase?: string | undefined;
39
+ }>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateAiConfigSchema = exports.aiConfigSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.aiConfigSchema = zod_1.z.object({
6
+ id: zod_1.z.string(),
7
+ suitabilityPrompt: zod_1.z.string().optional(),
8
+ proposalPrompt: zod_1.z.string().optional(),
9
+ questionProposalPrompt: zod_1.z.string().optional(),
10
+ knowledgeBase: zod_1.z.string().optional(),
11
+ });
12
+ exports.updateAiConfigSchema = exports.aiConfigSchema.partial();
@@ -0,0 +1 @@
1
+ export * from './ai-config';
@@ -0,0 +1,17 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ai-config"), exports);
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bidFailedSchema = exports.bidSuccessSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.bidSuccessSchema = zod_1.z.object({
6
+ status: zod_1.z.literal('success'),
7
+ biddingAmount: zod_1.z.number(),
8
+ boosted: zod_1.z.boolean(),
9
+ boostingAmount: zod_1.z.number(),
10
+ cookies: zod_1.z.array(zod_1.z.any()),
11
+ });
12
+ exports.bidFailedSchema = zod_1.z.object({
13
+ status: zod_1.z.literal('failed'),
14
+ errorMessage: zod_1.z.string(),
15
+ });
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ export declare const bidSuccessSchema: z.ZodObject<{
3
+ status: z.ZodLiteral<"success">;
4
+ biddingAmount: z.ZodNumber;
5
+ boosted: z.ZodBoolean;
6
+ boostingAmount: z.ZodNumber;
7
+ cookies: z.ZodArray<z.ZodAny, "many">;
8
+ }, "strip", z.ZodTypeAny, {
9
+ status: "success";
10
+ cookies: any[];
11
+ biddingAmount: number;
12
+ boosted: boolean;
13
+ boostingAmount: number;
14
+ }, {
15
+ status: "success";
16
+ cookies: any[];
17
+ biddingAmount: number;
18
+ boosted: boolean;
19
+ boostingAmount: number;
20
+ }>;
21
+ export declare const bidFailedSchema: z.ZodObject<{
22
+ status: z.ZodLiteral<"failed">;
23
+ errorMessage: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ status: "failed";
26
+ errorMessage: string;
27
+ }, {
28
+ status: "failed";
29
+ errorMessage: string;
30
+ }>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bidFailedSchema = exports.bidSuccessSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.bidSuccessSchema = zod_1.z.object({
6
+ status: zod_1.z.literal('success'),
7
+ biddingAmount: zod_1.z.number(),
8
+ boosted: zod_1.z.boolean(),
9
+ boostingAmount: zod_1.z.number(),
10
+ cookies: zod_1.z.array(zod_1.z.any()),
11
+ });
12
+ exports.bidFailedSchema = zod_1.z.object({
13
+ status: zod_1.z.literal('failed'),
14
+ errorMessage: zod_1.z.string(),
15
+ });
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bidDtoSchema = exports.freelancerBidPayloadSchema = exports.agencyBidPayloadSchema = exports.bidPayloadSchema = exports.agencyBidProposalDataSchema = exports.freelancerBidProposalDataSchema = exports.bidPayloadProposalDataSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const ai_1 = require("../ai");
6
+ exports.bidPayloadProposalDataSchema = zod_1.z.object({
7
+ coverLetter: zod_1.z.string(),
8
+ questionAnswerPairs: zod_1.z.array(ai_1.questionAnswerPairSchema).nullable(),
9
+ boostingEnabled: zod_1.z.boolean(),
10
+ minimumBoost: zod_1.z.number().nullable(),
11
+ maximumBoost: zod_1.z.number().nullable(),
12
+ });
13
+ exports.freelancerBidProposalDataSchema = exports.bidPayloadProposalDataSchema;
14
+ exports.agencyBidProposalDataSchema = exports.bidPayloadProposalDataSchema.extend({
15
+ agencyName: zod_1.z.string(),
16
+ contractorName: zod_1.z.string(),
17
+ specializedProfile: zod_1.z.string().nullable(),
18
+ });
19
+ exports.bidPayloadSchema = zod_1.z.object({
20
+ jobUrl: zod_1.z.string(),
21
+ username: zod_1.z.string(),
22
+ password: zod_1.z.string(),
23
+ cookies: zod_1.z.array(zod_1.z.any()),
24
+ multiLoginProfileId: zod_1.z.string(),
25
+ });
26
+ exports.agencyBidPayloadSchema = exports.bidPayloadSchema.extend({
27
+ proposalData: exports.agencyBidProposalDataSchema,
28
+ });
29
+ exports.freelancerBidPayloadSchema = exports.bidPayloadSchema.extend({
30
+ proposalData: exports.freelancerBidProposalDataSchema,
31
+ });
32
+ exports.bidDtoSchema = zod_1.z.object({
33
+ organizationId: zod_1.z.string(),
34
+ campaignId: zod_1.z.string(),
35
+ leadId: zod_1.z.string(),
36
+ });
@@ -0,0 +1,4 @@
1
+ export declare abstract class BaseException extends Error {
2
+ abstract readonly code: string;
3
+ constructor(message: string);
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare class EvaluateElementException extends Error {
2
+ readonly code = "EVALUATE_ELEMENT_EXCEPTION";
3
+ constructor(element: any, message: string);
4
+ }
5
+ export declare function evaluateElementException(element: any, message: string): EvaluateElementException;
@@ -0,0 +1,5 @@
1
+ export declare class WaitForFunctionTimeoutError extends Error {
2
+ readonly code = "WAIT_FOR_FUNCTION_TIMEOUT_ERROR";
3
+ constructor(fn: Function, timeout: number);
4
+ }
5
+ export declare const waitForFunctionTimeoutError: (fn: Function, timeout: number) => WaitForFunctionTimeoutError;
@@ -0,0 +1,18 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./bid"), exports);
18
+ __exportStar(require("./bid-result"), exports);
@@ -0,0 +1 @@
1
+ export * from './proposal-bidding-status';
@@ -0,0 +1,17 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./proposal-bidding-status"), exports);
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ export declare const proposalBiddingStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
+ status: z.ZodLiteral<"success">;
4
+ biddingAmount: z.ZodNumber;
5
+ boosted: z.ZodBoolean;
6
+ boostingAmount: z.ZodNumber;
7
+ }, "strip", z.ZodTypeAny, {
8
+ status: "success";
9
+ biddingAmount: number;
10
+ boosted: boolean;
11
+ boostingAmount: number;
12
+ }, {
13
+ status: "success";
14
+ biddingAmount: number;
15
+ boosted: boolean;
16
+ boostingAmount: number;
17
+ }>, z.ZodObject<{
18
+ status: z.ZodLiteral<"failed">;
19
+ errorMessage: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ status: "failed";
22
+ errorMessage: string;
23
+ }, {
24
+ status: "failed";
25
+ errorMessage: string;
26
+ }>]>;