@cakemail-org/ui-components-v2 2.1.46 → 2.1.47
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/index.js
CHANGED
|
@@ -17584,6 +17584,15 @@ var ListModel = /** @class */ (function () {
|
|
|
17584
17584
|
});
|
|
17585
17585
|
});
|
|
17586
17586
|
};
|
|
17587
|
+
ListModel.prototype.getReport = function () {
|
|
17588
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17589
|
+
return __generator(this, function (_a) {
|
|
17590
|
+
return [2 /*return*/, getListReport({ id: this.id }).then(function (data) {
|
|
17591
|
+
return data.data;
|
|
17592
|
+
})];
|
|
17593
|
+
});
|
|
17594
|
+
});
|
|
17595
|
+
};
|
|
17587
17596
|
return ListModel;
|
|
17588
17597
|
}());
|
|
17589
17598
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EApiLanguages, TDeleteApiResource, TGenericListParams, TGenericListReturn } from "../../types";
|
|
2
|
-
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListSender, TListWebhook } from "./types";
|
|
2
|
+
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListReport, TListSender, TListWebhook } from "./types";
|
|
3
3
|
export declare class ListModel {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
name: string;
|
|
@@ -23,5 +23,6 @@ export declare class ListModel {
|
|
|
23
23
|
delete(): Promise<TDeleteApiResource>;
|
|
24
24
|
getAttributes(options?: TGenericListParams): Promise<TGenericListReturn<TListCustomAttribute>>;
|
|
25
25
|
getInterests(options?: TGenericListParams): Promise<TGenericListReturn<TListInterest>>;
|
|
26
|
+
getReport(): Promise<TListReport>;
|
|
26
27
|
}
|
|
27
28
|
export * from "./types";
|
package/dist/esm/index.js
CHANGED
|
@@ -17564,6 +17564,15 @@ var ListModel = /** @class */ (function () {
|
|
|
17564
17564
|
});
|
|
17565
17565
|
});
|
|
17566
17566
|
};
|
|
17567
|
+
ListModel.prototype.getReport = function () {
|
|
17568
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17569
|
+
return __generator(this, function (_a) {
|
|
17570
|
+
return [2 /*return*/, getListReport({ id: this.id }).then(function (data) {
|
|
17571
|
+
return data.data;
|
|
17572
|
+
})];
|
|
17573
|
+
});
|
|
17574
|
+
});
|
|
17575
|
+
};
|
|
17567
17576
|
return ListModel;
|
|
17568
17577
|
}());
|
|
17569
17578
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EApiLanguages, TDeleteApiResource, TGenericListParams, TGenericListReturn } from "../../types";
|
|
2
|
-
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListSender, TListWebhook } from "./types";
|
|
2
|
+
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListReport, TListSender, TListWebhook } from "./types";
|
|
3
3
|
export declare class ListModel {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
name: string;
|
|
@@ -23,5 +23,6 @@ export declare class ListModel {
|
|
|
23
23
|
delete(): Promise<TDeleteApiResource>;
|
|
24
24
|
getAttributes(options?: TGenericListParams): Promise<TGenericListReturn<TListCustomAttribute>>;
|
|
25
25
|
getInterests(options?: TGenericListParams): Promise<TGenericListReturn<TListInterest>>;
|
|
26
|
+
getReport(): Promise<TListReport>;
|
|
26
27
|
}
|
|
27
28
|
export * from "./types";
|