lancer-shared 1.2.188 → 1.2.190
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 +250 -28
- 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 +405 -61
- package/dist/schemas/campaign/campaign.d.ts +270 -45
- 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 +24 -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 +10 -0
- package/dist/schemas/campaign/sequence/node-types.d.ts +3 -0
- package/dist/schemas/campaign/sequence/rating-node.d.ts +91 -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 +147 -50
- package/dist/utils/timezones.d.ts +4 -3
- 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;
|
|
@@ -616,11 +619,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
616
619
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
617
620
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
618
621
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
619
|
-
|
|
620
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
621
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
622
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
623
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
622
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
624
623
|
expenses: z.ZodObject<{
|
|
625
624
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
626
625
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -675,6 +674,50 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
675
674
|
}>>;
|
|
676
675
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
677
676
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
677
|
+
limits: z.ZodObject<{
|
|
678
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
679
|
+
enabled: z.ZodBoolean;
|
|
680
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
681
|
+
}, "strip", z.ZodTypeAny, {
|
|
682
|
+
maxDailyProposalsSent: number;
|
|
683
|
+
enabled: boolean;
|
|
684
|
+
windowAnchorAt: number | null;
|
|
685
|
+
}, {
|
|
686
|
+
maxDailyProposalsSent: number;
|
|
687
|
+
enabled: boolean;
|
|
688
|
+
windowAnchorAt: number | null;
|
|
689
|
+
}>;
|
|
690
|
+
workTime: z.ZodObject<{
|
|
691
|
+
enabled: z.ZodBoolean;
|
|
692
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
693
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
694
|
+
fromHour: z.ZodNumber;
|
|
695
|
+
toHour: z.ZodNumber;
|
|
696
|
+
}, "strip", z.ZodTypeAny, {
|
|
697
|
+
fromHour: number;
|
|
698
|
+
toHour: number;
|
|
699
|
+
}, {
|
|
700
|
+
fromHour: number;
|
|
701
|
+
toHour: number;
|
|
702
|
+
}>, "many">;
|
|
703
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
704
|
+
}, "strip", z.ZodTypeAny, {
|
|
705
|
+
enabled: boolean;
|
|
706
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
707
|
+
timeBlocks: {
|
|
708
|
+
fromHour: number;
|
|
709
|
+
toHour: number;
|
|
710
|
+
}[];
|
|
711
|
+
timezone: string | null;
|
|
712
|
+
}, {
|
|
713
|
+
enabled: boolean;
|
|
714
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
715
|
+
timeBlocks: {
|
|
716
|
+
fromHour: number;
|
|
717
|
+
toHour: number;
|
|
718
|
+
}[];
|
|
719
|
+
timezone: string | null;
|
|
720
|
+
}>;
|
|
678
721
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
679
722
|
id: string;
|
|
680
723
|
name: string;
|
|
@@ -1039,6 +1082,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1039
1082
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1040
1083
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1041
1084
|
}>>;
|
|
1085
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
1042
1086
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
1043
1087
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1044
1088
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1105,6 +1149,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1105
1149
|
memberSinceFrom: string | null;
|
|
1106
1150
|
memberSinceTo: string | null;
|
|
1107
1151
|
} | null;
|
|
1152
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1108
1153
|
vendorQualifications: {
|
|
1109
1154
|
locationIncludes: string[] | null;
|
|
1110
1155
|
locationExcludes: string[] | null;
|
|
@@ -1155,6 +1200,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1155
1200
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1156
1201
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1157
1202
|
} | null;
|
|
1203
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1158
1204
|
vendorQualifications: {
|
|
1159
1205
|
locationIncludes: string[] | null;
|
|
1160
1206
|
locationExcludes: string[] | null;
|
|
@@ -1177,11 +1223,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1177
1223
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1178
1224
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1179
1225
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1180
|
-
|
|
1181
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1182
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1183
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
1184
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
1226
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
1185
1227
|
expenses: z.ZodObject<{
|
|
1186
1228
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1187
1229
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1236,6 +1278,50 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1236
1278
|
}>>;
|
|
1237
1279
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
1238
1280
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
1281
|
+
limits: z.ZodObject<{
|
|
1282
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
1283
|
+
enabled: z.ZodBoolean;
|
|
1284
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
1285
|
+
}, "strip", z.ZodTypeAny, {
|
|
1286
|
+
maxDailyProposalsSent: number;
|
|
1287
|
+
enabled: boolean;
|
|
1288
|
+
windowAnchorAt: number | null;
|
|
1289
|
+
}, {
|
|
1290
|
+
maxDailyProposalsSent: number;
|
|
1291
|
+
enabled: boolean;
|
|
1292
|
+
windowAnchorAt: number | null;
|
|
1293
|
+
}>;
|
|
1294
|
+
workTime: z.ZodObject<{
|
|
1295
|
+
enabled: z.ZodBoolean;
|
|
1296
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
1297
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
1298
|
+
fromHour: z.ZodNumber;
|
|
1299
|
+
toHour: z.ZodNumber;
|
|
1300
|
+
}, "strip", z.ZodTypeAny, {
|
|
1301
|
+
fromHour: number;
|
|
1302
|
+
toHour: number;
|
|
1303
|
+
}, {
|
|
1304
|
+
fromHour: number;
|
|
1305
|
+
toHour: number;
|
|
1306
|
+
}>, "many">;
|
|
1307
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
1308
|
+
}, "strip", z.ZodTypeAny, {
|
|
1309
|
+
enabled: boolean;
|
|
1310
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1311
|
+
timeBlocks: {
|
|
1312
|
+
fromHour: number;
|
|
1313
|
+
toHour: number;
|
|
1314
|
+
}[];
|
|
1315
|
+
timezone: string | null;
|
|
1316
|
+
}, {
|
|
1317
|
+
enabled: boolean;
|
|
1318
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1319
|
+
timeBlocks: {
|
|
1320
|
+
fromHour: number;
|
|
1321
|
+
toHour: number;
|
|
1322
|
+
}[];
|
|
1323
|
+
timezone: string | null;
|
|
1324
|
+
}>;
|
|
1239
1325
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
1240
1326
|
id: string;
|
|
1241
1327
|
name: string;
|
|
@@ -1564,7 +1650,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1564
1650
|
answer: string;
|
|
1565
1651
|
}>, "many">>;
|
|
1566
1652
|
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"]>>;
|
|
1653
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
1568
1654
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1569
1655
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1570
1656
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1952,6 +2038,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1952
2038
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1953
2039
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1954
2040
|
}>>;
|
|
2041
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
1955
2042
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
1956
2043
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1957
2044
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2018,6 +2105,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2018
2105
|
memberSinceFrom: string | null;
|
|
2019
2106
|
memberSinceTo: string | null;
|
|
2020
2107
|
} | null;
|
|
2108
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2021
2109
|
vendorQualifications: {
|
|
2022
2110
|
locationIncludes: string[] | null;
|
|
2023
2111
|
locationExcludes: string[] | null;
|
|
@@ -2068,6 +2156,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2068
2156
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2069
2157
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2070
2158
|
} | null;
|
|
2159
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2071
2160
|
vendorQualifications: {
|
|
2072
2161
|
locationIncludes: string[] | null;
|
|
2073
2162
|
locationExcludes: string[] | null;
|
|
@@ -2090,11 +2179,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2090
2179
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2091
2180
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2092
2181
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2093
|
-
|
|
2094
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2095
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2096
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
2097
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2182
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
2098
2183
|
expenses: z.ZodObject<{
|
|
2099
2184
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
2100
2185
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2149,6 +2234,50 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2149
2234
|
}>>;
|
|
2150
2235
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
2151
2236
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
2237
|
+
limits: z.ZodObject<{
|
|
2238
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
2239
|
+
enabled: z.ZodBoolean;
|
|
2240
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
2241
|
+
}, "strip", z.ZodTypeAny, {
|
|
2242
|
+
maxDailyProposalsSent: number;
|
|
2243
|
+
enabled: boolean;
|
|
2244
|
+
windowAnchorAt: number | null;
|
|
2245
|
+
}, {
|
|
2246
|
+
maxDailyProposalsSent: number;
|
|
2247
|
+
enabled: boolean;
|
|
2248
|
+
windowAnchorAt: number | null;
|
|
2249
|
+
}>;
|
|
2250
|
+
workTime: z.ZodObject<{
|
|
2251
|
+
enabled: z.ZodBoolean;
|
|
2252
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
2253
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
2254
|
+
fromHour: z.ZodNumber;
|
|
2255
|
+
toHour: z.ZodNumber;
|
|
2256
|
+
}, "strip", z.ZodTypeAny, {
|
|
2257
|
+
fromHour: number;
|
|
2258
|
+
toHour: number;
|
|
2259
|
+
}, {
|
|
2260
|
+
fromHour: number;
|
|
2261
|
+
toHour: number;
|
|
2262
|
+
}>, "many">;
|
|
2263
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
2264
|
+
}, "strip", z.ZodTypeAny, {
|
|
2265
|
+
enabled: boolean;
|
|
2266
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
2267
|
+
timeBlocks: {
|
|
2268
|
+
fromHour: number;
|
|
2269
|
+
toHour: number;
|
|
2270
|
+
}[];
|
|
2271
|
+
timezone: string | null;
|
|
2272
|
+
}, {
|
|
2273
|
+
enabled: boolean;
|
|
2274
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
2275
|
+
timeBlocks: {
|
|
2276
|
+
fromHour: number;
|
|
2277
|
+
toHour: number;
|
|
2278
|
+
}[];
|
|
2279
|
+
timezone: string | null;
|
|
2280
|
+
}>;
|
|
2152
2281
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
2153
2282
|
id: string;
|
|
2154
2283
|
name: string;
|
|
@@ -2159,7 +2288,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2159
2288
|
creditBalance: z.ZodNumber;
|
|
2160
2289
|
}, {
|
|
2161
2290
|
type: z.ZodLiteral<"lead_status">;
|
|
2162
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>;
|
|
2291
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>;
|
|
2163
2292
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
2164
2293
|
id: z.ZodNullable<z.ZodString>;
|
|
2165
2294
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -2478,7 +2607,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2478
2607
|
answer: string;
|
|
2479
2608
|
}>, "many">>;
|
|
2480
2609
|
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"]>>;
|
|
2610
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
2482
2611
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2483
2612
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2484
2613
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2503,7 +2632,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2503
2632
|
creditBalance: z.ZodNumber;
|
|
2504
2633
|
}>, "strip", z.ZodTypeAny, {
|
|
2505
2634
|
type: "lead_status";
|
|
2506
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
2635
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
2507
2636
|
createdAt: number;
|
|
2508
2637
|
organization: {
|
|
2509
2638
|
id: string;
|
|
@@ -2522,7 +2651,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2522
2651
|
};
|
|
2523
2652
|
}, {
|
|
2524
2653
|
type: "lead_status";
|
|
2525
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
2654
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
2526
2655
|
createdAt: number;
|
|
2527
2656
|
organization: {
|
|
2528
2657
|
id: string;
|
|
@@ -2865,6 +2994,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2865
2994
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2866
2995
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2867
2996
|
}>>;
|
|
2997
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
2868
2998
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
2869
2999
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2870
3000
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2931,6 +3061,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2931
3061
|
memberSinceFrom: string | null;
|
|
2932
3062
|
memberSinceTo: string | null;
|
|
2933
3063
|
} | null;
|
|
3064
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2934
3065
|
vendorQualifications: {
|
|
2935
3066
|
locationIncludes: string[] | null;
|
|
2936
3067
|
locationExcludes: string[] | null;
|
|
@@ -2981,6 +3112,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2981
3112
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2982
3113
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2983
3114
|
} | null;
|
|
3115
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2984
3116
|
vendorQualifications: {
|
|
2985
3117
|
locationIncludes: string[] | null;
|
|
2986
3118
|
locationExcludes: string[] | null;
|
|
@@ -3003,11 +3135,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3003
3135
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3004
3136
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3005
3137
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3006
|
-
|
|
3007
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3008
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3009
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
3010
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3138
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3011
3139
|
expenses: z.ZodObject<{
|
|
3012
3140
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3013
3141
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3062,6 +3190,50 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3062
3190
|
}>>;
|
|
3063
3191
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
3064
3192
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
3193
|
+
limits: z.ZodObject<{
|
|
3194
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
3195
|
+
enabled: z.ZodBoolean;
|
|
3196
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
3197
|
+
}, "strip", z.ZodTypeAny, {
|
|
3198
|
+
maxDailyProposalsSent: number;
|
|
3199
|
+
enabled: boolean;
|
|
3200
|
+
windowAnchorAt: number | null;
|
|
3201
|
+
}, {
|
|
3202
|
+
maxDailyProposalsSent: number;
|
|
3203
|
+
enabled: boolean;
|
|
3204
|
+
windowAnchorAt: number | null;
|
|
3205
|
+
}>;
|
|
3206
|
+
workTime: z.ZodObject<{
|
|
3207
|
+
enabled: z.ZodBoolean;
|
|
3208
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
3209
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
3210
|
+
fromHour: z.ZodNumber;
|
|
3211
|
+
toHour: z.ZodNumber;
|
|
3212
|
+
}, "strip", z.ZodTypeAny, {
|
|
3213
|
+
fromHour: number;
|
|
3214
|
+
toHour: number;
|
|
3215
|
+
}, {
|
|
3216
|
+
fromHour: number;
|
|
3217
|
+
toHour: number;
|
|
3218
|
+
}>, "many">;
|
|
3219
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
3220
|
+
}, "strip", z.ZodTypeAny, {
|
|
3221
|
+
enabled: boolean;
|
|
3222
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
3223
|
+
timeBlocks: {
|
|
3224
|
+
fromHour: number;
|
|
3225
|
+
toHour: number;
|
|
3226
|
+
}[];
|
|
3227
|
+
timezone: string | null;
|
|
3228
|
+
}, {
|
|
3229
|
+
enabled: boolean;
|
|
3230
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
3231
|
+
timeBlocks: {
|
|
3232
|
+
fromHour: number;
|
|
3233
|
+
toHour: number;
|
|
3234
|
+
}[];
|
|
3235
|
+
timezone: string | null;
|
|
3236
|
+
}>;
|
|
3065
3237
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
3066
3238
|
id: string;
|
|
3067
3239
|
name: string;
|
|
@@ -3390,7 +3562,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3390
3562
|
answer: string;
|
|
3391
3563
|
}>, "many">>;
|
|
3392
3564
|
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"]>>;
|
|
3565
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
3394
3566
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3395
3567
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3396
3568
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3775,6 +3947,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3775
3947
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
3776
3948
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
3777
3949
|
}>>;
|
|
3950
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
3778
3951
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
3779
3952
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
3780
3953
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3841,6 +4014,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3841
4014
|
memberSinceFrom: string | null;
|
|
3842
4015
|
memberSinceTo: string | null;
|
|
3843
4016
|
} | null;
|
|
4017
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
3844
4018
|
vendorQualifications: {
|
|
3845
4019
|
locationIncludes: string[] | null;
|
|
3846
4020
|
locationExcludes: string[] | null;
|
|
@@ -3891,6 +4065,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3891
4065
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
3892
4066
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
3893
4067
|
} | null;
|
|
4068
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
3894
4069
|
vendorQualifications: {
|
|
3895
4070
|
locationIncludes: string[] | null;
|
|
3896
4071
|
locationExcludes: string[] | null;
|
|
@@ -3913,11 +4088,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3913
4088
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3914
4089
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3915
4090
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3916
|
-
|
|
3917
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3918
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3919
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
3920
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4091
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
3921
4092
|
expenses: z.ZodObject<{
|
|
3922
4093
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
3923
4094
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3972,6 +4143,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3972
4143
|
}>>;
|
|
3973
4144
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
3974
4145
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
4146
|
+
limits: z.ZodObject<{
|
|
4147
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
4148
|
+
enabled: z.ZodBoolean;
|
|
4149
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
4150
|
+
}, "strip", z.ZodTypeAny, {
|
|
4151
|
+
maxDailyProposalsSent: number;
|
|
4152
|
+
enabled: boolean;
|
|
4153
|
+
windowAnchorAt: number | null;
|
|
4154
|
+
}, {
|
|
4155
|
+
maxDailyProposalsSent: number;
|
|
4156
|
+
enabled: boolean;
|
|
4157
|
+
windowAnchorAt: number | null;
|
|
4158
|
+
}>;
|
|
4159
|
+
workTime: z.ZodObject<{
|
|
4160
|
+
enabled: z.ZodBoolean;
|
|
4161
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
4162
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
4163
|
+
fromHour: z.ZodNumber;
|
|
4164
|
+
toHour: z.ZodNumber;
|
|
4165
|
+
}, "strip", z.ZodTypeAny, {
|
|
4166
|
+
fromHour: number;
|
|
4167
|
+
toHour: number;
|
|
4168
|
+
}, {
|
|
4169
|
+
fromHour: number;
|
|
4170
|
+
toHour: number;
|
|
4171
|
+
}>, "many">;
|
|
4172
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
4173
|
+
}, "strip", z.ZodTypeAny, {
|
|
4174
|
+
enabled: boolean;
|
|
4175
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
4176
|
+
timeBlocks: {
|
|
4177
|
+
fromHour: number;
|
|
4178
|
+
toHour: number;
|
|
4179
|
+
}[];
|
|
4180
|
+
timezone: string | null;
|
|
4181
|
+
}, {
|
|
4182
|
+
enabled: boolean;
|
|
4183
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
4184
|
+
timeBlocks: {
|
|
4185
|
+
fromHour: number;
|
|
4186
|
+
toHour: number;
|
|
4187
|
+
}[];
|
|
4188
|
+
timezone: string | null;
|
|
4189
|
+
}>;
|
|
3975
4190
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
3976
4191
|
id: string;
|
|
3977
4192
|
name: string;
|
|
@@ -4335,6 +4550,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4335
4550
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
4336
4551
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
4337
4552
|
}>>;
|
|
4553
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
4338
4554
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
4339
4555
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
4340
4556
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4401,6 +4617,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4401
4617
|
memberSinceFrom: string | null;
|
|
4402
4618
|
memberSinceTo: string | null;
|
|
4403
4619
|
} | null;
|
|
4620
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
4404
4621
|
vendorQualifications: {
|
|
4405
4622
|
locationIncludes: string[] | null;
|
|
4406
4623
|
locationExcludes: string[] | null;
|
|
@@ -4451,6 +4668,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4451
4668
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
4452
4669
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
4453
4670
|
} | null;
|
|
4671
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
4454
4672
|
vendorQualifications: {
|
|
4455
4673
|
locationIncludes: string[] | null;
|
|
4456
4674
|
locationExcludes: string[] | null;
|
|
@@ -4473,11 +4691,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4473
4691
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4474
4692
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4475
4693
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4476
|
-
|
|
4477
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4478
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4479
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
4480
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4694
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
4481
4695
|
expenses: z.ZodObject<{
|
|
4482
4696
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
4483
4697
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4532,6 +4746,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4532
4746
|
}>>;
|
|
4533
4747
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
4534
4748
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
4749
|
+
limits: z.ZodObject<{
|
|
4750
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
4751
|
+
enabled: z.ZodBoolean;
|
|
4752
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
4753
|
+
}, "strip", z.ZodTypeAny, {
|
|
4754
|
+
maxDailyProposalsSent: number;
|
|
4755
|
+
enabled: boolean;
|
|
4756
|
+
windowAnchorAt: number | null;
|
|
4757
|
+
}, {
|
|
4758
|
+
maxDailyProposalsSent: number;
|
|
4759
|
+
enabled: boolean;
|
|
4760
|
+
windowAnchorAt: number | null;
|
|
4761
|
+
}>;
|
|
4762
|
+
workTime: z.ZodObject<{
|
|
4763
|
+
enabled: z.ZodBoolean;
|
|
4764
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
4765
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
4766
|
+
fromHour: z.ZodNumber;
|
|
4767
|
+
toHour: z.ZodNumber;
|
|
4768
|
+
}, "strip", z.ZodTypeAny, {
|
|
4769
|
+
fromHour: number;
|
|
4770
|
+
toHour: number;
|
|
4771
|
+
}, {
|
|
4772
|
+
fromHour: number;
|
|
4773
|
+
toHour: number;
|
|
4774
|
+
}>, "many">;
|
|
4775
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
4776
|
+
}, "strip", z.ZodTypeAny, {
|
|
4777
|
+
enabled: boolean;
|
|
4778
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
4779
|
+
timeBlocks: {
|
|
4780
|
+
fromHour: number;
|
|
4781
|
+
toHour: number;
|
|
4782
|
+
}[];
|
|
4783
|
+
timezone: string | null;
|
|
4784
|
+
}, {
|
|
4785
|
+
enabled: boolean;
|
|
4786
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
4787
|
+
timeBlocks: {
|
|
4788
|
+
fromHour: number;
|
|
4789
|
+
toHour: number;
|
|
4790
|
+
}[];
|
|
4791
|
+
timezone: string | null;
|
|
4792
|
+
}>;
|
|
4535
4793
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
4536
4794
|
id: string;
|
|
4537
4795
|
name: string;
|
|
@@ -4860,7 +5118,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4860
5118
|
answer: string;
|
|
4861
5119
|
}>, "many">>;
|
|
4862
5120
|
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"]>>;
|
|
5121
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
4864
5122
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
4865
5123
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
4866
5124
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5247,6 +5505,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5247
5505
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
5248
5506
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
5249
5507
|
}>>;
|
|
5508
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
5250
5509
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
5251
5510
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
5252
5511
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5313,6 +5572,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5313
5572
|
memberSinceFrom: string | null;
|
|
5314
5573
|
memberSinceTo: string | null;
|
|
5315
5574
|
} | null;
|
|
5575
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
5316
5576
|
vendorQualifications: {
|
|
5317
5577
|
locationIncludes: string[] | null;
|
|
5318
5578
|
locationExcludes: string[] | null;
|
|
@@ -5363,6 +5623,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5363
5623
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
5364
5624
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
5365
5625
|
} | null;
|
|
5626
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
5366
5627
|
vendorQualifications: {
|
|
5367
5628
|
locationIncludes: string[] | null;
|
|
5368
5629
|
locationExcludes: string[] | null;
|
|
@@ -5385,11 +5646,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5385
5646
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5386
5647
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5387
5648
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5388
|
-
|
|
5389
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5390
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5391
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
5392
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5649
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
5393
5650
|
expenses: z.ZodObject<{
|
|
5394
5651
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
5395
5652
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5444,6 +5701,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5444
5701
|
}>>;
|
|
5445
5702
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
5446
5703
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
5704
|
+
limits: z.ZodObject<{
|
|
5705
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
5706
|
+
enabled: z.ZodBoolean;
|
|
5707
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
5708
|
+
}, "strip", z.ZodTypeAny, {
|
|
5709
|
+
maxDailyProposalsSent: number;
|
|
5710
|
+
enabled: boolean;
|
|
5711
|
+
windowAnchorAt: number | null;
|
|
5712
|
+
}, {
|
|
5713
|
+
maxDailyProposalsSent: number;
|
|
5714
|
+
enabled: boolean;
|
|
5715
|
+
windowAnchorAt: number | null;
|
|
5716
|
+
}>;
|
|
5717
|
+
workTime: z.ZodObject<{
|
|
5718
|
+
enabled: z.ZodBoolean;
|
|
5719
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
5720
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
5721
|
+
fromHour: z.ZodNumber;
|
|
5722
|
+
toHour: z.ZodNumber;
|
|
5723
|
+
}, "strip", z.ZodTypeAny, {
|
|
5724
|
+
fromHour: number;
|
|
5725
|
+
toHour: number;
|
|
5726
|
+
}, {
|
|
5727
|
+
fromHour: number;
|
|
5728
|
+
toHour: number;
|
|
5729
|
+
}>, "many">;
|
|
5730
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
5731
|
+
}, "strip", z.ZodTypeAny, {
|
|
5732
|
+
enabled: boolean;
|
|
5733
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
5734
|
+
timeBlocks: {
|
|
5735
|
+
fromHour: number;
|
|
5736
|
+
toHour: number;
|
|
5737
|
+
}[];
|
|
5738
|
+
timezone: string | null;
|
|
5739
|
+
}, {
|
|
5740
|
+
enabled: boolean;
|
|
5741
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
5742
|
+
timeBlocks: {
|
|
5743
|
+
fromHour: number;
|
|
5744
|
+
toHour: number;
|
|
5745
|
+
}[];
|
|
5746
|
+
timezone: string | null;
|
|
5747
|
+
}>;
|
|
5447
5748
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
5448
5749
|
id: string;
|
|
5449
5750
|
name: string;
|
|
@@ -5454,7 +5755,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5454
5755
|
creditBalance: z.ZodNumber;
|
|
5455
5756
|
}, {
|
|
5456
5757
|
type: z.ZodLiteral<"lead_status">;
|
|
5457
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>;
|
|
5758
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>;
|
|
5458
5759
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
5459
5760
|
id: z.ZodNullable<z.ZodString>;
|
|
5460
5761
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -5773,7 +6074,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5773
6074
|
answer: string;
|
|
5774
6075
|
}>, "many">>;
|
|
5775
6076
|
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"]>>;
|
|
6077
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
5777
6078
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
5778
6079
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
5779
6080
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5798,7 +6099,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5798
6099
|
creditBalance: z.ZodNumber;
|
|
5799
6100
|
}>, "strip", z.ZodTypeAny, {
|
|
5800
6101
|
type: "lead_status";
|
|
5801
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
6102
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
5802
6103
|
createdAt: number;
|
|
5803
6104
|
organization: {
|
|
5804
6105
|
id: string;
|
|
@@ -5817,7 +6118,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5817
6118
|
};
|
|
5818
6119
|
}, {
|
|
5819
6120
|
type: "lead_status";
|
|
5820
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
6121
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
5821
6122
|
createdAt: number;
|
|
5822
6123
|
organization: {
|
|
5823
6124
|
id: string;
|
|
@@ -6159,6 +6460,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6159
6460
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
6160
6461
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
6161
6462
|
}>>;
|
|
6463
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
6162
6464
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
6163
6465
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
6164
6466
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6225,6 +6527,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6225
6527
|
memberSinceFrom: string | null;
|
|
6226
6528
|
memberSinceTo: string | null;
|
|
6227
6529
|
} | null;
|
|
6530
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
6228
6531
|
vendorQualifications: {
|
|
6229
6532
|
locationIncludes: string[] | null;
|
|
6230
6533
|
locationExcludes: string[] | null;
|
|
@@ -6275,6 +6578,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6275
6578
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
6276
6579
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
6277
6580
|
} | null;
|
|
6581
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
6278
6582
|
vendorQualifications: {
|
|
6279
6583
|
locationIncludes: string[] | null;
|
|
6280
6584
|
locationExcludes: string[] | null;
|
|
@@ -6297,11 +6601,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6297
6601
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6298
6602
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6299
6603
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6300
|
-
|
|
6301
|
-
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6302
|
-
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6303
|
-
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
6304
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6604
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
6305
6605
|
expenses: z.ZodObject<{
|
|
6306
6606
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
6307
6607
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6356,6 +6656,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6356
6656
|
}>>;
|
|
6357
6657
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
6358
6658
|
lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
|
|
6659
|
+
limits: z.ZodObject<{
|
|
6660
|
+
maxDailyProposalsSent: z.ZodNumber;
|
|
6661
|
+
enabled: z.ZodBoolean;
|
|
6662
|
+
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
6663
|
+
}, "strip", z.ZodTypeAny, {
|
|
6664
|
+
maxDailyProposalsSent: number;
|
|
6665
|
+
enabled: boolean;
|
|
6666
|
+
windowAnchorAt: number | null;
|
|
6667
|
+
}, {
|
|
6668
|
+
maxDailyProposalsSent: number;
|
|
6669
|
+
enabled: boolean;
|
|
6670
|
+
windowAnchorAt: number | null;
|
|
6671
|
+
}>;
|
|
6672
|
+
workTime: z.ZodObject<{
|
|
6673
|
+
enabled: z.ZodBoolean;
|
|
6674
|
+
days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
|
|
6675
|
+
timeBlocks: z.ZodArray<z.ZodObject<{
|
|
6676
|
+
fromHour: z.ZodNumber;
|
|
6677
|
+
toHour: z.ZodNumber;
|
|
6678
|
+
}, "strip", z.ZodTypeAny, {
|
|
6679
|
+
fromHour: number;
|
|
6680
|
+
toHour: number;
|
|
6681
|
+
}, {
|
|
6682
|
+
fromHour: number;
|
|
6683
|
+
toHour: number;
|
|
6684
|
+
}>, "many">;
|
|
6685
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
6686
|
+
}, "strip", z.ZodTypeAny, {
|
|
6687
|
+
enabled: boolean;
|
|
6688
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
6689
|
+
timeBlocks: {
|
|
6690
|
+
fromHour: number;
|
|
6691
|
+
toHour: number;
|
|
6692
|
+
}[];
|
|
6693
|
+
timezone: string | null;
|
|
6694
|
+
}, {
|
|
6695
|
+
enabled: boolean;
|
|
6696
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
6697
|
+
timeBlocks: {
|
|
6698
|
+
fromHour: number;
|
|
6699
|
+
toHour: number;
|
|
6700
|
+
}[];
|
|
6701
|
+
timezone: string | null;
|
|
6702
|
+
}>;
|
|
6359
6703
|
}, "id" | "name">, "strip", z.ZodTypeAny, {
|
|
6360
6704
|
id: string;
|
|
6361
6705
|
name: string;
|
|
@@ -6684,7 +7028,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6684
7028
|
answer: string;
|
|
6685
7029
|
}>, "many">>;
|
|
6686
7030
|
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"]>>;
|
|
7031
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
6688
7032
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6689
7033
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6690
7034
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7076,7 +7420,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7076
7420
|
answer: string;
|
|
7077
7421
|
}>, "many">>;
|
|
7078
7422
|
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"]>>;
|
|
7423
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
7080
7424
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7081
7425
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7082
7426
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7122,7 +7466,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7122
7466
|
};
|
|
7123
7467
|
}>, z.ZodObject<{
|
|
7124
7468
|
type: z.ZodLiteral<"lead_status">;
|
|
7125
|
-
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>;
|
|
7469
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>;
|
|
7126
7470
|
lead: z.ZodObject<Pick<Omit<z.objectUtil.extendShape<{
|
|
7127
7471
|
id: z.ZodNullable<z.ZodString>;
|
|
7128
7472
|
uid: z.ZodNullable<z.ZodString>;
|
|
@@ -7441,7 +7785,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7441
7785
|
answer: string;
|
|
7442
7786
|
}>, "many">>;
|
|
7443
7787
|
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"]>>;
|
|
7788
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
7445
7789
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7446
7790
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7447
7791
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7466,7 +7810,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7466
7810
|
creditBalance: z.ZodNumber;
|
|
7467
7811
|
}, "strip", z.ZodTypeAny, {
|
|
7468
7812
|
type: "lead_status";
|
|
7469
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
7813
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
7470
7814
|
creditBalance: number;
|
|
7471
7815
|
lead: {
|
|
7472
7816
|
id: string | null;
|
|
@@ -7476,7 +7820,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7476
7820
|
};
|
|
7477
7821
|
}, {
|
|
7478
7822
|
type: "lead_status";
|
|
7479
|
-
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign";
|
|
7823
|
+
status: "contacted" | "viewed" | "replied" | "won" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached";
|
|
7480
7824
|
creditBalance: number;
|
|
7481
7825
|
lead: {
|
|
7482
7826
|
id: string | null;
|
|
@@ -7804,7 +8148,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7804
8148
|
answer: string;
|
|
7805
8149
|
}>, "many">>;
|
|
7806
8150
|
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"]>>;
|
|
8151
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
|
|
7808
8152
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
7809
8153
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
7810
8154
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7849,15 +8193,15 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7849
8193
|
export declare const updateCampaignAnalyticsSchema: z.ZodObject<{
|
|
7850
8194
|
organizationId: z.ZodString;
|
|
7851
8195
|
campaignId: z.ZodString;
|
|
7852
|
-
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "insufficientConnects", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
8196
|
+
fields: z.ZodArray<z.ZodEnum<["contacted", "viewed", "replied", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "insufficientConnects", "won", "leadsAnalyzed", "leadsFailed", "proposalsFailed", "suitableJobs", "unsuitableJobs", "wonAmount"]>, "many">;
|
|
7853
8197
|
}, "strip", z.ZodTypeAny, {
|
|
7854
8198
|
campaignId: string;
|
|
7855
8199
|
organizationId: string;
|
|
7856
|
-
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "proposalsFailed")[];
|
|
8200
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "proposalsFailed")[];
|
|
7857
8201
|
}, {
|
|
7858
8202
|
campaignId: string;
|
|
7859
8203
|
organizationId: string;
|
|
7860
|
-
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "proposalsFailed")[];
|
|
8204
|
+
fields: ("contacted" | "viewed" | "replied" | "won" | "leadsAnalyzed" | "leadsFailed" | "suitableJobs" | "unsuitableJobs" | "wonAmount" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "proposalsFailed")[];
|
|
7861
8205
|
}>;
|
|
7862
8206
|
export type CampaignAnalytics = z.infer<typeof campaignAnalyticsSchema>;
|
|
7863
8207
|
export type CampaignAnalyticsStats = z.infer<typeof campaignAnalyticsStatsSchema>;
|