lancer-shared 1.2.13 → 1.2.14

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.
@@ -5307,7 +5307,7 @@ const leadStatusSchema = z.enum([
5307
5307
  "contacted",
5308
5308
  "viewed",
5309
5309
  "replied",
5310
- "negotiations",
5310
+ "interview",
5311
5311
  "won",
5312
5312
  "lost",
5313
5313
  ]);
@@ -5323,6 +5323,7 @@ const leadSchema = upworkJobSchema
5323
5323
  suitabilityRating: numberType().nullable(),
5324
5324
  suitabilityReason: stringType().nullable(),
5325
5325
  proposal: stringType().nullable(),
5326
+ proposalId: stringType().optional(),
5326
5327
  questionAnswerPairs: arrayType(questionAnswerPairSchema).nullable(),
5327
5328
  agentStatus: agentStatusSchema.nullable(),
5328
5329
  leadStatus: leadStatusSchema.nullable(),
@@ -5490,7 +5491,7 @@ const campaignAnalyticsStatsSchema = z.object({
5490
5491
  contacted: z.number(),
5491
5492
  viewed: z.number(),
5492
5493
  replied: z.number(),
5493
- negotiations: z.number(),
5494
+ interview: z.number(),
5494
5495
  won: z.number(),
5495
5496
  }),
5496
5497
  statsByDate: z.array(z.object({
@@ -5498,7 +5499,7 @@ const campaignAnalyticsStatsSchema = z.object({
5498
5499
  contacted: z.number(),
5499
5500
  viewed: z.number(),
5500
5501
  replied: z.number(),
5501
- negotiations: z.number(),
5502
+ interview: z.number(),
5502
5503
  won: z.number(),
5503
5504
  })),
5504
5505
  });
