@elevasis/sdk 0.7.4 → 0.7.5
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
|
@@ -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.7.
|
|
43886
|
+
version: "0.7.5",
|
|
43887
43887
|
description: "SDK for building Elevasis organization resources",
|
|
43888
43888
|
type: "module",
|
|
43889
43889
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -4834,6 +4834,19 @@ interface BulkDeleteLeadsParams {
|
|
|
4834
4834
|
interface BulkDeleteLeadsResult {
|
|
4835
4835
|
deleted_count: number;
|
|
4836
4836
|
}
|
|
4837
|
+
/**
|
|
4838
|
+
* Delete campaign parameters
|
|
4839
|
+
*/
|
|
4840
|
+
interface DeleteCampaignParams {
|
|
4841
|
+
campaign_id: string;
|
|
4842
|
+
}
|
|
4843
|
+
/**
|
|
4844
|
+
* Delete campaign result
|
|
4845
|
+
*/
|
|
4846
|
+
interface DeleteCampaignResult {
|
|
4847
|
+
success: boolean;
|
|
4848
|
+
campaign_id: string;
|
|
4849
|
+
}
|
|
4837
4850
|
|
|
4838
4851
|
/**
|
|
4839
4852
|
* Shared Mailso param/result types (browser-safe)
|
|
@@ -5832,6 +5845,10 @@ type InstantlyToolMap = {
|
|
|
5832
5845
|
params: BulkDeleteLeadsParams;
|
|
5833
5846
|
result: BulkDeleteLeadsResult;
|
|
5834
5847
|
};
|
|
5848
|
+
deleteCampaign: {
|
|
5849
|
+
params: DeleteCampaignParams;
|
|
5850
|
+
result: DeleteCampaignResult;
|
|
5851
|
+
};
|
|
5835
5852
|
};
|
|
5836
5853
|
type MailsoToolMap = {
|
|
5837
5854
|
verifyEmail: {
|
package/dist/worker/index.js
CHANGED
|
@@ -4852,7 +4852,8 @@ var METHODS6 = [
|
|
|
4852
4852
|
"createCampaign",
|
|
4853
4853
|
"getDailyCampaignAnalytics",
|
|
4854
4854
|
"listLeads",
|
|
4855
|
-
"bulkDeleteLeads"
|
|
4855
|
+
"bulkDeleteLeads",
|
|
4856
|
+
"deleteCampaign"
|
|
4856
4857
|
];
|
|
4857
4858
|
function createInstantlyAdapter(credential) {
|
|
4858
4859
|
return createAdapter("instantly", METHODS6, credential);
|