@graph8/sdk 0.265.0 → 0.277.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 +3 -3
- package/dist/index.d.mts +137 -21
- package/dist/index.d.ts +137 -21
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -5
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +136 -19
- package/dist/react.d.ts +136 -19
- package/dist/react.js +12 -4
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +12 -4
- package/dist/react.mjs.map +1 -1
- package/dist/types/core.d.ts +2 -0
- package/dist/types/enrich.d.ts +11 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/react.d.ts +6 -2
- package/dist/types/search.d.ts +25 -1
- package/dist/types/version.d.ts +2 -2
- package/docs/agents.md +7 -6
- package/docs/api/README.md +2 -2
- package/docs/api/accounts.d.ts +6 -0
- package/docs/api/adCampaigns.d.ts +6 -0
- package/docs/api/adCreatives.d.ts +6 -0
- package/docs/api/agency.d.ts +6 -0
- package/docs/api/agent.d.ts +6 -0
- package/docs/api/agents.d.ts +6 -0
- package/docs/api/aiInbox.d.ts +6 -0
- package/docs/api/analytics.d.ts +6 -0
- package/docs/api/apiKeys.d.ts +6 -0
- package/docs/api/appDeployments.d.ts +6 -0
- package/docs/api/appDomains.d.ts +6 -0
- package/docs/api/appLogs.d.ts +6 -0
- package/docs/api/appObjects.d.ts +6 -0
- package/docs/api/appPages.d.ts +6 -0
- package/docs/api/appPlatformTokens.d.ts +6 -0
- package/docs/api/appointments.d.ts +20 -2
- package/docs/api/appointments.md +27 -11
- package/docs/api/apps.d.ts +6 -0
- package/docs/api/apps.md +7 -5
- package/docs/api/assertUpsert.d.ts +12 -0
- package/docs/api/assertUpsert.md +4 -0
- package/docs/api/audienceSyncs.d.ts +6 -0
- package/docs/api/brandKit.d.ts +6 -0
- package/docs/api/bugReports.d.ts +6 -0
- package/docs/api/by-path.md +1 -0
- package/docs/api/calendarInvites.d.ts +6 -0
- package/docs/api/campaignWorkflows.d.ts +6 -0
- package/docs/api/campaigns.d.ts +6 -0
- package/docs/api/channels.d.ts +6 -0
- package/docs/api/cliCampaigns.d.ts +6 -0
- package/docs/api/cliPipelines.d.ts +6 -0
- package/docs/api/clickHouse.d.ts +6 -0
- package/docs/api/companies.d.ts +10 -2
- package/docs/api/companies.md +9 -2
- package/docs/api/companyIntelligence.d.ts +6 -0
- package/docs/api/contacts.d.ts +19 -4
- package/docs/api/contacts.md +13 -5
- package/docs/api/content.d.ts +6 -0
- package/docs/api/contentGridSkills.d.ts +6 -0
- package/docs/api/copilot.d.ts +6 -0
- package/docs/api/crmSyncs.d.ts +6 -0
- package/docs/api/customerSuccess.d.ts +6 -0
- package/docs/api/deals.d.ts +6 -0
- package/docs/api/deliverability.d.ts +6 -0
- package/docs/api/desk.d.ts +6 -0
- package/docs/api/dialer.d.ts +6 -0
- package/docs/api/documents.d.ts +6 -0
- package/docs/api/duplicates.d.ts +6 -0
- package/docs/api/eSignature.d.ts +6 -0
- package/docs/api/enrichment.d.ts +6 -0
- package/docs/api/events.d.ts +6 -0
- package/docs/api/fields.d.ts +6 -0
- package/docs/api/forms.d.ts +6 -0
- package/docs/api/gtmCampaigns.d.ts +6 -0
- package/docs/api/gtmContext.d.ts +6 -0
- package/docs/api/gtmDeliverability.d.ts +6 -0
- package/docs/api/gtmKnowledgeBase.d.ts +6 -0
- package/docs/api/gtmLibrary.d.ts +6 -0
- package/docs/api/imageLibrary.d.ts +6 -0
- package/docs/api/imports.d.ts +6 -0
- package/docs/api/inbox.d.ts +6 -0
- package/docs/api/install.d.ts +6 -0
- package/docs/api/installedApps.d.ts +6 -0
- package/docs/api/integrationStatus.d.ts +6 -0
- package/docs/api/integrations.d.ts +6 -0
- package/docs/api/intent.d.ts +6 -0
- package/docs/api/knowledge.d.ts +6 -0
- package/docs/api/knowledgeBase.d.ts +6 -0
- package/docs/api/landingPages.d.ts +6 -0
- package/docs/api/leads.d.ts +6 -0
- package/docs/api/library.d.ts +6 -0
- package/docs/api/linkedIn.d.ts +6 -0
- package/docs/api/linkedInOutreach.d.ts +6 -0
- package/docs/api/lists.d.ts +13 -0
- package/docs/api/lists.md +7 -0
- package/docs/api/logs.d.ts +6 -0
- package/docs/api/mailboxes.d.ts +6 -0
- package/docs/api/marketplace.d.ts +6 -0
- package/docs/api/mcp.d.ts +6 -0
- package/docs/api/me.d.ts +6 -0
- package/docs/api/meetings.d.ts +6 -0
- package/docs/api/newsletter.d.ts +6 -0
- package/docs/api/notes.d.ts +6 -0
- package/docs/api/notifications.d.ts +6 -0
- package/docs/api/objects.d.ts +6 -0
- package/docs/api/openSearch.d.ts +6 -0
- package/docs/api/ops.d.ts +6 -0
- package/docs/api/orgGovernance.d.ts +6 -0
- package/docs/api/orgVideos.d.ts +6 -0
- package/docs/api/organizationSettings.d.ts +6 -0
- package/docs/api/phoneNumbers.d.ts +6 -0
- package/docs/api/profile.d.ts +6 -0
- package/docs/api/programmaticPages.d.ts +6 -0
- package/docs/api/providerDomains.d.ts +6 -0
- package/docs/api/providerUsage.d.ts +6 -0
- package/docs/api/public.d.ts +6 -0
- package/docs/api/publicCopilot.d.ts +6 -0
- package/docs/api/publicSignals.d.ts +6 -0
- package/docs/api/publicVisitors.d.ts +6 -0
- package/docs/api/quotes.d.ts +6 -0
- package/docs/api/radarReports.d.ts +6 -0
- package/docs/api/recordRoles.d.ts +6 -0
- package/docs/api/repos.d.ts +6 -0
- package/docs/api/research.d.ts +6 -0
- package/docs/api/revenue.d.ts +6 -0
- package/docs/api/revenueAnalytics.d.ts +6 -0
- package/docs/api/revenueLifecycle.d.ts +11 -1
- package/docs/api/revenueLifecycle.md +11 -2
- package/docs/api/revenueRecords.d.ts +6 -0
- package/docs/api/roles.d.ts +49 -2
- package/docs/api/roles.md +65 -1
- package/docs/api/salesCoach.d.ts +6 -0
- package/docs/api/scans.d.ts +6 -0
- package/docs/api/scheduleBuy.d.ts +6 -0
- package/docs/api/scraping.d.ts +6 -0
- package/docs/api/search.d.ts +9 -1
- package/docs/api/search.md +3 -2
- package/docs/api/seo.d.ts +6 -0
- package/docs/api/sequenceLifecycle.d.ts +6 -0
- package/docs/api/sequences.d.ts +6 -0
- package/docs/api/settings.d.ts +6 -0
- package/docs/api/signals.d.ts +6 -0
- package/docs/api/signatures.d.ts +6 -0
- package/docs/api/snippet.d.ts +6 -0
- package/docs/api/socialPublishing.d.ts +6 -0
- package/docs/api/studioDocuments.d.ts +6 -0
- package/docs/api/support.d.ts +6 -0
- package/docs/api/suppressions.d.ts +6 -0
- package/docs/api/surveys.d.ts +6 -0
- package/docs/api/tasks.d.ts +6 -0
- package/docs/api/teamMembers.d.ts +6 -0
- package/docs/api/teams.d.ts +6 -0
- package/docs/api/usage.d.ts +6 -0
- package/docs/api/visitors.d.ts +6 -0
- package/docs/api/voice.d.ts +6 -0
- package/docs/api/webChat.d.ts +6 -0
- package/docs/api/webhooks.d.ts +6 -0
- package/docs/api/websiteEditor.d.ts +6 -0
- package/docs/api/work.d.ts +6 -0
- package/docs/api/workbench.d.ts +6 -0
- package/docs/api/workflows.d.ts +6 -0
- package/docs/sdk-clients.md +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -908,6 +908,7 @@ var EXTERNAL_ROUTES = {
|
|
|
908
908
|
"/quotes/{quote_id}/unarchive",
|
|
909
909
|
"/radar/alerts/dispatch",
|
|
910
910
|
"/repos/{repo_id}/campaigns/{campaign_id}/launch",
|
|
911
|
+
"/roles/invite",
|
|
911
912
|
"/sales-coach/interviews/{interview_id}/members",
|
|
912
913
|
"/sales-coach/interviews/{interview_id}/members/{member_id}/send-invite",
|
|
913
914
|
"/sequencer/content/voice/test-call",
|
|
@@ -990,7 +991,7 @@ var EXTERNAL_ROUTES = {
|
|
|
990
991
|
};
|
|
991
992
|
|
|
992
993
|
// src/version.ts
|
|
993
|
-
var SDK_VERSION = "0.
|
|
994
|
+
var SDK_VERSION = "0.277.0";
|
|
994
995
|
var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
|
|
995
996
|
|
|
996
997
|
// src/http.ts
|
|
@@ -1254,7 +1255,10 @@ var DEFAULT_API6 = "https://be.graph8.com";
|
|
|
1254
1255
|
var createEnrichClient = (apiKey, apiUrl) => {
|
|
1255
1256
|
const baseUrl = apiUrl || DEFAULT_API6;
|
|
1256
1257
|
return {
|
|
1257
|
-
/**
|
|
1258
|
+
/**
|
|
1259
|
+
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
1260
|
+
* lookup, charged even when no match is found (`found: false`).
|
|
1261
|
+
*/
|
|
1258
1262
|
async person(params) {
|
|
1259
1263
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
|
|
1260
1264
|
method: "POST",
|
|
@@ -1262,7 +1266,10 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1262
1266
|
});
|
|
1263
1267
|
return resp.data ?? resp;
|
|
1264
1268
|
},
|
|
1265
|
-
/**
|
|
1269
|
+
/**
|
|
1270
|
+
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
1271
|
+
* even when no match is found (`found: false`).
|
|
1272
|
+
*/
|
|
1266
1273
|
async company(params) {
|
|
1267
1274
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {
|
|
1268
1275
|
method: "POST",
|
|
@@ -1278,7 +1285,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1278
1285
|
});
|
|
1279
1286
|
return resp.data ?? resp;
|
|
1280
1287
|
},
|
|
1281
|
-
/** Search 700M+ contacts with filters.
|
|
1288
|
+
/** Search 700M+ contacts with filters. Does not consume credits. */
|
|
1282
1289
|
async search(filters, page = 1, limit = 25) {
|
|
1283
1290
|
const resp = await request(baseUrl, "/api/v1/search/contacts", apiKey, {
|
|
1284
1291
|
method: "POST",
|
|
@@ -2185,7 +2192,7 @@ var createMailboxesClient = (apiKey, apiUrl) => {
|
|
|
2185
2192
|
};
|
|
2186
2193
|
|
|
2187
2194
|
// src/generated/operations.ts
|
|
2188
|
-
var API_OPERATION_COUNT =
|
|
2195
|
+
var API_OPERATION_COUNT = 3253;
|
|
2189
2196
|
var API_OPERATIONS = {
|
|
2190
2197
|
accept_audience_pipeline_filters_campaigns__campaign_id__audience_pipeline_accept_filters_post: ["POST", "/campaigns/{campaign_id}/audience-pipeline/accept-filters", "campaigns", "acceptAudiencePipelineFilters", "billable", "campaigns:run"],
|
|
2191
2198
|
accept_my_offer_marketplace_me_offers__hiring_id__accept_post: ["POST", "/marketplace/me/offers/{hiring_id}/accept", "marketplace", "acceptMyOffer", "billable", "marketplace:run"],
|
|
@@ -3843,6 +3850,7 @@ var API_OPERATIONS = {
|
|
|
3843
3850
|
infer_skill_variable_skills_infer_variable_post: ["POST", "/skills/infer-variable", "workflows", "inferSkillVariable", "write", "workflows:write"],
|
|
3844
3851
|
install_app_installed_apps_post: ["POST", "/installed-apps", "installedApps", "installApp", "write", "apps:write"],
|
|
3845
3852
|
intent_stats_intent_stats_get: ["GET", "/intent/stats", "intent", "intentStats", "read", "intent:read"],
|
|
3853
|
+
invite_member_roles_invite_post: ["POST", "/roles/invite", "roles", "inviteMember", "external", "account:run"],
|
|
3846
3854
|
invoke_app_page_action_app_pages__page_id__actions__alias___action_name__post: ["POST", "/app-pages/{page_id}/actions/{alias}/{action_name}", "appPages", "invokeAppPageAction", "write", "apps:write"],
|
|
3847
3855
|
issue_my_work_certificate_marketplace_me_work_certificates_post: ["POST", "/marketplace/me/work-certificates", "marketplace", "issueMyWorkCertificate", "billable", "marketplace:run"],
|
|
3848
3856
|
issue_service_token_service_token_post: ["POST", "/service-token", "appPlatformTokens", "issueServiceToken", "write", null],
|