mp-front-cli 0.0.87 → 0.0.89
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/core/errors/error-catalog.d.ts.map +1 -1
- package/dist/{index-1388fdfb.js → index-d4f88744.js} +71 -63
- package/dist/lang/common/errors/calculator/es_MX/index.d.ts +8 -0
- package/dist/lang/common/errors/calculator/es_MX/index.d.ts.map +1 -1
- package/dist/lang/common/errors/enrollment/en_MX/index.d.ts.map +1 -1
- package/dist/lang/common/errors/es_MX/index.d.ts +8 -0
- package/dist/lang/common/errors/es_MX/index.d.ts.map +1 -1
- package/dist/mp-front-cli-all.es.js +1 -1
- package/dist/mp-front-cli-core.es.js +61 -47
- package/dist/mp-front-cli-locale.es.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AA0rBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
|
|
@@ -176,6 +176,14 @@ const e = {
|
|
|
176
176
|
title: "Error al consumir el servicio de amortización de SAP",
|
|
177
177
|
message: "Verificar el estado o las credenciales del servicio SAP"
|
|
178
178
|
},
|
|
179
|
+
"CALCULATOR-BAD-REQUEST-29": {
|
|
180
|
+
title: "Error al obtener token de seguridad en SAP",
|
|
181
|
+
message: "Solicitud para verificar credenciales o estado del servicio"
|
|
182
|
+
},
|
|
183
|
+
"CALCULATOR-BAD-REQUEST-30": {
|
|
184
|
+
title: "SAP: No se determinarán plazos para el tipo de crédito",
|
|
185
|
+
message: "Consulta el tipo de crédito"
|
|
186
|
+
},
|
|
179
187
|
//Apartadito
|
|
180
188
|
"SAVING_NOT_FOUND-01": {
|
|
181
189
|
title: "Verificar la identificación de guardado",
|
|
@@ -201,132 +209,132 @@ const e = {
|
|
|
201
209
|
}, o = {
|
|
202
210
|
enrollment: {
|
|
203
211
|
"ENROLLMENT-INVALIDCONFIGURATION-0000": {
|
|
204
|
-
title: "
|
|
205
|
-
message: "
|
|
212
|
+
title: "Configuración no correspondiente",
|
|
213
|
+
message: "Comuníquese con mesa de ayuda para que activen las configuraciones correspondientes."
|
|
206
214
|
},
|
|
207
215
|
"ENROLLMENT-INVALIDDEVICEDID-0001": {
|
|
208
|
-
title: "
|
|
209
|
-
message: "
|
|
216
|
+
title: "Validar deviceId",
|
|
217
|
+
message: "Para validar el enrolamiento es necesario enviar el id del dispositivo."
|
|
210
218
|
},
|
|
211
219
|
"ENROLLMENT-INVALIDIMEI-0002": {
|
|
212
|
-
title: "
|
|
213
|
-
message: "
|
|
220
|
+
title: "IMEI no valido",
|
|
221
|
+
message: "Es necesario proporcionar el IMEI valido para poder continuar con el enrolamiento."
|
|
214
222
|
},
|
|
215
223
|
"ENROLLMENT-INVALIDLOCKTYPE-0003": {
|
|
216
|
-
title: "
|
|
217
|
-
message: "
|
|
224
|
+
title: "El tipo de bloqueo no corresponde a este dispositivo",
|
|
225
|
+
message: "Asegúrese que el dispositivo tenga el tipo de bloqueo NUOVO."
|
|
218
226
|
},
|
|
219
227
|
"ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
|
|
220
|
-
title: "
|
|
221
|
-
message: "
|
|
228
|
+
title: "Autentificación invalida",
|
|
229
|
+
message: "Porfavor asegurese de tener permisos para poder acceder al recursos."
|
|
222
230
|
},
|
|
223
231
|
"ENROLLMENT-IMEIDOESNTMATCH-0005": {
|
|
224
|
-
title: "
|
|
225
|
-
message: "
|
|
232
|
+
title: "El IMEI no corresponde al IMEI que esta enrolado",
|
|
233
|
+
message: "Por favor verifique que el IMEI enviado coincida con el IMEI enrolado en la plataforma de NUOVO."
|
|
226
234
|
},
|
|
227
235
|
"ENROLLMENT-QRMACROLOCKNOTGENERATE-0006": {
|
|
228
|
-
title: "
|
|
229
|
-
message: "
|
|
236
|
+
title: "No se pudo generar el código QR para el enrolamiento",
|
|
237
|
+
message: "Por favor verifique los servicios para generarlo."
|
|
230
238
|
},
|
|
231
239
|
"ENROLLMENT-IMEINOTVALIDATED-0007": {
|
|
232
|
-
title: "
|
|
233
|
-
message: "
|
|
240
|
+
title: "Ocurrió un error al intentar validar el IMEI",
|
|
241
|
+
message: " Por favor verifique los logs del servicio para validar IMEI de macrolock."
|
|
234
242
|
},
|
|
235
243
|
"ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
|
|
236
|
-
title: "
|
|
237
|
-
message: "No
|
|
244
|
+
title: "Dispositivo no encontrado",
|
|
245
|
+
message: "No pudimos encontrar dispositivos con los datos proporcionados."
|
|
238
246
|
},
|
|
239
247
|
"ENROLLMENT-JOURNEYERROR-0009": {
|
|
240
|
-
title: "
|
|
241
|
-
message: "Ocurrió un error al avanzar la jornada
|
|
248
|
+
title: "No se puede avanzar al siguiente proceso",
|
|
249
|
+
message: "Ocurrió un error al avanzar la jornada, revise los servicios para un informe detallado."
|
|
242
250
|
},
|
|
243
251
|
"ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
|
|
244
|
-
title: "
|
|
252
|
+
title: "No se puede guardar el IMEI",
|
|
245
253
|
message: "No se encontraron solicitudes con los ids proporcionados."
|
|
246
254
|
},
|
|
247
255
|
"ENROLLMENT-LOCKTYPENOTFOUND-0011": {
|
|
248
|
-
title: "
|
|
249
|
-
message: "
|
|
256
|
+
title: "Verifique IMEI",
|
|
257
|
+
message: "Este IMEI no tiene definido tipo de bloqueo, por favor valide que sea correcto."
|
|
250
258
|
},
|
|
251
259
|
"ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
|
|
252
|
-
title: "
|
|
253
|
-
message: "No se
|
|
260
|
+
title: "Verifique la presolicitud",
|
|
261
|
+
message: "No se encontraron datos para la presolicitud que proporciono."
|
|
254
262
|
},
|
|
255
263
|
"ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
|
|
256
|
-
title: "
|
|
257
|
-
message: "El
|
|
264
|
+
title: "Revisar el Content Type",
|
|
265
|
+
message: "El valor no es admitido."
|
|
258
266
|
},
|
|
259
267
|
"ENROLLMENT-NOT_ACCEPTABLE-0014": {
|
|
260
|
-
title: "
|
|
261
|
-
message: "
|
|
268
|
+
title: "Solicitud incorrecta",
|
|
269
|
+
message: "Verifique que el método sea el correcto."
|
|
262
270
|
},
|
|
263
271
|
"ENROLLMENT-RESOURCENOTFOUND-0015": {
|
|
264
|
-
title: "
|
|
265
|
-
message: "
|
|
272
|
+
title: "Recurso no encontrado",
|
|
273
|
+
message: "La url a la que se intenta acceder no es correcta."
|
|
266
274
|
},
|
|
267
275
|
"ENROLLMENT-BADREQUEST-0016": {
|
|
268
|
-
title: "
|
|
269
|
-
message: "
|
|
276
|
+
title: "El formato datos es invalido",
|
|
277
|
+
message: "Asegúrese que esta enviado los datos correctos."
|
|
270
278
|
},
|
|
271
279
|
"ENROLLMENT-METHODNOTIMPLEMENT-0017": {
|
|
272
|
-
title: "
|
|
273
|
-
message: "
|
|
280
|
+
title: "No existe el bloqueo al que intenta acceder.",
|
|
281
|
+
message: "Por favor, contacte a mesa de ayuda para solucionar el error"
|
|
274
282
|
},
|
|
275
283
|
"ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
|
|
276
|
-
title: "
|
|
277
|
-
message: "No se encontraron productos para
|
|
284
|
+
title: "No hay existencias",
|
|
285
|
+
message: "No se encontraron productos para esta sucursal."
|
|
278
286
|
},
|
|
279
287
|
"ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
|
|
280
|
-
title: "
|
|
281
|
-
message: "No se encontraron productos con
|
|
288
|
+
title: "No hay existencias",
|
|
289
|
+
message: "No se encontraron productos con la clave proporcionada."
|
|
282
290
|
},
|
|
283
291
|
"ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
|
|
284
|
-
title: "
|
|
285
|
-
message: "
|
|
292
|
+
title: "No pudimos cargar alguno de los datos solicitados.",
|
|
293
|
+
message: "Si continúa apareciendo este mensaje por favor contacta a soporte."
|
|
286
294
|
},
|
|
287
295
|
"ENROLLMENT-LOCKTYPENOTFOUND-0021": {
|
|
288
|
-
title: "
|
|
289
|
-
message: "
|
|
296
|
+
title: "Tipo de bloqueo no encontrado",
|
|
297
|
+
message: "Verifique que el identificador para el tipo de bloqueo sea correcto."
|
|
290
298
|
},
|
|
291
299
|
"ENROLLMENT-AUTH_HEADER_MISSING-0022": {
|
|
292
|
-
title: "Falta el encabezado de autorización
|
|
293
|
-
message: "
|
|
300
|
+
title: "Falta el encabezado de autorización",
|
|
301
|
+
message: "Proporciona un header de autorización en su solicitud."
|
|
294
302
|
},
|
|
295
303
|
"ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
|
|
296
|
-
title: "
|
|
297
|
-
message: "
|
|
304
|
+
title: "Autorización invalida",
|
|
305
|
+
message: "Verifica que el token enviado en el head sea valido."
|
|
298
306
|
},
|
|
299
307
|
"ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
|
|
300
|
-
title: "
|
|
301
|
-
message: "Asegúrese que
|
|
308
|
+
title: "Verifique el Bearer token",
|
|
309
|
+
message: "Asegúrese que contenga un token."
|
|
302
310
|
},
|
|
303
311
|
"ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
|
|
304
|
-
title: "
|
|
305
|
-
message: "
|
|
312
|
+
title: "Token invalido",
|
|
313
|
+
message: "Revise que el token aun sea valido y no caduco."
|
|
306
314
|
},
|
|
307
315
|
"ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
|
|
308
|
-
title: "
|
|
309
|
-
message: "
|
|
316
|
+
title: "Revisa el Content Type",
|
|
317
|
+
message: "El valor no es admitido."
|
|
310
318
|
},
|
|
311
319
|
"ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
|
|
312
|
-
title: "
|
|
313
|
-
message: "Si
|
|
320
|
+
title: "No pudimos cargar alguno de los datos solicitados",
|
|
321
|
+
message: "Si continúa apareciendo este mensaje por favor contacta a soporte."
|
|
314
322
|
},
|
|
315
323
|
"ENROLLMENT-APISAPNOTAVAILABLE-0028": {
|
|
316
|
-
title: "Error al consultar
|
|
317
|
-
message: "Revise
|
|
324
|
+
title: "Error al consultar existencia",
|
|
325
|
+
message: "Revise el servicio de existencias de SAP para mas información."
|
|
318
326
|
},
|
|
319
327
|
"ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
|
|
320
|
-
title: "Error al generar
|
|
321
|
-
message: "
|
|
328
|
+
title: "Error al generar token",
|
|
329
|
+
message: "No se pudo generar el token de validación de estatus de tipo de bloqueo por proveedores."
|
|
322
330
|
},
|
|
323
331
|
"ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
|
|
324
|
-
title: "Error
|
|
325
|
-
message: "
|
|
332
|
+
title: "Error en la api",
|
|
333
|
+
message: "No se puede consultar la api de validación de estatus."
|
|
326
334
|
},
|
|
327
335
|
"ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
|
|
328
|
-
title: "
|
|
329
|
-
message: "
|
|
336
|
+
title: "Autenticación invalida Trustonic",
|
|
337
|
+
message: "Por favor asegúrese de tener permisos para acceder a este recurso."
|
|
330
338
|
}
|
|
331
339
|
}
|
|
332
340
|
}, a = {
|
|
@@ -176,6 +176,14 @@ declare const translation: {
|
|
|
176
176
|
title: string;
|
|
177
177
|
message: string;
|
|
178
178
|
};
|
|
179
|
+
"CALCULATOR-BAD-REQUEST-29": {
|
|
180
|
+
title: string;
|
|
181
|
+
message: string;
|
|
182
|
+
};
|
|
183
|
+
"CALCULATOR-BAD-REQUEST-30": {
|
|
184
|
+
title: string;
|
|
185
|
+
message: string;
|
|
186
|
+
};
|
|
179
187
|
"SAVING_NOT_FOUND-01": {
|
|
180
188
|
title: string;
|
|
181
189
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/calculator/es_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/calculator/es_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsNhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/enrollment/en_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/enrollment/en_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -469,6 +469,14 @@ declare const translation: {
|
|
|
469
469
|
title: string;
|
|
470
470
|
message: string;
|
|
471
471
|
};
|
|
472
|
+
"CALCULATOR-BAD-REQUEST-29": {
|
|
473
|
+
title: string;
|
|
474
|
+
message: string;
|
|
475
|
+
};
|
|
476
|
+
"CALCULATOR-BAD-REQUEST-30": {
|
|
477
|
+
title: string;
|
|
478
|
+
message: string;
|
|
479
|
+
};
|
|
472
480
|
"SAVING_NOT_FOUND-01": {
|
|
473
481
|
title: string;
|
|
474
482
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0NhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiMiddleware as n, ErrorCatalog as x, FetchServiceBE as E, FetchServiceFE as F } from "./mp-front-cli-core.es.js";
|
|
2
2
|
import { LoadingHandler as S, MessageHandler as f, RxSubjectManager as h } from "./mp-front-cli-utils-rxjs.es.js";
|
|
3
3
|
import "i18next";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-d4f88744.js";
|
|
5
5
|
import "./mp-front-cli-logger.es.js";
|
|
6
6
|
import "rxjs";
|
|
7
7
|
import "./mp-front-cli-encrypter.es.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var f = Object.defineProperty;
|
|
2
2
|
var y = (E, t, e) => t in E ? f(E, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : E[t] = e;
|
|
3
3
|
var L = (E, t, e) => (y(E, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { LoadingHandler as
|
|
4
|
+
import { LoadingHandler as g, MessageHandler as B } from "./mp-front-cli-utils-rxjs.es.js";
|
|
5
5
|
import { RxSubjectManager as Ue } from "./mp-front-cli-utils-rxjs.es.js";
|
|
6
|
-
import v, { t as
|
|
7
|
-
import { t as Q } from "./index-
|
|
6
|
+
import v, { t as C } from "i18next";
|
|
7
|
+
import { t as Q } from "./index-d4f88744.js";
|
|
8
8
|
import { CustomLogger as h } from "./mp-front-cli-logger.es.js";
|
|
9
|
-
import { of as N, switchMap as O, forkJoin as M, catchError as
|
|
9
|
+
import { of as N, switchMap as O, forkJoin as M, catchError as I, EMPTY as S, filter as w } from "rxjs";
|
|
10
10
|
import { CustomEncrypter as V } from "./mp-front-cli-encrypter.es.js";
|
|
11
11
|
import { C as x, f as d } from "./custom-header-b6432556.js";
|
|
12
12
|
import { CustomEncoder as F } from "./mp-front-cli-encoder.es.js";
|
|
@@ -35,7 +35,7 @@ v.init({
|
|
|
35
35
|
});
|
|
36
36
|
const G = {
|
|
37
37
|
"ENROLLMENT-INVALIDCONFIGURATION-0000": {
|
|
38
|
-
code:
|
|
38
|
+
code: 400,
|
|
39
39
|
type: "modal",
|
|
40
40
|
message: "errors.ENROLLMENT-INVALIDCONFIGURATION-0000.message",
|
|
41
41
|
title: "errors.ENROLLMENT-INVALIDCONFIGURATION-0000.title",
|
|
@@ -63,7 +63,7 @@ const G = {
|
|
|
63
63
|
level: "error"
|
|
64
64
|
},
|
|
65
65
|
"ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
|
|
66
|
-
code:
|
|
66
|
+
code: 400,
|
|
67
67
|
type: "modal",
|
|
68
68
|
message: "errors.ENROLLMENT-INVALIDTOKENSUPPLIERS-0004.message",
|
|
69
69
|
title: "errors.ENROLLMENT-INVALIDTOKENSUPPLIERS-0004.title",
|
|
@@ -84,63 +84,63 @@ const G = {
|
|
|
84
84
|
level: "error"
|
|
85
85
|
},
|
|
86
86
|
"ENROLLMENT-IMEINOTVALIDATED-0007": {
|
|
87
|
-
code:
|
|
87
|
+
code: 400,
|
|
88
88
|
type: "modal",
|
|
89
89
|
message: "errors.ENROLLMENT-IMEINOTVALIDATED-0007.message",
|
|
90
90
|
title: "errors.ENROLLMENT-IMEINOTVALIDATED-0007.title",
|
|
91
91
|
level: "error"
|
|
92
92
|
},
|
|
93
93
|
"ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
|
|
94
|
-
code:
|
|
94
|
+
code: 400,
|
|
95
95
|
type: "modal",
|
|
96
96
|
message: "errors.ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008.message",
|
|
97
97
|
title: "errors.ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008.title",
|
|
98
98
|
level: "error"
|
|
99
99
|
},
|
|
100
100
|
"ENROLLMENT-JOURNEYERROR-0009": {
|
|
101
|
-
code:
|
|
101
|
+
code: 400,
|
|
102
102
|
type: "modal",
|
|
103
103
|
message: "errors.ENROLLMENT-JOURNEYERROR-0009.message",
|
|
104
104
|
title: "errors.ENROLLMENT-JOURNEYERROR-0009.title",
|
|
105
105
|
level: "error"
|
|
106
106
|
},
|
|
107
107
|
"ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
|
|
108
|
-
code:
|
|
108
|
+
code: 400,
|
|
109
109
|
type: "modal",
|
|
110
110
|
message: "errors.ENROLLMENT-APPLICATIONSNOTFOUND-0010.message",
|
|
111
111
|
title: "errors.ENROLLMENT-APPLICATIONSNOTFOUND-0010.title",
|
|
112
112
|
level: "error"
|
|
113
113
|
},
|
|
114
114
|
"ENROLLMENT-LOCKTYPENOTFOUND-0011": {
|
|
115
|
-
code:
|
|
115
|
+
code: 400,
|
|
116
116
|
type: "modal",
|
|
117
117
|
message: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0011.message",
|
|
118
118
|
title: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0011.title",
|
|
119
119
|
level: "error"
|
|
120
120
|
},
|
|
121
121
|
"ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
|
|
122
|
-
code:
|
|
122
|
+
code: 400,
|
|
123
123
|
type: "modal",
|
|
124
124
|
message: "errors.ENROLLMENT-PREAPPLICATIONNOTFOUND-0012.message",
|
|
125
125
|
title: "errors.ENROLLMENT-PREAPPLICATIONNOTFOUND-0012.title",
|
|
126
126
|
level: "error"
|
|
127
127
|
},
|
|
128
128
|
"ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
|
|
129
|
-
code:
|
|
129
|
+
code: 400,
|
|
130
130
|
type: "modal",
|
|
131
131
|
message: "errors.ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013.message",
|
|
132
132
|
title: "errors.ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013.title",
|
|
133
133
|
level: "error"
|
|
134
134
|
},
|
|
135
135
|
"ENROLLMENT-NOT_ACCEPTABLE-0014": {
|
|
136
|
-
code:
|
|
136
|
+
code: 400,
|
|
137
137
|
type: "modal",
|
|
138
138
|
message: "errors.ENROLLMENT-NOT_ACCEPTABLE-0014.message",
|
|
139
139
|
title: "errors.ENROLLMENT-NOT_ACCEPTABLE-0014.title",
|
|
140
140
|
level: "error"
|
|
141
141
|
},
|
|
142
142
|
"ENROLLMENT-RESOURCENOTFOUND-0015": {
|
|
143
|
-
code:
|
|
143
|
+
code: 400,
|
|
144
144
|
type: "modal",
|
|
145
145
|
message: "errors.ENROLLMENT-RESOURCENOTFOUND-0015.message",
|
|
146
146
|
title: "errors.ENROLLMENT-RESOURCENOTFOUND-0015.title",
|
|
@@ -154,105 +154,105 @@ const G = {
|
|
|
154
154
|
level: "error"
|
|
155
155
|
},
|
|
156
156
|
"ENROLLMENT-METHODNOTIMPLEMENT-0017": {
|
|
157
|
-
code:
|
|
157
|
+
code: 400,
|
|
158
158
|
type: "modal",
|
|
159
159
|
message: "errors.ENROLLMENT-METHODNOTIMPLEMENT-0017.message",
|
|
160
160
|
title: "errors.ENROLLMENT-METHODNOTIMPLEMENT-0017.title",
|
|
161
161
|
level: "error"
|
|
162
162
|
},
|
|
163
163
|
"ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
|
|
164
|
-
code:
|
|
164
|
+
code: 400,
|
|
165
165
|
type: "modal",
|
|
166
166
|
message: "errors.ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018.message",
|
|
167
167
|
title: "errors.ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018.title",
|
|
168
168
|
level: "error"
|
|
169
169
|
},
|
|
170
170
|
"ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
|
|
171
|
-
code:
|
|
171
|
+
code: 400,
|
|
172
172
|
type: "modal",
|
|
173
173
|
message: "errors.ENROLLMENT-PRODUCTKEYNOTFOUND-0019.message",
|
|
174
174
|
title: "errors.ENROLLMENT-PRODUCTKEYNOTFOUND-0019.title",
|
|
175
175
|
level: "error"
|
|
176
176
|
},
|
|
177
177
|
"ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
|
|
178
|
-
code:
|
|
178
|
+
code: 400,
|
|
179
179
|
type: "modal",
|
|
180
180
|
message: "errors.ENROLLMENT-FAILEDTORETRIEVEIMEI-0020.message",
|
|
181
181
|
title: "errors.ENROLLMENT-FAILEDTORETRIEVEIMEI-0020.title",
|
|
182
182
|
level: "error"
|
|
183
183
|
},
|
|
184
184
|
"ENROLLMENT-LOCKTYPENOTFOUND-0021": {
|
|
185
|
-
code:
|
|
185
|
+
code: 400,
|
|
186
186
|
type: "modal",
|
|
187
187
|
message: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0021.message",
|
|
188
188
|
title: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0021.title",
|
|
189
189
|
level: "error"
|
|
190
190
|
},
|
|
191
191
|
"ENROLLMENT-AUTH_HEADER_MISSING-0022": {
|
|
192
|
-
code:
|
|
192
|
+
code: 400,
|
|
193
193
|
type: "modal",
|
|
194
194
|
message: "errors.ENROLLMENT-AUTH_HEADER_MISSING-0022.message",
|
|
195
195
|
title: "errors.ENROLLMENT-AUTH_HEADER_MISSING-0022.title",
|
|
196
196
|
level: "error"
|
|
197
197
|
},
|
|
198
198
|
"ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
|
|
199
|
-
code:
|
|
199
|
+
code: 400,
|
|
200
200
|
type: "modal",
|
|
201
201
|
message: "errors.ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023.message",
|
|
202
202
|
title: "errors.ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023.title",
|
|
203
203
|
level: "error"
|
|
204
204
|
},
|
|
205
205
|
"ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
|
|
206
|
-
code:
|
|
206
|
+
code: 400,
|
|
207
207
|
type: "modal",
|
|
208
208
|
message: "errors.ENROLLMENT-AUTH_TOKEN_MISSING-0024.message",
|
|
209
209
|
title: "errors.ENROLLMENT-AUTH_TOKEN_MISSING-0024.title",
|
|
210
210
|
level: "error"
|
|
211
211
|
},
|
|
212
212
|
"ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
|
|
213
|
-
code:
|
|
213
|
+
code: 400,
|
|
214
214
|
type: "modal",
|
|
215
215
|
message: "errors.ENROLLMENT-AUTH_TOKEN_INVALID-0025.message",
|
|
216
216
|
title: "errors.ENROLLMENT-AUTH_TOKEN_INVALID-0025.title",
|
|
217
217
|
level: "error"
|
|
218
218
|
},
|
|
219
219
|
"ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
|
|
220
|
-
code:
|
|
220
|
+
code: 400,
|
|
221
221
|
type: "modal",
|
|
222
222
|
message: "errors.ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026.message",
|
|
223
223
|
title: "errors.ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026.title",
|
|
224
224
|
level: "error"
|
|
225
225
|
},
|
|
226
226
|
"ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
|
|
227
|
-
code:
|
|
227
|
+
code: 400,
|
|
228
228
|
type: "modal",
|
|
229
229
|
message: "errors.ENROLLMENT-AUTH_UNKNOWN_ERROR-0027.message",
|
|
230
230
|
title: "errors.ENROLLMENT-AUTH_UNKNOWN_ERROR-0027.title",
|
|
231
231
|
level: "error"
|
|
232
232
|
},
|
|
233
233
|
"ENROLLMENT-APISAPNOTAVAILABLE-0028": {
|
|
234
|
-
code:
|
|
234
|
+
code: 400,
|
|
235
235
|
type: "modal",
|
|
236
236
|
message: "errors.ENROLLMENT-APISAPNOTAVAILABLE-0028.message",
|
|
237
237
|
title: "errors.ENROLLMENT-APISAPNOTAVAILABLE-0028.title",
|
|
238
238
|
level: "error"
|
|
239
239
|
},
|
|
240
240
|
"ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
|
|
241
|
-
code:
|
|
241
|
+
code: 400,
|
|
242
242
|
type: "modal",
|
|
243
243
|
message: "errors.ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029.message",
|
|
244
244
|
title: "errors.ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029.title",
|
|
245
245
|
level: "error"
|
|
246
246
|
},
|
|
247
247
|
"ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
|
|
248
|
-
code:
|
|
248
|
+
code: 400,
|
|
249
249
|
type: "modal",
|
|
250
250
|
message: "errors.ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030.message",
|
|
251
251
|
title: "errors.ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030.title",
|
|
252
252
|
level: "error"
|
|
253
253
|
},
|
|
254
254
|
"ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
|
|
255
|
-
code:
|
|
255
|
+
code: 400,
|
|
256
256
|
type: "modal",
|
|
257
257
|
message: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.message",
|
|
258
258
|
title: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.title",
|
|
@@ -661,6 +661,20 @@ const G = {
|
|
|
661
661
|
type: "modal",
|
|
662
662
|
level: "warning"
|
|
663
663
|
},
|
|
664
|
+
"CALCULATOR-BAD-REQUEST-29": {
|
|
665
|
+
title: "errors.calculator.CALCULATOR-BAD-REQUEST-29.title",
|
|
666
|
+
message: "errors.calculator.CALCULATOR-BAD-REQUEST-29.message",
|
|
667
|
+
code: 420,
|
|
668
|
+
type: "modal",
|
|
669
|
+
level: "warning"
|
|
670
|
+
},
|
|
671
|
+
"CALCULATOR-BAD-REQUEST-30": {
|
|
672
|
+
title: "errors.calculator.CALCULATOR-BAD-REQUEST-30.title",
|
|
673
|
+
message: "errors.calculator.CALCULATOR-BAD-REQUEST-30.message",
|
|
674
|
+
code: 420,
|
|
675
|
+
type: "modal",
|
|
676
|
+
level: "warning"
|
|
677
|
+
},
|
|
664
678
|
//Apartadito
|
|
665
679
|
"SAVING_NOT_FOUND-01": {
|
|
666
680
|
title: "errors.calculator.SAVING_NOT_FOUND-01.title",
|
|
@@ -940,8 +954,8 @@ class U extends h {
|
|
|
940
954
|
if (t instanceof Error)
|
|
941
955
|
return this.logError(t.message), {
|
|
942
956
|
...m.internalError,
|
|
943
|
-
title:
|
|
944
|
-
message:
|
|
957
|
+
title: C(m.internalError.title),
|
|
958
|
+
message: C(m.internalError.message),
|
|
945
959
|
uuid: e
|
|
946
960
|
};
|
|
947
961
|
const r = typeof t == "string" ? t : t.code ?? t.errorType;
|
|
@@ -949,11 +963,11 @@ class U extends h {
|
|
|
949
963
|
const l = typeof t == "string" ? {} : { ...t };
|
|
950
964
|
return {
|
|
951
965
|
...m[r] ?? m.default,
|
|
952
|
-
title:
|
|
966
|
+
title: C(
|
|
953
967
|
((s = m[r]) == null ? void 0 : s.title) ?? m.default.title,
|
|
954
968
|
l
|
|
955
969
|
),
|
|
956
|
-
message:
|
|
970
|
+
message: C(
|
|
957
971
|
((A = m[r]) == null ? void 0 : A.message) ?? m.default.message,
|
|
958
972
|
l
|
|
959
973
|
),
|
|
@@ -1002,7 +1016,7 @@ class Ne extends V {
|
|
|
1002
1016
|
O(({ params: A, response: a, headers: o }) => (this.logDebug(
|
|
1003
1017
|
`ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(o)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(A)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)}`
|
|
1004
1018
|
), N(a))),
|
|
1005
|
-
|
|
1019
|
+
I((A) => {
|
|
1006
1020
|
var a;
|
|
1007
1021
|
return this.logError(
|
|
1008
1022
|
`ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(a = r == null ? void 0 : r.body) == null ? void 0 : a.uuid} <PARAMS> ${JSON.stringify(r == null ? void 0 : r.body)} <ERROR>: ${JSON.stringify(A)}`
|
|
@@ -1049,7 +1063,7 @@ class Le extends x {
|
|
|
1049
1063
|
selector: (s) => s.json()
|
|
1050
1064
|
}
|
|
1051
1065
|
).pipe(
|
|
1052
|
-
|
|
1066
|
+
I((s) => {
|
|
1053
1067
|
throw this.logError(JSON.stringify(s)), this.logError(
|
|
1054
1068
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1055
1069
|
l
|
|
@@ -1079,7 +1093,7 @@ class Le extends x {
|
|
|
1079
1093
|
body: this.method === "GET" ? null : JSON.stringify(e),
|
|
1080
1094
|
selector: (s) => s.json()
|
|
1081
1095
|
}).pipe(
|
|
1082
|
-
|
|
1096
|
+
I((s) => {
|
|
1083
1097
|
throw this.logError(JSON.stringify(s)), this.logError(
|
|
1084
1098
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1085
1099
|
l
|
|
@@ -1178,12 +1192,12 @@ function k(E) {
|
|
|
1178
1192
|
a[R] = s[A][R];
|
|
1179
1193
|
for (let R = 16; R < 80; ++R)
|
|
1180
1194
|
a[R] = n(a[R - 3] ^ a[R - 8] ^ a[R - 14] ^ a[R - 16], 1);
|
|
1181
|
-
let o = e[0], T = e[1], i = e[2],
|
|
1195
|
+
let o = e[0], T = e[1], i = e[2], c = e[3], D = e[4];
|
|
1182
1196
|
for (let R = 0; R < 80; ++R) {
|
|
1183
|
-
const P = Math.floor(R / 20), u = n(o, 5) + Z(P, T, i,
|
|
1184
|
-
D =
|
|
1197
|
+
const P = Math.floor(R / 20), u = n(o, 5) + Z(P, T, i, c) + D + t[P] + a[R] >>> 0;
|
|
1198
|
+
D = c, c = i, i = n(T, 30) >>> 0, T = o, o = u;
|
|
1185
1199
|
}
|
|
1186
|
-
e[0] = e[0] + o >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] +
|
|
1200
|
+
e[0] = e[0] + o >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + c >>> 0, e[4] = e[4] + D >>> 0;
|
|
1187
1201
|
}
|
|
1188
1202
|
return [e[0] >> 24 & 255, e[0] >> 16 & 255, e[0] >> 8 & 255, e[0] & 255, e[1] >> 24 & 255, e[1] >> 16 & 255, e[1] >> 8 & 255, e[1] & 255, e[2] >> 24 & 255, e[2] >> 16 & 255, e[2] >> 8 & 255, e[2] & 255, e[3] >> 24 & 255, e[3] >> 16 & 255, e[3] >> 8 & 255, e[3] & 255, e[4] >> 24 & 255, e[4] >> 16 & 255, e[4] >> 8 & 255, e[4] & 255];
|
|
1189
1203
|
}
|
|
@@ -1209,7 +1223,7 @@ class Oe extends F {
|
|
|
1209
1223
|
}
|
|
1210
1224
|
fetchData(e = {}) {
|
|
1211
1225
|
const r = (/* @__PURE__ */ new Date()).toISOString(), l = p(r, p.URL), s = this.encode({ ...e }, l);
|
|
1212
|
-
|
|
1226
|
+
g.getInstance().setSubject(this.isLoadingEnabled);
|
|
1213
1227
|
const a = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
|
|
1214
1228
|
return d(this.apiUrl, {
|
|
1215
1229
|
method: this.method,
|
|
@@ -1220,13 +1234,13 @@ class Oe extends F {
|
|
|
1220
1234
|
O((o) => N(this.decode(o))),
|
|
1221
1235
|
O((o) => o.code && (o.type === "modal" || o.type === "message") ? (this.logError(
|
|
1222
1236
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
|
|
1223
|
-
),
|
|
1224
|
-
O((o) => (
|
|
1237
|
+
), g.getInstance().setSubject(!1), B.getInstance().setSubject(o), this.errorResponse ? N(this.errorResponse) : S) : N(o)),
|
|
1238
|
+
O((o) => (g.getInstance().setSubject(!1), this.logDebug(
|
|
1225
1239
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
|
|
1226
1240
|
), N(o))),
|
|
1227
|
-
|
|
1241
|
+
I((o) => (this.logError(
|
|
1228
1242
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
|
|
1229
|
-
),
|
|
1243
|
+
), g.getInstance().setSubject(!1), B.getInstance().setSubject(
|
|
1230
1244
|
new U().get(o, l)
|
|
1231
1245
|
), this.errorResponse ? N(this.errorResponse) : S))
|
|
1232
1246
|
);
|
|
@@ -1237,7 +1251,7 @@ export {
|
|
|
1237
1251
|
U as ErrorCatalog,
|
|
1238
1252
|
Le as FetchServiceBE,
|
|
1239
1253
|
Oe as FetchServiceFE,
|
|
1240
|
-
|
|
1254
|
+
g as LoadingHandler,
|
|
1241
1255
|
B as MessageHandler,
|
|
1242
1256
|
Ue as RxSubjectManager
|
|
1243
1257
|
};
|