kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/687/head
rodzic
0a3b44a67a
commit
78faace16c
|
@ -360,6 +360,124 @@ export namespace zoominfo {
|
||||||
id: number
|
id: number
|
||||||
name: string
|
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()
|
await this.authenticate()
|
||||||
|
|
||||||
const {
|
const {
|
||||||
outputFields = [
|
outputFields = zoominfo.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'
|
|
||||||
],
|
|
||||||
...matchPersonInput
|
...matchPersonInput
|
||||||
} = opts
|
} = opts
|
||||||
|
|
||||||
|
@ -683,59 +739,7 @@ fullName AND companyId/companyName. Combining these values effectively results i
|
||||||
await this.authenticate()
|
await this.authenticate()
|
||||||
|
|
||||||
const {
|
const {
|
||||||
outputFields = [
|
outputFields = zoominfo.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'
|
|
||||||
],
|
|
||||||
...matchCompanyInput
|
...matchCompanyInput
|
||||||
} = opts
|
} = opts
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue