@elevasis/sdk 0.8.11 → 0.8.13

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 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.11",
43886
+ version: "0.8.13",
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,8 @@ type Database = {
1873
1874
  posted_at: string;
1874
1875
  relevance_score: number;
1875
1876
  responded_at: string | null;
1876
- response_notes: string | null;
1877
+ skip_reason: string | null;
1878
+ source_category: string | null;
1877
1879
  status: string;
1878
1880
  updated_at: string;
1879
1881
  };
@@ -1883,6 +1885,7 @@ type Database = {
1883
1885
  comments_count?: number;
1884
1886
  created_at?: string;
1885
1887
  discovered_at?: string;
1888
+ draft_response?: string | null;
1886
1889
  engagement_count?: number;
1887
1890
  id?: string;
1888
1891
  matched_keywords?: string[];
@@ -1896,7 +1899,8 @@ type Database = {
1896
1899
  posted_at: string;
1897
1900
  relevance_score?: number;
1898
1901
  responded_at?: string | null;
1899
- response_notes?: string | null;
1902
+ skip_reason?: string | null;
1903
+ source_category?: string | null;
1900
1904
  status?: string;
1901
1905
  updated_at?: string;
1902
1906
  };
@@ -1906,6 +1910,7 @@ type Database = {
1906
1910
  comments_count?: number;
1907
1911
  created_at?: string;
1908
1912
  discovered_at?: string;
1913
+ draft_response?: string | null;
1909
1914
  engagement_count?: number;
1910
1915
  id?: string;
1911
1916
  matched_keywords?: string[];
@@ -1919,7 +1924,8 @@ type Database = {
1919
1924
  posted_at?: string;
1920
1925
  relevance_score?: number;
1921
1926
  responded_at?: string | null;
1922
- response_notes?: string | null;
1927
+ skip_reason?: string | null;
1928
+ source_category?: string | null;
1923
1929
  status?: string;
1924
1930
  updated_at?: string;
1925
1931
  };
@@ -4064,6 +4070,8 @@ interface UpsertSocialPostParams {
4064
4070
  relevanceScore?: number;
4065
4071
  matchedKeywords?: string[];
4066
4072
  matchedQuery?: string | null;
4073
+ draftResponse?: string | null;
4074
+ sourceCategory?: string | null;
4067
4075
  }
4068
4076
  interface UpsertSocialPostsResult {
4069
4077
  inserted: number;
@@ -4142,6 +4150,30 @@ interface BulkImportResult {
4142
4150
  error: string;
4143
4151
  }>;
4144
4152
  }
4153
+ interface BulkImportCompanyEntry {
4154
+ name: string;
4155
+ domain: string;
4156
+ website?: string;
4157
+ locationCity?: string;
4158
+ locationState?: string;
4159
+ category?: string;
4160
+ source?: string;
4161
+ enrichmentData?: Record<string, unknown>;
4162
+ pipelineStatus?: Record<string, unknown>;
4163
+ }
4164
+ interface BulkImportCompaniesParams {
4165
+ organizationId: string;
4166
+ batchId: string;
4167
+ companies: BulkImportCompanyEntry[];
4168
+ }
4169
+ interface BulkImportCompaniesResult {
4170
+ created: number;
4171
+ skipped: number;
4172
+ errors: Array<{
4173
+ companyName: string;
4174
+ error: string;
4175
+ }>;
4176
+ }
4145
4177
 
4146
4178
  /**
4147
4179
  * Platform Storage Tool Types
@@ -6447,6 +6479,10 @@ type LeadToolMap = {
6447
6479
  params: Omit<BulkImportParams, 'organizationId'>;
6448
6480
  result: BulkImportResult;
6449
6481
  };
6482
+ bulkImportCompanies: {
6483
+ params: Omit<BulkImportCompaniesParams, 'organizationId'>;
6484
+ result: BulkImportCompaniesResult;
6485
+ };
6450
6486
  deactivateContactsByCompany: {
6451
6487
  params: {
6452
6488
  companyId: string;
@@ -6546,6 +6582,17 @@ type LeadToolMap = {
6546
6582
  };
6547
6583
  result: void;
6548
6584
  };
6585
+ recordDealActivity: {
6586
+ params: {
6587
+ attioDealId?: string;
6588
+ contactEmail?: string;
6589
+ type: string;
6590
+ title: string;
6591
+ description?: string;
6592
+ metadata?: Record<string, unknown>;
6593
+ };
6594
+ result: void;
6595
+ };
6549
6596
  listDeals: {
6550
6597
  params: DealFilters;
6551
6598
  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
- * 38 methods covering lists, companies, contacts, deals, deal-sync, enrichment, and social monitoring operations.
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';
@@ -4989,6 +4989,7 @@ var acqDb = createAdapter("acqDb", [
4989
4989
  "listContacts",
4990
4990
  "deleteContact",
4991
4991
  "bulkImportContacts",
4992
+ "bulkImportCompanies",
4992
4993
  "deactivateContactsByCompany",
4993
4994
  // Deal operations
4994
4995
  "upsertDeal",
@@ -5010,6 +5011,7 @@ var acqDb = createAdapter("acqDb", [
5010
5011
  "clearDealFields",
5011
5012
  "deleteDeal",
5012
5013
  "recordReply",
5014
+ "recordDealActivity",
5013
5015
  // Enrichment data operations
5014
5016
  "mergeEnrichmentData",
5015
5017
  // Social monitoring operations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.8.11",
3
+ "version": "0.8.13",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {