mp-front-cli 2.0.1-next-0 → 2.1.0

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.
Files changed (31) hide show
  1. package/dist/core/errors/error-catalog.d.ts +5 -2
  2. package/dist/core/errors/error-catalog.d.ts.map +1 -1
  3. package/dist/core/interfaces/api-response.d.ts +6 -0
  4. package/dist/core/interfaces/api-response.d.ts.map +1 -1
  5. package/dist/core/interfaces/index.d.ts +1 -1
  6. package/dist/core/interfaces/index.d.ts.map +1 -1
  7. package/dist/core/utils/api-request/fetch-service-parent-be.d.ts +4 -4
  8. package/dist/core/utils/api-request/fetch-service-parent-be.d.ts.map +1 -1
  9. package/dist/fetch-service-parent-be-ieWZxGPx.js +1365 -0
  10. package/dist/{i18n-1X2In6k5.js → index-B_86KXmg.js} +5 -226
  11. package/dist/lang/common/errors/es_MX/index.d.ts +52 -248
  12. package/dist/lang/common/errors/es_MX/index.d.ts.map +1 -1
  13. package/dist/lang/i18n.d.ts +2 -2
  14. package/dist/lang/i18n.d.ts.map +1 -1
  15. package/dist/lang/index.d.ts +0 -1
  16. package/dist/lang/index.d.ts.map +1 -1
  17. package/dist/mp-front-cli-all.es.js +1 -1
  18. package/dist/mp-front-cli-core.es.js +1 -1
  19. package/dist/mp-front-cli-locale.es.js +1 -3
  20. package/package.json +5 -2
  21. package/dist/core/errors/enrollment/error-catalog-enrollment.d.ts +0 -5
  22. package/dist/core/errors/enrollment/error-catalog-enrollment.d.ts.map +0 -1
  23. package/dist/core/errors/message-error.d.ts +0 -16
  24. package/dist/core/errors/message-error.d.ts.map +0 -1
  25. package/dist/fetch-service-parent-be-BIP14Z1m.js +0 -452
  26. package/dist/lang/common/errors/enrollment/en_EN/index.d.ts +0 -5
  27. package/dist/lang/common/errors/enrollment/en_EN/index.d.ts.map +0 -1
  28. package/dist/lang/common/errors/enrollment/es_MX/index.d.ts +0 -202
  29. package/dist/lang/common/errors/enrollment/es_MX/index.d.ts.map +0 -1
  30. package/dist/lang/common/errors/enrollment/index.d.ts +0 -3
  31. package/dist/lang/common/errors/enrollment/index.d.ts.map +0 -1
