conduyt 1.21.0 → 1.22.0
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.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69,7 +69,9 @@ contacts
|
|
|
69
69
|
.option("--limit <n>", "max results")
|
|
70
70
|
.option("--cursor <cursor>", "pagination cursor")
|
|
71
71
|
.option("--query <q>", "search query")
|
|
72
|
-
.
|
|
72
|
+
.option("--master-status <list>", "only these lead statuses, comma-separated (open, won, lost, abandoned, disqualified, or an account custom status)")
|
|
73
|
+
.option("--exclude-master-status <list>", "hide these lead statuses, comma-separated — e.g. won,lost,abandoned,disqualified is the Active view")
|
|
74
|
+
.action(run(async (client, opts) => client.get(`/api/v1/contacts${buildQuery({ limit: opts.limit, cursor: opts.cursor, query: opts.query, master_status: opts.masterStatus, exclude_master_status: opts.excludeMasterStatus })}`)));
|
|
73
75
|
contacts
|
|
74
76
|
.command("get <id>")
|
|
75
77
|
.description("Get a single contact by id")
|
package/package.json
CHANGED