lancer-shared 1.2.322 → 1.2.324

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.
Files changed (33) hide show
  1. package/dist/bundle.cjs.js +26 -6
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +25 -7
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/constants/chat.d.ts +3 -0
  6. package/dist/constants/index.d.ts +1 -0
  7. package/dist/constants/routes.d.ts +1 -0
  8. package/dist/schemas/account/bidder-account.d.ts +10 -10
  9. package/dist/schemas/account/scraper-account.d.ts +10 -10
  10. package/dist/schemas/agent/index.d.ts +50 -50
  11. package/dist/schemas/bidder/bid.d.ts +352 -352
  12. package/dist/schemas/campaign/campaign-analytics.d.ts +78 -78
  13. package/dist/schemas/campaign/campaign-chat-bot.d.ts +4 -4
  14. package/dist/schemas/chat/index.d.ts +137 -66
  15. package/dist/schemas/dashboard/index.d.ts +18 -18
  16. package/dist/schemas/golden-dataset/sample.d.ts +4 -4
  17. package/dist/schemas/job/index.d.ts +32 -32
  18. package/dist/schemas/job/nuxt.d.ts +6 -6
  19. package/dist/schemas/lead/index.d.ts +165 -165
  20. package/dist/schemas/lead/lead-status.d.ts +2 -2
  21. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +30 -30
  22. package/dist/schemas/logger/log-event.d.ts +20 -20
  23. package/dist/schemas/logger/scraper-events.d.ts +4 -4
  24. package/dist/schemas/organization/organization-leads.d.ts +2 -2
  25. package/dist/schemas/plan/index.d.ts +2 -2
  26. package/dist/schemas/proxy/proxy.d.ts +3 -3
  27. package/dist/schemas/scraper/scrape-payload.d.ts +44 -44
  28. package/dist/schemas/scraper/scrape-result.d.ts +28 -28
  29. package/dist/schemas/transaction/index.d.ts +2 -2
  30. package/dist/schemas/upwork-talent/index.d.ts +11 -3
  31. package/dist/schemas/usage/index.d.ts +2 -2
  32. package/dist/schemas/usage-event/index.d.ts +6 -6
  33. package/package.json +1 -1
@@ -1,4 +1,18 @@
1
1
  import { z } from 'zod';
2
+ export declare const roomNoteSchema: z.ZodObject<{
3
+ note: z.ZodNullable<z.ZodString>;
4
+ createdAt: z.ZodNumber;
5
+ updatedAt: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ note: string | null;
8
+ createdAt: number;
9
+ updatedAt: number;
10
+ }, {
11
+ note: string | null;
12
+ createdAt: number;
13
+ updatedAt: number;
14
+ }>;
15
+ export type RoomNote = z.infer<typeof roomNoteSchema>;
2
16
  export declare const roomSchema: z.ZodObject<{
3
17
  id: z.ZodString;
4
18
  roomId: z.ZodString;
@@ -20,19 +34,19 @@ export declare const roomSchema: z.ZodObject<{
20
34
  }, "strip", z.ZodTypeAny, {
21
35
  freelancerId: string;
22
36
  freelancerOrgId: string;
23
- jobTitle?: string | undefined;
24
37
  freelancerName?: string | undefined;
25
38
  clientId?: string | undefined;
26
39
  clientName?: string | undefined;
40
+ jobTitle?: string | undefined;
27
41
  currentStatus?: string | undefined;
28
42
  associatedAgencyOrgId?: string | undefined;
29
43
  }, {
30
44
  freelancerId: string;
31
45
  freelancerOrgId: string;
32
- jobTitle?: string | undefined;
33
46
  freelancerName?: string | undefined;
34
47
  clientId?: string | undefined;
35
48
  clientName?: string | undefined;
49
+ jobTitle?: string | undefined;
36
50
  currentStatus?: string | undefined;
37
51
  associatedAgencyOrgId?: string | undefined;
38
52
  }>;
@@ -57,25 +71,39 @@ export declare const roomSchema: z.ZodObject<{
57
71
  hasNewMessages: z.ZodOptional<z.ZodBoolean>;
58
72
  updatedAt: z.ZodOptional<z.ZodNumber>;
59
73
  lastFetchedAt: z.ZodOptional<z.ZodNumber>;
74
+ roomTypeExtended: z.ZodOptional<z.ZodString>;
75
+ roomNote: z.ZodOptional<z.ZodObject<{
76
+ note: z.ZodNullable<z.ZodString>;
77
+ createdAt: z.ZodNumber;
78
+ updatedAt: z.ZodNumber;
79
+ }, "strip", z.ZodTypeAny, {
80
+ note: string | null;
81
+ createdAt: number;
82
+ updatedAt: number;
83
+ }, {
84
+ note: string | null;
85
+ createdAt: number;
86
+ updatedAt: number;
87
+ }>>;
60
88
  }, "strip", z.ZodTypeAny, {
61
89
  id: string;
90
+ roomId: string;
91
+ roomName: string;
92
+ topic: string;
93
+ organizationUid: string;
94
+ organizationType: string;
95
+ recentTimestamp: number;
96
+ organizationName: string;
62
97
  context: {
63
98
  freelancerId: string;
64
99
  freelancerOrgId: string;
65
- jobTitle?: string | undefined;
66
100
  freelancerName?: string | undefined;
67
101
  clientId?: string | undefined;
68
102
  clientName?: string | undefined;
103
+ jobTitle?: string | undefined;
69
104
  currentStatus?: string | undefined;
70
105
  associatedAgencyOrgId?: string | undefined;
71
106
  };
72
- roomId: string;
73
- roomName: string;
74
- topic: string;
75
- organizationUid: string;
76
- organizationType: string;
77
- recentTimestamp: number;
78
- organizationName: string;
79
107
  numUnread: number;
80
108
  updatedAt?: number | undefined;
81
109
  latestStory?: {
@@ -87,25 +115,31 @@ export declare const roomSchema: z.ZodObject<{
87
115
  lastChecked?: number | undefined;
88
116
  hasNewMessages?: boolean | undefined;
89
117
  lastFetchedAt?: number | undefined;
118
+ roomTypeExtended?: string | undefined;
119
+ roomNote?: {
120
+ note: string | null;
121
+ createdAt: number;
122
+ updatedAt: number;
123
+ } | undefined;
90
124
  }, {
91
125
  id: string;
126
+ roomId: string;
127
+ roomName: string;
128
+ topic: string;
129
+ organizationUid: string;
130
+ organizationType: string;
131
+ recentTimestamp: number;
132
+ organizationName: string;
92
133
  context: {
93
134
  freelancerId: string;
94
135
  freelancerOrgId: string;
95
- jobTitle?: string | undefined;
96
136
  freelancerName?: string | undefined;
97
137
  clientId?: string | undefined;
98
138
  clientName?: string | undefined;
139
+ jobTitle?: string | undefined;
99
140
  currentStatus?: string | undefined;
100
141
  associatedAgencyOrgId?: string | undefined;
101
142
  };
102
- roomId: string;
103
- roomName: string;
104
- topic: string;
105
- organizationUid: string;
106
- organizationType: string;
107
- recentTimestamp: number;
108
- organizationName: string;
109
143
  numUnread: number;
110
144
  updatedAt?: number | undefined;
111
145
  latestStory?: {
@@ -117,6 +151,12 @@ export declare const roomSchema: z.ZodObject<{
117
151
  lastChecked?: number | undefined;
118
152
  hasNewMessages?: boolean | undefined;
119
153
  lastFetchedAt?: number | undefined;
154
+ roomTypeExtended?: string | undefined;
155
+ roomNote?: {
156
+ note: string | null;
157
+ createdAt: number;
158
+ updatedAt: number;
159
+ } | undefined;
120
160
  }>;
121
161
  export type Room = z.infer<typeof roomSchema>;
122
162
  export declare const roomsMetadataSchema: z.ZodObject<{
@@ -141,6 +181,8 @@ export declare const roomMessageSchema: z.ZodObject<{
141
181
  userName: z.ZodOptional<z.ZodString>;
142
182
  orgId: z.ZodOptional<z.ZodString>;
143
183
  senderName: z.ZodOptional<z.ZodString>;
184
+ attachmentUrl: z.ZodOptional<z.ZodString>;
185
+ startedPreparingDownloadAt: z.ZodOptional<z.ZodNumber>;
144
186
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
145
187
  messageId: z.ZodString;
146
188
  userId: z.ZodString;
@@ -149,6 +191,8 @@ export declare const roomMessageSchema: z.ZodObject<{
149
191
  userName: z.ZodOptional<z.ZodString>;
150
192
  orgId: z.ZodOptional<z.ZodString>;
151
193
  senderName: z.ZodOptional<z.ZodString>;
194
+ attachmentUrl: z.ZodOptional<z.ZodString>;
195
+ startedPreparingDownloadAt: z.ZodOptional<z.ZodNumber>;
152
196
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
153
197
  messageId: z.ZodString;
154
198
  userId: z.ZodString;
@@ -157,6 +201,8 @@ export declare const roomMessageSchema: z.ZodObject<{
157
201
  userName: z.ZodOptional<z.ZodString>;
158
202
  orgId: z.ZodOptional<z.ZodString>;
159
203
  senderName: z.ZodOptional<z.ZodString>;
204
+ attachmentUrl: z.ZodOptional<z.ZodString>;
205
+ startedPreparingDownloadAt: z.ZodOptional<z.ZodNumber>;
160
206
  }, z.ZodTypeAny, "passthrough">>;
161
207
  export type RoomMessage = z.infer<typeof roomMessageSchema>;
162
208
  export declare const getRoomsResponseSchema: z.ZodObject<{
@@ -181,19 +227,19 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
181
227
  }, "strip", z.ZodTypeAny, {
182
228
  freelancerId: string;
183
229
  freelancerOrgId: string;
184
- jobTitle?: string | undefined;
185
230
  freelancerName?: string | undefined;
186
231
  clientId?: string | undefined;
187
232
  clientName?: string | undefined;
233
+ jobTitle?: string | undefined;
188
234
  currentStatus?: string | undefined;
189
235
  associatedAgencyOrgId?: string | undefined;
190
236
  }, {
191
237
  freelancerId: string;
192
238
  freelancerOrgId: string;
193
- jobTitle?: string | undefined;
194
239
  freelancerName?: string | undefined;
195
240
  clientId?: string | undefined;
196
241
  clientName?: string | undefined;
242
+ jobTitle?: string | undefined;
197
243
  currentStatus?: string | undefined;
198
244
  associatedAgencyOrgId?: string | undefined;
199
245
  }>;
@@ -218,25 +264,39 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
218
264
  hasNewMessages: z.ZodOptional<z.ZodBoolean>;
219
265
  updatedAt: z.ZodOptional<z.ZodNumber>;
220
266
  lastFetchedAt: z.ZodOptional<z.ZodNumber>;
267
+ roomTypeExtended: z.ZodOptional<z.ZodString>;
268
+ roomNote: z.ZodOptional<z.ZodObject<{
269
+ note: z.ZodNullable<z.ZodString>;
270
+ createdAt: z.ZodNumber;
271
+ updatedAt: z.ZodNumber;
272
+ }, "strip", z.ZodTypeAny, {
273
+ note: string | null;
274
+ createdAt: number;
275
+ updatedAt: number;
276
+ }, {
277
+ note: string | null;
278
+ createdAt: number;
279
+ updatedAt: number;
280
+ }>>;
221
281
  }, "strip", z.ZodTypeAny, {
222
282
  id: string;
283
+ roomId: string;
284
+ roomName: string;
285
+ topic: string;
286
+ organizationUid: string;
287
+ organizationType: string;
288
+ recentTimestamp: number;
289
+ organizationName: string;
223
290
  context: {
224
291
  freelancerId: string;
225
292
  freelancerOrgId: string;
226
- jobTitle?: string | undefined;
227
293
  freelancerName?: string | undefined;
228
294
  clientId?: string | undefined;
229
295
  clientName?: string | undefined;
296
+ jobTitle?: string | undefined;
230
297
  currentStatus?: string | undefined;
231
298
  associatedAgencyOrgId?: string | undefined;
232
299
  };
233
- roomId: string;
234
- roomName: string;
235
- topic: string;
236
- organizationUid: string;
237
- organizationType: string;
238
- recentTimestamp: number;
239
- organizationName: string;
240
300
  numUnread: number;
241
301
  updatedAt?: number | undefined;
242
302
  latestStory?: {
@@ -248,25 +308,31 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
248
308
  lastChecked?: number | undefined;
249
309
  hasNewMessages?: boolean | undefined;
250
310
  lastFetchedAt?: number | undefined;
311
+ roomTypeExtended?: string | undefined;
312
+ roomNote?: {
313
+ note: string | null;
314
+ createdAt: number;
315
+ updatedAt: number;
316
+ } | undefined;
251
317
  }, {
252
318
  id: string;
319
+ roomId: string;
320
+ roomName: string;
321
+ topic: string;
322
+ organizationUid: string;
323
+ organizationType: string;
324
+ recentTimestamp: number;
325
+ organizationName: string;
253
326
  context: {
254
327
  freelancerId: string;
255
328
  freelancerOrgId: string;
256
- jobTitle?: string | undefined;
257
329
  freelancerName?: string | undefined;
258
330
  clientId?: string | undefined;
259
331
  clientName?: string | undefined;
332
+ jobTitle?: string | undefined;
260
333
  currentStatus?: string | undefined;
261
334
  associatedAgencyOrgId?: string | undefined;
262
335
  };
263
- roomId: string;
264
- roomName: string;
265
- topic: string;
266
- organizationUid: string;
267
- organizationType: string;
268
- recentTimestamp: number;
269
- organizationName: string;
270
336
  numUnread: number;
271
337
  updatedAt?: number | undefined;
272
338
  latestStory?: {
@@ -278,6 +344,12 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
278
344
  lastChecked?: number | undefined;
279
345
  hasNewMessages?: boolean | undefined;
280
346
  lastFetchedAt?: number | undefined;
347
+ roomTypeExtended?: string | undefined;
348
+ roomNote?: {
349
+ note: string | null;
350
+ createdAt: number;
351
+ updatedAt: number;
352
+ } | undefined;
281
353
  }>, "many">;
282
354
  pagination: z.ZodObject<{
283
355
  hasMore: z.ZodBoolean;
@@ -298,23 +370,23 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
298
370
  }, "strip", z.ZodTypeAny, {
299
371
  data: {
300
372
  id: string;
373
+ roomId: string;
374
+ roomName: string;
375
+ topic: string;
376
+ organizationUid: string;
377
+ organizationType: string;
378
+ recentTimestamp: number;
379
+ organizationName: string;
301
380
  context: {
302
381
  freelancerId: string;
303
382
  freelancerOrgId: string;
304
- jobTitle?: string | undefined;
305
383
  freelancerName?: string | undefined;
306
384
  clientId?: string | undefined;
307
385
  clientName?: string | undefined;
386
+ jobTitle?: string | undefined;
308
387
  currentStatus?: string | undefined;
309
388
  associatedAgencyOrgId?: string | undefined;
310
389
  };
311
- roomId: string;
312
- roomName: string;
313
- topic: string;
314
- organizationUid: string;
315
- organizationType: string;
316
- recentTimestamp: number;
317
- organizationName: string;
318
390
  numUnread: number;
319
391
  updatedAt?: number | undefined;
320
392
  latestStory?: {
@@ -326,6 +398,12 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
326
398
  lastChecked?: number | undefined;
327
399
  hasNewMessages?: boolean | undefined;
328
400
  lastFetchedAt?: number | undefined;
401
+ roomTypeExtended?: string | undefined;
402
+ roomNote?: {
403
+ note: string | null;
404
+ createdAt: number;
405
+ updatedAt: number;
406
+ } | undefined;
329
407
  }[];
330
408
  pagination: {
331
409
  total: number;
@@ -336,23 +414,23 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
336
414
  }, {
337
415
  data: {
338
416
  id: string;
417
+ roomId: string;
418
+ roomName: string;
419
+ topic: string;
420
+ organizationUid: string;
421
+ organizationType: string;
422
+ recentTimestamp: number;
423
+ organizationName: string;
339
424
  context: {
340
425
  freelancerId: string;
341
426
  freelancerOrgId: string;
342
- jobTitle?: string | undefined;
343
427
  freelancerName?: string | undefined;
344
428
  clientId?: string | undefined;
345
429
  clientName?: string | undefined;
430
+ jobTitle?: string | undefined;
346
431
  currentStatus?: string | undefined;
347
432
  associatedAgencyOrgId?: string | undefined;
348
433
  };
349
- roomId: string;
350
- roomName: string;
351
- topic: string;
352
- organizationUid: string;
353
- organizationType: string;
354
- recentTimestamp: number;
355
- organizationName: string;
356
434
  numUnread: number;
357
435
  updatedAt?: number | undefined;
358
436
  latestStory?: {
@@ -364,6 +442,12 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
364
442
  lastChecked?: number | undefined;
365
443
  hasNewMessages?: boolean | undefined;
366
444
  lastFetchedAt?: number | undefined;
445
+ roomTypeExtended?: string | undefined;
446
+ roomNote?: {
447
+ note: string | null;
448
+ createdAt: number;
449
+ updatedAt: number;
450
+ } | undefined;
367
451
  }[];
368
452
  pagination: {
369
453
  total: number;
@@ -412,20 +496,6 @@ export declare const assignRoomTagsRequestBodySchema: z.ZodObject<{
412
496
  tagIds: string[];
413
497
  }>;
414
498
  export type AssignRoomTagsRequestBody = z.infer<typeof assignRoomTagsRequestBodySchema>;
415
- export declare const roomNoteSchema: z.ZodObject<{
416
- note: z.ZodNullable<z.ZodString>;
417
- createdAt: z.ZodNumber;
418
- updatedAt: z.ZodNumber;
419
- }, "strip", z.ZodTypeAny, {
420
- createdAt: number;
421
- updatedAt: number;
422
- note: string | null;
423
- }, {
424
- createdAt: number;
425
- updatedAt: number;
426
- note: string | null;
427
- }>;
428
- export type RoomNote = z.infer<typeof roomNoteSchema>;
429
499
  export declare const updateRoomNotesRequestBodySchema: z.ZodObject<{
430
500
  note: z.ZodString;
431
501
  }, "strip", z.ZodTypeAny, {
@@ -476,3 +546,4 @@ export declare const bookSlotRequestBodySchema: z.ZodObject<{
476
546
  ownerUid: string;
477
547
  }>;
478
548
  export type BookSlotRequestBody = z.infer<typeof bookSlotRequestBodySchema>;
549
+ export type RoomType = 'proposal' | 'dm' | 'invite';
@@ -103,6 +103,8 @@ declare const campaignDetailsSchema: z.ZodObject<{
103
103
  id: string;
104
104
  name: string;
105
105
  status: "error" | "active" | "paused" | "draft" | "archived";
106
+ createdAt: number;
107
+ updatedAt: number;
106
108
  stats: {
107
109
  contacted: number;
108
110
  viewed: number;
@@ -112,8 +114,6 @@ declare const campaignDetailsSchema: z.ZodObject<{
112
114
  proposalsGenerated: number;
113
115
  leadsFailed: number;
114
116
  };
115
- createdAt: number;
116
- updatedAt: number;
117
117
  suitabilityBreakdown: {
118
118
  lessThan50: number;
119
119
  between50And60: number;
@@ -126,6 +126,8 @@ declare const campaignDetailsSchema: z.ZodObject<{
126
126
  id: string;
127
127
  name: string;
128
128
  status: "error" | "active" | "paused" | "draft" | "archived";
129
+ createdAt: number;
130
+ updatedAt: number;
129
131
  stats: {
130
132
  contacted: number;
131
133
  viewed: number;
@@ -135,8 +137,6 @@ declare const campaignDetailsSchema: z.ZodObject<{
135
137
  proposalsGenerated: number;
136
138
  leadsFailed: number;
137
139
  };
138
- createdAt: number;
139
- updatedAt: number;
140
140
  suitabilityBreakdown: {
141
141
  lessThan50: number;
142
142
  between50And60: number;
@@ -237,6 +237,8 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
237
237
  id: string;
238
238
  name: string;
239
239
  status: "error" | "active" | "paused" | "draft" | "archived";
240
+ createdAt: number;
241
+ updatedAt: number;
240
242
  stats: {
241
243
  contacted: number;
242
244
  viewed: number;
@@ -246,8 +248,6 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
246
248
  proposalsGenerated: number;
247
249
  leadsFailed: number;
248
250
  };
249
- createdAt: number;
250
- updatedAt: number;
251
251
  suitabilityBreakdown: {
252
252
  lessThan50: number;
253
253
  between50And60: number;
@@ -260,6 +260,8 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
260
260
  id: string;
261
261
  name: string;
262
262
  status: "error" | "active" | "paused" | "draft" | "archived";
263
+ createdAt: number;
264
+ updatedAt: number;
263
265
  stats: {
264
266
  contacted: number;
265
267
  viewed: number;
@@ -269,8 +271,6 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
269
271
  proposalsGenerated: number;
270
272
  leadsFailed: number;
271
273
  };
272
- createdAt: number;
273
- updatedAt: number;
274
274
  suitabilityBreakdown: {
275
275
  lessThan50: number;
276
276
  between50And60: number;
@@ -282,8 +282,10 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
282
282
  }>, "many">;
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  active: boolean;
285
- organizationId: string;
286
285
  createdAt: number;
286
+ organizationType: string;
287
+ organizationName: string;
288
+ organizationId: string;
287
289
  totalStats: {
288
290
  contacted: number;
289
291
  viewed: number;
@@ -293,8 +295,6 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
293
295
  proposalsGenerated: number;
294
296
  leadsFailed: number;
295
297
  };
296
- organizationType: string;
297
- organizationName: string;
298
298
  tierId: string;
299
299
  campaignCount: number;
300
300
  activeCampaignCount: number;
@@ -302,6 +302,8 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
302
302
  id: string;
303
303
  name: string;
304
304
  status: "error" | "active" | "paused" | "draft" | "archived";
305
+ createdAt: number;
306
+ updatedAt: number;
305
307
  stats: {
306
308
  contacted: number;
307
309
  viewed: number;
@@ -311,8 +313,6 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
311
313
  proposalsGenerated: number;
312
314
  leadsFailed: number;
313
315
  };
314
- createdAt: number;
315
- updatedAt: number;
316
316
  suitabilityBreakdown: {
317
317
  lessThan50: number;
318
318
  between50And60: number;
@@ -324,8 +324,10 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
324
324
  }[];
325
325
  }, {
326
326
  active: boolean;
327
- organizationId: string;
328
327
  createdAt: number;
328
+ organizationType: string;
329
+ organizationName: string;
330
+ organizationId: string;
329
331
  totalStats: {
330
332
  contacted: number;
331
333
  viewed: number;
@@ -335,8 +337,6 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
335
337
  proposalsGenerated: number;
336
338
  leadsFailed: number;
337
339
  };
338
- organizationType: string;
339
- organizationName: string;
340
340
  tierId: string;
341
341
  campaignCount: number;
342
342
  activeCampaignCount: number;
@@ -344,6 +344,8 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
344
344
  id: string;
345
345
  name: string;
346
346
  status: "error" | "active" | "paused" | "draft" | "archived";
347
+ createdAt: number;
348
+ updatedAt: number;
347
349
  stats: {
348
350
  contacted: number;
349
351
  viewed: number;
@@ -353,8 +355,6 @@ export declare const organizationCampaignStatsSchema: z.ZodObject<{
353
355
  proposalsGenerated: number;
354
356
  leadsFailed: number;
355
357
  };
356
- createdAt: number;
357
- updatedAt: number;
358
358
  suitabilityBreakdown: {
359
359
  lessThan50: number;
360
360
  between50And60: number;
@@ -13,21 +13,21 @@ export declare const sampleSchema: z.ZodObject<{
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  id: string;
15
15
  label: "suitable" | "unsuitable";
16
+ createdAt: number;
17
+ updatedAt: number;
16
18
  leadId: string;
17
19
  organizationId: string;
18
20
  campaignId: string;
19
- createdAt: number;
20
- updatedAt: number;
21
21
  systemPromptSnapshot: string;
22
22
  jobDetailsSnapshot: string;
23
23
  }, {
24
24
  id: string;
25
25
  label: "suitable" | "unsuitable";
26
+ createdAt: number;
27
+ updatedAt: number;
26
28
  leadId: string;
27
29
  organizationId: string;
28
30
  campaignId: string;
29
- createdAt: number;
30
- updatedAt: number;
31
31
  systemPromptSnapshot: string;
32
32
  jobDetailsSnapshot: string;
33
33
  }>;