lancer-shared 1.2.88 → 1.2.89
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
|
@@ -12971,7 +12971,18 @@ const campaignActivityCreateSchema = z.discriminatedUnion("type", [
|
|
|
12971
12971
|
const updateCampaignAnalyticsSchema = z.object({
|
|
12972
12972
|
organizationId: z.string(),
|
|
12973
12973
|
campaignId: z.string(),
|
|
12974
|
-
|
|
12974
|
+
fields: z.array(z.enum([
|
|
12975
|
+
"contacted",
|
|
12976
|
+
"viewed",
|
|
12977
|
+
"replied",
|
|
12978
|
+
"won",
|
|
12979
|
+
"leadsAnalyzed",
|
|
12980
|
+
"leadsFailed",
|
|
12981
|
+
"proposalsFailed",
|
|
12982
|
+
"suitableJobs",
|
|
12983
|
+
"unsuitableJobs",
|
|
12984
|
+
"wonAmount",
|
|
12985
|
+
])),
|
|
12975
12986
|
});
|
|
12976
12987
|
|
|
12977
12988
|
const campaignNotificationType = z.enum([
|
|
@@ -7223,15 +7223,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7223
7223
|
export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
7224
7224
|
organizationId: z.ZodString;
|
|
7225
7225
|
campaignId: z.ZodString;
|
|
7226
|
-
|
|
7226
|
+
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
7227
7227
|
}, "strip", z.ZodTypeAny, {
|
|
7228
7228
|
campaignId: string;
|
|
7229
7229
|
organizationId: string;
|
|
7230
|
-
|
|
7230
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "proposalsFailed")[];
|
|
7231
7231
|
}, {
|
|
7232
7232
|
campaignId: string;
|
|
7233
7233
|
organizationId: string;
|
|
7234
|
-
|
|
7234
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "proposalsFailed")[];
|
|
7235
7235
|
}>;
|
|
7236
7236
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
7237
7237
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|