lancer-shared 1.2.164 → 1.2.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.
package/dist/bundle.cjs.js
CHANGED
|
@@ -12690,6 +12690,7 @@ const leadStatusEnum = z.enum([
|
|
|
12690
12690
|
'leads',
|
|
12691
12691
|
'contacted',
|
|
12692
12692
|
'insufficientConnects',
|
|
12693
|
+
'doesNotMeetCriteria',
|
|
12693
12694
|
'viewed',
|
|
12694
12695
|
'replied',
|
|
12695
12696
|
'won',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
|
|
3
|
-
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
|
|
3
|
+
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>;
|
|
4
4
|
export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
5
5
|
leadId: z.ZodString;
|
|
6
6
|
organizationId: z.ZodString;
|
|
7
7
|
campaignId: z.ZodString;
|
|
8
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
|
|
8
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>;
|
|
9
9
|
proposalId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
userId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13,7 +13,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
13
13
|
leadId: string;
|
|
14
14
|
organizationId: string;
|
|
15
15
|
campaignId: string;
|
|
16
|
-
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
16
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won";
|
|
17
17
|
proposalId?: string | undefined;
|
|
18
18
|
userId?: string | undefined;
|
|
19
19
|
wonAmount?: number | undefined;
|
|
@@ -21,19 +21,19 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
21
21
|
leadId: string;
|
|
22
22
|
organizationId: string;
|
|
23
23
|
campaignId: string;
|
|
24
|
-
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
24
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won";
|
|
25
25
|
proposalId?: string | undefined;
|
|
26
26
|
userId?: string | undefined;
|
|
27
27
|
wonAmount?: number | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
|
|
30
30
|
applicationUid: z.ZodString;
|
|
31
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
|
|
31
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
33
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won";
|
|
34
34
|
applicationUid: string;
|
|
35
35
|
}, {
|
|
36
|
-
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
36
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won";
|
|
37
37
|
applicationUid: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
export type LeadStatus = z.infer<typeof leadStatusEnum>;
|