@cakemail-org/ui-components-v2 2.2.84 → 2.2.86

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.
@@ -3,7 +3,7 @@ import { TAutomationStats, TAutomationStatsParam } from "./types";
3
3
  import { AutomationModel } from "../../models/automation";
4
4
  export declare class AutomationsFactory {
5
5
  static get({ id }: {
6
- id: number;
6
+ id: string;
7
7
  }): Promise<AutomationModel>;
8
8
  static getAutomationStats({ ...options }: TAutomationStatsParam): Promise<TAutomationStats>;
9
9
  static list({ ...options }: TGenericListParams): Promise<TGenericListReturn<AutomationModel>>;
@@ -1,10 +1,10 @@
1
- import { TAutomationStatsParam, TAutomation } from "../../factories/automations/types";
1
+ import { TAutomation, TAutomationStatsParam } from "../../factories/automations/types";
2
2
  import { TGenericListParams } from "../../types";
3
3
  export declare function getAllAutomationStats({ ...options }: TAutomationStatsParam): Promise<any>;
4
4
  export declare function listAutomations({ ...options }: TGenericListParams): Promise<any>;
5
5
  export declare function listWorkflows({ ...options }: TGenericListParams): Promise<any>;
6
6
  export declare function getAutomation({ id }: {
7
- id: number;
7
+ id: string;
8
8
  }): Promise<any>;
9
9
  export declare function deleteAutomation({ id }: {
10
10
  id: number;
@@ -3,7 +3,7 @@ import { TAutomationStats, TAutomationStatsParam } from "./types";
3
3
  import { AutomationModel } from "../../models/automation";
4
4
  export declare class AutomationsFactory {
5
5
  static get({ id }: {
6
- id: number;
6
+ id: string;
7
7
  }): Promise<AutomationModel>;
8
8
  static getAutomationStats({ ...options }: TAutomationStatsParam): Promise<TAutomationStats>;
9
9
  static list({ ...options }: TGenericListParams): Promise<TGenericListReturn<AutomationModel>>;
@@ -1,10 +1,10 @@
1
- import { TAutomationStatsParam, TAutomation } from "../../factories/automations/types";
1
+ import { TAutomation, TAutomationStatsParam } from "../../factories/automations/types";
2
2
  import { TGenericListParams } from "../../types";
3
3
  export declare function getAllAutomationStats({ ...options }: TAutomationStatsParam): Promise<any>;
4
4
  export declare function listAutomations({ ...options }: TGenericListParams): Promise<any>;
5
5
  export declare function listWorkflows({ ...options }: TGenericListParams): Promise<any>;
6
6
  export declare function getAutomation({ id }: {
7
- id: number;
7
+ id: string;
8
8
  }): Promise<any>;
9
9
  export declare function deleteAutomation({ id }: {
10
10
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.84",
3
+ "version": "2.2.86",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",