@elevasis/sdk 0.8.19 → 0.9.2
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 +17 -0
- package/dist/worker/index.js +2 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -43891,7 +43891,7 @@ function wrapAction(commandName, fn) {
|
|
|
43891
43891
|
// package.json
|
|
43892
43892
|
var package_default = {
|
|
43893
43893
|
name: "@elevasis/sdk",
|
|
43894
|
-
version: "0.
|
|
43894
|
+
version: "0.9.2",
|
|
43895
43895
|
description: "SDK for building Elevasis organization resources",
|
|
43896
43896
|
type: "module",
|
|
43897
43897
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -5416,6 +5416,19 @@ interface DeleteCampaignResult {
|
|
|
5416
5416
|
success: boolean;
|
|
5417
5417
|
campaign_id: string;
|
|
5418
5418
|
}
|
|
5419
|
+
/**
|
|
5420
|
+
* Patch lead parameters
|
|
5421
|
+
*/
|
|
5422
|
+
interface PatchLeadParams {
|
|
5423
|
+
lead_id: string;
|
|
5424
|
+
custom_variables: Record<string, string>;
|
|
5425
|
+
}
|
|
5426
|
+
/**
|
|
5427
|
+
* Patch lead result
|
|
5428
|
+
*/
|
|
5429
|
+
interface PatchLeadResult {
|
|
5430
|
+
id: string;
|
|
5431
|
+
}
|
|
5419
5432
|
|
|
5420
5433
|
/**
|
|
5421
5434
|
* Shared MillionVerifier param/result types (browser-safe)
|
|
@@ -6263,6 +6276,10 @@ type InstantlyToolMap = {
|
|
|
6263
6276
|
params: DeleteCampaignParams;
|
|
6264
6277
|
result: DeleteCampaignResult;
|
|
6265
6278
|
};
|
|
6279
|
+
patchLead: {
|
|
6280
|
+
params: PatchLeadParams;
|
|
6281
|
+
result: PatchLeadResult;
|
|
6282
|
+
};
|
|
6266
6283
|
};
|
|
6267
6284
|
type AnymailfinderToolMap = {
|
|
6268
6285
|
findCompanyEmail: {
|
package/dist/worker/index.js
CHANGED
|
@@ -4853,7 +4853,8 @@ var METHODS6 = [
|
|
|
4853
4853
|
"getDailyCampaignAnalytics",
|
|
4854
4854
|
"listLeads",
|
|
4855
4855
|
"bulkDeleteLeads",
|
|
4856
|
-
"deleteCampaign"
|
|
4856
|
+
"deleteCampaign",
|
|
4857
|
+
"patchLead"
|
|
4857
4858
|
];
|
|
4858
4859
|
function createInstantlyAdapter(credential) {
|
|
4859
4860
|
return createAdapter("instantly", METHODS6, credential);
|