@cakemail-org/ui-components-v2 2.2.40 → 2.2.41
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
|
@@ -12678,9 +12678,9 @@ var ListTemplateModel = /** @class */ (function () {
|
|
|
12678
12678
|
ListTemplateModel.prototype.share = function () {
|
|
12679
12679
|
return __awaiter(this, arguments, void 0, function (_a) {
|
|
12680
12680
|
var _this = this;
|
|
12681
|
-
var _b = _a === void 0 ? {} : _a, accounts = _b.accounts, everyone = _b.everyone, automatic = _b.automatic;
|
|
12681
|
+
var _b = _a === void 0 ? {} : _a, accounts = _b.accounts, everyone = _b.everyone, automatic = _b.automatic, patch = _b.patch;
|
|
12682
12682
|
return __generator(this, function (_c) {
|
|
12683
|
-
return [2 /*return*/, shareTemplate({ id: this.id, accounts: accounts, everyone: everyone, automatic: automatic }).then(function () {
|
|
12683
|
+
return [2 /*return*/, shareTemplate({ id: this.id, accounts: accounts, everyone: everyone, automatic: automatic, patch: patch }).then(function () {
|
|
12684
12684
|
trackEvent(exports.EEvents.TEMPLATE_SHARED, { id: _this.id });
|
|
12685
12685
|
return;
|
|
12686
12686
|
})];
|
|
@@ -20,7 +20,7 @@ export declare class ListTemplateModel {
|
|
|
20
20
|
render({ brandAccountId }: {
|
|
21
21
|
brandAccountId?: TNumStr;
|
|
22
22
|
}): Promise<string>;
|
|
23
|
-
share({ accounts, everyone, automatic }?: TTemplateSharePayload): Promise<void>;
|
|
23
|
+
share({ accounts, everyone, automatic, patch }?: TTemplateSharePayload): Promise<void>;
|
|
24
24
|
unshare(): Promise<void>;
|
|
25
25
|
}
|
|
26
26
|
export declare class TemplateModel extends ListTemplateModel {
|
package/dist/esm/index.js
CHANGED
|
@@ -12658,9 +12658,9 @@ var ListTemplateModel = /** @class */ (function () {
|
|
|
12658
12658
|
ListTemplateModel.prototype.share = function () {
|
|
12659
12659
|
return __awaiter(this, arguments, void 0, function (_a) {
|
|
12660
12660
|
var _this = this;
|
|
12661
|
-
var _b = _a === void 0 ? {} : _a, accounts = _b.accounts, everyone = _b.everyone, automatic = _b.automatic;
|
|
12661
|
+
var _b = _a === void 0 ? {} : _a, accounts = _b.accounts, everyone = _b.everyone, automatic = _b.automatic, patch = _b.patch;
|
|
12662
12662
|
return __generator(this, function (_c) {
|
|
12663
|
-
return [2 /*return*/, shareTemplate({ id: this.id, accounts: accounts, everyone: everyone, automatic: automatic }).then(function () {
|
|
12663
|
+
return [2 /*return*/, shareTemplate({ id: this.id, accounts: accounts, everyone: everyone, automatic: automatic, patch: patch }).then(function () {
|
|
12664
12664
|
trackEvent(EEvents.TEMPLATE_SHARED, { id: _this.id });
|
|
12665
12665
|
return;
|
|
12666
12666
|
})];
|
|
@@ -20,7 +20,7 @@ export declare class ListTemplateModel {
|
|
|
20
20
|
render({ brandAccountId }: {
|
|
21
21
|
brandAccountId?: TNumStr;
|
|
22
22
|
}): Promise<string>;
|
|
23
|
-
share({ accounts, everyone, automatic }?: TTemplateSharePayload): Promise<void>;
|
|
23
|
+
share({ accounts, everyone, automatic, patch }?: TTemplateSharePayload): Promise<void>;
|
|
24
24
|
unshare(): Promise<void>;
|
|
25
25
|
}
|
|
26
26
|
export declare class TemplateModel extends ListTemplateModel {
|