Repository navigation
fix: align the CLI with public API v9.35.1 - #7
Merged
Merged
Conversation
- enrich person --phone asks for enrichment_type full (email + phone, 11 credits), not the legacy include_phone flag the API reads as phone only. The estimate also sends include_phone, which the route binds into a full quote. - enrich person/company send the approved quote_id (spend()). - lists rows pages pending_imports too, on whichever cursor is left. - lists export: include_smart_agents defaults to true; add --no-smart-agents. - lists remove: batches of 100 (the route's max). - jobs search --limit up to 10000; terminated is a finished workflow status. - Table views and help text match the fields the routes return. - CSV import chunks up to 10,000 rows / 5 MB (the cap is now 10 MB / 20k).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Audited every operation the CLI calls against the live public spec (v9.35.1) and the backend. Every path and request field exists. What was out of date were limits, defaults, the response fields the CLI reads, and help text. See CHANGELOG 0.3.1 for the user-facing list.
Checked against prod with the built CLI:
enrich person --phone --dry-runquotes 11 credits, and 1 without--phone. A real--phonecall redeemed its quote and started the workflow, with noquote_mismatch.lists importof 2 rows,lists rows(table and--all --format csv) shows both rows as pending. Before this change it showed 0.lists export --no-smart-agentsand--smart-agentsboth work.jobs search --limit 600 --dry-runquotes; before, the CLI refused it.check-spec: 55 paths used, 0 missing.