lancer-shared 1.2.22 → 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
|
@@ -6406,6 +6406,27 @@ const registerSchema = objectType({
|
|
|
6406
6406
|
path: ["confirmPassword"],
|
|
6407
6407
|
});
|
|
6408
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
|
+
|
|
6409
6430
|
const commonQuestions = [
|
|
6410
6431
|
{
|
|
6411
6432
|
id: 'similar_experience',
|
|
@@ -12633,6 +12654,9 @@ const ROUTES = {
|
|
|
12633
12654
|
REVENUE: {
|
|
12634
12655
|
BASE: "admin/revenue",
|
|
12635
12656
|
},
|
|
12657
|
+
DASHBOARD: {
|
|
12658
|
+
CAMPAIGN_STATS: "admin/dashboard/campaign-stats",
|
|
12659
|
+
},
|
|
12636
12660
|
},
|
|
12637
12661
|
BID: {
|
|
12638
12662
|
BASE: "bid",
|
|
@@ -13221,6 +13245,7 @@ exports.metadataSchema = metadataSchema;
|
|
|
13221
13245
|
exports.notificationConfigSchema = notificationConfigSchema;
|
|
13222
13246
|
exports.nuxtStateJobSchema = nuxtStateJobSchema;
|
|
13223
13247
|
exports.onboardingProgressSchema = onboardingProgressSchema;
|
|
13248
|
+
exports.organizationCampaignStatsSchema = organizationCampaignStatsSchema;
|
|
13224
13249
|
exports.organizationMemberRoleEnum = organizationMemberRoleEnum;
|
|
13225
13250
|
exports.organizationMemberSchema = organizationMemberSchema;
|
|
13226
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