lancer-shared 1.2.260 → 1.2.262

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.
@@ -1,16 +1,16 @@
1
1
  import { z } from 'zod';
2
2
  export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
3
- export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
3
+ export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
4
4
  export declare const updateLeadStatusSchema: z.ZodObject<{
5
5
  leadId: z.ZodString;
6
6
  organizationId: z.ZodString;
7
7
  campaignId: z.ZodString;
8
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
8
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
9
9
  proposalId: z.ZodOptional<z.ZodString>;
10
10
  userId: z.ZodOptional<z.ZodString>;
11
11
  wonAmount: z.ZodOptional<z.ZodNumber>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
13
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
14
14
  campaignId: string;
15
15
  organizationId: string;
16
16
  leadId: string;
@@ -18,7 +18,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
18
18
  proposalId?: string | undefined;
19
19
  wonAmount?: number | undefined;
20
20
  }, {
21
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
21
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
22
22
  campaignId: string;
23
23
  organizationId: string;
24
24
  leadId: string;
@@ -28,12 +28,12 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
28
28
  }>;
29
29
  export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
30
30
  applicationUid: z.ZodString;
31
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
31
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
33
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
34
34
  applicationUid: string;
35
35
  }, {
36
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
36
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
37
37
  applicationUid: string;
38
38
  }>, "many">;
39
39
  export type LeadStatus = z.infer<typeof leadStatusEnum>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- export declare const LogEventTypeEnum: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
2
+ export declare const LogEventTypeEnum: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "scheduleBidding", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
3
3
  export declare const logEventSchema: z.ZodObject<{
4
- type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
4
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "scheduleBidding", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
5
5
  source: z.ZodString;
6
6
  resourceType: z.ZodDefault<z.ZodString>;
7
7
  resourceId: z.ZodNullable<z.ZodString>;
@@ -13,7 +13,7 @@ export declare const logEventSchema: z.ZodObject<{
13
13
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  timestamp: z.ZodNumber;
15
15
  }, "strip", z.ZodTypeAny, {
16
- type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
16
+ type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
17
17
  reason: string | null;
18
18
  source: string;
19
19
  metadata: Record<string, unknown> | null;
@@ -25,7 +25,7 @@ export declare const logEventSchema: z.ZodObject<{
25
25
  resourceType: string;
26
26
  resourceId: string | null;
27
27
  }, {
28
- type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
28
+ type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
29
29
  reason: string | null;
30
30
  source: string;
31
31
  metadata: Record<string, unknown> | null;
@@ -45,18 +45,18 @@ export declare const biddingCompletedEventMetadata: z.ZodObject<{
45
45
  boostedForPlace: z.ZodNullable<z.ZodNumber>;
46
46
  specialisedProfile: z.ZodNullable<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
+ specialisedProfile: string | null;
48
49
  biddingAmount: number;
49
50
  boosted: boolean;
50
51
  boostingAmount: number;
51
52
  boostedForPlace: number | null;
52
- specialisedProfile: string | null;
53
53
  applicationId: string;
54
54
  }, {
55
+ specialisedProfile: string | null;
55
56
  biddingAmount: number;
56
57
  boosted: boolean;
57
58
  boostingAmount: number;
58
59
  boostedForPlace: number | null;
59
- specialisedProfile: string | null;
60
60
  applicationId: string;
61
61
  }>;
62
62
  export declare const biddingFailedEventMetadata: z.ZodObject<{
@@ -131,13 +131,13 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
131
131
  leadId: z.ZodString;
132
132
  userId: z.ZodString;
133
133
  metadata: z.ZodOptional<z.ZodObject<{
134
- status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "won"]>;
134
+ status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingProcessing", "won"]>;
135
135
  proposalId: z.ZodNullable<z.ZodString>;
136
136
  }, "strip", z.ZodTypeAny, {
137
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
137
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
138
138
  proposalId: string | null;
139
139
  }, {
140
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
140
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
141
141
  proposalId: string | null;
142
142
  }>>;
143
143
  reason: z.ZodOptional<z.ZodString>;
@@ -148,7 +148,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
148
148
  leadId: string;
149
149
  reason?: string | undefined;
150
150
  metadata?: {
151
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
151
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
152
152
  proposalId: string | null;
153
153
  } | undefined;
154
154
  }, {
@@ -158,7 +158,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
158
158
  leadId: string;
159
159
  reason?: string | undefined;
160
160
  metadata?: {
161
- status: "rejected" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "won";
161
+ status: "rejected" | "contacted" | "viewed" | "replied" | "biddingProcessing" | "leads" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "won";
162
162
  proposalId: string | null;
163
163
  } | undefined;
164
164
  }>;
@@ -169,6 +169,19 @@ export declare const biddingRejectedWithFeedbackEventMetadata: z.ZodObject<{
169
169
  }, {
170
170
  feedback: string;
171
171
  }>;
172
+ export declare const scheduleBiddingEventMetadataSchema: z.ZodObject<{
173
+ organizationId: z.ZodString;
174
+ campaignId: z.ZodString;
175
+ leadId: z.ZodString;
176
+ }, "strip", z.ZodTypeAny, {
177
+ campaignId: string;
178
+ organizationId: string;
179
+ leadId: string;
180
+ }, {
181
+ campaignId: string;
182
+ organizationId: string;
183
+ leadId: string;
184
+ }>;
172
185
  export type LogEventType = z.infer<typeof LogEventTypeEnum>;
173
186
  export type LogEvent = z.infer<typeof logEventSchema>;
174
187
  export type BiddingCompletedEventMetadata = z.infer<typeof biddingCompletedEventMetadata>;
@@ -388,7 +401,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
388
401
  }>;
389
402
  export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
390
403
  export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
391
- type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
404
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "scheduleBidding", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
392
405
  source: z.ZodString;
393
406
  resourceType: z.ZodDefault<z.ZodString>;
394
407
  resourceId: z.ZodNullable<z.ZodString>;
@@ -400,7 +413,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
400
413
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
401
414
  timestamp: z.ZodNumber;
402
415
  }, "strip", z.ZodTypeAny, {
403
- type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
416
+ type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
404
417
  reason: string | null;
405
418
  source: string;
406
419
  metadata: Record<string, unknown> | null;
@@ -412,7 +425,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
412
425
  resourceType: string;
413
426
  resourceId: string | null;
414
427
  }, {
415
- type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
428
+ type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
416
429
  reason: string | null;
417
430
  source: string;
418
431
  metadata: Record<string, unknown> | null;
@@ -424,7 +437,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
424
437
  resourceId: string | null;
425
438
  resourceType?: string | undefined;
426
439
  }>, z.ZodArray<z.ZodObject<{
427
- type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
440
+ type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "scheduleBidding", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed"]>;
428
441
  source: z.ZodString;
429
442
  resourceType: z.ZodDefault<z.ZodString>;
430
443
  resourceId: z.ZodNullable<z.ZodString>;
@@ -436,7 +449,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
436
449
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
437
450
  timestamp: z.ZodNumber;
438
451
  }, "strip", z.ZodTypeAny, {
439
- type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
452
+ type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
440
453
  reason: string | null;
441
454
  source: string;
442
455
  metadata: Record<string, unknown> | null;
@@ -448,7 +461,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
448
461
  resourceType: string;
449
462
  resourceId: string | null;
450
463
  }, {
451
- type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
464
+ type: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed";
452
465
  reason: string | null;
453
466
  source: string;
454
467
  metadata: Record<string, unknown> | null;
@@ -461,3 +474,4 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
461
474
  resourceType?: string | undefined;
462
475
  }>, "many">]>;
