lancer-shared 1.2.188 → 1.2.189
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 +165 -2
- package/dist/schemas/agent/index.d.ts +5 -5
- package/dist/schemas/bidder/bid.d.ts +44 -44
- package/dist/schemas/campaign/campaign-analytics.d.ts +109 -29
- package/dist/schemas/campaign/campaign.d.ts +78 -9
- package/dist/schemas/campaign/index.d.ts +1 -0
- package/dist/schemas/campaign/sequence/bid-node.d.ts +6 -0
- package/dist/schemas/campaign/sequence/boost-node.d.ts +26 -0
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +45 -0
- package/dist/schemas/campaign/sequence/client-size.d.ts +45 -0
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +92 -0
- package/dist/schemas/campaign/sequence/edges.d.ts +20 -0
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hire-rate.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +91 -0
- package/dist/schemas/campaign/sequence/hourly-rate.d.ts +91 -0
- package/dist/schemas/campaign/sequence/index.d.ts +9 -0
- package/dist/schemas/campaign/sequence/node-types.d.ts +3 -0
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +90 -0
- package/dist/schemas/campaign/sequence/suitability.d.ts +90 -0
- package/dist/schemas/lead/index.d.ts +18 -18
- package/dist/schemas/lead/lead-status.d.ts +7 -7
- package/dist/schemas/logger/log-event.d.ts +5 -5
- package/dist/schemas/scraper/scrape-payload.d.ts +66 -30
- package/package.json +1 -1
|
@@ -478,6 +478,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
478
478
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
479
479
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
480
480
|
}>>;
|
|
481
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
481
482
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
482
483
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
483
484
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -544,6 +545,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
544
545
|
memberSinceFrom: string | null;
|
|
545
546
|
memberSinceTo: string | null;
|
|
546
547
|
} | null;
|
|
548
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
547
549
|
vendorQualifications: {
|
|
548
550
|
locationIncludes: string[] | null;
|
|
549
551
|
locationExcludes: string[] | null;
|
|
@@ -594,6 +596,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
594
596
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
595
597
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
596
598
|
} | null;
|
|
599
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
597
600
|
vendorQualifications: {
|
|
598
601
|
locationIncludes: string[] | null;
|
|
599
602
|
locationExcludes: string[] | null;
|
|
@@ -620,7 +623,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
620
623
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
621
624
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
622
625
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
623
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
626
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
624
627
|
expenses: z.ZodObject<{
|
|
625
628
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
626
629
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -675,6 +678,13 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
675
678
|
}>>;
|
|
676
679
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
677
680
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
681
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
682
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
maxDailyProposalsSent: number | null;
|
|
685
|
+
}, {
|
|
686
|
+
maxDailyProposalsSent: number | null;
|
|
687
|
+
}>>;
|
|
678
688
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
679
689
|
id: string;
|
|
680
690
|
name: string;
|
|
@@ -1039,6 +1049,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1039
1049
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1040
1050
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1041
1051
|
}>>;
|
|
1052
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
1042
1053
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
1043
1054
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1044
1055
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1105,6 +1116,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1105
1116
|
memberSinceFrom: string | null;
|
|
1106
1117
|
memberSinceTo: string | null;
|
|
1107
1118
|
} | null;
|
|
1119
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1108
1120
|
vendorQualifications: {
|
|
1109
1121
|
locationIncludes: string[] | null;
|
|
1110
1122
|
locationExcludes: string[] | null;
|
|
@@ -1155,6 +1167,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1155
1167
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1156
1168
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1157
1169
|
} | null;
|
|
1170
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1158
1171
|
vendorQualifications: {
|
|
1159
1172
|
locationIncludes: string[] | null;
|
|
1160
1173
|
locationExcludes: string[] | null;
|
|
@@ -1181,7 +1194,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1181
1194
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1182
1195
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1183
1196
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
1184
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
1197
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
1185
1198
|
expenses: z.ZodObject<{
|
|
1186
1199
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1187
1200
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1236,6 +1249,13 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1236
1249
|
}>>;
|
|
1237
1250
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
1238
1251
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
1252
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
1253
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
1254
|
+
}, "strip", z.ZodTypeAny, {
|
|
1255
|
+
maxDailyProposalsSent: number | null;
|
|
1256
|
+
}, {
|
|
1257
|
+
maxDailyProposalsSent: number | null;
|
|
1258
|
+
}>>;
|
|
1239
1259
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
1240
1260
|
id: string;
|
|
1241
1261
|
name: string;
|
|
@@ -1564,7 +1584,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1564
1584
|
answer: string;
|
|
1565
1585
|
}>, "many">>;
|
|
1566
1586
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1567
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
1587
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
1568
1588
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1569
1589
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1570
1590
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1952,6 +1972,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1952
1972
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1953
1973
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1954
1974
|
}>>;
|
|
1975
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
1955
1976
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
1956
1977
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1957
1978
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2018,6 +2039,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2018
2039
|
memberSinceFrom: string | null;
|
|
2019
2040
|
memberSinceTo: string | null;
|
|
2020
2041
|
} | null;
|
|
2042
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2021
2043
|
vendorQualifications: {
|
|
2022
2044
|
locationIncludes: string[] | null;
|
|
2023
2045
|
locationExcludes: string[] | null;
|
|
@@ -2068,6 +2090,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2068
2090
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2069
2091
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2070
2092
|
} | null;
|
|
2093
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2071
2094
|
vendorQualifications: {
|
|
2072
2095
|
locationIncludes: string[] | null;
|
|
2073
2096
|
locationExcludes: string[] | null;
|
|
@@ -2094,7 +2117,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2094
2117
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2095
2118
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2096
2119
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
2097
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2120
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2098
2121
|
expenses: z.ZodObject<{
|
|
2099
2122
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
2100
2123
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2149,6 +2172,13 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2149
2172
|
}>>;
|
|
2150
2173
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
2151
2174
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
2175
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
2176
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
2177
|
+
}, "strip", z.ZodTypeAny, {
|
|
2178
|
+
maxDailyProposalsSent: number | null;
|
|
2179
|
+
}, {
|
|
2180
|
+
maxDailyProposalsSent: number | null;
|
|
2181
|
+
}>>;
|
|
2152
2182
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
2153
2183
|
id: string;
|
|
2154
2184
|
name: string;
|
|
@@ -2159,7 +2189,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2159
2189
|
creditBalance: z.ZodNumber;
|
|
2160
2190
|
}, {
|
|
2161
2191
|
type: z.ZodLiteral<"lead_status">;
|
|
2162
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>;
|
|
2192
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>;
|
|
2163
2193
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
2164
2194
|
id: z.ZodNullable<z.ZodString>;
|
|
2165
2195
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -2478,7 +2508,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2478
2508
|
answer: string;
|
|
2479
2509
|
}>, "many">>;
|
|
2480
2510
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2481
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
2511
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
2482
2512
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2483
2513
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2484
2514
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2503,7 +2533,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2503
2533
|
creditBalance: z.ZodNumber;
|
|
2504
2534
|
}>, "strip", z.ZodTypeAny, {
|
|
2505
2535
|
type: "lead_status";
|
|
2506
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
2536
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
2507
2537
|
createdAt: number;
|
|
2508
2538
|
organization: {
|
|
2509
2539
|
id: string;
|
|
@@ -2522,7 +2552,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2522
2552
|
};
|
|
2523
2553
|
}, {
|
|
2524
2554
|
type: "lead_status";
|
|
2525
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
2555
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
2526
2556
|
createdAt: number;
|
|
2527
2557
|
organization: {
|
|
2528
2558
|
id: string;
|
|
@@ -2865,6 +2895,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2865
2895
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2866
2896
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2867
2897
|
}>>;
|
|
2898
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
2868
2899
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
2869
2900
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2870
2901
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2931,6 +2962,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2931
2962
|
memberSinceFrom: string | null;
|
|
2932
2963
|
memberSinceTo: string | null;
|
|
2933
2964
|
} | null;
|
|
2965
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2934
2966
|
vendorQualifications: {
|
|
2935
2967
|
locationIncludes: string[] | null;
|
|
2936
2968
|
locationExcludes: string[] | null;
|
|
@@ -2981,6 +3013,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2981
3013
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2982
3014
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2983
3015
|
} | null;
|
|
3016
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2984
3017
|
vendorQualifications: {
|
|
2985
3018
|
locationIncludes: string[] | null;
|
|
2986
3019
|
locationExcludes: string[] | null;
|
|
@@ -3007,7 +3040,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3007
3040
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3008
3041
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3009
3042
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
3010
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3043
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3011
3044
|
expenses: z.ZodObject<{
|
|
3012
3045
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3013
3046
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3062,6 +3095,13 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3062
3095
|
}>>;
|
|
3063
3096
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
3064
3097
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
3098
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
3099
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
3100
|
+
}, "strip", z.ZodTypeAny, {
|
|
3101
|
+
maxDailyProposalsSent: number | null;
|
|
3102
|
+
}, {
|
|
3103
|
+
maxDailyProposalsSent: number | null;
|
|
3104
|
+
}>>;
|
|
3065
3105
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
3066
3106
|
id: string;
|
|
3067
3107
|
name: string;
|
|
@@ -3390,7 +3430,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3390
3430
|
answer: string;
|
|
3391
3431
|
}>, "many">>;
|
|
3392
3432
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
3393
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
3433
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
3394
3434
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3395
3435
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3396
3436
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3775,6 +3815,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3775
3815
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
3776
3816
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
3777
3817
|
}>>;
|
|
3818
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
3778
3819
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
3779
3820
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
3780
3821
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3841,6 +3882,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3841
3882
|
memberSinceFrom: string | null;
|
|
3842
3883
|
memberSinceTo: string | null;
|
|
3843
3884
|
} | null;
|
|
3885
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
3844
3886
|
vendorQualifications: {
|
|
3845
3887
|
locationIncludes: string[] | null;
|
|
3846
3888
|
locationExcludes: string[] | null;
|
|
@@ -3891,6 +3933,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3891
3933
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
3892
3934
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
3893
3935
|
} | null;
|
|
3936
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
3894
3937
|
vendorQualifications: {
|
|
3895
3938
|
locationIncludes: string[] | null;
|
|
3896
3939
|
locationExcludes: string[] | null;
|
|
@@ -3917,7 +3960,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3917
3960
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3918
3961
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3919
3962
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
3920
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3963
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3921
3964
|
expenses: z.ZodObject<{
|
|
3922
3965
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3923
3966
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3972,6 +4015,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3972
4015
|
}>>;
|
|
3973
4016
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
3974
4017
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
4018
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
4019
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
4020
|
+
}, "strip", z.ZodTypeAny, {
|
|
4021
|
+
maxDailyProposalsSent: number | null;
|
|
4022
|
+
}, {
|
|
4023
|
+
maxDailyProposalsSent: number | null;
|
|
4024
|
+
}>>;
|
|
3975
4025
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
3976
4026
|
id: string;
|
|
3977
4027
|
name: string;
|
|
@@ -4335,6 +4385,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4335
4385
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
4336
4386
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
4337
4387
|
}>>;
|
|
4388
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
4338
4389
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
4339
4390
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
4340
4391
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4401,6 +4452,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4401
4452
|
memberSinceFrom: string | null;
|
|
4402
4453
|
memberSinceTo: string | null;
|
|
4403
4454
|
} | null;
|
|
4455
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
4404
4456
|
vendorQualifications: {
|
|
4405
4457
|
locationIncludes: string[] | null;
|
|
4406
4458
|
locationExcludes: string[] | null;
|
|
@@ -4451,6 +4503,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4451
4503
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
4452
4504
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
4453
4505
|
} | null;
|
|
4506
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
4454
4507
|
vendorQualifications: {
|
|
4455
4508
|
locationIncludes: string[] | null;
|
|
4456
4509
|
locationExcludes: string[] | null;
|
|
@@ -4477,7 +4530,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4477
4530
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4478
4531
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4479
4532
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
4480
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4533
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4481
4534
|
expenses: z.ZodObject<{
|
|
4482
4535
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4483
4536
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4532,6 +4585,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4532
4585
|
}>>;
|
|
4533
4586
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
4534
4587
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
4588
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
4589
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
4590
|
+
}, "strip", z.ZodTypeAny, {
|
|
4591
|
+
maxDailyProposalsSent: number | null;
|
|
4592
|
+
}, {
|
|
4593
|
+
maxDailyProposalsSent: number | null;
|
|
4594
|
+
}>>;
|
|
4535
4595
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
4536
4596
|
id: string;
|
|
4537
4597
|
name: string;
|
|
@@ -4860,7 +4920,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4860
4920
|
answer: string;
|
|
4861
4921
|
}>, "many">>;
|
|
4862
4922
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
4863
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
4923
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
4864
4924
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
4865
4925
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
4866
4926
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5247,6 +5307,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5247
5307
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
5248
5308
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
5249
5309
|
}>>;
|
|
5310
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
5250
5311
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
5251
5312
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
5252
5313
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5313,6 +5374,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5313
5374
|
memberSinceFrom: string | null;
|
|
5314
5375
|
memberSinceTo: string | null;
|
|
5315
5376
|
} | null;
|
|
5377
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
5316
5378
|
vendorQualifications: {
|
|
5317
5379
|
locationIncludes: string[] | null;
|
|
5318
5380
|
locationExcludes: string[] | null;
|
|
@@ -5363,6 +5425,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5363
5425
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
5364
5426
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
5365
5427
|
} | null;
|
|
5428
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
5366
5429
|
vendorQualifications: {
|
|
5367
5430
|
locationIncludes: string[] | null;
|
|
5368
5431
|
locationExcludes: string[] | null;
|
|
@@ -5389,7 +5452,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5389
5452
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5390
5453
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5391
5454
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
5392
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5455
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5393
5456
|
expenses: z.ZodObject<{
|
|
5394
5457
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
5395
5458
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5444,6 +5507,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5444
5507
|
}>>;
|
|
5445
5508
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
5446
5509
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
5510
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
5511
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
5512
|
+
}, "strip", z.ZodTypeAny, {
|
|
5513
|
+
maxDailyProposalsSent: number | null;
|
|
5514
|
+
}, {
|
|
5515
|
+
maxDailyProposalsSent: number | null;
|
|
5516
|
+
}>>;
|
|
5447
5517
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
5448
5518
|
id: string;
|
|
5449
5519
|
name: string;
|
|
@@ -5454,7 +5524,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5454
5524
|
creditBalance: z.ZodNumber;
|
|
5455
5525
|
}, {
|
|
5456
5526
|
type: z.ZodLiteral<"lead_status">;
|
|
5457
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>;
|
|
5527
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>;
|
|
5458
5528
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
5459
5529
|
id: z.ZodNullable<z.ZodString>;
|
|
5460
5530
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -5773,7 +5843,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5773
5843
|
answer: string;
|
|
5774
5844
|
}>, "many">>;
|
|
5775
5845
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
5776
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
5846
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
5777
5847
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
5778
5848
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
5779
5849
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5798,7 +5868,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5798
5868
|
creditBalance: z.ZodNumber;
|
|
5799
5869
|
}>, "strip", z.ZodTypeAny, {
|
|
5800
5870
|
type: "lead_status";
|
|
5801
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
5871
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
5802
5872
|
createdAt: number;
|
|
5803
5873
|
organization: {
|
|
5804
5874
|
id: string;
|
|
@@ -5817,7 +5887,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5817
5887
|
};
|
|
5818
5888
|
}, {
|
|
5819
5889
|
type: "lead_status";
|
|
5820
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
5890
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
5821
5891
|
createdAt: number;
|
|
5822
5892
|
organization: {
|
|
5823
5893
|
id: string;
|
|
@@ -6159,6 +6229,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6159
6229
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
6160
6230
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
6161
6231
|
}>>;
|
|
6232
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
6162
6233
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
6163
6234
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
6164
6235
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6225,6 +6296,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6225
6296
|
memberSinceFrom: string | null;
|
|
6226
6297
|
memberSinceTo: string | null;
|
|
6227
6298
|
} | null;
|
|
6299
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
6228
6300
|
vendorQualifications: {
|
|
6229
6301
|
locationIncludes: string[] | null;
|
|
6230
6302
|
locationExcludes: string[] | null;
|
|
@@ -6275,6 +6347,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6275
6347
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
6276
6348
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
6277
6349
|
} | null;
|
|
6350
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
6278
6351
|
vendorQualifications: {
|
|
6279
6352
|
locationIncludes: string[] | null;
|
|
6280
6353
|
locationExcludes: string[] | null;
|
|
@@ -6301,7 +6374,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6301
6374
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6302
6375
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6303
6376
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
6304
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6377
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6305
6378
|
expenses: z.ZodObject<{
|
|
6306
6379
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
6307
6380
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6356,6 +6429,13 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6356
6429
|
}>>;
|
|
6357
6430
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
6358
6431
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
6432
|
+
limits: z.ZodNullable<z.ZodObject<{
|
|
6433
|
+
maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
|
|
6434
|
+
}, "strip", z.ZodTypeAny, {
|
|
6435
|
+
maxDailyProposalsSent: number | null;
|
|
6436
|
+
}, {
|
|
6437
|
+
maxDailyProposalsSent: number | null;
|
|
6438
|
+
}>>;
|
|
6359
6439
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
6360
6440
|
id: string;
|
|
6361
6441
|
name: string;
|
|
@@ -6684,7 +6764,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6684
6764
|
answer: string;
|
|
6685
6765
|
}>, "many">>;
|
|
6686
6766
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
6687
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
6767
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
6688
6768
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6689
6769
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6690
6770
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7076,7 +7156,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7076
7156
|
answer: string;
|
|
7077
7157
|
}>, "many">>;
|
|
7078
7158
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7079
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
7159
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
7080
7160
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7081
7161
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7082
7162
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7122,7 +7202,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7122
7202
|
};
|
|
7123
7203
|
}>, z.ZodObject<{
|
|
7124
7204
|
type: z.ZodLiteral<"lead_status">;
|
|
7125
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>;
|
|
7205
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>;
|
|
7126
7206
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
7127
7207
|
id: z.ZodNullable<z.ZodString>;
|
|
7128
7208
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -7441,7 +7521,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7441
7521
|
answer: string;
|
|
7442
7522
|
}>, "many">>;
|
|
7443
7523
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7444
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
7524
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
7445
7525
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7446
7526
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7447
7527
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7466,7 +7546,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7466
7546
|
creditBalance: z.ZodNumber;
|
|
7467
7547
|
}, "strip", z.ZodTypeAny, {
|
|
7468
7548
|
type: "lead_status";
|
|
7469
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
7549
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
7470
7550
|
creditBalance: number;
|
|
7471
7551
|
lead: {
|
|
7472
7552
|
id: string | null;
|
|
@@ -7476,7 +7556,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7476
7556
|
};
|
|
7477
7557
|
}, {
|
|
7478
7558
|
type: "lead_status";
|
|
7479
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
7559
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
7480
7560
|
creditBalance: number;
|
|
7481
7561
|
lead: {
|
|
7482
7562
|
id: string | null;
|
|
@@ -7804,7 +7884,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7804
7884
|
answer: string;
|
|
7805
7885
|
}>, "many">>;
|
|
7806
7886
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
7807
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>>;
|
|
7887
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
7808
7888
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7809
7889
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7810
7890
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7849,15 +7929,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7849
7929
|
export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
7850
7930
|
organizationId: z.ZodString;
|
|
7851
7931
|
campaignId: z.ZodString;
|
|
7852
|
-
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "insufficientConnects", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
7932
|
+
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "insufficientConnects", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
7853
7933
|
}, "strip", z.ZodTypeAny, {
|
|
7854
7934
|
campaignId: string;
|
|
7855
7935
|
organizationId: string;
|
|
7856
|
-
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "proposalsFailed")[];
|
|
7936
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "proposalsFailed")[];
|
|
7857
7937
|
}, {
|
|
7858
7938
|
campaignId: string;
|
|
7859
7939
|
organizationId: string;
|
|
7860
|
-
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "proposalsFailed")[];
|
|
7940
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "proposalsFailed")[];
|
|
7861
7941
|
}>;
|
|
7862
7942
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
7863
7943
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|