salesprompter-cli 0.1.64 → 0.1.65

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 (2) hide show
  1. package/dist/cli.js +1 -19
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -186,21 +186,6 @@ const AffiliateStrictSequenceSchema = z.tuple([
186
186
  AffiliateStrictSequenceStepSchema.extend({ step: z.literal(2) }),
187
187
  AffiliateStrictSequenceStepSchema.extend({ step: z.literal(3) })
188
188
  ]);
189
- const AffiliateOutreachLeadSchema = z.object({
190
- rowIndex: z.number().int().nonnegative(),
191
- fullName: z.string().min(1),
192
- firstName: z.string().min(1),
193
- lastName: z.string().min(1),
194
- jobTitle: z.string().nullable(),
195
- companyName: z.string().min(1),
196
- companyDomain: z.string().min(1),
197
- location: z.string().nullable(),
198
- profileUrl: z.string().nullable(),
199
- email: z.string().email(),
200
- emailScore: z.number().min(0).max(100),
201
- acceptAll: z.boolean(),
202
- emailSource: z.enum(["hunter", "phantombuster"]).optional()
203
- });
204
189
  const AffiliateOutreachRunBaseSchema = z.object({
205
190
  id: z.string().uuid(),
206
191
  audience_run_id: z.string().uuid(),
@@ -210,7 +195,6 @@ const AffiliateOutreachRunBaseSchema = z.object({
210
195
  instantly_campaign_id: z.string().min(1).nullable(),
211
196
  instantly_campaign_name: z.string().min(1).nullable(),
212
197
  sequence: z.array(AffiliateHistoricalSequenceStepSchema),
213
- enriched_leads: z.array(AffiliateOutreachLeadSchema),
214
198
  stats: z.record(z.string(), z.unknown()),
215
199
  settings: z.record(z.string(), z.unknown()),
216
200
  error_message: z.string().nullable(),
@@ -234,9 +218,7 @@ const AffiliateOutreachResponseSchema = z.object({
234
218
  status: z.literal("ok"),
235
219
  outreach: AffiliateOutreachRunSchema
236
220
  });
237
- const AffiliateOutreachSummarySchema = AffiliateOutreachRunBaseSchema.omit({
238
- enriched_leads: true
239
- });
221
+ const AffiliateOutreachSummarySchema = AffiliateOutreachRunBaseSchema;
240
222
  const AffiliateAudienceSummarySchema = z.object({
241
223
  public_token: z.string().min(1),
242
224
  status: z.enum(["launching", "running", "finished", "failed"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "salesprompter-cli",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "Sales workflow CLI for guided lead generation, enrichment, scoring, and sync.",
5
5
  "author": "Daniel Sinewe <hello@danielsinewe.com>",
6
6
  "type": "module",