lancer-shared 1.2.114 → 1.2.115

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.
@@ -12452,6 +12452,9 @@ const LogEventTypeEnum = z.enum([
12452
12452
  'scrapeJobStarted',
12453
12453
  'jobScraped',
12454
12454
  'jobScrapeFailed',
12455
+ 'scrapeJobDetailsStarted',
12456
+ 'scrapeJobDetailsCompleted',
12457
+ 'scrapeJobDetailsFailed',
12455
12458
  'jobsIndexed',
12456
12459
  'jobDuplicateSkipped',
12457
12460
  'scraperFailed',
@@ -12525,6 +12528,33 @@ const listingScrapedEventMetadata = objectType({
12525
12528
  listing: feedJobSchema,
12526
12529
  region: regionSchema,
12527
12530
  });
12531
+ const scrapeFeedEventMetadata = objectType({
12532
+ region: regionSchema,
12533
+ error: stringType(),
12534
+ });
12535
+ const scrapeFeedJobsDetailsStartedEventMetadata = objectType({
12536
+ region: regionSchema,
12537
+ accounts: z.array(z.object({
12538
+ id: stringType(),
12539
+ email: stringType(),
12540
+ })),
12541
+ feedJobsCount: numberType(),
12542
+ chunksSize: numberType(),
12543
+ });
12544
+ const scrapeFeedJobsDetailsCompletedEventMetadata = objectType({
12545
+ region: regionSchema,
12546
+ accountId: stringType(),
12547
+ accountEmail: stringType(),
12548
+ feedJobsCount: numberType(),
12549
+ duration: stringType(),
12550
+ });
12551
+ const scrapeFeedJobsDetailsFailedEventMetadata = objectType({
12552
+ region: regionSchema,
12553
+ accountId: stringType(),
12554
+ accountEmail: stringType(),
12555
+ error: stringType(),
12556
+ duration: stringType(),
12557
+ });
12528
12558
  const scrapeJobStartedEventMetadata = objectType({
12529
12559
  listing: feedJobSchema,
12530
12560
  region: regionSchema,
@@ -14048,6 +14078,10 @@ exports.registerSchema = registerSchema;
14048
14078
  exports.requiredEarningsEnum = requiredEarningsEnum;
14049
14079
  exports.requiredJSSEnum = requiredJSSEnum;
14050
14080
  exports.savedSearchSchema = savedSearchSchema;
14081
+ exports.scrapeFeedEventMetadata = scrapeFeedEventMetadata;
14082
+ exports.scrapeFeedJobsDetailsCompletedEventMetadata = scrapeFeedJobsDetailsCompletedEventMetadata;
14083
+ exports.scrapeFeedJobsDetailsFailedEventMetadata = scrapeFeedJobsDetailsFailedEventMetadata;
14084
+ exports.scrapeFeedJobsDetailsStartedEventMetadata = scrapeFeedJobsDetailsStartedEventMetadata;
14051
14085
  exports.scrapeFeedResultSchema = scrapeFeedResultSchema;
14052
14086
  exports.scrapeJobActivityPayloadSchema = scrapeJobActivityPayloadSchema;
14053
14087
  exports.scrapeJobFailedEventMetadata = scrapeJobFailedEventMetadata;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
2
+ export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
3
3
  export declare const logEventSchema: z.ZodObject<{
4
- type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
4
+ type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
5
5
  source: z.ZodString;
6
6
  resourceType: z.ZodDefault<z.ZodString>;
7
7
  resourceId: z.ZodNullable<z.ZodString>;
@@ -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: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
16
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
17
17
  source: string;
18
18
  resourceType: string;
19
19
  resourceId: string | null;
@@ -25,7 +25,7 @@ export declare const logEventSchema: z.ZodObject<{
25
25
  metadata: Record<string, unknown> | null;
26
26
  timestamp: number;
27
27
  }, {
28
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
28
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
29
29
  source: string;
30
30
  resourceId: string | null;
31
31
  organizationId: string | null;
@@ -82,6 +82,85 @@ export declare const listingScrapedEventMetadata: z.ZodObject<{
82
82
  region: "USOnly" | "UKOnly" | "Worldwide" | null;
83
83
  };
84
84
  }>;
85
+ export declare const scrapeFeedEventMetadata: z.ZodObject<{
86
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
87
+ error: z.ZodString;
88
+ }, "strip", z.ZodTypeAny, {
89
+ region: "USOnly" | "UKOnly" | "Worldwide";
90
+ error: string;
91
+ }, {
92
+ region: "USOnly" | "UKOnly" | "Worldwide";
93
+ error: string;
94
+ }>;
95
+ export declare const scrapeFeedJobsDetailsStartedEventMetadata: z.ZodObject<{
96
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
97
+ accounts: z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ email: z.ZodString;
100
+ }, "strip", z.ZodTypeAny, {
101
+ id: string;
102
+ email: string;
103
+ }, {
104
+ id: string;
105
+ email: string;
106
+ }>, "many">;
107
+ feedJobsCount: z.ZodNumber;
108
+ chunksSize: z.ZodNumber;
109
+ }, "strip", z.ZodTypeAny, {
110
+ region: "USOnly" | "UKOnly" | "Worldwide";
111
+ accounts: {
112
+ id: string;
113
+ email: string;
114
+ }[];
115
+ feedJobsCount: number;
116
+ chunksSize: number;
117
+ }, {
118
+ region: "USOnly" | "UKOnly" | "Worldwide";
119
+ accounts: {
120
+ id: string;
121
+ email: string;
122
+ }[];
123
+ feedJobsCount: number;
124
+ chunksSize: number;
125
+ }>;
126
+ export declare const scrapeFeedJobsDetailsCompletedEventMetadata: z.ZodObject<{
127
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
128
+ accountId: z.ZodString;
129
+ accountEmail: z.ZodString;
130
+ feedJobsCount: z.ZodNumber;
131
+ duration: z.ZodString;
132
+ }, "strip", z.ZodTypeAny, {
133
+ region: "USOnly" | "UKOnly" | "Worldwide";
134
+ feedJobsCount: number;
135
+ accountId: string;
136
+ accountEmail: string;
137
+ duration: string;
138
+ }, {
139
+ region: "USOnly" | "UKOnly" | "Worldwide";
140
+ feedJobsCount: number;
141
+ accountId: string;
142
+ accountEmail: string;
143
+ duration: string;
144
+ }>;
145
+ export declare const scrapeFeedJobsDetailsFailedEventMetadata: z.ZodObject<{
146
+ region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
147
+ accountId: z.ZodString;
148
+ accountEmail: z.ZodString;
149
+ error: z.ZodString;
150
+ duration: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ region: "USOnly" | "UKOnly" | "Worldwide";
153
+ error: string;
154
+ accountId: string;
155
+ accountEmail: string;
156
+ duration: string;
157
+ }, {
158
+ region: "USOnly" | "UKOnly" | "Worldwide";
159
+ error: string;
160
+ accountId: string;
161
+ accountEmail: string;
162
+ duration: string;
163
+ }>;
85
164
  export declare const scrapeJobStartedEventMetadata: z.ZodObject<{
86
165
  listing: z.ZodObject<{
87
166
  uid: z.ZodNullable<z.ZodString>;
@@ -170,9 +249,9 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
170
249
  isFeatured: boolean | null;
171
250
  region: "USOnly" | "UKOnly" | "Worldwide" | null;
172
251
  };
252
+ error: string;
173
253
  accountId: string;
174
254
  accountEmail: string;
175
- error: string;
176
255
  }, {
177
256
  region: "USOnly" | "UKOnly" | "Worldwide";
178
257
  listing: {
@@ -183,9 +262,9 @@ export declare const scrapeJobFailedEventMetadata: z.ZodObject<{
183
262
  isFeatured: boolean | null;
184
263
  region: "USOnly" | "UKOnly" | "Worldwide" | null;
185
264
  };
265
+ error: string;
186
266
  accountId: string;
187
267
  accountEmail: string;
188
- error: string;
189
268
  }>;
190
269
  export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
191
270
  activity: z.ZodObject<{
@@ -340,19 +419,19 @@ export declare const feedScrapeCompletedEventMetadata: z.ZodObject<{
340
419
  durationMillis: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
341
420
  }, "strip", z.ZodTypeAny, {
342
421
  region: "USOnly" | "UKOnly" | "Worldwide";
343
- accountEmail: string;
344
422
  id: string;
423
+ accountEmail: string;
424
+ duration: string;
345
425
  endTime: number;
346
426
  listingCount: number;
347
- duration: string;
348
427
  durationMillis?: number | null | undefined;
349
428
  }, {
350
429
  region: "USOnly" | "UKOnly" | "Worldwide";
351
- accountEmail: string;
352
430
  id: string;
431
+ accountEmail: string;
432
+ duration: string;
353
433
  endTime: number;
354
434
  listingCount: number;
355
- duration: string;
356
435
  durationMillis?: number | null | undefined;
357
436
  }>;
358
437
  export declare const biddingCompletedEventMetadata: z.ZodObject<{
@@ -445,12 +524,16 @@ export declare const biddingRejectedWithFeedbackEventMetadata: z.ZodObject<{
445
524
  export type LogEventType = z.infer<typeof LogEventTypeEnum>;
446
525
  export type LogEvent = z.infer<typeof logEventSchema>;
447
526
  export type ListingScrapedEventMetadata = z.infer<typeof listingScrapedEventMetadata>;
527
+ export type ScrapeFeedEventMetadata = z.infer<typeof scrapeFeedEventMetadata>;
448
528
  export type ScrapeJobStartedEventMetadata = z.infer<typeof scrapeJobStartedEventMetadata>;
449
529
  export type ScrapeJobFailedEventMetadata = z.infer<typeof scrapeJobFailedEventMetadata>;
450
530
  export type JobActivityScrapedEventMetadata = z.infer<typeof jobActivityScrapedEventMetadata>;
451
531
  export type JobActivityScrapeFailedEventMetadata = z.infer<typeof jobActivityScrapeFailedEventMetadata>;
452
532
  export type FeedScrapeStartedEventMetadata = z.infer<typeof feedScrapeStartedEventMetadata>;
453
533
  export type FeedScrapeCompletedEventMetadata = z.infer<typeof feedScrapeCompletedEventMetadata>;
534
+ export type ScrapeFeedJobsDetailsStartedEventMetadata = z.infer<typeof scrapeFeedJobsDetailsStartedEventMetadata>;
535
+ export type ScrapeFeedJobsDetailsCompletedEventMetadata = z.infer<typeof scrapeFeedJobsDetailsCompletedEventMetadata>;
536
+ export type ScrapeFeedJobsDetailsFailedEventMetadata = z.infer<typeof scrapeFeedJobsDetailsFailedEventMetadata>;
454
537
  export type BiddingCompletedEventMetadata = z.infer<typeof biddingCompletedEventMetadata>;
455
538
  export type BiddingFailedEventMetadata = z.infer<typeof biddingFailedEventMetadata>;
456
539
  export type BiddingRejectedWithFeedbackEventMetadata = z.infer<typeof biddingRejectedWithFeedbackEventMetadata>;
@@ -665,7 +748,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
665
748
  }>;
666
749
  export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
667
750
  export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
668
- type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
751
+ type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
669
752
  source: z.ZodString;
670
753
  resourceType: z.ZodDefault<z.ZodString>;
671
754
  resourceId: z.ZodNullable<z.ZodString>;
@@ -677,7 +760,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
677
760
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
678
761
  timestamp: z.ZodNumber;
679
762
  }, "strip", z.ZodTypeAny, {
680
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
763
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
681
764
  source: string;
682
765
  resourceType: string;
683
766
  resourceId: string | null;
@@ -689,7 +772,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
689
772
  metadata: Record<string, unknown> | null;
690
773
  timestamp: number;
691
774
  }, {
692
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
775
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
693
776
  source: string;
694
777
  resourceId: string | null;
695
778
  organizationId: string | null;
@@ -701,7 +784,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
701
784
  timestamp: number;
702
785
  resourceType?: string | undefined;
703
786
  }>, z.ZodArray<z.ZodObject<{
704
- type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
787
+ type: z.ZodEnum<["scraperStarted", "scraperCompleted", "scrapeJobStarted", "jobScraped", "jobScrapeFailed", "scrapeJobDetailsStarted", "scrapeJobDetailsCompleted", "scrapeJobDetailsFailed", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobActivityScraped", "jobActivityScrapeFailed", "leadStatusCheckFailed", "leadStatusUpdated", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "jobListingScraped", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
705
788
  source: z.ZodString;
706
789
  resourceType: z.ZodDefault<z.ZodString>;
707
790
  resourceId: z.ZodNullable<z.ZodString>;
@@ -713,7 +796,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
713
796
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
714
797
  timestamp: z.ZodNumber;
715
798
  }, "strip", z.ZodTypeAny, {
716
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
799
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
717
800
  source: string;
718
801
  resourceType: string;
719
802
  resourceId: string | null;
@@ -725,7 +808,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
725
808
  metadata: Record<string, unknown> | null;
726
809
  timestamp: number;
727
810
  }, {
728
- type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
811
+ type: "scraperStarted" | "scraperCompleted" | "scrapeJobStarted" | "jobScraped" | "jobScrapeFailed" | "scrapeJobDetailsStarted" | "scrapeJobDetailsCompleted" | "scrapeJobDetailsFailed" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobActivityScraped" | "jobActivityScrapeFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "jobListingScraped" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "manualSuitabilityAnalyzed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "manualProposalGenerated" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
729
812
  source: string;
730
813
  resourceId: string | null;
731
814
  organizationId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.114",
3
+ "version": "1.2.115",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",