lancer-shared 1.0.96 → 1.0.97
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.
|
@@ -3,6 +3,8 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
3
3
|
userId: z.ZodString;
|
|
4
4
|
jobUrl: z.ZodString;
|
|
5
5
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
6
|
+
jobId: z.ZodString;
|
|
7
|
+
campaignId: z.ZodString;
|
|
6
8
|
formData: z.ZodObject<{
|
|
7
9
|
coverLetter: z.ZodString;
|
|
8
10
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -48,9 +50,11 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
48
50
|
maximumBoost: number | null;
|
|
49
51
|
minimumBoost: number | null;
|
|
50
52
|
};
|
|
53
|
+
jobId: string;
|
|
51
54
|
cookies: any[];
|
|
52
55
|
jobUrl: string;
|
|
53
56
|
userId: string;
|
|
57
|
+
campaignId: string;
|
|
54
58
|
}, {
|
|
55
59
|
formData: {
|
|
56
60
|
coverLetter: string;
|
|
@@ -62,14 +66,18 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
62
66
|
maximumBoost: number | null;
|
|
63
67
|
minimumBoost: number | null;
|
|
64
68
|
};
|
|
69
|
+
jobId: string;
|
|
65
70
|
cookies: any[];
|
|
66
71
|
jobUrl: string;
|
|
67
72
|
userId: string;
|
|
73
|
+
campaignId: string;
|
|
68
74
|
}>;
|
|
69
75
|
export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
70
76
|
userId: z.ZodString;
|
|
71
77
|
jobUrl: z.ZodString;
|
|
72
78
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
79
|
+
jobId: z.ZodString;
|
|
80
|
+
campaignId: z.ZodString;
|
|
73
81
|
formData: z.ZodObject<{
|
|
74
82
|
coverLetter: z.ZodString;
|
|
75
83
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -119,9 +127,11 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
119
127
|
maximumBoost: number | null;
|
|
120
128
|
minimumBoost: number | null;
|
|
121
129
|
};
|
|
130
|
+
jobId: string;
|
|
122
131
|
cookies: any[];
|
|
123
132
|
jobUrl: string;
|
|
124
133
|
userId: string;
|
|
134
|
+
campaignId: string;
|
|
125
135
|
agencyName: string;
|
|
126
136
|
contractorName: string;
|
|
127
137
|
specializedProfile: string | null;
|
|
@@ -136,9 +146,11 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
136
146
|
maximumBoost: number | null;
|
|
137
147
|
minimumBoost: number | null;
|
|
138
148
|
};
|
|
149
|
+
jobId: string;
|
|
139
150
|
cookies: any[];
|
|
140
151
|
jobUrl: string;
|
|
141
152
|
userId: string;
|
|
153
|
+
campaignId: string;
|
|
142
154
|
agencyName: string;
|
|
143
155
|
contractorName: string;
|
|
144
156
|
specializedProfile: string | null;
|
|
@@ -147,6 +159,8 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
147
159
|
userId: z.ZodString;
|
|
148
160
|
jobUrl: z.ZodString;
|
|
149
161
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
162
|
+
jobId: z.ZodString;
|
|
163
|
+
campaignId: z.ZodString;
|
|
150
164
|
formData: z.ZodObject<{
|
|
151
165
|
coverLetter: z.ZodString;
|
|
152
166
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -192,9 +206,11 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
192
206
|
maximumBoost: number | null;
|
|
193
207
|
minimumBoost: number | null;
|
|
194
208
|
};
|
|
209
|
+
jobId: string;
|
|
195
210
|
cookies: any[];
|
|
196
211
|
jobUrl: string;
|
|
197
212
|
userId: string;
|
|
213
|
+
campaignId: string;
|
|
198
214
|
}, {
|
|
199
215
|
formData: {
|
|
200
216
|
coverLetter: string;
|
|
@@ -206,7 +222,9 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
206
222
|
maximumBoost: number | null;
|
|
207
223
|
minimumBoost: number | null;
|
|
208
224
|
};
|
|
225
|
+
jobId: string;
|
|
209
226
|
cookies: any[];
|
|
210
227
|
jobUrl: string;
|
|
211
228
|
userId: string;
|
|
229
|
+
campaignId: string;
|
|
212
230
|
}>;
|
package/dist/schemas/bid/bid.js
CHANGED
|
@@ -7,6 +7,8 @@ exports.bidSchema = zod_1.z.object({
|
|
|
7
7
|
userId: zod_1.z.string(),
|
|
8
8
|
jobUrl: zod_1.z.string(),
|
|
9
9
|
cookies: zod_1.z.array(zod_1.z.any()),
|
|
10
|
+
jobId: zod_1.z.string(),
|
|
11
|
+
campaignId: zod_1.z.string(),
|
|
10
12
|
formData: zod_1.z.object({
|
|
11
13
|
coverLetter: zod_1.z.string(),
|
|
12
14
|
questionAnswerPairs: zod_1.z.array(ai_1.questionAnswerPairSchema).nullable(),
|
|
@@ -18,10 +18,10 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
18
18
|
metadata: Record<string, unknown> | null;
|
|
19
19
|
timestamp: number;
|
|
20
20
|
userId: string | null;
|
|
21
|
+
campaignId: string | null;
|
|
21
22
|
resourceType: string;
|
|
22
23
|
resourceId: string | null;
|
|
23
24
|
leadId: string | null;
|
|
24
|
-
campaignId: string | null;
|
|
25
25
|
}, {
|
|
26
26
|
type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "scraperStarted" | "scraperCompleted" | "jobScraped" | "jobsIndexed" | "jobDuplicateSkipped" | "scraperFailed" | "jobSyncPublished" | "jobSyncReceived" | "leadsCreatedAndSynced" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged";
|
|
27
27
|
reason: string | null;
|
|
@@ -29,8 +29,8 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
29
29
|
metadata: Record<string, unknown> | null;
|
|
30
30
|
timestamp: number;
|
|
31
31
|
userId: string | null;
|
|
32
|
+
campaignId: string | null;
|
|
32
33
|
resourceId: string | null;
|
|
33
34
|
leadId: string | null;
|
|
34
|
-
campaignId: string | null;
|
|
35
35
|
resourceType?: string | undefined;
|
|
36
36
|
}>;
|