lancer-shared 1.2.285 → 1.2.287

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.
@@ -129,6 +129,7 @@ export declare const ROUTES: {
129
129
  readonly COVER_LETTER: {
130
130
  readonly BASE: (id: string) => string;
131
131
  readonly BY_ID: (id: string, coverLetterId: string) => string;
132
+ readonly DUPLICATE: (id: string, coverLetterId: string) => string;
132
133
  };
133
134
  readonly PROFILES: {
134
135
  readonly BASE: (id: string) => string;
@@ -164,6 +165,7 @@ export declare const ROUTES: {
164
165
  readonly LEADS_BY_JOB_ID: (organizationId: string, jobId: string) => string;
165
166
  readonly UPDATE_CAMPAIGN_PRIORITY: (organizationId: string) => string;
166
167
  readonly CAMPAIGN_ANALYTICS: (organizationId: string) => string;
168
+ readonly CAMPAIGN_ANALYTICS_BY_CAMPAIGN: (organizationId: string) => string;
167
169
  readonly CAMPAIGNS: {
168
170
  readonly BASE: (organizationId: string) => string;
169
171
  readonly BY_ID: (organizationId: string, campaignId: string) => string;
@@ -11,6 +11,13 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
11
11
  suitableJobs: z.ZodOptional<z.ZodNumber>;
12
12
  unsuitableJobs: z.ZodOptional<z.ZodNumber>;
13
13
  wonAmount: z.ZodOptional<z.ZodNumber>;
14
+ avgSubmissionDelayInMs: z.ZodOptional<z.ZodNumber>;
15
+ submissionDelayCount: z.ZodOptional<z.ZodNumber>;
16
+ totalBiddingAmount: z.ZodOptional<z.ZodNumber>;
17
+ totalBoostedAmount: z.ZodOptional<z.ZodNumber>;
18
+ replyRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
19
+ viewRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
20
+ contactedByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
14
21
  }, "strip", z.ZodTypeAny, {
15
22
  contacted?: number | undefined;
16
23
  viewed?: number | undefined;
@@ -23,6 +30,13 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
23
30
  leadsFailed?: number | undefined;
24
31
  suitableJobs?: number | undefined;
25
32
  unsuitableJobs?: number | undefined;
33
+ avgSubmissionDelayInMs?: number | undefined;
34
+ submissionDelayCount?: number | undefined;
35
+ totalBiddingAmount?: number | undefined;
36
+ totalBoostedAmount?: number | undefined;
37
+ replyRateByTemplateId?: Record<string, number> | undefined;
38
+ viewRateByTemplateId?: Record<string, number> | undefined;
39
+ contactedByTemplateId?: Record<string, number> | undefined;
26
40
  }, {
27
41
  contacted?: number | undefined;
28
42
  viewed?: number | undefined;
@@ -35,6 +49,13 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
35
49
  leadsFailed?: number | undefined;
36
50
  suitableJobs?: number | undefined;
37
51
  unsuitableJobs?: number | undefined;
52
+ avgSubmissionDelayInMs?: number | undefined;
53
+ submissionDelayCount?: number | undefined;
54
+ totalBiddingAmount?: number | undefined;
55
+ totalBoostedAmount?: number | undefined;
56
+ replyRateByTemplateId?: Record<string, number> | undefined;
57
+ viewRateByTemplateId?: Record<string, number> | undefined;
58
+ contactedByTemplateId?: Record<string, number> | undefined;
38
59
  }>;
39
60
  export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
40
61
  totalStats: z.ZodObject<{
@@ -49,6 +70,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
49
70
  suitableJobs: z.ZodOptional<z.ZodNumber>;
50
71
  unsuitableJobs: z.ZodOptional<z.ZodNumber>;
51
72
  wonAmount: z.ZodOptional<z.ZodNumber>;
73
+ avgSubmissionDelayInMs: z.ZodOptional<z.ZodNumber>;
74
+ submissionDelayCount: z.ZodOptional<z.ZodNumber>;
75
+ totalBiddingAmount: z.ZodOptional<z.ZodNumber>;
76
+ totalBoostedAmount: z.ZodOptional<z.ZodNumber>;
77
+ replyRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
78
+ viewRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
79
+ contactedByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
52
80
  }, "strip", z.ZodTypeAny, {
53
81
  contacted?: number | undefined;
54
82
  viewed?: number | undefined;
@@ -61,6 +89,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
61
89
  leadsFailed?: number | undefined;
62
90
  suitableJobs?: number | undefined;
63
91
  unsuitableJobs?: number | undefined;
92
+ avgSubmissionDelayInMs?: number | undefined;
93
+ submissionDelayCount?: number | undefined;
94
+ totalBiddingAmount?: number | undefined;
95
+ totalBoostedAmount?: number | undefined;
96
+ replyRateByTemplateId?: Record<string, number> | undefined;
97
+ viewRateByTemplateId?: Record<string, number> | undefined;
98
+ contactedByTemplateId?: Record<string, number> | undefined;
64
99
  }, {
65
100
  contacted?: number | undefined;
66
101
  viewed?: number | undefined;
@@ -73,6 +108,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
73
108
  leadsFailed?: number | undefined;
74
109
  suitableJobs?: number | undefined;
75
110
  unsuitableJobs?: number | undefined;
111
+ avgSubmissionDelayInMs?: number | undefined;
112
+ submissionDelayCount?: number | undefined;
113
+ totalBiddingAmount?: number | undefined;
114
+ totalBoostedAmount?: number | undefined;
115
+ replyRateByTemplateId?: Record<string, number> | undefined;
116
+ viewRateByTemplateId?: Record<string, number> | undefined;
117
+ contactedByTemplateId?: Record<string, number> | undefined;
76
118
  }>;
77
119
  statsByDate: z.ZodArray<z.ZodObject<{
78
120
  label: z.ZodString;
@@ -82,8 +124,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
82
124
  replied: z.ZodNumber;
83
125
  won: z.ZodNumber;
84
126
  leadsAnalyzed: z.ZodNumber;
127
+ avgSubmissionDelayInMs: z.ZodNumber;
128
+ submissionDelayCount: z.ZodNumber;
85
129
  totalBiddingAmount: z.ZodNumber;
86
130
  totalBoostedAmount: z.ZodNumber;
131
+ replyRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
132
+ viewRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
133
+ contactedByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
87
134
  }, "strip", z.ZodTypeAny, {
88
135
  label: string;
89
136
  contacted: number;
@@ -92,8 +139,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
92
139
  won: number;
93
140
  leadsAnalyzed: number;
94
141
  contactedSync: number;
142
+ avgSubmissionDelayInMs: number;
143
+ submissionDelayCount: number;
95
144
  totalBiddingAmount: number;
96
145
  totalBoostedAmount: number;
146
+ replyRateByTemplateId: Record<string, number>;
147
+ viewRateByTemplateId: Record<string, number>;
148
+ contactedByTemplateId: Record<string, number>;
97
149
  }, {
98
150
  label: string;
99
151
  contacted: number;
@@ -102,8 +154,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
102
154
  won: number;
103
155
  leadsAnalyzed: number;
104
156
  contactedSync: number;
157
+ avgSubmissionDelayInMs: number;
158
+ submissionDelayCount: number;
105
159
  totalBiddingAmount: number;
106
160
  totalBoostedAmount: number;
161
+ replyRateByTemplateId: Record<string, number>;
162
+ viewRateByTemplateId: Record<string, number>;
163
+ contactedByTemplateId: Record<string, number>;
107
164
  }>, "many">;
108
165
  }, "strip", z.ZodTypeAny, {
109
166
  totalStats: {
@@ -118,6 +175,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
118
175
  leadsFailed?: number | undefined;
119
176
  suitableJobs?: number | undefined;
120
177
  unsuitableJobs?: number | undefined;
178
+ avgSubmissionDelayInMs?: number | undefined;
179
+ submissionDelayCount?: number | undefined;
180
+ totalBiddingAmount?: number | undefined;
181
+ totalBoostedAmount?: number | undefined;
182
+ replyRateByTemplateId?: Record<string, number> | undefined;
183
+ viewRateByTemplateId?: Record<string, number> | undefined;
184
+ contactedByTemplateId?: Record<string, number> | undefined;
121
185
  };
122
186
  statsByDate: {
123
187
  label: string;
@@ -127,8 +191,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
127
191
  won: number;
128
192
  leadsAnalyzed: number;
129
193
  contactedSync: number;
194
+ avgSubmissionDelayInMs: number;
195
+ submissionDelayCount: number;
130
196
  totalBiddingAmount: number;
131
197
  totalBoostedAmount: number;
198
+ replyRateByTemplateId: Record<string, number>;
199
+ viewRateByTemplateId: Record<string, number>;
200
+ contactedByTemplateId: Record<string, number>;
132
201
  }[];
133
202
  }, {
134
203
  totalStats: {
@@ -143,6 +212,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
143
212
  leadsFailed?: number | undefined;
144
213
  suitableJobs?: number | undefined;
145
214
  unsuitableJobs?: number | undefined;
215
+ avgSubmissionDelayInMs?: number | undefined;
216
+ submissionDelayCount?: number | undefined;
217
+ totalBiddingAmount?: number | undefined;
218
+ totalBoostedAmount?: number | undefined;
219
+ replyRateByTemplateId?: Record<string, number> | undefined;
220
+ viewRateByTemplateId?: Record<string, number> | undefined;
221
+ contactedByTemplateId?: Record<string, number> | undefined;
146
222
  };
147
223
  statsByDate: {
148
224
  label: string;
@@ -152,8 +228,13 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
152
228
  won: number;
153
229
  leadsAnalyzed: number;
154
230
  contactedSync: number;
231
+ avgSubmissionDelayInMs: number;
232
+ submissionDelayCount: number;
155
233
  totalBiddingAmount: number;
156
234
  totalBoostedAmount: number;
235
+ replyRateByTemplateId: Record<string, number>;
236
+ viewRateByTemplateId: Record<string, number>;
237
+ contactedByTemplateId: Record<string, number>;
157
238
  }[];
158
239
  }>;
159
240
  export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
@@ -163,12 +244,26 @@ export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
163
244
  viewed: z.ZodNumber;
164
245
  replied: z.ZodNumber;
165
246
  won: z.ZodNumber;
247
+ avgSubmissionDelayInMs: z.ZodNumber;
248
+ submissionDelayCount: z.ZodNumber;
249
+ totalBiddingAmount: z.ZodNumber;
250
+ totalBoostedAmount: z.ZodNumber;
251
+ replyRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
252
+ viewRateByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
253
+ contactedByTemplateId: z.ZodRecord<z.ZodString, z.ZodNumber>;
166
254
  }, "strip", z.ZodTypeAny, {
167
255
  contacted: number;
168
256
  viewed: number;
169
257
  replied: number;
170
258
  won: number;
171
259
  contactedSync: number;
260
+ avgSubmissionDelayInMs: number;
261
+ submissionDelayCount: number;
262
+ totalBiddingAmount: number;
263
+ totalBoostedAmount: number;
264
+ replyRateByTemplateId: Record<string, number>;
265
+ viewRateByTemplateId: Record<string, number>;
266
+ contactedByTemplateId: Record<string, number>;
172
267
  jobsAnalyzed: number;
173
268
  }, {
174
269
  contacted: number;
@@ -176,6 +271,13 @@ export declare const campaignAnalyticsResponseSchema: z.ZodObject<{
176
271
  replied: number;
177
272
  won: number;
178
273
  contactedSync: number;
274
+ avgSubmissionDelayInMs: number;
275
+ submissionDelayCount: number;
276
+ totalBiddingAmount: number;
277
+ totalBoostedAmount: number;
278
+ replyRateByTemplateId: Record<string, number>;
279
+ viewRateByTemplateId: Record<string, number>;
280
+ contactedByTemplateId: Record<string, number>;
179
281
  jobsAnalyzed: number;
180
282
  }>;
181
283
  export declare const campaignActivityTypeSchema: z.ZodEnum<["campaign_status", "lead_analysis", "lead_status", "proposal_sent"]>;
@@ -736,17 +838,20 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
736
838
  description: z.ZodNullable<z.ZodString>;
737
839
  template: z.ZodString;
738
840
  instructions: z.ZodString;
841
+ status: z.ZodEnum<["active", "archived"]>;
739
842
  }, "strip", z.ZodTypeAny, {
740
843
  id: string;
741
844
  name: string;
742
845
  template: string;
743
846
  description: string | null;
847
+ status: "active" | "archived";
744
848
  instructions: string;
745
849
  }, {
746
850
  id: string;
747
851
  name: string;
748
852
  template: string;
749
853
  description: string | null;
854
+ status: "active" | "archived";
750
855
  instructions: string;
751
856
  }>>;
752
857
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -1391,17 +1496,20 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1391
1496
  description: z.ZodNullable<z.ZodString>;
1392
1497
  template: z.ZodString;
1393
1498
  instructions: z.ZodString;
1499
+ status: z.ZodEnum<["active", "archived"]>;
1394
1500
  }, "strip", z.ZodTypeAny, {
1395
1501
  id: string;
1396
1502
  name: string;
1397
1503
  template: string;
1398
1504
  description: string | null;
1505
+ status: "active" | "archived";
1399
1506
  instructions: string;
1400
1507
  }, {
1401
1508
  id: string;
1402
1509
  name: string;
1403
1510
  template: string;
1404
1511
  description: string | null;
1512
+ status: "active" | "archived";
1405
1513
  instructions: string;
1406
1514
  }>>;
