Repository navigation
feat(dealport): add Dealport integration - #10467
rkmasiello wants to merge 2 commits into
Conversation
|
@rkmasiello is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
[Medium impact] The PR appears safe to merge, with the existing non-blocking concern about the monitoring switch’s wording still open. Findings
SummaryAdds Dealport with six tools for company previews, company and building searches, Record lookups, company matching, and owner lookups.
Reviews (2) · Last reviewed commit: "feat(dealport): add Dealport integration" · Reviewed by Greptile |
| }, | ||
| { | ||
| id: 'watch', | ||
| title: 'Watch Matched Companies Monthly', |
There was a problem hiding this comment.
Monitoring schedule is misleading
The watch switch says “Watch Matched Companies Monthly,” but it enables weekly monitoring billed at $0.05 per company per month. Users cannot see the actual schedule or recurring price when turning it on. Rename the label to weekly monitoring and add the monthly price as help text.
There was a problem hiding this comment.
Addressed in 482acde: renamed the watch switch title to Watch Matched Companies Weekly and added help text stating the weekly monitoring schedule and $0.05 per newly watched company per month rate.
…h Companies switch
Summary
dealport): 6 tools mapped against Dealport's OpenAPI v1 specification (https://app.dealport.com/openapi/v1.json), theDealportworkflow block (DealportBlock+DealportBlockMeta), saved API key credential support, and integration documentation (apps/docs/content/docs/integrations/dealport.mdx).https://app.dealport.com/api/v1):dealport_preview_companies(POST /api/v1/companies/preview,effect: 'read'): free ($0.00) US private company market sizing count and up to 5 sample companies across geography, NAICS, revenue, headcount, and regulatory filtersdealport_search_companies(GET /api/v1/companies,effect: 'read'): cursor-paginated search across 28M+ US private companies with primary public-filing basis metadatadealport_search_buildings(GET /api/v1/buildings,effect: 'read'): cursor-paginated search across NYC commercial and multifamily buildings by borough, unit count, ACRIS loan maturity, mortgage holder category, and distress signalsdealport_get_record(GET /api/v1/records/{id},effect: 'read'): open a cited company Record (UUID) or NYC building Record (10-digit BBL) with filed, observed, and estimated facts, principals, identifiers, and primary source citationsdealport_match_companies(POST /api/v1/companies/match,effect: 'write'): match 1 to 250 external company rows (itemsJSON array or rawcsv) at $0.00 via domain and fuzzy entity resolution, with optional Dealport Project attachment (project_id,project_name) and weekly Project monitoring (watch)dealport_find_owner(POST /api/v1/owners,effect: 'write'): resolve the verified human principal behind a private company, US LLC, or property address with direct phones, emails, and professional profiledealport-service-account, registered intokenCredentialIntegrationTypes):dp_live_keys viaAuthorization: Bearer <token>GET /api/v1/balance($0.00), accepting200forread-scoped keys and403codedinsufficient_key_scopefor valid keys restricted to another scope (such asowners), while rejecting401or generic403responsesDealportBlock:context.operationis presentitemsvscsv), batch bounds (1..250), owner target presence, andsafeUrlPathSegmenttraversal protection on Record IDsType of Change
Testing
vitest run):apps/sim/blocks/blocks/dealport.test.ts(shared-field clearing across workflow operations, numeric/boolean coercion, and agent tool-call argument retention)apps/sim/tools/dealport/request_contracts.test.ts(match_companiesmutual exclusion and1..250bounds,find_ownertarget validation,get_recordpath-segment traversal protection, and response normalization across all 6 endpoints)apps/sim/lib/credentials/token-service-accounts/validators/token-checks.test.ts(Dealport saved API key verification: 200readkey, 403insufficient_key_scopescoped key, 401/403 bad key rejection, and 502 outage handling)blocks.test.ts,metadata.test.ts,param-shape.test.ts,availability.server.test.ts,oauth.test.ts,token-resolution.test.ts,service-account-provider-ids.test.ts,display-name.test.ts(11 test files, 359/359 tests passing)check-canvas-sentences.ts --block=dealport --require-coverage(6/6 operations, 100%)check-block-registry.ts upstream/stagingcheck:integration-catalog,check:docs,check:deployment-config,check:tool-metadata,check:sdk-namescheck:tool-effects,check:tool-registry-boundary,check:tool-param-reachability,check:tool-request-boundarycheck:bare-icons,check:icon-paths,check:icon-path-precision,check:mapper-operation,check:utils,check:explicit-any,check:comment-hygiene,check:test-patternsChecklist