lancer-shared 1.2.21 → 1.2.23
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.
package/dist/bundle.cjs.js
CHANGED
|
@@ -6295,6 +6295,7 @@ const checkLeadStatusPayloadSchema = objectType({
|
|
|
6295
6295
|
organization: organizationSchema,
|
|
6296
6296
|
lead: leadSchema,
|
|
6297
6297
|
bidder: bidderAccountSchema,
|
|
6298
|
+
firstExecutionTime: numberType(),
|
|
6298
6299
|
});
|
|
6299
6300
|
|
|
6300
6301
|
const scrapeResultSchema = objectType({
|
|
@@ -6405,6 +6406,27 @@ const registerSchema = objectType({
|
|
|
6405
6406
|
path: ["confirmPassword"],
|
|
6406
6407
|
});
|
|
6407
6408
|
|
|
6409
|
+
const organizationCampaignStatsSchema = z.object({
|
|
6410
|
+
organizationId: z.string(),
|
|
6411
|
+
organizationName: z.string(),
|
|
6412
|
+
organizationType: z.string(),
|
|
6413
|
+
tierId: z.string(),
|
|
6414
|
+
active: z.boolean(),
|
|
6415
|
+
createdAt: z.number(),
|
|
6416
|
+
campaignCount: z.number(),
|
|
6417
|
+
activeCampaignCount: z.number(),
|
|
6418
|
+
totalStats: z.object({
|
|
6419
|
+
contacted: z.number(),
|
|
6420
|
+
viewed: z.number(),
|
|
6421
|
+
replied: z.number(),
|
|
6422
|
+
interview: z.number(),
|
|
6423
|
+
won: z.number(),
|
|
6424
|
+
proposalsGenerated: z.number(),
|
|
6425
|
+
leadsAnalyzed: z.number(),
|
|
6426
|
+
leadsFailed: z.number(),
|
|
6427
|
+
}),
|
|
6428
|
+
});
|
|
6429
|
+
|
|
6408
6430
|
const commonQuestions = [
|
|
6409
6431
|
{
|
|
6410
6432
|
id: 'similar_experience',
|
|
@@ -12632,6 +12654,9 @@ const ROUTES = {
|
|
|
12632
12654
|
REVENUE: {
|
|
12633
12655
|
BASE: "admin/revenue",
|
|
12634
12656
|
},
|
|
12657
|
+
DASHBOARD: {
|
|
12658
|
+
CAMPAIGN_STATS: "admin/dashboard/campaign-stats",
|
|
12659
|
+
},
|
|
12635
12660
|
},
|
|
12636
12661
|
BID: {
|
|
12637
12662
|
BASE: "bid",
|
|
@@ -13220,6 +13245,7 @@ exports.metadataSchema = metadataSchema;
|
|
|
13220
13245
|
exports.notificationConfigSchema = notificationConfigSchema;
|
|
13221
13246
|
exports.nuxtStateJobSchema = nuxtStateJobSchema;
|
|
13222
13247
|
exports.onboardingProgressSchema = onboardingProgressSchema;
|
|
13248
|
+
exports.organizationCampaignStatsSchema = organizationCampaignStatsSchema;
|
|
13223
13249
|
exports.organizationMemberRoleEnum = organizationMemberRoleEnum;
|
|
13224
13250
|
exports.organizationMemberSchema = organizationMemberSchema;
|
|
13225
13251
|
exports.organizationSchema = organizationSchema;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const organizationCampaignStatsSchema: z.ZodObject<{
|
|
3
|
+
organizationId: z.ZodString;
|
|
4
|
+
organizationName: z.ZodString;
|
|
5
|
+
organizationType: z.ZodString;
|
|
6
|
+
tierId: z.ZodString;
|
|
7
|
+
active: z.ZodBoolean;
|
|
8
|
+
createdAt: z.ZodNumber;
|
|
9
|
+
campaignCount: z.ZodNumber;
|
|
10
|
+
activeCampaignCount: z.ZodNumber;
|
|
11
|
+
totalStats: z.ZodObject<{
|
|
12
|
+
contacted: z.ZodNumber;
|
|
13
|
+
viewed: z.ZodNumber;
|
|
14
|
+
replied: z.ZodNumber;
|
|
15
|
+
interview: z.ZodNumber;
|
|
16
|
+
won: z.ZodNumber;
|
|
17
|
+
proposalsGenerated: z.ZodNumber;
|
|
18
|
+
leadsAnalyzed: z.ZodNumber;
|
|
19
|
+
leadsFailed: z.ZodNumber;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
contacted: number;
|
|
22
|
+
viewed: number;
|
|
23
|
+
replied: number;
|
|
24
|
+
interview: number;
|
|
25
|
+
won: number;
|
|
26
|
+
proposalsGenerated: number;
|
|
27
|
+
leadsAnalyzed: number;
|
|
28
|
+
leadsFailed: number;
|
|
29
|
+
}, {
|
|
30
|
+
contacted: number;
|
|
31
|
+
viewed: number;
|
|
32
|
+
replied: number;
|
|
33
|
+
interview: number;
|
|
34
|
+
won: number;
|
|
35
|
+
proposalsGenerated: number;
|
|
36
|
+
leadsAnalyzed: number;
|
|
37
|
+
leadsFailed: number;
|
|
38
|
+
}>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
organizationId: string;
|
|
41
|
+
organizationName: string;
|
|
42
|
+
organizationType: string;
|
|
43
|
+
tierId: string;
|
|
44
|
+
active: boolean;
|
|
45
|
+
createdAt: number;
|
|
46
|
+
campaignCount: number;
|
|
47
|
+
activeCampaignCount: number;
|
|
48
|
+
totalStats: {
|
|
49
|
+
contacted: number;
|
|
50
|
+
viewed: number;
|
|
51
|
+
replied: number;
|
|
52
|
+
interview: number;
|
|
53
|
+
won: number;
|
|
54
|
+
proposalsGenerated: number;
|
|
55
|
+
leadsAnalyzed: number;
|
|
56
|
+
leadsFailed: number;
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
organizationId: string;
|
|
60
|
+
organizationName: string;
|
|
61
|
+
organizationType: string;
|
|
62
|
+
tierId: string;
|
|
63
|
+
active: boolean;
|
|
64
|
+
createdAt: number;
|
|
65
|
+
campaignCount: number;
|
|
66
|
+
activeCampaignCount: number;
|
|
67
|
+
totalStats: {
|
|
68
|
+
contacted: number;
|
|
69
|
+
viewed: number;
|
|
70
|
+
replied: number;
|
|
71
|
+
interview: number;
|
|
72
|
+
won: number;
|
|
73
|
+
proposalsGenerated: number;
|
|
74
|
+
leadsAnalyzed: number;
|
|
75
|
+
leadsFailed: number;
|
|
76
|
+
};
|
|
77
|
+
}>;
|
|
78
|
+
export type OrganizationCampaignStats = z.infer<typeof organizationCampaignStatsSchema>;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1016,6 +1016,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1016
1016
|
multiLoginProfileId: string | null;
|
|
1017
1017
|
proxyId: string | null;
|
|
1018
1018
|
}>;
|
|
1019
|
+
firstExecutionTime: import("zod").ZodNumber;
|
|
1019
1020
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1020
1021
|
userId: string;
|
|
1021
1022
|
campaignId: string;
|
|
@@ -1212,6 +1213,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1212
1213
|
multiLoginProfileId: string | null;
|
|
1213
1214
|
proxyId: string | null;
|
|
1214
1215
|
};
|
|
1216
|
+
firstExecutionTime: number;
|
|
1215
1217
|
}, {
|
|
1216
1218
|
userId: string;
|
|
1217
1219
|
campaignId: string;
|
|
@@ -1408,6 +1410,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1408
1410
|
multiLoginProfileId: string | null;
|
|
1409
1411
|
proxyId: string | null;
|
|
1410
1412
|
};
|
|
1413
|
+
firstExecutionTime: number;
|
|
1411
1414
|
}>;
|
|
1412
1415
|
export interface ScrapePayload extends infer<typeof scrapePayloadSchema> {
|
|
1413
1416
|
}
|