@@ -1,5 +1,4 @@
1
- import e from "i18next";
2
- const o = {
1
+ const e = {
3
2
  calculator: {
4
3
  "SCORE-CLIENTREJECTED-01": {
5
4
  title: "Cliente no aprobado",
@@ -216,205 +215,6 @@ const o = {
216
215
  }
217
216
  }
218
217
  }, a = {
219
- enrollment: {
220
- "ENROLLMENT-INVALIDCONFIGURATION-0000": {
221
- title: "Configuración no correspondiente",
222
- message: "Comuníquese con mesa de ayuda para que activen las configuraciones correspondientes."
223
- },
224
- "ENROLLMENT-INVALIDDEVICEDID-0001": {
225
- title: "Validar deviceId",
226
- message: "Para validar el enrolamiento es necesario enviar el id del dispositivo."
227
- },
228
- "ENROLLMENT-INVALIDIMEI-0002": {
229
- title: "IMEI no valido",
230
- message: "Es necesario proporcionar el IMEI valido para poder continuar con el enrolamiento."
231
- },
232
- "ENROLLMENT-INVALIDLOCKTYPE-0003": {
233
- title: "El tipo de bloqueo no corresponde a este dispositivo",
234
- message: "Asegúrese que el dispositivo tenga el tipo de bloqueo NUOVO."
235
- },
236
- "ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
237
- title: "Autentificación invalida",
238
- message: "Porfavor asegurese de tener permisos para poder acceder al recursos."
239
- },
240
- "ENROLLMENT-IMEIDOESNTMATCH-0005": {
241
- title: "El IMEI no corresponde al IMEI que esta enrolado",
242
- message: "Por favor verifique que el IMEI enviado coincida con el IMEI enrolado en la plataforma de NUOVO."
243
- },
244
- "ENROLLMENT-QRMACROLOCKNOTGENERATE-0006": {
245
- title: "No se pudo generar el código QR para el enrolamiento",
246
- message: "Por favor verifique los servicios para generarlo."
247
- },
248
- "ENROLLMENT-IMEINOTVALIDATED-0007": {
249
- title: "Ocurrió un error al intentar validar el IMEI",
250
- message: " Por favor verifique los logs del servicio para validar IMEI de macrolock."
251
- },
252
- "ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
253
- title: "Dispositivo no encontrado",
254
- message: "No pudimos encontrar dispositivos con los datos proporcionados."
255
- },
256
- "ENROLLMENT-JOURNEYERROR-0009": {
257
- title: "No se puede avanzar al siguiente proceso",
258
- message: "Ocurrió un error al avanzar la jornada, revise los servicios para un informe detallado."
259
- },
260
- "ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
261
- title: "No se puede guardar el IMEI",
262
- message: "No se encontraron solicitudes con los ids proporcionados."
263
- },
264
- "ENROLLMENT-LOCKTYPENOTFOUND-0011": {
265
- title: "Verifique IMEI",
266
- message: "Este IMEI no tiene definido tipo de bloqueo, por favor valide que sea correcto."
267
- },
268
- "ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
269
- title: "Verifique la presolicitud",
270
- message: "No se encontraron datos para la presolicitud que proporciono."
271
- },
272
- "ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
273
- title: "Revisar el Content Type",
274
- message: "El valor no es admitido."
275
- },
276
- "ENROLLMENT-NOT_ACCEPTABLE-0014": {
277
- title: "Solicitud incorrecta",
278
- message: "Verifique que el método sea el correcto."
279
- },
280
- "ENROLLMENT-RESOURCENOTFOUND-0015": {
281
- title: "Recurso no encontrado",
282
- message: "La url a la que se intenta acceder no es correcta."
283
- },
284
- "ENROLLMENT-BADREQUEST-0016": {
285
- title: "El formato datos es invalido",
286
- message: "Asegúrese que esta enviado los datos correctos."
287
- },
288
- "ENROLLMENT-METHODNOTIMPLEMENT-0017": {
289
- title: "No existe el bloqueo al que intenta acceder.",
290
- message: "Por favor, contacte a mesa de ayuda para solucionar el error"
291
- },
292
- "ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
293
- title: "No hay existencias",
294
- message: "No se encontraron productos para esta sucursal."
295
- },
296
- "ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
297
- title: "No hay existencias",
298
- message: "No se encontraron productos con la clave proporcionada."
299
- },
300
- "ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
301
- title: "No pudimos cargar alguno de los datos solicitados.",
302
- message: "Si continúa apareciendo este mensaje por favor contacta a soporte."
303
- },
304
- "ENROLLMENT-LOCKTYPENOTFOUND-0021": {
305
- title: "Tipo de bloqueo no encontrado",
306
- message: "Verifique que el identificador para el tipo de bloqueo sea correcto."
307
- },
308
- "ENROLLMENT-AUTH_HEADER_MISSING-0022": {
309
- title: "Falta el encabezado de autorización",
310
- message: "Proporciona un header de autorización en su solicitud."
311
- },
312
- "ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
313
- title: "Autorización invalida",
314
- message: "Verifica que el token enviado en el head sea valido."
315
- },
316
- "ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
317
- title: "Verifique el Bearer token",
318
- message: "Asegúrese que contenga un token."
319
- },
320
- "ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
321
- title: "Token invalido",
322
- message: "Revise que el token aun sea valido y no caduco."
323
- },
324
- "ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
325
- title: "Revisa el Content Type",
326
- message: "El valor no es admitido."
327
- },
328
- "ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
329
- title: "No pudimos cargar alguno de los datos solicitados",
330
- message: "Si continúa apareciendo este mensaje por favor contacta a soporte."
331
- },
332
- "ENROLLMENT-APISAPNOTAVAILABLE-0028": {
333
- title: "Error al consultar existencia",
334
- message: "Revise el servicio de existencias de SAP para mas información."
335
- },
336
- "ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
337
- title: "Error al generar token",
338
- message: "No se pudo generar el token de validación de estatus de tipo de bloqueo por proveedores."
339
- },
340
- "ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
341
- title: "Error en la api",
342
- message: "No se puede consultar la api de validación de estatus."
343
- },
344
- "ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
345
- title: "Autenticación invalida Trustonic",
346
- message: "Por favor asegúrese de tener permisos para acceder a este recurso."
347
- },
348
- "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
349
- title: "Contacta con el equipo de soporte",
350
- message: "Por favor comunícate con mesa de ayuda, ID:ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035"
351
- },
352
- "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
353
- title: "Contacta con el equipo de soporte",
354
- message: "Por favor comunícate con mesa de ayuda, ID:ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036"
355
- },
356
- "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
357
- title: "Contacta con el equipo de soporte",
358
- message: "Por favor comunícate con mesa de ayuda, ID:ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037"
359
- },
360
- "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0041": {
361
- title: "Contacta con el equipo de soporte",
362
- message: "Por favor comunícate con mesa de ayuda, ID:ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0041"
363
- },
364
- "ENROLLMENT-THEREISNOSTOCKFORTHEMATERIALINSAP-0042": {
365
- title: "Existencias",
366
- message: "No se encontraron IMEI's/números de serie, por favor comunícate con mesa de ayuda."
367
- },
368
- "ENROLLMENT-NOTALLOWEDBRAND-0044": {
369
- title: "Contacta con el equipo de soporte",
370
- message: "Tu dispositivo no cuenta con las características solicitadas. Por favor intenta con otro dispositivo, ID:ENROLLMENT-NOTALLOWEDBRAND-0044"
371
- },
372
- "ENROLLMENT-THEREARENTMATERIALS-0055": {
373
- title: "Contacta con el equipo de soporte",
374
- message: "No existen materiales para el tipo de crédito seleccionado."
375
- },
376
- "ENROLLMENT-THEREARENTMATERIALS-0056": {
377
- title: "Contacta con el equipo de soporte",
378
- message: "No existen materiales de el tipo de crédito seleccionado."
379
- },
380
- "ENROLLMENT-THEREARENTMATERIALS-0049": {
381
- title: "Contacta con el equipo de soporte",
382
- message: "No se encontraron materiales con la descripción especificada."
383
- },
384
- "ENROLLMENT-MATERIALNOTFOUND-0052": {
385
- title: "Contacta con el equipo de soporte",
386
- message: "No se encontraron materiales con la clave especificada especificada."
387
- },
388
- "ENROLLMENT-THEREARENTMATERIALS-0053": {
389
- title: "Contacta con el equipo de soporte",
390
- message: "No existen materiales con el color seleccionado."
391
- },
392
- "ENROLLMENT-THEREARENTMATERIALS-0054": {
393
- title: "Contacta con el equipo de soporte",
394
- message: "No existen materiales con el color seleccionado."
395
- },
396
- "ENROLLMENT-THEREARENTMATERIALS-0058": {
397
- title: "Contacta con el equipo de soporte",
398
- message: "No existen materiales de la marca seleccionada."
399
- },
400
- "ENROLLMENT-THEREARENTMATERIALS-0060": {
401
- title: "Contacta con el equipo de soporte",
402
- message: "No existe ningún material con los parámetros especificados."
403
- },
404
- "ENROLLMENT-THEREISNTIMEI-0048": {
405
- title: "Contacta con el equipo de soporte",
406
- message: "El IMEI / Núm. de serie especificado no existe."
407
- },
408
- "ENROLLMENT-LOANBALANCE-0062": {
409
- title: "IMEI en venta activa",
410
- message: "Por el momento no podemos continuar con el financiamiento porque el IMEI proporcionado ya está asociado a una venta activa. Por favor, verifica el número o utiliza otro IMEI para proceder con la solicitud."
411
- },
412
- "ENROLLMENT-USED-IMEI-0001": {
413
- title: "Validación de IMEI",
414
- message: "No puedes usar este IMEI nuevamente"
415
- }
416
- }
417
- }, r = {
418
218
  helpdesk: {
419
219
  "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
420
220
  title: "Error",
@@ -453,7 +253,7 @@ const o = {
453
253
  message: "Favor de contactar a soporte"
454
254
  }
455
255
  }
456
- }, t = {
256
+ }, o = {
457
257
  errors: {
458
258
  default: {
459
259
  title: "No pudimos cargar alguno de los datos solicitados.",
@@ -488,9 +288,9 @@ const o = {
488
288
  message: "La PR o SL ha sido cancelada. Por favor comunícate con nuestra mesa de ayuda."
489
289
  },
490
290
  //Calculator & Apartadito
491
- ...o,
291
+ ...e,
492
292
  //#region helpdesk
493
- ...r,
293
+ ...a,
494
294
  //JORNADA
495
295
  "JOURNEY-INVALIDATEDATA-01": {
496
296
  title: "Por favor verifique su estructura y los valores de sus atributos.",
@@ -684,8 +484,6 @@ const o = {
684
484
  title: "El número ya está registrado",
685
485
  message: "Por favor ingresa otro número de teléfono"
686
486
  },
687
- //ENROLLMENT
688
- ...a.enrollment,
689
487
  //PERSONAL REFERENCES
690
488
  "PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
691
489
  title: "Intentar con otra referencia",
@@ -743,26 +541,7 @@ const o = {
743
541
  message: "Por favor comunícate con mesa de ayuda"
744
542
  }
745
543
  }
746
- }, i = {
747
- es: {
748
- translation: {
749
- ...t
750
- }
751
- }
752
544
  };
753
- e.init({
754
- resources: i,
755
- lng: "es",
756
- // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
757
- // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
758
- // if you're using a language detector, do not define the lng option
759
- supportedLngs: ["es", "en"],
760
- interpolation: {
761
- escapeValue: !1
762
- // react already safes from xss
763
- },
764
- debug: !1
765
- });
766
545
  export {
767
- t
546
+ o as t
768
547
  };
@@ -1,253 +1,5 @@
1
1
  declare const translation: {
2
2
  errors: {
3
- "PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
4
- title: string;
5
- message: string;
6
- };
7
- "PERSONALREFERENCE-REFERENCESEXCEPTION-01": {
8
- title: string;
9
- message: string;
10
- };
11
- "PERSONALREFERENCE-BLACKLISTEXCEPTION-01": {
12
- title: string;
13
- message: string;
14
- };
15
- "PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01": {
16
- title: string;
17
- message: string;
18
- };
19
- "PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001": {
20
- title: string;
21
- message: string;
22
- };
23
- "PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
24
- title: string;
25
- message: string;
26
- };
27
- "PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001": {
28
- title: string;
29
- message: string;
30
- };
31
- "PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001": {
32
- title: string;
33
- message: string;
34
- };
35
- "SALES-SUMMARY-GENERIC-ERROR-001": {
36
- title: string;
37
- message: string;
38
- };
39
- "PF-SALES-SUMMARY-GENERIC-ERROR-001": {
40
- title: string;
41
- message: string;
42
- };
43
- "SALES-SUMMARY-ERROR-005": {
44
- title: string;
45
- message: string;
46
- };
47
- "PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
48
- title: string;
49
- message: string;
50
- };
51
- "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
52
- title: string;
53
- message: string;
54
- };
55
- "ENROLLMENT-INVALIDCONFIGURATION-0000": {
56
- title: string;
57
- message: string;
58
- };
59
- "ENROLLMENT-INVALIDDEVICEDID-0001": {
60
- title: string;
61
- message: string;
62
- };
63
- "ENROLLMENT-INVALIDIMEI-0002": {
64
- title: string;
65
- message: string;
66
- };
67
- "ENROLLMENT-INVALIDLOCKTYPE-0003": {
68
- title: string;
69
- message: string;
70
- };
71
- "ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
72
- title: string;
73
- message: string;
74
- };
75
- "ENROLLMENT-IMEIDOESNTMATCH-0005": {
76
- title: string;
77
- message: string;
78
- };
79
- "ENROLLMENT-QRMACROLOCKNOTGENERATE-0006": {
80
- title: string;
81
- message: string;
82
- };
83
- "ENROLLMENT-IMEINOTVALIDATED-0007": {
84
- title: string;
85
- message: string;
86
- };
87
- "ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
88
- title: string;
89
- message: string;
90
- };
91
- "ENROLLMENT-JOURNEYERROR-0009": {
92
- title: string;
93
- message: string;
94
- };
95
- "ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
96
- title: string;
97
- message: string;
98
- };
99
- "ENROLLMENT-LOCKTYPENOTFOUND-0011": {
100
- title: string;
101
- message: string;
102
- };
103
- "ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
104
- title: string;
105
- message: string;
106
- };
107
- "ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
108
- title: string;
109
- message: string;
110
- };
111
- "ENROLLMENT-NOT_ACCEPTABLE-0014": {
112
- title: string;
113
- message: string;
114
- };
115
- "ENROLLMENT-RESOURCENOTFOUND-0015": {
116
- title: string;
117
- message: string;
118
- };
119
- "ENROLLMENT-BADREQUEST-0016": {
120
- title: string;
121
- message: string;
122
- };
123
- "ENROLLMENT-METHODNOTIMPLEMENT-0017": {
124
- title: string;
125
- message: string;
126
- };
127
- "ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
128
- title: string;
129
- message: string;
130
- };
131
- "ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
132
- title: string;
133
- message: string;
134
- };
135
- "ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
136
- title: string;
137
- message: string;
138
- };
139
- "ENROLLMENT-LOCKTYPENOTFOUND-0021": {
140
- title: string;
141
- message: string;
142
- };
143
- "ENROLLMENT-AUTH_HEADER_MISSING-0022": {
144
- title: string;
145
- message: string;
146
- };
147
- "ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
148
- title: string;
149
- message: string;
150
- };
151
- "ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
152
- title: string;
153
- message: string;
154
- };
155
- "ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
156
- title: string;
157
- message: string;
158
- };
159
- "ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
160
- title: string;
161
- message: string;
162
- };
163
- "ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
164
- title: string;
165
- message: string;
166
- };
167
- "ENROLLMENT-APISAPNOTAVAILABLE-0028": {
168
- title: string;
169
- message: string;
170
- };
171
- "ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
172
- title: string;
173
- message: string;
174
- };
175
- "ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
176
- title: string;
177
- message: string;
178
- };
179
- "ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
180
- title: string;
181
- message: string;
182
- };
183
- "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
184
- title: string;
185
- message: string;
186
- };
187
- "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
188
- title: string;
189
- message: string;
190
- };
191
- "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
192
- title: string;
193
- message: string;
194
- };
195
- "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0041": {
196
- title: string;
197
- message: string;
198
- };
199
- "ENROLLMENT-THEREISNOSTOCKFORTHEMATERIALINSAP-0042": {
200
- title: string;
201
- message: string;
202
- };
203
- "ENROLLMENT-NOTALLOWEDBRAND-0044": {
204
- title: string;
205
- message: string;
206
- };
207
- "ENROLLMENT-THEREARENTMATERIALS-0055": {
208
- title: string;
209
- message: string;
210
- };
211
- "ENROLLMENT-THEREARENTMATERIALS-0056": {
212
- title: string;
213
- message: string;
214
- };
215
- "ENROLLMENT-THEREARENTMATERIALS-0049": {
216
- title: string;
217
- message: string;
218
- };
219
- "ENROLLMENT-MATERIALNOTFOUND-0052": {
220
- title: string;
221
- message: string;
222
- };
223
- "ENROLLMENT-THEREARENTMATERIALS-0053": {
224
- title: string;
225
- message: string;
226
- };
227
- "ENROLLMENT-THEREARENTMATERIALS-0054": {
228
- title: string;
229
- message: string;
230
- };
231
- "ENROLLMENT-THEREARENTMATERIALS-0058": {
232
- title: string;
233
- message: string;
234
- };
235
- "ENROLLMENT-THEREARENTMATERIALS-0060": {
236
- title: string;
237
- message: string;
238
- };
239
- "ENROLLMENT-THEREISNTIMEI-0048": {
240
- title: string;
241
- message: string;
242
- };
243
- "ENROLLMENT-LOANBALANCE-0062": {
244
- title: string;
245
- message: string;
246
- };
247
- "ENROLLMENT-USED-IMEI-0001": {
248
- title: string;
249
- message: string;
250
- };
251
3
  "JOURNEY-INVALIDATEDATA-01": {
252
4
  title: string;
253
5
  message: string;
@@ -436,6 +188,58 @@ declare const translation: {
436
188
  title: string;
437
189
  message: string;
438
190
  };
191
+ "PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
192
+ title: string;
193
+ message: string;
194
+ };
195
+ "PERSONALREFERENCE-REFERENCESEXCEPTION-01": {
196
+ title: string;
197
+ message: string;
198
+ };
199
+ "PERSONALREFERENCE-BLACKLISTEXCEPTION-01": {
200
+ title: string;
201
+ message: string;
202
+ };
203
+ "PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01": {
204
+ title: string;
205
+ message: string;
206
+ };
207
+ "PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001": {
208
+ title: string;
209
+ message: string;
210
+ };
211
+ "PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
212
+ title: string;
213
+ message: string;
214
+ };
215
+ "PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001": {
216
+ title: string;
217
+ message: string;
218
+ };
219
+ "PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001": {
220
+ title: string;
221
+ message: string;
222
+ };
223
+ "SALES-SUMMARY-GENERIC-ERROR-001": {
224
+ title: string;
225
+ message: string;
226
+ };
227
+ "PF-SALES-SUMMARY-GENERIC-ERROR-001": {
228
+ title: string;
229
+ message: string;
230
+ };
231
+ "SALES-SUMMARY-ERROR-005": {
232
+ title: string;
233
+ message: string;
234
+ };
235
+ "PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
236
+ title: string;
237
+ message: string;
238
+ };
239
+ "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
240
+ title: string;
241
+ message: string;
242
+ };
439
243
  helpdesk: {
440
244
  "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
441
245
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuThB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqThB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,3 +1,3 @@
1
- import { default as i18n } from 'i18next';
2
- export default i18n;
1
+ import { LanguageResources } from 'src/core/interfaces';
2
+ export declare const getConfigI18n: (resources?: LanguageResources) => import('i18next').i18n;
3
3
  //# sourceMappingURL=i18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/lang/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAA;AAyB1B,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/lang/i18n.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAKvD,eAAO,MAAM,aAAa,eAAgB,iBAAiB,2BAuB1D,CAAA"}
@@ -1,5 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './validator';
3
- export { default as i18n } from '../lang/i18n';
4
3
  export { errorES_MX } from './common';
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
@@ -1,4 +1,4 @@
1
- import { A as r, E as s, F as o, a as t, b as c } from "./fetch-service-parent-be-BIP14Z1m.js";
1
+ import { A as r, E as s, F as o, a as t, b as c } from "./fetch-service-parent-be-ieWZxGPx.js";
2
2
  import { L as n, M as S, R as d } from "./loading-handler-Br21zGTA.js";
3
3
  import { S as F } from "./service-token-DceocCHP.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { A as r, E as s, F as o, a as t, b as c } from "./fetch-service-parent-be-BIP14Z1m.js";
1
+ import { A as r, E as s, F as o, a as t, b as c } from "./fetch-service-parent-be-ieWZxGPx.js";
2
2
  import { L as n, M as S, R as d } from "./loading-handler-Br21zGTA.js";
3
3
  import { S as F } from "./service-token-DceocCHP.js";
4
4
  export {
@@ -1,5 +1,4 @@
1
- import { t } from "./i18n-1X2In6k5.js";
2
- import { default as i } from "i18next";
1
+ import { t } from "./index-B_86KXmg.js";
3
2
  const e = {
4
3
  errors: {}
5
4
  }, a = {
@@ -46,7 +45,6 @@ const e = {
46
45
  export {
47
46
  e as errorEN_EN,
48
47
  t as errorES_MX,
49
- i as i18n,
50
48
  a as validatorEN_EN,
51
49
  r as validatorES_MX
52
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "2.0.1-next-0",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -61,6 +61,9 @@
61
61
  "./locale": {
62
62
  "types": "./dist/lang/index.d.ts",
63
63
  "import": "./dist/mp-front-cli-locale.es.js"
64
+ },
65
+ "./types": {
66
+ "types": "./dist/core/interfaces/index.d.ts"
64
67
  }
65
68
  },
66
69
  "peerDependencies": {
@@ -92,4 +95,4 @@
92
95
  "vite-plugin-dts": "4.5.0",
93
96
  "vite-tsconfig-paths": "5.1.4"
94
97
  }
95
- }
98
+ }
@@ -1,5 +0,0 @@
1
- import { IMessage } from 'src/core/interfaces';
2
- export declare const errorCatalogEnrollment: {
3
- [props: string | number]: IMessage;
4
- };
5
- //# sourceMappingURL=error-catalog-enrollment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"error-catalog-enrollment.d.ts","sourceRoot":"","sources":["../../../../src/core/errors/enrollment/error-catalog-enrollment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,eAAO,MAAM,sBAAsB,EAAE;IACnC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CAqVnC,CAAA"}