@erdoai/cli 0.138.0 → 0.138.1

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/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1327,8 +1327,9 @@ var ErdoClient = class {
1327
1327
  input
1328
1328
  );
1329
1329
  }
1330
- // Cannot be undone. Removes the lead from every Erdo store so the same phone
1331
- // and email can arrive as a new lead. Staff-only, for demos and tests. A
1330
+ // Cannot be undone. Removes the lead from Erdo so the same phone and email
1331
+ // can arrive as a new lead (details captured from conversations stay in the
1332
+ // pipeline's run history). Staff-only, for demos and tests. A
1332
1333
  // retry of a delete that stopped part-way resumes it, and a lead already
1333
1334
  // deleted answers "already_deleted".
1334
1335
  deleteLead(datasetSlug, lead) {
@@ -7838,7 +7839,7 @@ leadsCmd.command("merge <dataset> <survivor>").description(
7838
7839
  }
7839
7840
  );
7840
7841
  leadsCmd.command("delete <dataset> <lead>").description(
7841
- "Delete a lead from every Erdo store: its row and identity, its text and WhatsApp conversations, its calls and website chats, its emails, and the follow-up engine's decisions about it. The same phone and email submitted again then make a new lead with nothing behind it. This cannot be undone. A staff tool for demos and tests: copies held by providers (message bodies, call audio, sent mail) and in logs stay, and so do opt-outs. A phone or email another lead in the organization also holds is not released until that lead is deleted too. Read the lead with `leads get` before running it."
7842
+ "Delete a lead from Erdo: its row and identity, its text and WhatsApp conversations, its calls and website chats, its emails, and the follow-up engine's decisions about it. The same phone and email submitted again then make a new lead with nothing behind it. This cannot be undone. A staff tool for demos and tests: copies held by providers (message bodies, call audio, sent mail) and in logs stay, and so do opt-outs and the contact details a call, text or chat gave Erdo, in the Conversation leads pipeline's run history. A phone or email another lead in the organization also holds is not released until that lead is deleted too. Read the lead with `leads get` before running it."
7842
7843
  ).option("-y, --yes", "skip the confirmation prompt").option("--json", "print the raw JSON result instead of a summary").action(async (dataset, lead, opts) => {
7843
7844
  try {
7844
7845
  if (!opts.yes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.138.0",
3
+ "version": "0.138.1",
4
4
  "description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {