lancer-shared 1.2.187 → 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.
@@ -524,6 +524,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
524
524
  isPhoneVerified?: "all" | "true" | "false" | undefined;
525
525
  enterpriseClient?: "all" | "true" | "false" | undefined;
526
526
  }>>;
527
+ includeClientsWithZeroReviews: import("zod").ZodNullable<import("zod").ZodBoolean>;
527
528
  vendorQualifications: import("zod").ZodNullable<import("zod").ZodObject<{
528
529
  locationIncludes: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString, "many">>;
529
530
  locationExcludes: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -590,6 +591,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
590
591
  memberSinceFrom: string | null;
591
592
  memberSinceTo: string | null;
592
593
  } | null;
594
+ includeClientsWithZeroReviews: boolean | null;
593
595
  vendorQualifications: {
594
596
  locationIncludes: string[] | null;
595
597
  locationExcludes: string[] | null;
@@ -640,6 +642,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
640
642
  isPhoneVerified?: "all" | "true" | "false" | undefined;
641
643
  enterpriseClient?: "all" | "true" | "false" | undefined;
642
644
  } | null;
645
+ includeClientsWithZeroReviews: boolean | null;
643
646
  vendorQualifications: {
644
647
  locationIncludes: string[] | null;
645
648
  locationExcludes: string[] | null;
@@ -666,7 +669,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
666
669
  sleepStartAtHour: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
667
670
  sleepEndAtHour: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
668
671
  sleepTimezone: import("zod").ZodNullable<import("zod").ZodString>;
669
- leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
672
+ leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
670
673
  expenses: import("zod").ZodObject<{
671
674
  biddingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
672
675
  boostingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
@@ -719,6 +722,15 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
719
722
  template: string;
720
723
  instructions: string;
721
724
  }>>;
725
+ organizationProfileId: import("zod").ZodNullable<import("zod").ZodString>;
726
+ lastSyncedProposalsAt: import("zod").ZodNullable<import("zod").ZodNumber>;
727
+ limits: import("zod").ZodNullable<import("zod").ZodObject<{
728
+ maxDailyProposalsSent: import("zod").ZodNullable<import("zod").ZodNumber>;
729
+ }, "strip", import("zod").ZodTypeAny, {
730
+ maxDailyProposalsSent: number | null;
731
+ }, {
732
+ maxDailyProposalsSent: number | null;
733
+ }>>;
722
734
  }, "strip", import("zod").ZodTypeAny, {
723
735
  id: string;
724
736
  name: string;
@@ -763,6 +775,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
763
775
  memberSinceFrom: string | null;
764
776
  memberSinceTo: string | null;
765
777
  } | null;
778
+ includeClientsWithZeroReviews: boolean | null;
766
779
  vendorQualifications: {
767
780
  locationIncludes: string[] | null;
768
781
  locationExcludes: string[] | null;
@@ -789,7 +802,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
789
802
  sleepStartAtHour: number | null;
790
803
  sleepEndAtHour: number | null;
791
804
  sleepTimezone: string | null;
792
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
805
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
793
806
  expenses: {
794
807
  biddingAmount: number;
795
808
  boostingAmount: number;
@@ -811,6 +824,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
811
824
  template: string;
812
825
  instructions: string;
813
826
  } | null;
827
+ organizationProfileId: string | null;
828
+ lastSyncedProposalsAt: number | null;
829
+ limits: {
830
+ maxDailyProposalsSent: number | null;
831
+ } | null;
814
832
  status?: "active" | "draft" | "paused" | "error" | undefined;
815
833
  }, {
816
834
  id: string;
@@ -856,6 +874,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
856
874
  isPhoneVerified?: "all" | "true" | "false" | undefined;
857
875
  enterpriseClient?: "all" | "true" | "false" | undefined;
858
876
  } | null;
877
+ includeClientsWithZeroReviews: boolean | null;
859
878
  vendorQualifications: {
860
879
  locationIncludes: string[] | null;
861
880
  locationExcludes: string[] | null;
@@ -875,7 +894,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
875
894
  biddingHourlyRatePercentage: number | null;
876
895
  bidWithWarning: "bid" | "skip";
877
896
  sleepTimezone: string | null;
878
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
897
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
879
898
  expenses: {
880
899
  biddingAmount?: number | undefined;
881
900
  boostingAmount?: number | undefined;
@@ -897,6 +916,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
897
916
  template: string;
898
917
  instructions: string;
899
918
  } | null;
919
+ organizationProfileId: string | null;
920
+ lastSyncedProposalsAt: number | null;
921
+ limits: {
922
+ maxDailyProposalsSent: number | null;
923
+ } | null;
900
924
  status?: "active" | "draft" | "paused" | "error" | undefined;
901
925
  boostingEnabled?: boolean | null | undefined;
902
926
  maximumBoost?: number | null | undefined;
@@ -1125,6 +1149,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1125
1149
  createdAt: number;
1126
1150
  updatedAt: number;
1127
1151
  active: boolean;
1152
+ limits: {
1153
+ monthlyCredits: number;
1154
+ usedCredits: number;
1155
+ extraCredits: number;
1156
+ };
1128
1157
  associatedBidders: string[] | null;
1129
1158
  subscription: {
1130
1159
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
@@ -1149,11 +1178,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1149
1178
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
1150
1179
  trialEndsAt: number | null;
1151
1180
  } | null;
1152
- limits: {
1153
- monthlyCredits: number;
1154
- usedCredits: number;
1155
- extraCredits: number;
1156
- };
1157
1181
  billing: {
1158
1182
  stripe: {
1159
1183
  customer: {
@@ -1183,6 +1207,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1183
1207
  createdAt: number;
1184
1208
  updatedAt: number;
1185
1209
  active: boolean;
1210
+ limits: {
1211
+ monthlyCredits: number;
1212
+ usedCredits: number;
1213
+ extraCredits: number;
1214
+ };
1186
1215
  associatedBidders: string[] | null;
1187
1216
  subscription: {
1188
1217
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
@@ -1207,11 +1236,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1207
1236
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
1208
1237
  trialEndsAt: number | null;
1209
1238
  } | null;
1210
- limits: {
1211
- monthlyCredits: number;
1212
- usedCredits: number;
1213
- extraCredits: number;
1214
- };
1215
1239
  billing: {
1216
1240
  stripe: {
1217
1241
  customer: {
@@ -1553,7 +1577,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1553
1577
  answer: string;
1554
1578
  }>, "many">>;
1555
1579
  agentStatus: import("zod").ZodNullable<import("zod").ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
1556
- leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
1580
+ leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>>;
1557
1581
  biddingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
1558
1582
  boosted: import("zod").ZodNullable<import("zod").ZodBoolean>;
1559
1583
  boostingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -1670,7 +1694,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1670
1694
  answer: string;
1671
1695
  }[] | null;
1672
1696
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1673
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
1697
+ leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
1674
1698
  biddingTaskScheduled: boolean | null;
1675
1699
  scheduledBiddingTime: number | null;
1676
1700
  feedbackCheckTaskId: string | null;
@@ -1805,7 +1829,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1805
1829
  answer: string;
1806
1830
  }[] | null;
1807
1831
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
1808
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
1832
+ leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
1809
1833
  biddingTaskScheduled: boolean | null;
1810
1834
  scheduledBiddingTime: number | null;
1811
1835
  feedbackCheckTaskId: string | null;
@@ -1989,6 +2013,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
1989
2013
  memberSinceFrom: string | null;
1990
2014
  memberSinceTo: string | null;
1991
2015
  } | null;
2016
+ includeClientsWithZeroReviews: boolean | null;
1992
2017
  vendorQualifications: {
1993
2018
  locationIncludes: string[] | null;
1994
2019
  locationExcludes: string[] | null;
@@ -2015,7 +2040,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2015
2040
  sleepStartAtHour: number | null;
2016
2041
  sleepEndAtHour: number | null;
2017
2042
  sleepTimezone: string | null;
2018
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
2043
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
2019
2044
  expenses: {
2020
2045
  biddingAmount: number;
2021
2046
  boostingAmount: number;
@@ -2037,6 +2062,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2037
2062
  template: string;
2038
2063
  instructions: string;
2039
2064
  } | null;
2065
+ organizationProfileId: string | null;
2066
+ lastSyncedProposalsAt: number | null;
2067
+ limits: {
2068
+ maxDailyProposalsSent: number | null;
2069
+ } | null;
2040
2070
  status?: "active" | "draft" | "paused" | "error" | undefined;
2041
2071
  };
2042
2072
  organization: {
@@ -2046,6 +2076,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2046
2076
  createdAt: number;
2047
2077
  updatedAt: number;
2048
2078
  active: boolean;
2079
+ limits: {
2080
+ monthlyCredits: number;
2081
+ usedCredits: number;
2082
+ extraCredits: number;
2083
+ };
2049
2084
  associatedBidders: string[] | null;
2050
2085
  subscription: {
2051
2086
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
@@ -2070,11 +2105,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2070
2105
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
2071
2106
  trialEndsAt: number | null;
2072
2107
  } | null;
2073
- limits: {
2074
- monthlyCredits: number;
2075
- usedCredits: number;
2076
- extraCredits: number;
2077
- };
2078
2108
  billing: {
2079
2109
  stripe: {
2080
2110
  customer: {
@@ -2204,7 +2234,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2204
2234
  answer: string;
2205
2235
  }[] | null;
2206
2236
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2207
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
2237
+ leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
2208
2238
  biddingTaskScheduled: boolean | null;
2209
2239
  scheduledBiddingTime: number | null;
2210
2240
  feedbackCheckTaskId: string | null;
@@ -2310,6 +2340,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2310
2340
  isPhoneVerified?: "all" | "true" | "false" | undefined;
2311
2341
  enterpriseClient?: "all" | "true" | "false" | undefined;
2312
2342
  } | null;
2343
+ includeClientsWithZeroReviews: boolean | null;
2313
2344
  vendorQualifications: {
2314
2345
  locationIncludes: string[] | null;
2315
2346
  locationExcludes: string[] | null;
@@ -2329,7 +2360,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2329
2360
  biddingHourlyRatePercentage: number | null;
2330
2361
  bidWithWarning: "bid" | "skip";
2331
2362
  sleepTimezone: string | null;
2332
- leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
2363
+ leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won", number>> | null;
2333
2364
  expenses: {
2334
2365
  biddingAmount?: number | undefined;
2335
2366
  boostingAmount?: number | undefined;
@@ -2351,6 +2382,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2351
2382
  template: string;
2352
2383
  instructions: string;
2353
2384
  } | null;
2385
+ organizationProfileId: string | null;
2386
+ lastSyncedProposalsAt: number | null;
2387
+ limits: {
2388
+ maxDailyProposalsSent: number | null;
2389
+ } | null;
2354
2390
  status?: "active" | "draft" | "paused" | "error" | undefined;
2355
2391
  boostingEnabled?: boolean | null | undefined;
2356
2392
  maximumBoost?: number | null | undefined;
@@ -2367,6 +2403,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2367
2403
  createdAt: number;
2368
2404
  updatedAt: number;
2369
2405
  active: boolean;
2406
+ limits: {
2407
+ monthlyCredits: number;
2408
+ usedCredits: number;
2409
+ extraCredits: number;
2410
+ };
2370
2411
  associatedBidders: string[] | null;
2371
2412
  subscription: {
2372
2413
  status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
@@ -2391,11 +2432,6 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2391
2432
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
2392
2433
  trialEndsAt: number | null;
2393
2434
  } | null;
2394
- limits: {
2395
- monthlyCredits: number;
2396
- usedCredits: number;
2397
- extraCredits: number;
2398
- };
2399
2435
  billing: {
2400
2436
  stripe: {
2401
2437
  customer: {
@@ -2525,7 +2561,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
2525
2561
  answer: string;
2526
2562
  }[] | null;
2527
2563
  agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
2528
- leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
2564
+ leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "viewed" | "replied" | "won" | null;
2529
2565
  biddingTaskScheduled: boolean | null;
2530
2566
  scheduledBiddingTime: number | null;
2531
2567
  feedbackCheckTaskId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.187",
3
+ "version": "1.2.189",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",