pull/687/head
Travis Fischer 2025-02-23 02:04:10 +07:00
rodzic 0a3b44a67a
commit 78faace16c
1 zmienionych plików z 120 dodań i 116 usunięć

Wyświetl plik

@ -360,6 +360,124 @@ export namespace zoominfo {
id: number
name: string
}
export const defaultEnrichContactOutputFields = [
'id',
'firstName',
'middleName',
'lastName',
'email',
'hasCanadianEmail',
'phone',
'directPhoneDoNotCall',
'street',
'city',
'region',
'metroArea',
'zipCode',
'state',
'country',
'personHasMoved',
'withinEu',
'withinCalifornia',
'withinCanada',
'lastUpdatedDate',
'noticeProvidedDate',
'salutation',
'suffix',
'jobTitle',
'jobFunction',
'companyDivision',
'education',
'hashedEmails',
'picture',
'mobilePhoneDoNotCall',
'externalUrls',
'companyId',
'companyName',
'companyDescriptionList',
'companyPhone',
'companyFax',
'companyStreet',
'companyCity',
'companyState',
'companyZipCode',
'companyCountry',
'companyLogo',
'companySicCodes',
'companyNaicsCodes',
'contactAccuracyScore',
'companyWebsite',
'companyRevenue',
'companyRevenueNumeric',
'companyEmployeeCount',
'companyType',
'companyTicker',
'companyRanking',
'isDefunct',
'companySocialMediaUrls',
'companyPrimaryIndustry',
'companyIndustries',
'companyRevenueRange',
'companyEmployeeRange',
'employmentHistory',
'managementLevel',
'locationCompanyId'
] as const
export const defaultEnrichCompanyOutputFields = [
'id',
'name',
'website',
'domainList',
'logo',
'ticker',
'revenue',
'socialMediaUrls',
'employeeCount',
'numberOfContactsInZoomInfo',
'phone',
'fax',
'street',
'city',
'state',
'zipCode',
'country',
'continent',
'companyStatus',
'companyStatusDate',
'descriptionList',
'sicCodes',
'naicsCodes',
'competitors',
'ultimateParentId',
'ultimateParentName',
'ultimateParentRevenue',
'ultimateParentEmployees',
'subUnitCodes',
'subUnitType',
'subUnitIndustries',
'primaryIndustry',
'industries',
'parentId',
'parentName',
'locationCount',
'metroArea',
'lastUpdatedDate',
'createdDate',
'certificationDate',
'certified',
'hashtags',
'products',
'techAttributes',
'revenueRange',
'employeeRange',
'companyFunding',
'recentFundingAmount',
'recentFundingDate',
'totalFundingAmount',
'employeeGrowth'
] as const
}
/**
@ -577,69 +695,7 @@ fullName AND companyId/companyName. Combining these values effectively results i
await this.authenticate()
const {
outputFields = [
'id',
'firstName',
'middleName',
'lastName',
'email',
'hasCanadianEmail',
'phone',
'directPhoneDoNotCall',
'street',
'city',
'region',
'metroArea',
'zipCode',
'state',
'country',
'personHasMoved',
'withinEu',
'withinCalifornia',
'withinCanada',
'lastUpdatedDate',
'noticeProvidedDate',
'salutation',
'suffix',
'jobTitle',
'jobFunction',
'companyDivision',
'education',
'hashedEmails',
'picture',
'mobilePhoneDoNotCall',
'externalUrls',
'companyId',
'companyName',
'companyDescriptionList',
'companyPhone',
'companyFax',
'companyStreet',
'companyCity',
'companyState',
'companyZipCode',
'companyCountry',
'companyLogo',
'companySicCodes',
'companyNaicsCodes',
'contactAccuracyScore',
'companyWebsite',
'companyRevenue',
'companyRevenueNumeric',
'companyEmployeeCount',
'companyType',
'companyTicker',
'companyRanking',
'isDefunct',
'companySocialMediaUrls',
'companyPrimaryIndustry',
'companyIndustries',
'companyRevenueRange',
'companyEmployeeRange',
'employmentHistory',
'managementLevel',
'locationCompanyId'
],
outputFields = zoominfo.defaultEnrichContactOutputFields,
...matchPersonInput
} = opts
@ -683,59 +739,7 @@ fullName AND companyId/companyName. Combining these values effectively results i
await this.authenticate()
const {
outputFields = [
'id',
'name',
'website',
'domainList',
'logo',
'ticker',
'revenue',
'socialMediaUrls',
'employeeCount',
'numberOfContactsInZoomInfo',
'phone',
'fax',
'street',
'city',
'state',
'zipCode',
'country',
'continent',
'companyStatus',
'companyStatusDate',
'descriptionList',
'sicCodes',
'naicsCodes',
'competitors',
'ultimateParentId',
'ultimateParentName',
'ultimateParentRevenue',
'ultimateParentEmployees',
'subUnitCodes',
'subUnitType',
'subUnitIndustries',
'primaryIndustry',
'industries',
'parentId',
'parentName',
'locationCount',
'metroArea',
'lastUpdatedDate',
'createdDate',
'certificationDate',
'certified',
'hashtags',
'products',
'techAttributes',
'revenueRange',
'employeeRange',
'companyFunding',
'recentFundingAmount',
'recentFundingDate',
'totalFundingAmount',
'employeeGrowth'
],
outputFields = zoominfo.defaultEnrichCompanyOutputFields,
...matchCompanyInput
} = opts