@@ -5649,6 +5650,16 @@ const biddingWarningAlertEventMetadata = objectType({
5649
5650
  const biddingRetryEventMetadata = objectType({
5650
5651
  errorMessage: stringType(),
5651
5652
  });
5653
+ const leadStatusEventMetadata = objectType({
5654
+ campaignId: stringType(),
5655
+ organizationId: stringType(),
5656
+ leadId: stringType(),
5657
+ userId: stringType(),
5658
+ metadata: z.object({
5659
+ status: leadStatusSchema,
5660
+ proposalId: stringType().nullable(),
5661
+ }),
5662
+ });
5652
5663
 
5653
5664
  const subscriptionStatusEnum = z.enum([
5654
5665
  "active",
@@ -5675,11 +5686,11 @@ const organizationMemberSchema = objectType({
5675
5686
  });
5676
5687
 
5677
5688
  const onboardingProgressSchema = z.object({
5678
- profileSetup: z.boolean(),
5679
- campaignCreated: z.boolean(),
5680
- filtersAdded: z.boolean(),
5689
+ profileSetup: z.number(),
5690
+ campaignCreated: z.number(),
5691
+ filtersAdded: z.number(),
5681
5692
  rulesConfigured: z.number(), // 2 is completed, 1 is when the system generates ai config
5682
- automationEnabled: z.boolean(),
5693
+ automationEnabled: z.number(),
5683
5694
  });
5684
5695
 
5685
5696
  const bidConfigSchema = objectType({
@@ -6293,15 +6304,15 @@ const jobStatusOrder = [
6293
6304
  "contacted",
6294
6305
  "viewed",
6295
6306
  "replied",
6296
- "negotiations",
6307
+ "interview",
6297
6308
  "won",
6298
6309
  "lost",
6299
6310
  ];
6300
6311
  const getPreviousStatus = (status) => {
6301
6312
  if (status === "won")
6302
- return "negotiations";
6313
+ return "interview";
6303
6314
  if (status === "lost")
6304
- return "negotiations";
6315
+ return "interview";
6305
6316
  const index = jobStatusOrder.indexOf(status);
6306
6317
  return index > 0 ? jobStatusOrder[index - 1] : null;
6307
6318
  };
@@ -12934,6 +12945,7 @@ exports.jobStatusOrder = jobStatusOrder;
12934
12945
  exports.knowledgeBaseSchema = knowledgeBaseSchema;
12935
12946
  exports.leadResponseSchema = leadResponseSchema;
12936
12947
  exports.leadSchema = leadSchema;
12948
+ exports.leadStatusEventMetadata = leadStatusEventMetadata;
12937
12949
  exports.leadStatusSchema = leadStatusSchema;
12938
12950
  exports.listingScrapedEventMetadata = listingScrapedEventMetadata;
12939
12951
  exports.logEventSchema = logEventSchema;
@@ -5,19 +5,19 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
5
5
  contacted: z.ZodNumber;
6
6
  viewed: z.ZodNumber;
7
7
  replied: z.ZodNumber;
8
- negotiations: z.ZodNumber;
8
+ interview: z.ZodNumber;
9
9
  won: z.ZodNumber;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  contacted: number;
12
12
  viewed: number;
13
13
  replied: number;
14
- negotiations: number;
14
+ interview: number;
15
15
  won: number;
16
16
  }, {
17
17
  contacted: number;
18
18
  viewed: number;
19
19
  replied: number;
20
- negotiations: number;
20
+ interview: number;
21
21
  won: number;
22
22
  }>;
23
23
  statsByDate: z.ZodArray<z.ZodObject<{
@@ -25,20 +25,20 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
25
25
  contacted: z.ZodNumber;
26
26
  viewed: z.ZodNumber;
27
27
  replied: z.ZodNumber;
28
- negotiations: z.ZodNumber;
28
+ interview: z.ZodNumber;
29
29
  won: z.ZodNumber;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  contacted: number;
32
32
  viewed: number;
33
33
  replied: number;
34
- negotiations: number;
34
+ interview: number;
35
35
  won: number;
36
36
  label: string;
37
37
  }, {
38
38
  contacted: number;
39
39
  viewed: number;
40
40
  replied: number;
41
- negotiations: number;
41
+ interview: number;
42
42
  won: number;
43
43
  label: string;
44
44
  }>, "many">;
@@ -48,14 +48,14 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
48
48
  contacted: number;
49
49
  viewed: number;
50
50
  replied: number;
51
- negotiations: number;
51
+ interview: number;
52
52
  won: number;
53
53
  };
54
54
  statsByDate: {
55
55
  contacted: number;
56
56
  viewed: number;
57
57
  replied: number;
58
- negotiations: number;
58
+ interview: number;
59
59
  won: number;
60
60
  label: string;
61
61
  }[];
@@ -65,14 +65,14 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
65
65
  contacted: number;
66
66
  viewed: number;
67
67
  replied: number;
68
- negotiations: number;
68
+ interview: number;
69
69
  won: number;
70
70
  };
71
71
  statsByDate: {
72
72
  contacted: number;
73
73
  viewed: number;
74
74
  replied: number;
75
- negotiations: number;
75
+ interview: number;
76
76
  won: number;
77
77
  label: string;
78
78
  }[];
@@ -89,19 +89,19 @@ export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
89
89
  contacted: number;
90
90
  viewed: number;
91
91
  replied: number;
92
- negotiations: number;
93
92
  won: number;
93
+ negotiations: number;
94
94
  }, {
95
95
  jobsAnalyzed: number;
96
96
  contacted: number;
97
97
  viewed: number;
98
98
  replied: number;
99
- negotiations: number;
100
99
  won: number;
100
+ negotiations: number;
101
101
  }>;
102
102
  export declare const campaignActivitySchema: z.ZodObject<{
103
103
  createdAt: z.ZodNumber;
104
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>;
104
+ status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>;
105
105
  job: z.ZodObject<Pick<{
106
106
  id: z.ZodNullable<z.ZodString>;
107
107
  uid: z.ZodNullable<z.ZodString>;
@@ -411,7 +411,7 @@ export declare const campaignActivitySchema: z.ZodObject<{
411
411
  jobUrl: string | null;
412
412
  }>;
413
413
  }, "strip", z.ZodTypeAny, {
414
- status: "contacted" | "viewed" | "replied" | "negotiations" | "won" | "leads" | "lost";
414
+ status: "contacted" | "viewed" | "replied" | "interview" | "won" | "leads" | "lost";
415
415
  createdAt: number;
416
416
  job: {
417
417
  id: string | null;
@@ -420,7 +420,7 @@ export declare const campaignActivitySchema: z.ZodObject<{
420
420
  jobUrl: string | null;
421
421
  };
422
422
  }, {
423
- status: "contacted" | "viewed" | "replied" | "negotiations" | "won" | "leads" | "lost";
423
+ status: "contacted" | "viewed" | "replied" | "interview" | "won" | "leads" | "lost";
424
424
  createdAt: number;
425
425
  job: {
426
426
  id: string | null;
@@ -431,7 +431,7 @@ export declare const campaignActivitySchema: z.ZodObject<{
431
431
  }>;
432
432
  export declare const campaignActivityCreateSchema: z.ZodObject<Pick<{
433
433
  createdAt: z.ZodNumber;
434
- status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>;
434
+ status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>;
435
435
  job: z.ZodObject<Pick<{
436
436
  id: z.ZodNullable<z.ZodString>;
437
437
  uid: z.ZodNullable<z.ZodString>;
@@ -741,7 +741,7 @@ export declare const campaignActivityCreateSchema: z.ZodObject<Pick<{
741
741
  jobUrl: string | null;
742
742
  }>;
743
743
  }, "status" | "job">, "strip", z.ZodTypeAny, {
744
- status: "contacted" | "viewed" | "replied" | "negotiations" | "won" | "leads" | "lost";
744
+ status: "contacted" | "viewed" | "replied" | "interview" | "won" | "leads" | "lost";
745
745
  job: {
746
746
  id: string | null;
747
747
  title: string | null;
@@ -749,7 +749,7 @@ export declare const campaignActivityCreateSchema: z.ZodObject<Pick<{
749
749
  jobUrl: string | null;
750
750
  };
751
751
  }, {
752
- status: "contacted" | "viewed" | "replied" | "negotiations" | "won" | "leads" | "lost";
752
+ status: "contacted" | "viewed" | "replied" | "interview" | "won" | "leads" | "lost";
753
753
  job: {
754
754
  id: string | null;
755
755
  title: string | null;
@@ -314,6 +314,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
314
314
  suitabilityRating: z.ZodNullable<z.ZodNumber>;
315
315
  suitabilityReason: z.ZodNullable<z.ZodString>;
316
316
  proposal: z.ZodNullable<z.ZodString>;
317
+ proposalId: z.ZodOptional<z.ZodString>;
317
318
  questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
318
319
  question: z.ZodString;
319
320
  answer: z.ZodString;
@@ -325,7 +326,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
325
326
  answer: string;
326
327
  }>, "many">>;
327
328
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
328
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>>;
329
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>>;
329
330
  biddingAmount: z.ZodNullable<z.ZodNumber>;
330
331
  boosted: z.ZodNullable<z.ZodBoolean>;
331
332
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -431,7 +432,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
431
432
  answer: string;
432
433
  }[] | null;
433
434
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
434
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
435
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
435
436
  biddingAmount: number | null;
436
437
  boosted: boolean | null;
437
438
  boostingAmount: number | null;
@@ -457,6 +458,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
457
458
  invitesSent: number;
458
459
  unansweredInvites: number;
459
460
  } | null | undefined;
461
+ proposalId?: string | undefined;
460
462
  }, {
461
463
  id: string | null;
462
464
  uid: string | null;
@@ -557,7 +559,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
557
559
  answer: string;
558
560
  }[] | null;
559
561
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
560
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
562
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
561
563
  biddingAmount: number | null;
562
564
  boosted: boolean | null;
563
565
  boostingAmount: number | null;
@@ -583,6 +585,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
583
585
  invitesSent: number;
584
586
  unansweredInvites: number;
585
587
  } | null | undefined;
588
+ proposalId?: string | undefined;
586
589
  }>;
587
590
  export declare const leadResponseSchema: z.ZodObject<{
588
591
  leads: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -888,6 +891,7 @@ export declare const leadResponseSchema: z.ZodObject<{
888
891
  suitabilityRating: z.ZodNullable<z.ZodNumber>;
889
892
  suitabilityReason: z.ZodNullable<z.ZodString>;
890
893
  proposal: z.ZodNullable<z.ZodString>;
894
+ proposalId: z.ZodOptional<z.ZodString>;
891
895
  questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
892
896
  question: z.ZodString;
893
897
  answer: z.ZodString;
@@ -899,7 +903,7 @@ export declare const leadResponseSchema: z.ZodObject<{
899
903
  answer: string;
900
904
  }>, "many">>;
901
905
  agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
902
- leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>>;
906
+ leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>>;
903
907
  biddingAmount: z.ZodNullable<z.ZodNumber>;
904
908
  boosted: z.ZodNullable<z.ZodBoolean>;
905
909
  boostingAmount: z.ZodNullable<z.ZodNumber>;
@@ -1005,7 +1009,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1005
1009
  answer: string;
1006
1010
  }[] | null;
1007
1011
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1008
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
1012
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1009
1013
  biddingAmount: number | null;
1010
1014
  boosted: boolean | null;
1011
1015
  boostingAmount: number | null;
@@ -1031,6 +1035,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1031
1035
  invitesSent: number;
1032
1036
  unansweredInvites: number;
1033
1037
  } | null | undefined;
1038
+ proposalId?: string | undefined;
1034
1039
  }, {
1035
1040
  id: string | null;
1036
1041
  uid: string | null;
@@ -1131,7 +1136,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1131
1136
  answer: string;
1132
1137
  }[] | null;
1133
1138
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1134
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
1139
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1135
1140
  biddingAmount: number | null;
1136
1141
  boosted: boolean | null;
1137
1142
  boostingAmount: number | null;
@@ -1157,6 +1162,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1157
1162
  invitesSent: number;
1158
1163
  unansweredInvites: number;
1159
1164
  } | null | undefined;
1165
+ proposalId?: string | undefined;
1160
1166
  }>, "many">;
1161
1167
  nextCursor: z.ZodNullable<z.ZodString>;
1162
1168
  hasMore: z.ZodBoolean;
@@ -1262,7 +1268,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1262
1268
  answer: string;
1263
1269
  }[] | null;
