contentoh-components-library 21.5.22 → 21.5.23

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.
@@ -31,44 +31,125 @@ ProviderProductEditionDefault.args = {
31
31
  "Ficha técnica": true,
32
32
  Imágenes: true
33
33
  },
34
- token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIwZjQyNDdkZi1mMDJmLTRjYjgtOTA5YS1lNjI2NDlkMzQ3ODIiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjBmNDI0N2RmLWYwMmYtNGNiOC05MDlhLWU2MjY0OWQzNDc4MiIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJjYjg3YzdjZC0yMDVlLTQ0ZmEtYWJhZi00OTIyNzE5Mzk2ZWEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTcwNjk4OTIwMSwibmFtZSI6IlByb3ZlZWRvciBVbm8gUmFkaW9zaGFjayIsInBob25lX251bWJlciI6Iis1MjEyMzQ1Njc4OTgiLCJleHAiOjE3MDY5OTI4MDEsImlhdCI6MTcwNjk4OTIwMSwiZW1haWwiOiJw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CwibmFtZSI6IlByb3ZlZWRvciBQcnVlYmEiLCJwaG9uZV9udW1iZXIiOiIrNTI1NTM5MDA2NTcwIiwiZXhwIjoxNzE4ODIzODYwLCJpYXQiOjE3MTg4MjAyNjAsImVtYWlsIjoibGltYW43NDAyNkBtbnFsbS5jb20ifQ.j4PhSKzZ0yb_5QyXYh_vviA-zbMhJc_wE3yqFErlrPsCZsqY43hx-fvEwwOJnzqwNlPFms6kZbddaGPVu0jnGw8TmiaKtoDVOmui_db8DuWGDHLPQhPZNeoM_g5qKY8H7ZIClGSOohj_61XDrJBYQf9utcimiPGkCHET4_3mq1cSfKm9Sk_jd9q5_zblODT2gzC3SnLcD9JBxh1cj6sIL5oBCVxcwbgdAVM82xo2OL9qMCoUomRlvMTOQ7b3LjATS88ZAx4lrLuLHQjMEnYmRFYbsE4kii9JkvBYo9PE6U9F944C1W8toyELGvXjI4Lp5LjpQCr141Z-KohqXeoYww",
35
+ articleId: 127595,
36
+ category: "2902",
37
+ version: 3,
38
38
  productSelected: {
39
- id_article: 121151,
40
- upc: "92384234",
41
- name: "Comentarios visibles",
42
- timestamp: "2024-02-03T04:11:35.000Z",
43
- categoryName: "Audio|Audífonos|In Ear",
44
- id_category: 905,
45
- version: 1,
46
- reviewState: "rejected_to_provider",
39
+ orderId: 8086,
40
+ status: "AA",
41
+ datasheet_status: "AA",
42
+ prio: "none",
43
+ version: 3,
44
+ description_status: "AA",
45
+ images_status: "AA",
46
+ brand: null,
47
+ retailerOrder: 0,
48
+ missing: {
49
+ datasheet: null,
50
+ descriptions: null,
51
+ images: null
52
+ },
53
+ services: {
54
+ datasheets: 1,
55
+ descriptions: 1,
56
+ images: 1
57
+ },
58
+ article: {
59
+ category: "Navidad|Decoración Interior|Mallas y Listones",
60
+ company_name: "THD IMPORTACIONES",
61
+ country: null,
62
+ id_category: "2902",
63
+ id_datasheet_especialist: 2757,
64
+ id_datasheet_facilitator: null,
65
+ id_description_especialist: 2757,
66
+ id_description_facilitator: null,
67
+ id_images_especialist: 1259,
68
+ id_images_facilitator: null,
69
+ id_order: 8086,
70
+ id_article: 127595,
71
+ id_auditor: 514,
72
+ name: "LISTON DECORATIVO DISNEY 5M 2 ESTILOS",
73
+ timestamp: "2024-06-05T14:30:33.000Z",
74
+ upc: "214715"
75
+ },
76
+ retailers: [{
77
+ id: 58
78
+ }],
79
+ statusByRetailer: {
80
+ "58": {
81
+ datasheet: "AA",
82
+ description: "AA",
83
+ images: "AA"
84
+ }
85
+ },
47
86
  retailersAvailable: [{
48
- name: "Radioshack",
49
- id: 74
87
+ id: 58
50
88
  }],
51
- percentage: 100
89
+ categoryName: "Navidad|Decoración Interior|Mallas y Listones",
90
+ upc: "214715",
91
+ id_article: 127595,
92
+ id_order: 8086
52
93
  },
53
94
  productToEdit: {
54
- idCategory: 905,
55
- ArticleId: 121151,
56
- product: [{
57
- id_article: 121151,
58
- upc: "92384234",
59
- name: "Comentarios visibles",
60
- timestamp: "2024-02-03T04:11:35.000Z",
61
- categoryName: "Audio|Audífonos|In Ear",
62
- id_category: 905,
63
- version: 1,
64
- reviewState: "rejected_to_provider",
95
+ ArticleId: 127595,
96
+ idCategory: "2902",
97
+ product: {
98
+ orderId: 8086,
99
+ status: "AA",
100
+ datasheet_status: "AA",
101
+ prio: "none",
102
+ version: 3,
103
+ description_status: "AA",
104
+ images_status: "AA",
105
+ brand: null,
106
+ retailerOrder: 0,
107
+ missing: {
108
+ datasheet: null,
109
+ descriptions: null,
110
+ images: null
111
+ },
112
+ services: {
113
+ datasheets: 1,
114
+ descriptions: 1,
115
+ images: 1
116
+ },
117
+ article: {
118
+ category: "Navidad|Decoración Interior|Mallas y Listones",
119
+ company_name: "THD IMPORTACIONES",
120
+ country: null,
121
+ id_category: "2902",
122
+ id_datasheet_especialist: 2757,
123
+ id_datasheet_facilitator: null,
124
+ id_description_especialist: 2757,
125
+ id_description_facilitator: null,
126
+ id_images_especialist: 1259,
127
+ id_images_facilitator: null,
128
+ id_order: 8086,
129
+ id_article: 127595,
130
+ id_auditor: 514,
131
+ name: "LISTON DECORATIVO DISNEY 5M 2 ESTILOS",
132
+ timestamp: "2024-06-05T14:30:33.000Z",
133
+ upc: "214715"
134
+ },
135
+ retailers: [{
136
+ id: 58
137
+ }],
138
+ statusByRetailer: {
139
+ "58": {
140
+ datasheet: "AA",
141
+ description: "AA",
142
+ images: "AA"
143
+ }
144
+ },
65
145
  retailersAvailable: [{
66
- name: "Radioshack",
67
- id: 74,
68
- percentage: 100
146
+ id: 58
69
147
  }],
70
- percentage: 100
71
- }]
148
+ categoryName: "Navidad|Decoración Interior|Mallas y Listones",
149
+ upc: "214715",
150
+ id_article: 127595,
151
+ id_order: 8086
152
+ }
72
153
  },
73
154
  location: {
74
155
  pathname: "/EditProducts",
@@ -82,21 +163,21 @@ ProviderProductEditionDefault.args = {
82
163
  key: "24vwut"
83
164
  },
84
165
  user: {
85
- id_user: 350,
86
- name: "Proveedor Uno",
87
- last_name: "Radioshack",
88
- email: "proveedorradioshackuno@allfreemail.net",
89
- position: "proveedor",
90
- telephone: "+521234567898",
166
+ id_user: 419,
167
+ name: "Proveedor",
168
+ last_name: "Prueba",
169
+ email: "liman74026@mnqlm.com",
170
+ position: "Cliente",
171
+ telephone: "5539006570",
91
172
  country: "México",
92
- id_company: 950,
93
- id_cognito: "0f4247df-f02f-4cb8-909a-e62649d34782",
94
- birth_Date: null,
173
+ id_company: 535,
174
+ id_cognito: "62379e99-5296-4add-8927-5c56facd9dbc",
175
+ birth_Date: "2021-08-30T00:00:00.000Z",
95
176
  about_me: null,
96
- zip_code: null,
97
- address: null,
177
+ zip_code: "53000",
178
+ address: "Av 16 de Septiembre #27",
98
179
  job: null,
99
- id_stripe: null,
180
+ id_stripe: "cus_KBCZoGEdXpxqVS",
100
181
  id_role: 0,
101
182
  active: 1,
102
183
  is_retailer: 0,
@@ -104,24 +185,24 @@ ProviderProductEditionDefault.args = {
104
185
  is_user_tech: null,
105
186
  is_onboarding: 0,
106
187
  membership: {
107
- id: 146,
108
- start_date: "2023-10-14T00:49:16.000Z",
109
- end_date: "2024-10-14T00:49:16.000Z",
188
+ id: 1119,
189
+ start_date: "2022-06-20T13:35:19.000Z",
190
+ end_date: "2022-06-20T08:35:10.000Z",
110
191
  planID: 8,
111
- plan: "prod_KtlhECVSFG2iro",
192
+ plan: "prod_KvGeJs0E9cSO4y",
112
193
  name: "Plan Pro",
113
194
  user_limit: "50",
114
195
  products_limit: "5000",
115
196
  type: "Enterprise"
116
197
  },
117
- src: "https://content-management-profile.s3.amazonaws.com/id-350/350.png?1706989203277"
198
+ src: "https://content-management-profile-prod.s3.amazonaws.com/id-419/419.png?1718820261153"
118
199
  },
119
200
  company: {
120
- id_company: 950,
121
- trade_name: "Radioshack",
122
- company_name: "Radioshack",
123
- rfc: "ASDASD",
124
- adress: "CDMX",
201
+ id_company: 535,
202
+ trade_name: "THD IMPORTACIONES",
203
+ company_name: "THD IMPORTACIONES",
204
+ rfc: null,
205
+ adress: null,
125
206
  about_company: null,
126
207
  telephone: null,
127
208
  web_site: null,
@@ -130,20 +211,30 @@ ProviderProductEditionDefault.args = {
130
211
  social_link: null,
131
212
  is_retailer: 0,
132
213
  financedRetailers: [{
133
- id: 74,
134
- name: "Radioshack",
214
+ id: 58,
215
+ name: "The Home Depot Golden",
216
+ country: "México",
217
+ id_region: 1,
218
+ active: 1
219
+ }, {
220
+ id: 59,
221
+ name: "The Home Depot Platinum",
135
222
  country: "México",
136
223
  id_region: 1,
137
- active: 1,
138
- flow: 1
224
+ active: 1
139
225
  }],
140
226
  retailers: [{
141
- id: 74,
142
- name: "Radioshack",
227
+ id: 58,
228
+ name: "The Home Depot Golden",
229
+ country: "México",
230
+ id_region: 1,
231
+ active: 1
232
+ }, {
233
+ id: 59,
234
+ name: "The Home Depot Platinum",
143
235
  country: "México",
144
236
  id_region: 1,
145
- active: 1,
146
- flow: 1
237
+ active: 1
147
238
  }]
148
239
  },
149
240
  showSurvey: function showSurvey(v) {
@@ -1562,33 +1562,46 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
1562
1562
  };
1563
1563
 
1564
1564
  var createComment = /*#__PURE__*/function () {
1565
- var _ref16 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
1566
- var messages,
1567
- retailerId,
1568
- data,
1569
- _args15 = arguments;
1565
+ var _ref16 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(e, body, tab) {
1566
+ var concept, data;
1570
1567
  return _regenerator.default.wrap(function _callee15$(_context15) {
1571
1568
  while (1) {
1572
1569
  switch (_context15.prev = _context15.next) {
1573
1570
  case 0:
1574
- messages = _args15.length > 0 && _args15[0] !== undefined ? _args15[0] : [];
1575
- retailerId = _args15.length > 1 ? _args15[1] : undefined;
1571
+ concept = "";
1572
+ _context15.t0 = activeTab;
1573
+ _context15.next = _context15.t0 === "Ficha técnica" ? 4 : _context15.t0 === "Imágenes" ? 6 : 8;
1574
+ break;
1575
+
1576
+ case 4:
1577
+ concept = "datasheet";
1578
+ return _context15.abrupt("break", 10);
1579
+
1580
+ case 6:
1581
+ concept = "images";
1582
+ return _context15.abrupt("break", 10);
1583
+
1584
+ case 8:
1585
+ concept = "description";
1586
+ return _context15.abrupt("break", 10);
1587
+
1588
+ case 10:
1576
1589
  data = {
1577
- paramsBody: {
1578
- id: product.article.id_article || productEdit.ArticleId,
1579
- version: version,
1580
- items: messages,
1581
- retailerId: retailerId,
1582
- status: product.status || productEdit.product.status
1583
- },
1584
- paramsHeader: {
1590
+ articleId: product === null || product === void 0 ? void 0 : product.id_article,
1591
+ orderId: product === null || product === void 0 ? void 0 : product.orderId,
1592
+ message: body,
1593
+ concept: concept,
1594
+ version: version
1595
+ };
1596
+ console.log('comentario:', data.message);
1597
+ _context15.next = 14;
1598
+ return _axios.default.post("".concat(process.env.REACT_APP_COMMENTS_ENDPOINT), data, {
1599
+ headers: {
1585
1600
  Authorization: token
1586
1601
  }
1587
- };
1588
- setMessage("");
1589
- return _context15.abrupt("return", (0, _utils.sendMessage)(data));
1602
+ });
1590
1603
 
1591
- case 5:
1604
+ case 14:
1592
1605
  case "end":
1593
1606
  return _context15.stop();
1594
1607
  }
@@ -1596,7 +1609,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
1596
1609
  }, _callee15);
1597
1610
  }));
1598
1611
 
1599
- return function createComment() {
1612
+ return function createComment(_x4, _x5, _x6) {
1600
1613
  return _ref16.apply(this, arguments);
1601
1614
  };
1602
1615
  }();
@@ -1695,7 +1708,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
1695
1708
  }, _callee17);
1696
1709
  }));