463
476
  export type EventLoggerPayload = z.infer<typeof eventLoggerPayloadSchema>;
477
+ export type ScheduleBiddingEventMetadata = z.infer<typeof scheduleBiddingEventMetadataSchema>;
@@ -1046,4 +1046,5 @@ export interface SubscribePayload extends z.infer<typeof subscribePayloadSchema>
1046
1046
  export * from './cover-letter';
1047
1047
  export * from './member';
1048
1048
  export * from './onboarding';
1049
+ export * from './organization-leads';
1049
1050
  export * from './subscription';
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ export declare const getOrganizationLeadsStatusEnum: z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>;
3
+ export declare const getOrganizationLeadsRequestQuerySchema: z.ZodObject<{
4
+ cursor: z.ZodOptional<z.ZodString>;
5
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ status: z.ZodOptional<z.ZodEnum<["all", "suitable", "contacted", "viewed", "replied"]>>;
7
+ campaignId: z.ZodOptional<z.ZodString>;
8
+ inQueue: z.ZodOptional<z.ZodBoolean>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ cursor?: string | undefined;
11
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
12
+ campaignId?: string | undefined;
13
+ limit?: number | undefined;
14
+ inQueue?: boolean | undefined;
15
+ }, {
16
+ cursor?: string | undefined;
17
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | undefined;
18
+ campaignId?: string | undefined;
19
+ limit?: number | undefined;
20
+ inQueue?: boolean | undefined;
21
+ }>;
22
+ export type GetOrganizationLeadsStatus = z.infer<typeof getOrganizationLeadsStatusEnum>;
23
+ export type GetOrganizationLeadsRequestQuery = z.infer<typeof getOrganizationLeadsRequestQuerySchema>;