@cakemail-org/ui-components-v2 2.2.39 → 2.2.40
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
|
@@ -11698,9 +11698,10 @@ function renderTemplate(_a) {
|
|
|
11698
11698
|
});
|
|
11699
11699
|
}
|
|
11700
11700
|
function shareTemplate(_a) {
|
|
11701
|
-
var id = _a.id, accounts = _a.accounts, everyone = _a.everyone, automatic = _a.automatic;
|
|
11701
|
+
var id = _a.id, accounts = _a.accounts, everyone = _a.everyone, automatic = _a.automatic, patch = _a.patch;
|
|
11702
11702
|
return callApi({
|
|
11703
11703
|
url: uiKitConfig.GATEWAY_PROXY + "/templates/".concat(id, "/share"),
|
|
11704
|
+
query: patch ? { patch: true } : undefined,
|
|
11704
11705
|
fetchOptions: {
|
|
11705
11706
|
body: {
|
|
11706
11707
|
accounts: accounts,
|
|
@@ -19,11 +19,12 @@ export declare function renderTemplate({ id, brandAccountId }: {
|
|
|
19
19
|
id: TNumStr;
|
|
20
20
|
brandAccountId?: TNumStr;
|
|
21
21
|
}): Promise<any>;
|
|
22
|
-
export declare function shareTemplate({ id, accounts, everyone, automatic }: {
|
|
22
|
+
export declare function shareTemplate({ id, accounts, everyone, automatic, patch }: {
|
|
23
23
|
id: TNumStr;
|
|
24
24
|
accounts?: TTemplateShareAccounPayload[];
|
|
25
25
|
everyone?: boolean;
|
|
26
26
|
automatic?: boolean;
|
|
27
|
+
patch?: boolean;
|
|
27
28
|
}): Promise<any>;
|
|
28
29
|
export declare function unshareTemplate({ id }: {
|
|
29
30
|
id: TNumStr;
|
package/dist/esm/index.js
CHANGED
|
@@ -11678,9 +11678,10 @@ function renderTemplate(_a) {
|
|
|
11678
11678
|
});
|
|
11679
11679
|
}
|
|
11680
11680
|
function shareTemplate(_a) {
|
|
11681
|
-
var id = _a.id, accounts = _a.accounts, everyone = _a.everyone, automatic = _a.automatic;
|
|
11681
|
+
var id = _a.id, accounts = _a.accounts, everyone = _a.everyone, automatic = _a.automatic, patch = _a.patch;
|
|
11682
11682
|
return callApi({
|
|
11683
11683
|
url: uiKitConfig.GATEWAY_PROXY + "/templates/".concat(id, "/share"),
|
|
11684
|
+
query: patch ? { patch: true } : undefined,
|
|
11684
11685
|
fetchOptions: {
|
|
11685
11686
|
body: {
|
|
11686
11687
|
accounts: accounts,
|
|
@@ -19,11 +19,12 @@ export declare function renderTemplate({ id, brandAccountId }: {
|
|
|
19
19
|
id: TNumStr;
|
|
20
20
|
brandAccountId?: TNumStr;
|
|
21
21
|
}): Promise<any>;
|
|
22
|
-
export declare function shareTemplate({ id, accounts, everyone, automatic }: {
|
|
22
|
+
export declare function shareTemplate({ id, accounts, everyone, automatic, patch }: {
|
|
23
23
|
id: TNumStr;
|
|
24
24
|
accounts?: TTemplateShareAccounPayload[];
|
|
25
25
|
everyone?: boolean;
|
|
26
26
|
automatic?: boolean;
|
|
27
|
+
patch?: boolean;
|
|
27
28
|
}): Promise<any>;
|
|
28
29
|
export declare function unshareTemplate({ id }: {
|
|
29
30
|
id: TNumStr;
|