@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/index.mjs
CHANGED
|
@@ -941,7 +941,7 @@ var EXTERNAL_ROUTES = {
|
|
|
941
941
|
};
|
|
942
942
|
|
|
943
943
|
// src/version.ts
|
|
944
|
-
var SDK_VERSION = "0.
|
|
944
|
+
var SDK_VERSION = "0.294.0";
|
|
945
945
|
var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
|
|
946
946
|
|
|
947
947
|
// src/http.ts
|
|
@@ -1207,7 +1207,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1207
1207
|
return {
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
1210
|
-
* lookup, charged
|
|
1210
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
1211
1211
|
*/
|
|
1212
1212
|
async person(params) {
|
|
1213
1213
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
|
|
@@ -1218,7 +1218,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1218
1218
|
},
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
1221
|
-
*
|
|
1221
|
+
* only when a match is found (`found: false` costs nothing).
|
|
1222
1222
|
*/
|
|
1223
1223
|
async company(params) {
|
|
1224
1224
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {
|
|
@@ -2142,7 +2142,7 @@ var createMailboxesClient = (apiKey, apiUrl) => {
|
|
|
2142
2142
|
};
|
|
2143
2143
|
|
|
2144
2144
|
// src/generated/operations.ts
|
|
2145
|
-
var API_OPERATION_COUNT =
|
|
2145
|
+
var API_OPERATION_COUNT = 3255;
|
|
2146
2146
|
var API_OPERATIONS = {
|
|
2147
2147
|
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"],
|
|
2148
2148
|
accept_my_offer_marketplace_me_offers__hiring_id__accept_post: ["POST", "/marketplace/me/offers/{hiring_id}/accept", "marketplace", "acceptMyOffer", "billable", "marketplace:run"],
|
|
@@ -4148,6 +4148,7 @@ var API_OPERATIONS = {
|
|
|
4148
4148
|
list_org_marketplace_meetings_marketplace_org_meetings_get: ["GET", "/marketplace/org/meetings", "marketplace", "listOrgMarketplaceMeetings", "read", "marketplace:read"],
|
|
4149
4149
|
list_org_service_statements_marketplace_org_service_statements_get: ["GET", "/marketplace/org/service-statements", "marketplace", "listOrgServiceStatements", "read", "marketplace:read"],
|
|
4150
4150
|
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"],
|
|
4151
|
+
list_org_streams_streams_get: ["GET", "/streams", "snippet", "listOrgStreams", "read", "integrations:read"],
|
|
4151
4152
|
list_org_users_roles_org_users_get: ["GET", "/roles/org-users", "roles", "listOrgUsers", "read", "account:read"],
|
|
4152
4153
|
list_org_videos_org_videos_get: ["GET", "/org-videos", "orgVideos", "listOrgVideos", "read", "campaigns:read"],
|
|
4153
4154
|
list_outreach_campaigns_integrations_linkedin_outreach_campaigns_get: ["GET", "/integrations/linkedin-outreach/campaigns", "linkedInOutreach", "listOutreachCampaigns", "read", "integrations:read"],
|
|
@@ -4464,6 +4465,7 @@ var API_OPERATIONS = {
|
|
|
4464
4465
|
post_agent_session_message_agent_sessions__session_id__messages_post: ["POST", "/agent/sessions/{session_id}/messages", "agents", "postAgentSessionMessage", "write", "workflows:write"],
|
|
4465
4466
|
post_data_quality_analytics_sales_report_data_quality_post: ["POST", "/analytics/sales-report/data-quality", "analytics", "postDataQuality", "read", "analytics:read"],
|
|
4466
4467
|
post_desk_voice_memo_desk_voice_memo_post: ["POST", "/desk/voice-memo", "desk", "postDeskVoiceMemo", "billable", "deals:run"],
|
|
4468
|
+
preflight_enrichment_enrichment_preflight_post: ["POST", "/enrichment/preflight", "enrichment", "preflightEnrichment", "read", "enrichment:read"],
|
|
4467
4469
|
preview_account_plan_desk_accounts__account_id__plan_preview_post: ["POST", "/desk/accounts/{account_id}/plan/preview", "desk", "previewAccountPlan", "read", "deals:read"],
|
|
4468
4470
|
preview_ad_campaign_edit_ad_campaigns__campaign_id__edit_preview_post: ["POST", "/ad-campaigns/{campaign_id}/edit-preview", "adCampaigns", "previewAdCampaignEdit", "external", "ads:run"],
|
|
4469
4471
|
preview_campaign_audience_profile_campaigns_audience_profile_preview_post: ["POST", "/campaigns/audience-profile/preview", "campaigns", "previewCampaignAudienceProfile", "read", "campaigns:read"],
|