@elevasis/sdk 0.8.12 → 0.8.14

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.12",
43886
+ version: "0.8.14",
43887
43887
  description: "SDK for building Elevasis organization resources",
43888
43888
  type: "module",
43889
43889
  bin: {
package/dist/index.d.ts CHANGED
@@ -1860,9 +1860,10 @@ type Database = {
1860
1860
  comments_count: number;
1861
1861
  created_at: string;
1862
1862
  discovered_at: string;
1863
- draft_response: string | null;
1864
1863
  engagement_count: number;
1864
+ final_response: string | null;
1865
1865
  id: string;
1866
+ initial_draft: string | null;
1866
1867
  matched_keywords: string[];
1867
1868
  matched_query: string | null;
1868
1869
  metadata: Json;
@@ -1874,6 +1875,8 @@ type Database = {
1874
1875
  posted_at: string;
1875
1876
  relevance_score: number;
1876
1877
  responded_at: string | null;
1878
+ reviewed_at: string | null;
1879
+ skip_reason: string | null;
1877
1880
  source_category: string | null;
1878
1881
  status: string;
1879
1882
  updated_at: string;
@@ -1884,9 +1887,10 @@ type Database = {
1884
1887
  comments_count?: number;
1885
1888
  created_at?: string;
1886
1889
  discovered_at?: string;
1887
- draft_response?: string | null;
1888
1890
  engagement_count?: number;
1891
+ final_response?: string | null;
1889
1892
  id?: string;
1893
+ initial_draft?: string | null;
1890
1894
  matched_keywords?: string[];
1891
1895
  matched_query?: string | null;
1892
1896
  metadata?: Json;
@@ -1898,6 +1902,8 @@ type Database = {
1898
1902
  posted_at: string;
1899
1903
  relevance_score?: number;
1900
1904
  responded_at?: string | null;
1905
+ reviewed_at?: string | null;
1906
+ skip_reason?: string | null;
1901
1907
  source_category?: string | null;
1902
1908
  status?: string;
1903
1909
  updated_at?: string;
@@ -1908,9 +1914,10 @@ type Database = {
1908
1914
  comments_count?: number;
1909
1915
  created_at?: string;
1910
1916
  discovered_at?: string;
1911
- draft_response?: string | null;
1912
1917
  engagement_count?: number;
1918
+ final_response?: string | null;
1913
1919
  id?: string;
1920
+ initial_draft?: string | null;
1914
1921
  matched_keywords?: string[];
1915
1922
  matched_query?: string | null;
1916
1923
  metadata?: Json;
@@ -1922,6 +1929,8 @@ type Database = {
1922
1929
  posted_at?: string;
1923
1930
  relevance_score?: number;
1924
1931
  responded_at?: string | null;
1932
+ reviewed_at?: string | null;
1933
+ skip_reason?: string | null;
1925
1934
  source_category?: string | null;
1926
1935
  status?: string;
1927
1936
  updated_at?: string;
@@ -4067,7 +4076,8 @@ interface UpsertSocialPostParams {
4067
4076
  relevanceScore?: number;
4068
4077
  matchedKeywords?: string[];
4069
4078
  matchedQuery?: string | null;
4070
- draftResponse?: string | null;
4079
+ initialDraft?: string | null;
4080
+ finalResponse?: string | null;
4071
4081
  sourceCategory?: string | null;
4072
4082
  }
4073
4083
  interface UpsertSocialPostsResult {
@@ -4147,6 +4157,30 @@ interface BulkImportResult {
4147
4157
  error: string;
4148
4158
  }>;
4149
4159
  }
4160
+ interface BulkImportCompanyEntry {
4161
+ name: string;
4162
+ domain: string;
4163
+ website?: string;
4164
+ locationCity?: string;
4165
+ locationState?: string;
4166
+ category?: string;
4167
+ source?: string;
4168
+ enrichmentData?: Record<string, unknown>;
4169
+ pipelineStatus?: Record<string, unknown>;
4170
+ }
4171
+ interface BulkImportCompaniesParams {
4172
+ organizationId: string;
4173
+ batchId: string;
4174
+ companies: BulkImportCompanyEntry[];
4175
+ }
4176
+ interface BulkImportCompaniesResult {
4177
+ created: number;
4178
+ skipped: number;
4179
+ errors: Array<{
4180
+ companyName: string;
4181
+ error: string;
4182
+ }>;
4183
+ }
4150
4184
 
4151
4185
  /**
4152
4186
  * Platform Storage Tool Types
@@ -6452,6 +6486,10 @@ type LeadToolMap = {
6452
6486
  params: Omit<BulkImportParams, 'organizationId'>;
6453
6487
  result: BulkImportResult;
6454
6488
  };
6489
+ bulkImportCompanies: {
6490
+ params: Omit<BulkImportCompaniesParams, 'organizationId'>;
6491
+ result: BulkImportCompaniesResult;
6492
+ };
6455
6493
  deactivateContactsByCompany: {
6456
6494
  params: {
6457
6495
  companyId: string;
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.8.12",
3
+ "version": "0.8.14",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {