lancer-shared 1.2.94 → 1.2.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { infer } from "zod";
|
|
2
2
|
import { BidderAccount } from "../account";
|
|
3
|
+
import { Campaign } from "../campaign";
|
|
3
4
|
import { Lead } from "../lead";
|
|
4
5
|
export declare const scrapePayloadSchema: import("zod").ZodObject<{
|
|
5
6
|
latestJobsUrls: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -197,11 +198,11 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
197
198
|
projectDuration: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>, "many">>;
|
|
198
199
|
experienceLevel: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["Entry level", "Intermediate", "Expert"]>, "many">>;
|
|
199
200
|
questions: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
200
|
-
hasQuestions: import("zod").
|
|
201
|
+
hasQuestions: import("zod").ZodArray<import("zod").ZodEnum<["all", "yes", "no"]>, "many">;
|
|
201
202
|
}, "strip", import("zod").ZodTypeAny, {
|
|
202
|
-
hasQuestions: "all" | "yes" | "no";
|
|
203
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
203
204
|
}, {
|
|
204
|
-
hasQuestions
|
|
205
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
205
206
|
}>>;
|
|
206
207
|
engagementType: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
207
208
|
clientInfo: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -299,7 +300,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
299
300
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
300
301
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
301
302
|
questions: {
|
|
302
|
-
hasQuestions: "all" | "yes" | "no";
|
|
303
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
303
304
|
} | null;
|
|
304
305
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
305
306
|
clientInfo: {
|
|
@@ -349,7 +350,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
349
350
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
350
351
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
351
352
|
questions: {
|
|
352
|
-
hasQuestions
|
|
353
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
353
354
|
} | null;
|
|
354
355
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
355
356
|
clientInfo: {
|
|
@@ -444,7 +445,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
444
445
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
445
446
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
446
447
|
questions: {
|
|
447
|
-
hasQuestions: "all" | "yes" | "no";
|
|
448
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
448
449
|
} | null;
|
|
449
450
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
450
451
|
clientInfo: {
|
|
@@ -521,7 +522,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
521
522
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
522
523
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
523
524
|
questions: {
|
|
524
|
-
hasQuestions
|
|
525
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
525
526
|
} | null;
|
|
526
527
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
527
528
|
clientInfo: {
|
|
@@ -1159,8 +1160,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1159
1160
|
biddingTaskScheduled: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
|
1160
1161
|
scheduledBiddingTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1161
1162
|
wonAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1162
|
-
|
|
1163
|
-
|
|
1163
|
+
feedbackCheckTaskId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1164
|
+
bidDecision: import("zod").ZodNullable<import("zod").ZodEnum<["proceeded", "rejected"]>>;
|
|
1165
|
+
rejectedFeedback: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1164
1166
|
}>, "processed">, "strip", import("zod").ZodTypeAny, {
|
|
1165
1167
|
uid: string | null;
|
|
1166
1168
|
title: string | null;
|
|
@@ -1270,8 +1272,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1270
1272
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1271
1273
|
biddingTaskScheduled: boolean | null;
|
|
1272
1274
|
scheduledBiddingTime: number | null;
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
+
feedbackCheckTaskId: string | null;
|
|
1276
|
+
bidDecision: "proceeded" | "rejected" | null;
|
|
1277
|
+
rejectedFeedback: string | null;
|
|
1275
1278
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1276
1279
|
updatedAt: number | null;
|
|
1277
1280
|
proposals: {
|
|
@@ -1403,8 +1406,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1403
1406
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1404
1407
|
biddingTaskScheduled: boolean | null;
|
|
1405
1408
|
scheduledBiddingTime: number | null;
|
|
1406
|
-
|
|
1407
|
-
|
|
1409
|
+
feedbackCheckTaskId: string | null;
|
|
1410
|
+
bidDecision: "proceeded" | "rejected" | null;
|
|
1411
|
+
rejectedFeedback: string | null;
|
|
1408
1412
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1409
1413
|
updatedAt: number | null;
|
|
1410
1414
|
proposals: {
|
|
@@ -1529,7 +1533,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1529
1533
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1530
1534
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1531
1535
|
questions: {
|
|
1532
|
-
hasQuestions: "all" | "yes" | "no";
|
|
1536
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1533
1537
|
} | null;
|
|
1534
1538
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1535
1539
|
clientInfo: {
|
|
@@ -1739,8 +1743,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1739
1743
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
1740
1744
|
biddingTaskScheduled: boolean | null;
|
|
1741
1745
|
scheduledBiddingTime: number | null;
|
|
1742
|
-
|
|
1743
|
-
|
|
1746
|
+
feedbackCheckTaskId: string | null;
|
|
1747
|
+
bidDecision: "proceeded" | "rejected" | null;
|
|
1748
|
+
rejectedFeedback: string | null;
|
|
1744
1749
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1745
1750
|
updatedAt: number | null;
|
|
1746
1751
|
proposals: {
|
|
@@ -1813,7 +1818,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1813
1818
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1814
1819
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1815
1820
|
questions: {
|
|
1816
|
-
hasQuestions
|
|
1821
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1817
1822
|
} | null;
|
|
1818
1823
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1819
1824
|
clientInfo: {
|
|
@@ -2023,8 +2028,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2023
2028
|
leadStatus: "leads" | "contacted" | "viewed" | "replied" | "won" | null;
|
|
2024
2029
|
biddingTaskScheduled: boolean | null;
|
|
2025
2030
|
scheduledBiddingTime: number | null;
|
|
2026
|
-
|
|
2027
|
-
|
|
2031
|
+
feedbackCheckTaskId: string | null;
|
|
2032
|
+
bidDecision: "proceeded" | "rejected" | null;
|
|
2033
|
+
rejectedFeedback: string | null;
|
|
2028
2034
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2029
2035
|
updatedAt: number | null;
|
|
2030
2036
|
proposals: {
|
|
@@ -2083,6 +2089,7 @@ export interface ProcessFeedPayload extends infer<typeof processFeedPayloadSchem
|
|
|
2083
2089
|
export interface ScrapeJobActivityPayload extends infer<typeof scrapeJobActivityPayloadSchema> {
|
|
2084
2090
|
}
|
|
2085
2091
|
export interface CheckLeadStatusPayload extends infer<typeof checkLeadStatusPayloadSchema> {
|
|
2092
|
+
campaign: Campaign;
|
|
2086
2093
|
bidder: BidderAccount;
|
|
2087
2094
|
lead: Lead;
|
|
2088
2095
|
}
|