@cakemail-org/ui-components-v2 2.2.8 → 2.2.10

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
@@ -10744,7 +10744,7 @@ function createPage(_a) {
10744
10744
  var page = __rest(_a, []);
10745
10745
  return __generator(this, function (_b) {
10746
10746
  return [2 /*return*/, callApi({
10747
- url: uiKitConfig.GATEWAY_PROXY + "/popups",
10747
+ url: uiKitConfig.GATEWAY_PROXY + "/pages",
10748
10748
  fetchOptions: {
10749
10749
  body: page,
10750
10750
  method: exports.EMethods.post
@@ -10784,7 +10784,7 @@ function updatePage(_a) {
10784
10784
  var id = _b.id, page = _b.page;
10785
10785
  return __generator(this, function (_c) {
10786
10786
  return [2 /*return*/, callApi({
10787
- url: uiKitConfig.GATEWAY_PROXY + "/popups/".concat(id),
10787
+ url: uiKitConfig.GATEWAY_PROXY + "/pages/".concat(id),
10788
10788
  fetchOptions: {
10789
10789
  method: exports.EMethods.patch,
10790
10790
  body: page
@@ -2,7 +2,7 @@ import { TDeleteApiResource } from "../../types";
2
2
  import { EPageBranding, TPageContent, TPageModel, TPageSEO, TPageTracking, TPageUser } from "./types";
3
3
  export declare class ListPageModel {
4
4
  id: string;
5
- list_id: string;
5
+ list_id: number;
6
6
  account_id: number;
7
7
  name: string | null;
8
8
  slug: string | null;
@@ -1,6 +1,6 @@
1
1
  export type TPageModel = {
2
2
  id: string;
3
- list_id: string;
3
+ list_id: number;
4
4
  account_id: number;
5
5
  name: string | null;
6
6
  slug: string | null;
package/dist/esm/index.js CHANGED
@@ -10724,7 +10724,7 @@ function createPage(_a) {
10724
10724
  var page = __rest(_a, []);
10725
10725
  return __generator(this, function (_b) {
10726
10726
  return [2 /*return*/, callApi({
10727
- url: uiKitConfig.GATEWAY_PROXY + "/popups",
10727
+ url: uiKitConfig.GATEWAY_PROXY + "/pages",
10728
10728
  fetchOptions: {
10729
10729
  body: page,
10730
10730
  method: EMethods.post
@@ -10764,7 +10764,7 @@ function updatePage(_a) {
10764
10764
  var id = _b.id, page = _b.page;
10765
10765
  return __generator(this, function (_c) {
10766
10766
  return [2 /*return*/, callApi({
10767
- url: uiKitConfig.GATEWAY_PROXY + "/popups/".concat(id),
10767
+ url: uiKitConfig.GATEWAY_PROXY + "/pages/".concat(id),
10768
10768
  fetchOptions: {
10769
10769
  method: EMethods.patch,
10770
10770
  body: page
@@ -2,7 +2,7 @@ import { TDeleteApiResource } from "../../types";
2
2
  import { EPageBranding, TPageContent, TPageModel, TPageSEO, TPageTracking, TPageUser } from "./types";
3
3
  export declare class ListPageModel {
4
4
  id: string;
5
- list_id: string;
5
+ list_id: number;
6
6
  account_id: number;
7
7
  name: string | null;
8
8
  slug: string | null;
@@ -1,6 +1,6 @@
1
1
  export type TPageModel = {
2
2
  id: string;
3
- list_id: string;
3
+ list_id: number;
4
4
  account_id: number;
5
5
  name: string | null;
6
6
  slug: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.8",
3
+ "version": "2.2.10",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",