lancer-shared 1.2.201 → 1.2.202
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
|
@@ -12714,6 +12714,7 @@ const leadStatusEnum = z.enum([
|
|
|
12714
12714
|
'dailyLimitReached',
|
|
12715
12715
|
'boostAboveMaxConnects',
|
|
12716
12716
|
'privateJob',
|
|
12717
|
+
'noLongerAvailable',
|
|
12717
12718
|
'viewed',
|
|
12718
12719
|
'replied',
|
|
12719
12720
|
'won',
|
|
@@ -13309,6 +13310,7 @@ const updateCampaignAnalyticsSchema = z.object({
|
|
|
13309
13310
|
'dailyLimitReached',
|
|
13310
13311
|
'privateJob',
|
|
13311
13312
|
'insufficientConnects',
|
|
13313
|
+
'noLongerAvailable',
|
|
13312
13314
|
'won',
|
|
13313
13315
|
'leadsAnalyzed',
|
|
13314
13316
|
'leadsFailed',
|
|
@@ -646,7 +646,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
646
646
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
647
647
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
648
648
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
649
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
649
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
650
650
|
expenses: z.ZodObject<{
|
|
651
651
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
652
652
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1277,7 +1277,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1277
1277
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1278
1278
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1279
1279
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1280
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
1280
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
1281
1281
|
expenses: z.ZodObject<{
|
|
1282
1282
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1283
1283
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1704,7 +1704,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1704
1704
|
answer: string;
|
|
1705
1705
|
}>, "many">>;
|
|
1706
1706
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1707
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
1707
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
1708
1708
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1709
1709
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1710
1710
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2260,7 +2260,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2260
2260
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2261
2261
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2262
2262
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2263
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2263
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2264
2264
|
expenses: z.ZodObject<{
|
|
2265
2265
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
2266
2266
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2369,7 +2369,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2369
2369
|
creditBalance: z.ZodNumber;
|
|
2370
2370
|
}, {
|
|
2371
2371
|
type: z.ZodLiteral<"lead_status">;
|
|
2372
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
2372
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>;
|
|
2373
2373
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
2374
2374
|
id: z.ZodNullable<z.ZodString>;
|
|
2375
2375
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -2688,7 +2688,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2688
2688
|
answer: string;
|
|
2689
2689
|
}>, "many">>;
|
|
2690
2690
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2691
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
2691
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
2692
2692
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2693
2693
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2694
2694
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2713,7 +2713,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2713
2713
|
creditBalance: z.ZodNumber;
|
|
2714
2714
|
}>, "strip", z.ZodTypeAny, {
|
|
2715
2715
|
type: "lead_status";
|
|
2716
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob";
|
|
2716
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable";
|
|
2717
2717
|
createdAt: number;
|
|
2718
2718
|
organization: {
|
|
2719
2719
|
id: string;
|
|
@@ -2732,7 +2732,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2732
2732
|
};
|
|
2733
2733
|
}, {
|
|
2734
2734
|
type: "lead_status";
|
|
2735
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob";
|
|
2735
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable";
|
|
2736
2736
|
createdAt: number;
|
|
2737
2737
|
organization: {
|
|
2738
2738
|
id: string;
|
|
@@ -3243,7 +3243,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3243
3243
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3244
3244
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3245
3245
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3246
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3246
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3247
3247
|
expenses: z.ZodObject<{
|
|
3248
3248
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3249
3249
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3670,7 +3670,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3670
3670
|
answer: string;
|
|
3671
3671
|
}>, "many">>;
|
|
3672
3672
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
3673
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
3673
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
3674
3674
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3675
3675
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3676
3676
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4223,7 +4223,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4223
4223
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4224
4224
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4225
4225
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4226
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4226
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4227
4227
|
expenses: z.ZodObject<{
|
|
4228
4228
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4229
4229
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4853,7 +4853,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4853
4853
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4854
4854
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4855
4855
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4856
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4856
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4857
4857
|
expenses: z.ZodObject<{
|
|
4858
4858
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4859
4859
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5280,7 +5280,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5280
5280
|
answer: string;
|
|
5281
5281
|
}>, "many">>;
|
|
5282
5282
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
5283
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
5283
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
5284
5284
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
5285
5285
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
5286
5286
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5835,7 +5835,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5835
5835
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5836
5836
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5837
5837
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5838
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5838
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5839
5839
|
expenses: z.ZodObject<{
|
|
5840
5840
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
5841
5841
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5944,7 +5944,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5944
5944
|
creditBalance: z.ZodNumber;
|
|
5945
5945
|
}, {
|
|
5946
5946
|
type: z.ZodLiteral<"lead_status">;
|
|
5947
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
5947
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>;
|
|
5948
5948
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
5949
5949
|
id: z.ZodNullable<z.ZodString>;
|
|
5950
5950
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -6263,7 +6263,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6263
6263
|
answer: string;
|
|
6264
6264
|
}>, "many">>;
|
|
6265
6265
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
6266
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
6266
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
6267
6267
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6268
6268
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6269
6269
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6288,7 +6288,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6288
6288
|
creditBalance: z.ZodNumber;
|
|
6289
6289
|
}>, "strip", z.ZodTypeAny, {
|
|
6290
6290
|
type: "lead_status";
|
|
6291
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob";
|
|
6291
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable";
|
|
6292
6292
|
createdAt: number;
|
|
6293
6293
|
organization: {
|
|
6294
6294
|
id: string;
|
|
@@ -6307,7 +6307,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6307
6307
|
};
|
|
6308
6308
|
}, {
|
|
6309
6309
|
type: "lead_status";
|
|
6310
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob";
|
|
6310
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable";
|
|
6311
6311
|
createdAt: number;
|
|
6312
6312
|
organization: {
|
|
6313
6313
|
id: string;
|
|
@@ -6817,7 +6817,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6817
6817
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6818
6818
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6819
6819
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6820
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6820
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6821
6821
|
expenses: z.ZodObject<{
|
|
6822
6822
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
6823
6823
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7244,7 +7244,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7244
7244
|
answer: string;
|
|
7245
7245
|
}>, "many">>;
|
|
7246
7246
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7247
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
7247
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
7248
7248
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7249
7249
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7250
7250
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7636,7 +7636,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7636
7636
|
answer: string;
|
|
7637
7637
|
}>, "many">>;
|
|
7638
7638
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7639
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
7639
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
7640
7640
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7641
7641
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7642
7642
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7682,7 +7682,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7682
7682
|
};
|
|
7683
7683
|
}>, z.ZodObject<{
|
|
7684
7684
|
type: z.ZodLiteral<"lead_status">;
|
|
7685
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
7685
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>;
|
|
7686
7686
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
7687
7687
|
id: z.ZodNullable<z.ZodString>;
|
|
7688
7688
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -8001,7 +8001,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8001
8001
|
answer: string;
|
|
8002
8002
|
}>, "many">>;
|
|
8003
8003
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
8004
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
8004
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
8005
8005
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
8006
8006
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
8007
8007
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8026,7 +8026,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8026
8026
|
creditBalance: z.ZodNumber;
|
|
8027
8027
|
}, "strip", z.ZodTypeAny, {
|
|
8028
8028
|
type: "lead_status";
|
|
8029
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob";
|
|
8029
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable";
|
|
8030
8030
|
creditBalance: number;
|
|
8031
8031
|
lead: {
|
|
8032
8032
|
id: string | null;
|
|
@@ -8036,7 +8036,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8036
8036
|
};
|
|
8037
8037
|
}, {
|
|
8038
8038
|
type: "lead_status";
|
|
8039
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob";
|
|
8039
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable";
|
|
8040
8040
|
creditBalance: number;
|
|
8041
8041
|
lead: {
|
|
8042
8042
|
id: string | null;
|
|
@@ -8364,7 +8364,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8364
8364
|
answer: string;
|
|
8365
8365
|
}>, "many">>;
|
|
8366
8366
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
8367
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>>;
|
|
8367
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>>;
|
|
8368
8368
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
8369
8369
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
8370
8370
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8409,15 +8409,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8409
8409
|
export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
8410
8410
|
organizationId: z.ZodString;
|
|
8411
8411
|
campaignId: z.ZodString;
|
|
8412
|
-
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "boostAboveMaxConnects", "dailyLimitReached", "privateJob", "insufficientConnects", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
8412
|
+
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "boostAboveMaxConnects", "dailyLimitReached", "privateJob", "insufficientConnects", "noLongerAvailable", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
8413
8413
|
}, "strip", z.ZodTypeAny, {
|
|
8414
8414
|
campaignId: string;
|
|
8415
8415
|
organizationId: string;
|
|
8416
|
-
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "proposalsFailed")[];
|
|
8416
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "proposalsFailed")[];
|
|
8417
8417
|
}, {
|
|
8418
8418
|
campaignId: string;
|
|
8419
8419
|
organizationId: string;
|
|
8420
|
-
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "proposalsFailed")[];
|
|
8420
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "proposalsFailed")[];
|
|
8421
8421
|
}>;
|
|
8422
8422
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
8423
8423
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|
|
@@ -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", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
3
|
+
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "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", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
8
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "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" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
16
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "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" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
24
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "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", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "viewed", "replied", "won"]>;
|
|
31
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "viewed", "replied", "won"]>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
33
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "viewed" | "replied" | "won";
|
|
34
34
|
applicationUid: string;
|
|
35
35
|
}, {
|
|
36
|
-
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "viewed" | "replied" | "won";
|
|
36
|
+
status: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "viewed" | "replied" | "won";
|
|
37
37
|
applicationUid: string;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
export type LeadStatus = z.infer<typeof leadStatusEnum>;
|