1697
1710
 
1698
- return function setAssignation(_x4, _x5) {
1711
+ return function setAssignation(_x7, _x8) {
1699
1712
  return _ref18.apply(this, arguments);
1700
1713
  };
1701
1714
  }();
@@ -1884,7 +1897,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
1884
1897
  }, _callee18, null, [[9, 33]]);
1885
1898
  }));
1886
1899
 
1887
- return function sendEvaluation(_x6) {
1900
+ return function sendEvaluation(_x9) {
1888
1901
  return _ref19.apply(this, arguments);
1889
1902
  };
1890
1903
  }();
@@ -1975,7 +1988,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
1975
1988
  }, _callee19, null, [[0, 27]]);
1976
1989
  }));
1977
1990
 
1978
- return function validateAll(_x7) {
1991
+ return function validateAll(_x10) {
1979
1992
  return _ref20.apply(this, arguments);
1980
1993
  };
1981
1994
  }();
@@ -2022,7 +2035,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
2022
2035
  }, _callee20);
2023
2036
  }));
2024
2037
 
2025
- return function evaluationToRetailer(_x8) {
2038
+ return function evaluationToRetailer(_x11) {
2026
2039
  return _ref21.apply(this, arguments);
2027
2040
  };
2028
2041
  }();
@@ -2332,7 +2345,52 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
2332
2345
  headerType: "input-name-header"
2333
2346
  }))]
2334
2347
  })
2335
- }), !(isRevision() && getSectionStatus()) && !revision && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
2348
+ }), isRevision() && getSectionStatus() ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
2349
+ className: "commentary-box",
2350
+ children: !comment ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
2351
+ className: "commentary",
2352
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.TagAndInput, {
2353
+ label: "Caja de Comentario",
2354
+ inputType: "textarea",
2355
+ inputCols: 80,
2356
+ inputRows: 4,
2357
+ inputId: "commentary-box",
2358
+ index: 0
2359
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
2360
+ className: "buttons-box",
2361
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
2362
+ buttonType: "general-transparent-button",
2363
+ label: "Enviar comentario",
2364
+ onClick: function onClick(e) {
2365
+ createComment(e, document.querySelector("#commentary-box .ql-container .ql-editor > p").innerHTML, activeTab);
2366
+ }
2367
+ })
2368
+ })]
2369
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
2370
+ className: "feedback-box",
2371
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Commentary.Commentary, {
2372
+ comment: comment.message,
2373
+ reviewed: crossComment
2374
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
2375
+ buttonType: "circular-button accept-button",
2376
+ onClick: /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
2377
+ return _regenerator.default.wrap(function _callee21$(_context21) {
2378
+ while (1) {
2379
+ switch (_context21.prev = _context21.next) {
2380
+ case 0:
2381
+ setCrossComment(true);
2382
+ commentRevised();
2383
+
2384
+ case 2:
2385
+ case "end":
2386
+ return _context21.stop();
2387
+ }
2388
+ }
2389
+ }, _callee21);
2390
+ }))
2391
+ })]
2392
+ })
2393
+ }) : !revision && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
2336
2394
  className: "required-inputs-message",
