@graph8/sdk 0.293.0 → 0.294.0
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/README.md +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +4 -6
- package/dist/react.d.ts +4 -6
- package/dist/react.js +3 -3
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -3
- package/dist/react.mjs.map +1 -1
- package/dist/types/enrich.d.ts +2 -2
- package/dist/types/react.d.ts +1 -3
- package/dist/types/version.d.ts +2 -2
- package/docs/agents.md +2 -2
- package/docs/api/contacts.d.ts +1 -1
- package/docs/api/contacts.md +1 -1
- package/docs/sdk-clients.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -311,8 +311,8 @@ Two things to know before reaching for it:
|
|
|
311
311
|
|
|
312
312
|
| Method | Description |
|
|
313
313
|
|--------|-------------|
|
|
314
|
-
| `g8.enrich.person(params)` | Look up a person (2 credits, charged
|
|
315
|
-
| `g8.enrich.company(params)` | Look up a company (2 credits, charged
|
|
314
|
+
| `g8.enrich.person(params)` | Look up a person (2 credits, charged only when a match is found). REST: `POST /enrichment/lookup/person` (`POST /enrichment/person` is an alias) |
|
|
315
|
+
| `g8.enrich.company(params)` | Look up a company (2 credits, charged only when a match is found) |
|
|
316
316
|
| `g8.enrich.verifyEmail(email)` | Verify email (1 credit) |
|
|
317
317
|
| `g8.enrich.search(filters)` | Search 700M+ contacts (no credits) |
|
|
318
318
|
|
package/dist/index.d.mts
CHANGED
|
@@ -60586,7 +60586,7 @@ interface ApiOperationMap {
|
|
|
60586
60586
|
name?: string | null;
|
|
60587
60587
|
/** Filter by job title (partial match) */
|
|
60588
60588
|
job_title?: string | null;
|
|
60589
|
-
/** Filter by seniority level (exact match, case-insensitive). Spellings of the same level match each other: VP = Vice President; SVP/EVP = SVP = EVP = Senior/Executive Vice President; C-Suite = C-Level = CXO. Pass several levels comma-separated to match any of them, e.g. `VP
|
|
60589
|
+
/** Filter by seniority level (exact match, case-insensitive). Spellings of the same level match each other: VP = Vice President; SVP/EVP = SVP = EVP = Senior/Executive Vice President; C-Suite = C-Level = CXO. `VP` (or `Vice President`) means VP and above, so it also returns the SVP/EVP band; `SVP/EVP` alone returns only that band. Pass several levels comma-separated to match any of them, e.g. `Director,VP`. */
|
|
60590
60590
|
seniority_level?: string | null;
|
|
60591
60591
|
/** Filter by company name (partial match) */
|
|
60592
60592
|
company_name?: string | null;
|
|
@@ -93493,7 +93493,7 @@ interface SearchResults {
|
|
|
93493
93493
|
declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
93494
93494
|
/**
|
|
93495
93495
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
93496
|
-
* lookup, charged
|
|
93496
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
93497
93497
|
*/
|
|
93498
93498
|
person(params: {
|
|
93499
93499
|
email?: string;
|
|
@@ -93504,7 +93504,7 @@ declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
|
93504
93504
|
}): Promise<PersonEnrichment>;
|
|
93505
93505
|
/**
|
|
93506
93506
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
93507
|
-
*
|
|
93507
|
+
* only when a match is found (`found: false` costs nothing).
|
|
93508
93508
|
*/
|
|
93509
93509
|
company(params: {
|
|
93510
93510
|
domain?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -60586,7 +60586,7 @@ interface ApiOperationMap {
|
|
|
60586
60586
|
name?: string | null;
|
|
60587
60587
|
/** Filter by job title (partial match) */
|
|
60588
60588
|
job_title?: string | null;
|
|
60589
|
-
/** Filter by seniority level (exact match, case-insensitive). Spellings of the same level match each other: VP = Vice President; SVP/EVP = SVP = EVP = Senior/Executive Vice President; C-Suite = C-Level = CXO. Pass several levels comma-separated to match any of them, e.g. `VP
|
|
60589
|
+
/** Filter by seniority level (exact match, case-insensitive). Spellings of the same level match each other: VP = Vice President; SVP/EVP = SVP = EVP = Senior/Executive Vice President; C-Suite = C-Level = CXO. `VP` (or `Vice President`) means VP and above, so it also returns the SVP/EVP band; `SVP/EVP` alone returns only that band. Pass several levels comma-separated to match any of them, e.g. `Director,VP`. */
|
|
60590
60590
|
seniority_level?: string | null;
|
|
60591
60591
|
/** Filter by company name (partial match) */
|
|
60592
60592
|
company_name?: string | null;
|
|
@@ -93493,7 +93493,7 @@ interface SearchResults {
|
|
|
93493
93493
|
declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
93494
93494
|
/**
|
|
93495
93495
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
93496
|
-
* lookup, charged
|
|
93496
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
93497
93497
|
*/
|
|
93498
93498
|
person(params: {
|
|
93499
93499
|
email?: string;
|
|
@@ -93504,7 +93504,7 @@ declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
|
93504
93504
|
}): Promise<PersonEnrichment>;
|
|
93505
93505
|
/**
|
|
93506
93506
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
93507
|
-
*
|
|
93507
|
+
* only when a match is found (`found: false` costs nothing).
|
|
93508
93508
|
*/
|
|
93509
93509
|
company(params: {
|
|
93510
93510
|
domain?: string;
|
package/dist/index.js
CHANGED
|
@@ -991,7 +991,7 @@ var EXTERNAL_ROUTES = {
|
|
|
991
991
|
};
|
|
992
992
|
|
|
993
993
|
// src/version.ts
|
|
994
|
-
var SDK_VERSION = "0.
|
|
994
|
+
var SDK_VERSION = "0.294.0";
|
|
995
995
|
var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
|
|
996
996
|
|
|
997
997
|
// src/http.ts
|
|
@@ -1257,7 +1257,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1257
1257
|
return {
|
|
1258
1258
|
/**
|
|
1259
1259
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
1260
|
-
* lookup, charged
|
|
1260
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
1261
1261
|
*/
|
|
1262
1262
|
async person(params) {
|
|
1263
1263
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
|
|
@@ -1268,7 +1268,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1268
1268
|
},
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
1271
|
-
*
|
|
1271
|
+
* only when a match is found (`found: false` costs nothing).
|
|
1272
1272
|
*/
|
|
1273
1273
|
async company(params) {
|
|
1274
1274
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {
|