@graph8/sdk 0.277.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 +604 -14
- package/dist/index.d.ts +604 -14
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +597 -14
- package/dist/react.d.ts +597 -14
- package/dist/react.js +5 -3
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +5 -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 +6 -6
- package/docs/api/README.md +3 -3
- package/docs/api/analytics.d.ts +26 -1
- package/docs/api/analytics.md +2 -0
- package/docs/api/assertUpsert.d.ts +2 -0
- package/docs/api/assertUpsert.md +1 -0
- package/docs/api/audienceSyncs.d.ts +8 -0
- package/docs/api/audienceSyncs.md +16 -0
- package/docs/api/by-path.md +2 -0
- package/docs/api/companies.d.ts +7 -1
- package/docs/api/companies.md +4 -1
- package/docs/api/contacts.d.ts +8 -2
- package/docs/api/contacts.md +5 -2
- package/docs/api/enrichment.d.ts +76 -2
- package/docs/api/enrichment.md +76 -1
- package/docs/api/fields.d.ts +24 -3
- package/docs/api/fields.md +15 -4
- package/docs/api/install.d.ts +26 -0
- package/docs/api/install.md +18 -0
- package/docs/api/intent.d.ts +26 -1
- package/docs/api/intent.md +23 -0
- package/docs/api/lists.d.ts +9 -0
- package/docs/api/lists.md +17 -2
- package/docs/api/marketingIntelligence.d.ts +40 -0
- package/docs/api/marketingIntelligence.md +20 -0
- package/docs/api/snippet.d.ts +66 -2
- package/docs/api/snippet.md +73 -4
- package/docs/api/suppressions.d.ts +4 -0
- package/docs/api/suppressions.md +2 -0
- package/docs/api/visitors.d.ts +26 -0
- package/docs/api/visitors.md +12 -0
- package/docs/api/webAnalytics.d.ts +288 -0
- package/docs/api/webAnalytics.md +144 -0
- package/docs/api/workflows.md +6 -0
- package/docs/sdk-clients.md +2 -2
- package/package.json +1 -1
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.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
|
|
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, {
|
|
@@ -4187,6 +4187,7 @@ var API_OPERATIONS = {
|
|
|
4187
4187
|
list_org_marketplace_meetings_marketplace_org_meetings_get: ["GET", "/marketplace/org/meetings", "marketplace", "listOrgMarketplaceMeetings", "read", "marketplace:read"],
|
|
4188
4188
|
list_org_service_statements_marketplace_org_service_statements_get: ["GET", "/marketplace/org/service-statements", "marketplace", "listOrgServiceStatements", "read", "marketplace:read"],
|
|
4189
4189
|
list_org_statement_line_items_marketplace_org_service_statements__statement_id__line_items_get: ["GET", "/marketplace/org/service-statements/{statement_id}/line-items", "marketplace", "listOrgStatementLineItems", "read", "marketplace:read"],
|
|
4190
|
+
list_org_streams_streams_get: ["GET", "/streams", "snippet", "listOrgStreams", "read", "integrations:read"],
|
|
4190
4191
|
list_org_users_roles_org_users_get: ["GET", "/roles/org-users", "roles", "listOrgUsers", "read", "account:read"],
|
|
4191
4192
|
list_org_videos_org_videos_get: ["GET", "/org-videos", "orgVideos", "listOrgVideos", "read", "campaigns:read"],
|
|
4192
4193
|
list_outreach_campaigns_integrations_linkedin_outreach_campaigns_get: ["GET", "/integrations/linkedin-outreach/campaigns", "linkedInOutreach", "listOutreachCampaigns", "read", "integrations:read"],
|
|
@@ -4503,6 +4504,7 @@ var API_OPERATIONS = {
|
|
|
4503
4504
|
post_agent_session_message_agent_sessions__session_id__messages_post: ["POST", "/agent/sessions/{session_id}/messages", "agents", "postAgentSessionMessage", "write", "workflows:write"],
|
|
4504
4505
|
post_data_quality_analytics_sales_report_data_quality_post: ["POST", "/analytics/sales-report/data-quality", "analytics", "postDataQuality", "read", "analytics:read"],
|
|
4505
4506
|
post_desk_voice_memo_desk_voice_memo_post: ["POST", "/desk/voice-memo", "desk", "postDeskVoiceMemo", "billable", "deals:run"],
|
|
4507
|
+
preflight_enrichment_enrichment_preflight_post: ["POST", "/enrichment/preflight", "enrichment", "preflightEnrichment", "read", "enrichment:read"],
|
|
4506
4508
|
preview_account_plan_desk_accounts__account_id__plan_preview_post: ["POST", "/desk/accounts/{account_id}/plan/preview", "desk", "previewAccountPlan", "read", "deals:read"],
|
|
4507
4509
|
preview_ad_campaign_edit_ad_campaigns__campaign_id__edit_preview_post: ["POST", "/ad-campaigns/{campaign_id}/edit-preview", "adCampaigns", "previewAdCampaignEdit", "external", "ads:run"],
|
|
4508
4510
|
preview_campaign_audience_profile_campaigns_audience_profile_preview_post: ["POST", "/campaigns/audience-profile/preview", "campaigns", "previewCampaignAudienceProfile", "read", "campaigns:read"],
|