1407
1515
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -2477,17 +2585,20 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2477
2585
  description: z.ZodNullable<z.ZodString>;
2478
2586
  template: z.ZodString;
2479
2587
  instructions: z.ZodString;
2588
+ status: z.ZodEnum<["active", "archived"]>;
2480
2589
  }, "strip", z.ZodTypeAny, {
2481
2590
  id: string;
2482
2591
  name: string;
2483
2592
  template: string;
2484
2593
  description: string | null;
2594
+ status: "active" | "archived";
2485
2595
  instructions: string;
2486
2596
  }, {
2487
2597
  id: string;
2488
2598
  name: string;
2489
2599
  template: string;
2490
2600
  description: string | null;
2601
+ status: "active" | "archived";
2491
2602
  instructions: string;
2492
2603
  }>>;
2493
2604
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -3563,17 +3674,20 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3563
3674
  description: z.ZodNullable<z.ZodString>;
3564
3675
  template: z.ZodString;
3565
3676
  instructions: z.ZodString;
3677
+ status: z.ZodEnum<["active", "archived"]>;
3566
3678
  }, "strip", z.ZodTypeAny, {
3567
3679
  id: string;
3568
3680
  name: string;
3569
3681
  template: string;
3570
3682
  description: string | null;
3683
+ status: "active" | "archived";
3571
3684
  instructions: string;
3572
3685
  }, {
3573
3686
  id: string;
3574
3687
  name: string;
3575
3688
  template: string;
3576
3689
  description: string | null;
3690
+ status: "active" | "archived";
3577
3691
  instructions: string;
3578
3692
  }>>;
