mp-front-cli 0.0.86 → 0.0.88
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/core/utils/api-request/fetch-service-fe.d.ts +0 -1
- package/dist/core/utils/api-request/fetch-service-fe.d.ts.map +1 -1
- package/dist/{index-721e6908.js → index-f87c2b26.js} +103 -63
- package/dist/lang/common/errors/calculator/es_MX/index.d.ts +12 -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 +40 -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 +181 -111
- 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;AA4qBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
|
|
@@ -10,7 +10,6 @@ export declare class FetchServiceFE<TRes, TData = {}> extends CustomEncoder {
|
|
|
10
10
|
setIsLoadingEnabled(isLoadingEnabled: boolean): void;
|
|
11
11
|
setErrorResponse(errorResponse: unknown): void;
|
|
12
12
|
constructor(apiUrl: string, method?: Method, headers?: HeadersInit);
|
|
13
|
-
private errorHandler;
|
|
14
13
|
fetchData(params?: TData): Observable<TRes>;
|
|
15
14
|
}
|
|
16
15
|
//# sourceMappingURL=fetch-service-fe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-service-fe.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/api-request/fetch-service-fe.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"fetch-service-fe.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/api-request/fetch-service-fe.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,UAAU,EAAS,MAAM,MAAM,CAAA;AAGnE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAKhD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,qBAAa,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAE,SAAQ,aAAa;IACjE,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,gBAAgB,CAAgB;IACxC,OAAO,CAAC,aAAa,CAAS;IAE9B,mBAAmB,CAAC,gBAAgB,EAAE,OAAO;IAI7C,gBAAgB,CAAC,aAAa,EAAE,OAAO;gBAKrC,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,MAAe,EACvB,OAAO,GAAE,WAAgB;IAW3B,SAAS,CAAC,MAAM,GAAE,KAAmB,GAAG,UAAU,CAAC,IAAI,CAAC;CAmDzD"}
|
|
@@ -164,6 +164,18 @@ const e = {
|
|
|
164
164
|
title: "Error genérico",
|
|
165
165
|
message: "Error genérico"
|
|
166
166
|
},
|
|
167
|
+
"CALCULATOR-BAD-REQUEST-26": {
|
|
168
|
+
title: "Clave de tipo de producto no encontrada",
|
|
169
|
+
message: "Revisar clave de tipo de producto enviada"
|
|
170
|
+
},
|
|
171
|
+
"CALCULATOR-BAD-REQUEST-27": {
|
|
172
|
+
title: "No hay materiales para el tipo de crédito",
|
|
173
|
+
message: "Revisar producto tipo de crédito enviado"
|
|
174
|
+
},
|
|
175
|
+
"CALCULATOR-BAD-REQUEST-28": {
|
|
176
|
+
title: "Error al consumir el servicio de amortización de SAP",
|
|
177
|
+
message: "Verificar el estado o las credenciales del servicio SAP"
|
|
178
|
+
},
|
|
167
179
|
//Apartadito
|
|
168
180
|
"SAVING_NOT_FOUND-01": {
|
|
169
181
|
title: "Verificar la identificación de guardado",
|
|
@@ -189,132 +201,132 @@ const e = {
|
|
|
189
201
|
}, o = {
|
|
190
202
|
enrollment: {
|
|
191
203
|
"ENROLLMENT-INVALIDCONFIGURATION-0000": {
|
|
192
|
-
title: "
|
|
193
|
-
message: "
|
|
204
|
+
title: "Configuración no correspondiente",
|
|
205
|
+
message: "Comuníquese con mesa de ayuda para que activen las configuraciones correspondientes."
|
|
194
206
|
},
|
|
195
207
|
"ENROLLMENT-INVALIDDEVICEDID-0001": {
|
|
196
|
-
title: "
|
|
197
|
-
message: "
|
|
208
|
+
title: "Validar deviceId",
|
|
209
|
+
message: "Para validar el enrolamiento es necesario enviar el id del dispositivo."
|
|
198
210
|
},
|
|
199
211
|
"ENROLLMENT-INVALIDIMEI-0002": {
|
|
200
|
-
title: "
|
|
201
|
-
message: "
|
|
212
|
+
title: "IMEI no valido",
|
|
213
|
+
message: "Es necesario proporcionar el IMEI valido para poder continuar con el enrolamiento."
|
|
202
214
|
},
|
|
203
215
|
"ENROLLMENT-INVALIDLOCKTYPE-0003": {
|
|
204
|
-
title: "
|
|
205
|
-
message: "
|
|
216
|
+
title: "El tipo de bloqueo no corresponde a este dispositivo",
|
|
217
|
+
message: "Asegúrese que el dispositivo tenga el tipo de bloqueo NUOVO."
|
|
206
218
|
},
|
|
207
219
|
"ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
|
|
208
|
-
title: "
|
|
209
|
-
message: "
|
|
220
|
+
title: "Autentificación invalida",
|
|
221
|
+
message: "Porfavor asegurese de tener permisos para poder acceder al recursos."
|
|
210
222
|
},
|
|
211
223
|
"ENROLLMENT-IMEIDOESNTMATCH-0005": {
|
|
212
|
-
title: "
|
|
213
|
-
message: "
|
|
224
|
+
title: "El IMEI no corresponde al IMEI que esta enrolado",
|
|
225
|
+
message: "Por favor verifique que el IMEI enviado coincida con el IMEI enrolado en la plataforma de NUOVO."
|
|
214
226
|
},
|
|
215
227
|
"ENROLLMENT-QRMACROLOCKNOTGENERATE-0006": {
|
|
216
|
-
title: "
|
|
217
|
-
message: "
|
|
228
|
+
title: "No se pudo generar el código QR para el enrolamiento",
|
|
229
|
+
message: "Por favor verifique los servicios para generarlo."
|
|
218
230
|
},
|
|
219
231
|
"ENROLLMENT-IMEINOTVALIDATED-0007": {
|
|
220
|
-
title: "
|
|
221
|
-
message: "
|
|
232
|
+
title: "Ocurrió un error al intentar validar el IMEI",
|
|
233
|
+
message: " Por favor verifique los logs del servicio para validar IMEI de macrolock."
|
|
222
234
|
},
|
|
223
235
|
"ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
|
|
224
|
-
title: "
|
|
225
|
-
message: "No
|
|
236
|
+
title: "Dispositivo no encontrado",
|
|
237
|
+
message: "No pudimos encontrar dispositivos con los datos proporcionados."
|
|
226
238
|
},
|
|
227
239
|
"ENROLLMENT-JOURNEYERROR-0009": {
|
|
228
|
-
title: "
|
|
229
|
-
message: "Ocurrió un error al avanzar la jornada
|
|
240
|
+
title: "No se puede avanzar al siguiente proceso",
|
|
241
|
+
message: "Ocurrió un error al avanzar la jornada, revise los servicios para un informe detallado."
|
|
230
242
|
},
|
|
231
243
|
"ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
|
|
232
|
-
title: "
|
|
244
|
+
title: "No se puede guardar el IMEI",
|
|
233
245
|
message: "No se encontraron solicitudes con los ids proporcionados."
|
|
234
246
|
},
|
|
235
247
|
"ENROLLMENT-LOCKTYPENOTFOUND-0011": {
|
|
236
|
-
title: "
|
|
237
|
-
message: "
|
|
248
|
+
title: "Verifique IMEI",
|
|
249
|
+
message: "Este IMEI no tiene definido tipo de bloqueo, por favor valide que sea correcto."
|
|
238
250
|
},
|
|
239
251
|
"ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
|
|
240
|
-
title: "
|
|
241
|
-
message: "No se
|
|
252
|
+
title: "Verifique la presolicitud",
|
|
253
|
+
message: "No se encontraron datos para la presolicitud que proporciono."
|
|
242
254
|
},
|
|
243
255
|
"ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
|
|
244
|
-
title: "
|
|
245
|
-
message: "El
|
|
256
|
+
title: "Revisar el Content Type",
|
|
257
|
+
message: "El valor no es admitido."
|
|
246
258
|
},
|
|
247
259
|
"ENROLLMENT-NOT_ACCEPTABLE-0014": {
|
|
248
|
-
title: "
|
|
249
|
-
message: "
|
|
260
|
+
title: "Solicitud incorrecta",
|
|
261
|
+
message: "Verifique que el método sea el correcto."
|
|
250
262
|
},
|
|
251
263
|
"ENROLLMENT-RESOURCENOTFOUND-0015": {
|
|
252
|
-
title: "
|
|
253
|
-
message: "
|
|
264
|
+
title: "Recurso no encontrado",
|
|
265
|
+
message: "La url a la que se intenta acceder no es correcta."
|
|
254
266
|
},
|
|
255
267
|
"ENROLLMENT-BADREQUEST-0016": {
|
|
256
|
-
title: "
|
|
257
|
-
message: "
|
|
268
|
+
title: "El formato datos es invalido",
|
|
269
|
+
message: "Asegúrese que esta enviado los datos correctos."
|
|
258
270
|
},
|
|
259
271
|
"ENROLLMENT-METHODNOTIMPLEMENT-0017": {
|
|
260
|
-
title: "
|
|
261
|
-
message: "
|
|
272
|
+
title: "No existe el bloqueo al que intenta acceder.",
|
|
273
|
+
message: "Por favor, contacte a mesa de ayuda para solucionar el error"
|
|
262
274
|
},
|
|
263
275
|
"ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
|
|
264
|
-
title: "
|
|
265
|
-
message: "No se encontraron productos para
|
|
276
|
+
title: "No hay existencias",
|
|
277
|
+
message: "No se encontraron productos para esta sucursal."
|
|
266
278
|
},
|
|
267
279
|
"ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
|
|
268
|
-
title: "
|
|
269
|
-
message: "No se encontraron productos con
|
|
280
|
+
title: "No hay existencias",
|
|
281
|
+
message: "No se encontraron productos con la clave proporcionada."
|
|
270
282
|
},
|
|
271
283
|
"ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
|
|
272
|
-
title: "
|
|
273
|
-
message: "
|
|
284
|
+
title: "No pudimos cargar alguno de los datos solicitados.",
|
|
285
|
+
message: "Si continúa apareciendo este mensaje por favor contacta a soporte."
|
|
274
286
|
},
|
|
275
287
|
"ENROLLMENT-LOCKTYPENOTFOUND-0021": {
|
|
276
|
-
title: "
|
|
277
|
-
message: "
|
|
288
|
+
title: "Tipo de bloqueo no encontrado",
|
|
289
|
+
message: "Verifique que el identificador para el tipo de bloqueo sea correcto."
|
|
278
290
|
},
|
|
279
291
|
"ENROLLMENT-AUTH_HEADER_MISSING-0022": {
|
|
280
|
-
title: "Falta el encabezado de autorización
|
|
281
|
-
message: "
|
|
292
|
+
title: "Falta el encabezado de autorización",
|
|
293
|
+
message: "Proporciona un header de autorización en su solicitud."
|
|
282
294
|
},
|
|
283
295
|
"ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
|
|
284
|
-
title: "
|
|
285
|
-
message: "
|
|
296
|
+
title: "Autorización invalida",
|
|
297
|
+
message: "Verifica que el token enviado en el head sea valido."
|
|
286
298
|
},
|
|
287
299
|
"ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
|
|
288
|
-
title: "
|
|
289
|
-
message: "Asegúrese que
|
|
300
|
+
title: "Verifique el Bearer token",
|
|
301
|
+
message: "Asegúrese que contenga un token."
|
|
290
302
|
},
|
|
291
303
|
"ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
|
|
292
|
-
title: "
|
|
293
|
-
message: "
|
|
304
|
+
title: "Token invalido",
|
|
305
|
+
message: "Revise que el token aun sea valido y no caduco."
|
|
294
306
|
},
|
|
295
307
|
"ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
|
|
296
|
-
title: "
|
|
297
|
-
message: "
|
|
308
|
+
title: "Revisa el Content Type",
|
|
309
|
+
message: "El valor no es admitido."
|
|
298
310
|
},
|
|
299
311
|
"ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
|
|
300
|
-
title: "
|
|
301
|
-
message: "Si
|
|
312
|
+
title: "No pudimos cargar alguno de los datos solicitados",
|
|
313
|
+
message: "Si continúa apareciendo este mensaje por favor contacta a soporte."
|
|
302
314
|
},
|
|
303
315
|
"ENROLLMENT-APISAPNOTAVAILABLE-0028": {
|
|
304
|
-
title: "Error al consultar
|
|
305
|
-
message: "Revise
|
|
316
|
+
title: "Error al consultar existencia",
|
|
317
|
+
message: "Revise el servicio de existencias de SAP para mas información."
|
|
306
318
|
},
|
|
307
319
|
"ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
|
|
308
|
-
title: "Error al generar
|
|
309
|
-
message: "
|
|
320
|
+
title: "Error al generar token",
|
|
321
|
+
message: "No se pudo generar el token de validación de estatus de tipo de bloqueo por proveedores."
|
|
310
322
|
},
|
|
311
323
|
"ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
|
|
312
|
-
title: "Error
|
|
313
|
-
message: "
|
|
324
|
+
title: "Error en la api",
|
|
325
|
+
message: "No se puede consultar la api de validación de estatus."
|
|
314
326
|
},
|
|
315
327
|
"ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
|
|
316
|
-
title: "
|
|
317
|
-
message: "
|
|
328
|
+
title: "Autenticación invalida Trustonic",
|
|
329
|
+
message: "Por favor asegúrese de tener permisos para acceder a este recurso."
|
|
318
330
|
}
|
|
319
331
|
}
|
|
320
332
|
}, a = {
|
|
@@ -444,6 +456,34 @@ const e = {
|
|
|
444
456
|
title: "Error genérico",
|
|
445
457
|
message: "Error genérico"
|
|
446
458
|
},
|
|
459
|
+
"PERSONALDATA-ODATA-ERROR-01": {
|
|
460
|
+
title: "Fallo el Odata con error controlado",
|
|
461
|
+
message: "Por favor contacte con soporte"
|
|
462
|
+
},
|
|
463
|
+
"PERSONALDATA-UNKNOWN-FG-01": {
|
|
464
|
+
title: "Tipo de solicitud previa no válida",
|
|
465
|
+
message: "Por favor contacte con soporte"
|
|
466
|
+
},
|
|
467
|
+
"PERSONALDATA-CU-ERROR-01": {
|
|
468
|
+
title: "PERSONALDATA-CU-ERROR-01",
|
|
469
|
+
message: "Por favor contacte con soporte"
|
|
470
|
+
},
|
|
471
|
+
"PERSONALDATA-INVALID-RFC-01": {
|
|
472
|
+
title: "INVALID-RFC",
|
|
473
|
+
message: "El rfc es un rfc no válido"
|
|
474
|
+
},
|
|
475
|
+
"PERSONALDATA-BAD-REQUEST-09": {
|
|
476
|
+
title: "La curp ya está asociada a un proceso iniciado",
|
|
477
|
+
message: "por favor intenta con otro curp"
|
|
478
|
+
},
|
|
479
|
+
"PERSONALDATA-BAD-REQUEST-10": {
|
|
480
|
+
title: "La curp ya tiene proceso iniciado",
|
|
481
|
+
message: "por favor intenta con otro curp"
|
|
482
|
+
},
|
|
483
|
+
"PERSONALDATA-BAD-REQUEST-WHITE-LIST-11": {
|
|
484
|
+
title: "Lista blanca devuelve nulo",
|
|
485
|
+
message: "por favor intenta con otro curp"
|
|
486
|
+
},
|
|
447
487
|
//BIOMETRIC
|
|
448
488
|
"PF-BIOMETRIC-001": {
|
|
449
489
|
title: "Campo inválido",
|
|
@@ -164,6 +164,18 @@ declare const translation: {
|
|
|
164
164
|
title: string;
|
|
165
165
|
message: string;
|
|
166
166
|
};
|
|
167
|
+
"CALCULATOR-BAD-REQUEST-26": {
|
|
168
|
+
title: string;
|
|
169
|
+
message: string;
|
|
170
|
+
};
|
|
171
|
+
"CALCULATOR-BAD-REQUEST-27": {
|
|
172
|
+
title: string;
|
|
173
|
+
message: string;
|
|
174
|
+
};
|
|
175
|
+
"CALCULATOR-BAD-REQUEST-28": {
|
|
176
|
+
title: string;
|
|
177
|
+
message: string;
|
|
178
|
+
};
|
|
167
179
|
"SAVING_NOT_FOUND-01": {
|
|
168
180
|
title: string;
|
|
169
181
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8MhB,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"}
|
|
@@ -232,6 +232,34 @@ declare const translation: {
|
|
|
232
232
|
title: string;
|
|
233
233
|
message: string;
|
|
234
234
|
};
|
|
235
|
+
"PERSONALDATA-ODATA-ERROR-01": {
|
|
236
|
+
title: string;
|
|
237
|
+
message: string;
|
|
238
|
+
};
|
|
239
|
+
"PERSONALDATA-UNKNOWN-FG-01": {
|
|
240
|
+
title: string;
|
|
241
|
+
message: string;
|
|
242
|
+
};
|
|
243
|
+
"PERSONALDATA-CU-ERROR-01": {
|
|
244
|
+
title: string;
|
|
245
|
+
message: string;
|
|
246
|
+
};
|
|
247
|
+
"PERSONALDATA-INVALID-RFC-01": {
|
|
248
|
+
title: string;
|
|
249
|
+
message: string;
|
|
250
|
+
};
|
|
251
|
+
"PERSONALDATA-BAD-REQUEST-09": {
|
|
252
|
+
title: string;
|
|
253
|
+
message: string;
|
|
254
|
+
};
|
|
255
|
+
"PERSONALDATA-BAD-REQUEST-10": {
|
|
256
|
+
title: string;
|
|
257
|
+
message: string;
|
|
258
|
+
};
|
|
259
|
+
"PERSONALDATA-BAD-REQUEST-WHITE-LIST-11": {
|
|
260
|
+
title: string;
|
|
261
|
+
message: string;
|
|
262
|
+
};
|
|
235
263
|
"PF-BIOMETRIC-001": {
|
|
236
264
|
title: string;
|
|
237
265
|
message: string;
|
|
@@ -429,6 +457,18 @@ declare const translation: {
|
|
|
429
457
|
title: string;
|
|
430
458
|
message: string;
|
|
431
459
|
};
|
|
460
|
+
"CALCULATOR-BAD-REQUEST-26": {
|
|
461
|
+
title: string;
|
|
462
|
+
message: string;
|
|
463
|
+
};
|
|
464
|
+
"CALCULATOR-BAD-REQUEST-27": {
|
|
465
|
+
title: string;
|
|
466
|
+
message: string;
|
|
467
|
+
};
|
|
468
|
+
"CALCULATOR-BAD-REQUEST-28": {
|
|
469
|
+
title: string;
|
|
470
|
+
message: string;
|
|
471
|
+
};
|
|
432
472
|
"SAVING_NOT_FOUND-01": {
|
|
433
473
|
title: string;
|
|
434
474
|
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-f87c2b26.js";
|
|
5
5
|
import "./mp-front-cli-logger.es.js";
|
|
6
6
|
import "rxjs";
|
|
7
7
|
import "./mp-front-cli-encrypter.es.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var L = (E, t, e) => (
|
|
4
|
-
import {
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var y = (E, t, e) => t in E ? f(E, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : E[t] = e;
|
|
3
|
+
var L = (E, t, e) => (y(E, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { LoadingHandler as c, 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
|
|
7
|
-
import { t as Q } from "./index-
|
|
8
|
-
import { CustomLogger as
|
|
9
|
-
import { of as N, switchMap as O, forkJoin as
|
|
6
|
+
import v, { t as I } from "i18next";
|
|
7
|
+
import { t as Q } from "./index-f87c2b26.js";
|
|
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 C, EMPTY as S, filter as w } from "rxjs";
|
|
10
10
|
import { CustomEncrypter as V } from "./mp-front-cli-encrypter.es.js";
|
|
11
|
-
import { C as x, f as
|
|
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";
|
|
13
13
|
import { u as Y } from "./stringify-788d71a0.js";
|
|
14
14
|
import "node-jose";
|
|
@@ -20,7 +20,7 @@ const H = {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
v.init({
|
|
24
24
|
resources: H,
|
|
25
25
|
lng: "es",
|
|
26
26
|
// language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
|
|
@@ -33,9 +33,9 @@ h.init({
|
|
|
33
33
|
},
|
|
34
34
|
debug: !1
|
|
35
35
|
});
|
|
36
|
-
const
|
|
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 _ = {
|
|
|
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 _ = {
|
|
|
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 _ = {
|
|
|
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",
|
|
@@ -640,6 +640,27 @@ const _ = {
|
|
|
640
640
|
type: "modal",
|
|
641
641
|
level: "warning"
|
|
642
642
|
},
|
|
643
|
+
"CALCULATOR-BAD-REQUEST-26": {
|
|
644
|
+
title: "errors.calculator.CALCULATOR-BAD-REQUEST-26.title",
|
|
645
|
+
message: "errors.calculator.CALCULATOR-BAD-REQUEST-26.message",
|
|
646
|
+
code: 420,
|
|
647
|
+
type: "modal",
|
|
648
|
+
level: "warning"
|
|
649
|
+
},
|
|
650
|
+
"CALCULATOR-BAD-REQUEST-27": {
|
|
651
|
+
title: "errors.calculator.CALCULATOR-BAD-REQUEST-27.title",
|
|
652
|
+
message: "errors.calculator.CALCULATOR-BAD-REQUEST-27.message",
|
|
653
|
+
code: 420,
|
|
654
|
+
type: "modal",
|
|
655
|
+
level: "warning"
|
|
656
|
+
},
|
|
657
|
+
"CALCULATOR-BAD-REQUEST-28": {
|
|
658
|
+
title: "errors.calculator.CALCULATOR-BAD-REQUEST-28.title",
|
|
659
|
+
message: "errors.calculator.CALCULATOR-BAD-REQUEST-28.message",
|
|
660
|
+
code: 420,
|
|
661
|
+
type: "modal",
|
|
662
|
+
level: "warning"
|
|
663
|
+
},
|
|
643
664
|
//Apartadito
|
|
644
665
|
"SAVING_NOT_FOUND-01": {
|
|
645
666
|
title: "errors.calculator.SAVING_NOT_FOUND-01.title",
|
|
@@ -840,6 +861,55 @@ const _ = {
|
|
|
840
861
|
type: "modal",
|
|
841
862
|
level: "warning"
|
|
842
863
|
},
|
|
864
|
+
"PERSONALDATA-ODATA-ERROR-01": {
|
|
865
|
+
title: "errors.PERSONALDATA-ODATA-ERROR-01.title",
|
|
866
|
+
message: "errors.PERSONALDATA-ODATA-ERROR-01.message",
|
|
867
|
+
code: 420,
|
|
868
|
+
type: "modal",
|
|
869
|
+
level: "warning"
|
|
870
|
+
},
|
|
871
|
+
"PERSONALDATA-UNKNOWN-FG-01": {
|
|
872
|
+
title: "errors.PERSONALDATA-UNKNOWN-FG-01.title",
|
|
873
|
+
message: "errors.PERSONALDATA-UNKNOWN-FG-01.message",
|
|
874
|
+
code: 420,
|
|
875
|
+
type: "modal",
|
|
876
|
+
level: "warning"
|
|
877
|
+
},
|
|
878
|
+
"PERSONALDATA-CU-ERROR-01": {
|
|
879
|
+
title: "errors.PERSONALDATA-CU-ERROR-01.title",
|
|
880
|
+
message: "errors.PERSONALDATA-CU-ERROR-01.message",
|
|
881
|
+
code: 420,
|
|
882
|
+
type: "modal",
|
|
883
|
+
level: "warning"
|
|
884
|
+
},
|
|
885
|
+
"PERSONALDATA-INVALID-RFC-01": {
|
|
886
|
+
title: "errors.PERSONALDATA-INVALID-RFC-01.title",
|
|
887
|
+
message: "errors.PERSONALDATA-INVALID-RFC-01.message",
|
|
888
|
+
code: 420,
|
|
889
|
+
type: "modal",
|
|
890
|
+
level: "warning"
|
|
891
|
+
},
|
|
892
|
+
"PERSONALDATA-BAD-REQUEST-09": {
|
|
893
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-09.title",
|
|
894
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-09.message",
|
|
895
|
+
code: 420,
|
|
896
|
+
type: "modal",
|
|
897
|
+
level: "warning"
|
|
898
|
+
},
|
|
899
|
+
"PERSONALDATA-BAD-REQUEST-10": {
|
|
900
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-10.title",
|
|
901
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-10.message",
|
|
902
|
+
code: 420,
|
|
903
|
+
type: "modal",
|
|
904
|
+
level: "warning"
|
|
905
|
+
},
|
|
906
|
+
"PERSONALDATA-BAD-REQUEST-WHITE-LIST-11": {
|
|
907
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-WHITE-LIST-11.title",
|
|
908
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-WHITE-LIST-11.message",
|
|
909
|
+
code: 420,
|
|
910
|
+
type: "modal",
|
|
911
|
+
level: "warning"
|
|
912
|
+
},
|
|
843
913
|
//Personal references
|
|
844
914
|
"PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
|
|
845
915
|
title: "errors.PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01.title",
|
|
@@ -862,16 +932,16 @@ const _ = {
|
|
|
862
932
|
type: "modal",
|
|
863
933
|
level: "warning"
|
|
864
934
|
},
|
|
865
|
-
...
|
|
935
|
+
...G
|
|
866
936
|
};
|
|
867
|
-
class U extends
|
|
937
|
+
class U extends h {
|
|
868
938
|
get(t = "default", e = "NOT_FOUND") {
|
|
869
939
|
var s, A;
|
|
870
940
|
if (t instanceof Error)
|
|
871
941
|
return this.logError(t.message), {
|
|
872
942
|
...m.internalError,
|
|
873
|
-
title:
|
|
874
|
-
message:
|
|
943
|
+
title: I(m.internalError.title),
|
|
944
|
+
message: I(m.internalError.message),
|
|
875
945
|
uuid: e
|
|
876
946
|
};
|
|
877
947
|
const r = typeof t == "string" ? t : t.code ?? t.errorType;
|
|
@@ -879,11 +949,11 @@ class U extends w {
|
|
|
879
949
|
const l = typeof t == "string" ? {} : { ...t };
|
|
880
950
|
return {
|
|
881
951
|
...m[r] ?? m.default,
|
|
882
|
-
title:
|
|
952
|
+
title: I(
|
|
883
953
|
((s = m[r]) == null ? void 0 : s.title) ?? m.default.title,
|
|
884
954
|
l
|
|
885
955
|
),
|
|
886
|
-
message:
|
|
956
|
+
message: I(
|
|
887
957
|
((A = m[r]) == null ? void 0 : A.message) ?? m.default.message,
|
|
888
958
|
l
|
|
889
959
|
),
|
|
@@ -917,26 +987,26 @@ class Ne extends V {
|
|
|
917
987
|
var s;
|
|
918
988
|
this.logDebug("return ApiMiddleware"), this.uuid = (s = r == null ? void 0 : r.body) == null ? void 0 : s.uuid, N(r).pipe(
|
|
919
989
|
O(
|
|
920
|
-
(A) =>
|
|
990
|
+
(A) => M({
|
|
921
991
|
params: N(this.decode(A.body)),
|
|
922
992
|
headers: N(A.headers)
|
|
923
993
|
})
|
|
924
994
|
),
|
|
925
995
|
O(
|
|
926
|
-
({ params: A, headers:
|
|
927
|
-
response: e(A, this.uuid,
|
|
928
|
-
headers: N(
|
|
996
|
+
({ params: A, headers: a }) => M({
|
|
997
|
+
response: e(A, this.uuid, a),
|
|
998
|
+
headers: N(a),
|
|
929
999
|
params: N(A)
|
|
930
1000
|
})
|
|
931
1001
|
),
|
|
932
|
-
O(({ params: A, response:
|
|
933
|
-
`ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
934
|
-
), N(
|
|
935
|
-
|
|
936
|
-
var
|
|
1002
|
+
O(({ params: A, response: a, headers: o }) => (this.logDebug(
|
|
1003
|
+
`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
|
+
), N(a))),
|
|
1005
|
+
C((A) => {
|
|
1006
|
+
var a;
|
|
937
1007
|
return this.logError(
|
|
938
|
-
`ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(
|
|
939
|
-
), this.returnError(l, A),
|
|
1008
|
+
`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)}`
|
|
1009
|
+
), this.returnError(l, A), S;
|
|
940
1010
|
})
|
|
941
1011
|
).subscribe({
|
|
942
1012
|
next: (A) => {
|
|
@@ -946,7 +1016,7 @@ class Ne extends V {
|
|
|
946
1016
|
};
|
|
947
1017
|
}
|
|
948
1018
|
}
|
|
949
|
-
const
|
|
1019
|
+
const _ = process.env.ID_FRONT ?? "NOT_AVAILABLE";
|
|
950
1020
|
class Le extends x {
|
|
951
1021
|
constructor(e, r, l = {}) {
|
|
952
1022
|
super(l);
|
|
@@ -962,7 +1032,7 @@ class Le extends x {
|
|
|
962
1032
|
formatParams(e) {
|
|
963
1033
|
return JSON.stringify({
|
|
964
1034
|
data: {
|
|
965
|
-
type:
|
|
1035
|
+
type: _,
|
|
966
1036
|
attributes: e
|
|
967
1037
|
}
|
|
968
1038
|
});
|
|
@@ -970,7 +1040,7 @@ class Le extends x {
|
|
|
970
1040
|
fetchData(e = {}, r) {
|
|
971
1041
|
return this.getHeaders().pipe(
|
|
972
1042
|
O(
|
|
973
|
-
(l) =>
|
|
1043
|
+
(l) => d(
|
|
974
1044
|
this.apiUrl,
|
|
975
1045
|
{
|
|
976
1046
|
method: "POST",
|
|
@@ -979,7 +1049,7 @@ class Le extends x {
|
|
|
979
1049
|
selector: (s) => s.json()
|
|
980
1050
|
}
|
|
981
1051
|
).pipe(
|
|
982
|
-
|
|
1052
|
+
C((s) => {
|
|
983
1053
|
throw this.logError(JSON.stringify(s)), this.logError(
|
|
984
1054
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
985
1055
|
l
|
|
@@ -997,19 +1067,19 @@ class Le extends x {
|
|
|
997
1067
|
), N(s)))
|
|
998
1068
|
)
|
|
999
1069
|
),
|
|
1000
|
-
|
|
1070
|
+
w((l) => this.errorHandler(l, r))
|
|
1001
1071
|
);
|
|
1002
1072
|
}
|
|
1003
1073
|
fetchCustomData(e = {}, r) {
|
|
1004
1074
|
return this.getHeaders().pipe(
|
|
1005
1075
|
O(
|
|
1006
|
-
(l) =>
|
|
1076
|
+
(l) => d(this.apiUrl, {
|
|
1007
1077
|
method: this.method,
|
|
1008
1078
|
headers: l,
|
|
1009
1079
|
body: this.method === "GET" ? null : JSON.stringify(e),
|
|
1010
1080
|
selector: (s) => s.json()
|
|
1011
1081
|
}).pipe(
|
|
1012
|
-
|
|
1082
|
+
C((s) => {
|
|
1013
1083
|
throw this.logError(JSON.stringify(s)), this.logError(
|
|
1014
1084
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1015
1085
|
l
|
|
@@ -1031,11 +1101,11 @@ class Le extends x {
|
|
|
1031
1101
|
}
|
|
1032
1102
|
}
|
|
1033
1103
|
const J = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
1034
|
-
function
|
|
1104
|
+
function $(E) {
|
|
1035
1105
|
return typeof E == "string" && J.test(E);
|
|
1036
1106
|
}
|
|
1037
|
-
function
|
|
1038
|
-
if (
|
|
1107
|
+
function K(E) {
|
|
1108
|
+
if (!$(E))
|
|
1039
1109
|
throw TypeError("Invalid UUID");
|
|
1040
1110
|
let t;
|
|
1041
1111
|
const e = new Uint8Array(16);
|
|
@@ -1048,26 +1118,26 @@ function b(E) {
|
|
|
1048
1118
|
t.push(E.charCodeAt(e));
|
|
1049
1119
|
return t;
|
|
1050
1120
|
}
|
|
1051
|
-
const X = "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
|
|
1052
|
-
function
|
|
1053
|
-
function r(l, s, A,
|
|
1054
|
-
var
|
|
1055
|
-
if (typeof l == "string" && (l = b(l)), typeof s == "string" && (s =
|
|
1121
|
+
const X = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", W = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
1122
|
+
function j(E, t, e) {
|
|
1123
|
+
function r(l, s, A, a) {
|
|
1124
|
+
var o;
|
|
1125
|
+
if (typeof l == "string" && (l = b(l)), typeof s == "string" && (s = K(s)), ((o = s) === null || o === void 0 ? void 0 : o.length) !== 16)
|
|
1056
1126
|
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
1057
|
-
let
|
|
1058
|
-
if (
|
|
1059
|
-
|
|
1127
|
+
let T = new Uint8Array(16 + l.length);
|
|
1128
|
+
if (T.set(s), T.set(l, s.length), T = e(T), T[6] = T[6] & 15 | t, T[8] = T[8] & 63 | 128, A) {
|
|
1129
|
+
a = a || 0;
|
|
1060
1130
|
for (let i = 0; i < 16; ++i)
|
|
1061
|
-
A[
|
|
1131
|
+
A[a + i] = T[i];
|
|
1062
1132
|
return A;
|
|
1063
1133
|
}
|
|
1064
|
-
return Y(
|
|
1134
|
+
return Y(T);
|
|
1065
1135
|
}
|
|
1066
1136
|
try {
|
|
1067
1137
|
r.name = E;
|
|
1068
1138
|
} catch {
|
|
1069
1139
|
}
|
|
1070
|
-
return r.DNS = X, r.URL =
|
|
1140
|
+
return r.DNS = X, r.URL = W, r;
|
|
1071
1141
|
}
|
|
1072
1142
|
function Z(E, t, e, r) {
|
|
1073
1143
|
switch (E) {
|
|
@@ -1081,7 +1151,7 @@ function Z(E, t, e, r) {
|
|
|
1081
1151
|
return t ^ e ^ r;
|
|
1082
1152
|
}
|
|
1083
1153
|
}
|
|
1084
|
-
function
|
|
1154
|
+
function n(E, t) {
|
|
1085
1155
|
return E << t | E >>> 32 - t;
|
|
1086
1156
|
}
|
|
1087
1157
|
function k(E) {
|
|
@@ -1089,35 +1159,35 @@ function k(E) {
|
|
|
1089
1159
|
if (typeof E == "string") {
|
|
1090
1160
|
const A = unescape(encodeURIComponent(E));
|
|
1091
1161
|
E = [];
|
|
1092
|
-
for (let
|
|
1093
|
-
E.push(A.charCodeAt(
|
|
1162
|
+
for (let a = 0; a < A.length; ++a)
|
|
1163
|
+
E.push(A.charCodeAt(a));
|
|
1094
1164
|
} else
|
|
1095
1165
|
Array.isArray(E) || (E = Array.prototype.slice.call(E));
|
|
1096
1166
|
E.push(128);
|
|
1097
1167
|
const r = E.length / 4 + 2, l = Math.ceil(r / 16), s = new Array(l);
|
|
1098
1168
|
for (let A = 0; A < l; ++A) {
|
|
1099
|
-
const
|
|
1100
|
-
for (let
|
|
1101
|
-
o
|
|
1102
|
-
s[A] =
|
|
1169
|
+
const a = new Uint32Array(16);
|
|
1170
|
+
for (let o = 0; o < 16; ++o)
|
|
1171
|
+
a[o] = E[A * 64 + o * 4] << 24 | E[A * 64 + o * 4 + 1] << 16 | E[A * 64 + o * 4 + 2] << 8 | E[A * 64 + o * 4 + 3];
|
|
1172
|
+
s[A] = a;
|
|
1103
1173
|
}
|
|
1104
1174
|
s[l - 1][14] = (E.length - 1) * 8 / Math.pow(2, 32), s[l - 1][14] = Math.floor(s[l - 1][14]), s[l - 1][15] = (E.length - 1) * 8 & 4294967295;
|
|
1105
1175
|
for (let A = 0; A < l; ++A) {
|
|
1106
|
-
const
|
|
1107
|
-
for (let
|
|
1108
|
-
|
|
1109
|
-
for (let
|
|
1110
|
-
|
|
1111
|
-
let
|
|
1112
|
-
for (let
|
|
1113
|
-
const
|
|
1114
|
-
|
|
1176
|
+
const a = new Uint32Array(80);
|
|
1177
|
+
for (let R = 0; R < 16; ++R)
|
|
1178
|
+
a[R] = s[A][R];
|
|
1179
|
+
for (let R = 16; R < 80; ++R)
|
|
1180
|
+
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], g = e[3], D = e[4];
|
|
1182
|
+
for (let R = 0; R < 80; ++R) {
|
|
1183
|
+
const P = Math.floor(R / 20), u = n(o, 5) + Z(P, T, i, g) + D + t[P] + a[R] >>> 0;
|
|
1184
|
+
D = g, g = i, i = n(T, 30) >>> 0, T = o, o = u;
|
|
1115
1185
|
}
|
|
1116
|
-
e[0] = e[0] +
|
|
1186
|
+
e[0] = e[0] + o >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + g >>> 0, e[4] = e[4] + D >>> 0;
|
|
1117
1187
|
}
|
|
1118
1188
|
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];
|
|
1119
1189
|
}
|
|
1120
|
-
const z =
|
|
1190
|
+
const z = j("v5", 80, k), p = z;
|
|
1121
1191
|
class Oe extends F {
|
|
1122
1192
|
constructor(e, r = "POST", l = {}) {
|
|
1123
1193
|
super();
|
|
@@ -1137,28 +1207,28 @@ class Oe extends F {
|
|
|
1137
1207
|
setErrorResponse(e) {
|
|
1138
1208
|
this.errorResponse = e;
|
|
1139
1209
|
}
|
|
1140
|
-
errorHandler(e) {
|
|
1141
|
-
return e.code && (e.type === "modal" || e.type === "message") && (P.getInstance().setSubject(e), c.getInstance().setSubject(!1)), !e.code;
|
|
1142
|
-
}
|
|
1143
1210
|
fetchData(e = {}) {
|
|
1144
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), l =
|
|
1211
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), l = p(r, p.URL), s = this.encode({ ...e }, l);
|
|
1145
1212
|
c.getInstance().setSubject(this.isLoadingEnabled);
|
|
1146
|
-
const
|
|
1147
|
-
return
|
|
1213
|
+
const a = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
|
|
1214
|
+
return d(this.apiUrl, {
|
|
1148
1215
|
method: this.method,
|
|
1149
|
-
headers: { ...this.headers, flow:
|
|
1216
|
+
headers: { ...this.headers, flow: a },
|
|
1150
1217
|
body: s,
|
|
1151
|
-
selector: (
|
|
1218
|
+
selector: (o) => o.json()
|
|
1152
1219
|
}).pipe(
|
|
1153
|
-
O((
|
|
1154
|
-
O((
|
|
1155
|
-
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(
|
|
1156
|
-
), N(
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1220
|
+
O((o) => N(this.decode(o))),
|
|
1221
|
+
O((o) => o.code && (o.type === "modal" || o.type === "message") ? (this.logError(
|
|
1222
|
+
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
|
|
1223
|
+
), c.getInstance().setSubject(!1), B.getInstance().setSubject(o), this.errorResponse ? N(this.errorResponse) : S) : N(o)),
|
|
1224
|
+
O((o) => (c.getInstance().setSubject(!1), this.logDebug(
|
|
1225
|
+
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
|
|
1226
|
+
), N(o))),
|
|
1227
|
+
C((o) => (this.logError(
|
|
1228
|
+
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
|
|
1229
|
+
), c.getInstance().setSubject(!1), B.getInstance().setSubject(
|
|
1230
|
+
new U().get(o, l)
|
|
1231
|
+
), this.errorResponse ? N(this.errorResponse) : S))
|
|
1162
1232
|
);
|
|
1163
1233
|
}
|
|
1164
1234
|
}
|
|
@@ -1168,6 +1238,6 @@ export {
|
|
|
1168
1238
|
Le as FetchServiceBE,
|
|
1169
1239
|
Oe as FetchServiceFE,
|
|
1170
1240
|
c as LoadingHandler,
|
|
1171
|
-
|
|
1241
|
+
B as MessageHandler,
|
|
1172
1242
|
Ue as RxSubjectManager
|
|
1173
1243
|
};
|