lancer-shared 1.0.130 → 1.0.131

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.
@@ -113,10 +113,7 @@ export declare const agencyBidFormDataSchema: z.ZodObject<z.objectUtil.extendSha
113
113
  specializedProfile: string | null;
114
114
  }>;
115
115
  export declare const bidPayloadSchema: z.ZodObject<{
116
- userId: z.ZodString;
117
116
  jobUrl: z.ZodString;
118
- jobId: z.ZodString;
119
- campaignId: z.ZodString;
120
117
  username: z.ZodString;
121
118
  password: z.ZodString;
122
119
  cookies: z.ZodArray<z.ZodAny, "many">;
@@ -124,30 +121,21 @@ export declare const bidPayloadSchema: z.ZodObject<{
124
121
  proxyUrl: z.ZodNullable<z.ZodString>;
125
122
  }, "strip", z.ZodTypeAny, {
126
123
  username: string;
127
- jobId: string;
128
124
  cookies: any[];
129
125
  password: string;
130
126
  jobUrl: string;
131
- userId: string;
132
- campaignId: string;
133
127
  accountId: string;
134
128
  proxyUrl: string | null;
135
129
  }, {
136
130
  username: string;
137
- jobId: string;
138
131
  cookies: any[];
139
132
  password: string;
140
133
  jobUrl: string;
141
- userId: string;
142
- campaignId: string;
143
134
  accountId: string;
144
135
  proxyUrl: string | null;
145
136
  }>;
146
137
  export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
147
- userId: z.ZodString;
148
138
  jobUrl: z.ZodString;
149
- jobId: z.ZodString;
150
- campaignId: z.ZodString;
151
139
  username: z.ZodString;
152
140
  password: z.ZodString;
153
141
  cookies: z.ZodArray<z.ZodAny, "many">;
@@ -213,12 +201,9 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
213
201
  specializedProfile: string | null;
214
202
  };
215
203
  username: string;
216
- jobId: string;
217
204
  cookies: any[];
218
205
  password: string;
219
206
  jobUrl: string;
220
- userId: string;
221
- campaignId: string;
222
207
  accountId: string;
223
208
  proxyUrl: string | null;
224
209
  }, {
@@ -236,20 +221,14 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
236
221
  specializedProfile: string | null;
237
222
  };
238
223
  username: string;
239
- jobId: string;
240
224
  cookies: any[];
241
225
  password: string;
242
226
  jobUrl: string;
243
- userId: string;
244
- campaignId: string;
245
227
  accountId: string;
246
228
  proxyUrl: string | null;
247
229
  }>;
248
230
  export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
249
- userId: z.ZodString;
250
231
  jobUrl: z.ZodString;
251
- jobId: z.ZodString;
252
- campaignId: z.ZodString;
253
232
  username: z.ZodString;
254
233
  password: z.ZodString;
255
234
  cookies: z.ZodArray<z.ZodAny, "many">;
@@ -302,12 +281,9 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
302
281
  minimumBoost: number | null;
303
282
  };
304
283
  username: string;
305
- jobId: string;
306
284
  cookies: any[];
307
285
  password: string;
308
286
  jobUrl: string;
309
- userId: string;
310
- campaignId: string;
311
287
  accountId: string;
312
288
  proxyUrl: string | null;
313
289
  }, {
@@ -322,12 +298,9 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
322
298
  minimumBoost: number | null;
323
299
  };
324
300
  username: string;
325
- jobId: string;
326
301
  cookies: any[];
327
302
  password: string;
328
303
  jobUrl: string;
329
- userId: string;
330
- campaignId: string;
331
304
  accountId: string;
332
305
  proxyUrl: string | null;
333
306
  }>;
@@ -17,10 +17,7 @@ exports.agencyBidFormDataSchema = exports.bidPayloadProposalDataSchema.extend({
17
17
  specializedProfile: zod_1.z.string().nullable(),
18
18
  });
19
19
  exports.bidPayloadSchema = zod_1.z.object({
20
- userId: zod_1.z.string(),
21
20
  jobUrl: zod_1.z.string(),
22
- jobId: zod_1.z.string(),
23
- campaignId: zod_1.z.string(),
24
21
  username: zod_1.z.string(),
25
22
  password: zod_1.z.string(),
26
23
  cookies: zod_1.z.array(zod_1.z.any()),
@@ -17,20 +17,20 @@ export declare const logEventSchema: z.ZodObject<{
17
17
  source: string;
18
18
  metadata: Record<string, unknown> | null;
19
19
  timestamp: number;
20
- userId: string | null;
21
- campaignId: string | null;
22
20
  resourceType: string;
23
21
  resourceId: string | null;
24
22
  leadId: string | null;
23
+ campaignId: string | null;
24
+ userId: 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;
28
28
  source: string;
29
29
  metadata: Record<string, unknown> | null;
30
30
  timestamp: number;
31
- userId: string | null;
32
- campaignId: string | null;
33
31
  resourceId: string | null;
34
32
  leadId: string | null;
33
+ campaignId: string | null;
34
+ userId: string | null;
35
35
  resourceType?: string | undefined;
36
36
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.130",
4
+ "version": "1.0.131",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",