@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/dist/react.d.mts CHANGED
@@ -57771,7 +57771,7 @@ interface ApiOperationMap {
57771
57771
  name?: string | null;
57772
57772
  /** Filter by job title (partial match) */
57773
57773
  job_title?: string | null;
57774
- /** 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,SVP/EVP`. */
57774
+ /** 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`. */
57775
57775
  seniority_level?: string | null;
57776
57776
  /** Filter by company name (partial match) */
57777
57777
  company_name?: string | null;
@@ -90630,7 +90630,7 @@ interface SearchResults {
90630
90630
  declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
90631
90631
  /**
90632
90632
  * Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
90633
- * lookup, charged even when no match is found (`found: false`).
90633
+ * lookup, charged only when a match is found (`found: false` costs nothing).
90634
90634
  */
90635
90635
  person(params: {
90636
90636
  email?: string;
@@ -90641,7 +90641,7 @@ declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
90641
90641
  }): Promise<PersonEnrichment>;
90642
90642
  /**
90643
90643
  * Look up a company by domain or name. Costs 2 credits per lookup, charged
90644
- * even when no match is found (`found: false`).
90644
+ * only when a match is found (`found: false` costs nothing).
90645
90645
  */
90646
90646
  company(params: {
90647
90647
  domain?: string;
@@ -90992,9 +90992,7 @@ declare const useG8: () => {
90992
90992
  company_domain?: string;
90993
90993
  }): Promise<PersonEnrichment>;
90994
90994
  company(params: {
90995
- domain
90996
- /** Progressive form helpers (read lazily, so useG8() never throws on its own) */
90997
- ? /** Progressive form helpers (read lazily, so useG8() never throws on its own) */: string;
90995
+ domain?: string;
90998
90996
  name?: string;
90999
90997
  }): Promise<CompanyEnrichment>;
91000
90998
  verifyEmail(email: string): Promise<EmailVerification>;
package/dist/react.d.ts CHANGED
@@ -57771,7 +57771,7 @@ interface ApiOperationMap {
57771
57771
  name?: string | null;
57772
57772
  /** Filter by job title (partial match) */
57773
57773
  job_title?: string | null;
57774
- /** 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,SVP/EVP`. */
57774
+ /** 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`. */
57775
57775
  seniority_level?: string | null;
57776
57776
  /** Filter by company name (partial match) */
57777
57777
  company_name?: string | null;
@@ -90630,7 +90630,7 @@ interface SearchResults {
90630
90630
  declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
90631
90631
  /**
90632
90632
  * Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
90633
- * lookup, charged even when no match is found (`found: false`).
90633
+ * lookup, charged only when a match is found (`found: false` costs nothing).
90634
90634
  */
90635
90635
  person(params: {
90636
90636
  email?: string;
@@ -90641,7 +90641,7 @@ declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
90641
90641
  }): Promise<PersonEnrichment>;
90642
90642
  /**
90643
90643
  * Look up a company by domain or name. Costs 2 credits per lookup, charged
90644
- * even when no match is found (`found: false`).
90644
+ * only when a match is found (`found: false` costs nothing).
90645
90645
  */
90646
90646
  company(params: {
90647
90647
  domain?: string;
@@ -90992,9 +90992,7 @@ declare const useG8: () => {
90992
90992
  company_domain?: string;
90993
90993
  }): Promise<PersonEnrichment>;
90994
90994
  company(params: {
90995
- domain
90996
- /** Progressive form helpers (read lazily, so useG8() never throws on its own) */
90997
- ? /** Progressive form helpers (read lazily, so useG8() never throws on its own) */: string;
90995
+ domain?: string;
90998
90996
  name?: string;
90999
90997
  }): Promise<CompanyEnrichment>;
91000
90998
  verifyEmail(email: string): Promise<EmailVerification>;
package/dist/react.js CHANGED
@@ -981,7 +981,7 @@ var EXTERNAL_ROUTES = {
981
981
  };
982
982
 
983
983
  // src/version.ts
984
- var SDK_VERSION = "0.293.0";
984
+ var SDK_VERSION = "0.294.0";
985
985
  var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
986
986
 
987
987
  // src/http.ts
@@ -1247,7 +1247,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
1247
1247
  return {
1248
1248
  /**
1249
1249
  * Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
1250
- * lookup, charged even when no match is found (`found: false`).
1250
+ * lookup, charged only when a match is found (`found: false` costs nothing).
1251
1251
  */
1252
1252
  async person(params) {
1253
1253
  const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
@@ -1258,7 +1258,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
1258
1258
  },
1259
1259
  /**
1260
1260
  * Look up a company by domain or name. Costs 2 credits per lookup, charged
1261
- * even when no match is found (`found: false`).
1261
+ * only when a match is found (`found: false` costs nothing).
1262
1262
  */
1263
1263
  async company(params) {
1264
1264
  const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {