lancer-shared 1.2.283 → 1.2.284
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 +40 -9
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +37 -8328
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +2 -0
- package/dist/schemas/account/bidder-account.d.ts +38 -100
- package/dist/schemas/account/scraper-account.d.ts +5 -5
- package/dist/schemas/campaign/campaign-analytics.d.ts +10 -0
- package/dist/schemas/campaign/campaign.d.ts +2 -2
- package/dist/schemas/logger/log-event.d.ts +84 -10
- package/dist/schemas/proxy/proxy-available-replacements.d.ts +1 -1
- package/dist/schemas/proxy/proxy.d.ts +14 -24
- package/dist/schemas/scraper/scrape-payload.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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", "scheduleBidding", "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", "verifyCredentialsSucceeded", "verifyCredentialsFailed"]>;
|
|
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", "scheduleBidding", "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", "verifyCredentialsSucceeded", "verifyCredentialsFailed"]>;
|
|
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: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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";
|
|
16
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
|
|
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
|
resourceId: string | null;
|
|
26
26
|
timestamp: number;
|
|
27
27
|
}, {
|
|
28
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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";
|
|
28
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
|
|
29
29
|
reason: string | null;
|
|
30
30
|
source: string;
|
|
31
31
|
metadata: Record<string, unknown> | null;
|
|
@@ -182,6 +182,78 @@ export declare const scheduleBiddingEventMetadataSchema: z.ZodObject<{
|
|
|
182
182
|
organizationId: string;
|
|
183
183
|
campaignId: string;
|
|
184
184
|
}>;
|
|
185
|
+
export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<{
|
|
186
|
+
bidderAccountId: z.ZodString;
|
|
187
|
+
accountName: z.ZodString;
|
|
188
|
+
accountPhotoUrl: z.ZodString;
|
|
189
|
+
agencies: z.ZodArray<z.ZodObject<{
|
|
190
|
+
name: z.ZodString;
|
|
191
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
192
|
+
contractors: z.ZodArray<z.ZodObject<{
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
specializedProfiles: z.ZodArray<z.ZodString, "many">;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
name: string;
|
|
197
|
+
specializedProfiles: string[];
|
|
198
|
+
}, {
|
|
199
|
+
name: string;
|
|
200
|
+
specializedProfiles: string[];
|
|
201
|
+
}>, "many">;
|
|
202
|
+
organizationId: z.ZodString;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
name: string;
|
|
205
|
+
organizationId: string;
|
|
206
|
+
logoUrl: string | null;
|
|
207
|
+
contractors: {
|
|
208
|
+
name: string;
|
|
209
|
+
specializedProfiles: string[];
|
|
210
|
+
}[];
|
|
211
|
+
}, {
|
|
212
|
+
name: string;
|
|
213
|
+
organizationId: string;
|
|
214
|
+
logoUrl: string | null;
|
|
215
|
+
contractors: {
|
|
216
|
+
name: string;
|
|
217
|
+
specializedProfiles: string[];
|
|
218
|
+
}[];
|
|
219
|
+
}>, "many">;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
agencies: {
|
|
222
|
+
name: string;
|
|
223
|
+
organizationId: string;
|
|
224
|
+
logoUrl: string | null;
|
|
225
|
+
contractors: {
|
|
226
|
+
name: string;
|
|
227
|
+
specializedProfiles: string[];
|
|
228
|
+
}[];
|
|
229
|
+
}[];
|
|
230
|
+
bidderAccountId: string;
|
|
231
|
+
accountName: string;
|
|
232
|
+
accountPhotoUrl: string;
|
|
233
|
+
}, {
|
|
234
|
+
agencies: {
|
|
235
|
+
name: string;
|
|
236
|
+
organizationId: string;
|
|
237
|
+
logoUrl: string | null;
|
|
238
|
+
contractors: {
|
|
239
|
+
name: string;
|
|
240
|
+
specializedProfiles: string[];
|
|
241
|
+
}[];
|
|
242
|
+
}[];
|
|
243
|
+
bidderAccountId: string;
|
|
244
|
+
accountName: string;
|
|
245
|
+
accountPhotoUrl: string;
|
|
246
|
+
}>;
|
|
247
|
+
export declare const verifyCredentialsFailedEventMetadataSchema: z.ZodObject<{
|
|
248
|
+
bidderAccountId: z.ZodString;
|
|
249
|
+
errorMessage: z.ZodString;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
errorMessage: string;
|
|
252
|
+
bidderAccountId: string;
|
|
253
|
+
}, {
|
|
254
|
+
errorMessage: string;
|
|
255
|
+
bidderAccountId: string;
|
|
256
|
+
}>;
|
|
185
257
|
export type LogEventType = z.infer<typeof LogEventTypeEnum>;
|
|
186
258
|
export type LogEvent = z.infer<typeof logEventSchema>;
|
|
187
259
|
export type BiddingCompletedEventMetadata = z.infer<typeof biddingCompletedEventMetadata>;
|
|
@@ -404,7 +476,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
404
476
|
}>;
|
|
405
477
|
export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
|
|
406
478
|
export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
407
|
-
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"]>;
|
|
479
|
+
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", "verifyCredentialsSucceeded", "verifyCredentialsFailed"]>;
|
|
408
480
|
source: z.ZodString;
|
|
409
481
|
resourceType: z.ZodDefault<z.ZodString>;
|
|
410
482
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -416,7 +488,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
416
488
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
417
489
|
timestamp: z.ZodNumber;
|
|
418
490
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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";
|
|
491
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
|
|
420
492
|
reason: string | null;
|
|
421
493
|
source: string;
|
|
422
494
|
metadata: Record<string, unknown> | null;
|
|
@@ -428,7 +500,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
428
500
|
resourceId: string | null;
|
|
429
501
|
timestamp: number;
|
|
430
502
|
}, {
|
|
431
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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";
|
|
503
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
|
|
432
504
|
reason: string | null;
|
|
433
505
|
source: string;
|
|
434
506
|
metadata: Record<string, unknown> | null;
|
|
@@ -440,7 +512,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
440
512
|
timestamp: number;
|
|
441
513
|
resourceType?: string | undefined;
|
|
442
514
|
}>, z.ZodArray<z.ZodObject<{
|
|
443
|
-
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"]>;
|
|
515
|
+
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", "verifyCredentialsSucceeded", "verifyCredentialsFailed"]>;
|
|
444
516
|
source: z.ZodString;
|
|
445
517
|
resourceType: z.ZodDefault<z.ZodString>;
|
|
446
518
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -452,7 +524,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
452
524
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
453
525
|
timestamp: z.ZodNumber;
|
|
454
526
|
}, "strip", z.ZodTypeAny, {
|
|
455
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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";
|
|
527
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
|
|
456
528
|
reason: string | null;
|
|
457
529
|
source: string;
|
|
458
530
|
metadata: Record<string, unknown> | null;
|
|
@@ -464,7 +536,7 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
464
536
|
resourceId: string | null;
|
|
465
537
|
timestamp: number;
|
|
466
538
|
}, {
|
|
467
|
-
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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";
|
|
539
|
+
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "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" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
|
|
468
540
|
reason: string | null;
|
|
469
541
|
source: string;
|
|
470
542
|
metadata: Record<string, unknown> | null;
|
|
@@ -478,3 +550,5 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
478
550
|
}>, "many">]>;
|
|
479
551
|
export type EventLoggerPayload = z.infer<typeof eventLoggerPayloadSchema>;
|
|
480
552
|
export type ScheduleBiddingEventMetadata = z.infer<typeof scheduleBiddingEventMetadataSchema>;
|
|
553
|
+
export type VerifyCredentialsSucceededEventMetadata = z.infer<typeof verifyCredentialsSucceededEventMetadataSchema>;
|
|
554
|
+
export type VerifyCredentialsFailedEventMetadata = z.infer<typeof verifyCredentialsFailedEventMetadataSchema>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const proxyAvailableReplacementsSchema: z.ZodRecord<z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>, z.ZodNumber>;
|
|
2
|
+
export declare const proxyAvailableReplacementsSchema: z.ZodRecord<z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata"]>, z.ZodNumber>;
|
|
3
3
|
export interface ProxyAvailableReplacements extends z.infer<typeof proxyAvailableReplacementsSchema> {
|
|
4
4
|
}
|
|
@@ -3,7 +3,7 @@ import { BidderAccount, ScraperAccount } from '../account';
|
|
|
3
3
|
import { Region } from '../shared';
|
|
4
4
|
import { proxyCountryEnum } from './proxy-country';
|
|
5
5
|
export declare const proxyStatusSchema: z.ZodEnum<["invalid", "valid", "pending_validation"]>;
|
|
6
|
-
export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
|
|
6
|
+
export declare const proxyProviderSchema: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata"]>;
|
|
7
7
|
export declare const proxyTypeSchema: z.ZodEnum<["rotating", "static"]>;
|
|
8
8
|
export declare const proxySchema: z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
@@ -12,11 +12,9 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
12
12
|
port: z.ZodNumber;
|
|
13
13
|
username: z.ZodString;
|
|
14
14
|
password: z.ZodString;
|
|
15
|
-
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
|
|
15
|
+
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata"]>;
|
|
16
16
|
ip: z.ZodString;
|
|
17
|
-
|
|
18
|
-
oldAccounts: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
19
|
-
fraudScore: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
isProxy: z.ZodNullable<z.ZodBoolean>;
|
|
20
18
|
claimedCountry: z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>;
|
|
21
19
|
status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
|
|
22
20
|
country: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>>;
|
|
@@ -33,10 +31,8 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
33
31
|
ip: string;
|
|
34
32
|
externalId: string;
|
|
35
33
|
password: string;
|
|
36
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
37
|
-
|
|
38
|
-
oldAccounts: string[] | null;
|
|
39
|
-
fraudScore: number | null;
|
|
34
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata";
|
|
35
|
+
isProxy: boolean | null;
|
|
40
36
|
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
41
37
|
accountId: string | null;
|
|
42
38
|
}, {
|
|
@@ -50,10 +46,8 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
50
46
|
ip: string;
|
|
51
47
|
externalId: string;
|
|
52
48
|
password: string;
|
|
53
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
54
|
-
|
|
55
|
-
oldAccounts: string[] | null;
|
|
56
|
-
fraudScore: number | null;
|
|
49
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata";
|
|
50
|
+
isProxy: boolean | null;
|
|
57
51
|
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
58
52
|
accountId: string | null;
|
|
59
53
|
}>;
|
|
@@ -64,17 +58,15 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
64
58
|
port: z.ZodNumber;
|
|
65
59
|
username: z.ZodString;
|
|
66
60
|
password: z.ZodString;
|
|
67
|
-
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte"]>;
|
|
61
|
+
provider: z.ZodEnum<["webshare", "decodo", "proxy-cheap", "rayobyte", "brightdata"]>;
|
|
68
62
|
ip: z.ZodString;
|
|
69
|
-
|
|
70
|
-
oldAccounts: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
71
|
-
fraudScore: z.ZodNullable<z.ZodNumber>;
|
|
63
|
+
isProxy: z.ZodNullable<z.ZodBoolean>;
|
|
72
64
|
claimedCountry: z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>;
|
|
73
65
|
status: z.ZodNullable<z.ZodEnum<["invalid", "valid", "pending_validation"]>>;
|
|
74
66
|
country: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>>;
|
|
75
67
|
accountId: z.ZodNullable<z.ZodString>;
|
|
76
68
|
type: z.ZodEnum<["rotating", "static"]>;
|
|
77
|
-
}, "id" | "country" | "status" | "
|
|
69
|
+
}, "id" | "country" | "status" | "accountId">, "strip", z.ZodTypeAny, {
|
|
78
70
|
type: "rotating" | "static";
|
|
79
71
|
port: number;
|
|
80
72
|
username: string;
|
|
@@ -82,9 +74,8 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
82
74
|
ip: string;
|
|
83
75
|
externalId: string;
|
|
84
76
|
password: string;
|
|
85
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
86
|
-
|
|
87
|
-
oldAccounts: string[] | null;
|
|
77
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata";
|
|
78
|
+
isProxy: boolean | null;
|
|
88
79
|
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
89
80
|
}, {
|
|
90
81
|
type: "rotating" | "static";
|
|
@@ -94,9 +85,8 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
94
85
|
ip: string;
|
|
95
86
|
externalId: string;
|
|
96
87
|
password: string;
|
|
97
|
-
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte";
|
|
98
|
-
|
|
99
|
-
oldAccounts: string[] | null;
|
|
88
|
+
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata";
|
|
89
|
+
isProxy: boolean | null;
|
|
100
90
|
claimedCountry: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
101
91
|
}>;
|
|
102
92
|
export declare const refreshRotatingProxiesRequestBodySchema: z.ZodObject<{
|
|
@@ -2188,10 +2188,13 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2188
2188
|
updatedAt: z.ZodNumber;
|
|
2189
2189
|
region: z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>;
|
|
2190
2190
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
2191
|
+
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
2192
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
2191
2193
|
}, "strip", z.ZodTypeAny, {
|
|
2192
2194
|
id: string;
|
|
2193
2195
|
name: string | null;
|
|
2194
2196
|
email: string;
|
|
2197
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2195
2198
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2196
2199
|
password: string;
|
|
2197
2200
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -2215,12 +2218,14 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2215
2218
|
instanceId: string | null;
|
|
2216
2219
|
createdAt: number;
|
|
2217
2220
|
updatedAt: number;
|
|
2221
|
+
errorMessage: string | null;
|
|
2218
2222
|
googleOauthTokens?: any;
|
|
2219
2223
|
isProtected?: boolean | undefined;
|
|
2220
2224
|
}, {
|
|
2221
2225
|
id: string;
|
|
2222
2226
|
name: string | null;
|
|
2223
2227
|
email: string;
|
|
2228
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2224
2229
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2225
2230
|
password: string;
|
|
2226
2231
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -2244,6 +2249,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2244
2249
|
instanceId: string | null;
|
|
2245
2250
|
createdAt: number;
|
|
2246
2251
|
updatedAt: number;
|
|
2252
|
+
errorMessage: string | null;
|
|
2247
2253
|
googleOauthTokens?: any;
|
|
2248
2254
|
isProtected?: boolean | undefined;
|
|
2249
2255
|
}>;
|
|
@@ -2608,6 +2614,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2608
2614
|
id: string;
|
|
2609
2615
|
name: string | null;
|
|
2610
2616
|
email: string;
|
|
2617
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2611
2618
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2612
2619
|
password: string;
|
|
2613
2620
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -2631,6 +2638,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2631
2638
|
instanceId: string | null;
|
|
2632
2639
|
createdAt: number;
|
|
2633
2640
|
updatedAt: number;
|
|
2641
|
+
errorMessage: string | null;
|
|
2634
2642
|
googleOauthTokens?: any;
|
|
2635
2643
|
isProtected?: boolean | undefined;
|
|
2636
2644
|
};
|
|
@@ -2995,6 +3003,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2995
3003
|
id: string;
|
|
2996
3004
|
name: string | null;
|
|
2997
3005
|
email: string;
|
|
3006
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2998
3007
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2999
3008
|
password: string;
|
|
3000
3009
|
provider: "user-provided" | "lancer-provided";
|
|
@@ -3018,6 +3027,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3018
3027
|
instanceId: string | null;
|
|
3019
3028
|
createdAt: number;
|
|
3020
3029
|
updatedAt: number;
|
|
3030
|
+
errorMessage: string | null;
|
|
3021
3031
|
googleOauthTokens?: any;
|
|
3022
3032
|
isProtected?: boolean | undefined;
|
|
3023
3033
|
};
|