lancer-shared 1.2.185 → 1.2.186
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.
|
@@ -124,6 +124,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
124
124
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
125
125
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
126
126
|
}>>;
|
|
127
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
127
128
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
128
129
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
129
130
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -190,6 +191,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
190
191
|
memberSinceFrom: string | null;
|
|
191
192
|
memberSinceTo: string | null;
|
|
192
193
|
} | null;
|
|
194
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
193
195
|
vendorQualifications: {
|
|
194
196
|
locationIncludes: string[] | null;
|
|
195
197
|
locationExcludes: string[] | null;
|
|
@@ -240,6 +242,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
240
242
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
241
243
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
242
244
|
} | null;
|
|
245
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
243
246
|
vendorQualifications: {
|
|
244
247
|
locationIncludes: string[] | null;
|
|
245
248
|
locationExcludes: string[] | null;
|
|
@@ -266,7 +269,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
266
269
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
267
270
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
268
271
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
269
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
272
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
270
273
|
expenses: z.ZodObject<{
|
|
271
274
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
272
275
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -365,6 +368,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
365
368
|
memberSinceFrom: string | null;
|
|
366
369
|
memberSinceTo: string | null;
|
|
367
370
|
} | null;
|
|
371
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
368
372
|
vendorQualifications: {
|
|
369
373
|
locationIncludes: string[] | null;
|
|
370
374
|
locationExcludes: string[] | null;
|
|
@@ -391,7 +395,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
391
395
|
sleepStartAtHour: number | null;
|
|
392
396
|
sleepEndAtHour: number | null;
|
|
393
397
|
sleepTimezone: string | null;
|
|
394
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
398
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won", number>> | null;
|
|
395
399
|
expenses: {
|
|
396
400
|
biddingAmount: number;
|
|
397
401
|
boostingAmount: number;
|
|
@@ -460,6 +464,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
460
464
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
461
465
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
462
466
|
} | null;
|
|
467
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
463
468
|
vendorQualifications: {
|
|
464
469
|
locationIncludes: string[] | null;
|
|
465
470
|
locationExcludes: string[] | null;
|
|
@@ -479,7 +484,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
479
484
|
biddingHourlyRatePercentage: number | null;
|
|
480
485
|
bidWithWarning: "bid" | "skip";
|
|
481
486
|
sleepTimezone: string | null;
|
|
482
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
487
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won", number>> | null;
|
|
483
488
|
expenses: {
|
|
484
489
|
biddingAmount?: number | undefined;
|
|
485
490
|
boostingAmount?: number | undefined;
|
|
@@ -635,6 +640,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
635
640
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
636
641
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
637
642
|
}>>;
|
|
643
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
638
644
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
639
645
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
640
646
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -701,6 +707,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
701
707
|
memberSinceFrom: string | null;
|
|
702
708
|
memberSinceTo: string | null;
|
|
703
709
|
} | null;
|
|
710
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
704
711
|
vendorQualifications: {
|
|
705
712
|
locationIncludes: string[] | null;
|
|
706
713
|
locationExcludes: string[] | null;
|
|
@@ -751,6 +758,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
751
758
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
752
759
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
753
760
|
} | null;
|
|
761
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
754
762
|
vendorQualifications: {
|
|
755
763
|
locationIncludes: string[] | null;
|
|
756
764
|
locationExcludes: string[] | null;
|
|
@@ -777,7 +785,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
777
785
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
778
786
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
779
787
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
780
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
788
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
781
789
|
expenses: z.ZodObject<{
|
|
782
790
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
783
791
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -875,6 +883,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
875
883
|
memberSinceFrom: string | null;
|
|
876
884
|
memberSinceTo: string | null;
|
|
877
885
|
} | null;
|
|
886
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
878
887
|
vendorQualifications: {
|
|
879
888
|
locationIncludes: string[] | null;
|
|
880
889
|
locationExcludes: string[] | null;
|
|
@@ -899,7 +908,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
899
908
|
sleepStartAtHour: number | null;
|
|
900
909
|
sleepEndAtHour: number | null;
|
|
901
910
|
sleepTimezone: string | null;
|
|
902
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
911
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won", number>> | null;
|
|
903
912
|
expenses: {
|
|
904
913
|
biddingAmount: number;
|
|
905
914
|
boostingAmount: number;
|
|
@@ -961,6 +970,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
961
970
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
962
971
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
963
972
|
} | null;
|
|
973
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
964
974
|
vendorQualifications: {
|
|
965
975
|
locationIncludes: string[] | null;
|
|
966
976
|
locationExcludes: string[] | null;
|
|
@@ -978,7 +988,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
978
988
|
biddingHourlyRatePercentage: number | null;
|
|
979
989
|
bidWithWarning: "bid" | "skip";
|
|
980
990
|
sleepTimezone: string | null;
|
|
981
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
991
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won", number>> | null;
|
|
982
992
|
expenses: {
|
|
983
993
|
biddingAmount?: number | undefined;
|
|
984
994
|
boostingAmount?: number | undefined;
|
|
@@ -1110,6 +1120,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1110
1120
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1111
1121
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1112
1122
|
}>>;
|
|
1123
|
+
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
1113
1124
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
1114
1125
|
locationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1115
1126
|
locationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1176,6 +1187,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1176
1187
|
memberSinceFrom: string | null;
|
|
1177
1188
|
memberSinceTo: string | null;
|
|
1178
1189
|
} | null;
|
|
1190
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1179
1191
|
vendorQualifications: {
|
|
1180
1192
|
locationIncludes: string[] | null;
|
|
1181
1193
|
locationExcludes: string[] | null;
|
|
@@ -1226,6 +1238,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1226
1238
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1227
1239
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1228
1240
|
} | null;
|
|
1241
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1229
1242
|
vendorQualifications: {
|
|
1230
1243
|
locationIncludes: string[] | null;
|
|
1231
1244
|
locationExcludes: string[] | null;
|
|
@@ -1250,7 +1263,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1250
1263
|
sleepStartAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1251
1264
|
sleepEndAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1252
1265
|
sleepTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1253
|
-
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1266
|
+
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1254
1267
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
1255
1268
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1256
1269
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1349,6 +1362,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1349
1362
|
memberSinceFrom: string | null;
|
|
1350
1363
|
memberSinceTo: string | null;
|
|
1351
1364
|
} | null;
|
|
1365
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1352
1366
|
vendorQualifications: {
|
|
1353
1367
|
locationIncludes: string[] | null;
|
|
1354
1368
|
locationExcludes: string[] | null;
|
|
@@ -1373,7 +1387,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1373
1387
|
sleepStartAtHour?: number | null | undefined;
|
|
1374
1388
|
sleepEndAtHour?: number | null | undefined;
|
|
1375
1389
|
sleepTimezone?: string | null | undefined;
|
|
1376
|
-
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1390
|
+
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1377
1391
|
expenses?: {
|
|
1378
1392
|
biddingAmount: number;
|
|
1379
1393
|
boostingAmount: number;
|
|
@@ -1442,6 +1456,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1442
1456
|
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
1443
1457
|
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
1444
1458
|
} | null;
|
|
1459
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
1445
1460
|
vendorQualifications: {
|
|
1446
1461
|
locationIncludes: string[] | null;
|
|
1447
1462
|
locationExcludes: string[] | null;
|
|
@@ -1466,7 +1481,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1466
1481
|
sleepStartAtHour?: number | null | undefined;
|
|
1467
1482
|
sleepEndAtHour?: number | null | undefined;
|
|
1468
1483
|
sleepTimezone?: string | null | undefined;
|
|
1469
|
-
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1484
|
+
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1470
1485
|
expenses?: {
|
|
1471
1486
|
biddingAmount?: number | undefined;
|
|
1472
1487
|
boostingAmount?: number | undefined;
|
|
@@ -1494,6 +1509,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1494
1509
|
export type BiddingHourlyRateStrategy = z.infer<typeof biddingHourlyRateStrategyEnum>;
|
|
1495
1510
|
export interface Campaign extends z.infer<typeof campaignSchema> {
|
|
1496
1511
|
biddingHourlyRateStrategy: BiddingHourlyRateStrategy;
|
|
1512
|
+
jobFilters: JobFilters;
|
|
1497
1513
|
}
|
|
1498
1514
|
export type CampaignStatus = z.infer<typeof campaignStatusSchema>;
|
|
1499
1515
|
export interface CreateCampaign extends z.infer<typeof createCampaignSchema> {
|