@cakemail-org/ui-components-v2 2.1.53 → 2.1.54

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
@@ -10599,9 +10599,9 @@ function deletePopup(_a) {
10599
10599
  });
10600
10600
  }
10601
10601
  function updatePopup(_a) {
10602
- return __awaiter(this, void 0, void 0, function () {
10603
- var id = _a.id, popup = __rest(_a, ["id"]);
10604
- return __generator(this, function (_b) {
10602
+ return __awaiter(this, arguments, void 0, function (_b) {
10603
+ var id = _b.id, popup = _b.popup;
10604
+ return __generator(this, function (_c) {
10605
10605
  return [2 /*return*/, callApi({
10606
10606
  url: uiKitConfig.GATEWAY_PROXY + "/popups/".concat(id),
10607
10607
  fetchOptions: {
@@ -13,7 +13,7 @@ export declare function getPopup({ id }: {
13
13
  export declare function deletePopup({ id }: {
14
14
  id: string;
15
15
  }): Promise<TDeleteApiResource>;
16
- export declare function updatePopup({ id, ...popup }: {
16
+ export declare function updatePopup({ id, popup }: {
17
17
  id: string;
18
18
  popup: Partial<TPopupModel>;
19
19
  }): Promise<TUpdateApiResource<TPopupModel>>;
package/dist/esm/index.js CHANGED
@@ -10579,9 +10579,9 @@ function deletePopup(_a) {
10579
10579
  });
10580
10580
  }
10581
10581
  function updatePopup(_a) {
10582
- return __awaiter(this, void 0, void 0, function () {
10583
- var id = _a.id, popup = __rest(_a, ["id"]);
10584
- return __generator(this, function (_b) {
10582
+ return __awaiter(this, arguments, void 0, function (_b) {
10583
+ var id = _b.id, popup = _b.popup;
10584
+ return __generator(this, function (_c) {
10585
10585
  return [2 /*return*/, callApi({
10586
10586
  url: uiKitConfig.GATEWAY_PROXY + "/popups/".concat(id),
10587
10587
  fetchOptions: {
@@ -13,7 +13,7 @@ export declare function getPopup({ id }: {
13
13
  export declare function deletePopup({ id }: {
14
14
  id: string;
15
15
  }): Promise<TDeleteApiResource>;
16
- export declare function updatePopup({ id, ...popup }: {
16
+ export declare function updatePopup({ id, popup }: {
17
17
  id: string;
18
18
  popup: Partial<TPopupModel>;
19
19
  }): Promise<TUpdateApiResource<TPopupModel>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.53",
3
+ "version": "2.1.54",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",