lancer-shared 1.2.169 → 1.2.170
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Lead } from 'lancer-shared';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import { proposalSchema } from './proposal';
|
|
3
4
|
export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
@@ -419,7 +420,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
419
420
|
answer: string;
|
|
420
421
|
}>, "many">>;
|
|
421
422
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
422
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
423
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
423
424
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
424
425
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
425
426
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -533,7 +534,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
533
534
|
suitabilityReason: string | null;
|
|
534
535
|
proposal: string | null;
|
|
535
536
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
536
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
537
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
537
538
|
biddingAmount: number | null;
|
|
538
539
|
boosted: boolean | null;
|
|
539
540
|
boostingAmount: number | null;
|
|
@@ -668,7 +669,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
668
669
|
suitabilityReason: string | null;
|
|
669
670
|
proposal: string | null;
|
|
670
671
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
671
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
672
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
672
673
|
biddingAmount: number | null;
|
|
673
674
|
boosted: boolean | null;
|
|
674
675
|
boostingAmount: number | null;
|
|
@@ -819,7 +820,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
819
820
|
suitabilityReason: string | null;
|
|
820
821
|
proposal: string | null;
|
|
821
822
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
822
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
823
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
823
824
|
biddingAmount: number | null;
|
|
824
825
|
boosted: boolean | null;
|
|
825
826
|
boostingAmount: number | null;
|
|
@@ -964,7 +965,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
964
965
|
suitabilityReason: string | null;
|
|
965
966
|
proposal: string | null;
|
|
966
967
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
967
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
968
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
968
969
|
biddingAmount: number | null;
|
|
969
970
|
boosted: boolean | null;
|
|
970
971
|
boostingAmount: number | null;
|
|
@@ -1027,6 +1028,7 @@ export declare const agentPickSpecialisedProfileResponseSchema: z.ZodObject<{
|
|
|
1027
1028
|
reason: string;
|
|
1028
1029
|
}>;
|
|
1029
1030
|
export interface AgentCalculateSuitabilityRequest extends z.infer<typeof agentCalculateSuitabilityRequestSchema> {
|
|
1031
|
+
lead: Lead;
|
|
1030
1032
|
}
|
|
1031
1033
|
export interface AgentGenerateProposalRequest extends z.infer<typeof agentGenerateProposalRequestSchema> {
|
|
1032
1034
|
}
|