contentoh-components-library 21.5.78 → 21.5.81
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/ai/utils/compare-strings.js +43 -0
- package/dist/components/atoms/GeneralInput/index.js +64 -36
- package/dist/components/atoms/GeneralInput/styles.js +1 -1
- package/dist/components/atoms/InputFormatter/index.js +45 -21
- package/dist/components/atoms/InputFormatter/styles.js +1 -1
- package/dist/components/molecules/StatusAsignationInfo/index.js +11 -1
- package/dist/components/molecules/TagAndInput/index.js +110 -29
- package/dist/components/molecules/TagAndInput/styles.js +2 -2
- package/dist/components/organisms/InputGroup/index.js +22 -18
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +92 -785
- package/dist/components/pages/RetailerProductEdition/context/provider-product-edition.context.js +59 -260
- package/dist/components/pages/RetailerProductEdition/context/reducers/product.js +3 -41
- package/dist/components/pages/RetailerProductEdition/index.js +191 -123
- package/dist/contexts/AiProductEdition.js +179 -155
- package/package.json +1 -1
- package/src/ai/utils/compare-strings.js +43 -0
- package/src/components/atoms/GeneralInput/index.js +63 -42
- package/src/components/atoms/GeneralInput/styles.js +7 -0
- package/src/components/atoms/InputFormatter/index.js +51 -23
- package/src/components/atoms/InputFormatter/styles.js +62 -10
- package/src/components/molecules/StatusAsignationInfo/index.js +9 -1
- package/src/components/molecules/TagAndInput/index.js +113 -28
- package/src/components/molecules/TagAndInput/styles.js +48 -17
- package/src/components/organisms/FullTabsMenu/index.js +1 -1
- package/src/components/organisms/InputGroup/index.js +4 -0
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +111 -832
- package/src/components/pages/RetailerProductEdition/context/provider-product-edition.context.jsx +3 -221
- package/src/components/pages/RetailerProductEdition/context/reducers/product.js +3 -43
- package/src/components/pages/RetailerProductEdition/index.js +17 -15
- package/src/contexts/AiProductEdition.jsx +138 -96
- package/src/ai/prompts/attribute.prompt.js +0 -46
- package/src/ai/prompts/description.prompt.js +0 -52
- package/src/ai/schemas/attribute.schema.js +0 -23
- package/src/ai/schemas/description.schema.js +0 -19
|
@@ -76,9 +76,9 @@ RetailerProductEditionDefault.args = {
|
|
|
76
76
|
"company_name": "COLGATE PALMOLIVE S.A. DE C.V.",
|
|
77
77
|
"country": "México",
|
|
78
78
|
"id_order": 10284,
|
|
79
|
-
"id_datasheet_especialist":
|
|
79
|
+
"id_datasheet_especialist": 426,
|
|
80
80
|
"id_datasheet_facilitator": null,
|
|
81
|
-
"id_description_especialist":
|
|
81
|
+
"id_description_especialist": 426,
|
|
82
82
|
"id_description_facilitator": null,
|
|
83
83
|
"id_images_especialist": 3008,
|
|
84
84
|
"id_images_facilitator": null,
|
|
@@ -184,816 +184,123 @@ RetailerProductEditionDefault.args = {
|
|
|
184
184
|
},
|
|
185
185
|
"retailers": [{
|
|
186
186
|
"id": 4,
|
|
187
|
-
"name": "Walmart Super y Superama"
|
|
188
|
-
"datasheets": [],
|
|
189
|
-
"descriptions": []
|
|
187
|
+
"name": "Walmart Super y Superama"
|
|
190
188
|
}, {
|
|
191
189
|
"id": 5,
|
|
192
|
-
"name": "Chedraui"
|
|
193
|
-
"datasheets": [],
|
|
194
|
-
"descriptions": []
|
|
190
|
+
"name": "Chedraui"
|
|
195
191
|
}, {
|
|
196
192
|
"id": 6,
|
|
197
|
-
"name": "HEB"
|
|
198
|
-
"datasheets": [],
|
|
199
|
-
"descriptions": []
|
|
193
|
+
"name": "HEB"
|
|
200
194
|
}, {
|
|
201
195
|
"id": 8,
|
|
202
|
-
"name": "Fragua"
|
|
203
|
-
"datasheets": [],
|
|
204
|
-
"descriptions": []
|
|
196
|
+
"name": "Fragua"
|
|
205
197
|
}, {
|
|
206
198
|
"id": 12,
|
|
207
|
-
"name": "La Comer"
|
|
208
|
-
"datasheets": [],
|
|
209
|
-
"descriptions": []
|
|
199
|
+
"name": "La Comer"
|
|
210
200
|
}, {
|
|
211
201
|
"id": 13,
|
|
212
|
-
"name": "Soriana"
|
|
213
|
-
"datasheets": [],
|
|
214
|
-
"descriptions": []
|
|
202
|
+
"name": "Soriana"
|
|
215
203
|
}, {
|
|
216
204
|
"id": 16,
|
|
217
|
-
"name": "Rappi"
|
|
218
|
-
"datasheets": [],
|
|
219
|
-
"descriptions": []
|
|
205
|
+
"name": "Rappi"
|
|
220
206
|
}, {
|
|
221
207
|
"id": 17,
|
|
222
|
-
"name": "Genérico"
|
|
223
|
-
"datasheets": [],
|
|
224
|
-
"descriptions": []
|
|
208
|
+
"name": "Genérico"
|
|
225
209
|
}, {
|
|
226
210
|
"id": 20,
|
|
227
|
-
"name": "Cornershop"
|
|
228
|
-
"datasheets": [],
|
|
229
|
-
"descriptions": []
|
|
211
|
+
"name": "Cornershop"
|
|
230
212
|
}, {
|
|
231
213
|
"id": 24,
|
|
232
|
-
"name": "Alsuper"
|
|
233
|
-
"datasheets": [{
|
|
234
|
-
"id": 1516,
|
|
235
|
-
"name": "Capacidad (ml, gr)",
|
|
236
|
-
"min_chars": null,
|
|
237
|
-
"max_chars": 200,
|
|
238
|
-
"type": "Alfanumérico",
|
|
239
|
-
"id_group": 4,
|
|
240
|
-
"commercial_model": 1,
|
|
241
|
-
"active": 1,
|
|
242
|
-
"required": true,
|
|
243
|
-
"description": "Indica el contenido del producto en gramos o mililitros.",
|
|
244
|
-
"option_list": null,
|
|
245
|
-
"value": "900 ml",
|
|
246
|
-
"onb_estatus": 1,
|
|
247
|
-
"onb_comentarios": null
|
|
248
|
-
}, {
|
|
249
|
-
"id": 43567,
|
|
250
|
-
"name": "Color | Sabor | Aroma",
|
|
251
|
-
"min_chars": null,
|
|
252
|
-
"max_chars": 999,
|
|
253
|
-
"type": "Alfanumérico",
|
|
254
|
-
"id_group": 6,
|
|
255
|
-
"commercial_model": 1,
|
|
256
|
-
"active": 1,
|
|
257
|
-
"required": false,
|
|
258
|
-
"description": "Indicar el color, sabor, aroma del producto",
|
|
259
|
-
"option_list": null,
|
|
260
|
-
"value": "Limón",
|
|
261
|
-
"onb_estatus": 1,
|
|
262
|
-
"onb_comentarios": null
|
|
263
|
-
}, {
|
|
264
|
-
"id": 43607,
|
|
265
|
-
"name": "Keywords",
|
|
266
|
-
"min_chars": null,
|
|
267
|
-
"max_chars": 1200,
|
|
268
|
-
"type": "Alfanumérico",
|
|
269
|
-
"id_group": 6,
|
|
270
|
-
"commercial_model": 1,
|
|
271
|
-
"active": 1,
|
|
272
|
-
"required": true,
|
|
273
|
-
"description": "Palabras cortas con el que el cliente puede identificar los pordcutos de una manera fácil y cotidiana, separadas por coma",
|
|
274
|
-
"option_list": null,
|
|
275
|
-
"value": "Limpiador, Axion, limpiador lavatrastes, limpiador, limpiador con limón, Axion limpiador, limón, Axion 900 ml, limpiador de 900 ml, lavatrastes líquido",
|
|
276
|
-
"onb_estatus": 1,
|
|
277
|
-
"onb_comentarios": null
|
|
278
|
-
}, {
|
|
279
|
-
"id": 357,
|
|
280
|
-
"name": "Marca del Producto",
|
|
281
|
-
"min_chars": null,
|
|
282
|
-
"max_chars": 99,
|
|
283
|
-
"type": "Alfanumérico",
|
|
284
|
-
"id_group": 6,
|
|
285
|
-
"commercial_model": 1,
|
|
286
|
-
"active": 1,
|
|
287
|
-
"required": true,
|
|
288
|
-
"description": "Marca comercial",
|
|
289
|
-
"option_list": null,
|
|
290
|
-
"value": "Axion",
|
|
291
|
-
"onb_estatus": 1,
|
|
292
|
-
"onb_comentarios": null
|
|
293
|
-
}, {
|
|
294
|
-
"id": 43565,
|
|
295
|
-
"name": "SKU Alsuper",
|
|
296
|
-
"min_chars": null,
|
|
297
|
-
"max_chars": 30,
|
|
298
|
-
"type": "Alfanumérico",
|
|
299
|
-
"id_group": 6,
|
|
300
|
-
"commercial_model": 1,
|
|
301
|
-
"active": 1,
|
|
302
|
-
"required": true,
|
|
303
|
-
"description": "Indicar el SKU Alsuper que le corresponde al producto",
|
|
304
|
-
"option_list": null,
|
|
305
|
-
"value": "402201",
|
|
306
|
-
"onb_estatus": 1,
|
|
307
|
-
"onb_comentarios": null
|
|
308
|
-
}, {
|
|
309
|
-
"id": 558,
|
|
310
|
-
"name": "Submarca",
|
|
311
|
-
"min_chars": null,
|
|
312
|
-
"max_chars": 999,
|
|
313
|
-
"type": "Alfanumérico",
|
|
314
|
-
"id_group": 6,
|
|
315
|
-
"commercial_model": 1,
|
|
316
|
-
"active": 1,
|
|
317
|
-
"id_retailer": 24,
|
|
318
|
-
"required": false,
|
|
319
|
-
"description": "Línea o Submarca asignada",
|
|
320
|
-
"option_list": null
|
|
321
|
-
}, {
|
|
322
|
-
"id": 747,
|
|
323
|
-
"name": "Tipo de Empaque",
|
|
324
|
-
"min_chars": null,
|
|
325
|
-
"max_chars": 99,
|
|
326
|
-
"type": "Alfanumérico",
|
|
327
|
-
"id_group": 6,
|
|
328
|
-
"commercial_model": 1,
|
|
329
|
-
"active": 1,
|
|
330
|
-
"required": false,
|
|
331
|
-
"description": "Especificar el tipo de empaque individual que presenta el producto Ej. Caja, Bptella, Pack, etc",
|
|
332
|
-
"option_list": null,
|
|
333
|
-
"value": "Botella",
|
|
334
|
-
"onb_estatus": 1,
|
|
335
|
-
"onb_comentarios": null
|
|
336
|
-
}, {
|
|
337
|
-
"id": 753,
|
|
338
|
-
"name": "Tipo de Producto",
|
|
339
|
-
"min_chars": null,
|
|
340
|
-
"max_chars": 99,
|
|
341
|
-
"type": "Alfanumérico",
|
|
342
|
-
"id_group": 6,
|
|
343
|
-
"commercial_model": 1,
|
|
344
|
-
"active": 1,
|
|
345
|
-
"required": true,
|
|
346
|
-
"description": "Especificar el tipo de producto.",
|
|
347
|
-
"option_list": null,
|
|
348
|
-
"value": "Lavatrastes",
|
|
349
|
-
"onb_estatus": 1,
|
|
350
|
-
"onb_comentarios": null
|
|
351
|
-
}, {
|
|
352
|
-
"id": 4026,
|
|
353
|
-
"name": "Unidad de Venta",
|
|
354
|
-
"min_chars": null,
|
|
355
|
-
"max_chars": 999,
|
|
356
|
-
"type": "Alfanumérico",
|
|
357
|
-
"id_group": 6,
|
|
358
|
-
"commercial_model": 1,
|
|
359
|
-
"active": 1,
|
|
360
|
-
"required": false,
|
|
361
|
-
"description": "Especificar como se vende el producto. Ej: Por pieza, por caja, por m2, por paquete de # cantidad de productos, por bolsa, etc",
|
|
362
|
-
"option_list": null,
|
|
363
|
-
"value": "Pieza",
|
|
364
|
-
"onb_estatus": 1,
|
|
365
|
-
"onb_comentarios": null
|
|
366
|
-
}, {
|
|
367
|
-
"id": 683,
|
|
368
|
-
"name": "UPC",
|
|
369
|
-
"min_chars": null,
|
|
370
|
-
"max_chars": 14,
|
|
371
|
-
"type": "Numérico",
|
|
372
|
-
"id_group": 6,
|
|
373
|
-
"commercial_model": 1,
|
|
374
|
-
"active": 1,
|
|
375
|
-
"required": true,
|
|
376
|
-
"description": "Código de Barras del Producto, GTIN, UPC",
|
|
377
|
-
"option_list": null,
|
|
378
|
-
"value": "7509546052977",
|
|
379
|
-
"onb_estatus": 1,
|
|
380
|
-
"onb_comentarios": null
|
|
381
|
-
}, {
|
|
382
|
-
"id": 320,
|
|
383
|
-
"name": "Ingredientes",
|
|
384
|
-
"min_chars": null,
|
|
385
|
-
"max_chars": 2000,
|
|
386
|
-
"type": "Alfanumérico",
|
|
387
|
-
"id_group": 11,
|
|
388
|
-
"commercial_model": 1,
|
|
389
|
-
"active": 1,
|
|
390
|
-
"required": true,
|
|
391
|
-
"description": "Ingredientes de elaboración del producto",
|
|
392
|
-
"option_list": null,
|
|
393
|
-
"value": "Agua, Alquibenceno sulfonato de sodio, Lauret sulfato de sodio, , Óxidos de amina, Agentes de viscosidad, y PH, Surfactante no iónico, Perfume, Quelante, Colorante, Conservador.",
|
|
394
|
-
"onb_estatus": 1,
|
|
395
|
-
"onb_comentarios": null
|
|
396
|
-
}, {
|
|
397
|
-
"id": 43608,
|
|
398
|
-
"name": "Beneficios del Producto 1",
|
|
399
|
-
"min_chars": null,
|
|
400
|
-
"max_chars": 100,
|
|
401
|
-
"type": "Alfanumérico",
|
|
402
|
-
"id_group": 12,
|
|
403
|
-
"commercial_model": 1,
|
|
404
|
-
"active": 1,
|
|
405
|
-
"required": true,
|
|
406
|
-
"description": "Oración corta con un beneficio, contraindiciación o fácil de llamar la atención del cliente",
|
|
407
|
-
"option_list": null,
|
|
408
|
-
"value": "Rinde para más de 1300 platos",
|
|
409
|
-
"onb_estatus": 1,
|
|
410
|
-
"onb_comentarios": null
|
|
411
|
-
}, {
|
|
412
|
-
"id": 43609,
|
|
413
|
-
"name": "Beneficios del Producto 2",
|
|
414
|
-
"min_chars": null,
|
|
415
|
-
"max_chars": 100,
|
|
416
|
-
"type": "Alfanumérico",
|
|
417
|
-
"id_group": 12,
|
|
418
|
-
"commercial_model": 1,
|
|
419
|
-
"active": 1,
|
|
420
|
-
"required": true,
|
|
421
|
-
"description": "Oración corta con un beneficio, contraindiciación o fácil de llamar la atención del cliente",
|
|
422
|
-
"option_list": null,
|
|
423
|
-
"value": "Elimina los malos olores causados por bacterias",
|
|
424
|
-
"onb_estatus": 1,
|
|
425
|
-
"onb_comentarios": null
|
|
426
|
-
}, {
|
|
427
|
-
"id": 43610,
|
|
428
|
-
"name": "Beneficios del Producto 3",
|
|
429
|
-
"min_chars": null,
|
|
430
|
-
"max_chars": 100,
|
|
431
|
-
"type": "Alfanumérico",
|
|
432
|
-
"id_group": 12,
|
|
433
|
-
"commercial_model": 1,
|
|
434
|
-
"active": 1,
|
|
435
|
-
"required": true,
|
|
436
|
-
"description": "Oración corta con un beneficio, contraindiciación o fácil de llamar la atención del cliente",
|
|
437
|
-
"option_list": null,
|
|
438
|
-
"value": "Espuma poderosa que arranca la grasa",
|
|
439
|
-
"onb_estatus": 1,
|
|
440
|
-
"onb_comentarios": null
|
|
441
|
-
}],
|
|
442
|
-
"descriptions": [{
|
|
443
|
-
"id_version": 34,
|
|
444
|
-
"id": 43566,
|
|
445
|
-
"id_retailer": 24,
|
|
446
|
-
"name": "Descripción de producto Alsuper",
|
|
447
|
-
"id_description_type": 2,
|
|
448
|
-
"description": "Indica la descripción con la que área comercial del Alsuper dio de alta el artículo",
|
|
449
|
-
"min_words": null,
|
|
450
|
-
"max_words": null,
|
|
451
|
-
"min_chars": null,
|
|
452
|
-
"max_chars": 90,
|
|
453
|
-
"type": "Alfanumérico",
|
|
454
|
-
"active": 1,
|
|
455
|
-
"required": true,
|
|
456
|
-
"value": "Elimina la grasa con menos tallado con el lavatrastes Axion de 900 ml"
|
|
457
|
-
}, {
|
|
458
|
-
"id_version": 34,
|
|
459
|
-
"id": 43568,
|
|
460
|
-
"id_retailer": 24,
|
|
461
|
-
"name": "Nombre comercial del producto Alsuper",
|
|
462
|
-
"id_description_type": 1,
|
|
463
|
-
"description": "Indica el nombre comercial del producto como se muestra en piso de venta",
|
|
464
|
-
"min_words": null,
|
|
465
|
-
"max_words": null,
|
|
466
|
-
"min_chars": null,
|
|
467
|
-
"max_chars": 999,
|
|
468
|
-
"type": "Alfanumérico",
|
|
469
|
-
"active": 1,
|
|
470
|
-
"required": true,
|
|
471
|
-
"value": "Lavatrastes"
|
|
472
|
-
}, {
|
|
473
|
-
"id_version": 34,
|
|
474
|
-
"id": 43569,
|
|
475
|
-
"id_retailer": 24,
|
|
476
|
-
"name": "Header del producto Alsuper",
|
|
477
|
-
"id_description_type": 1,
|
|
478
|
-
"description": "Nombre + Sabor|Color|Aroma+ Marca+ Subamrca+ Capacidad de Empaque",
|
|
479
|
-
"min_words": null,
|
|
480
|
-
"max_words": null,
|
|
481
|
-
"min_chars": null,
|
|
482
|
-
"max_chars": 999,
|
|
483
|
-
"type": "Alfanumérico",
|
|
484
|
-
"active": 1,
|
|
485
|
-
"required": true,
|
|
486
|
-
"value": "Lavatrastes Axion Limón 900 ml"
|
|
487
|
-
}, {
|
|
488
|
-
"id_version": 34,
|
|
489
|
-
"id": 1777,
|
|
490
|
-
"id_retailer": 24,
|
|
491
|
-
"name": "Descripción Comercial del Producto Alsuper",
|
|
492
|
-
"id_description_type": 3,
|
|
493
|
-
"description": "Texto llamativo o romántico sobre el producto. Se resaltan beneficios, propiedades únicas, formas de uso, tamaño e ingredientes. Se escribe de manera familiar para el cliente",
|
|
494
|
-
"min_words": null,
|
|
495
|
-
"max_words": 155,
|
|
496
|
-
"min_chars": null,
|
|
497
|
-
"max_chars": 1024,
|
|
498
|
-
"type": "Alfanumérico",
|
|
499
|
-
"active": 1,
|
|
500
|
-
"required": true,
|
|
501
|
-
"value": "Axion Limón, un Detergente líquido que ofrece un rendimiento superior. Su potente fórmula está diseñada para crear una poderosa espuma arrancagrasa que no solo limpia a fondo, sino que elimina malos olores, dejando tus trastes rechinando de limpios. Una botella de 900 mililitros es suficiente para lavar una cantidad impresionante de más de 1300 platos, lo que lo convierte en una solución duradera para tu hogar.\n\nLa versatilidad de Axion te permite elegir cómo usarlo. Aplica unas gotas directamente sobre la esponja para un uso concentrado que ataca la grasa más pegada. Para el lavado diario de toda tu vajilla, puedes diluir el producto para hacerlo rendir más y te ayudará a hacer la tarea de forma más eficiente.\n\nSu acción efectiva te permite lograr una limpieza profunda con menos esfuerzo de tallado, mientras su aroma a limón deja una fragancia refrescante, asegurando que tus trastes no solo se vean, sino que también huelan a limpios."
|
|
502
|
-
}]
|
|
214
|
+
"name": "Alsuper"
|
|
503
215
|
}, {
|
|
504
216
|
"id": 29,
|
|
505
|
-
"name": "Farmacias del Ahorro"
|
|
506
|
-
"datasheets": [],
|
|
507
|
-
"descriptions": []
|
|
217
|
+
"name": "Farmacias del Ahorro"
|
|
508
218
|
}, {
|
|
509
219
|
"id": 36,
|
|
510
|
-
"name": "Oxxo"
|
|
511
|
-
"datasheets": [],
|
|
512
|
-
"descriptions": []
|
|
220
|
+
"name": "Oxxo"
|
|
513
221
|
}],
|
|
514
222
|
"country": "México",
|
|
515
|
-
"upc": "7509546052977"
|
|
516
|
-
"percentages": [{
|
|
517
|
-
"id_retailer": 17,
|
|
518
|
-
"id_category": 157,
|
|
519
|
-
"datasheet": {
|
|
520
|
-
"required": 5.26,
|
|
521
|
-
"general": 2.04
|
|
522
|
-
},
|
|
523
|
-
"descriptions": {
|
|
524
|
-
"required": 0,
|
|
525
|
-
"general": 0
|
|
526
|
-
},
|
|
527
|
-
"images": {
|
|
528
|
-
"required": 100,
|
|
529
|
-
"general": 80.03,
|
|
530
|
-
"details": {
|
|
531
|
-
"mandatoryShots": {
|
|
532
|
-
"total": 1,
|
|
533
|
-
"completed": 1,
|
|
534
|
-
"percentage": 100
|
|
535
|
-
},
|
|
536
|
-
"optionalShots": {
|
|
537
|
-
"total": 39,
|
|
538
|
-
"completed": 7,
|
|
539
|
-
"percentage": 17.94
|
|
540
|
-
},
|
|
541
|
-
"namingAttributes": {
|
|
542
|
-
"total": 1,
|
|
543
|
-
"completed": 1,
|
|
544
|
-
"percentage": 100
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
"percentagesGeneral": {
|
|
549
|
-
"required": 35.09,
|
|
550
|
-
"general": 7.34
|
|
551
|
-
}
|
|
552
|
-
}, {
|
|
553
|
-
"id_retailer": 12,
|
|
554
|
-
"id_category": 3430,
|
|
555
|
-
"datasheet": {
|
|
556
|
-
"required": 20,
|
|
557
|
-
"general": 10
|
|
558
|
-
},
|
|
559
|
-
"descriptions": {
|
|
560
|
-
"required": 0,
|
|
561
|
-
"general": 0
|
|
562
|
-
},
|
|
563
|
-
"images": {
|
|
564
|
-
"required": 64.99,
|
|
565
|
-
"general": 52.02,
|
|
566
|
-
"details": {
|
|
567
|
-
"mandatoryShots": {
|
|
568
|
-
"total": 2,
|
|
569
|
-
"completed": 1,
|
|
570
|
-
"percentage": 50
|
|
571
|
-
},
|
|
572
|
-
"optionalShots": {
|
|
573
|
-
"total": 10,
|
|
574
|
-
"completed": 1,
|
|
575
|
-
"percentage": 10
|
|
576
|
-
},
|
|
577
|
-
"namingAttributes": {
|
|
578
|
-
"total": 1,
|
|
579
|
-
"completed": 1,
|
|
580
|
-
"percentage": 100
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"percentagesGeneral": {
|
|
585
|
-
"required": 23.33,
|
|
586
|
-
"general": 8.88
|
|
587
|
-
}
|
|
588
|
-
}, {
|
|
589
|
-
"id_retailer": 24,
|
|
590
|
-
"id_category": 3433,
|
|
591
|
-
"datasheet": {
|
|
592
|
-
"required": 20,
|
|
593
|
-
"general": 14.28
|
|
594
|
-
},
|
|
595
|
-
"descriptions": {
|
|
596
|
-
"required": 0,
|
|
597
|
-
"general": 0
|
|
598
|
-
},
|
|
599
|
-
"images": {
|
|
600
|
-
"required": 100,
|
|
601
|
-
"general": 80,
|
|
602
|
-
"details": {
|
|
603
|
-
"mandatoryShots": {
|
|
604
|
-
"total": 1,
|
|
605
|
-
"completed": 1,
|
|
606
|
-
"percentage": 100
|
|
607
|
-
},
|
|
608
|
-
"optionalShots": {
|
|
609
|
-
"total": 24,
|
|
610
|
-
"completed": 1,
|
|
611
|
-
"percentage": 4.16
|
|
612
|
-
},
|
|
613
|
-
"namingAttributes": {
|
|
614
|
-
"total": 1,
|
|
615
|
-
"completed": 1,
|
|
616
|
-
"percentage": 100
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
"percentagesGeneral": {
|
|
621
|
-
"required": 40,
|
|
622
|
-
"general": 7.42
|
|
623
|
-
}
|
|
624
|
-
}, {
|
|
625
|
-
"id_retailer": 20,
|
|
626
|
-
"id_category": 3499,
|
|
627
|
-
"datasheet": {
|
|
628
|
-
"required": 25,
|
|
629
|
-
"general": 14.28
|
|
630
|
-
},
|
|
631
|
-
"descriptions": {
|
|
632
|
-
"required": 0,
|
|
633
|
-
"general": 0
|
|
634
|
-
},
|
|
635
|
-
"images": {
|
|
636
|
-
"required": 100,
|
|
637
|
-
"general": 80.03,
|
|
638
|
-
"details": {
|
|
639
|
-
"mandatoryShots": {
|
|
640
|
-
"total": 1,
|
|
641
|
-
"completed": 1,
|
|
642
|
-
"percentage": 100
|
|
643
|
-
},
|
|
644
|
-
"optionalShots": {
|
|
645
|
-
"total": 11,
|
|
646
|
-
"completed": 2,
|
|
647
|
-
"percentage": 18.18
|
|
648
|
-
},
|
|
649
|
-
"namingAttributes": {
|
|
650
|
-
"total": 1,
|
|
651
|
-
"completed": 1,
|
|
652
|
-
"percentage": 100
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
"percentagesGeneral": {
|
|
657
|
-
"required": 41.67,
|
|
658
|
-
"general": 13.09
|
|
659
|
-
}
|
|
660
|
-
}, {
|
|
661
|
-
"id_retailer": 29,
|
|
662
|
-
"id_category": 3562,
|
|
663
|
-
"datasheet": {
|
|
664
|
-
"required": 14.28,
|
|
665
|
-
"general": 11.11
|
|
666
|
-
},
|
|
667
|
-
"descriptions": {
|
|
668
|
-
"required": 0,
|
|
669
|
-
"general": 0
|
|
670
|
-
},
|
|
671
|
-
"images": {
|
|
672
|
-
"required": 100,
|
|
673
|
-
"general": 80.03,
|
|
674
|
-
"details": {
|
|
675
|
-
"mandatoryShots": {
|
|
676
|
-
"total": 1,
|
|
677
|
-
"completed": 1,
|
|
678
|
-
"percentage": 100
|
|
679
|
-
},
|
|
680
|
-
"optionalShots": {
|
|
681
|
-
"total": 37,
|
|
682
|
-
"completed": 7,
|
|
683
|
-
"percentage": 18.91
|
|
684
|
-
},
|
|
685
|
-
"namingAttributes": {
|
|
686
|
-
"total": 1,
|
|
687
|
-
"completed": 1,
|
|
688
|
-
"percentage": 100
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
"percentagesGeneral": {
|
|
693
|
-
"required": 38.09,
|
|
694
|
-
"general": 10.72
|
|
695
|
-
}
|
|
696
|
-
}, {
|
|
697
|
-
"id_retailer": 8,
|
|
698
|
-
"id_category": 3588,
|
|
699
|
-
"datasheet": {
|
|
700
|
-
"required": 16.66,
|
|
701
|
-
"general": 6.66
|
|
702
|
-
},
|
|
703
|
-
"descriptions": {
|
|
704
|
-
"required": 0,
|
|
705
|
-
"general": 0
|
|
706
|
-
},
|
|
707
|
-
"images": {
|
|
708
|
-
"required": 100,
|
|
709
|
-
"general": 80,
|
|
710
|
-
"details": {
|
|
711
|
-
"mandatoryShots": {
|
|
712
|
-
"total": 0,
|
|
713
|
-
"completed": 0,
|
|
714
|
-
"percentage": 100
|
|
715
|
-
},
|
|
716
|
-
"optionalShots": {
|
|
717
|
-
"total": 10,
|
|
718
|
-
"completed": 0,
|
|
719
|
-
"percentage": 0
|
|
720
|
-
},
|
|
721
|
-
"namingAttributes": {
|
|
722
|
-
"total": 1,
|
|
723
|
-
"completed": 1,
|
|
724
|
-
"percentage": 100
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
"percentagesGeneral": {
|
|
729
|
-
"required": 38.89,
|
|
730
|
-
"general": 2.21
|
|
731
|
-
}
|
|
732
|
-
}, {
|
|
733
|
-
"id_retailer": 6,
|
|
734
|
-
"id_category": 3741,
|
|
735
|
-
"datasheet": {
|
|
736
|
-
"required": 66.66,
|
|
737
|
-
"general": 50
|
|
738
|
-
},
|
|
739
|
-
"descriptions": {
|
|
740
|
-
"required": 0,
|
|
741
|
-
"general": 0
|
|
742
|
-
},
|
|
743
|
-
"images": {
|
|
744
|
-
"required": 100,
|
|
745
|
-
"general": 80.03,
|
|
746
|
-
"details": {
|
|
747
|
-
"mandatoryShots": {
|
|
748
|
-
"total": 1,
|
|
749
|
-
"completed": 1,
|
|
750
|
-
"percentage": 100
|
|
751
|
-
},
|
|
752
|
-
"optionalShots": {
|
|
753
|
-
"total": 37,
|
|
754
|
-
"completed": 7,
|
|
755
|
-
"percentage": 18.91
|
|
756
|
-
},
|
|
757
|
-
"namingAttributes": {
|
|
758
|
-
"total": 1,
|
|
759
|
-
"completed": 1,
|
|
760
|
-
"percentage": 100
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"percentagesGeneral": {
|
|
765
|
-
"required": 55.55,
|
|
766
|
-
"general": 23.68
|
|
767
|
-
}
|
|
768
|
-
}, {
|
|
769
|
-
"id_retailer": 36,
|
|
770
|
-
"id_category": 4873,
|
|
771
|
-
"datasheet": {
|
|
772
|
-
"required": 100,
|
|
773
|
-
"general": 100
|
|
774
|
-
},
|
|
775
|
-
"descriptions": {
|
|
776
|
-
"required": 0,
|
|
777
|
-
"general": 0
|
|
778
|
-
},
|
|
779
|
-
"images": {
|
|
780
|
-
"required": 100,
|
|
781
|
-
"general": 80.2,
|
|
782
|
-
"details": {
|
|
783
|
-
"mandatoryShots": {
|
|
784
|
-
"total": 1,
|
|
785
|
-
"completed": 1,
|
|
786
|
-
"percentage": 100
|
|
787
|
-
},
|
|
788
|
-
"optionalShots": {
|
|
789
|
-
"total": 0,
|
|
790
|
-
"completed": 0,
|
|
791
|
-
"percentage": 100
|
|
792
|
-
},
|
|
793
|
-
"namingAttributes": {
|
|
794
|
-
"total": 1,
|
|
795
|
-
"completed": 1,
|
|
796
|
-
"percentage": 100
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
"percentagesGeneral": {
|
|
801
|
-
"required": 66.66,
|
|
802
|
-
"general": 66.66
|
|
803
|
-
}
|
|
804
|
-
}, {
|
|
805
|
-
"id_retailer": 16,
|
|
806
|
-
"id_category": 4911,
|
|
807
|
-
"datasheet": {
|
|
808
|
-
"required": 25,
|
|
809
|
-
"general": 10
|
|
810
|
-
},
|
|
811
|
-
"descriptions": {
|
|
812
|
-
"required": 0,
|
|
813
|
-
"general": 0
|
|
814
|
-
},
|
|
815
|
-
"images": {
|
|
816
|
-
"required": 100,
|
|
817
|
-
"general": 80.03,
|
|
818
|
-
"details": {
|
|
819
|
-
"mandatoryShots": {
|
|
820
|
-
"total": 1,
|
|
821
|
-
"completed": 1,
|
|
822
|
-
"percentage": 100
|
|
823
|
-
},
|
|
824
|
-
"optionalShots": {
|
|
825
|
-
"total": 36,
|
|
826
|
-
"completed": 7,
|
|
827
|
-
"percentage": 19.44
|
|
828
|
-
},
|
|
829
|
-
"namingAttributes": {
|
|
830
|
-
"total": 1,
|
|
831
|
-
"completed": 1,
|
|
832
|
-
"percentage": 100
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
"percentagesGeneral": {
|
|
837
|
-
"required": 41.67,
|
|
838
|
-
"general": 10.54
|
|
839
|
-
}
|
|
840
|
-
}, {
|
|
841
|
-
"id_retailer": 4,
|
|
842
|
-
"id_category": 5918,
|
|
843
|
-
"datasheet": {
|
|
844
|
-
"required": 25,
|
|
845
|
-
"general": 9.09
|
|
846
|
-
},
|
|
847
|
-
"descriptions": {
|
|
848
|
-
"required": 0,
|
|
849
|
-
"general": 0
|
|
850
|
-
},
|
|
851
|
-
"images": {
|
|
852
|
-
"required": 100,
|
|
853
|
-
"general": 80.04,
|
|
854
|
-
"details": {
|
|
855
|
-
"mandatoryShots": {
|
|
856
|
-
"total": 1,
|
|
857
|
-
"completed": 1,
|
|
858
|
-
"percentage": 100
|
|
859
|
-
},
|
|
860
|
-
"optionalShots": {
|
|
861
|
-
"total": 31,
|
|
862
|
-
"completed": 7,
|
|
863
|
-
"percentage": 22.58
|
|
864
|
-
},
|
|
865
|
-
"namingAttributes": {
|
|
866
|
-
"total": 1,
|
|
867
|
-
"completed": 1,
|
|
868
|
-
"percentage": 100
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
"percentagesGeneral": {
|
|
873
|
-
"required": 41.67,
|
|
874
|
-
"general": 11.36
|
|
875
|
-
}
|
|
876
|
-
}, {
|
|
877
|
-
"id_retailer": 13,
|
|
878
|
-
"id_category": 7126,
|
|
879
|
-
"datasheet": {
|
|
880
|
-
"required": 7.14,
|
|
881
|
-
"general": 3.03
|
|
882
|
-
},
|
|
883
|
-
"descriptions": {
|
|
884
|
-
"required": 0,
|
|
885
|
-
"general": 0
|
|
886
|
-
},
|
|
887
|
-
"images": {
|
|
888
|
-
"required": 100,
|
|
889
|
-
"general": 80.03,
|
|
890
|
-
"details": {
|
|
891
|
-
"mandatoryShots": {
|
|
892
|
-
"total": 1,
|
|
893
|
-
"completed": 1,
|
|
894
|
-
"percentage": 100
|
|
895
|
-
},
|
|
896
|
-
"optionalShots": {
|
|
897
|
-
"total": 37,
|
|
898
|
-
"completed": 7,
|
|
899
|
-
"percentage": 18.91
|
|
900
|
-
},
|
|
901
|
-
"namingAttributes": {
|
|
902
|
-
"total": 1,
|
|
903
|
-
"completed": 1,
|
|
904
|
-
"percentage": 100
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
|
-
"percentagesGeneral": {
|
|
909
|
-
"required": 35.71,
|
|
910
|
-
"general": 8.02
|
|
911
|
-
}
|
|
912
|
-
}, {
|
|
913
|
-
"id_retailer": 5,
|
|
914
|
-
"id_category": 7196,
|
|
915
|
-
"datasheet": {
|
|
916
|
-
"required": 10,
|
|
917
|
-
"general": 4
|
|
918
|
-
},
|
|
919
|
-
"descriptions": {
|
|
920
|
-
"required": 0,
|
|
921
|
-
"general": 0
|
|
922
|
-
},
|
|
923
|
-
"images": {
|
|
924
|
-
"required": 100,
|
|
925
|
-
"general": 80.04,
|
|
926
|
-
"details": {
|
|
927
|
-
"mandatoryShots": {
|
|
928
|
-
"total": 1,
|
|
929
|
-
"completed": 1,
|
|
930
|
-
"percentage": 100
|
|
931
|
-
},
|
|
932
|
-
"optionalShots": {
|
|
933
|
-
"total": 35,
|
|
934
|
-
"completed": 7,
|
|
935
|
-
"percentage": 20
|
|
936
|
-
},
|
|
937
|
-
"namingAttributes": {
|
|
938
|
-
"total": 1,
|
|
939
|
-
"completed": 1,
|
|
940
|
-
"percentage": 100
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
},
|
|
944
|
-
"percentagesGeneral": {
|
|
945
|
-
"required": 36.67,
|
|
946
|
-
"general": 8.74
|
|
947
|
-
}
|
|
948
|
-
}],
|
|
949
|
-
"summary": {
|
|
950
|
-
"totalRelations": 12,
|
|
951
|
-
"averageRequired": 41.25,
|
|
952
|
-
"averageGeneral": 14.88
|
|
953
|
-
}
|
|
223
|
+
"upc": "7509546052977"
|
|
954
224
|
},
|
|
955
225
|
// location: {
|
|
956
|
-
//
|
|
957
|
-
//
|
|
958
|
-
//
|
|
959
|
-
//
|
|
960
|
-
//
|
|
226
|
+
// product: { articleId: 126855, versionId: 3 },
|
|
227
|
+
// state: {
|
|
228
|
+
// withChat: true,
|
|
229
|
+
// chatType: "product_status",
|
|
230
|
+
// },
|
|
231
|
+
// },
|
|
232
|
+
// EDICION IMAGENES
|
|
233
|
+
// user: {
|
|
234
|
+
// "id_user": 427,
|
|
235
|
+
// "name": "Especialista Edición",
|
|
236
|
+
// "last_name": null,
|
|
237
|
+
// "email": "kikije1467@mtlcz.com",
|
|
238
|
+
// "position": "Tester",
|
|
239
|
+
// "telephone": null,
|
|
240
|
+
// "country": null,
|
|
241
|
+
// "id_company": 254,
|
|
242
|
+
// "id_cognito": "c7e5a6a4-2b3f-4d54-af98-9e09a4cbc01e",
|
|
243
|
+
// "birth_Date": null,
|
|
244
|
+
// "about_me": null,
|
|
245
|
+
// "zip_code": null,
|
|
246
|
+
// "address": null,
|
|
247
|
+
// "job": null,
|
|
248
|
+
// "id_stripe": null,
|
|
249
|
+
// "id_role": 8,
|
|
250
|
+
// "active": 1,
|
|
251
|
+
// "is_retailer": 0,
|
|
252
|
+
// "email_notify": null,
|
|
253
|
+
// "is_user_tech": null,
|
|
254
|
+
// "is_onboarding": 0,
|
|
255
|
+
// "membership": {
|
|
256
|
+
// "id": 750,
|
|
257
|
+
// "start_date": "2022-01-07T21:32:54.000Z",
|
|
258
|
+
// "end_date": "2023-01-07T21:32:54.000Z",
|
|
259
|
+
// "planID": 6,
|
|
260
|
+
// "plan": "prod_KvGd6YSTJyR3AP",
|
|
261
|
+
// "name": "Plan Small",
|
|
262
|
+
// "user_limit": "10",
|
|
263
|
+
// "products_limit": "1000",
|
|
264
|
+
// "type": "Enterprise"
|
|
265
|
+
// },
|
|
266
|
+
// "src": "https://content-management-profile-prod.s3.amazonaws.com/id-427/427.png?1775592220312"
|
|
961
267
|
// },
|
|
962
|
-
//
|
|
963
|
-
//
|
|
964
|
-
//
|
|
965
|
-
//
|
|
966
|
-
//
|
|
967
|
-
//
|
|
968
|
-
//
|
|
969
|
-
//
|
|
970
|
-
//
|
|
971
|
-
//
|
|
972
|
-
//
|
|
973
|
-
//
|
|
974
|
-
//
|
|
975
|
-
//
|
|
976
|
-
//
|
|
977
|
-
//
|
|
978
|
-
//
|
|
979
|
-
//
|
|
980
|
-
//
|
|
981
|
-
//
|
|
982
|
-
//
|
|
983
|
-
//
|
|
984
|
-
//
|
|
985
|
-
//
|
|
986
|
-
// "
|
|
987
|
-
//
|
|
988
|
-
//
|
|
989
|
-
//
|
|
990
|
-
//
|
|
991
|
-
//
|
|
992
|
-
//
|
|
993
|
-
//
|
|
994
|
-
//
|
|
995
|
-
//
|
|
996
|
-
//
|
|
268
|
+
//TEXTOS
|
|
269
|
+
// user: {
|
|
270
|
+
// "id_user": 442,
|
|
271
|
+
// "name": "Especialista",
|
|
272
|
+
// "last_name": "Textos",
|
|
273
|
+
// "email": "especialistatextosdev@allfreemail.net",
|
|
274
|
+
// "position": "Especialista de Imágenes",
|
|
275
|
+
// "telephone": null,
|
|
276
|
+
// "country": null,
|
|
277
|
+
// "id_company": 2,
|
|
278
|
+
// "id_role": 7,
|
|
279
|
+
// "about_me": null,
|
|
280
|
+
// "address": null,
|
|
281
|
+
// "job": null,
|
|
282
|
+
// "id_stripe": null,
|
|
283
|
+
// "active": 1,
|
|
284
|
+
// "email_notify": 1,
|
|
285
|
+
// "id_cognito": "39a90309-81cd-48df-86fb-b22c4a0e0559",
|
|
286
|
+
// "birth_Date": null,
|
|
287
|
+
// "zip_code": null,
|
|
288
|
+
// "is_retailer": 0,
|
|
289
|
+
// "is_onboarding": 0,
|
|
290
|
+
// "is_user_tech": null,
|
|
291
|
+
// "profile_picture_ext": null,
|
|
292
|
+
// "membership": {
|
|
293
|
+
// "id": 2,
|
|
294
|
+
// "start_date": "2021-11-05T02:35:12.000Z",
|
|
295
|
+
// "end_date": "2022-11-05T02:34:49.000Z",
|
|
296
|
+
// "planID": 1,
|
|
297
|
+
// "plan": "prod_KtkvuFFLpOdP6e",
|
|
298
|
+
// "name": "Plan Free",
|
|
299
|
+
// "user_limit": "1",
|
|
300
|
+
// "products_limit": "3",
|
|
301
|
+
// "type": "PyMES"
|
|
302
|
+
// },
|
|
303
|
+
// "src": "https://content-management-profile.s3.amazonaws.com/id-442/442.png?1760636567736"
|
|
997
304
|
// },
|
|
998
305
|
user: {
|
|
999
306
|
id_user: 426,
|