3579
3693
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -4646,17 +4760,20 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4646
4760
  description: z.ZodNullable<z.ZodString>;
4647
4761
  template: z.ZodString;
4648
4762
  instructions: z.ZodString;
4763
+ status: z.ZodEnum<["active", "archived"]>;
4649
4764
  }, "strip", z.ZodTypeAny, {
4650
4765
  id: string;
4651
4766
  name: string;
4652
4767
  template: string;
4653
4768
  description: string | null;
4769
+ status: "active" | "archived";
4654
4770
  instructions: string;
4655
4771
  }, {
4656
4772
  id: string;
4657
4773
  name: string;
4658
4774
  template: string;
4659
4775
  description: string | null;
4776
+ status: "active" | "archived";
4660
4777
  instructions: string;
4661
4778
  }>>;
4662
4779
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -5300,17 +5417,20 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5300
5417
  description: z.ZodNullable<z.ZodString>;
5301
5418
  template: z.ZodString;
5302
5419
  instructions: z.ZodString;
5420
+ status: z.ZodEnum<["active", "archived"]>;
5303
5421
  }, "strip", z.ZodTypeAny, {
5304
5422
  id: string;
5305
5423
  name: string;
5306
5424
  template: string;
5307
5425
  description: string | null;
5426
+ status: "active" | "archived";
5308
5427
  instructions: string;
5309
5428
  }, {
5310
5429
  id: string;
5311
5430
  name: string;
5312
5431
  template: string;
5313
5432
  description: string | null;
5433
+ status: "active" | "archived";
5314
5434
  instructions: string;
5315
5435
  }>>;
