contentoh-components-library 21.1.55 → 21.1.56
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 +1 -0
- package/dist/components/atoms/StatusTag/index.js +2 -17
- package/dist/components/atoms/StatusTag/styles.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +1 -4
- package/dist/components/molecules/RetailerSelector/index.js +0 -32
- package/dist/components/molecules/StatusAsignationInfo/index.js +2 -3
- package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
- package/dist/components/organisms/FullTabsMenu/index.js +1 -3
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +129 -115
- package/dist/components/pages/ProviderProductEdition/index.js +346 -329
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +86 -41
- package/dist/components/pages/RetailerProductEdition/index.js +210 -198
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/global-files/data.js +2 -1
- package/package.json +1 -1
- package/src/components/atoms/GeneralInput/index.js +1 -0
- package/src/components/atoms/StatusTag/index.js +2 -12
- package/src/components/atoms/StatusTag/styles.js +11 -11
- package/src/components/atoms/ValidationPanel/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +1 -6
- package/src/components/molecules/RetailerSelector/index.js +0 -15
- package/src/components/molecules/StatusAsignationInfo/index.js +2 -3
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/FullTabsMenu/index.js +0 -2
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +131 -121
- package/src/components/pages/ProviderProductEdition/index.js +167 -171
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +87 -38
- package/src/components/pages/RetailerProductEdition/index.js +140 -166
- package/src/components/pages/RetailerProductEdition/styles.js +1 -1
- package/src/global-files/data.js +2 -1
|
@@ -65,6 +65,7 @@ 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);
|
|
68
69
|
generalValue = valueSelected;
|
|
69
70
|
setTextValue({
|
|
70
71
|
value: generalValue
|
|
@@ -18,27 +18,12 @@ var StatusTag = function StatusTag(_ref) {
|
|
|
18
18
|
case "COMPLETED":
|
|
19
19
|
return "C";
|
|
20
20
|
|
|
21
|
-
case "RECEPTION":
|
|
22
|
-
return "Pr";
|
|
23
|
-
|
|
24
21
|
case "NULL":
|
|
25
|
-
return "
|
|
26
|
-
|
|
27
|
-
case "RECEIVED":
|
|
28
|
-
return "Rc";
|
|
29
|
-
|
|
30
|
-
case "IN_PROGRESS":
|
|
31
|
-
return "P";
|
|
32
|
-
|
|
33
|
-
case "ASSIGNED":
|
|
34
|
-
return "As";
|
|
22
|
+
return "--";
|
|
35
23
|
|
|
36
24
|
case "APPROVED":
|
|
37
25
|
return "Ap";
|
|
38
26
|
|
|
39
|
-
case "VALIDATING":
|
|
40
|
-
return "V";
|
|
41
|
-
|
|
42
27
|
case "PAID_OUT":
|
|
43
28
|
return "Po";
|
|
44
29
|
|
|
@@ -48,7 +33,7 @@ var StatusTag = function StatusTag(_ref) {
|
|
|
48
33
|
};
|
|
49
34
|
|
|
50
35
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
51
|
-
className: "status-".concat(getShortStatus(statusType), " ").concat(ovalForm && "oval-form"),
|
|
36
|
+
className: "status-".concat(getShortStatus(statusType === null || statusType === void 0 ? void 0 : statusType.replace(/\/.*/, "")), " ").concat(ovalForm && "oval-form"),
|
|
52
37
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
53
38
|
children: getShortStatus(statusType)
|
|
54
39
|
})
|
|
@@ -15,6 +15,6 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject;
|
|
17
17
|
|
|
18
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0 10px;\n height: 20px;\n background-color: ", ";\n border-radius: 3px;\n\n p {\n text-align: center;\n color: ", ";\n font-family: ", ";\n font-size: 12px;\n line-height: 20px;\n }\n\n &.status-
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0 10px;\n height: 20px;\n background-color: ", ";\n border-radius: 3px;\n\n p {\n text-align: center;\n color: ", ";\n font-family: ", ";\n font-size: 12px;\n line-height: 20px;\n }\n\n &.status-AS,\n &.status-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-ACA,\n &.status-AC {\n background-color: ", ";\n }\n\n &.status-RA,\n &.status-RC,\n &.status-RP,\n &.status-RCA {\n background-color: ", ";\n }\n\n &.status-Dat,\n &.status-Dsc,\n &.status-Imgs {\n background-color: ", ";\n }\n\n &.status-Ex {\n background-color: ", ";\n }\n\n &.status-DDI {\n background-color: ", ";\n }\n\n &.status-GLD {\n background-color: ", ";\n }\n\n &.status-TAB {\n background-color: ", ";\n }\n\n &.status-Pt {\n background-color: ", ";\n color: ", ";\n }\n\n &.oval-form {\n border-radius: 10px;\n }\n &.delThis {\n color: red;\n }\n"])), _variables.GlobalColors.s3, _variables.GlobalColors.white, _variables.FontFamily.Lato, _variables.GlobalColors.in_progress, _variables.GlobalColors.reception, _variables.GlobalColors.finished, _variables.GlobalColors.rejected_status, _variables.GlobalColors.s4, _variables.GlobalColors.exported, _variables.GlobalColors.original_purpura, _variables.GlobalColors.in_progress, _variables.GlobalColors.deep_gray, _variables.GlobalColors.s2, _variables.GlobalColors.s4);
|
|
19
19
|
|
|
20
20
|
exports.Container = Container;
|
|
@@ -26,10 +26,7 @@ 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"
|
|
30
|
-
onClick: function onClick() {
|
|
31
|
-
window.location.href = "/products";
|
|
32
|
-
}
|
|
29
|
+
buttonType: "close-button"
|
|
33
30
|
})]
|
|
34
31
|
});
|
|
35
32
|
};
|
|
@@ -7,10 +7,6 @@ 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
|
-
|
|
14
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
15
11
|
|
|
16
12
|
var _styles = require("./styles");
|
|
@@ -43,39 +39,11 @@ var RetailerSelector = function RetailerSelector(_ref) {
|
|
|
43
39
|
}
|
|
44
40
|
};
|
|
45
41
|
|
|
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
|
-
console.log("https://content-management-images.s3.amazonaws.com/retailers/".concat(activeRetailer.id, ".png"));
|
|
53
|
-
activeRetailer.image = "https://content-management-images.s3.amazonaws.com/retailers/".concat(activeRetailer.id, ".png");
|
|
54
|
-
retailers.forEach(function (retailer) {
|
|
55
|
-
return retailer.image = "https://content-management-images.s3.amazonaws.com/retailers/".concat(retailer.id, ".png");
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
case 3:
|
|
59
|
-
case "end":
|
|
60
|
-
return _context.stop();
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}, _callee);
|
|
64
|
-
}));
|
|
65
|
-
|
|
66
|
-
return function getRetailerImage() {
|
|
67
|
-
return _ref2.apply(this, arguments);
|
|
68
|
-
};
|
|
69
|
-
}();
|
|
70
|
-
|
|
71
42
|
(0, _react.useEffect)(function () {
|
|
72
43
|
if (retailersPanel) {
|
|
73
44
|
document.addEventListener("click", closeRetailersPanel, false);
|
|
74
45
|
}
|
|
75
46
|
}, [retailersPanel]);
|
|
76
|
-
(0, _react.useEffect)(function () {
|
|
77
|
-
getRetailerImage();
|
|
78
|
-
}, [activeRetailer]);
|
|
79
47
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
80
48
|
id: "retailers-assignation",
|
|
81
49
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
@@ -54,8 +54,7 @@ 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
|
|
58
|
-
canAssign = _ref.canAssign;
|
|
57
|
+
showSaveButton = _ref.showSaveButton;
|
|
59
58
|
|
|
60
59
|
var _useState = (0, _react.useState)(false),
|
|
61
60
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -147,7 +146,7 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
|
|
|
147
146
|
color: "#969696",
|
|
148
147
|
fontFamily: "Avenir Next",
|
|
149
148
|
headerType: "input-name-header"
|
|
150
|
-
}), showAsignationPanel &&
|
|
149
|
+
}), showAsignationPanel && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
151
150
|
className: "asignation-panel",
|
|
152
151
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
153
152
|
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 : "R");
|
|
51
51
|
} else element.push("NA");
|
|
52
52
|
|
|
53
53
|
rt["services"] = element;
|
|
@@ -32,8 +32,7 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
32
32
|
downloadImages = _ref.downloadImages,
|
|
33
33
|
askToDeleteImages = _ref.askToDeleteImages,
|
|
34
34
|
onClickSave = _ref.onClickSave,
|
|
35
|
-
showSaveButton = _ref.showSaveButton
|
|
36
|
-
canAssign = _ref.canAssign;
|
|
35
|
+
showSaveButton = _ref.showSaveButton;
|
|
37
36
|
|
|
38
37
|
var _useState = (0, _react.useState)(false),
|
|
39
38
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -46,7 +45,6 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
46
45
|
setImagesSection: setImagesSection,
|
|
47
46
|
setActiveTab: setActiveTab
|
|
48
47
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusAsignationInfo, {
|
|
49
|
-
canAssign: canAssign,
|
|
50
48
|
status: status,
|
|
51
49
|
activeTab: activeTab,
|
|
52
50
|
setImageLayout: setImageLayout,
|
|
@@ -31,27 +31,27 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
35
|
-
articleId:
|
|
36
|
-
category:
|
|
37
|
-
version:
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImY1OTI3ZjhlLWNiZjctNDkyMi05ZTA5LWU2OWVjMGIyNzMxYSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJlMDk1ODJkMi03MDU0LTQ3OGEtYjgzOS1hZThiNWVmZTRjYWMiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NzU2OTA1MywibmFtZSI6IklzbWFlbCBMb3BleiIsInBob25lX251bWJlciI6Iis1MjMxMTEzNjYzMzYiLCJleHAiOjE2NTc1NzI2NTMsImlhdCI6MTY1NzU2OTA1MywiZW1haWwiOiJpbG9wZXpAY29udGVudG9oLmNvbSJ9.TQmeBJjBJC21O6Ag-Gi0ER2sLKjuSiCSM9PLON0JzQ00FC88hgrUxlPQHDnMDgWtcRRP3aylo0AB1UStV9GJlkyg7-8jNtTkIsgjCiPBV754NizoSDUonLgKTtjs5Sx-rM_Uv14h8tlybegw0X5Dqlyl2FNwl5Vr_096e5SD4gqrBoFXH9nMTxbUQlQ4i4fD_5xxdnhnFjnVT0z9hA59tdTj1jEYXZjNtod98hx_-Rm9LL5SpnYt7_uBsVbQkIIn8iKrGhJ3dG5RZFO3P3_Ydg1eWdbbKCSIO17kW2_orn3hGPiXtA29Hls5IbUu0xst6oppZmKx2mHGHmIdHx_IIA",
|
|
35
|
+
articleId: 55154,
|
|
36
|
+
category: 2568,
|
|
37
|
+
version: 3,
|
|
38
38
|
productSelected: {
|
|
39
|
-
orderId:
|
|
40
|
-
article_status: "
|
|
41
|
-
datasheet_status: "
|
|
42
|
-
description_status: "
|
|
43
|
-
images_status: "
|
|
39
|
+
orderId: 96,
|
|
40
|
+
article_status: "AA",
|
|
41
|
+
datasheet_status: "AA",
|
|
42
|
+
description_status: "AA",
|
|
43
|
+
images_status: "AA",
|
|
44
44
|
prio: "none",
|
|
45
|
-
version:
|
|
45
|
+
version: 3,
|
|
46
46
|
brand: null,
|
|
47
47
|
article: {
|
|
48
48
|
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
49
49
|
company_name: "THD Proveedor",
|
|
50
50
|
country: "México",
|
|
51
|
-
id_category: "
|
|
52
|
-
id_article:
|
|
53
|
-
name: "
|
|
54
|
-
upc: "
|
|
51
|
+
id_category: "2568",
|
|
52
|
+
id_article: 55154,
|
|
53
|
+
name: "Prueba 12312",
|
|
54
|
+
upc: "977812"
|
|
55
55
|
},
|
|
56
56
|
retailers: [{
|
|
57
57
|
id: 58,
|
|
@@ -61,77 +61,24 @@ ProviderProductEditionDefault.args = {
|
|
|
61
61
|
id: 59,
|
|
62
62
|
name: "The Home Depot Platinum",
|
|
63
63
|
services: ["NA", "NA", "NA", "AA"]
|
|
64
|
-
}, {
|
|
65
|
-
id: 60,
|
|
66
|
-
name: "The Home Depot Resizing"
|
|
67
|
-
}, {
|
|
68
|
-
id: 61,
|
|
69
|
-
name: "Home Depot TAB"
|
|
70
64
|
}],
|
|
71
65
|
services: {
|
|
72
66
|
datasheets: 1,
|
|
73
67
|
descriptions: 1,
|
|
74
68
|
images: 1
|
|
75
69
|
},
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}, {
|
|
82
|
-
id: 59,
|
|
83
|
-
name: "The Home Depot Platinum",
|
|
84
|
-
percentage: 100
|
|
85
|
-
}, {
|
|
86
|
-
id: 60,
|
|
87
|
-
name: "The Home Depot Resizing"
|
|
88
|
-
}, {
|
|
89
|
-
id: 61,
|
|
90
|
-
name: "Home Depot TAB"
|
|
91
|
-
}]
|
|
92
|
-
},
|
|
93
|
-
productToEdit: {
|
|
94
|
-
ArticleId: 55118,
|
|
95
|
-
idCategory: "2143",
|
|
96
|
-
product: {
|
|
97
|
-
orderId: 55,
|
|
98
|
-
article_status: "AP",
|
|
99
|
-
datasheet_status: "AP",
|
|
100
|
-
description_status: "AP",
|
|
101
|
-
images_status: "AP",
|
|
102
|
-
prio: "none",
|
|
103
|
-
version: 2,
|
|
104
|
-
brand: null,
|
|
105
|
-
article: {
|
|
106
|
-
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
107
|
-
company_name: "THD Proveedor",
|
|
108
|
-
country: "México",
|
|
109
|
-
id_category: "2143",
|
|
110
|
-
id_article: 55118,
|
|
111
|
-
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
112
|
-
upc: "145582"
|
|
70
|
+
statusByRetailer: {
|
|
71
|
+
58: {
|
|
72
|
+
datasheet: "AA",
|
|
73
|
+
description: "AA",
|
|
74
|
+
images: "AA"
|
|
113
75
|
},
|
|
114
|
-
retailers: [{
|
|
115
|
-
id: 58,
|
|
116
|
-
name: "The Home Depot Golden",
|
|
117
|
-
services: ["AA", "AA", "AA", "NA"]
|
|
118
|
-
}, {
|
|
119
|
-
id: 59,
|
|
120
|
-
name: "The Home Depot Platinum",
|
|
121
|
-
services: ["NA", "NA", "NA", "AA"]
|
|
122
|
-
}, {
|
|
123
|
-
id: 60,
|
|
124
|
-
name: "The Home Depot Resizing"
|
|
125
|
-
}, {
|
|
126
|
-
id: 61,
|
|
127
|
-
name: "Home Depot TAB"
|
|
128
|
-
}],
|
|
129
76
|
services: {
|
|
130
77
|
datasheets: 1,
|
|
131
78
|
descriptions: 1,
|
|
132
79
|
images: 1
|
|
133
80
|
},
|
|
134
|
-
id_article:
|
|
81
|
+
id_article: 55154,
|
|
135
82
|
retailersAvailable: [{
|
|
136
83
|
id: 58,
|
|
137
84
|
name: "The Home Depot Golden",
|
|
@@ -146,49 +93,116 @@ ProviderProductEditionDefault.args = {
|
|
|
146
93
|
}, {
|
|
147
94
|
id: 61,
|
|
148
95
|
name: "Home Depot TAB"
|
|
149
|
-
}]
|
|
150
|
-
|
|
151
|
-
},
|
|
152
|
-
location: {
|
|
153
|
-
product: {
|
|
154
|
-
articleId: 109485,
|
|
155
|
-
versionId: 3
|
|
96
|
+
}],
|
|
97
|
+
status: "AA"
|
|
156
98
|
},
|
|
157
|
-
|
|
158
|
-
|
|
99
|
+
productToEdit: {
|
|
100
|
+
ArticleId: 55118,
|
|
101
|
+
idCategory: "2143",
|
|
102
|
+
product: {
|
|
103
|
+
orderId: 96,
|
|
104
|
+
article_status: "AA",
|
|
105
|
+
datasheet_status: "AA",
|
|
106
|
+
description_status: "AA",
|
|
107
|
+
images_status: "AA",
|
|
108
|
+
prio: "none",
|
|
109
|
+
version: 3,
|
|
110
|
+
brand: null,
|
|
111
|
+
article: {
|
|
112
|
+
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
113
|
+
company_name: "THD Proveedor",
|
|
114
|
+
country: "México",
|
|
115
|
+
id_category: "2568",
|
|
116
|
+
id_article: 55154,
|
|
117
|
+
name: "Prueba 12312",
|
|
118
|
+
upc: "977812"
|
|
119
|
+
},
|
|
120
|
+
retailers: [{
|
|
121
|
+
id: 58,
|
|
122
|
+
name: "The Home Depot Golden",
|
|
123
|
+
services: ["AA", "AA", "AA", "NA"]
|
|
124
|
+
}, {
|
|
125
|
+
id: 59,
|
|
126
|
+
name: "The Home Depot Platinum",
|
|
127
|
+
services: ["NA", "NA", "NA", "AA"]
|
|
128
|
+
}],
|
|
129
|
+
services: {
|
|
130
|
+
datasheets: 1,
|
|
131
|
+
descriptions: 1,
|
|
132
|
+
images: 1
|
|
133
|
+
},
|
|
134
|
+
statusByRetailer: {
|
|
135
|
+
58: {
|
|
136
|
+
datasheet: "AA",
|
|
137
|
+
description: "AA",
|
|
138
|
+
images: "AA"
|
|
139
|
+
},
|
|
140
|
+
services: {
|
|
141
|
+
datasheets: 1,
|
|
142
|
+
descriptions: 1,
|
|
143
|
+
images: 1
|
|
144
|
+
},
|
|
145
|
+
id_article: 55154,
|
|
146
|
+
retailersAvailable: [{
|
|
147
|
+
id: 58,
|
|
148
|
+
name: "The Home Depot Golden",
|
|
149
|
+
percentage: 100
|
|
150
|
+
}, {
|
|
151
|
+
id: 59,
|
|
152
|
+
name: "The Home Depot Platinum",
|
|
153
|
+
percentage: 100
|
|
154
|
+
}, {
|
|
155
|
+
id: 60,
|
|
156
|
+
name: "The Home Depot Resizing"
|
|
157
|
+
}, {
|
|
158
|
+
id: 61,
|
|
159
|
+
name: "Home Depot TAB"
|
|
160
|
+
}],
|
|
161
|
+
status: "AA"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
location: {
|
|
165
|
+
product: {
|
|
166
|
+
articleId: 109485,
|
|
167
|
+
versionId: 3
|
|
168
|
+
},
|
|
169
|
+
state: {
|
|
170
|
+
origin: "Contentoh"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
user: {
|
|
174
|
+
id_user: 59,
|
|
175
|
+
name: "The Home",
|
|
176
|
+
last_name: "Depot",
|
|
177
|
+
email: "cadena.ismael@allfreemail.net",
|
|
178
|
+
position: "Admin",
|
|
179
|
+
telephone: "+523111366336",
|
|
180
|
+
country: "México",
|
|
181
|
+
id_company: 7,
|
|
182
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
183
|
+
birth_Date: null,
|
|
184
|
+
about_me: null,
|
|
185
|
+
zip_code: null,
|
|
186
|
+
address: null,
|
|
187
|
+
job: null,
|
|
188
|
+
id_stripe: "",
|
|
189
|
+
id_role: 0,
|
|
190
|
+
active: 1,
|
|
191
|
+
is_retailer: 0,
|
|
192
|
+
email_notify: 1,
|
|
193
|
+
membership: {
|
|
194
|
+
id: 24,
|
|
195
|
+
start_date: "2021-11-23T03:35:50.000Z",
|
|
196
|
+
end_date: "2022-11-23T03:35:50.000Z",
|
|
197
|
+
planID: 9,
|
|
198
|
+
plan: "prod_KtlkzZVGq6bRTO",
|
|
199
|
+
name: "Plan Enterprise Full",
|
|
200
|
+
user_limit: "30",
|
|
201
|
+
products_limit: "10000",
|
|
202
|
+
type: "Enterprise"
|
|
203
|
+
},
|
|
204
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1657069378649"
|
|
205
|
+
}
|
|
159
206
|
}
|
|
160
|
-
},
|
|
161
|
-
user: {
|
|
162
|
-
id_user: 59,
|
|
163
|
-
name: "The Home",
|
|
164
|
-
last_name: "Depot",
|
|
165
|
-
email: "cadena.ismael@allfreemail.net",
|
|
166
|
-
position: "Admin",
|
|
167
|
-
telephone: "+523111366336",
|
|
168
|
-
country: "México",
|
|
169
|
-
id_company: 7,
|
|
170
|
-
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
171
|
-
birth_Date: null,
|
|
172
|
-
about_me: null,
|
|
173
|
-
zip_code: null,
|
|
174
|
-
address: null,
|
|
175
|
-
job: null,
|
|
176
|
-
id_stripe: "",
|
|
177
|
-
id_role: 0,
|
|
178
|
-
active: 1,
|
|
179
|
-
is_retailer: 0,
|
|
180
|
-
email_notify: 1,
|
|
181
|
-
membership: {
|
|
182
|
-
id: 24,
|
|
183
|
-
start_date: "2021-11-23T03:35:50.000Z",
|
|
184
|
-
end_date: "2022-11-23T03:35:50.000Z",
|
|
185
|
-
planID: 9,
|
|
186
|
-
plan: "prod_KtlkzZVGq6bRTO",
|
|
187
|
-
name: "Plan Enterprise Full",
|
|
188
|
-
user_limit: "30",
|
|
189
|
-
products_limit: "10000",
|
|
190
|
-
type: "Enterprise"
|
|
191
|
-
},
|
|
192
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1656113146885"
|
|
193
207
|
}
|
|
194
208
|
};
|