contentoh-components-library 21.1.59 → 21.1.62
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/components/atoms/GeneralInput/index.js +0 -1
- package/dist/components/atoms/InputFormatter/index.js +3 -3
- package/dist/components/molecules/HeaderTop/index.js +4 -1
- package/dist/components/molecules/RetailerSelector/index.js +31 -0
- package/dist/components/molecules/StatusAsignationInfo/index.js +3 -2
- package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
- package/dist/components/organisms/FullTabsMenu/index.js +3 -1
- package/dist/components/organisms/ImageDataTable/index.js +3 -6
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +115 -65
- package/dist/components/pages/ProviderProductEdition/index.js +333 -382
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +63 -110
- package/dist/components/pages/RetailerProductEdition/index.js +217 -225
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/global-files/data.js +9 -10
- package/dist/index.js +13 -0
- package/package.json +1 -1
- package/src/components/atoms/GeneralInput/index.js +0 -1
- package/src/components/atoms/InputFormatter/index.js +6 -3
- package/src/components/molecules/HeaderTop/index.js +6 -1
- package/src/components/molecules/RetailerSelector/index.js +12 -0
- package/src/components/molecules/StatusAsignationInfo/index.js +3 -2
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/FullTabsMenu/index.js +2 -0
- package/src/components/organisms/ImageDataTable/index.js +2 -5
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +133 -71
- package/src/components/pages/ProviderProductEdition/index.js +208 -222
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +59 -111
- package/src/components/pages/RetailerProductEdition/index.js +173 -148
- package/src/components/pages/RetailerProductEdition/styles.js +1 -1
- package/src/global-files/data.js +9 -10
- package/src/index.js +1 -0
- package/src/components/atoms/StatusTag/StatusTag.stories.js +0 -28
|
@@ -65,7 +65,6 @@ var GeneralInput = function GeneralInput(_ref) {
|
|
|
65
65
|
if ((optionList === null || optionList === void 0 ? void 0 : optionList.length) > 0) {
|
|
66
66
|
var index = evt.target.selectedIndex;
|
|
67
67
|
var valueSelected = evt.target.value;
|
|
68
|
-
console.log(valueSelected);
|
|
69
68
|
generalValue = valueSelected;
|
|
70
69
|
setTextValue({
|
|
71
70
|
value: generalValue
|
|
@@ -62,7 +62,7 @@ var InputFormatter = function InputFormatter(_ref) {
|
|
|
62
62
|
var maxLength = maxChar ? maxChar : 999;
|
|
63
63
|
|
|
64
64
|
var getValue = function getValue(value) {
|
|
65
|
-
var temp = value.replace(/\n/gm, "<br>");
|
|
65
|
+
var temp = value.replace(/\n/gm, "<br>").replace(/&/gm, "&");
|
|
66
66
|
return temp;
|
|
67
67
|
}; //const quillRef = useRef();
|
|
68
68
|
|
|
@@ -74,7 +74,7 @@ var InputFormatter = function InputFormatter(_ref) {
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
var valueFormater = function valueFormater(value) {
|
|
77
|
-
return value.replace(/<\/p><p>/gm, "\n").replace(/<\/?br>|<\/?p>/gm, "");
|
|
77
|
+
return value.replace(/<\/p><p>/gm, "\n").replace(/<\/?br>|<\/?p>/gm, "").replace(/&/gm, "&");
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
var _onChange = function onChange(valueInput, delta, user, h) {
|
|
@@ -154,7 +154,7 @@ var InputFormatter = function InputFormatter(_ref) {
|
|
|
154
154
|
ref: function ref(el) {
|
|
155
155
|
return setQuill(el);
|
|
156
156
|
},
|
|
157
|
-
|
|
157
|
+
defaultValue: getValue(inputValue) //disabled={!props.enableInputs}
|
|
158
158
|
,
|
|
159
159
|
modules: {
|
|
160
160
|
toolbar: ["bold"]
|
|
@@ -26,7 +26,10 @@ var HeaderTop = function HeaderTop(_ref) {
|
|
|
26
26
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ScreenHeader, {
|
|
27
27
|
text: "Edici\xF3n de producto"
|
|
28
28
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Button, {
|
|
29
|
-
buttonType: "close-button"
|
|
29
|
+
buttonType: "close-button",
|
|
30
|
+
onClick: function onClick() {
|
|
31
|
+
window.location.href = "/products";
|
|
32
|
+
}
|
|
30
33
|
})]
|
|
31
34
|
});
|
|
32
35
|
};
|
|
@@ -7,6 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.RetailerSelector = void 0;
|
|
9
9
|
|
|
10
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
+
|
|
12
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
|
|
13
|
+
|
|
10
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
11
15
|
|
|
12
16
|
var _styles = require("./styles");
|
|
@@ -39,11 +43,38 @@ var RetailerSelector = function RetailerSelector(_ref) {
|
|
|
39
43
|
}
|
|
40
44
|
};
|
|
41
45
|
|
|
46
|
+
var getRetailerImage = /*#__PURE__*/function () {
|
|
47
|
+
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
48
|
+
return _regenerator.default.wrap(function _callee$(_context) {
|
|
49
|
+
while (1) {
|
|
50
|
+
switch (_context.prev = _context.next) {
|
|
51
|
+
case 0:
|
|
52
|
+
activeRetailer.image = "https://content-management-images.s3.amazonaws.com/retailers/".concat(activeRetailer.id, ".png");
|
|
53
|
+
retailers.forEach(function (retailer) {
|
|
54
|
+
return retailer.image = "https://content-management-images.s3.amazonaws.com/retailers/".concat(retailer.id, ".png");
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
case 2:
|
|
58
|
+
case "end":
|
|
59
|
+
return _context.stop();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}, _callee);
|
|
63
|
+
}));
|
|
64
|
+
|
|
65
|
+
return function getRetailerImage() {
|
|
66
|
+
return _ref2.apply(this, arguments);
|
|
67
|
+
};
|
|
68
|
+
}();
|
|
69
|
+
|
|
42
70
|
(0, _react.useEffect)(function () {
|
|
43
71
|
if (retailersPanel) {
|
|
44
72
|
document.addEventListener("click", closeRetailersPanel, false);
|
|
45
73
|
}
|
|
46
74
|
}, [retailersPanel]);
|
|
75
|
+
(0, _react.useEffect)(function () {
|
|
76
|
+
getRetailerImage();
|
|
77
|
+
}, [activeRetailer]);
|
|
47
78
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
48
79
|
id: "retailers-assignation",
|
|
49
80
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
@@ -54,7 +54,8 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
|
|
|
54
54
|
_ref$id = _ref.id,
|
|
55
55
|
id = _ref$id === void 0 ? "default-id" : _ref$id,
|
|
56
56
|
onClickSave = _ref.onClickSave,
|
|
57
|
-
showSaveButton = _ref.showSaveButton
|
|
57
|
+
showSaveButton = _ref.showSaveButton,
|
|
58
|
+
canAssign = _ref.canAssign;
|
|
58
59
|
|
|
59
60
|
var _useState = (0, _react.useState)(false),
|
|
60
61
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -146,7 +147,7 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
|
|
|
146
147
|
color: "#969696",
|
|
147
148
|
fontFamily: "Avenir Next",
|
|
148
149
|
headerType: "input-name-header"
|
|
149
|
-
}), showAsignationPanel && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
150
|
+
}), showAsignationPanel && canAssign && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
150
151
|
className: "asignation-panel",
|
|
151
152
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
152
153
|
className: "asignation-header",
|
|
@@ -47,7 +47,7 @@ var FullProductNameHeader = function FullProductNameHeader(_ref) {
|
|
|
47
47
|
var element = [];
|
|
48
48
|
servicesData.forEach(function (sd) {
|
|
49
49
|
if (sd.id_retailer === rt.id) {
|
|
50
|
-
element.push(sd.status ? sd.status : "
|
|
50
|
+
element.push(sd.status ? sd.status : "RECEIVED");
|
|
51
51
|
} else element.push("NA");
|
|
52
52
|
|
|
53
53
|
rt["services"] = element;
|
|
@@ -32,7 +32,8 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
32
32
|
downloadImages = _ref.downloadImages,
|
|
33
33
|
askToDeleteImages = _ref.askToDeleteImages,
|
|
34
34
|
onClickSave = _ref.onClickSave,
|
|
35
|
-
showSaveButton = _ref.showSaveButton
|
|
35
|
+
showSaveButton = _ref.showSaveButton,
|
|
36
|
+
canAssign = _ref.canAssign;
|
|
36
37
|
|
|
37
38
|
var _useState = (0, _react.useState)(false),
|
|
38
39
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -45,6 +46,7 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
45
46
|
setImagesSection: setImagesSection,
|
|
46
47
|
setActiveTab: setActiveTab
|
|
47
48
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusAsignationInfo, {
|
|
49
|
+
canAssign: canAssign,
|
|
48
50
|
status: status,
|
|
49
51
|
activeTab: activeTab,
|
|
50
52
|
setImageLayout: setImageLayout,
|
|
@@ -20,7 +20,7 @@ var _LabelToInput = _interopRequireDefault(require("../../atoms/LabelToInput"));
|
|
|
20
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
21
|
|
|
22
22
|
var ImageDataTable = function ImageDataTable(_ref) {
|
|
23
|
-
var _lists$inputs, _lists$inputs$find, _lists$imagePackaging, _lists$imagePackaging2, _lists$imageType, _lists$imageType$find, _lists$attrForImgs$
|
|
23
|
+
var _lists$inputs, _lists$inputs$find, _lists$imagePackaging, _lists$imagePackaging2, _lists$imageType, _lists$imageType$find, _lists$attrForImgs, _lists$attrForImgs$ge;
|
|
24
24
|
|
|
25
25
|
var activeImage = _ref.activeImage,
|
|
26
26
|
darkMode = _ref.darkMode,
|
|
@@ -89,7 +89,7 @@ var ImageDataTable = function ImageDataTable(_ref) {
|
|
|
89
89
|
headerType: "table-row-text",
|
|
90
90
|
text: activeImage !== null && activeImage !== void 0 && activeImage.width && activeImage.height ? "".concat(activeImage === null || activeImage === void 0 ? void 0 : activeImage.width, "x").concat(activeImage === null || activeImage === void 0 ? void 0 : activeImage.height, "px") : "-"
|
|
91
91
|
})]
|
|
92
|
-
}), retailerSelected && (lists === null || lists === void 0 ? void 0 : lists.attrForImgs) && (lists === null || lists === void 0 ? void 0 : (_lists$attrForImgs
|
|
92
|
+
}), retailerSelected && (lists === null || lists === void 0 ? void 0 : lists.attrForImgs) && (lists === null || lists === void 0 ? void 0 : (_lists$attrForImgs = lists.attrForImgs) === null || _lists$attrForImgs === void 0 ? void 0 : (_lists$attrForImgs$ge = _lists$attrForImgs.general) === null || _lists$attrForImgs$ge === void 0 ? void 0 : _lists$attrForImgs$ge.map(function (attr, index) {
|
|
93
93
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles2.Container, {
|
|
94
94
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
95
95
|
headerType: "table-row-text",
|
|
@@ -100,11 +100,8 @@ var ImageDataTable = function ImageDataTable(_ref) {
|
|
|
100
100
|
onChange: function onChange(e) {
|
|
101
101
|
setImages({
|
|
102
102
|
action: "changeAttrValue",
|
|
103
|
-
retailer: retailerSelected,
|
|
104
|
-
index: index,
|
|
105
103
|
value: e.target.value || "-",
|
|
106
|
-
|
|
107
|
-
retailersId: Object.keys(lists.attrForImgs).slice(0, -1)
|
|
104
|
+
id: attr.id
|
|
108
105
|
});
|
|
109
106
|
}
|
|
110
107
|
})]
|
|
@@ -31,65 +31,115 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjU4ODRhZTM0LTU5ZDYtNDQ1NC1iOThlLTgyMTUxOGJjYzNhNyIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJhODE2NGMwNi1hN2U5LTQ2OGItYTBiMS02MDIxNzMyNWY0ZTgiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjExMzE0NiwibmFtZSI6IkNhZGVuYSBJc21hZWwiLCJwaG9uZV9udW1iZXIiOiIrNTIzMTExMzY2MzM2IiwiZXhwIjoxNjU2MTE2NzQ2LCJpYXQiOjE2NTYxMTMxNDYsImVtYWlsIjoiY2FkZW5hLmlzbWFlbEBhbGxmcmVlbWFpbC5uZXQifQ.kfMoKcxYDkpNZJibGdw50oOkRwPVl26YNAwwDoLEfQjOZB6WRCY95iHfU1maYcTTvA5KlT5ali8XZ-nLnxh60vZoLGTDOfCvEnwd1t94JtfE5CsWDr_jfH1U0AVidxihqKnkwvCezkHwU1DUFlbu2iBNo7MHQw4ydiK2sx4q0-QGltmE7W2JJ0sayRDuNchy2S6FQoyIWhsP3oaKTvJGDKCaJxwkFEKk-3antoMtfua9H8V4p2Kkqa_eDbFk8pLYGaYgImLlaia2orGgETkHZIWEMr4WJq1V_7qOg4lYq2BUUuMhWdmK6XUL_Jhmv05TUJ3Rp_Ti4_J2WE4zQqhbfQ",
|
|
35
35
|
articleId: 238,
|
|
36
36
|
category: 846,
|
|
37
37
|
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
categoryName: "Salud y Belleza|Cosméticos y Accesorios|Cosméticos",
|
|
46
|
-
asignations: [],
|
|
39
|
+
orderId: 55,
|
|
40
|
+
article_status: "AP",
|
|
41
|
+
datasheet_status: "AP",
|
|
42
|
+
description_status: "AP",
|
|
43
|
+
images_status: "AP",
|
|
44
|
+
prio: "none",
|
|
47
45
|
version: 2,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
brand: null,
|
|
47
|
+
article: {
|
|
48
|
+
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
49
|
+
company_name: "THD Proveedor",
|
|
52
50
|
country: "México",
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
id_category: "2143",
|
|
52
|
+
id_article: 55118,
|
|
53
|
+
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
54
|
+
upc: "145582"
|
|
55
|
+
},
|
|
56
|
+
retailers: [{
|
|
57
|
+
id: 58,
|
|
58
|
+
name: "The Home Depot Golden"
|
|
55
59
|
}, {
|
|
56
|
-
id:
|
|
57
|
-
name: "
|
|
58
|
-
country: "México",
|
|
59
|
-
id_region: 1,
|
|
60
|
-
active: 1
|
|
60
|
+
id: 59,
|
|
61
|
+
name: "The Home Depot Platinum"
|
|
61
62
|
}, {
|
|
62
|
-
id:
|
|
63
|
-
name: "
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
id: 60,
|
|
64
|
+
name: "The Home Depot Resizing"
|
|
65
|
+
}, {
|
|
66
|
+
id: 61,
|
|
67
|
+
name: "Home Depot TAB"
|
|
67
68
|
}],
|
|
68
|
-
|
|
69
|
+
services: {
|
|
70
|
+
datasheets: 1,
|
|
71
|
+
descriptions: 1,
|
|
72
|
+
images: 1
|
|
73
|
+
},
|
|
74
|
+
id_article: 55118,
|
|
75
|
+
retailersAvailable: [{
|
|
76
|
+
id: 58,
|
|
77
|
+
name: "The Home Depot Golden"
|
|
78
|
+
}, {
|
|
79
|
+
id: 59,
|
|
80
|
+
name: "The Home Depot Platinum"
|
|
81
|
+
}, {
|
|
82
|
+
id: 60,
|
|
83
|
+
name: "The Home Depot Resizing"
|
|
84
|
+
}, {
|
|
85
|
+
id: 61,
|
|
86
|
+
name: "Home Depot TAB"
|
|
87
|
+
}]
|
|
69
88
|
},
|
|
70
89
|
productToEdit: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
product:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
id: 58,
|
|
86
|
-
name: "The Home Depot Golden",
|
|
90
|
+
ArticleId: 55118,
|
|
91
|
+
idCategory: "2143",
|
|
92
|
+
product: {
|
|
93
|
+
orderId: 55,
|
|
94
|
+
article_status: "AP",
|
|
95
|
+
datasheet_status: "AP",
|
|
96
|
+
description_status: "AP",
|
|
97
|
+
images_status: "AP",
|
|
98
|
+
prio: "none",
|
|
99
|
+
version: 2,
|
|
100
|
+
brand: null,
|
|
101
|
+
article: {
|
|
102
|
+
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
103
|
+
company_name: "THD Proveedor",
|
|
87
104
|
country: "México",
|
|
88
|
-
|
|
89
|
-
|
|
105
|
+
id_category: "2143",
|
|
106
|
+
id_article: 55118,
|
|
107
|
+
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
108
|
+
upc: "145582"
|
|
109
|
+
},
|
|
110
|
+
retailers: [{
|
|
111
|
+
id: 58,
|
|
112
|
+
name: "The Home Depot Golden"
|
|
113
|
+
}, {
|
|
114
|
+
id: 59,
|
|
115
|
+
name: "The Home Depot Platinum"
|
|
116
|
+
}, {
|
|
117
|
+
id: 60,
|
|
118
|
+
name: "The Home Depot Resizing"
|
|
119
|
+
}, {
|
|
120
|
+
id: 61,
|
|
121
|
+
name: "Home Depot TAB"
|
|
90
122
|
}],
|
|
91
|
-
|
|
92
|
-
|
|
123
|
+
services: {
|
|
124
|
+
datasheets: 1,
|
|
125
|
+
descriptions: 1,
|
|
126
|
+
images: 1
|
|
127
|
+
},
|
|
128
|
+
id_article: 55118,
|
|
129
|
+
retailersAvailable: [{
|
|
130
|
+
id: 58,
|
|
131
|
+
name: "The Home Depot Golden"
|
|
132
|
+
}, {
|
|
133
|
+
id: 59,
|
|
134
|
+
name: "The Home Depot Platinum"
|
|
135
|
+
}, {
|
|
136
|
+
id: 60,
|
|
137
|
+
name: "The Home Depot Resizing"
|
|
138
|
+
}, {
|
|
139
|
+
id: 61,
|
|
140
|
+
name: "Home Depot TAB"
|
|
141
|
+
}]
|
|
142
|
+
}
|
|
93
143
|
},
|
|
94
144
|
location: {
|
|
95
145
|
product: {
|
|
@@ -97,40 +147,40 @@ ProviderProductEditionDefault.args = {
|
|
|
97
147
|
versionId: 3
|
|
98
148
|
},
|
|
99
149
|
state: {
|
|
100
|
-
origin: "
|
|
150
|
+
origin: "Contentoh"
|
|
101
151
|
}
|
|
102
152
|
},
|
|
103
153
|
user: {
|
|
104
|
-
id_user:
|
|
105
|
-
name: "
|
|
106
|
-
last_name: "
|
|
107
|
-
email: "
|
|
108
|
-
position: "
|
|
154
|
+
id_user: 59,
|
|
155
|
+
name: "The Home",
|
|
156
|
+
last_name: "Depot",
|
|
157
|
+
email: "cadena.ismael@allfreemail.net",
|
|
158
|
+
position: "Admin",
|
|
109
159
|
telephone: "+523111366336",
|
|
110
160
|
country: "México",
|
|
111
|
-
id_company:
|
|
112
|
-
id_cognito: "
|
|
161
|
+
id_company: 7,
|
|
162
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
113
163
|
birth_Date: null,
|
|
114
164
|
about_me: null,
|
|
115
165
|
zip_code: null,
|
|
116
166
|
address: null,
|
|
117
167
|
job: null,
|
|
118
|
-
id_stripe: "
|
|
168
|
+
id_stripe: "",
|
|
119
169
|
id_role: 0,
|
|
120
170
|
active: 1,
|
|
121
171
|
is_retailer: 0,
|
|
122
|
-
email_notify:
|
|
172
|
+
email_notify: 1,
|
|
123
173
|
membership: {
|
|
124
|
-
id:
|
|
125
|
-
start_date: "
|
|
126
|
-
end_date: "
|
|
127
|
-
planID:
|
|
128
|
-
plan: "
|
|
129
|
-
name: "Plan
|
|
130
|
-
user_limit: "
|
|
131
|
-
products_limit: "
|
|
174
|
+
id: 24,
|
|
175
|
+
start_date: "2021-11-23T03:35:50.000Z",
|
|
176
|
+
end_date: "2022-11-23T03:35:50.000Z",
|
|
177
|
+
planID: 9,
|
|
178
|
+
plan: "prod_KtlkzZVGq6bRTO",
|
|
179
|
+
name: "Plan Enterprise Full",
|
|
180
|
+
user_limit: "30",
|
|
181
|
+
products_limit: "10000",
|
|
132
182
|
type: "Enterprise"
|
|
133
183
|
},
|
|
134
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
184
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1656113146885"
|
|
135
185
|
}
|
|
136
186
|
};
|