@cakemail-org/ui-components-v2 2.2.86 → 2.2.87
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/cjs/factories/automations/types.d.ts +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/models/automation/index.d.ts +2 -2
- package/dist/cjs/services/automations/index.d.ts +7 -7
- package/dist/esm/factories/automations/types.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/automation/index.d.ts +2 -2
- package/dist/esm/services/automations/index.d.ts +7 -7
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -10177,7 +10177,7 @@ function updateAnyAutomation(_a) {
|
|
|
10177
10177
|
|
|
10178
10178
|
var AutomationModel = /** @class */ (function () {
|
|
10179
10179
|
function AutomationModel(automation) {
|
|
10180
|
-
this.id = automation.id ||
|
|
10180
|
+
this.id = automation.id || "";
|
|
10181
10181
|
this.name = automation.name || "";
|
|
10182
10182
|
this.description = automation.description || "";
|
|
10183
10183
|
this.status = automation.status || "inactive";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TAutomation } from "../../factories/automations/types";
|
|
2
|
-
import { TAutomationEmailContent, TSingleAutomationStats } from "./types";
|
|
3
2
|
import { TDeleteApiResource } from "../../types";
|
|
3
|
+
import { TAutomationEmailContent, TSingleAutomationStats } from "./types";
|
|
4
4
|
export declare class AutomationModel {
|
|
5
|
-
readonly id:
|
|
5
|
+
readonly id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
status: "active" | "inactive" | "deleted";
|
|
@@ -7,35 +7,35 @@ export declare function getAutomation({ id }: {
|
|
|
7
7
|
id: string;
|
|
8
8
|
}): Promise<any>;
|
|
9
9
|
export declare function deleteAutomation({ id }: {
|
|
10
|
-
id:
|
|
10
|
+
id: string;
|
|
11
11
|
}): Promise<any>;
|
|
12
12
|
export declare function getAutomationExecutionsCount({ id }: {
|
|
13
13
|
id: string;
|
|
14
14
|
}): Promise<any>;
|
|
15
15
|
export declare function updateAutomation({ id, data }: {
|
|
16
|
-
id:
|
|
16
|
+
id: string;
|
|
17
17
|
data: Partial<TAutomation>;
|
|
18
18
|
}): Promise<any>;
|
|
19
19
|
export declare function deleteWorkflow({ id }: {
|
|
20
|
-
id:
|
|
20
|
+
id: string;
|
|
21
21
|
}): Promise<any>;
|
|
22
22
|
export declare function updateWorkflow({ id, data }: {
|
|
23
|
-
id:
|
|
23
|
+
id: string;
|
|
24
24
|
data: Partial<TAutomation>;
|
|
25
25
|
}): Promise<any>;
|
|
26
26
|
export declare function getAutomationStats({ id, path }: {
|
|
27
|
-
id:
|
|
27
|
+
id: string;
|
|
28
28
|
path: string;
|
|
29
29
|
}): Promise<any>;
|
|
30
30
|
export declare function getAutomationEmailContent({ contentId }: {
|
|
31
31
|
contentId: string;
|
|
32
32
|
}): Promise<any>;
|
|
33
33
|
export declare function deleteAnyAutomation({ id, v1 }: {
|
|
34
|
-
id:
|
|
34
|
+
id: string;
|
|
35
35
|
v1?: boolean;
|
|
36
36
|
}): Promise<any>;
|
|
37
37
|
export declare function updateAnyAutomation({ id, data, v1 }: {
|
|
38
|
-
id:
|
|
38
|
+
id: string;
|
|
39
39
|
data: Partial<TAutomation>;
|
|
40
40
|
v1?: boolean;
|
|
41
41
|
}): Promise<any>;
|
package/dist/esm/index.js
CHANGED
|
@@ -10157,7 +10157,7 @@ function updateAnyAutomation(_a) {
|
|
|
10157
10157
|
|
|
10158
10158
|
var AutomationModel = /** @class */ (function () {
|
|
10159
10159
|
function AutomationModel(automation) {
|
|
10160
|
-
this.id = automation.id ||
|
|
10160
|
+
this.id = automation.id || "";
|
|
10161
10161
|
this.name = automation.name || "";
|
|
10162
10162
|
this.description = automation.description || "";
|
|
10163
10163
|
this.status = automation.status || "inactive";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TAutomation } from "../../factories/automations/types";
|
|
2
|
-
import { TAutomationEmailContent, TSingleAutomationStats } from "./types";
|
|
3
2
|
import { TDeleteApiResource } from "../../types";
|
|
3
|
+
import { TAutomationEmailContent, TSingleAutomationStats } from "./types";
|
|
4
4
|
export declare class AutomationModel {
|
|
5
|
-
readonly id:
|
|
5
|
+
readonly id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
status: "active" | "inactive" | "deleted";
|
|
@@ -7,35 +7,35 @@ export declare function getAutomation({ id }: {
|
|
|
7
7
|
id: string;
|
|
8
8
|
}): Promise<any>;
|
|
9
9
|
export declare function deleteAutomation({ id }: {
|
|
10
|
-
id:
|
|
10
|
+
id: string;
|
|
11
11
|
}): Promise<any>;
|
|
12
12
|
export declare function getAutomationExecutionsCount({ id }: {
|
|
13
13
|
id: string;
|
|
14
14
|
}): Promise<any>;
|
|
15
15
|
export declare function updateAutomation({ id, data }: {
|
|
16
|
-
id:
|
|
16
|
+
id: string;
|
|
17
17
|
data: Partial<TAutomation>;
|
|
18
18
|
}): Promise<any>;
|
|
19
19
|
export declare function deleteWorkflow({ id }: {
|
|
20
|
-
id:
|
|
20
|
+
id: string;
|
|
21
21
|
}): Promise<any>;
|
|
22
22
|
export declare function updateWorkflow({ id, data }: {
|
|
23
|
-
id:
|
|
23
|
+
id: string;
|
|
24
24
|
data: Partial<TAutomation>;
|
|
25
25
|
}): Promise<any>;
|
|
26
26
|
export declare function getAutomationStats({ id, path }: {
|
|
27
|
-
id:
|
|
27
|
+
id: string;
|
|
28
28
|
path: string;
|
|
29
29
|
}): Promise<any>;
|
|
30
30
|
export declare function getAutomationEmailContent({ contentId }: {
|
|
31
31
|
contentId: string;
|
|
32
32
|
}): Promise<any>;
|
|
33
33
|
export declare function deleteAnyAutomation({ id, v1 }: {
|
|
34
|
-
id:
|
|
34
|
+
id: string;
|
|
35
35
|
v1?: boolean;
|
|
36
36
|
}): Promise<any>;
|
|
37
37
|
export declare function updateAnyAutomation({ id, data, v1 }: {
|
|
38
|
-
id:
|
|
38
|
+
id: string;
|
|
39
39
|
data: Partial<TAutomation>;
|
|
40
40
|
v1?: boolean;
|
|
41
41
|
}): Promise<any>;
|