contentoh-components-library 21.3.39 → 21.3.41
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/ButtonV2/styles.js +1 -1
- package/dist/components/atoms/Status/styles.js +1 -1
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +18 -23
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +4 -4
- package/dist/components/organisms/GlobalModal/styles.js +1 -1
- package/dist/components/organisms/TableResizable/index.js +6 -10
- package/dist/components/pages/Dashboard/Dashboard.stories.js +31 -50
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +138 -52
- package/dist/components/pages/ProviderProductEdition/index.js +191 -202
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +82 -118
- package/dist/components/pages/RetailerProductEdition/index.js +1 -1
- package/package.json +1 -1
- package/src/components/atoms/ButtonV2/styles.js +1 -1
- package/src/components/atoms/Status/styles.js +4 -0
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +18 -22
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +3 -4
- package/src/components/organisms/GlobalModal/styles.js +10 -0
- package/src/components/organisms/TableResizable/index.js +0 -2
- package/src/components/pages/Dashboard/Dashboard.stories.js +31 -55
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +157 -58
- package/src/components/pages/ProviderProductEdition/index.js +119 -121
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +87 -127
- package/src/components/pages/RetailerProductEdition/index.js +1 -1
|
@@ -28,137 +28,101 @@ exports.RetailerProductEditionDefault = RetailerProductEditionDefault;
|
|
|
28
28
|
RetailerProductEditionDefault.args = {
|
|
29
29
|
tabsSections: {
|
|
30
30
|
Descripción: true,
|
|
31
|
-
"Ficha técnica":
|
|
32
|
-
Imágenes:
|
|
31
|
+
"Ficha técnica": false,
|
|
32
|
+
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJra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_S1JrY_syYf88m_GtJKOywEnE6--Ef9lZhFBFKGtqRJ4H8JBa9Xb96uCjAKyEMCSURDlw37pk2RQdULlZPj17Zb6Xrqi2lwrhpI1ByptX3__UoTiZklnTXwIxM4JdU7yuhXLznaEH8NOSd2Jw-CV6FCUbYBHlnRYBQg7B5mwyVKtDQm6QpRgBTBPCvljJJpFjRKUcnon8WZiFXx1qVbkWPt2vCT1TZqqoSLdlP6lA",
|
|
35
35
|
productSelected: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
"orderId": 15160,
|
|
37
|
+
"status": "SAC",
|
|
38
|
+
"datasheet_status": "SAC",
|
|
39
|
+
"prio": "none",
|
|
40
|
+
"version": 7,
|
|
41
|
+
"description_status": "SAC",
|
|
42
|
+
"images_status": "SAC",
|
|
43
|
+
"brand": null,
|
|
44
|
+
"retailerOrder": 1,
|
|
45
|
+
"missing": {
|
|
46
|
+
"datasheet": null,
|
|
47
|
+
"descriptions": null,
|
|
48
|
+
"images": null
|
|
40
49
|
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
version: 3,
|
|
46
|
-
description_status: "CA",
|
|
47
|
-
images_status: "AS",
|
|
48
|
-
statusByRetailer: {
|
|
49
|
-
4: {
|
|
50
|
-
datasheet: "AC",
|
|
51
|
-
description: "CA",
|
|
52
|
-
images: "AS"
|
|
53
|
-
},
|
|
54
|
-
5: {
|
|
55
|
-
datasheet: "CA",
|
|
56
|
-
description: "CA",
|
|
57
|
-
images: "AS"
|
|
58
|
-
},
|
|
59
|
-
6: {
|
|
60
|
-
description: "CA",
|
|
61
|
-
images: "AS",
|
|
62
|
-
datasheet: "CA"
|
|
63
|
-
},
|
|
64
|
-
12: {
|
|
65
|
-
datasheet: "CA",
|
|
66
|
-
description: "CA",
|
|
67
|
-
images: "AS"
|
|
68
|
-
},
|
|
69
|
-
17: {
|
|
70
|
-
datasheet: "CA",
|
|
71
|
-
description: "AC",
|
|
72
|
-
images: "AS"
|
|
73
|
-
}
|
|
50
|
+
"services": {
|
|
51
|
+
"datasheets": 1,
|
|
52
|
+
"descriptions": 1,
|
|
53
|
+
"images": 1
|
|
74
54
|
},
|
|
75
|
-
article: {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
id_datasheet_especialist: 54,
|
|
93
|
-
id_datasheet_facilitator: 52,
|
|
94
|
-
id_description_especialist: 54,
|
|
95
|
-
id_description_facilitator: 52,
|
|
96
|
-
id_images_especialist: 55,
|
|
97
|
-
id_images_facilitator: 53,
|
|
98
|
-
id_auditor: 37,
|
|
99
|
-
id_recepcionist: null,
|
|
100
|
-
category: "Consumibles|Productos de Limpieza y Lavandería|Jabones y Lavatrastes",
|
|
101
|
-
missingAttributes: 0,
|
|
102
|
-
missingDescriptions: 0,
|
|
103
|
-
missingImages: 0
|
|
55
|
+
"article": {
|
|
56
|
+
"category": "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
57
|
+
"company_name": "Demo",
|
|
58
|
+
"country": "México",
|
|
59
|
+
"id_category": "2366",
|
|
60
|
+
"id_datasheet_especialist": null,
|
|
61
|
+
"id_datasheet_facilitator": null,
|
|
62
|
+
"id_description_especialist": null,
|
|
63
|
+
"id_description_facilitator": null,
|
|
64
|
+
"id_images_especialist": null,
|
|
65
|
+
"id_images_facilitator": null,
|
|
66
|
+
"id_order": 15160,
|
|
67
|
+
"id_article": 39290,
|
|
68
|
+
"id_auditor": 37,
|
|
69
|
+
"name": "MOLDURA MARCO MODER 11X4X244 CM",
|
|
70
|
+
"timestamp": "2023-04-19T21:36:02.000Z",
|
|
71
|
+
"upc": "100030"
|
|
104
72
|
},
|
|
105
|
-
retailers: [{
|
|
106
|
-
id:
|
|
107
|
-
name: "
|
|
108
|
-
}, {
|
|
109
|
-
id: 5,
|
|
110
|
-
name: "Chedraui"
|
|
111
|
-
}, {
|
|
112
|
-
id: 6,
|
|
113
|
-
name: "HEB"
|
|
73
|
+
"retailers": [{
|
|
74
|
+
"id": 58,
|
|
75
|
+
"name": "The Home Depot Golden"
|
|
114
76
|
}, {
|
|
115
|
-
id:
|
|
116
|
-
name: "
|
|
117
|
-
}, {
|
|
118
|
-
id: 17,
|
|
119
|
-
name: "Genérico"
|
|
77
|
+
"id": 68,
|
|
78
|
+
"name": "The Home Depot Merchants"
|
|
120
79
|
}],
|
|
121
|
-
|
|
122
|
-
|
|
80
|
+
"statusByRetailer": {
|
|
81
|
+
"58": {
|
|
82
|
+
"datasheet": "SAC",
|
|
83
|
+
"description": "SAC",
|
|
84
|
+
"images": "SAC"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
123
87
|
},
|
|
124
88
|
location: {
|
|
125
89
|
product: {
|
|
126
|
-
articleId:
|
|
127
|
-
versionId:
|
|
90
|
+
articleId: 39290,
|
|
91
|
+
versionId: 7
|
|
128
92
|
}
|
|
129
93
|
},
|
|
130
94
|
user: {
|
|
131
|
-
id_user: 51,
|
|
132
|
-
name: "ADMIN PRUEBA",
|
|
133
|
-
last_name: "",
|
|
134
|
-
email: "etc@contentoh.com",
|
|
135
|
-
position: "",
|
|
136
|
-
telephone: "",
|
|
137
|
-
country: "",
|
|
138
|
-
id_company: 2,
|
|
139
|
-
id_cognito: "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
|
|
140
|
-
birth_Date: null,
|
|
141
|
-
about_me: "",
|
|
142
|
-
zip_code: "",
|
|
143
|
-
address: "",
|
|
144
|
-
job: "",
|
|
145
|
-
id_stripe: "",
|
|
146
|
-
id_role: 1,
|
|
147
|
-
active: 1,
|
|
148
|
-
is_retailer: 0,
|
|
149
|
-
email_notify: 1,
|
|
150
|
-
is_user_tech: null,
|
|
151
|
-
membership: {
|
|
152
|
-
id:
|
|
153
|
-
start_date: "
|
|
154
|
-
end_date: "
|
|
155
|
-
planID:
|
|
156
|
-
plan: "
|
|
157
|
-
name: "Plan
|
|
158
|
-
user_limit: "
|
|
159
|
-
products_limit: "
|
|
160
|
-
type: "
|
|
95
|
+
"id_user": 51,
|
|
96
|
+
"name": "ADMIN PRUEBA",
|
|
97
|
+
"last_name": "",
|
|
98
|
+
"email": "etc@contentoh.com",
|
|
99
|
+
"position": "",
|
|
100
|
+
"telephone": "",
|
|
101
|
+
"country": "",
|
|
102
|
+
"id_company": 2,
|
|
103
|
+
"id_cognito": "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
|
|
104
|
+
"birth_Date": null,
|
|
105
|
+
"about_me": "",
|
|
106
|
+
"zip_code": "",
|
|
107
|
+
"address": "",
|
|
108
|
+
"job": "",
|
|
109
|
+
"id_stripe": "",
|
|
110
|
+
"id_role": 1,
|
|
111
|
+
"active": 1,
|
|
112
|
+
"is_retailer": 0,
|
|
113
|
+
"email_notify": 1,
|
|
114
|
+
"is_user_tech": null,
|
|
115
|
+
"membership": {
|
|
116
|
+
"id": 2,
|
|
117
|
+
"start_date": "2021-11-05T02:35:12.000Z",
|
|
118
|
+
"end_date": "2022-11-05T02:34:49.000Z",
|
|
119
|
+
"planID": 1,
|
|
120
|
+
"plan": "prod_KtkvuFFLpOdP6e",
|
|
121
|
+
"name": "Plan Free",
|
|
122
|
+
"user_limit": "1",
|
|
123
|
+
"products_limit": "3",
|
|
124
|
+
"type": "PyMES"
|
|
161
125
|
},
|
|
162
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-51/51.png?
|
|
126
|
+
"src": "https://content-management-profile.s3.amazonaws.com/id-51/51.png?1682016291518"
|
|
163
127
|
}
|
|
164
128
|
};
|
|
@@ -1258,7 +1258,7 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
|
1258
1258
|
})) === null || _servicesData$find === void 0 ? void 0 : (_servicesData$find$st = _servicesData$find.status) === null || _servicesData$find$st === void 0 ? void 0 : _servicesData$find$st.replace(/.*\//, ""); //sessionStorage product
|
|
1259
1259
|
|
|
1260
1260
|
var adminFacilitatorCanEvaluate = retailerStatus === "IE" && [1, 4, 5].includes(user.id_role);
|
|
1261
|
-
var adminAuditorCanEvaluate = ["AC", "RP", "RCA"].includes(retailerStatus) && [1, 6].includes(user.id_role);
|
|
1261
|
+
var adminAuditorCanEvaluate = ["AC", "RP", "RCA", "SAC"].includes(retailerStatus) && [1, 6].includes(user.id_role);
|
|
1262
1262
|
return adminFacilitatorCanEvaluate || adminAuditorCanEvaluate;
|
|
1263
1263
|
};
|
|
1264
1264
|
|
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ export const Container = styled.div`
|
|
|
23
23
|
|
|
24
24
|
&.status-R,
|
|
25
25
|
&.status-AS,
|
|
26
|
+
&.status-SAC,
|
|
26
27
|
&.status-PA {
|
|
27
28
|
background-color: ${GlobalColors.reception};
|
|
28
29
|
}
|
|
@@ -30,6 +31,7 @@ export const Container = styled.div`
|
|
|
30
31
|
&.status-AA,
|
|
31
32
|
&.status-AP,
|
|
32
33
|
&.status-AC,
|
|
34
|
+
&.status-AAC,
|
|
33
35
|
&.status-ACA {
|
|
34
36
|
background-color: ${GlobalColors.finished};
|
|
35
37
|
}
|
|
@@ -37,6 +39,7 @@ export const Container = styled.div`
|
|
|
37
39
|
&.status-RA,
|
|
38
40
|
&.status-RC,
|
|
39
41
|
&.status-RP,
|
|
42
|
+
&.status-RAC,
|
|
40
43
|
&.status-RCA {
|
|
41
44
|
background-color: ${GlobalColors.rejected_status};
|
|
42
45
|
}
|
|
@@ -47,6 +50,7 @@ export const Container = styled.div`
|
|
|
47
50
|
background-color: ${GlobalColors.s4};
|
|
48
51
|
}
|
|
49
52
|
|
|
53
|
+
&.status-FAP,
|
|
50
54
|
&.status-Ex {
|
|
51
55
|
background-color: ${GlobalColors.exported};
|
|
52
56
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { BrowserRouter as Router } from "react-router-dom";
|
|
1
3
|
import {
|
|
2
4
|
Container,
|
|
3
5
|
NavLinkOption,
|
|
@@ -6,14 +8,12 @@ import {
|
|
|
6
8
|
} from "./styles";
|
|
7
9
|
import iconLogoContentoh from "../../../assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg";
|
|
8
10
|
import iconLogo from "../../../assets/images/verticalSideMenuMainPage/iconLogo.svg";
|
|
9
|
-
import React, { useState } from "react";
|
|
10
|
-
import { BrowserRouter as Router } from "react-router-dom";
|
|
11
11
|
|
|
12
12
|
export const VerticalSideMenuMainPage = ({
|
|
13
13
|
menuoption = [],
|
|
14
14
|
containerdash,
|
|
15
15
|
}) => {
|
|
16
|
-
const [trueBar, setTrueBar] = useState();
|
|
16
|
+
const [trueBar, setTrueBar] = useState(false);
|
|
17
17
|
return (
|
|
18
18
|
<Router>
|
|
19
19
|
<ContainerPrincipal>
|
|
@@ -27,29 +27,25 @@ export const VerticalSideMenuMainPage = ({
|
|
|
27
27
|
src={trueBar ? iconLogoContentoh : iconLogo}
|
|
28
28
|
alt="Logo"
|
|
29
29
|
className="logo"
|
|
30
|
-
|
|
30
|
+
/>
|
|
31
31
|
<div className="option">
|
|
32
32
|
{menuoption.map((item, index) => (
|
|
33
|
-
<div key={index}
|
|
34
|
-
<NavLinkOption to={item.path} bar={trueBar}>
|
|
33
|
+
<div key={index} className="option-div">
|
|
34
|
+
<NavLinkOption to={item.path} bar={trueBar.toString()}>
|
|
35
35
|
<img src={item.icon} alt={item.title}></img>
|
|
36
|
-
{trueBar
|
|
36
|
+
{trueBar ? <p>{item.title}</p> : null}
|
|
37
37
|
</NavLinkOption>
|
|
38
|
-
{item
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</div>
|
|
50
|
-
))}
|
|
51
|
-
</>
|
|
52
|
-
)}
|
|
38
|
+
{item?.suboption?.map((subitem, index) => (
|
|
39
|
+
<div className="sub-option" key={index}>
|
|
40
|
+
<NavLinkOption
|
|
41
|
+
to={subitem.path}
|
|
42
|
+
className="sub-option-link"
|
|
43
|
+
bar={trueBar.toString()}
|
|
44
|
+
>
|
|
45
|
+
{trueBar ? subitem.title : null}
|
|
46
|
+
</NavLinkOption>
|
|
47
|
+
</div>
|
|
48
|
+
))}
|
|
53
49
|
</div>
|
|
54
50
|
))}
|
|
55
51
|
</div>
|
|
@@ -9,7 +9,7 @@ export const Container = styled.div`
|
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
overflow: none;
|
|
12
|
-
width: ${({ bar }) => (bar ?
|
|
12
|
+
width: ${({ bar }) => (bar ? "240px" : "66px")};
|
|
13
13
|
background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);
|
|
14
14
|
scrollbar-width: none;
|
|
15
15
|
display: flex;
|
|
@@ -65,7 +65,7 @@ export const NavLinkOption = styled(NavLink)`
|
|
|
65
65
|
color: ${({ bar }) => (bar ? "#fafafa" : "transparent")};
|
|
66
66
|
text-decoration: none;
|
|
67
67
|
cursor: pointer;
|
|
68
|
-
padding: ${({ bar }) => (bar ? "0
|
|
68
|
+
padding: ${({ bar }) => (bar ? "0 22px" : "0 8px")};
|
|
69
69
|
&:hover {
|
|
70
70
|
background: rgba(255, 255, 255, 0.2);
|
|
71
71
|
color: #fafafa;
|
|
@@ -94,7 +94,6 @@ export const NavLinkOption = styled(NavLink)`
|
|
|
94
94
|
border-radius: 0;
|
|
95
95
|
transition: color 0.3s linear;
|
|
96
96
|
color: ${({ bar }) => (bar ? "#f0eef2" : "transparent")};
|
|
97
|
-
padding-top: 14px;
|
|
98
97
|
height: 25px;
|
|
99
98
|
margin: 0;
|
|
100
99
|
padding-left: 12px;
|
|
@@ -106,7 +105,7 @@ export const NavLinkOption = styled(NavLink)`
|
|
|
106
105
|
height: 10px;
|
|
107
106
|
background-color: white;
|
|
108
107
|
position: absolute;
|
|
109
|
-
|
|
108
|
+
top: 13;
|
|
110
109
|
left: -6px;
|
|
111
110
|
}
|
|
112
111
|
&.active {
|
|
@@ -27,6 +27,16 @@ export const MessageContainer = styled.div`
|
|
|
27
27
|
min-height: ${(props) => (props.height ? "300px" : "190px")};
|
|
28
28
|
background: #281f33;
|
|
29
29
|
border-radius: 39px;
|
|
30
|
+
& > .generic-text {
|
|
31
|
+
width: 100%;
|
|
32
|
+
font-family: Raleway;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: normal;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
text-align: center;
|
|
37
|
+
color: #f7f7f7;
|
|
38
|
+
margin: 20px 0px;
|
|
39
|
+
}
|
|
30
40
|
`;
|
|
31
41
|
export const TextArea = styled.textarea`
|
|
32
42
|
display: block;
|
|
@@ -84,7 +84,6 @@ export const TableResizable = (props) => {
|
|
|
84
84
|
<table className="resizeable-table" ref={tableElement}>
|
|
85
85
|
<thead>
|
|
86
86
|
<tr>
|
|
87
|
-
{console.log({ columns })}
|
|
88
87
|
{columns?.map(({ ref, text }, i) => (
|
|
89
88
|
<th ref={ref} key={i}>
|
|
90
89
|
<span>{text}</span>
|
|
@@ -100,7 +99,6 @@ export const TableResizable = (props) => {
|
|
|
100
99
|
</tr>
|
|
101
100
|
</thead>
|
|
102
101
|
<tbody>
|
|
103
|
-
{console.log({ tableContent })}
|
|
104
102
|
{tableContent.map((row) => (
|
|
105
103
|
<tr key={row.key}>
|
|
106
104
|
{row?.columns?.map((column, indexColumn) => (
|
|
@@ -9,83 +9,59 @@ const Template = (args) => <Dashboard {...args} />;
|
|
|
9
9
|
export const DashboardDeafult = Template.bind({});
|
|
10
10
|
DashboardDeafult.args = {
|
|
11
11
|
user: {
|
|
12
|
-
id_user:
|
|
13
|
-
name: "
|
|
14
|
-
last_name: "
|
|
15
|
-
email: "
|
|
16
|
-
position: "
|
|
17
|
-
telephone: "
|
|
18
|
-
country: "
|
|
19
|
-
id_company:
|
|
20
|
-
id_cognito: "
|
|
12
|
+
id_user: 51,
|
|
13
|
+
name: "ADMIN PRUEBA",
|
|
14
|
+
last_name: "",
|
|
15
|
+
email: "etc@contentoh.com",
|
|
16
|
+
position: "",
|
|
17
|
+
telephone: "",
|
|
18
|
+
country: "",
|
|
19
|
+
id_company: 2,
|
|
20
|
+
id_cognito: "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
|
|
21
21
|
birth_Date: null,
|
|
22
22
|
about_me: "",
|
|
23
23
|
zip_code: "",
|
|
24
24
|
address: "",
|
|
25
25
|
job: "",
|
|
26
26
|
id_stripe: "",
|
|
27
|
-
id_role:
|
|
27
|
+
id_role: 1,
|
|
28
28
|
active: 1,
|
|
29
|
-
is_retailer:
|
|
30
|
-
email_notify:
|
|
29
|
+
is_retailer: 0,
|
|
30
|
+
email_notify: 1,
|
|
31
31
|
is_user_tech: null,
|
|
32
32
|
membership: {
|
|
33
|
-
id:
|
|
34
|
-
start_date: "
|
|
35
|
-
end_date: "
|
|
36
|
-
planID:
|
|
37
|
-
plan: "
|
|
38
|
-
name: "Plan
|
|
39
|
-
user_limit: "
|
|
40
|
-
products_limit: "
|
|
33
|
+
id: 2,
|
|
34
|
+
start_date: "2021-11-05T02:35:12.000Z",
|
|
35
|
+
end_date: "2022-11-05T02:34:49.000Z",
|
|
36
|
+
planID: 1,
|
|
37
|
+
plan: "prod_KtkvuFFLpOdP6e",
|
|
38
|
+
name: "Plan Free",
|
|
39
|
+
user_limit: "1",
|
|
40
|
+
products_limit: "3",
|
|
41
41
|
type: "PyMES",
|
|
42
42
|
},
|
|
43
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
43
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-51/51.png?1681499918721",
|
|
44
44
|
},
|
|
45
45
|
company: {
|
|
46
|
-
id_company:
|
|
47
|
-
trade_name: "
|
|
48
|
-
company_name: "
|
|
49
|
-
rfc:
|
|
50
|
-
adress:
|
|
46
|
+
id_company: 2,
|
|
47
|
+
trade_name: "Content-oh!",
|
|
48
|
+
company_name: "Content-oh!",
|
|
49
|
+
rfc: null,
|
|
50
|
+
adress: null,
|
|
51
51
|
about_company: null,
|
|
52
52
|
telephone: null,
|
|
53
53
|
web_site: null,
|
|
54
54
|
zip_code: null,
|
|
55
55
|
email: null,
|
|
56
56
|
social_link: null,
|
|
57
|
-
is_retailer:
|
|
58
|
-
financedRetailers: [
|
|
59
|
-
{
|
|
60
|
-
id: 68,
|
|
61
|
-
name: "The Home Depot Merchants",
|
|
62
|
-
country: "México",
|
|
63
|
-
id_region: 1,
|
|
64
|
-
active: 1,
|
|
65
|
-
},
|
|
66
|
-
],
|
|
57
|
+
is_retailer: 0,
|
|
67
58
|
retailers: [
|
|
68
59
|
{
|
|
69
|
-
id:
|
|
70
|
-
name:
|
|
71
|
-
country:
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
id: 60,
|
|
75
|
-
name: "The Home Depot Resizing",
|
|
76
|
-
country: "México",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: 61,
|
|
80
|
-
name: "Home Depot TAB",
|
|
81
|
-
country: "México",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
id: 68,
|
|
85
|
-
name: "The Home Depot Merchants",
|
|
86
|
-
country: "México",
|
|
60
|
+
id: null,
|
|
61
|
+
name: null,
|
|
62
|
+
country: null,
|
|
87
63
|
},
|
|
88
64
|
],
|
|
89
65
|
},
|
|
90
|
-
jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
66
|
+
jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhNmM0ZD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