File tree Expand file tree Collapse file tree
docs/content/docs/en/integrations Expand file tree Collapse file tree Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11import { PeopleDataLabsIcon } from '@/components/icons'
22import type { BlockConfig , BlockMeta } from '@/blocks/types'
33import { AuthMode , IntegrationType } from '@/blocks/types'
4- import type { PdlPersonEnrichResponse } from '@/tools/peopledatalabs /types'
4+ import type { PdlPersonEnrichResponse } from '@/tools/pdl /types'
55
66export const PeopleDataLabsBlock : BlockConfig < PdlPersonEnrichResponse > = {
77 type : 'peopledatalabs' ,
Original file line number Diff line number Diff line change 1- import type { PdlAutocompleteParams , PdlAutocompleteResponse } from '@/tools/peopledatalabs /types'
2- import { PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/peopledatalabs /types'
3- import { buildQueryString } from '@/tools/peopledatalabs /utils'
1+ import type { PdlAutocompleteParams , PdlAutocompleteResponse } from '@/tools/pdl /types'
2+ import { PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/pdl /types'
3+ import { buildQueryString } from '@/tools/pdl /utils'
44import type { OutputProperty , ToolConfig } from '@/tools/types'
55
66const SUGGESTION_PROPERTIES = {
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import type {
22 PdlBulkCompanyEnrichParams ,
33 PdlBulkCompanyEnrichResponse ,
44 PdlBulkCompanyResultItem ,
5- } from '@/tools/peopledatalabs /types'
6- import { PDL_CREDIT_USD , PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/peopledatalabs /types'
7- import { countBulkMatched , projectCompany } from '@/tools/peopledatalabs /utils'
5+ } from '@/tools/pdl /types'
6+ import { PDL_CREDIT_USD , PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/pdl /types'
7+ import { countBulkMatched , projectCompany } from '@/tools/pdl /utils'
88import type { OutputProperty , ToolConfig } from '@/tools/types'
99
1010const BULK_COMPANY_RESULT_PROPERTIES = {
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import type {
22 PdlBulkPersonEnrichParams ,
33 PdlBulkPersonEnrichResponse ,
44 PdlBulkPersonResultItem ,
5- } from '@/tools/peopledatalabs /types'
6- import { PDL_CREDIT_USD , PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/peopledatalabs /types'
7- import { countBulkMatched , projectPerson } from '@/tools/peopledatalabs /utils'
5+ } from '@/tools/pdl /types'
6+ import { PDL_CREDIT_USD , PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/pdl /types'
7+ import { countBulkMatched , projectPerson } from '@/tools/pdl /utils'
88import type { OutputProperty , ToolConfig } from '@/tools/types'
99
1010const BULK_PERSON_RESULT_PROPERTIES = {
Original file line number Diff line number Diff line change 1- import type { PdlCleanCompanyParams , PdlCleanCompanyResponse } from '@/tools/peopledatalabs/types'
2- import {
3- PDL_COMPANY_OUTPUT_PROPERTIES ,
4- PEOPLEDATALABS_API_KEY_PREFIX ,
5- } from '@/tools/peopledatalabs/types'
6- import { projectCompany } from '@/tools/peopledatalabs/utils'
1+ import type { PdlCleanCompanyParams , PdlCleanCompanyResponse } from '@/tools/pdl/types'
2+ import { PDL_COMPANY_OUTPUT_PROPERTIES , PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/pdl/types'
3+ import { projectCompany } from '@/tools/pdl/utils'
74import type { ToolConfig } from '@/tools/types'
85
96export const cleanCompanyTool : ToolConfig < PdlCleanCompanyParams , PdlCleanCompanyResponse > = {
Original file line number Diff line number Diff line change 1- import type { PdlCompanyEnrichParams , PdlCompanyEnrichResponse } from '@/tools/peopledatalabs /types'
1+ import type { PdlCompanyEnrichParams , PdlCompanyEnrichResponse } from '@/tools/pdl /types'
22import {
33 PDL_COMPANY_OUTPUT_PROPERTIES ,
44 PDL_CREDIT_USD ,
55 PEOPLEDATALABS_API_KEY_PREFIX ,
6- } from '@/tools/peopledatalabs /types'
7- import { buildQueryString , projectCompany } from '@/tools/peopledatalabs /utils'
6+ } from '@/tools/pdl /types'
7+ import { buildQueryString , projectCompany } from '@/tools/pdl /utils'
88import type { ToolConfig } from '@/tools/types'
99
1010export const companyEnrichTool : ToolConfig < PdlCompanyEnrichParams , PdlCompanyEnrichResponse > = {
Original file line number Diff line number Diff line change 1- import type { PdlCompanySearchParams , PdlCompanySearchResponse } from '@/tools/peopledatalabs /types'
1+ import type { PdlCompanySearchParams , PdlCompanySearchResponse } from '@/tools/pdl /types'
22import {
33 PDL_COMPANY_OUTPUT_PROPERTIES ,
44 PDL_CREDIT_USD ,
55 PEOPLEDATALABS_API_KEY_PREFIX ,
6- } from '@/tools/peopledatalabs /types'
7- import { projectCompany } from '@/tools/peopledatalabs /utils'
6+ } from '@/tools/pdl /types'
7+ import { projectCompany } from '@/tools/pdl /utils'
88import type { ToolConfig } from '@/tools/types'
99
1010export const companySearchTool : ToolConfig < PdlCompanySearchParams , PdlCompanySearchResponse > = {
Original file line number Diff line number Diff line change 1+ import { autocompleteTool } from '@/tools/pdl/autocomplete'
2+ import { bulkCompanyEnrichTool } from '@/tools/pdl/bulk_company_enrich'
3+ import { bulkPersonEnrichTool } from '@/tools/pdl/bulk_person_enrich'
4+ import { cleanCompanyTool } from '@/tools/pdl/company_clean'
5+ import { companyEnrichTool } from '@/tools/pdl/company_enrich'
6+ import { companySearchTool } from '@/tools/pdl/company_search'
7+ import { cleanLocationTool } from '@/tools/pdl/location_clean'
8+ import { personEnrichTool } from '@/tools/pdl/person_enrich'
9+ import { personIdentifyTool } from '@/tools/pdl/person_identify'
10+ import { personSearchTool } from '@/tools/pdl/person_search'
11+ import { cleanSchoolTool } from '@/tools/pdl/school_clean'
12+
13+ export const pdlAutocompleteTool = autocompleteTool
14+ export const pdlBulkCompanyEnrichTool = bulkCompanyEnrichTool
15+ export const pdlBulkPersonEnrichTool = bulkPersonEnrichTool
16+ export const pdlCleanCompanyTool = cleanCompanyTool
17+ export const pdlCleanLocationTool = cleanLocationTool
18+ export const pdlCleanSchoolTool = cleanSchoolTool
19+ export const pdlCompanyEnrichTool = companyEnrichTool
20+ export const pdlCompanySearchTool = companySearchTool
21+ export const pdlPersonEnrichTool = personEnrichTool
22+ export const pdlPersonIdentifyTool = personIdentifyTool
23+ export const pdlPersonSearchTool = personSearchTool
Original file line number Diff line number Diff line change 1- import type { PdlCleanLocationParams , PdlCleanLocationResponse } from '@/tools/peopledatalabs/types'
2- import {
3- PDL_LOCATION_OUTPUT_PROPERTIES ,
4- PEOPLEDATALABS_API_KEY_PREFIX ,
5- } from '@/tools/peopledatalabs/types'
6- import { projectLocation } from '@/tools/peopledatalabs/utils'
1+ import type { PdlCleanLocationParams , PdlCleanLocationResponse } from '@/tools/pdl/types'
2+ import { PDL_LOCATION_OUTPUT_PROPERTIES , PEOPLEDATALABS_API_KEY_PREFIX } from '@/tools/pdl/types'
3+ import { projectLocation } from '@/tools/pdl/utils'
74import type { ToolConfig } from '@/tools/types'
85
96export const cleanLocationTool : ToolConfig < PdlCleanLocationParams , PdlCleanLocationResponse > = {
You can’t perform that action at this time.
0 commit comments