@cakemail-org/ui-components-v2 2.1.2 → 2.1.3
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
|
@@ -9516,8 +9516,12 @@ var AccountModel = /** @class */ (function () {
|
|
|
9516
9516
|
return __awaiter(this, void 0, void 0, function () {
|
|
9517
9517
|
var _this = this;
|
|
9518
9518
|
return __generator(this, function (_a) {
|
|
9519
|
+
if (["1", "131010", "133315"].includes(this.id.toString())) {
|
|
9520
|
+
return [2 /*return*/, {}];
|
|
9521
|
+
}
|
|
9519
9522
|
return [2 /*return*/, this.getReport({}).then(function (report) {
|
|
9520
9523
|
_this.usage = report;
|
|
9524
|
+
return report;
|
|
9521
9525
|
})];
|
|
9522
9526
|
});
|
|
9523
9527
|
});
|
|
@@ -25,7 +25,7 @@ export declare class AccountModel {
|
|
|
25
25
|
});
|
|
26
26
|
toJson(): any;
|
|
27
27
|
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
28
|
-
getUsageReport(): Promise<
|
|
28
|
+
getUsageReport(): Promise<TAccountReport>;
|
|
29
29
|
getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
|
|
30
30
|
impersonate(byContext?: boolean): Promise<any>;
|
|
31
31
|
getDomains(): Promise<TAccountDomains>;
|
package/dist/esm/index.js
CHANGED
|
@@ -9496,8 +9496,12 @@ var AccountModel = /** @class */ (function () {
|
|
|
9496
9496
|
return __awaiter(this, void 0, void 0, function () {
|
|
9497
9497
|
var _this = this;
|
|
9498
9498
|
return __generator(this, function (_a) {
|
|
9499
|
+
if (["1", "131010", "133315"].includes(this.id.toString())) {
|
|
9500
|
+
return [2 /*return*/, {}];
|
|
9501
|
+
}
|
|
9499
9502
|
return [2 /*return*/, this.getReport({}).then(function (report) {
|
|
9500
9503
|
_this.usage = report;
|
|
9504
|
+
return report;
|
|
9501
9505
|
})];
|
|
9502
9506
|
});
|
|
9503
9507
|
});
|
|
@@ -25,7 +25,7 @@ export declare class AccountModel {
|
|
|
25
25
|
});
|
|
26
26
|
toJson(): any;
|
|
27
27
|
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
28
|
-
getUsageReport(): Promise<
|
|
28
|
+
getUsageReport(): Promise<TAccountReport>;
|
|
29
29
|
getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
|
|
30
30
|
impersonate(byContext?: boolean): Promise<any>;
|
|
31
31
|
getDomains(): Promise<TAccountDomains>;
|