@elevasis/sdk 0.8.12 → 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 +1 -1
- package/dist/index.d.ts +31 -0
- 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.13",
|
|
43887
43887
|
description: "SDK for building Elevasis organization resources",
|
|
43888
43888
|
type: "module",
|
|
43889
43889
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1874,6 +1874,7 @@ type Database = {
|
|
|
1874
1874
|
posted_at: string;
|
|
1875
1875
|
relevance_score: number;
|
|
1876
1876
|
responded_at: string | null;
|
|
1877
|
+
skip_reason: string | null;
|
|
1877
1878
|
source_category: string | null;
|
|
1878
1879
|
status: string;
|
|
1879
1880
|
updated_at: string;
|
|
@@ -1898,6 +1899,7 @@ type Database = {
|
|
|
1898
1899
|
posted_at: string;
|
|
1899
1900
|
relevance_score?: number;
|
|
1900
1901
|
responded_at?: string | null;
|
|
1902
|
+
skip_reason?: string | null;
|
|
1901
1903
|
source_category?: string | null;
|
|
1902
1904
|
status?: string;
|
|
1903
1905
|
updated_at?: string;
|
|
@@ -1922,6 +1924,7 @@ type Database = {
|
|
|
1922
1924
|
posted_at?: string;
|
|
1923
1925
|
relevance_score?: number;
|
|
1924
1926
|
responded_at?: string | null;
|
|
1927
|
+
skip_reason?: string | null;
|
|
1925
1928
|
source_category?: string | null;
|
|
1926
1929
|
status?: string;
|
|
1927
1930
|
updated_at?: string;
|
|
@@ -4147,6 +4150,30 @@ interface BulkImportResult {
|
|
|
4147
4150
|
error: string;
|
|
4148
4151
|
}>;
|
|
4149
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
|
+
}
|
|
4150
4177
|
|
|
4151
4178
|
/**
|
|
4152
4179
|
* Platform Storage Tool Types
|
|
@@ -6452,6 +6479,10 @@ type LeadToolMap = {
|
|
|
6452
6479
|
params: Omit<BulkImportParams, 'organizationId'>;
|
|
6453
6480
|
result: BulkImportResult;
|
|
6454
6481
|
};
|
|
6482
|
+
bulkImportCompanies: {
|
|
6483
|
+
params: Omit<BulkImportCompaniesParams, 'organizationId'>;
|
|
6484
|
+
result: BulkImportCompaniesResult;
|
|
6485
|
+
};
|
|
6455
6486
|
deactivateContactsByCompany: {
|
|
6456
6487
|
params: {
|
|
6457
6488
|
companyId: string;
|
package/dist/worker/index.js
CHANGED