@elevasis/sdk 0.8.11 → 0.8.12
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/dist/cli.cjs +1 -1
- package/dist/index.d.ts +19 -3
- package/dist/types/worker/adapters/lead.d.ts +1 -1
- package/dist/worker/index.js +1 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -43883,7 +43883,7 @@ function wrapAction(commandName, fn) {
|
|
|
43883
43883
|
// package.json
|
|
43884
43884
|
var package_default = {
|
|
43885
43885
|
name: "@elevasis/sdk",
|
|
43886
|
-
version: "0.8.
|
|
43886
|
+
version: "0.8.12",
|
|
43887
43887
|
description: "SDK for building Elevasis organization resources",
|
|
43888
43888
|
type: "module",
|
|
43889
43889
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1860,6 +1860,7 @@ type Database = {
|
|
|
1860
1860
|
comments_count: number;
|
|
1861
1861
|
created_at: string;
|
|
1862
1862
|
discovered_at: string;
|
|
1863
|
+
draft_response: string | null;
|
|
1863
1864
|
engagement_count: number;
|
|
1864
1865
|
id: string;
|
|
1865
1866
|
matched_keywords: string[];
|
|
@@ -1873,7 +1874,7 @@ type Database = {
|
|
|
1873
1874
|
posted_at: string;
|
|
1874
1875
|
relevance_score: number;
|
|
1875
1876
|
responded_at: string | null;
|
|
1876
|
-
|
|
1877
|
+
source_category: string | null;
|
|
1877
1878
|
status: string;
|
|
1878
1879
|
updated_at: string;
|
|
1879
1880
|
};
|
|
@@ -1883,6 +1884,7 @@ type Database = {
|
|
|
1883
1884
|
comments_count?: number;
|
|
1884
1885
|
created_at?: string;
|
|
1885
1886
|
discovered_at?: string;
|
|
1887
|
+
draft_response?: string | null;
|
|
1886
1888
|
engagement_count?: number;
|
|
1887
1889
|
id?: string;
|
|
1888
1890
|
matched_keywords?: string[];
|
|
@@ -1896,7 +1898,7 @@ type Database = {
|
|
|
1896
1898
|
posted_at: string;
|
|
1897
1899
|
relevance_score?: number;
|
|
1898
1900
|
responded_at?: string | null;
|
|
1899
|
-
|
|
1901
|
+
source_category?: string | null;
|
|
1900
1902
|
status?: string;
|
|
1901
1903
|
updated_at?: string;
|
|
1902
1904
|
};
|
|
@@ -1906,6 +1908,7 @@ type Database = {
|
|
|
1906
1908
|
comments_count?: number;
|
|
1907
1909
|
created_at?: string;
|
|
1908
1910
|
discovered_at?: string;
|
|
1911
|
+
draft_response?: string | null;
|
|
1909
1912
|
engagement_count?: number;
|
|
1910
1913
|
id?: string;
|
|
1911
1914
|
matched_keywords?: string[];
|
|
@@ -1919,7 +1922,7 @@ type Database = {
|
|
|
1919
1922
|
posted_at?: string;
|
|
1920
1923
|
relevance_score?: number;
|
|
1921
1924
|
responded_at?: string | null;
|
|
1922
|
-
|
|
1925
|
+
source_category?: string | null;
|
|
1923
1926
|
status?: string;
|
|
1924
1927
|
updated_at?: string;
|
|
1925
1928
|
};
|
|
@@ -4064,6 +4067,8 @@ interface UpsertSocialPostParams {
|
|
|
4064
4067
|
relevanceScore?: number;
|
|
4065
4068
|
matchedKeywords?: string[];
|
|
4066
4069
|
matchedQuery?: string | null;
|
|
4070
|
+
draftResponse?: string | null;
|
|
4071
|
+
sourceCategory?: string | null;
|
|
4067
4072
|
}
|
|
4068
4073
|
interface UpsertSocialPostsResult {
|
|
4069
4074
|
inserted: number;
|
|
@@ -6546,6 +6551,17 @@ type LeadToolMap = {
|
|
|
6546
6551
|
};
|
|
6547
6552
|
result: void;
|
|
6548
6553
|
};
|
|
6554
|
+
recordDealActivity: {
|
|
6555
|
+
params: {
|
|
6556
|
+
attioDealId?: string;
|
|
6557
|
+
contactEmail?: string;
|
|
6558
|
+
type: string;
|
|
6559
|
+
title: string;
|
|
6560
|
+
description?: string;
|
|
6561
|
+
metadata?: Record<string, unknown>;
|
|
6562
|
+
};
|
|
6563
|
+
result: void;
|
|
6564
|
+
};
|
|
6549
6565
|
listDeals: {
|
|
6550
6566
|
params: DealFilters;
|
|
6551
6567
|
result: AcqDeal[];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Typed wrapper over platform.call() for acquisition lead management.
|
|
5
5
|
* Singleton export -- no credential needed (platform tool).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 41 methods covering lists, companies, contacts, deals, deal-sync, enrichment, and social monitoring operations.
|
|
8
8
|
* organizationId is injected server-side by the dispatcher -- never sent from the SDK.
|
|
9
9
|
*/
|
|
10
10
|
import { type TypedAdapter } from './create-adapter.js';
|
package/dist/worker/index.js
CHANGED