5316
5436
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -6385,17 +6505,20 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6385
6505
  description: z.ZodNullable<z.ZodString>;
6386
6506
  template: z.ZodString;
6387
6507
  instructions: z.ZodString;
6508
+ status: z.ZodEnum<["active", "archived"]>;
6388
6509
  }, "strip", z.ZodTypeAny, {
6389
6510
  id: string;
6390
6511
  name: string;
6391
6512
  template: string;
6392
6513
  description: string | null;
6514
+ status: "active" | "archived";
6393
6515
  instructions: string;
6394
6516
  }, {
6395
6517
  id: string;
6396
6518
  name: string;
6397
6519
  template: string;
6398
6520
  description: string | null;
6521
+ status: "active" | "archived";
6399
6522
  instructions: string;
6400
6523
  }>>;
6401
6524
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -7470,17 +7593,20 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
7470
7593
  description: z.ZodNullable<z.ZodString>;
7471
7594
  template: z.ZodString;
7472
7595
  instructions: z.ZodString;
7596
+ status: z.ZodEnum<["active", "archived"]>;
7473
7597
  }, "strip", z.ZodTypeAny, {
7474
7598
  id: string;
7475
7599
  name: string;
7476
7600
  template: string;
7477
7601
  description: string | null;
7602
+ status: "active" | "archived";
7478
7603
  instructions: string;
7479
7604
  }, {
7480
7605
  id: string;
7481
7606
  name: string;
7482
7607
  template: string;
7483
7608
  description: string | null;
7609
+ status: "active" | "archived";
7484
7610
  instructions: string;
7485
7611
  }>>;
7486
7612
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -386,17 +386,20 @@ export declare const campaignSchema: z.ZodObject<{
386
386
  description: z.ZodNullable<z.ZodString>;
387
387
  template: z.ZodString;
388
388
  instructions: z.ZodString;
389
+ status: z.ZodEnum<["active", "archived"]>;
389
390
  }, "strip", z.ZodTypeAny, {
390
391
  id: string;
391
392
  name: string;
392
393
  template: string;
393
394
  description: string | null;
395
+ status: "active" | "archived";
394
396
  instructions: string;
395
397
  }, {
396
398
  id: string;
397
399
  name: string;
398
400
  template: string;
399
401
  description: string | null;
402
+ status: "active" | "archived";
400
403
  instructions: string;
401
404
  }>>;
402
405
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -547,6 +550,7 @@ export declare const campaignSchema: z.ZodObject<{
547
550
  name: string;
548
551
  template: string;
549
552
  description: string | null;
553
+ status: "active" | "archived";
550
554
  instructions: string;
551
555
  } | null;
552
556
  organizationProfileId: string | null;
@@ -663,6 +667,7 @@ export declare const campaignSchema: z.ZodObject<{
663
667
  name: string;
664
668
  template: string;
665
669
  description: string | null;
670
+ status: "active" | "archived";
666
671
  instructions: string;
667
672
  } | null;
668
673
  organizationProfileId: string | null;
@@ -1031,17 +1036,20 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1031
1036
  description: z.ZodNullable<z.ZodString>;
1032
1037
  template: z.ZodString;
1033
1038
  instructions: z.ZodString;
1039
+ status: z.ZodEnum<["active", "archived"]>;
1034
1040
  }, "strip", z.ZodTypeAny, {
1035
1041
  id: string;
1036
1042
  name: string;
1037
1043
  template: string;
1038
1044
  description: string | null;
1045
+ status: "active" | "archived";
1039
1046
  instructions: string;
1040
1047
  }, {
1041
1048
  id: string;
1042
1049
  name: string;
1043
1050
  template: string;
1044
1051
  description: string | null;
1052
+ status: "active" | "archived";
1045
1053
  instructions: string;
1046
1054
  }>>;
1047
1055
  organizationProfileId: z.ZodNullable<z.ZodString>;
@@ -1183,6 +1191,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1183
1191
  name: string;
1184
1192
  template: string;
1185
1193
  description: string | null;
1194
+ status: "active" | "archived";
1186
1195
  instructions: string;
1187
1196
  } | null;
1188
1197
  organizationProfileId: string | null;
