lancer-shared 1.0.104 → 1.0.105
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/schemas/bid/bid.d.ts +25 -62
- package/dist/schemas/bid/bid.js +4 -2
- package/package.json +1 -1
|
@@ -119,51 +119,7 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
119
119
|
campaignId: z.ZodString;
|
|
120
120
|
username: z.ZodString;
|
|
121
121
|
password: z.ZodString;
|
|
122
|
-
formData: z.ZodObject<{
|
|
123
|
-
coverLetter: z.ZodString;
|
|
124
|
-
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
125
|
-
question: z.ZodString;
|
|
126
|
-
answer: z.ZodString;
|
|
127
|
-
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
answer: string;
|
|
129
|
-
question: string;
|
|
130
|
-
}, {
|
|
131
|
-
answer: string;
|
|
132
|
-
question: string;
|
|
133
|
-
}>, "many">>;
|
|
134
|
-
boostingEnabled: z.ZodBoolean;
|
|
135
|
-
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
136
|
-
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
coverLetter: string;
|
|
139
|
-
questionAnswerPairs: {
|
|
140
|
-
answer: string;
|
|
141
|
-
question: string;
|
|
142
|
-
}[] | null;
|
|
143
|
-
boostingEnabled: boolean;
|
|
144
|
-
maximumBoost: number | null;
|
|
145
|
-
minimumBoost: number | null;
|
|
146
|
-
}, {
|
|
147
|
-
coverLetter: string;
|
|
148
|
-
questionAnswerPairs: {
|
|
149
|
-
answer: string;
|
|
150
|
-
question: string;
|
|
151
|
-
}[] | null;
|
|
152
|
-
boostingEnabled: boolean;
|
|
153
|
-
maximumBoost: number | null;
|
|
154
|
-
minimumBoost: number | null;
|
|
155
|
-
}>;
|
|
156
122
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
formData: {
|
|
158
|
-
coverLetter: string;
|
|
159
|
-
questionAnswerPairs: {
|
|
160
|
-
answer: string;
|
|
161
|
-
question: string;
|
|
162
|
-
}[] | null;
|
|
163
|
-
boostingEnabled: boolean;
|
|
164
|
-
maximumBoost: number | null;
|
|
165
|
-
minimumBoost: number | null;
|
|
166
|
-
};
|
|
167
123
|
username: string;
|
|
168
124
|
jobId: string;
|
|
169
125
|
cookies: any[];
|
|
@@ -172,16 +128,6 @@ export declare const bidSchema: z.ZodObject<{
|
|
|
172
128
|
userId: string;
|
|
173
129
|
campaignId: string;
|
|
174
130
|
}, {
|
|
175
|
-
formData: {
|
|
176
|
-
coverLetter: string;
|
|
177
|
-
questionAnswerPairs: {
|
|
178
|
-
answer: string;
|
|
179
|
-
question: string;
|
|
180
|
-
}[] | null;
|
|
181
|
-
boostingEnabled: boolean;
|
|
182
|
-
maximumBoost: number | null;
|
|
183
|
-
minimumBoost: number | null;
|
|
184
|
-
};
|
|
185
131
|
username: string;
|
|
186
132
|
jobId: string;
|
|
187
133
|
cookies: any[];
|
|
@@ -198,7 +144,11 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
198
144
|
campaignId: z.ZodString;
|
|
199
145
|
username: z.ZodString;
|
|
200
146
|
password: z.ZodString;
|
|
201
|
-
|
|
147
|
+
}, {
|
|
148
|
+
agencyName: z.ZodString;
|
|
149
|
+
contractorName: z.ZodString;
|
|
150
|
+
specializedProfile: z.ZodNullable<z.ZodString>;
|
|
151
|
+
formData: z.ZodObject<z.objectUtil.extendShape<{
|
|
202
152
|
coverLetter: z.ZodString;
|
|
203
153
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
204
154
|
question: z.ZodString;
|
|
@@ -213,7 +163,11 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
213
163
|
boostingEnabled: z.ZodBoolean;
|
|
214
164
|
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
215
165
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
216
|
-
},
|
|
166
|
+
}, {
|
|
167
|
+
agencyName: z.ZodString;
|
|
168
|
+
contractorName: z.ZodString;
|
|
169
|
+
specializedProfile: z.ZodNullable<z.ZodString>;
|
|
170
|
+
}>, "strip", z.ZodTypeAny, {
|
|
217
171
|
coverLetter: string;
|
|
218
172
|
questionAnswerPairs: {
|
|
219
173
|
answer: string;
|
|
@@ -222,6 +176,9 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
222
176
|
boostingEnabled: boolean;
|
|
223
177
|
maximumBoost: number | null;
|
|
224
178
|
minimumBoost: number | null;
|
|
179
|
+
agencyName: string;
|
|
180
|
+
contractorName: string;
|
|
181
|
+
specializedProfile: string | null;
|
|
225
182
|
}, {
|
|
226
183
|
coverLetter: string;
|
|
227
184
|
questionAnswerPairs: {
|
|
@@ -231,11 +188,10 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
231
188
|
boostingEnabled: boolean;
|
|
232
189
|
maximumBoost: number | null;
|
|
233
190
|
minimumBoost: number | null;
|
|
191
|
+
agencyName: string;
|
|
192
|
+
contractorName: string;
|
|
193
|
+
specializedProfile: string | null;
|
|
234
194
|
}>;
|
|
235
|
-
}, {
|
|
236
|
-
agencyName: z.ZodString;
|
|
237
|
-
contractorName: z.ZodString;
|
|
238
|
-
specializedProfile: z.ZodNullable<z.ZodString>;
|
|
239
195
|
}>, "strip", z.ZodTypeAny, {
|
|
240
196
|
formData: {
|
|
241
197
|
coverLetter: string;
|
|
@@ -246,6 +202,9 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
246
202
|
boostingEnabled: boolean;
|
|
247
203
|
maximumBoost: number | null;
|
|
248
204
|
minimumBoost: number | null;
|
|
205
|
+
agencyName: string;
|
|
206
|
+
contractorName: string;
|
|
207
|
+
specializedProfile: string | null;
|
|
249
208
|
};
|
|
250
209
|
username: string;
|
|
251
210
|
jobId: string;
|
|
@@ -267,6 +226,9 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
267
226
|
boostingEnabled: boolean;
|
|
268
227
|
maximumBoost: number | null;
|
|
269
228
|
minimumBoost: number | null;
|
|
229
|
+
agencyName: string;
|
|
230
|
+
contractorName: string;
|
|
231
|
+
specializedProfile: string | null;
|
|
270
232
|
};
|
|
271
233
|
username: string;
|
|
272
234
|
jobId: string;
|
|
@@ -279,7 +241,7 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
279
241
|
userId: string;
|
|
280
242
|
campaignId: string;
|
|
281
243
|
}>;
|
|
282
|
-
export declare const freelancerBidSchema: z.ZodObject<{
|
|
244
|
+
export declare const freelancerBidSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
283
245
|
userId: z.ZodString;
|
|
284
246
|
jobUrl: z.ZodString;
|
|
285
247
|
cookies: z.ZodArray<z.ZodAny, "many">;
|
|
@@ -287,6 +249,7 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
287
249
|
campaignId: z.ZodString;
|
|
288
250
|
username: z.ZodString;
|
|
289
251
|
password: z.ZodString;
|
|
252
|
+
}, {
|
|
290
253
|
formData: z.ZodObject<{
|
|
291
254
|
coverLetter: z.ZodString;
|
|
292
255
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -321,7 +284,7 @@ export declare const freelancerBidSchema: z.ZodObject<{
|
|
|
321
284
|
maximumBoost: number | null;
|
|
322
285
|
minimumBoost: number | null;
|
|
323
286
|
}>;
|
|
324
|
-
}
|
|
287
|
+
}>, "strip", z.ZodTypeAny, {
|
|
325
288
|
formData: {
|
|
326
289
|
coverLetter: string;
|
|
327
290
|
questionAnswerPairs: {
|
package/dist/schemas/bid/bid.js
CHANGED
|
@@ -24,11 +24,13 @@ exports.bidSchema = zod_1.z.object({
|
|
|
24
24
|
campaignId: zod_1.z.string(),
|
|
25
25
|
username: zod_1.z.string(),
|
|
26
26
|
password: zod_1.z.string(),
|
|
27
|
-
formData: exports.bidFormDataSchema,
|
|
28
27
|
});
|
|
29
28
|
exports.agencyBidSchema = exports.bidSchema.extend({
|
|
30
29
|
agencyName: zod_1.z.string(),
|
|
31
30
|
contractorName: zod_1.z.string(),
|
|
32
31
|
specializedProfile: zod_1.z.string().nullable(),
|
|
32
|
+
formData: exports.agencyBidFormDataSchema,
|
|
33
|
+
});
|
|
34
|
+
exports.freelancerBidSchema = exports.bidSchema.extend({
|
|
35
|
+
formData: exports.freelancerBidFormDataSchema,
|
|
33
36
|
});
|
|
34
|
-
exports.freelancerBidSchema = exports.bidSchema;
|