lancer-shared 1.0.120 → 1.0.121

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.
@@ -114,11 +114,12 @@ export declare const agencyBidFormDataSchema: z.ZodObject<z.objectUtil.extendSha
114
114
  export declare const bidSchema: z.ZodObject<{
115
115
  userId: z.ZodString;
116
116
  jobUrl: z.ZodString;
117
- cookies: z.ZodArray<z.ZodAny, "many">;
118
117
  jobId: z.ZodString;
119
118
  campaignId: z.ZodString;
120
119
  username: z.ZodString;
121
120
  password: z.ZodString;
121
+ cookies: z.ZodArray<z.ZodAny, "many">;
122
+ proxyUrl: z.ZodNullable<z.ZodString>;
122
123
  }, "strip", z.ZodTypeAny, {
123
124
  username: string;
124
125
  jobId: string;
@@ -127,6 +128,7 @@ export declare const bidSchema: z.ZodObject<{
127
128
  jobUrl: string;
128
129
  userId: string;
129
130
  campaignId: string;
131
+ proxyUrl: string | null;
130
132
  }, {
131
133
  username: string;
132
134
  jobId: string;
@@ -135,15 +137,17 @@ export declare const bidSchema: z.ZodObject<{
135
137
  jobUrl: string;
136
138
  userId: string;
137
139
  campaignId: string;
140
+ proxyUrl: string | null;
138
141
  }>;
139
142
  export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
140
143
  userId: z.ZodString;
141
144
  jobUrl: z.ZodString;
142
- cookies: z.ZodArray<z.ZodAny, "many">;
143
145
  jobId: z.ZodString;
144
146
  campaignId: z.ZodString;
145
147
  username: z.ZodString;
146
148
  password: z.ZodString;
149
+ cookies: z.ZodArray<z.ZodAny, "many">;
150
+ proxyUrl: z.ZodNullable<z.ZodString>;
147
151
  }, {
148
152
  formData: z.ZodObject<z.objectUtil.extendShape<{
149
153
  coverLetter: z.ZodString;
@@ -210,6 +214,7 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
210
214
  jobUrl: string;
211
215
  userId: string;
212
216
  campaignId: string;
217
+ proxyUrl: string | null;
213
218
  }, {
214
219
  formData: {
215
220
  coverLetter: string;
@@ -231,15 +236,17 @@ export declare const agencyBidSchema: z.ZodObject<z.objectUtil.extendShape<{
231
236
  jobUrl: string;
232
237
  userId: string;
233
238
  campaignId: string;
239
+ proxyUrl: string | null;
234
240
  }>;
235
241
  export declare const freelancerBidSchema: z.ZodObject<z.objectUtil.extendShape<{
236
242
  userId: z.ZodString;
237
243
  jobUrl: z.ZodString;
238
- cookies: z.ZodArray<z.ZodAny, "many">;
239
244
  jobId: z.ZodString;
240
245
  campaignId: z.ZodString;
241
246
  username: z.ZodString;
242
247
  password: z.ZodString;
248
+ cookies: z.ZodArray<z.ZodAny, "many">;
249
+ proxyUrl: z.ZodNullable<z.ZodString>;
243
250
  }, {
244
251
  formData: z.ZodObject<{
245
252
  coverLetter: z.ZodString;
@@ -293,6 +300,7 @@ export declare const freelancerBidSchema: z.ZodObject<z.objectUtil.extendShape<{
293
300
  jobUrl: string;
294
301
  userId: string;
295
302
  campaignId: string;
303
+ proxyUrl: string | null;
296
304
  }, {
297
305
  formData: {
298
306
  coverLetter: string;
@@ -311,4 +319,5 @@ export declare const freelancerBidSchema: z.ZodObject<z.objectUtil.extendShape<{
311
319
  jobUrl: string;
312
320
  userId: string;
313
321
  campaignId: string;
322
+ proxyUrl: string | null;
314
323
  }>;
@@ -19,11 +19,12 @@ exports.agencyBidFormDataSchema = exports.bidFormDataSchema.extend({
19
19
  exports.bidSchema = zod_1.z.object({
20
20
  userId: zod_1.z.string(),
21
21
  jobUrl: zod_1.z.string(),
22
- cookies: zod_1.z.array(zod_1.z.any()),
23
22
  jobId: zod_1.z.string(),
24
23
  campaignId: zod_1.z.string(),
25
24
  username: zod_1.z.string(),
26
25
  password: zod_1.z.string(),
26
+ cookies: zod_1.z.array(zod_1.z.any()),
27
+ proxyUrl: zod_1.z.string().nullable().describe('user:pass@host:port'),
27
28
  });
28
29
  exports.agencyBidSchema = exports.bidSchema.extend({
29
30
  formData: exports.agencyBidFormDataSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.120",
4
+ "version": "1.0.121",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",