2337
2395
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
2338
2396
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
@@ -2412,18 +2470,18 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
2412
2470
  type: "pink",
2413
2471
  label: "Aceptar",
2414
2472
  size: 12,
2415
- onClick: /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
2473
+ onClick: /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
2416
2474
  var body, messages;
2417
- return _regenerator.default.wrap(function _callee21$(_context21) {
2475
+ return _regenerator.default.wrap(function _callee22$(_context22) {
2418
2476
  while (1) {
2419
- switch (_context21.prev = _context21.next) {
2477
+ switch (_context22.prev = _context22.next) {
2420
2478
  case 0:
2421
2479
  body = document.querySelector("#modal-message-box .ql-container .ql-editor > p").innerHTML;
2422
2480
  messages = [{
2423
2481
  type: "message",
2424
2482
  value: body === null || body === void 0 ? void 0 : body.replace(/<.*?\/?>/gm, "")
2425
2483
  }];
2426
- _context21.next = 4;
2484
+ _context22.next = 4;
2427
2485
  return createComment(messages, activeRetailer.id);
2428
2486
 
2429
2487
  case 4:
@@ -2432,10 +2490,10 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
2432
2490
 
2433
2491
  case 6:
2434
2492
  case "end":
2435
- return _context21.stop();
2493
+ return _context22.stop();
2436
2494
  }
2437
2495
  }
2438
- }, _callee21);
2496
+ }, _callee22);
2439
2497
  }))
2440
2498
  }, "btn-Aceptar")]
2441
2499
  })]
@@ -31,49 +31,49 @@ RetailerProductEditionDefault.args = {
31
31
  "Ficha técnica": false,
32
32
  Imágenes: false
33
33
  },
34
- token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNT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
38
  descriptions: 1,
39
39
  images: 1
40
40
  },
41
- orderId: 7961,
41
+ orderId: 8086,
42
42
  status: "RP",
43
43
  datasheet_status: "AA",
44
44
  prio: "none",
45
45
  version: 3,
46
- description_status: "RP",
47
- images_status: "AA",
46
+ description_status: "AA",
47
+ images_status: "RA",
48
48
  statusByRetailer: {
49
49
  "58": {
50
50
  datasheet: "AA",
51
- description: "RP",
52
- images: "AA"
51
+ description: "AA",
52
+ images: "RA/CA"
53
53
  }
54
54
  },
55
55
  article: {
56
- id_article: 126855,
57
- id_category: "3066",
58
- name: "ORGANIZADOR 3 CUBOS ITALIA 92 X 33 X 30 CM",
59
- upc: "217141",
60
- timestamp: "2024-05-17T18:52:34.000Z",
61
- id_user: 1636,
56
+ id_article: 127595,
57
+ id_category: "2902",
58
+ name: "LISTON DECORATIVO DISNEY 5M 2 ESTILOS",
59
+ upc: "214715",
60
+ timestamp: "2024-06-05T14:29:41.000Z",
61
+ id_user: 673,
62
62
  status: null,
63
63
  active: 1,
64
- company_id: 315,
65
- company_name: "MADERAS Y DISEÑOS DEL NORTE S.A. DE C.V.",
66
- country: "México",
67
- id_order: 7961,
64
+ company_id: 535,
65
+ company_name: "THD IMPORTACIONES",
66
+ country: null,
67
+ id_order: 8086,
68
68
  id_datasheet_especialist: 2757,
69
69
  id_datasheet_facilitator: null,
70
70
  id_description_especialist: 2757,
71
71
  id_description_facilitator: null,
72
- id_images_especialist: 1251,
72
+ id_images_especialist: 1259,
73
73
  id_images_facilitator: null,
74
74
  id_auditor: 514,
75
75
  id_recepcionist: null,
76
- category: "Muebles|Muebles para Oficina y Gamer|Libreros",
76
+ category: "Navidad|Decoración Interior|Mallas y Listones",
77
77
  missingAttributes: 0,
78
78
  missingDescriptions: 0,
79
79
  missingImages: 0
@@ -82,8 +82,8 @@ RetailerProductEditionDefault.args = {
82
82
  id: 58,
83
83
  name: "The Home Depot Golden"
84
84
  }],
85
- country: "México",
86
- upc: "217141"
85
+ country: "",
86
+ upc: "214715"
87
87
  },
88
88
  // location: {
89
89
  // product: { articleId: 126855, versionId: 3 },