lancer-shared 1.2.163 → 1.2.164

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 (50) hide show
  1. package/dist/bundle.cjs.js +68 -44
  2. package/dist/constants/job-filter-options.d.ts +1 -0
  3. package/dist/constants/routes.d.ts +1 -0
  4. package/dist/schemas/agent/index.d.ts +10 -5
  5. package/dist/schemas/bid/bid.d.ts +5134 -177
  6. package/dist/schemas/bidder/bid-result.d.ts +30 -0
  7. package/dist/schemas/bidder/bid.d.ts +8010 -0
  8. package/dist/schemas/bidder/exceptions/cloudflare-challenge-failed.exception.d.ts +5 -0
  9. package/dist/schemas/bidder/exceptions/delete-multilogin-profile.exception.d.ts +5 -0
  10. package/dist/schemas/bidder/exceptions/dropdown-option-not-present.exception.d.ts +5 -0
  11. package/dist/schemas/bidder/exceptions/element-not-clickable.exception.d.ts +5 -0
  12. package/dist/schemas/bidder/exceptions/evalaute-element.exception.d.ts +5 -0
  13. package/dist/schemas/bidder/exceptions/evaluate-function.exception.d.ts +5 -0
  14. package/dist/schemas/bidder/exceptions/get-multilogin-browser.exception.d.ts +5 -0
  15. package/dist/schemas/bidder/exceptions/incorrect-security-question-answer.exception.d.ts +5 -0
  16. package/dist/schemas/bidder/exceptions/index.d.ts +63 -0
  17. package/dist/schemas/bidder/exceptions/init-browser.exception.d.ts +5 -0
  18. package/dist/schemas/bidder/exceptions/insufficient-connects.exception.d.ts +5 -0
  19. package/dist/schemas/bidder/exceptions/invalid-credentials.exception.d.ts +5 -0
  20. package/dist/schemas/bidder/exceptions/invalid-job-url.exception.d.ts +5 -0
  21. package/dist/schemas/bidder/exceptions/login-failed.exception.d.ts +5 -0
  22. package/dist/schemas/bidder/exceptions/multilogin-authentication.exception.d.ts +5 -0
  23. package/dist/schemas/bidder/exceptions/navigation-timeout.exception.d.ts +5 -0
  24. package/dist/schemas/bidder/exceptions/new-browser-page.exception.d.ts +5 -0
  25. package/dist/schemas/bidder/exceptions/new-page.exception.d.ts +5 -0
  26. package/dist/schemas/bidder/exceptions/open-new-url.exception.d.ts +15 -0
  27. package/dist/schemas/bidder/exceptions/parse-connects.exception.d.ts +5 -0
  28. package/dist/schemas/bidder/exceptions/proposal-error-alert.exception.d.ts +5 -0
  29. package/dist/schemas/bidder/exceptions/proposal-form-warning-alert.exception.d.ts +5 -0
  30. package/dist/schemas/bidder/exceptions/proposal-generation-failed.exception.d.ts +5 -0
  31. package/dist/schemas/bidder/exceptions/proposal-submit-failed.exception.d.ts +5 -0
  32. package/dist/schemas/bidder/exceptions/pupeteer-conection-error.exception.d.ts +5 -0
  33. package/dist/schemas/bidder/exceptions/question-pair-not-matching.exception.d.ts +5 -0
  34. package/dist/schemas/bidder/exceptions/select-agency.exception.d.ts +5 -0
  35. package/dist/schemas/bidder/exceptions/select-contractor.exception.d.ts +5 -0
  36. package/dist/schemas/bidder/exceptions/selector-not-found.exception.d.ts +5 -0
  37. package/dist/schemas/bidder/exceptions/typed-value-not-matching.exception.d.ts +5 -0
  38. package/dist/schemas/bidder/exceptions/typing-input-field.exception.d.ts +5 -0
  39. package/dist/schemas/bidder/exceptions/wait-for-function-timeout.exception.d.ts +5 -0
  40. package/dist/schemas/bidder/index.d.ts +4 -0
  41. package/dist/schemas/bidder/sync-proposal-status.d.ts +12 -0
  42. package/dist/schemas/campaign/campaign-analytics.d.ts +44 -27
  43. package/dist/schemas/campaign/campaign.d.ts +9 -9
  44. package/dist/schemas/index.d.ts +22 -22
  45. package/dist/schemas/lead/index.d.ts +36 -18
  46. package/dist/schemas/lead/lead-status.d.ts +17 -6
  47. package/dist/schemas/logger/log-event.d.ts +8 -5
  48. package/dist/schemas/organization/index.d.ts +4 -0
  49. package/dist/schemas/scraper/scrape-payload.d.ts +20 -10
  50. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  export declare const campaignAnalyticsSchema: z.ZodObject<{
3
3
  contacted: z.ZodOptional<z.ZodNumber>;
4
4
  viewed: z.ZodOptional<z.ZodNumber>;
@@ -324,6 +324,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
324
324
  createdAt: z.ZodNumber;
325
325
  updatedAt: z.ZodNumber;
326
326
  openRouterApiKey: z.ZodNullable<z.ZodString>;
327
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
327
328
  oneTimePayments: z.ZodOptional<z.ZodObject<{
328
329
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
329
330
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -619,7 +620,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
619
620
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
620
621
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
621
622
  sleepTimezone: z.ZodNullable<z.ZodString>;
622
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
623
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
623
624
  expenses: z.ZodObject<{
624
625
  biddingAmount: z.ZodDefault<z.ZodNumber>;
625
626
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -882,6 +883,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
882
883
  createdAt: z.ZodNumber;
883
884
  updatedAt: z.ZodNumber;
884
885
  openRouterApiKey: z.ZodNullable<z.ZodString>;
886
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
885
887
  oneTimePayments: z.ZodOptional<z.ZodObject<{
886
888
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
887
889
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -1177,7 +1179,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1177
1179
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1178
1180
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1179
1181
  sleepTimezone: z.ZodNullable<z.ZodString>;
1180
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
1182
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
1181
1183
  expenses: z.ZodObject<{
1182
1184
  biddingAmount: z.ZodDefault<z.ZodNumber>;
1183
1185
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1558,7 +1560,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1558
1560
  answer: string;
1559
1561
  }>, "many">>;
1560
1562
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1561
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
1563
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
1562
1564
  biddingAmount: z.ZodNullable<z.ZodNumber>;
1563
1565
  boosted: z.ZodNullable<z.ZodBoolean>;
1564
1566
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1568,6 +1570,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1568
1570
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
1569
1571
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
1570
1572
  rejectedFeedback: z.ZodNullable<z.ZodString>;
1573
+ applicationId: z.ZodNullable<z.ZodString>;
1571
1574
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
1572
1575
  id: string | null;
1573
1576
  title: string | null;
@@ -1791,6 +1794,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
1791
1794
  createdAt: z.ZodNumber;
1792
1795
  updatedAt: z.ZodNumber;
1793
1796
  openRouterApiKey: z.ZodNullable<z.ZodString>;
1797
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
1794
1798
  oneTimePayments: z.ZodOptional<z.ZodObject<{
1795
1799
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
1796
1800
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -2086,7 +2090,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2086
2090
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2087
2091
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2088
2092
  sleepTimezone: z.ZodNullable<z.ZodString>;
2089
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
2093
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
2090
2094
  expenses: z.ZodObject<{
2091
2095
  biddingAmount: z.ZodDefault<z.ZodNumber>;
2092
2096
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -2149,7 +2153,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2149
2153
  creditBalance: z.ZodNumber;
2150
2154
  }, {
2151
2155
  type: z.ZodLiteral<"lead_status">;
2152
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>;
2156
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
2153
2157
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
2154
2158
  id: z.ZodNullable<z.ZodString>;
2155
2159
  uid: z.ZodNullable<z.ZodString>;
@@ -2468,7 +2472,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2468
2472
  answer: string;
2469
2473
  }>, "many">>;
2470
2474
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
2471
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
2475
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
2472
2476
  biddingAmount: z.ZodNullable<z.ZodNumber>;
2473
2477
  boosted: z.ZodNullable<z.ZodBoolean>;
2474
2478
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -2478,6 +2482,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2478
2482
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
2479
2483
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
2480
2484
  rejectedFeedback: z.ZodNullable<z.ZodString>;
2485
+ applicationId: z.ZodNullable<z.ZodString>;
2481
2486
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
2482
2487
  id: string | null;
2483
2488
  title: string | null;
@@ -2492,7 +2497,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2492
2497
  creditBalance: z.ZodNumber;
2493
2498
  }>, "strip", z.ZodTypeAny, {
2494
2499
  type: "lead_status";
2495
- status: "contacted" | "viewed" | "replied" | "won" | "leads";
2500
+ status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects";
2496
2501
  createdAt: number;
2497
2502
  organization: {
2498
2503
  id: string;
@@ -2511,7 +2516,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2511
2516
  };
2512
2517
  }, {
2513
2518
  type: "lead_status";
2514
- status: "contacted" | "viewed" | "replied" | "won" | "leads";
2519
+ status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects";
2515
2520
  createdAt: number;
2516
2521
  organization: {
2517
2522
  id: string;
@@ -2700,6 +2705,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
2700
2705
  createdAt: z.ZodNumber;
2701
2706
  updatedAt: z.ZodNumber;
2702
2707
  openRouterApiKey: z.ZodNullable<z.ZodString>;
2708
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
2703
2709
  oneTimePayments: z.ZodOptional<z.ZodObject<{
2704
2710
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
2705
2711
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -2995,7 +3001,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
2995
3001
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2996
3002
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2997
3003
  sleepTimezone: z.ZodNullable<z.ZodString>;
2998
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
3004
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
2999
3005
  expenses: z.ZodObject<{
3000
3006
  biddingAmount: z.ZodDefault<z.ZodNumber>;
3001
3007
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -3376,7 +3382,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3376
3382
  answer: string;
3377
3383
  }>, "many">>;
3378
3384
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
3379
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
3385
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
3380
3386
  biddingAmount: z.ZodNullable<z.ZodNumber>;
3381
3387
  boosted: z.ZodNullable<z.ZodBoolean>;
3382
3388
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -3386,6 +3392,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3386
3392
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
3387
3393
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
3388
3394
  rejectedFeedback: z.ZodNullable<z.ZodString>;
3395
+ applicationId: z.ZodNullable<z.ZodString>;
3389
3396
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
3390
3397
  id: string | null;
3391
3398
  title: string | null;
@@ -3606,6 +3613,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3606
3613
  createdAt: z.ZodNumber;
3607
3614
  updatedAt: z.ZodNumber;
3608
3615
  openRouterApiKey: z.ZodNullable<z.ZodString>;
3616
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
3609
3617
  oneTimePayments: z.ZodOptional<z.ZodObject<{
3610
3618
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
3611
3619
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -3901,7 +3909,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3901
3909
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3902
3910
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3903
3911
  sleepTimezone: z.ZodNullable<z.ZodString>;
3904
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
3912
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
3905
3913
  expenses: z.ZodObject<{
3906
3914
  biddingAmount: z.ZodDefault<z.ZodNumber>;
3907
3915
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -4163,6 +4171,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4163
4171
  createdAt: z.ZodNumber;
4164
4172
  updatedAt: z.ZodNumber;
4165
4173
  openRouterApiKey: z.ZodNullable<z.ZodString>;
4174
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
4166
4175
  oneTimePayments: z.ZodOptional<z.ZodObject<{
4167
4176
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
4168
4177
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -4458,7 +4467,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4458
4467
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4459
4468
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4460
4469
  sleepTimezone: z.ZodNullable<z.ZodString>;
4461
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
4470
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
4462
4471
  expenses: z.ZodObject<{
4463
4472
  biddingAmount: z.ZodDefault<z.ZodNumber>;
4464
4473
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -4839,7 +4848,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4839
4848
  answer: string;
4840
4849
  }>, "many">>;
4841
4850
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
4842
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
4851
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
4843
4852
  biddingAmount: z.ZodNullable<z.ZodNumber>;
4844
4853
  boosted: z.ZodNullable<z.ZodBoolean>;
4845
4854
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -4849,6 +4858,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4849
4858
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
4850
4859
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
4851
4860
  rejectedFeedback: z.ZodNullable<z.ZodString>;
4861
+ applicationId: z.ZodNullable<z.ZodString>;
4852
4862
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
4853
4863
  id: string | null;
4854
4864
  title: string | null;
@@ -5071,6 +5081,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5071
5081
  createdAt: z.ZodNumber;
5072
5082
  updatedAt: z.ZodNumber;
5073
5083
  openRouterApiKey: z.ZodNullable<z.ZodString>;
5084
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
5074
5085
  oneTimePayments: z.ZodOptional<z.ZodObject<{
5075
5086
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
5076
5087
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -5366,7 +5377,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5366
5377
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5367
5378
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5368
5379
  sleepTimezone: z.ZodNullable<z.ZodString>;
5369
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
5380
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
5370
5381
  expenses: z.ZodObject<{
5371
5382
  biddingAmount: z.ZodDefault<z.ZodNumber>;
5372
5383
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5429,7 +5440,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5429
5440
  creditBalance: z.ZodNumber;
5430
5441
  }, {
5431
5442
  type: z.ZodLiteral<"lead_status">;
5432
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>;
5443
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
5433
5444
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
5434
5445
  id: z.ZodNullable<z.ZodString>;
5435
5446
  uid: z.ZodNullable<z.ZodString>;
@@ -5748,7 +5759,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5748
5759
  answer: string;
5749
5760
  }>, "many">>;
5750
5761
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
5751
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
5762
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
5752
5763
  biddingAmount: z.ZodNullable<z.ZodNumber>;
5753
5764
  boosted: z.ZodNullable<z.ZodBoolean>;
5754
5765
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -5758,6 +5769,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5758
5769
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
5759
5770
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
5760
5771
  rejectedFeedback: z.ZodNullable<z.ZodString>;
5772
+ applicationId: z.ZodNullable<z.ZodString>;
5761
5773
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
5762
5774
  id: string | null;
5763
5775
  title: string | null;
@@ -5772,7 +5784,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5772
5784
  creditBalance: z.ZodNumber;
5773
5785
  }>, "strip", z.ZodTypeAny, {
5774
5786
  type: "lead_status";
5775
- status: "contacted" | "viewed" | "replied" | "won" | "leads";
5787
+ status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects";
5776
5788
  createdAt: number;
5777
5789
  organization: {
5778
5790
  id: string;
@@ -5791,7 +5803,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5791
5803
  };
5792
5804
  }, {
5793
5805
  type: "lead_status";
5794
- status: "contacted" | "viewed" | "replied" | "won" | "leads";
5806
+ status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects";
5795
5807
  createdAt: number;
5796
5808
  organization: {
5797
5809
  id: string;
@@ -5979,6 +5991,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5979
5991
  createdAt: z.ZodNumber;
5980
5992
  updatedAt: z.ZodNumber;
5981
5993
  openRouterApiKey: z.ZodNullable<z.ZodString>;
5994
+ nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
5982
5995
  oneTimePayments: z.ZodOptional<z.ZodObject<{
5983
5996
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
5984
5997
  paidAt: z.ZodOptional<z.ZodNumber>;
@@ -6274,7 +6287,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6274
6287
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
6275
6288
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
6276
6289
  sleepTimezone: z.ZodNullable<z.ZodString>;
6277
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
6290
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
6278
6291
  expenses: z.ZodObject<{
6279
6292
  biddingAmount: z.ZodDefault<z.ZodNumber>;
6280
6293
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -6655,7 +6668,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6655
6668
  answer: string;
6656
6669
  }>, "many">>;
6657
6670
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
6658
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
6671
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
6659
6672
  biddingAmount: z.ZodNullable<z.ZodNumber>;
6660
6673
  boosted: z.ZodNullable<z.ZodBoolean>;
6661
6674
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -6665,6 +6678,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6665
6678
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
6666
6679
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
6667
6680
  rejectedFeedback: z.ZodNullable<z.ZodString>;
6681
+ applicationId: z.ZodNullable<z.ZodString>;
6668
6682
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
6669
6683
  id: string | null;
6670
6684
  title: string | null;
@@ -7046,7 +7060,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7046
7060
  answer: string;
7047
7061
  }>, "many">>;
7048
7062
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
7049
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
7063
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
7050
7064
  biddingAmount: z.ZodNullable<z.ZodNumber>;
7051
7065
  boosted: z.ZodNullable<z.ZodBoolean>;
7052
7066
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -7056,6 +7070,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7056
7070
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
7057
7071
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
7058
7072
  rejectedFeedback: z.ZodNullable<z.ZodString>;
7073
+ applicationId: z.ZodNullable<z.ZodString>;
7059
7074
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
7060
7075
  id: string | null;
7061
7076
  title: string | null;
@@ -7091,7 +7106,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7091
7106
  };
7092
7107
  }>, z.ZodObject<{
7093
7108
  type: z.ZodLiteral<"lead_status">;
7094
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>;
7109
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
7095
7110
  lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
7096
7111
  id: z.ZodNullable<z.ZodString>;
7097
7112
  uid: z.ZodNullable<z.ZodString>;
@@ -7410,7 +7425,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7410
7425
  answer: string;
7411
7426
  }>, "many">>;
7412
7427
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
7413
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
7428
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
7414
7429
  biddingAmount: z.ZodNullable<z.ZodNumber>;
7415
7430
  boosted: z.ZodNullable<z.ZodBoolean>;
7416
7431
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -7420,6 +7435,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7420
7435
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
7421
7436
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
7422
7437
  rejectedFeedback: z.ZodNullable<z.ZodString>;
7438
+ applicationId: z.ZodNullable<z.ZodString>;
7423
7439
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
7424
7440
  id: string | null;
7425
7441
  title: string | null;
@@ -7434,7 +7450,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7434
7450
  creditBalance: z.ZodNumber;
7435
7451
  }, "strip", z.ZodTypeAny, {
7436
7452
  type: "lead_status";
7437
- status: "contacted" | "viewed" | "replied" | "won" | "leads";
7453
+ status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects";
7438
7454
  creditBalance: number;
7439
7455
  lead: {
7440
7456
  id: string | null;
@@ -7444,7 +7460,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7444
7460
  };
7445
7461
  }, {
7446
7462
  type: "lead_status";
7447
- status: "contacted" | "viewed" | "replied" | "won" | "leads";
7463
+ status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects";
7448
7464
  creditBalance: number;
7449
7465
  lead: {
7450
7466
  id: string | null;
@@ -7772,7 +7788,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7772
7788
  answer: string;
7773
7789
  }>, "many">>;
7774
7790
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
7775
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
7791
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
7776
7792
  biddingAmount: z.ZodNullable<z.ZodNumber>;
7777
7793
  boosted: z.ZodNullable<z.ZodBoolean>;
7778
7794
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -7782,6 +7798,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
7782
7798
  feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
7783
7799
  bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
7784
7800
  rejectedFeedback: z.ZodNullable<z.ZodString>;
7801
+ applicationId: z.ZodNullable<z.ZodString>;
7785
7802
  }>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
7786
7803
  id: string | null;
7787
7804
  title: string | null;
@@ -266,7 +266,7 @@ export declare const campaignSchema: z.ZodObject<{
266
266
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
267
267
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
268
268
  sleepTimezone: z.ZodNullable<z.ZodString>;
269
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
269
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
270
270
  expenses: z.ZodObject<{
271
271
  biddingAmount: z.ZodDefault<z.ZodNumber>;
272
272
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -389,7 +389,7 @@ export declare const campaignSchema: z.ZodObject<{
389
389
  sleepStartAtHour: number | null;
390
390
  sleepEndAtHour: number | null;
391
391
  sleepTimezone: string | null;
392
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
392
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
393
393
  expenses: {
394
394
  biddingAmount: number;
395
395
  boostingAmount: number;
@@ -475,7 +475,7 @@ export declare const campaignSchema: z.ZodObject<{
475
475
  biddingHourlyRatePercentage: number | null;
476
476
  bidWithWarning: "bid" | "skip";
477
477
  sleepTimezone: string | null;
478
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
478
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
479
479
  expenses: {
480
480
  biddingAmount?: number | undefined;
481
481
  boostingAmount?: number | undefined;
@@ -771,7 +771,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
771
771
  sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
772
772
  sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
773
773
  sleepTimezone: z.ZodNullable<z.ZodString>;
774
- leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>;
774
+ leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
775
775
  expenses: z.ZodObject<{
776
776
  biddingAmount: z.ZodDefault<z.ZodNumber>;
777
777
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -891,7 +891,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
891
891
  sleepStartAtHour: number | null;
892
892
  sleepEndAtHour: number | null;
893
893
  sleepTimezone: string | null;
894
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
894
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
895
895
  expenses: {
896
896
  biddingAmount: number;
897
897
  boostingAmount: number;
@@ -968,7 +968,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
968
968
  biddingHourlyRatePercentage: number | null;
969
969
  bidWithWarning: "bid" | "skip";
970
970
  sleepTimezone: string | null;
971
- leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
971
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
972
972
  expenses: {
973
973
  biddingAmount?: number | undefined;
974
974
  boostingAmount?: number | undefined;
@@ -1238,7 +1238,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1238
1238
  sleepStartAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1239
1239
  sleepEndAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
1240
1240
  sleepTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1241
- leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, z.ZodNumber>>>;
1241
+ leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>>;
1242
1242
  expenses: z.ZodOptional<z.ZodObject<{
1243
1243
  biddingAmount: z.ZodDefault<z.ZodNumber>;
1244
1244
  boostingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1359,7 +1359,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1359
1359
  sleepStartAtHour?: number | null | undefined;
1360
1360
  sleepEndAtHour?: number | null | undefined;
1361
1361
  sleepTimezone?: string | null | undefined;
1362
- leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null | undefined;
1362
+ leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null | undefined;
1363
1363
  expenses?: {
1364
1364
  biddingAmount: number;
1365
1365
  boostingAmount: number;
@@ -1450,7 +1450,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1450
1450
  sleepStartAtHour?: number | null | undefined;
1451
1451
  sleepEndAtHour?: number | null | undefined;
1452
1452
  sleepTimezone?: string | null | undefined;
1453
- leadCounts?: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null | undefined;
1453
+ leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null | undefined;
1454
1454
  expenses?: {
1455
1455
  biddingAmount?: number | undefined;
1456
1456
  boostingAmount?: number | undefined;
@@ -1,24 +1,24 @@
1
- export * from "./account";
2
- export * from "./agent";
3
- export * from "./bid";
4
- export * from "./campaign";
5
- export * from "./dashboard";
1
+ export * from './account';
2
+ export * from './agent';
3
+ export * from './bidder';
4
+ export * from './campaign';
5
+ export * from './dashboard';
6
6
  export * from './infrastructure';
7
- export * from "./invoice";
8
- export * from "./job";
9
- export * from "./lead";
10
- export * from "./logger";
11
- export * from "./notifications";
12
- export * from "./organization";
13
- export * from "./plan";
14
- export * from "./proxy";
15
- export * from "./saved-search";
16
- export * from "./scraper";
17
- export * from "./shared";
18
- export * from "./system";
7
+ export * from './invoice';
8
+ export * from './job';
9
+ export * from './lead';
10
+ export * from './logger';
11
+ export * from './notifications';
12
+ export * from './organization';
13
+ export * from './plan';
14
+ export * from './proxy';
15
+ export * from './saved-search';
16
+ export * from './scraper';
17
+ export * from './shared';
18
+ export * from './system';
19
19
  export * from './talent';
20
- export * from "./time-filter";
21
- export * from "./transaction";
22
- export * from "./usage";
23
- export * from "./usage-event";
24
- export * from "./user";
20
+ export * from './time-filter';
21
+ export * from './transaction';
22
+ export * from './usage';
23
+ export * from './usage-event';
24
+ export * from './user';