Repository navigation
feat: v2 validate parity (verify_plus, activity_data, batch timeout) - #38
Open
franciscbalint wants to merge 5 commits into
Open
franciscbalint wants to merge 5 commits into
franciscbalint wants to merge 5 commits into
Conversation
Expose optional verify_plus, activity_data, and batch timeout per v2 docs; extend validation result types with activity fields. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Add bulk email finder and domain search file jobs, list evaluator, allow/block filters, and S3 validate/score/export helpers aligned with bulkapi and v2 docs. Co-authored-by: Cursor <cursoragent@cursor.com>
Add form-encoded POST option on single validate (alongside GET) and GET listS3files on bulkapi root, with unit tests and API parity doc updates.
HTML, empty, and account-level failures now reject with a short message, required column 0 and an explicit false header row are sent, and the default test run checks every public method without the network. Co-authored-by: Cursor <cursoragent@cursor.com>
This branch has not been deployed
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.
Summary
activityData/verifyPlusonvalidateEmail(GET/v2/validate) andvalidateBatch(POST/v2/validatebatch).timeout(10–120s) onvalidateBatch.active_in_daysandactive_first_seenon validation result types.Priority 2 — real-time AI scoring
scoreEmail(email, options?)for GET/v2/scoring(default) and POST/v2/scoringwhenoptions.method === "POST"(form-urlencodedapi_key,email).EmailScoringResult,EmailScoringError,ScoreEmailOptions.Priority 3 — bulk finder, list evaluator, filters, S3
sendEmailFinderFile/sendEmailFinderFileStream,getEmailFinderFileStatus,getEmailFinderFile,deleteEmailFinderFile→bulkapi.zerobounce.net/email-finder/*sendDomainSearchFile/sendDomainSearchFileStream, status/get/delete →bulkapi…/domain-search/*sendListEvaluatorFile/sendListEvaluatorFileStream,getListEvaluatorResult,sendEvaluatedFile→bulkapi…/v2/listevaluator/(+/v2/send-evaluated-file/)addFilter,listFilters(GET ormethod: "POST"),deleteFilter→/v2/filters/*on main APIvalidateS3file,scoreS3file,exportS3fileonbulkapiroot (per Postman;remove_duplicates/ optional column fields documented in types)Gaps / notes
listS3filesnot added (out of P3 scope); validate/score field names follow Postman (remove_duplicates).Docs
Test plan
npm run test:unit(94 tests) — includes Priority 3 URL/body mockssdk-docscomposejavascriptimageDeferred
/v2/validatemethod parityMade with Cursor