lancer-shared 1.0.163 → 1.0.165
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.
|
@@ -89,6 +89,10 @@ export declare const ROUTES: {
|
|
|
89
89
|
readonly BY_PROVIDER: (provider: string) => string;
|
|
90
90
|
readonly BY_PROVIDER_AND_ID: (provider: string, id: string) => string;
|
|
91
91
|
};
|
|
92
|
+
readonly PROXIES: {
|
|
93
|
+
readonly BASE: "admin/proxies";
|
|
94
|
+
readonly BY_ID: (id: string) => string;
|
|
95
|
+
};
|
|
92
96
|
};
|
|
93
97
|
readonly BID: {
|
|
94
98
|
readonly BASE: "bid";
|
package/dist/constants/routes.js
CHANGED
|
@@ -91,6 +91,10 @@ exports.ROUTES = {
|
|
|
91
91
|
BY_PROVIDER: (provider) => `admin/scraper-accounts/${provider}`,
|
|
92
92
|
BY_PROVIDER_AND_ID: (provider, id) => `admin/scraper-accounts/${provider}/${id}`,
|
|
93
93
|
},
|
|
94
|
+
PROXIES: {
|
|
95
|
+
BASE: 'admin/proxies',
|
|
96
|
+
BY_ID: (id) => `admin/proxies/${id}`,
|
|
97
|
+
},
|
|
94
98
|
},
|
|
95
99
|
BID: {
|
|
96
100
|
BASE: 'bid',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "scraperCompleted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
|
|
2
|
+
export declare const LogEventTypeEnum: z.ZodEnum<["scraperStarted", "scraperCompleted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "userProfileScrapingStarted", "userProfileScrapingComplete", "userProfileScrapingFailed", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "knowledgeBaseGenerationComplete", "knowledgeBaseGenerationFailed"]>;
|
|
3
3
|
export declare const logEventSchema: z.ZodObject<{
|
|
4
|
-
type: z.ZodEnum<["scraperStarted", "scraperCompleted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged"]>;
|
|
4
|
+
type: z.ZodEnum<["scraperStarted", "scraperCompleted", "jobScraped", "jobsIndexed", "jobDuplicateSkipped", "scraperFailed", "userProfileScrapingStarted", "userProfileScrapingComplete", "userProfileScrapingFailed", "jobSyncPublished", "jobSyncReceived", "leadsCreatedAndSynced", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "knowledgeBaseGenerationComplete", "knowledgeBaseGenerationFailed"]>;
|
|
5
5
|
source: z.ZodString;
|
|
6
6
|
resourceType: z.ZodDefault<z.ZodString>;
|
|
7
7
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -12,7 +12,7 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
12
12
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
13
|
timestamp: z.ZodNumber;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
15
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "userProfileScrapingStarted" | "userProfileScrapingComplete" | "userProfileScrapingFailed" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "knowledgeBaseGenerationComplete" | "knowledgeBaseGenerationFailed";
|
|
16
16
|
reason: string | null;
|
|
17
17
|
source: string;
|
|
18
18
|
metadata: Record<string, unknown> | null;
|
|
@@ -23,7 +23,7 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
23
23
|
resourceId: string | null;
|
|
24
24
|
userId: string | null;
|
|
25
25
|
}, {
|
|
26
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
26
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "userProfileScrapingStarted" | "userProfileScrapingComplete" | "userProfileScrapingFailed" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "knowledgeBaseGenerationComplete" | "knowledgeBaseGenerationFailed";
|
|
27
27
|
reason: string | null;
|
|
28
28
|
source: string;
|
|
29
29
|
metadata: Record<string, unknown> | null;
|
|
@@ -10,6 +10,9 @@ exports.LogEventTypeEnum = zod_1.z.enum([
|
|
|
10
10
|
"jobsIndexed",
|
|
11
11
|
"jobDuplicateSkipped",
|
|
12
12
|
"scraperFailed",
|
|
13
|
+
"userProfileScrapingStarted",
|
|
14
|
+
"userProfileScrapingComplete",
|
|
15
|
+
"userProfileScrapingFailed",
|
|
13
16
|
// Job Sync & Campaign Matching
|
|
14
17
|
"jobSyncPublished",
|
|
15
18
|
"jobSyncReceived",
|
|
@@ -37,6 +40,9 @@ exports.LogEventTypeEnum = zod_1.z.enum([
|
|
|
37
40
|
"manualLeadEdited",
|
|
38
41
|
"leadArchived",
|
|
39
42
|
"auditTrailLogged",
|
|
43
|
+
// Knowledge Base Events
|
|
44
|
+
"knowledgeBaseGenerationComplete",
|
|
45
|
+
"knowledgeBaseGenerationFailed",
|
|
40
46
|
]);
|
|
41
47
|
exports.logEventSchema = zod_1.z.object({
|
|
42
48
|
// The type of event (use a z.enum if possible)
|