contentoh-components-library 21.3.54 → 21.3.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/.env.development +0 -2
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- package/dist/components/organisms/Chat/Chat.stories.js +1 -21
- package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +191 -343
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +3 -48
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/pages/Dashboard/Dashboard.stories.js +41 -34
- package/dist/components/pages/Dashboard/index.js +2 -2
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +127 -172
- package/dist/components/pages/ProviderProductEdition/index.js +129 -188
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +78 -75
- package/dist/components/pages/RetailerProductEdition/index.js +296 -287
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
- package/package.json +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- package/src/components/organisms/Chat/Chat.stories.js +0 -21
- package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
- package/src/components/organisms/Chat/ContainerItems/styles.js +2 -10
- package/src/components/organisms/Chat/ContentChat/index.js +6 -81
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +3 -47
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/OrderDetail/index.js +0 -1
- package/src/components/pages/Dashboard/Dashboard.stories.js +43 -34
- package/src/components/pages/Dashboard/index.js +2 -2
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +130 -177
- package/src/components/pages/ProviderProductEdition/index.js +55 -105
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +74 -69
- package/src/components/pages/RetailerProductEdition/index.js +157 -129
- package/src/components/pages/RetailerProductEdition/styles.js +0 -4
- package/src/components/pages/RetailerProductEdition/utils.js +0 -37
|
@@ -9,45 +9,45 @@ 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: 133,
|
|
13
|
+
name: "Financiado Bodega",
|
|
14
|
+
last_name: "Aurrera",
|
|
15
|
+
email: "financiadobodega@allfreemail.net",
|
|
16
|
+
position: "TI",
|
|
17
|
+
telephone: "+527777777777",
|
|
18
|
+
country: "México",
|
|
19
|
+
id_company: 912,
|
|
20
|
+
id_cognito: "25481a4f-e8c7-4104-b772-64fdb291a640",
|
|
21
21
|
birth_Date: null,
|
|
22
|
-
about_me:
|
|
23
|
-
zip_code:
|
|
24
|
-
address:
|
|
25
|
-
job:
|
|
26
|
-
id_stripe:
|
|
27
|
-
id_role:
|
|
22
|
+
about_me: null,
|
|
23
|
+
zip_code: null,
|
|
24
|
+
address: null,
|
|
25
|
+
job: null,
|
|
26
|
+
id_stripe: null,
|
|
27
|
+
id_role: 0,
|
|
28
28
|
active: 1,
|
|
29
29
|
is_retailer: 0,
|
|
30
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: "
|
|
41
|
-
type: "
|
|
33
|
+
id: 101,
|
|
34
|
+
start_date: "2022-12-22T19:16:53.000Z",
|
|
35
|
+
end_date: "2023-12-22T19:16:53.000Z",
|
|
36
|
+
planID: 8,
|
|
37
|
+
plan: "prod_KtlhECVSFG2iro",
|
|
38
|
+
name: "Plan Pro",
|
|
39
|
+
user_limit: "20",
|
|
40
|
+
products_limit: "5000",
|
|
41
|
+
type: "Enterprise",
|
|
42
42
|
},
|
|
43
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
43
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-133/133.png?1684388625309",
|
|
44
44
|
},
|
|
45
45
|
company: {
|
|
46
|
-
id_company:
|
|
47
|
-
trade_name: "
|
|
48
|
-
company_name: "
|
|
49
|
-
rfc:
|
|
50
|
-
adress:
|
|
46
|
+
id_company: 912,
|
|
47
|
+
trade_name: "Financiado Bodega",
|
|
48
|
+
company_name: "Bodega",
|
|
49
|
+
rfc: "9395jwhs",
|
|
50
|
+
adress: "Toluca",
|
|
51
51
|
about_company: null,
|
|
52
52
|
telephone: null,
|
|
53
53
|
web_site: null,
|
|
@@ -55,13 +55,22 @@ DashboardDeafult.args = {
|
|
|
55
55
|
email: null,
|
|
56
56
|
social_link: null,
|
|
57
57
|
is_retailer: 0,
|
|
58
|
+
financedRetailers: [
|
|
59
|
+
{
|
|
60
|
+
id: 70,
|
|
61
|
+
name: "Bodega Aurrera",
|
|
62
|
+
country: "México",
|
|
63
|
+
id_region: 1,
|
|
64
|
+
active: 1,
|
|
65
|
+
},
|
|
66
|
+
],
|
|
58
67
|
retailers: [
|
|
59
68
|
{
|
|
60
|
-
id:
|
|
61
|
-
name:
|
|
62
|
-
country:
|
|
69
|
+
id: 70,
|
|
70
|
+
name: "Bodega Aurrera",
|
|
71
|
+
country: "México",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joiZmluYW5jaWFkb2JvZGVnYUBhbGxmcmVlbWFpbC5uZXQifQ.kYOldsvuUQofyxyDtxzVHBKVSbnPp5MK0VHrPsMCOf6Xe5rbo834kJGIVVO4ztguTHkHakKE0o3IQimLH5E8IAk8lX8olm9vTcxwpnlxOOVjePGrMAx2rwJS6Oi_45qE18whJdD_tXxceoZsU4hdDc_zQp64DUac3SfIPjs2ClyGCr66nO1VNXKYSTVGVQgV3Tcx65ah3m04GEsnpwAckUxmfKIws9FGsWl_CalkYG3HMR84psAIEA3kSYpiSF_biOySrXpX6H1HZjLRRR_6-P0AxNVZ6kmVTYbSO4vgmbEsO_feoDwtIxPWc3O7htOcevCAM8KyjmmQwlI52y4caQ",
|
|
67
76
|
};
|
|
@@ -252,7 +252,7 @@ export const Dashboard = ({ jwt, user, company }) => {
|
|
|
252
252
|
setParameterArray={setDatesRange}
|
|
253
253
|
isSingleSelect
|
|
254
254
|
/>
|
|
255
|
-
{providers?.length > 0 && (
|
|
255
|
+
{company.financedRetailers[0].id !== 70 && providers?.length > 0 && (
|
|
256
256
|
<CustomSelect
|
|
257
257
|
showFilterString={true}
|
|
258
258
|
showSearchBar={true}
|
|
@@ -276,7 +276,7 @@ export const Dashboard = ({ jwt, user, company }) => {
|
|
|
276
276
|
setParameterArray={setCategoryId}
|
|
277
277
|
defaultOption="Todas las categorías"
|
|
278
278
|
/>
|
|
279
|
-
{retailers?.length > 1 && (
|
|
279
|
+
{company.financedRetailers[0].id !== 70 && retailers?.length > 1 && (
|
|
280
280
|
<CustomSelect
|
|
281
281
|
showFilterString={true}
|
|
282
282
|
showSearchBar={true}
|
|
@@ -16,194 +16,120 @@ ProviderProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: false,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
19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VVteTyLfhPHFCymrkFYYDB8bVvKnxUUCX_nJvqGQkl48JiYgvYVLpuus5FvRkGwi1u-jTtMoKiUK-jw9MxI18hD0FWXVnJr-q9ftf2d0bv4JRv4XJ_tRh1N6jps5n3c_KKZswqRfGLU-8MS2X3DU6pDqEP2BZAGXksiFYXYH_uHE6BKJAl7EEhkDTqZsx_jWtVSXTdDg_QDKrOw0Kg",
|
|
20
20
|
articleId: 238,
|
|
21
21
|
category: 846,
|
|
22
22
|
version: 2,
|
|
23
23
|
productSelected: {
|
|
24
|
-
orderId:
|
|
25
|
-
|
|
26
|
-
datasheet_status: "
|
|
24
|
+
orderId: 15165,
|
|
25
|
+
article_status: "AAC",
|
|
26
|
+
datasheet_status: "AAC",
|
|
27
|
+
description_status: "FAP",
|
|
28
|
+
images_status: "FAP",
|
|
27
29
|
prio: "none",
|
|
28
30
|
version: 3,
|
|
29
|
-
|
|
30
|
-
images_status: "AA",
|
|
31
|
-
brand: "Garnier",
|
|
32
|
-
retailerOrder: 0,
|
|
33
|
-
missing: {
|
|
34
|
-
datasheet: null,
|
|
35
|
-
descriptions: null,
|
|
36
|
-
images: null,
|
|
37
|
-
},
|
|
38
|
-
services: {
|
|
39
|
-
datasheets: 1,
|
|
40
|
-
descriptions: 1,
|
|
41
|
-
images: 1,
|
|
42
|
-
},
|
|
31
|
+
brand: null,
|
|
43
32
|
article: {
|
|
44
|
-
category:
|
|
45
|
-
|
|
46
|
-
|
|
33
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
34
|
+
company_name: "Demo",
|
|
35
|
+
id_company: 923,
|
|
47
36
|
country: "México",
|
|
48
|
-
id_category: "
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
id_description_facilitator: 52,
|
|
53
|
-
id_images_especialist: 55,
|
|
54
|
-
id_images_facilitator: 53,
|
|
55
|
-
id_order: 15142,
|
|
56
|
-
id_article: 39270,
|
|
57
|
-
id_auditor: 37,
|
|
58
|
-
name: "Acondicionador Garnier Fructis 650 ml",
|
|
59
|
-
timestamp: "2023-03-27T18:37:48.000Z",
|
|
60
|
-
upc: "750955287656712",
|
|
37
|
+
id_category: "2366",
|
|
38
|
+
id_article: 39336,
|
|
39
|
+
name: "Prueba Auditoria",
|
|
40
|
+
upc: "100030124",
|
|
61
41
|
},
|
|
62
42
|
retailers: [
|
|
63
43
|
{
|
|
64
|
-
id:
|
|
65
|
-
name: "
|
|
44
|
+
id: 58,
|
|
45
|
+
name: "The Home Depot Golden",
|
|
66
46
|
},
|
|
67
47
|
{
|
|
68
|
-
id:
|
|
69
|
-
name: "
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
id: 63,
|
|
73
|
-
name: "DAX",
|
|
48
|
+
id: 68,
|
|
49
|
+
name: "The Home Depot Dropship",
|
|
74
50
|
},
|
|
75
51
|
],
|
|
52
|
+
services: {
|
|
53
|
+
datasheets: 1,
|
|
54
|
+
descriptions: 1,
|
|
55
|
+
images: 1,
|
|
56
|
+
},
|
|
76
57
|
statusByRetailer: {
|
|
77
|
-
|
|
78
|
-
datasheet: "
|
|
79
|
-
description: "
|
|
80
|
-
images: "
|
|
81
|
-
},
|
|
82
|
-
29: {
|
|
83
|
-
datasheet: "AA",
|
|
84
|
-
description: "AA",
|
|
85
|
-
images: "AA",
|
|
86
|
-
},
|
|
87
|
-
63: {
|
|
88
|
-
datasheet: "AA",
|
|
89
|
-
description: "AA",
|
|
90
|
-
images: "AA",
|
|
58
|
+
58: {
|
|
59
|
+
datasheet: "AAC",
|
|
60
|
+
description: "FAP",
|
|
61
|
+
images: "FAP",
|
|
91
62
|
},
|
|
92
63
|
},
|
|
93
|
-
|
|
64
|
+
retailersWithService: ["58"],
|
|
65
|
+
id_article: 39336,
|
|
94
66
|
retailersAvailable: [
|
|
95
67
|
{
|
|
96
|
-
id:
|
|
97
|
-
name: "
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
id: 29,
|
|
101
|
-
name: "Farmacias del Ahorro",
|
|
68
|
+
id: 58,
|
|
69
|
+
name: "The Home Depot Golden",
|
|
102
70
|
},
|
|
103
71
|
{
|
|
104
|
-
id:
|
|
105
|
-
name: "
|
|
72
|
+
id: 68,
|
|
73
|
+
name: "The Home Depot Dropship",
|
|
106
74
|
},
|
|
107
75
|
],
|
|
108
|
-
categoryName:
|
|
109
|
-
"Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
110
|
-
upc: "750955287656712",
|
|
111
|
-
id_article: 39270,
|
|
112
|
-
id_order: 15142,
|
|
113
76
|
},
|
|
114
77
|
productToEdit: {
|
|
115
|
-
ArticleId:
|
|
116
|
-
idCategory: "
|
|
78
|
+
ArticleId: 39336,
|
|
79
|
+
idCategory: "2366",
|
|
117
80
|
product: {
|
|
118
|
-
orderId:
|
|
119
|
-
|
|
120
|
-
datasheet_status: "
|
|
81
|
+
orderId: 15165,
|
|
82
|
+
article_status: "AAC",
|
|
83
|
+
datasheet_status: "AAC",
|
|
84
|
+
description_status: "FAP",
|
|
85
|
+
images_status: "FAP",
|
|
121
86
|
prio: "none",
|
|
122
87
|
version: 3,
|
|
123
|
-
|
|
124
|
-
images_status: "AA",
|
|
125
|
-
brand: "Garnier",
|
|
126
|
-
retailerOrder: 0,
|
|
127
|
-
missing: {
|
|
128
|
-
datasheet: null,
|
|
129
|
-
descriptions: null,
|
|
130
|
-
images: null,
|
|
131
|
-
},
|
|
132
|
-
services: {
|
|
133
|
-
datasheets: 1,
|
|
134
|
-
descriptions: 1,
|
|
135
|
-
images: 1,
|
|
136
|
-
},
|
|
88
|
+
brand: null,
|
|
137
89
|
article: {
|
|
138
|
-
category:
|
|
139
|
-
|
|
140
|
-
|
|
90
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
91
|
+
company_name: "Demo",
|
|
92
|
+
id_company: 923,
|
|
141
93
|
country: "México",
|
|
142
|
-
id_category: "
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
id_description_facilitator: 52,
|
|
147
|
-
id_images_especialist: 55,
|
|
148
|
-
id_images_facilitator: 53,
|
|
149
|
-
id_order: 15142,
|
|
150
|
-
id_article: 39270,
|
|
151
|
-
id_auditor: 37,
|
|
152
|
-
name: "Acondicionador Garnier Fructis 650 ml",
|
|
153
|
-
timestamp: "2023-03-27T18:37:48.000Z",
|
|
154
|
-
upc: "750955287656712",
|
|
94
|
+
id_category: "2366",
|
|
95
|
+
id_article: 39336,
|
|
96
|
+
name: "Prueba Auditoria",
|
|
97
|
+
upc: "100030124",
|
|
155
98
|
},
|
|
156
99
|
retailers: [
|
|
157
100
|
{
|
|
158
|
-
id:
|
|
159
|
-
name: "
|
|
101
|
+
id: 58,
|
|
102
|
+
name: "The Home Depot Golden",
|
|
160
103
|
},
|
|
161
104
|
{
|
|
162
|
-
id:
|
|
163
|
-
name: "
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
id: 63,
|
|
167
|
-
name: "DAX",
|
|
105
|
+
id: 68,
|
|
106
|
+
name: "The Home Depot Dropship",
|
|
168
107
|
},
|
|
169
108
|
],
|
|
109
|
+
services: {
|
|
110
|
+
datasheets: 1,
|
|
111
|
+
descriptions: 1,
|
|
112
|
+
images: 1,
|
|
113
|
+
},
|
|
170
114
|
statusByRetailer: {
|
|
171
|
-
|
|
172
|
-
datasheet: "
|
|
173
|
-
description: "
|
|
174
|
-
images: "
|
|
175
|
-
},
|
|
176
|
-
29: {
|
|
177
|
-
datasheet: "AA",
|
|
178
|
-
description: "AA",
|
|
179
|
-
images: "AA",
|
|
180
|
-
},
|
|
181
|
-
63: {
|
|
182
|
-
datasheet: "AA",
|
|
183
|
-
description: "AA",
|
|
184
|
-
images: "AA",
|
|
115
|
+
58: {
|
|
116
|
+
datasheet: "AAC",
|
|
117
|
+
description: "FAP",
|
|
118
|
+
images: "FAP",
|
|
185
119
|
},
|
|
186
120
|
},
|
|
187
|
-
|
|
121
|
+
retailersWithService: ["58"],
|
|
122
|
+
id_article: 39336,
|
|
188
123
|
retailersAvailable: [
|
|
189
124
|
{
|
|
190
|
-
id:
|
|
191
|
-
name: "
|
|
125
|
+
id: 58,
|
|
126
|
+
name: "The Home Depot Golden",
|
|
192
127
|
},
|
|
193
128
|
{
|
|
194
|
-
id:
|
|
195
|
-
name: "
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
id: 63,
|
|
199
|
-
name: "DAX",
|
|
129
|
+
id: 68,
|
|
130
|
+
name: "The Home Depot Dropship",
|
|
200
131
|
},
|
|
201
132
|
],
|
|
202
|
-
categoryName:
|
|
203
|
-
"Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
204
|
-
upc: "750955287656712",
|
|
205
|
-
id_article: 39270,
|
|
206
|
-
id_order: 15142,
|
|
207
133
|
},
|
|
208
134
|
},
|
|
209
135
|
location: {
|
|
@@ -212,63 +138,90 @@ ProviderProductEditionDefault.args = {
|
|
|
212
138
|
hash: "",
|
|
213
139
|
state: {
|
|
214
140
|
withChat: true,
|
|
215
|
-
chatType: "product_status",
|
|
216
|
-
origin: "RequestWithContentoh",
|
|
217
141
|
},
|
|
218
142
|
key: "24vwut",
|
|
219
143
|
},
|
|
220
144
|
user: {
|
|
221
|
-
id_user:
|
|
222
|
-
name: "
|
|
223
|
-
last_name: "
|
|
224
|
-
email: "
|
|
225
|
-
position: "
|
|
145
|
+
id_user: 59,
|
|
146
|
+
name: "Cadena",
|
|
147
|
+
last_name: "Comercial",
|
|
148
|
+
email: "cadena.ismael@allfreemail.net",
|
|
149
|
+
position: "Admin",
|
|
226
150
|
telephone: "+523111366336",
|
|
227
151
|
country: "México",
|
|
228
|
-
id_company:
|
|
229
|
-
id_cognito: "
|
|
152
|
+
id_company: 817,
|
|
153
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
230
154
|
birth_Date: null,
|
|
231
155
|
about_me: "",
|
|
232
156
|
zip_code: "",
|
|
233
157
|
address: "",
|
|
234
158
|
job: "",
|
|
235
|
-
id_stripe: "
|
|
159
|
+
id_stripe: "",
|
|
236
160
|
id_role: 0,
|
|
237
161
|
active: 1,
|
|
238
|
-
is_retailer:
|
|
239
|
-
email_notify:
|
|
240
|
-
is_user_tech:
|
|
162
|
+
is_retailer: 1,
|
|
163
|
+
email_notify: 0,
|
|
164
|
+
is_user_tech: null,
|
|
241
165
|
membership: {
|
|
242
|
-
id:
|
|
243
|
-
start_date: "2022-
|
|
244
|
-
end_date: "2023-
|
|
245
|
-
planID:
|
|
246
|
-
plan: "
|
|
166
|
+
id: 47,
|
|
167
|
+
start_date: "2022-05-25T14:31:12.000Z",
|
|
168
|
+
end_date: "2023-05-25T14:31:12.000Z",
|
|
169
|
+
planID: 5,
|
|
170
|
+
plan: "prod_Ktl6B5Ou2gqTB2",
|
|
247
171
|
name: "Plan Pro",
|
|
248
|
-
user_limit: "
|
|
249
|
-
products_limit: "
|
|
250
|
-
type: "
|
|
172
|
+
user_limit: "5",
|
|
173
|
+
products_limit: "500",
|
|
174
|
+
type: "PyMES",
|
|
251
175
|
},
|
|
252
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
176
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1682462786497",
|
|
253
177
|
},
|
|
254
178
|
company: {
|
|
255
|
-
id_company:
|
|
256
|
-
trade_name: "
|
|
257
|
-
company_name: "
|
|
258
|
-
rfc: "
|
|
259
|
-
adress: "
|
|
260
|
-
about_company:
|
|
261
|
-
telephone:
|
|
262
|
-
web_site:
|
|
263
|
-
zip_code:
|
|
179
|
+
id_company: 817,
|
|
180
|
+
trade_name: "Retailer acc",
|
|
181
|
+
company_name: "Retailer acc",
|
|
182
|
+
rfc: "ASER12345",
|
|
183
|
+
adress: "Av. Insurgentes",
|
|
184
|
+
about_company: null,
|
|
185
|
+
telephone: null,
|
|
186
|
+
web_site: null,
|
|
187
|
+
zip_code: null,
|
|
264
188
|
email: null,
|
|
265
|
-
social_link:
|
|
266
|
-
is_retailer:
|
|
189
|
+
social_link: null,
|
|
190
|
+
is_retailer: 1,
|
|
191
|
+
financedRetailers: [
|
|
192
|
+
{
|
|
193
|
+
id: 68,
|
|
194
|
+
name: "The Home Depot Dropship",
|
|
195
|
+
country: "México",
|
|
196
|
+
id_region: 1,
|
|
197
|
+
active: 1,
|
|
198
|
+
},
|
|
199
|
+
],
|
|
267
200
|
retailers: [
|
|
268
201
|
{
|
|
269
|
-
id:
|
|
270
|
-
name:
|
|
271
|
-
country:
|
|
202
|
+
id: 59,
|
|
203
|
+
name: "The Home Depot Platinum",
|
|
204
|
+
country: "México",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: 60,
|
|
208
|
+
name: "The Home Depot Resizing",
|
|
209
|
+
country: "México",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
id: 61,
|
|
213
|
+
name: "Home Depot TAB",
|
|
214
|
+
country: "México",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
id: 68,
|
|
218
|
+
name: "The Home Depot Dropship",
|
|
219
|
+
country: "México",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
id: 58,
|
|
223
|
+
name: "The Home Depot Golden",
|
|
224
|
+
country: "México",
|
|
272
225
|
},
|
|
273
226
|
],
|
|
274
227
|
},
|