@graph8/sdk 0.293.0 → 0.294.1
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 -6
- package/dist/index.d.ts +3 -6
- 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 -9
- package/dist/react.d.ts +4 -9
- 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/appointments.md +3 -3
- package/docs/api/contacts.d.ts +1 -1
- package/docs/api/contacts.md +1 -1
- package/docs/api/quotes.d.ts +0 -3
- package/docs/api/quotes.md +3 -3
- package/docs/sdk-clients.md +2 -2
- package/package.json +1 -1
package/dist/react.d.mts
CHANGED
|
@@ -43484,7 +43484,6 @@ interface ApiOperationMap {
|
|
|
43484
43484
|
get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
|
|
43485
43485
|
input: {
|
|
43486
43486
|
path: {
|
|
43487
|
-
/** graph8 company id. */
|
|
43488
43487
|
company_id: number;
|
|
43489
43488
|
};
|
|
43490
43489
|
headers?: {
|
|
@@ -43552,7 +43551,6 @@ interface ApiOperationMap {
|
|
|
43552
43551
|
get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
|
|
43553
43552
|
input: {
|
|
43554
43553
|
path: {
|
|
43555
|
-
/** graph8 company id. */
|
|
43556
43554
|
company_id: number;
|
|
43557
43555
|
};
|
|
43558
43556
|
query?: {
|
|
@@ -43574,7 +43572,6 @@ interface ApiOperationMap {
|
|
|
43574
43572
|
get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
|
|
43575
43573
|
input: {
|
|
43576
43574
|
path: {
|
|
43577
|
-
/** graph8 company id. */
|
|
43578
43575
|
company_id: number;
|
|
43579
43576
|
};
|
|
43580
43577
|
headers?: {
|
|
@@ -57771,7 +57768,7 @@ interface ApiOperationMap {
|
|
|
57771
57768
|
name?: string | null;
|
|
57772
57769
|
/** Filter by job title (partial match) */
|
|
57773
57770
|
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
|
|
57771
|
+
/** 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
57772
|
seniority_level?: string | null;
|
|
57776
57773
|
/** Filter by company name (partial match) */
|
|
57777
57774
|
company_name?: string | null;
|
|
@@ -90630,7 +90627,7 @@ interface SearchResults {
|
|
|
90630
90627
|
declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
90631
90628
|
/**
|
|
90632
90629
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
90633
|
-
* lookup, charged
|
|
90630
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
90634
90631
|
*/
|
|
90635
90632
|
person(params: {
|
|
90636
90633
|
email?: string;
|
|
@@ -90641,7 +90638,7 @@ declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
|
90641
90638
|
}): Promise<PersonEnrichment>;
|
|
90642
90639
|
/**
|
|
90643
90640
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
90644
|
-
*
|
|
90641
|
+
* only when a match is found (`found: false` costs nothing).
|
|
90645
90642
|
*/
|
|
90646
90643
|
company(params: {
|
|
90647
90644
|
domain?: string;
|
|
@@ -90992,9 +90989,7 @@ declare const useG8: () => {
|
|
|
90992
90989
|
company_domain?: string;
|
|
90993
90990
|
}): Promise<PersonEnrichment>;
|
|
90994
90991
|
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;
|
|
90992
|
+
domain?: string;
|
|
90998
90993
|
name?: string;
|
|
90999
90994
|
}): Promise<CompanyEnrichment>;
|
|
91000
90995
|
verifyEmail(email: string): Promise<EmailVerification>;
|
package/dist/react.d.ts
CHANGED
|
@@ -43484,7 +43484,6 @@ interface ApiOperationMap {
|
|
|
43484
43484
|
get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
|
|
43485
43485
|
input: {
|
|
43486
43486
|
path: {
|
|
43487
|
-
/** graph8 company id. */
|
|
43488
43487
|
company_id: number;
|
|
43489
43488
|
};
|
|
43490
43489
|
headers?: {
|
|
@@ -43552,7 +43551,6 @@ interface ApiOperationMap {
|
|
|
43552
43551
|
get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
|
|
43553
43552
|
input: {
|
|
43554
43553
|
path: {
|
|
43555
|
-
/** graph8 company id. */
|
|
43556
43554
|
company_id: number;
|
|
43557
43555
|
};
|
|
43558
43556
|
query?: {
|
|
@@ -43574,7 +43572,6 @@ interface ApiOperationMap {
|
|
|
43574
43572
|
get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
|
|
43575
43573
|
input: {
|
|
43576
43574
|
path: {
|
|
43577
|
-
/** graph8 company id. */
|
|
43578
43575
|
company_id: number;
|
|
43579
43576
|
};
|
|
43580
43577
|
headers?: {
|
|
@@ -57771,7 +57768,7 @@ interface ApiOperationMap {
|
|
|
57771
57768
|
name?: string | null;
|
|
57772
57769
|
/** Filter by job title (partial match) */
|
|
57773
57770
|
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
|
|
57771
|
+
/** 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
57772
|
seniority_level?: string | null;
|
|
57776
57773
|
/** Filter by company name (partial match) */
|
|
57777
57774
|
company_name?: string | null;
|
|
@@ -90630,7 +90627,7 @@ interface SearchResults {
|
|
|
90630
90627
|
declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
90631
90628
|
/**
|
|
90632
90629
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
90633
|
-
* lookup, charged
|
|
90630
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
90634
90631
|
*/
|
|
90635
90632
|
person(params: {
|
|
90636
90633
|
email?: string;
|
|
@@ -90641,7 +90638,7 @@ declare const createEnrichClient: (apiKey: string, apiUrl?: string) => {
|
|
|
90641
90638
|
}): Promise<PersonEnrichment>;
|
|
90642
90639
|
/**
|
|
90643
90640
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
90644
|
-
*
|
|
90641
|
+
* only when a match is found (`found: false` costs nothing).
|
|
90645
90642
|
*/
|
|
90646
90643
|
company(params: {
|
|
90647
90644
|
domain?: string;
|
|
@@ -90992,9 +90989,7 @@ declare const useG8: () => {
|
|
|
90992
90989
|
company_domain?: string;
|
|
90993
90990
|
}): Promise<PersonEnrichment>;
|
|
90994
90991
|
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;
|
|
90992
|
+
domain?: string;
|
|
90998
90993
|
name?: string;
|
|
90999
90994
|
}): Promise<CompanyEnrichment>;
|
|
91000
90995
|
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.
|
|
984
|
+
var SDK_VERSION = "0.294.1";
|
|
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
|
|
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
|
-
*
|
|
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, {
|