1264
1270
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1265
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
1271
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1266
1272
  biddingAmount: number | null;
1267
1273
  boosted: boolean | null;
1268
1274
  boostingAmount: number | null;
@@ -1288,6 +1294,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1288
1294
  invitesSent: number;
1289
1295
  unansweredInvites: number;
1290
1296
  } | null | undefined;
1297
+ proposalId?: string | undefined;
1291
1298
  }[];
1292
1299
  nextCursor: string | null;
1293
1300
  hasMore: boolean;
@@ -1393,7 +1400,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1393
1400
  answer: string;
1394
1401
  }[] | null;
1395
1402
  agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
1396
- leadStatus: "leads" | "contacted" | "viewed" | "replied" | "negotiations" | "won" | "lost" | null;
1403
+ leadStatus: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost" | null;
1397
1404
  biddingAmount: number | null;
1398
1405
  boosted: boolean | null;
1399
1406
  boostingAmount: number | null;
@@ -1419,6 +1426,7 @@ export declare const leadResponseSchema: z.ZodObject<{
1419
1426
  invitesSent: number;
1420
1427
  unansweredInvites: number;
1421
1428
  } | null | undefined;
1429
+ proposalId?: string | undefined;
1422
1430
  }[];
1423
1431
  nextCursor: string | null;
1424
1432
  hasMore: boolean;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
2
  export declare const agentStatusSchema: z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>;
3
- export declare const leadStatusSchema: z.ZodEnum<["leads", "contacted", "viewed", "replied", "negotiations", "won", "lost"]>;
3
+ export declare const leadStatusSchema: z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>;
4
4
  export type LeadStatus = z.infer<typeof leadStatusSchema>;
5
5
  export type LeadAgentStatus = z.infer<typeof agentStatusSchema>;
@@ -281,6 +281,40 @@ export declare const biddingRetryEventMetadata: z.ZodObject<{
281
281
  }, {
282
282
  errorMessage: string;
283
283
  }>;
284
+ export declare const leadStatusEventMetadata: z.ZodObject<{
285
+ campaignId: z.ZodString;
286
+ organizationId: z.ZodString;
287
+ leadId: z.ZodString;
288
+ userId: z.ZodString;
289
+ metadata: z.ZodObject<{
290
+ status: z.ZodEnum<["leads", "contacted", "viewed", "replied", "interview", "won", "lost"]>;
291
+ proposalId: z.ZodNullable<z.ZodString>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
294
+ proposalId: string | null;
295
+ }, {
296
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
297
+ proposalId: string | null;
298
+ }>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ organizationId: string;
301
+ userId: string;
302
+ campaignId: string;
303
+ leadId: string;
304
+ metadata: {
305
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
306
+ proposalId: string | null;
307
+ };
308
+ }, {
309
+ organizationId: string;
310
+ userId: string;
311
+ campaignId: string;
312
+ leadId: string;
313
+ metadata: {
314
+ status: "leads" | "contacted" | "viewed" | "replied" | "interview" | "won" | "lost";
315
+ proposalId: string | null;
316
+ };
317
+ }>;
284
318
  export type LogEventType = z.infer<typeof LogEventTypeEnum>;
285
319
  export type LogEvent = z.infer<typeof logEventSchema>;
286
320
  export type ListingScrapedEventMetadata = z.infer<typeof listingScrapedEventMetadata>;
@@ -292,3 +326,4 @@ export type BiddingCompletedEventMetadata = z.infer<typeof biddingCompletedEvent
292
326
  export type BiddingFailedEventMetadata = z.infer<typeof biddingFailedEventMetadata>;
293
327
  export type BiddingWarningAlertEventMetadata = z.infer<typeof biddingWarningAlertEventMetadata>;
294
328
  export type BiddingRetryEventMetadata = z.infer<typeof biddingRetryEventMetadata>;
329
+ export type LeadStatusEventMetadata = z.infer<typeof leadStatusEventMetadata>;
@@ -1,21 +1,21 @@
1
1
  import { z } from "zod";
2
2
  export declare const onboardingProgressSchema: z.ZodObject<{
3
- profileSetup: z.ZodBoolean;
4
- campaignCreated: z.ZodBoolean;
5
- filtersAdded: z.ZodBoolean;
3
+ profileSetup: z.ZodNumber;
4
+ campaignCreated: z.ZodNumber;
5
+ filtersAdded: z.ZodNumber;
6
6
  rulesConfigured: z.ZodNumber;
7
- automationEnabled: z.ZodBoolean;
7
+ automationEnabled: z.ZodNumber;
8
8
  }, "strip", z.ZodTypeAny, {
9
- profileSetup: boolean;
10
- campaignCreated: boolean;
11
- filtersAdded: boolean;
9
+ profileSetup: number;
10
+ campaignCreated: number;
11
+ filtersAdded: number;
12
12
  rulesConfigured: number;
13
- automationEnabled: boolean;
13
+ automationEnabled: number;
14
14
  }, {
15
- profileSetup: boolean;
16
- campaignCreated: boolean;
17
- filtersAdded: boolean;
15
+ profileSetup: number;
16
+ campaignCreated: number;
17
+ filtersAdded: number;
18
18
  rulesConfigured: number;
19
- automationEnabled: boolean;
19
+ automationEnabled: number;
20
20
  }>;
21
21
  export type OnboardingProgress = z.infer<typeof onboardingProgressSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",