@dench.com/cli 3.5.6-staging.344 → 3.5.8-staging.350
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/enrichment-gateway.ts +11 -1
- package/package.json +1 -1
|
@@ -159,6 +159,7 @@ export type SearchSignalsBody = {
|
|
|
159
159
|
headcountRanges?: string[];
|
|
160
160
|
excludeDomains?: string[];
|
|
161
161
|
excludeCompanies?: string[];
|
|
162
|
+
includeCompanies?: string[];
|
|
162
163
|
postedAfter: string;
|
|
163
164
|
limit?: number;
|
|
164
165
|
terms?: string[];
|
|
@@ -196,7 +197,11 @@ export type SearchSignalsResponse = {
|
|
|
196
197
|
signals: SignalRow[];
|
|
197
198
|
creditsCharged: number;
|
|
198
199
|
volume?: { term: string; count: number; saturated?: true }[];
|
|
199
|
-
metadata?: {
|
|
200
|
+
metadata?: {
|
|
201
|
+
warnings?: string[];
|
|
202
|
+
checked?: number;
|
|
203
|
+
misses?: { title: number; location: number; company: number };
|
|
204
|
+
};
|
|
200
205
|
};
|
|
201
206
|
|
|
202
207
|
/**
|
|
@@ -1616,6 +1621,8 @@ export async function searchSignals(
|
|
|
1616
1621
|
if (body.excludeDomains?.length) payload.excludeDomains = body.excludeDomains;
|
|
1617
1622
|
if (body.excludeCompanies?.length)
|
|
1618
1623
|
payload.excludeCompanies = body.excludeCompanies;
|
|
1624
|
+
if (body.includeCompanies?.length)
|
|
1625
|
+
payload.includeCompanies = body.includeCompanies;
|
|
1619
1626
|
if (body.limit !== undefined) payload.limit = body.limit;
|
|
1620
1627
|
if (body.terms?.length) payload.terms = body.terms;
|
|
1621
1628
|
if (body.recency) payload.recency = body.recency;
|
|
@@ -1653,6 +1660,7 @@ export type SignalBuyerBody = {
|
|
|
1653
1660
|
companyDomain: string;
|
|
1654
1661
|
titles?: string[];
|
|
1655
1662
|
withEmail?: boolean;
|
|
1663
|
+
limit?: number;
|
|
1656
1664
|
};
|
|
1657
1665
|
|
|
1658
1666
|
export type SignalBuyer = {
|
|
@@ -1665,6 +1673,7 @@ export type SignalBuyer = {
|
|
|
1665
1673
|
|
|
1666
1674
|
export type SignalBuyerResponse = {
|
|
1667
1675
|
buyer: SignalBuyer | null;
|
|
1676
|
+
buyers?: SignalBuyer[];
|
|
1668
1677
|
reveal?: "found" | "not_found" | "failed";
|
|
1669
1678
|
};
|
|
1670
1679
|
|
|
@@ -1687,6 +1696,7 @@ export async function findSignalBuyer(
|
|
|
1687
1696
|
};
|
|
1688
1697
|
if (body.titles?.length) payload.titles = body.titles;
|
|
1689
1698
|
if (body.withEmail !== undefined) payload.withEmail = body.withEmail;
|
|
1699
|
+
if (body.limit !== undefined) payload.limit = body.limit;
|
|
1690
1700
|
return (await callGatewayJson("/v1/enrichment/signals/buyer", {
|
|
1691
1701
|
method: "POST",
|
|
1692
1702
|
body: payload,
|