lancer-shared 1.0.95 → 1.0.96
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.
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const bidSchema: z.ZodObject<{
|
|
3
3
|
userId: z.ZodString;
|
|
4
4
|
jobUrl: z.ZodString;
|
|
5
|
+
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
5
6
|
formData: z.ZodObject<{
|
|
6
7
|
coverLetter: z.ZodString;
|
|
7
8
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -47,6 +48,7 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
47
48
|
maximumBoost: number | null;
|
|
48
49
|
minimumBoost: number | null;
|
|
49
50
|
};
|
|
51
|
+
cookies: any[];
|
|
50
52
|
jobUrl: string;
|
|
51
53
|
userId: string;
|
|
52
54
|
}, {
|
|
@@ -60,12 +62,14 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
60
62
|
maximumBoost: number | null;
|
|
61
63
|
minimumBoost: number | null;
|
|
62
64
|
};
|
|
65
|
+
cookies: any[];
|
|
63
66
|
jobUrl: string;
|
|
64
67
|
userId: string;
|
|
65
68
|
}>;
|
|
66
69
|
export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
67
70
|
userId: z.ZodString;
|
|
68
71
|
jobUrl: z.ZodString;
|
|
72
|
+
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
69
73
|
formData: z.ZodObject<{
|
|
70
74
|
coverLetter: z.ZodString;
|
|
71
75
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -115,6 +119,7 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
115
119
|
maximumBoost: number | null;
|
|
116
120
|
minimumBoost: number | null;
|
|
117
121
|
};
|
|
122
|
+
cookies: any[];
|
|
118
123
|
jobUrl: string;
|
|
119
124
|
userId: string;
|
|
120
125
|
agencyName: string;
|
|
@@ -131,6 +136,7 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
131
136
|
maximumBoost: number | null;
|
|
132
137
|
minimumBoost: number | null;
|
|
133
138
|
};
|
|
139
|
+
cookies: any[];
|
|
134
140
|
jobUrl: string;
|
|
135
141
|
userId: string;
|
|
136
142
|
agencyName: string;
|
|
@@ -140,6 +146,7 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
140
146
|
export declare const freelancerBidSchema: z.ZodObject<{
|
|
141
147
|
userId: z.ZodString;
|
|
142
148
|
jobUrl: z.ZodString;
|
|
149
|
+
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
143
150
|
formData: z.ZodObject<{
|
|
144
151
|
coverLetter: z.ZodString;
|
|
145
152
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -185,6 +192,7 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
185
192
|
maximumBoost: number | null;
|
|
186
193
|
minimumBoost: number | null;
|
|
187
194
|
};
|
|
195
|
+
cookies: any[];
|
|
188
196
|
jobUrl: string;
|
|
189
197
|
userId: string;
|
|
190
198
|
}, {
|
|
@@ -198,6 +206,7 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
198
206
|
maximumBoost: number | null;
|
|
199
207
|
minimumBoost: number | null;
|
|
200
208
|
};
|
|
209
|
+
cookies: any[];
|
|
201
210
|
jobUrl: string;
|
|
202
211
|
userId: string;
|
|
203
212
|
}>;
|
package/dist/schemas/bid/bid.js
CHANGED
|
@@ -6,6 +6,7 @@ const ai_1 = require("../ai");
|
|
|
6
6
|
exports.bidSchema = zod_1.z.object({
|
|
7
7
|
userId: zod_1.z.string(),
|
|
8
8
|
jobUrl: zod_1.z.string(),
|
|
9
|
+
cookies: zod_1.z.array(zod_1.z.any()),
|
|
9
10
|
formData: zod_1.z.object({
|
|
10
11
|
coverLetter: zod_1.z.string(),
|
|
11
12
|
questionAnswerPairs: zod_1.z.array(ai_1.questionAnswerPairSchema).nullable(),
|