lancer-shared 1.2.163 → 1.2.164
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 +68 -44
- package/dist/constants/job-filter-options.d.ts +1 -0
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/agent/index.d.ts +10 -5
- package/dist/schemas/bid/bid.d.ts +5134 -177
- package/dist/schemas/bidder/bid-result.d.ts +30 -0
- package/dist/schemas/bidder/bid.d.ts +8010 -0
- package/dist/schemas/bidder/exceptions/cloudflare-challenge-failed.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/delete-multilogin-profile.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/dropdown-option-not-present.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/element-not-clickable.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/evalaute-element.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/evaluate-function.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/get-multilogin-browser.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/incorrect-security-question-answer.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/index.d.ts +63 -0
- package/dist/schemas/bidder/exceptions/init-browser.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/insufficient-connects.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/invalid-credentials.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/invalid-job-url.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/login-failed.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/multilogin-authentication.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/navigation-timeout.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/new-browser-page.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/new-page.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/open-new-url.exception.d.ts +15 -0
- package/dist/schemas/bidder/exceptions/parse-connects.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/proposal-error-alert.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/proposal-form-warning-alert.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/proposal-generation-failed.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/proposal-submit-failed.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/pupeteer-conection-error.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/question-pair-not-matching.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/select-agency.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/select-contractor.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/selector-not-found.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/typed-value-not-matching.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/typing-input-field.exception.d.ts +5 -0
- package/dist/schemas/bidder/exceptions/wait-for-function-timeout.exception.d.ts +5 -0
- package/dist/schemas/bidder/index.d.ts +4 -0
- package/dist/schemas/bidder/sync-proposal-status.d.ts +12 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +44 -27
- package/dist/schemas/campaign/campaign.d.ts +9 -9
- package/dist/schemas/index.d.ts +22 -22
- package/dist/schemas/lead/index.d.ts +36 -18
- package/dist/schemas/lead/lead-status.d.ts +17 -6
- package/dist/schemas/logger/log-event.d.ts +8 -5
- package/dist/schemas/organization/index.d.ts +4 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +20 -10
- package/package.json +1 -1
|
@@ -329,7 +329,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
329
329
|
answer: string;
|
|
330
330
|
}>, "many">>;
|
|
331
331
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
332
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
|
|
332
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
333
333
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
334
334
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
335
335
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -339,6 +339,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
339
339
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
340
340
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
341
341
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
342
|
+
applicationId: z.ZodNullable<z.ZodString>;
|
|
342
343
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
343
344
|
id: string | null;
|
|
344
345
|
uid: string | null;
|
|
@@ -442,7 +443,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
442
443
|
answer: string;
|
|
443
444
|
}[] | null;
|
|
444
445
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
445
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
446
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
446
447
|
biddingAmount: number | null;
|
|
447
448
|
boosted: boolean | null;
|
|
448
449
|
boostingAmount: number | null;
|
|
@@ -451,6 +452,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
451
452
|
feedbackCheckTaskId: string | null;
|
|
452
453
|
bidDecision: "proceeded" | "rejected" | null;
|
|
453
454
|
rejectedFeedback: string | null;
|
|
455
|
+
applicationId: string | null;
|
|
454
456
|
activity?: Partial<Record<"4h" | "24h", {
|
|
455
457
|
proposals: {
|
|
456
458
|
min: number | null;
|
|
@@ -576,7 +578,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
576
578
|
answer: string;
|
|
577
579
|
}[] | null;
|
|
578
580
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
579
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
581
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
580
582
|
biddingAmount: number | null;
|
|
581
583
|
boosted: boolean | null;
|
|
582
584
|
boostingAmount: number | null;
|
|
@@ -585,6 +587,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
585
587
|
feedbackCheckTaskId: string | null;
|
|
586
588
|
bidDecision: "proceeded" | "rejected" | null;
|
|
587
589
|
rejectedFeedback: string | null;
|
|
590
|
+
applicationId: string | null;
|
|
588
591
|
activity?: Partial<Record<"4h" | "24h", {
|
|
589
592
|
proposals: {
|
|
590
593
|
min: number | null;
|
|
@@ -927,7 +930,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
927
930
|
answer: string;
|
|
928
931
|
}>, "many">>;
|
|
929
932
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
930
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
|
|
933
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
931
934
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
932
935
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
933
936
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -937,6 +940,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
937
940
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
938
941
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
939
942
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
943
|
+
applicationId: z.ZodNullable<z.ZodString>;
|
|
940
944
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
941
945
|
id: string | null;
|
|
942
946
|
uid: string | null;
|
|
@@ -1040,7 +1044,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1040
1044
|
answer: string;
|
|
1041
1045
|
}[] | null;
|
|
1042
1046
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1043
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1047
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1044
1048
|
biddingAmount: number | null;
|
|
1045
1049
|
boosted: boolean | null;
|
|
1046
1050
|
boostingAmount: number | null;
|
|
@@ -1049,6 +1053,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1049
1053
|
feedbackCheckTaskId: string | null;
|
|
1050
1054
|
bidDecision: "proceeded" | "rejected" | null;
|
|
1051
1055
|
rejectedFeedback: string | null;
|
|
1056
|
+
applicationId: string | null;
|
|
1052
1057
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1053
1058
|
proposals: {
|
|
1054
1059
|
min: number | null;
|
|
@@ -1174,7 +1179,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1174
1179
|
answer: string;
|
|
1175
1180
|
}[] | null;
|
|
1176
1181
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1177
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1182
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1178
1183
|
biddingAmount: number | null;
|
|
1179
1184
|
boosted: boolean | null;
|
|
1180
1185
|
boostingAmount: number | null;
|
|
@@ -1183,6 +1188,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1183
1188
|
feedbackCheckTaskId: string | null;
|
|
1184
1189
|
bidDecision: "proceeded" | "rejected" | null;
|
|
1185
1190
|
rejectedFeedback: string | null;
|
|
1191
|
+
applicationId: string | null;
|
|
1186
1192
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1187
1193
|
proposals: {
|
|
1188
1194
|
min: number | null;
|
|
@@ -1313,7 +1319,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1313
1319
|
answer: string;
|
|
1314
1320
|
}[] | null;
|
|
1315
1321
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1316
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1322
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1317
1323
|
biddingAmount: number | null;
|
|
1318
1324
|
boosted: boolean | null;
|
|
1319
1325
|
boostingAmount: number | null;
|
|
@@ -1322,6 +1328,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1322
1328
|
feedbackCheckTaskId: string | null;
|
|
1323
1329
|
bidDecision: "proceeded" | "rejected" | null;
|
|
1324
1330
|
rejectedFeedback: string | null;
|
|
1331
|
+
applicationId: string | null;
|
|
1325
1332
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1326
1333
|
proposals: {
|
|
1327
1334
|
min: number | null;
|
|
@@ -1452,7 +1459,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1452
1459
|
answer: string;
|
|
1453
1460
|
}[] | null;
|
|
1454
1461
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1455
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1462
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1456
1463
|
biddingAmount: number | null;
|
|
1457
1464
|
boosted: boolean | null;
|
|
1458
1465
|
boostingAmount: number | null;
|
|
@@ -1461,6 +1468,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1461
1468
|
feedbackCheckTaskId: string | null;
|
|
1462
1469
|
bidDecision: "proceeded" | "rejected" | null;
|
|
1463
1470
|
rejectedFeedback: string | null;
|
|
1471
|
+
applicationId: string | null;
|
|
1464
1472
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1465
1473
|
proposals: {
|
|
1466
1474
|
min: number | null;
|
|
@@ -2343,7 +2351,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2343
2351
|
answer: string;
|
|
2344
2352
|
}>, "many">>;
|
|
2345
2353
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2346
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
|
|
2354
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
2347
2355
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2348
2356
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2349
2357
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2353,6 +2361,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2353
2361
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2354
2362
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2355
2363
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2364
|
+
applicationId: z.ZodNullable<z.ZodString>;
|
|
2356
2365
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
2357
2366
|
id: string | null;
|
|
2358
2367
|
uid: string | null;
|
|
@@ -2456,7 +2465,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2456
2465
|
answer: string;
|
|
2457
2466
|
}[] | null;
|
|
2458
2467
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2459
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
2468
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2460
2469
|
biddingAmount: number | null;
|
|
2461
2470
|
boosted: boolean | null;
|
|
2462
2471
|
boostingAmount: number | null;
|
|
@@ -2465,6 +2474,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2465
2474
|
feedbackCheckTaskId: string | null;
|
|
2466
2475
|
bidDecision: "proceeded" | "rejected" | null;
|
|
2467
2476
|
rejectedFeedback: string | null;
|
|
2477
|
+
applicationId: string | null;
|
|
2468
2478
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2469
2479
|
proposals: {
|
|
2470
2480
|
min: number | null;
|
|
@@ -2590,7 +2600,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2590
2600
|
answer: string;
|
|
2591
2601
|
}[] | null;
|
|
2592
2602
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2593
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
2603
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2594
2604
|
biddingAmount: number | null;
|
|
2595
2605
|
boosted: boolean | null;
|
|
2596
2606
|
boostingAmount: number | null;
|
|
@@ -2599,6 +2609,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2599
2609
|
feedbackCheckTaskId: string | null;
|
|
2600
2610
|
bidDecision: "proceeded" | "rejected" | null;
|
|
2601
2611
|
rejectedFeedback: string | null;
|
|
2612
|
+
applicationId: string | null;
|
|
2602
2613
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2603
2614
|
proposals: {
|
|
2604
2615
|
min: number | null;
|
|
@@ -2840,7 +2851,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2840
2851
|
answer: string;
|
|
2841
2852
|
}[] | null;
|
|
2842
2853
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2843
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
2854
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2844
2855
|
biddingAmount: number | null;
|
|
2845
2856
|
boosted: boolean | null;
|
|
2846
2857
|
boostingAmount: number | null;
|
|
@@ -2849,6 +2860,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2849
2860
|
feedbackCheckTaskId: string | null;
|
|
2850
2861
|
bidDecision: "proceeded" | "rejected" | null;
|
|
2851
2862
|
rejectedFeedback: string | null;
|
|
2863
|
+
applicationId: string | null;
|
|
2852
2864
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2853
2865
|
proposals: {
|
|
2854
2866
|
min: number | null;
|
|
@@ -3090,7 +3102,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3090
3102
|
answer: string;
|
|
3091
3103
|
}[] | null;
|
|
3092
3104
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3093
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
3105
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3094
3106
|
biddingAmount: number | null;
|
|
3095
3107
|
boosted: boolean | null;
|
|
3096
3108
|
boostingAmount: number | null;
|
|
@@ -3099,6 +3111,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3099
3111
|
feedbackCheckTaskId: string | null;
|
|
3100
3112
|
bidDecision: "proceeded" | "rejected" | null;
|
|
3101
3113
|
rejectedFeedback: string | null;
|
|
3114
|
+
applicationId: string | null;
|
|
3102
3115
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3103
3116
|
proposals: {
|
|
3104
3117
|
min: number | null;
|
|
@@ -3457,7 +3470,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3457
3470
|
answer: string;
|
|
3458
3471
|
}>, "many">>;
|
|
3459
3472
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
3460
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
|
|
3473
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
3461
3474
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3462
3475
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3463
3476
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3467,6 +3480,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3467
3480
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
3468
3481
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3469
3482
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3483
|
+
applicationId: z.ZodNullable<z.ZodString>;
|
|
3470
3484
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
3471
3485
|
id: string | null;
|
|
3472
3486
|
uid: string | null;
|
|
@@ -3570,7 +3584,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3570
3584
|
answer: string;
|
|
3571
3585
|
}[] | null;
|
|
3572
3586
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3573
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
3587
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3574
3588
|
biddingAmount: number | null;
|
|
3575
3589
|
boosted: boolean | null;
|
|
3576
3590
|
boostingAmount: number | null;
|
|
@@ -3579,6 +3593,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3579
3593
|
feedbackCheckTaskId: string | null;
|
|
3580
3594
|
bidDecision: "proceeded" | "rejected" | null;
|
|
3581
3595
|
rejectedFeedback: string | null;
|
|
3596
|
+
applicationId: string | null;
|
|
3582
3597
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3583
3598
|
proposals: {
|
|
3584
3599
|
min: number | null;
|
|
@@ -3704,7 +3719,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3704
3719
|
answer: string;
|
|
3705
3720
|
}[] | null;
|
|
3706
3721
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3707
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
3722
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3708
3723
|
biddingAmount: number | null;
|
|
3709
3724
|
boosted: boolean | null;
|
|
3710
3725
|
boostingAmount: number | null;
|
|
@@ -3713,6 +3728,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3713
3728
|
feedbackCheckTaskId: string | null;
|
|
3714
3729
|
bidDecision: "proceeded" | "rejected" | null;
|
|
3715
3730
|
rejectedFeedback: string | null;
|
|
3731
|
+
applicationId: string | null;
|
|
3716
3732
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3717
3733
|
proposals: {
|
|
3718
3734
|
min: number | null;
|
|
@@ -3853,7 +3869,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3853
3869
|
answer: string;
|
|
3854
3870
|
}[] | null;
|
|
3855
3871
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3856
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
3872
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3857
3873
|
biddingAmount: number | null;
|
|
3858
3874
|
boosted: boolean | null;
|
|
3859
3875
|
boostingAmount: number | null;
|
|
@@ -3862,6 +3878,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3862
3878
|
feedbackCheckTaskId: string | null;
|
|
3863
3879
|
bidDecision: "proceeded" | "rejected" | null;
|
|
3864
3880
|
rejectedFeedback: string | null;
|
|
3881
|
+
applicationId: string | null;
|
|
3865
3882
|
activity?: Partial<Record<"4h" | "24h", {
|
|
3866
3883
|
proposals: {
|
|
3867
3884
|
min: number | null;
|
|
@@ -3994,7 +4011,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3994
4011
|
answer: string;
|
|
3995
4012
|
}[] | null;
|
|
3996
4013
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3997
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
4014
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3998
4015
|
biddingAmount: number | null;
|
|
3999
4016
|
boosted: boolean | null;
|
|
4000
4017
|
boostingAmount: number | null;
|
|
@@ -4003,6 +4020,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4003
4020
|
feedbackCheckTaskId: string | null;
|
|
4004
4021
|
bidDecision: "proceeded" | "rejected" | null;
|
|
4005
4022
|
rejectedFeedback: string | null;
|
|
4023
|
+
applicationId: string | null;
|
|
4006
4024
|
activity?: Partial<Record<"4h" | "24h", {
|
|
4007
4025
|
proposals: {
|
|
4008
4026
|
min: number | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { z } from
|
|
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
|
|
3
|
+
export declare const leadStatusEnum: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "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", "viewed", "replied", "won"]>;
|
|
8
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
|
|
9
9
|
proposalId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
userId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13,7 +13,7 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
13
13
|
leadId: string;
|
|
14
14
|
organizationId: string;
|
|
15
15
|
campaignId: string;
|
|
16
|
-
status: "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
16
|
+
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
17
17
|
proposalId?: string | undefined;
|
|
18
18
|
userId?: string | undefined;
|
|
19
19
|
wonAmount?: number | undefined;
|
|
@@ -21,11 +21,22 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
21
21
|
leadId: string;
|
|
22
22
|
organizationId: string;
|
|
23
23
|
campaignId: string;
|
|
24
|
-
status: "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
24
|
+
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
25
25
|
proposalId?: string | undefined;
|
|
26
26
|
userId?: string | undefined;
|
|
27
27
|
wonAmount?: number | undefined;
|
|
28
28
|
}>;
|
|
29
|
-
export
|
|
29
|
+
export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
|
|
30
|
+
applicationUid: z.ZodString;
|
|
31
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
34
|
+
applicationUid: string;
|
|
35
|
+
}, {
|
|
36
|
+
status: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won";
|
|
37
|
+
applicationUid: string;
|
|
38
|
+
}>, "many">;
|
|
39
|
+
export type LeadStatus = z.infer<typeof leadStatusEnum>;
|
|
30
40
|
export type LeadAgentStatus = z.infer<typeof agentStatusSchema>;
|
|
31
41
|
export type UpdateLeadStatus = z.infer<typeof updateLeadStatusSchema>;
|
|
42
|
+
export type UpdateOrganizationLeadsStatusPayload = z.infer<typeof updateOrganizationLeadsStatusPayloadSchema>;
|
|
@@ -41,14 +41,17 @@ export declare const biddingCompletedEventMetadata: z.ZodObject<{
|
|
|
41
41
|
biddingAmount: z.ZodNumber;
|
|
42
42
|
boosted: z.ZodBoolean;
|
|
43
43
|
boostingAmount: z.ZodNumber;
|
|
44
|
+
applicationId: z.ZodString;
|
|
44
45
|
}, "strip", z.ZodTypeAny, {
|
|
45
46
|
biddingAmount: number;
|
|
46
47
|
boosted: boolean;
|
|
47
48
|
boostingAmount: number;
|
|
49
|
+
applicationId: string;
|
|
48
50
|
}, {
|
|
49
51
|
biddingAmount: number;
|
|
50
52
|
boosted: boolean;
|
|
51
53
|
boostingAmount: number;
|
|
54
|
+
applicationId: string;
|
|
52
55
|
}>;
|
|
53
56
|
export declare const biddingFailedEventMetadata: z.ZodObject<{
|
|
54
57
|
error: z.ZodAny;
|
|
@@ -86,13 +89,13 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
86
89
|
leadId: z.ZodString;
|
|
87
90
|
userId: z.ZodString;
|
|
88
91
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
89
|
-
status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>;
|
|
92
|
+
status: z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>;
|
|
90
93
|
proposalId: z.ZodNullable<z.ZodString>;
|
|
91
94
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
status: "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
95
|
+
status: "insufficientConnects" | "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
93
96
|
proposalId: string | null;
|
|
94
97
|
}, {
|
|
95
|
-
status: "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
98
|
+
status: "insufficientConnects" | "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
96
99
|
proposalId: string | null;
|
|
97
100
|
}>>;
|
|
98
101
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -103,7 +106,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
103
106
|
leadId: string;
|
|
104
107
|
reason?: string | undefined;
|
|
105
108
|
metadata?: {
|
|
106
|
-
status: "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
109
|
+
status: "insufficientConnects" | "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
107
110
|
proposalId: string | null;
|
|
108
111
|
} | undefined;
|
|
109
112
|
}, {
|
|
@@ -113,7 +116,7 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
113
116
|
leadId: string;
|
|
114
117
|
reason?: string | undefined;
|
|
115
118
|
metadata?: {
|
|
116
|
-
status: "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
119
|
+
status: "insufficientConnects" | "leads" | "contacted" | "viewed" | "replied" | "won";
|
|
117
120
|
proposalId: string | null;
|
|
118
121
|
} | undefined;
|
|
119
122
|
}>;
|
|
@@ -249,6 +249,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
249
249
|
createdAt: z.ZodNumber;
|
|
250
250
|
updatedAt: z.ZodNumber;
|
|
251
251
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
252
|
+
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
252
253
|
oneTimePayments: z.ZodOptional<z.ZodObject<{
|
|
253
254
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
254
255
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -338,6 +339,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
338
339
|
createdAt: number;
|
|
339
340
|
updatedAt: number;
|
|
340
341
|
openRouterApiKey: string | null;
|
|
342
|
+
nextProposalStatusSyncTime: number | null;
|
|
341
343
|
oneTimePayments?: {
|
|
342
344
|
usBidderAccountPayment?: {
|
|
343
345
|
status: string;
|
|
@@ -395,6 +397,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
395
397
|
createdAt: number;
|
|
396
398
|
updatedAt: number;
|
|
397
399
|
openRouterApiKey: string | null;
|
|
400
|
+
nextProposalStatusSyncTime: number | null;
|
|
398
401
|
oneTimePayments?: {
|
|
399
402
|
usBidderAccountPayment?: {
|
|
400
403
|
status: string;
|
|
@@ -674,6 +677,7 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
|
|
|
674
677
|
createdAt: z.ZodNumber;
|
|
675
678
|
updatedAt: z.ZodNumber;
|
|
676
679
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
680
|
+
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
677
681
|
oneTimePayments: z.ZodOptional<z.ZodObject<{
|
|
678
682
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
679
683
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -666,7 +666,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
666
666
|
sleepStartAtHour: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
667
667
|
sleepEndAtHour: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
668
668
|
sleepTimezone: import("zod").ZodNullable<import("zod").ZodString>;
|
|
669
|
-
leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
|
|
669
|
+
leadCounts: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, import("zod").ZodNumber>>;
|
|
670
670
|
expenses: import("zod").ZodObject<{
|
|
671
671
|
biddingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
672
672
|
boostingAmount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -789,7 +789,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
789
789
|
sleepStartAtHour: number | null;
|
|
790
790
|
sleepEndAtHour: number | null;
|
|
791
791
|
sleepTimezone: string | null;
|
|
792
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
|
|
792
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
793
793
|
expenses: {
|
|
794
794
|
biddingAmount: number;
|
|
795
795
|
boostingAmount: number;
|
|
@@ -875,7 +875,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
875
875
|
biddingHourlyRatePercentage: number | null;
|
|
876
876
|
bidWithWarning: "bid" | "skip";
|
|
877
877
|
sleepTimezone: string | null;
|
|
878
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
|
|
878
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
879
879
|
expenses: {
|
|
880
880
|
biddingAmount?: number | undefined;
|
|
881
881
|
boostingAmount?: number | undefined;
|
|
@@ -1075,6 +1075,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1075
1075
|
createdAt: import("zod").ZodNumber;
|
|
1076
1076
|
updatedAt: import("zod").ZodNumber;
|
|
1077
1077
|
openRouterApiKey: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1078
|
+
nextProposalStatusSyncTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1078
1079
|
oneTimePayments: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1079
1080
|
usBidderAccountPayment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1080
1081
|
paidAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1164,6 +1165,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1164
1165
|
lastBidTime: number | null;
|
|
1165
1166
|
nextScheduledBidTime: number | null;
|
|
1166
1167
|
openRouterApiKey: string | null;
|
|
1168
|
+
nextProposalStatusSyncTime: number | null;
|
|
1167
1169
|
oneTimePayments?: {
|
|
1168
1170
|
usBidderAccountPayment?: {
|
|
1169
1171
|
status: string;
|
|
@@ -1221,6 +1223,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1221
1223
|
lastBidTime: number | null;
|
|
1222
1224
|
nextScheduledBidTime: number | null;
|
|
1223
1225
|
openRouterApiKey: string | null;
|
|
1226
|
+
nextProposalStatusSyncTime: number | null;
|
|
1224
1227
|
oneTimePayments?: {
|
|
1225
1228
|
usBidderAccountPayment?: {
|
|
1226
1229
|
status: string;
|
|
@@ -1550,7 +1553,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1550
1553
|
answer: string;
|
|
1551
1554
|
}>, "many">>;
|
|
1552
1555
|
agentStatus: import("zod").ZodNullable<import("zod").ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1553
|
-
leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "viewed", "replied", "won"]>>;
|
|
1556
|
+
leadStatus: import("zod").ZodNullable<import("zod").ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
1554
1557
|
biddingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1555
1558
|
boosted: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
|
1556
1559
|
boostingAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -1560,6 +1563,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1560
1563
|
feedbackCheckTaskId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1561
1564
|
bidDecision: import("zod").ZodNullable<import("zod").ZodEnum<["proceeded", "rejected"]>>;
|
|
1562
1565
|
rejectedFeedback: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1566
|
+
applicationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1563
1567
|
}>, "processed">, "strip", import("zod").ZodTypeAny, {
|
|
1564
1568
|
uid: string | null;
|
|
1565
1569
|
title: string | null;
|
|
@@ -1666,12 +1670,13 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1666
1670
|
answer: string;
|
|
1667
1671
|
}[] | null;
|
|
1668
1672
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1669
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1673
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1670
1674
|
biddingTaskScheduled: boolean | null;
|
|
1671
1675
|
scheduledBiddingTime: number | null;
|
|
1672
1676
|
feedbackCheckTaskId: string | null;
|
|
1673
1677
|
bidDecision: "proceeded" | "rejected" | null;
|
|
1674
1678
|
rejectedFeedback: string | null;
|
|
1679
|
+
applicationId: string | null;
|
|
1675
1680
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1676
1681
|
updatedAt: number | null;
|
|
1677
1682
|
proposals: {
|
|
@@ -1800,12 +1805,13 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1800
1805
|
answer: string;
|
|
1801
1806
|
}[] | null;
|
|
1802
1807
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
1803
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1808
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1804
1809
|
biddingTaskScheduled: boolean | null;
|
|
1805
1810
|
scheduledBiddingTime: number | null;
|
|
1806
1811
|
feedbackCheckTaskId: string | null;
|
|
1807
1812
|
bidDecision: "proceeded" | "rejected" | null;
|
|
1808
1813
|
rejectedFeedback: string | null;
|
|
1814
|
+
applicationId: string | null;
|
|
1809
1815
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1810
1816
|
updatedAt: number | null;
|
|
1811
1817
|
proposals: {
|
|
@@ -2009,7 +2015,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2009
2015
|
sleepStartAtHour: number | null;
|
|
2010
2016
|
sleepEndAtHour: number | null;
|
|
2011
2017
|
sleepTimezone: string | null;
|
|
2012
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
|
|
2018
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
2013
2019
|
expenses: {
|
|
2014
2020
|
biddingAmount: number;
|
|
2015
2021
|
boostingAmount: number;
|
|
@@ -2080,6 +2086,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2080
2086
|
lastBidTime: number | null;
|
|
2081
2087
|
nextScheduledBidTime: number | null;
|
|
2082
2088
|
openRouterApiKey: string | null;
|
|
2089
|
+
nextProposalStatusSyncTime: number | null;
|
|
2083
2090
|
oneTimePayments?: {
|
|
2084
2091
|
usBidderAccountPayment?: {
|
|
2085
2092
|
status: string;
|
|
@@ -2197,12 +2204,13 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2197
2204
|
answer: string;
|
|
2198
2205
|
}[] | null;
|
|
2199
2206
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2200
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
2207
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2201
2208
|
biddingTaskScheduled: boolean | null;
|
|
2202
2209
|
scheduledBiddingTime: number | null;
|
|
2203
2210
|
feedbackCheckTaskId: string | null;
|
|
2204
2211
|
bidDecision: "proceeded" | "rejected" | null;
|
|
2205
2212
|
rejectedFeedback: string | null;
|
|
2213
|
+
applicationId: string | null;
|
|
2206
2214
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2207
2215
|
updatedAt: number | null;
|
|
2208
2216
|
proposals: {
|
|
@@ -2321,7 +2329,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2321
2329
|
biddingHourlyRatePercentage: number | null;
|
|
2322
2330
|
bidWithWarning: "bid" | "skip";
|
|
2323
2331
|
sleepTimezone: string | null;
|
|
2324
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "viewed" | "replied" | "won", number>> | null;
|
|
2332
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
2325
2333
|
expenses: {
|
|
2326
2334
|
biddingAmount?: number | undefined;
|
|
2327
2335
|
boostingAmount?: number | undefined;
|
|
@@ -2399,6 +2407,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2399
2407
|
lastBidTime: number | null;
|
|
2400
2408
|
nextScheduledBidTime: number | null;
|
|
2401
2409
|
openRouterApiKey: string | null;
|
|
2410
|
+
nextProposalStatusSyncTime: number | null;
|
|
2402
2411
|
oneTimePayments?: {
|
|
2403
2412
|
usBidderAccountPayment?: {
|
|
2404
2413
|
status: string;
|
|
@@ -2516,12 +2525,13 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2516
2525
|
answer: string;
|
|
2517
2526
|
}[] | null;
|
|
2518
2527
|
agentStatus: "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "biddingFailed" | "jobArchived" | null;
|
|
2519
|
-
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
2528
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2520
2529
|
biddingTaskScheduled: boolean | null;
|
|
2521
2530
|
scheduledBiddingTime: number | null;
|
|
2522
2531
|
feedbackCheckTaskId: string | null;
|
|
2523
2532
|
bidDecision: "proceeded" | "rejected" | null;
|
|
2524
2533
|
rejectedFeedback: string | null;
|
|
2534
|
+
applicationId: string | null;
|
|
2525
2535
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2526
2536
|
updatedAt: number | null;
|
|
2527
2537
|
proposals: {
|