lancer-shared 1.2.340 → 1.2.342

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.
@@ -69,6 +69,7 @@ export declare const ROUTES: {
69
69
  readonly BY_PROVIDER_AND_ID: (provider: string, id: string) => string;
70
70
  readonly REFRESH_PROXY: (bidderId: string) => string;
71
71
  readonly REFRESH_WITH_IPROYAL_PROXY: (bidderId: string) => string;
72
+ readonly REFRESH_WITH_MARS_PROXY: (bidderId: string) => string;
72
73
  readonly AGENCIES: "admin/bidder-accounts/agencies";
73
74
  readonly ASSIGN_IPROYAL_PROXY: (bidderId: string) => string;
74
75
  readonly ASSIGN_DECODO_PROXY: (bidderId: string) => string;
@@ -93,6 +94,7 @@ export declare const ROUTES: {
93
94
  readonly BIDDER_FAILURES: "admin/dashboard/bidder-failures";
94
95
  readonly MARK_BIDDER_FAILURE_VIEWED: (eventId: string) => string;
95
96
  readonly BIDDER_FAILURE_VIEWS: "admin/dashboard/bidder-failure-views";
97
+ readonly CONNECTION_REQUESTS: "admin/dashboard/connection-requests";
96
98
  };
97
99
  readonly ALERTS: {
98
100
  readonly BASE: "admin/alerts";
@@ -124,6 +124,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
124
124
  isProtected: z.ZodOptional<z.ZodBoolean>;
125
125
  status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
126
126
  errorMessage: z.ZodNullable<z.ZodString>;
127
+ requiresManualReview: z.ZodNullable<z.ZodBoolean>;
127
128
  connectedToChat: z.ZodNullable<z.ZodBoolean>;
128
129
  failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
129
130
  failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
@@ -179,6 +180,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
179
180
  createdAt: number;
180
181
  updatedAt: number;
181
182
  errorMessage: string | null;
183
+ requiresManualReview: boolean | null;
182
184
  connectedToChat: boolean | null;
183
185
  failedToRefreshRooms: boolean | null;
184
186
  failedToRefreshRoomsAttempts: number | null;
@@ -230,6 +232,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
230
232
  createdAt: number;
231
233
  updatedAt: number;
232
234
  errorMessage: string | null;
235
+ requiresManualReview: boolean | null;
233
236
  connectedToChat: boolean | null;
234
237
  failedToRefreshRooms: boolean | null;
235
238
  failedToRefreshRoomsAttempts: number | null;
@@ -333,6 +336,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
333
336
  isProtected: z.ZodOptional<z.ZodBoolean>;
334
337
  status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
335
338
  errorMessage: z.ZodNullable<z.ZodString>;
339
+ requiresManualReview: z.ZodNullable<z.ZodBoolean>;
336
340
  connectedToChat: z.ZodNullable<z.ZodBoolean>;
337
341
  failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
338
342
  failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
@@ -466,6 +470,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
466
470
  updatedAt: z.ZodOptional<z.ZodNumber>;
467
471
  isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
468
472
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
+ requiresManualReview: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
469
474
  connectedToChat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
470
475
  failedToRefreshRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
471
476
  failedToRefreshRoomsAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -522,6 +527,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
522
527
  updatedAt?: number | undefined;
523
528
  isProtected?: boolean | undefined;
524
529
  errorMessage?: string | null | undefined;
530
+ requiresManualReview?: boolean | null | undefined;
525
531
  connectedToChat?: boolean | null | undefined;
526
532
  failedToRefreshRooms?: boolean | null | undefined;
527
533
  failedToRefreshRoomsAttempts?: number | null | undefined;
@@ -572,6 +578,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
572
578
  updatedAt?: number | undefined;
573
579
  isProtected?: boolean | undefined;
574
580
  errorMessage?: string | null | undefined;
581
+ requiresManualReview?: boolean | null | undefined;
575
582
  connectedToChat?: boolean | null | undefined;
576
583
  failedToRefreshRooms?: boolean | null | undefined;
577
584
  failedToRefreshRoomsAttempts?: number | null | undefined;
@@ -82,3 +82,6 @@ export type BiddingError = CloudflareChallengeFailedException | DeleteMultilogin
82
82
  export declare const TRACKED_BID_FAILURE_MONITORING_CODES: readonly ["CLOUDFLARE_CHALLENGE_FAILED_EXCEPTION", "GO_TO_URL_EXCEPTION", "SELECTOR_NOT_FOUND_ERROR", "PROPOSAL_SUBMIT_FAILED", "PROXY_NOT_REACHABLE_EXCEPTION", "ELEMENT_NOT_CLICKABLE_EXCEPTION", "LOGIN_FAILED_EXCEPTION", "INVALID_CREDENTIALS_EXCEPTION", "NETWORK_RESTRICTIONS_EXCEPTION"];
83
83
  export type TrackedBidFailureMonitoringCode = (typeof TRACKED_BID_FAILURE_MONITORING_CODES)[number];
84
84
  export declare const isTrackedBidFailureMonitoringCode: (code?: string | null) => boolean;
85
+ export declare const USER_FACING_CREDENTIAL_ERROR_CODES: readonly ["INVALID_CREDENTIALS_EXCEPTION", "INCORRECT_SECURITY_QUESTION_ANSWER_EXCEPTION", "TWO_FACTOR_PRESENT_EXCEPTION"];
86
+ export type UserFacingCredentialErrorCode = (typeof USER_FACING_CREDENTIAL_ERROR_CODES)[number];
87
+ export declare const isUserFacingCredentialErrorCode: (code?: string | null) => boolean;
@@ -373,6 +373,7 @@ export declare const monitoringBidFailureRecordSchema: z.ZodObject<{
373
373
  organizationName: z.ZodNullable<z.ZodString>;
374
374
  campaignId: z.ZodNullable<z.ZodString>;
375
375
  leadId: z.ZodNullable<z.ZodString>;
376
+ skipBidding: z.ZodNullable<z.ZodBoolean>;
376
377
  reason: z.ZodNullable<z.ZodString>;
377
378
  errorCode: z.ZodNullable<z.ZodString>;
378
379
  errorMessage: z.ZodNullable<z.ZodString>;
@@ -384,6 +385,7 @@ export declare const monitoringBidFailureRecordSchema: z.ZodObject<{
384
385
  errorMessage: string | null;
385
386
  leadId: string | null;
386
387
  campaignId: string | null;
388
+ skipBidding: boolean | null;
387
389
  timestamp: number;
388
390
  organizationName: string | null;
389
391
  eventId: string;
@@ -395,12 +397,13 @@ export declare const monitoringBidFailureRecordSchema: z.ZodObject<{
395
397
  errorMessage: string | null;
396
398
  leadId: string | null;
397
399
  campaignId: string | null;
400
+ skipBidding: boolean | null;
398
401
  timestamp: number;
399
402
  organizationName: string | null;
400
403
  eventId: string;
401
404
  }>;
402
405
  export declare const bidderMonitoringRowSchema: z.ZodObject<{
403
- eventType: z.ZodEnum<["biddingFailed", "syncProposalsStatusFailed", "refreshRoomsFailed"]>;
406
+ eventType: z.ZodEnum<["biddingFailed", "syncProposalsStatusFailed", "refreshRoomsFailed", "unauthenticatedSessionDetected"]>;
404
407
  eventId: z.ZodString;
405
408
  bidderAccountId: z.ZodNullable<z.ZodString>;
406
409
  email: z.ZodNullable<z.ZodString>;
@@ -431,7 +434,7 @@ export declare const bidderMonitoringRowSchema: z.ZodObject<{
431
434
  timestamp: number;
432
435
  organizationName: string | null;
433
436
  eventId: string;
434
- eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
437
+ eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected";
435
438
  screenshotUrl: string | null;
436
439
  attempt: number | null;
437
440
  viewedAt: number | null;
@@ -449,14 +452,14 @@ export declare const bidderMonitoringRowSchema: z.ZodObject<{
449
452
  timestamp: number;
450
453
  organizationName: string | null;
451
454
  eventId: string;
452
- eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
455
+ eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected";
453
456
  screenshotUrl: string | null;
454
457
  attempt: number | null;
455
458
  viewedAt: number | null;
456
459
  }>;
457
460
  export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
458
461
  items: z.ZodArray<z.ZodObject<{
459
- eventType: z.ZodEnum<["biddingFailed", "syncProposalsStatusFailed", "refreshRoomsFailed"]>;
462
+ eventType: z.ZodEnum<["biddingFailed", "syncProposalsStatusFailed", "refreshRoomsFailed", "unauthenticatedSessionDetected"]>;
460
463
  eventId: z.ZodString;
461
464
  bidderAccountId: z.ZodNullable<z.ZodString>;
462
465
  email: z.ZodNullable<z.ZodString>;
@@ -487,7 +490,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
487
490
  timestamp: number;
488
491
  organizationName: string | null;
489
492
  eventId: string;
490
- eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
493
+ eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected";
491
494
  screenshotUrl: string | null;
492
495
  attempt: number | null;
493
496
  viewedAt: number | null;
@@ -505,7 +508,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
505
508
  timestamp: number;
506
509
  organizationName: string | null;
507
510
  eventId: string;
508
- eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
511
+ eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected";
509
512
  screenshotUrl: string | null;
510
513
  attempt: number | null;
511
514
  viewedAt: number | null;
@@ -527,7 +530,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
527
530
  timestamp: number;
528
531
  organizationName: string | null;
529
532
  eventId: string;
530
- eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
533
+ eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected";
531
534
  screenshotUrl: string | null;
532
535
  attempt: number | null;
533
536
  viewedAt: number | null;
@@ -549,7 +552,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
549
552
  timestamp: number;
550
553
  organizationName: string | null;
551
554
  eventId: string;
552
- eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
555
+ eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected";
553
556
  screenshotUrl: string | null;
554
557
  attempt: number | null;
555
558
  viewedAt: number | null;
@@ -13,7 +13,7 @@ export declare const logEventSchema: z.ZodObject<{
13
13
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  timestamp: z.ZodNumber;
15
15
  }, "strip", z.ZodTypeAny, {
16
- type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed" | "unauthenticatedSessionDetected";
16
+ type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
17
17
  reason: string | null;
18
18
  source: string;
19
19
  metadata: Record<string, unknown> | null;
@@ -25,7 +25,7 @@ export declare const logEventSchema: z.ZodObject<{
25
25
  resourceType: string;
26
26
  resourceId: string | null;
27
27
  }, {
28
- type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed" | "unauthenticatedSessionDetected";
28
+ type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
29
29
  reason: string | null;
30
30
  source: string;
31
31
  metadata: Record<string, unknown> | null;
@@ -340,12 +340,15 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
340
340
  export declare const verifyCredentialsFailedEventMetadataSchema: z.ZodObject<{
341
341
  bidderAccountId: z.ZodString;
342
342
  errorMessage: z.ZodString;
343
+ errorCode: z.ZodOptional<z.ZodString>;
343
344
  }, "strip", z.ZodTypeAny, {
344
345
  errorMessage: string;
345
346
  bidderAccountId: string;
347
+ errorCode?: string | undefined;
346
348
  }, {
347
349
  errorMessage: string;
348
350
  bidderAccountId: string;
351
+ errorCode?: string | undefined;
349
352
  }>;
350
353
  export declare const refreshRoomsFailedEventMetadataSchema: z.ZodObject<{
351
354
  bidderAccountId: z.ZodOptional<z.ZodString>;
@@ -615,7 +618,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
615
618
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
616
619
  timestamp: z.ZodNumber;
617
620
  }, "strip", z.ZodTypeAny, {
618
- type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed" | "unauthenticatedSessionDetected";
621
+ type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
619
622
  reason: string | null;
620
623
  source: string;
621
624
  metadata: Record<string, unknown> | null;
@@ -627,7 +630,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
627
630
  resourceType: string;
628
631
  resourceId: string | null;
629
632
  }, {
630
- type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed" | "unauthenticatedSessionDetected";
633
+ type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
631
634
  reason: string | null;
632
635
  source: string;
633
636
  metadata: Record<string, unknown> | null;
@@ -651,7 +654,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
651
654
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
652
655
  timestamp: z.ZodNumber;
653
656
  }, "strip", z.ZodTypeAny, {
654
- type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed" | "unauthenticatedSessionDetected";
657
+ type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
655
658
  reason: string | null;
656
659
  source: string;
657
660
  metadata: Record<string, unknown> | null;
@@ -663,7 +666,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
663
666
  resourceType: string;
664
667
  resourceId: string | null;
665
668
  }, {
666
- type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed" | "unauthenticatedSessionDetected";
669
+ type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed" | "unauthenticatedSessionDetected" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
667
670
  reason: string | null;
668
671
  source: string;
669
672
  metadata: Record<string, unknown> | null;
@@ -2231,6 +2231,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2231
2231
  isProtected: z.ZodOptional<z.ZodBoolean>;
2232
2232
  status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
2233
2233
  errorMessage: z.ZodNullable<z.ZodString>;
2234
+ requiresManualReview: z.ZodNullable<z.ZodBoolean>;
2234
2235
  connectedToChat: z.ZodNullable<z.ZodBoolean>;
2235
2236
  failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
2236
2237
  failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
@@ -2286,6 +2287,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2286
2287
  createdAt: number;
2287
2288
  updatedAt: number;
2288
2289
  errorMessage: string | null;
2290
+ requiresManualReview: boolean | null;
2289
2291
  connectedToChat: boolean | null;
2290
2292
  failedToRefreshRooms: boolean | null;
2291
2293
  failedToRefreshRoomsAttempts: number | null;
@@ -2337,6 +2339,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2337
2339
  createdAt: number;
2338
2340
  updatedAt: number;
2339
2341
  errorMessage: string | null;
2342
+ requiresManualReview: boolean | null;
2340
2343
  connectedToChat: boolean | null;
2341
2344
  failedToRefreshRooms: boolean | null;
2342
2345
  failedToRefreshRoomsAttempts: number | null;
@@ -2752,6 +2755,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2752
2755
  createdAt: number;
2753
2756
  updatedAt: number;
2754
2757
  errorMessage: string | null;
2758
+ requiresManualReview: boolean | null;
2755
2759
  connectedToChat: boolean | null;
2756
2760
  failedToRefreshRooms: boolean | null;
2757
2761
  failedToRefreshRoomsAttempts: number | null;
@@ -3167,6 +3171,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
3167
3171
  createdAt: number;
3168
3172
  updatedAt: number;
3169
3173
  errorMessage: string | null;
3174
+ requiresManualReview: boolean | null;
3170
3175
  connectedToChat: boolean | null;
3171
3176
  failedToRefreshRooms: boolean | null;
3172
3177
  failedToRefreshRoomsAttempts: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.340",
3
+ "version": "1.2.342",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",