@@ -1290,6 +1299,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
1290
1299
  name: string;
1291
1300
  template: string;
1292
1301
  description: string | null;
1302
+ status: "active" | "archived";
1293
1303
  instructions: string;
1294
1304
  } | null;
1295
1305
  organizationProfileId: string | null;
@@ -1637,17 +1647,20 @@ export declare const updateCampaignSchema: z.ZodObject<{
1637
1647
  description: z.ZodNullable<z.ZodString>;
1638
1648
  template: z.ZodString;
1639
1649
  instructions: z.ZodString;
1650
+ status: z.ZodEnum<["active", "archived"]>;
1640
1651
  }, "strip", z.ZodTypeAny, {
1641
1652
  id: string;
1642
1653
  name: string;
1643
1654
  template: string;
1644
1655
  description: string | null;
1656
+ status: "active" | "archived";
1645
1657
  instructions: string;
1646
1658
  }, {
1647
1659
  id: string;
1648
1660
  name: string;
1649
1661
  template: string;
1650
1662
  description: string | null;
1663
+ status: "active" | "archived";
1651
1664
  instructions: string;
1652
1665
  }>>>;
1653
1666
  organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1797,6 +1810,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1797
1810
  name: string;
1798
1811
  template: string;
1799
1812
  description: string | null;
1813
+ status: "active" | "archived";
1800
1814
  instructions: string;
1801
1815
  } | null | undefined;
1802
1816
  organizationProfileId?: string | null | undefined;
@@ -1916,6 +1930,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1916
1930
  name: string;
1917
1931
  template: string;
1918
1932
  description: string | null;
1933
+ status: "active" | "archived";
1919
1934
  instructions: string;
1920
1935
  } | null | undefined;
1921
1936
  organizationProfileId?: string | null | undefined;
@@ -1,21 +1,24 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  export declare const coverLetterTemplateSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  name: z.ZodString;
5
5
  description: z.ZodNullable<z.ZodString>;
6
6
  template: z.ZodString;
7
7
  instructions: z.ZodString;
8
+ status: z.ZodEnum<["active", "archived"]>;
8
9
  }, "strip", z.ZodTypeAny, {
9
10
  id: string;
10
11
  name: string;
11
12
  template: string;
12
13
  description: string | null;
14
+ status: "active" | "archived";
13
15
  instructions: string;
14
16
  }, {
15
17
  id: string;
16
18
  name: string;
17
19
  template: string;
18
20
  description: string | null;
21
+ status: "active" | "archived";
19
22
  instructions: string;
20
23
  }>;
21
24
  export declare const createCoverLetterTemplateSchema: z.ZodObject<Pick<{
@@ -24,6 +27,7 @@ export declare const createCoverLetterTemplateSchema: z.ZodObject<Pick<{
24
27
  description: z.ZodNullable<z.ZodString>;
25
28
  template: z.ZodString;
26
29
  instructions: z.ZodString;
30
+ status: z.ZodEnum<["active", "archived"]>;
27
31
  }, "name" | "template" | "instructions">, "strip", z.ZodTypeAny, {
28
32
  name: string;
29
33
  template: string;
@@ -1044,15 +1044,15 @@ export declare const subscribePayloadSchema: z.ZodObject<{
1044
1044
  planId: z.ZodString;
1045
1045
  toltReferral: z.ZodOptional<z.ZodString>;
1046
1046
  promoCode: z.ZodOptional<z.ZodString>;
1047
- billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
1047
+ billingInterval: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "yearly"]>>;
1048
1048
  }, "strip", z.ZodTypeAny, {
1049
1049
  planId: string;
1050
- billingInterval: "monthly" | "quarterly" | "yearly";
1050
+ billingInterval?: "monthly" | "quarterly" | "yearly" | undefined;
1051
1051
  toltReferral?: string | undefined;
1052
1052
  promoCode?: string | undefined;
1053
1053
  }, {
1054
1054
  planId: string;
1055
- billingInterval: "monthly" | "quarterly" | "yearly";
1055
+ billingInterval?: "monthly" | "quarterly" | "yearly" | undefined;
1056
1056
  toltReferral?: string | undefined;
1057
1057
  promoCode?: string | undefined;
1058
1058
  }>;