@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.js
CHANGED
|
@@ -991,7 +991,7 @@ var EXTERNAL_ROUTES = {
|
|
|
991
991
|
};
|
|
992
992
|
|
|
993
993
|
// src/version.ts
|
|
994
|
-
var SDK_VERSION = "0.
|
|
994
|
+
var SDK_VERSION = "0.294.0";
|
|
995
995
|
var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
|
|
996
996
|
|
|
997
997
|
// src/http.ts
|
|
@@ -1257,7 +1257,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1257
1257
|
return {
|
|
1258
1258
|
/**
|
|
1259
1259
|
* Look up a person by email, LinkedIn, or name + company. Costs 2 credits per
|
|
1260
|
-
* lookup, charged
|
|
1260
|
+
* lookup, charged only when a match is found (`found: false` costs nothing).
|
|
1261
1261
|
*/
|
|
1262
1262
|
async person(params) {
|
|
1263
1263
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/person", apiKey, {
|
|
@@ -1268,7 +1268,7 @@ var createEnrichClient = (apiKey, apiUrl) => {
|
|
|
1268
1268
|
},
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Look up a company by domain or name. Costs 2 credits per lookup, charged
|
|
1271
|
-
*
|
|
1271
|
+
* only when a match is found (`found: false` costs nothing).
|
|
1272
1272
|
*/
|
|
1273
1273
|
async company(params) {
|
|
1274
1274
|
const resp = await request(baseUrl, "/api/v1/enrichment/lookup/company", apiKey, {
|
|
@@ -2192,7 +2192,7 @@ var createMailboxesClient = (apiKey, apiUrl) => {
|
|
|
2192
2192
|
};
|
|
2193
2193
|
|
|
2194
2194
|
// src/generated/operations.ts
|
|
2195
|
-
var API_OPERATION_COUNT =
|
|
2195
|
+
var API_OPERATION_COUNT = 3255;
|
|
2196
2196
|
var API_OPERATIONS = {
|
|
2197
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"],
|
|
2198
2198
|
accept_my_offer_marketplace_me_offers__hiring_id__accept_post: ["POST", "/marketplace/me/offers/{hiring_id}/accept", "marketplace", "acceptMyOffer", "billable", "marketplace:run"],
|
|
@@ -4198,6 +4198,7 @@ var API_OPERATIONS = {
|
|
|
4198
4198
|
list_org_marketplace_meetings_marketplace_org_meetings_get: ["GET", "/marketplace/org/meetings", "marketplace", "listOrgMarketplaceMeetings", "read", "marketplace:read"],
|
|
4199
4199
|
list_org_service_statements_marketplace_org_service_statements_get: ["GET", "/marketplace/org/service-statements", "marketplace", "listOrgServiceStatements", "read", "marketplace:read"],
|
|
4200
4200
|
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"],
|
|
4201
|
+
list_org_streams_streams_get: ["GET", "/streams", "snippet", "listOrgStreams", "read", "integrations:read"],
|
|
4201
4202
|
list_org_users_roles_org_users_get: ["GET", "/roles/org-users", "roles", "listOrgUsers", "read", "account:read"],
|
|
4202
4203
|
list_org_videos_org_videos_get: ["GET", "/org-videos", "orgVideos", "listOrgVideos", "read", "campaigns:read"],
|
|
4203
4204
|
list_outreach_campaigns_integrations_linkedin_outreach_campaigns_get: ["GET", "/integrations/linkedin-outreach/campaigns", "linkedInOutreach", "listOutreachCampaigns", "read", "integrations:read"],
|
|
@@ -4514,6 +4515,7 @@ var API_OPERATIONS = {
|
|
|
4514
4515
|
post_agent_session_message_agent_sessions__session_id__messages_post: ["POST", "/agent/sessions/{session_id}/messages", "agents", "postAgentSessionMessage", "write", "workflows:write"],
|
|
4515
4516
|
post_data_quality_analytics_sales_report_data_quality_post: ["POST", "/analytics/sales-report/data-quality", "analytics", "postDataQuality", "read", "analytics:read"],
|
|
4516
4517
|
post_desk_voice_memo_desk_voice_memo_post: ["POST", "/desk/voice-memo", "desk", "postDeskVoiceMemo", "billable", "deals:run"],
|
|
4518
|
+
preflight_enrichment_enrichment_preflight_post: ["POST", "/enrichment/preflight", "enrichment", "preflightEnrichment", "read", "enrichment:read"],
|
|
4517
4519
|
preview_account_plan_desk_accounts__account_id__plan_preview_post: ["POST", "/desk/accounts/{account_id}/plan/preview", "desk", "previewAccountPlan", "read", "deals:read"],
|
|
4518
4520
|
preview_ad_campaign_edit_ad_campaigns__campaign_id__edit_preview_post: ["POST", "/ad-campaigns/{campaign_id}/edit-preview", "adCampaigns", "previewAdCampaignEdit", "external", "ads:run"],
|
|
4519
4521
|
preview_campaign_audience_profile_campaigns_audience_profile_preview_post: ["POST", "/campaigns/audience-profile/preview", "campaigns", "previewCampaignAudienceProfile", "read", "campaigns:read"],
|