mp-front-cli 0.0.115 → 0.0.117
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/errors/helpdesk/cancelPr.d.ts +5 -0
- package/dist/core/errors/helpdesk/cancelPr.d.ts.map +1 -0
- package/dist/core/errors/helpdesk/index.d.ts +5 -0
- package/dist/core/errors/helpdesk/index.d.ts.map +1 -0
- package/dist/core/errors/helpdesk/skipFingerprint.d.ts +5 -0
- package/dist/core/errors/helpdesk/skipFingerprint.d.ts.map +1 -0
- package/dist/{index-374a6af0.js → index-2423783f.js} +43 -2
- package/dist/lang/common/errors/es_MX/index.d.ts +38 -0
- package/dist/lang/common/errors/es_MX/index.d.ts.map +1 -1
- package/dist/lang/common/errors/helpdesk/en_EN/index.d.ts +5 -0
- package/dist/lang/common/errors/helpdesk/en_EN/index.d.ts.map +1 -0
- package/dist/lang/common/errors/helpdesk/en_MX/index.d.ts +42 -0
- package/dist/lang/common/errors/helpdesk/en_MX/index.d.ts.map +1 -0
- package/dist/lang/common/errors/helpdesk/index.d.ts +3 -0
- package/dist/lang/common/errors/helpdesk/index.d.ts.map +1 -0
- package/dist/mp-front-cli-all.es.js +1 -1
- package/dist/mp-front-cli-core.es.js +202 -133
- package/dist/mp-front-cli-locale.es.js +1 -1
- package/package.json +3 -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;AA4yBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancelPr.d.ts","sourceRoot":"","sources":["../../../../src/core/errors/helpdesk/cancelPr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,eAAO,MAAM,4BAA4B,EAAE;IACzC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CASnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/errors/helpdesk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAI9C,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CAInC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skipFingerprint.d.ts","sourceRoot":"","sources":["../../../../src/core/errors/helpdesk/skipFingerprint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,eAAO,MAAM,mCAAmC,EAAE;IAChD,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CA0DnC,CAAA"}
|
|
@@ -350,6 +350,45 @@ const e = {
|
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}, a = {
|
|
353
|
+
helpdesk: {
|
|
354
|
+
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
355
|
+
title: "Error",
|
|
356
|
+
message: "Por favor de revisar los datos enviados"
|
|
357
|
+
},
|
|
358
|
+
"SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01": {
|
|
359
|
+
title: "Clave de vendedor incorrecta",
|
|
360
|
+
message: "Por favor de revisar los datos enviados"
|
|
361
|
+
},
|
|
362
|
+
"SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01": {
|
|
363
|
+
title: "Sin ID Journey",
|
|
364
|
+
message: "Favor de contactar a soporte"
|
|
365
|
+
},
|
|
366
|
+
"SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01": {
|
|
367
|
+
title: "Error",
|
|
368
|
+
message: "No se pudo actualizar la jornada por un error inesperado"
|
|
369
|
+
},
|
|
370
|
+
"SKIPFINGERPRINT-UNEXCEPTED-ERROR-01": {
|
|
371
|
+
title: "Error",
|
|
372
|
+
message: "Favor de contactar a soporte"
|
|
373
|
+
},
|
|
374
|
+
"SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02": {
|
|
375
|
+
title: "El Id State es incorrecto",
|
|
376
|
+
message: "Favor de verificar el id."
|
|
377
|
+
},
|
|
378
|
+
"SKIPFINGERPRINT-CLIENT-NOT-FOUND": {
|
|
379
|
+
title: "Cliente no existe",
|
|
380
|
+
message: "Por favor, revisa el CURP"
|
|
381
|
+
},
|
|
382
|
+
"DUPLICATE-KEY-DATABASE-POSTGRES": {
|
|
383
|
+
title: "Id Journey duplicada",
|
|
384
|
+
message: "Favor de verificar el Id."
|
|
385
|
+
},
|
|
386
|
+
"UNEXCEPTED-ERROR": {
|
|
387
|
+
title: "UNEXCEPTED-ERROR",
|
|
388
|
+
message: "Favor de contactar a soporte"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}, r = {
|
|
353
392
|
errors: {
|
|
354
393
|
default: {
|
|
355
394
|
title: "No pudimos cargar alguno de los datos solicitados.",
|
|
@@ -379,8 +418,10 @@ const e = {
|
|
|
379
418
|
title: "Error en la configuración del usuario",
|
|
380
419
|
message: "Es necesario asignar una clave de vendedor al usuario. Por favor comunícate con nuestra mesa de ayuda para solucionar el problema."
|
|
381
420
|
},
|
|
382
|
-
//
|
|
421
|
+
//Calculator & Apartadito
|
|
383
422
|
...e,
|
|
423
|
+
//#region helpdesk
|
|
424
|
+
...a,
|
|
384
425
|
//JORNADA
|
|
385
426
|
"JOURNEY-INVALIDATEDATA-01": {
|
|
386
427
|
title: "Por favor verifique su estructura y los valores de sus atributos.",
|
|
@@ -614,5 +655,5 @@ const e = {
|
|
|
614
655
|
}
|
|
615
656
|
};
|
|
616
657
|
export {
|
|
617
|
-
|
|
658
|
+
r as t
|
|
618
659
|
};
|
|
@@ -360,6 +360,44 @@ declare const translation: {
|
|
|
360
360
|
title: string;
|
|
361
361
|
message: string;
|
|
362
362
|
};
|
|
363
|
+
helpdesk: {
|
|
364
|
+
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
365
|
+
title: string;
|
|
366
|
+
message: string;
|
|
367
|
+
};
|
|
368
|
+
"SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01": {
|
|
369
|
+
title: string;
|
|
370
|
+
message: string;
|
|
371
|
+
};
|
|
372
|
+
"SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01": {
|
|
373
|
+
title: string;
|
|
374
|
+
message: string;
|
|
375
|
+
};
|
|
376
|
+
"SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01": {
|
|
377
|
+
title: string;
|
|
378
|
+
message: string;
|
|
379
|
+
};
|
|
380
|
+
"SKIPFINGERPRINT-UNEXCEPTED-ERROR-01": {
|
|
381
|
+
title: string;
|
|
382
|
+
message: string;
|
|
383
|
+
};
|
|
384
|
+
"SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02": {
|
|
385
|
+
title: string;
|
|
386
|
+
message: string;
|
|
387
|
+
};
|
|
388
|
+
"SKIPFINGERPRINT-CLIENT-NOT-FOUND": {
|
|
389
|
+
title: string;
|
|
390
|
+
message: string;
|
|
391
|
+
};
|
|
392
|
+
"DUPLICATE-KEY-DATABASE-POSTGRES": {
|
|
393
|
+
title: string;
|
|
394
|
+
message: string;
|
|
395
|
+
};
|
|
396
|
+
"UNEXCEPTED-ERROR": {
|
|
397
|
+
title: string;
|
|
398
|
+
message: string;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
363
401
|
calculator: {
|
|
364
402
|
"SCORE-CLIENTREJECTED-01": {
|
|
365
403
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2RhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/helpdesk/en_EN/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;CAEhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const translation: {
|
|
2
|
+
helpdesk: {
|
|
3
|
+
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
4
|
+
title: string;
|
|
5
|
+
message: string;
|
|
6
|
+
};
|
|
7
|
+
"SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01": {
|
|
8
|
+
title: string;
|
|
9
|
+
message: string;
|
|
10
|
+
};
|
|
11
|
+
"SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01": {
|
|
12
|
+
title: string;
|
|
13
|
+
message: string;
|
|
14
|
+
};
|
|
15
|
+
"SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01": {
|
|
16
|
+
title: string;
|
|
17
|
+
message: string;
|
|
18
|
+
};
|
|
19
|
+
"SKIPFINGERPRINT-UNEXCEPTED-ERROR-01": {
|
|
20
|
+
title: string;
|
|
21
|
+
message: string;
|
|
22
|
+
};
|
|
23
|
+
"SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02": {
|
|
24
|
+
title: string;
|
|
25
|
+
message: string;
|
|
26
|
+
};
|
|
27
|
+
"SKIPFINGERPRINT-CLIENT-NOT-FOUND": {
|
|
28
|
+
title: string;
|
|
29
|
+
message: string;
|
|
30
|
+
};
|
|
31
|
+
"DUPLICATE-KEY-DATABASE-POSTGRES": {
|
|
32
|
+
title: string;
|
|
33
|
+
message: string;
|
|
34
|
+
};
|
|
35
|
+
"UNEXCEPTED-ERROR": {
|
|
36
|
+
title: string;
|
|
37
|
+
message: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default translation;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/helpdesk/en_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/helpdesk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { ApiMiddleware as g, ErrorCatalog as l, FetchServiceBE as x, FetchServic
|
|
|
2
2
|
import { LoadingHandler as v, MessageHandler as E, RxSubjectManager as F } from "./mp-front-cli-utils-rxjs.es.js";
|
|
3
3
|
import { S as h } from "./index-def0b487.js";
|
|
4
4
|
import "i18next";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-2423783f.js";
|
|
6
6
|
import "./mp-front-cli-logger.es.js";
|
|
7
7
|
import "rxjs";
|
|
8
8
|
import "./mp-front-cli-encrypter.es.js";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
|
+
var f = (t, E, e) => E in t ? u(t, E, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[E] = e;
|
|
3
|
+
var O = (t, E, e) => (f(t, typeof E != "symbol" ? E + "" : E, e), e);
|
|
4
4
|
import { LoadingHandler as g, MessageHandler as M } from "./mp-front-cli-utils-rxjs.es.js";
|
|
5
|
-
import { RxSubjectManager as
|
|
6
|
-
import { f as
|
|
7
|
-
import { S as
|
|
8
|
-
import
|
|
9
|
-
import { t as
|
|
5
|
+
import { RxSubjectManager as ne } from "./mp-front-cli-utils-rxjs.es.js";
|
|
6
|
+
import { f as c } from "./index-def0b487.js";
|
|
7
|
+
import { S as De } from "./index-def0b487.js";
|
|
8
|
+
import v, { t as U } from "i18next";
|
|
9
|
+
import { t as w } from "./index-2423783f.js";
|
|
10
10
|
import { CustomLogger as F } from "./mp-front-cli-logger.es.js";
|
|
11
|
-
import { of as T, switchMap as
|
|
12
|
-
import { CustomEncrypter as
|
|
13
|
-
import { CustomHeader as
|
|
11
|
+
import { of as T, switchMap as L, forkJoin as B, catchError as n, EMPTY as d, filter as h } from "rxjs";
|
|
12
|
+
import { CustomEncrypter as V } from "./mp-front-cli-encrypter.es.js";
|
|
13
|
+
import { CustomHeader as Q } from "./mp-front-cli-header.es.js";
|
|
14
14
|
import { CustomEncoder as x } from "./mp-front-cli-encoder.es.js";
|
|
15
|
-
import { u as
|
|
15
|
+
import { u as G } from "./stringify-788d71a0.js";
|
|
16
16
|
import "node-jose";
|
|
17
17
|
import "crypto";
|
|
18
|
-
const
|
|
18
|
+
const Y = {
|
|
19
19
|
es: {
|
|
20
20
|
translation: {
|
|
21
|
-
...
|
|
21
|
+
...w
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
resources:
|
|
25
|
+
v.init({
|
|
26
|
+
resources: Y,
|
|
27
27
|
lng: "es",
|
|
28
28
|
// language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
|
|
29
29
|
// you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
|
|
@@ -281,6 +281,74 @@ const H = {
|
|
|
281
281
|
title: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.title",
|
|
282
282
|
level: "warning"
|
|
283
283
|
}
|
|
284
|
+
}, K = {
|
|
285
|
+
"SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01": {
|
|
286
|
+
code: 400,
|
|
287
|
+
type: "modal",
|
|
288
|
+
message: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01.message",
|
|
289
|
+
title: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01.title",
|
|
290
|
+
level: "error"
|
|
291
|
+
},
|
|
292
|
+
"SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01": {
|
|
293
|
+
code: 400,
|
|
294
|
+
type: "modal",
|
|
295
|
+
message: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01.message",
|
|
296
|
+
title: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01.title",
|
|
297
|
+
level: "error"
|
|
298
|
+
},
|
|
299
|
+
"SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01": {
|
|
300
|
+
code: 400,
|
|
301
|
+
type: "modal",
|
|
302
|
+
message: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01.message",
|
|
303
|
+
title: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01.title",
|
|
304
|
+
level: "error"
|
|
305
|
+
},
|
|
306
|
+
"SKIPFINGERPRINT-UNEXCEPTED-ERROR-01": {
|
|
307
|
+
code: 400,
|
|
308
|
+
type: "modal",
|
|
309
|
+
message: "errors.helpdesk.SKIPFINGERPRINT-UNEXCEPTED-ERROR-01.message",
|
|
310
|
+
title: "errors.helpdesk.SKIPFINGERPRINT-UNEXCEPTED-ERROR-01.title",
|
|
311
|
+
level: "error"
|
|
312
|
+
},
|
|
313
|
+
"SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02": {
|
|
314
|
+
code: 400,
|
|
315
|
+
type: "modal",
|
|
316
|
+
message: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02.message",
|
|
317
|
+
title: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02.title",
|
|
318
|
+
level: "error"
|
|
319
|
+
},
|
|
320
|
+
"SKIPFINGERPRINT-CLIENT-NOT-FOUND": {
|
|
321
|
+
code: 400,
|
|
322
|
+
type: "modal",
|
|
323
|
+
message: "errors.helpdesk.SKIPFINGERPRINT-CLIENT-NOT-FOUND.message",
|
|
324
|
+
title: "errors.helpdesk.SKIPFINGERPRINT-CLIENT-NOT-FOUND.title",
|
|
325
|
+
level: "error"
|
|
326
|
+
},
|
|
327
|
+
"DUPLICATE-KEY-DATABASE-POSTGRES": {
|
|
328
|
+
code: 400,
|
|
329
|
+
type: "modal",
|
|
330
|
+
message: "errors.helpdesk.DUPLICATE-KEY-DATABASE-POSTGRES.message",
|
|
331
|
+
title: "errors.helpdesk.DUPLICATE-KEY-DATABASE-POSTGRES.title",
|
|
332
|
+
level: "error"
|
|
333
|
+
},
|
|
334
|
+
"UNEXCEPTED-ERROR": {
|
|
335
|
+
code: 400,
|
|
336
|
+
type: "modal",
|
|
337
|
+
message: "errors.helpdesk.UNEXCEPTED-ERROR.message",
|
|
338
|
+
title: "errors.helpdesk.UNEXCEPTED-ERROR.title",
|
|
339
|
+
level: "error"
|
|
340
|
+
}
|
|
341
|
+
}, J = {
|
|
342
|
+
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
343
|
+
code: 400,
|
|
344
|
+
type: "modal",
|
|
345
|
+
message: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.message",
|
|
346
|
+
title: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.title",
|
|
347
|
+
level: "error"
|
|
348
|
+
}
|
|
349
|
+
}, _ = {
|
|
350
|
+
...J,
|
|
351
|
+
...K
|
|
284
352
|
}, I = {
|
|
285
353
|
"MP-001": {
|
|
286
354
|
code: 400,
|
|
@@ -1076,40 +1144,41 @@ const H = {
|
|
|
1076
1144
|
type: "modal",
|
|
1077
1145
|
level: "warning"
|
|
1078
1146
|
},
|
|
1079
|
-
...H
|
|
1147
|
+
...H,
|
|
1148
|
+
..._
|
|
1080
1149
|
};
|
|
1081
1150
|
class C extends F {
|
|
1082
1151
|
get(E = "default", e = "NOT_FOUND") {
|
|
1083
|
-
var s,
|
|
1152
|
+
var s, A;
|
|
1084
1153
|
if (E instanceof Error)
|
|
1085
1154
|
return this.logError(E.message), {
|
|
1086
1155
|
...I.internalError,
|
|
1087
|
-
title:
|
|
1088
|
-
message:
|
|
1156
|
+
title: U(I.internalError.title),
|
|
1157
|
+
message: U(I.internalError.message),
|
|
1089
1158
|
uuid: e
|
|
1090
1159
|
};
|
|
1091
1160
|
const r = typeof E == "string" ? E : E.code ?? E.errorType;
|
|
1092
1161
|
this.logDebug("statusCode", r);
|
|
1093
|
-
const
|
|
1162
|
+
const l = typeof E == "string" ? {} : { ...E };
|
|
1094
1163
|
return {
|
|
1095
1164
|
...I[r] ?? I.default,
|
|
1096
|
-
title:
|
|
1165
|
+
title: U(
|
|
1097
1166
|
((s = I[r]) == null ? void 0 : s.title) ?? I.default.title,
|
|
1098
|
-
|
|
1167
|
+
l
|
|
1099
1168
|
),
|
|
1100
|
-
message:
|
|
1101
|
-
((
|
|
1102
|
-
|
|
1169
|
+
message: U(
|
|
1170
|
+
((A = I[r]) == null ? void 0 : A.message) ?? I.default.message,
|
|
1171
|
+
l
|
|
1103
1172
|
),
|
|
1104
1173
|
uuid: e
|
|
1105
1174
|
};
|
|
1106
1175
|
}
|
|
1107
1176
|
}
|
|
1108
|
-
class
|
|
1177
|
+
class Ie extends V {
|
|
1109
1178
|
constructor() {
|
|
1110
1179
|
super(...arguments);
|
|
1111
|
-
|
|
1112
|
-
|
|
1180
|
+
O(this, "uuid", "");
|
|
1181
|
+
O(this, "session", null);
|
|
1113
1182
|
}
|
|
1114
1183
|
setSession(e) {
|
|
1115
1184
|
this.session = e;
|
|
@@ -1119,53 +1188,53 @@ class Le extends Q {
|
|
|
1119
1188
|
throw new C().get("SESSION_NOT_FOUND");
|
|
1120
1189
|
return this.session;
|
|
1121
1190
|
}
|
|
1122
|
-
returnData(e, r,
|
|
1123
|
-
const s = this.encode(r,
|
|
1191
|
+
returnData(e, r, l) {
|
|
1192
|
+
const s = this.encode(r, l);
|
|
1124
1193
|
e.status(200).json(s);
|
|
1125
1194
|
}
|
|
1126
1195
|
returnError(e, r) {
|
|
1127
1196
|
return r != null && r.uuid ? e.status(520).json(r) : e.status(520).json(new C().get(r, this.uuid));
|
|
1128
1197
|
}
|
|
1129
1198
|
get(e) {
|
|
1130
|
-
return this.logDebug("get ApiMiddleware"), (r,
|
|
1199
|
+
return this.logDebug("get ApiMiddleware"), (r, l) => {
|
|
1131
1200
|
var s;
|
|
1132
1201
|
this.logDebug("return ApiMiddleware"), this.uuid = (s = r == null ? void 0 : r.body) == null ? void 0 : s.uuid, T(r).pipe(
|
|
1133
|
-
|
|
1134
|
-
(
|
|
1135
|
-
params: T(this.decode(
|
|
1136
|
-
headers: T(
|
|
1202
|
+
L(
|
|
1203
|
+
(A) => B({
|
|
1204
|
+
params: T(this.decode(A.body)),
|
|
1205
|
+
headers: T(A.headers)
|
|
1137
1206
|
})
|
|
1138
1207
|
),
|
|
1139
|
-
|
|
1140
|
-
({ params:
|
|
1141
|
-
response: e(
|
|
1142
|
-
headers: T(
|
|
1143
|
-
params: T(
|
|
1208
|
+
L(
|
|
1209
|
+
({ params: A, headers: R }) => B({
|
|
1210
|
+
response: e(A, this.uuid, R),
|
|
1211
|
+
headers: T(R),
|
|
1212
|
+
params: T(A)
|
|
1144
1213
|
})
|
|
1145
1214
|
),
|
|
1146
|
-
|
|
1147
|
-
`ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(a)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(
|
|
1148
|
-
), T(
|
|
1149
|
-
|
|
1150
|
-
var
|
|
1215
|
+
L(({ params: A, response: R, headers: a }) => (this.logDebug(
|
|
1216
|
+
`ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(a)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(A)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(R)}`
|
|
1217
|
+
), T(R))),
|
|
1218
|
+
n((A) => {
|
|
1219
|
+
var R;
|
|
1151
1220
|
return this.logError(
|
|
1152
|
-
`ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(
|
|
1153
|
-
), this.returnError(
|
|
1221
|
+
`ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(R = r == null ? void 0 : r.body) == null ? void 0 : R.uuid} <PARAMS> ${JSON.stringify(r == null ? void 0 : r.body)} <ERROR>: ${JSON.stringify(A)}`
|
|
1222
|
+
), this.returnError(l, A), d;
|
|
1154
1223
|
})
|
|
1155
1224
|
).subscribe({
|
|
1156
|
-
next: (
|
|
1157
|
-
this.logDebug("ApiMiddleware subscribe next", JSON.stringify(
|
|
1225
|
+
next: (A) => {
|
|
1226
|
+
this.logDebug("ApiMiddleware subscribe next", JSON.stringify(A)), this.returnData(l, A, this.uuid);
|
|
1158
1227
|
}
|
|
1159
1228
|
});
|
|
1160
1229
|
};
|
|
1161
1230
|
}
|
|
1162
1231
|
}
|
|
1163
|
-
const
|
|
1164
|
-
class
|
|
1165
|
-
constructor(e, r,
|
|
1166
|
-
super(
|
|
1167
|
-
|
|
1168
|
-
|
|
1232
|
+
const X = process.env.ID_FRONT ?? "NOT_AVAILABLE";
|
|
1233
|
+
class Ce extends Q {
|
|
1234
|
+
constructor(e, r, l = {}) {
|
|
1235
|
+
super(l);
|
|
1236
|
+
O(this, "apiUrl");
|
|
1237
|
+
O(this, "method");
|
|
1169
1238
|
this.apiUrl = e, this.method = r ?? "POST";
|
|
1170
1239
|
}
|
|
1171
1240
|
errorHandler(e, r) {
|
|
@@ -1176,65 +1245,65 @@ class Oe extends h {
|
|
|
1176
1245
|
formatParams(e) {
|
|
1177
1246
|
return JSON.stringify({
|
|
1178
1247
|
data: {
|
|
1179
|
-
type:
|
|
1248
|
+
type: X,
|
|
1180
1249
|
attributes: e
|
|
1181
1250
|
}
|
|
1182
1251
|
});
|
|
1183
1252
|
}
|
|
1184
1253
|
fetchData(e = {}, r) {
|
|
1185
1254
|
return this.getHeaders().pipe(
|
|
1186
|
-
|
|
1187
|
-
(
|
|
1255
|
+
L(
|
|
1256
|
+
(l) => c(
|
|
1188
1257
|
this.apiUrl,
|
|
1189
1258
|
{
|
|
1190
1259
|
method: "POST",
|
|
1191
|
-
headers:
|
|
1260
|
+
headers: l,
|
|
1192
1261
|
body: this.formatParams(e),
|
|
1193
1262
|
selector: (s) => s.json()
|
|
1194
1263
|
}
|
|
1195
1264
|
).pipe(
|
|
1196
|
-
|
|
1265
|
+
n((s) => {
|
|
1197
1266
|
throw this.logError(JSON.stringify(s)), this.logError(
|
|
1198
1267
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1199
|
-
|
|
1268
|
+
l
|
|
1200
1269
|
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1201
1270
|
this.formatParams(e)
|
|
1202
1271
|
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
|
|
1203
1272
|
), new C().get("default", r);
|
|
1204
1273
|
}),
|
|
1205
|
-
|
|
1274
|
+
L((s) => (this.logDebug(
|
|
1206
1275
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1207
|
-
|
|
1276
|
+
l
|
|
1208
1277
|
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1209
1278
|
this.formatParams(e)
|
|
1210
1279
|
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
|
|
1211
1280
|
), T(s)))
|
|
1212
1281
|
)
|
|
1213
1282
|
),
|
|
1214
|
-
|
|
1283
|
+
h((l) => this.errorHandler(l, r))
|
|
1215
1284
|
);
|
|
1216
1285
|
}
|
|
1217
1286
|
fetchCustomData(e = {}, r) {
|
|
1218
1287
|
return this.getHeaders().pipe(
|
|
1219
|
-
|
|
1220
|
-
(
|
|
1288
|
+
L(
|
|
1289
|
+
(l) => c(this.apiUrl, {
|
|
1221
1290
|
method: this.method,
|
|
1222
|
-
headers:
|
|
1291
|
+
headers: l,
|
|
1223
1292
|
body: this.method === "GET" ? null : JSON.stringify(e),
|
|
1224
1293
|
selector: (s) => s.json()
|
|
1225
1294
|
}).pipe(
|
|
1226
|
-
|
|
1295
|
+
n((s) => {
|
|
1227
1296
|
throw this.logError(JSON.stringify(s)), this.logError(
|
|
1228
1297
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1229
|
-
|
|
1298
|
+
l
|
|
1230
1299
|
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1231
1300
|
this.formatParams(e)
|
|
1232
1301
|
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
|
|
1233
1302
|
), new C().get("default", r);
|
|
1234
1303
|
}),
|
|
1235
|
-
|
|
1304
|
+
L((s) => (this.logDebug(
|
|
1236
1305
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m \x1B[37m <METHOD>: \x1B[33m ${this.method} <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1237
|
-
|
|
1306
|
+
l
|
|
1238
1307
|
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1239
1308
|
e
|
|
1240
1309
|
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
|
|
@@ -1244,46 +1313,46 @@ class Oe extends h {
|
|
|
1244
1313
|
);
|
|
1245
1314
|
}
|
|
1246
1315
|
}
|
|
1247
|
-
const
|
|
1248
|
-
function
|
|
1249
|
-
return typeof t == "string" &&
|
|
1316
|
+
const $ = /^(?:[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;
|
|
1317
|
+
function b(t) {
|
|
1318
|
+
return typeof t == "string" && $.test(t);
|
|
1250
1319
|
}
|
|
1251
|
-
function
|
|
1252
|
-
if (!
|
|
1320
|
+
function W(t) {
|
|
1321
|
+
if (!b(t))
|
|
1253
1322
|
throw TypeError("Invalid UUID");
|
|
1254
1323
|
let E;
|
|
1255
1324
|
const e = new Uint8Array(16);
|
|
1256
1325
|
return e[0] = (E = parseInt(t.slice(0, 8), 16)) >>> 24, e[1] = E >>> 16 & 255, e[2] = E >>> 8 & 255, e[3] = E & 255, e[4] = (E = parseInt(t.slice(9, 13), 16)) >>> 8, e[5] = E & 255, e[6] = (E = parseInt(t.slice(14, 18), 16)) >>> 8, e[7] = E & 255, e[8] = (E = parseInt(t.slice(19, 23), 16)) >>> 8, e[9] = E & 255, e[10] = (E = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, e[11] = E / 4294967296 & 255, e[12] = E >>> 24 & 255, e[13] = E >>> 16 & 255, e[14] = E >>> 8 & 255, e[15] = E & 255, e;
|
|
1257
1326
|
}
|
|
1258
|
-
function
|
|
1327
|
+
function k(t) {
|
|
1259
1328
|
t = unescape(encodeURIComponent(t));
|
|
1260
1329
|
const E = [];
|
|
1261
1330
|
for (let e = 0; e < t.length; ++e)
|
|
1262
1331
|
E.push(t.charCodeAt(e));
|
|
1263
1332
|
return E;
|
|
1264
1333
|
}
|
|
1265
|
-
const
|
|
1266
|
-
function
|
|
1267
|
-
function r(
|
|
1334
|
+
const j = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", Z = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
1335
|
+
function z(t, E, e) {
|
|
1336
|
+
function r(l, s, A, R) {
|
|
1268
1337
|
var a;
|
|
1269
|
-
if (typeof
|
|
1338
|
+
if (typeof l == "string" && (l = k(l)), typeof s == "string" && (s = W(s)), ((a = s) === null || a === void 0 ? void 0 : a.length) !== 16)
|
|
1270
1339
|
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
1271
|
-
let N = new Uint8Array(16 +
|
|
1272
|
-
if (N.set(s), N.set(
|
|
1273
|
-
|
|
1340
|
+
let N = new Uint8Array(16 + l.length);
|
|
1341
|
+
if (N.set(s), N.set(l, s.length), N = e(N), N[6] = N[6] & 15 | E, N[8] = N[8] & 63 | 128, A) {
|
|
1342
|
+
R = R || 0;
|
|
1274
1343
|
for (let i = 0; i < 16; ++i)
|
|
1275
|
-
|
|
1276
|
-
return
|
|
1344
|
+
A[R + i] = N[i];
|
|
1345
|
+
return A;
|
|
1277
1346
|
}
|
|
1278
|
-
return
|
|
1347
|
+
return G(N);
|
|
1279
1348
|
}
|
|
1280
1349
|
try {
|
|
1281
1350
|
r.name = t;
|
|
1282
1351
|
} catch {
|
|
1283
1352
|
}
|
|
1284
|
-
return r.DNS =
|
|
1353
|
+
return r.DNS = j, r.URL = Z, r;
|
|
1285
1354
|
}
|
|
1286
|
-
function
|
|
1355
|
+
function q(t, E, e, r) {
|
|
1287
1356
|
switch (t) {
|
|
1288
1357
|
case 0:
|
|
1289
1358
|
return E & e ^ ~E & r;
|
|
@@ -1295,54 +1364,54 @@ function Z(t, E, e, r) {
|
|
|
1295
1364
|
return E ^ e ^ r;
|
|
1296
1365
|
}
|
|
1297
1366
|
}
|
|
1298
|
-
function
|
|
1367
|
+
function D(t, E) {
|
|
1299
1368
|
return t << E | t >>> 32 - E;
|
|
1300
1369
|
}
|
|
1301
|
-
function
|
|
1370
|
+
function ee(t) {
|
|
1302
1371
|
const E = [1518500249, 1859775393, 2400959708, 3395469782], e = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
1303
1372
|
if (typeof t == "string") {
|
|
1304
|
-
const
|
|
1373
|
+
const A = unescape(encodeURIComponent(t));
|
|
1305
1374
|
t = [];
|
|
1306
|
-
for (let
|
|
1307
|
-
t.push(
|
|
1375
|
+
for (let R = 0; R < A.length; ++R)
|
|
1376
|
+
t.push(A.charCodeAt(R));
|
|
1308
1377
|
} else
|
|
1309
1378
|
Array.isArray(t) || (t = Array.prototype.slice.call(t));
|
|
1310
1379
|
t.push(128);
|
|
1311
|
-
const r = t.length / 4 + 2,
|
|
1312
|
-
for (let
|
|
1313
|
-
const
|
|
1380
|
+
const r = t.length / 4 + 2, l = Math.ceil(r / 16), s = new Array(l);
|
|
1381
|
+
for (let A = 0; A < l; ++A) {
|
|
1382
|
+
const R = new Uint32Array(16);
|
|
1314
1383
|
for (let a = 0; a < 16; ++a)
|
|
1315
|
-
|
|
1316
|
-
s[
|
|
1384
|
+
R[a] = t[A * 64 + a * 4] << 24 | t[A * 64 + a * 4 + 1] << 16 | t[A * 64 + a * 4 + 2] << 8 | t[A * 64 + a * 4 + 3];
|
|
1385
|
+
s[A] = R;
|
|
1317
1386
|
}
|
|
1318
|
-
s[
|
|
1319
|
-
for (let
|
|
1320
|
-
const
|
|
1321
|
-
for (let
|
|
1322
|
-
o
|
|
1323
|
-
for (let
|
|
1324
|
-
o
|
|
1387
|
+
s[l - 1][14] = (t.length - 1) * 8 / Math.pow(2, 32), s[l - 1][14] = Math.floor(s[l - 1][14]), s[l - 1][15] = (t.length - 1) * 8 & 4294967295;
|
|
1388
|
+
for (let A = 0; A < l; ++A) {
|
|
1389
|
+
const R = new Uint32Array(80);
|
|
1390
|
+
for (let o = 0; o < 16; ++o)
|
|
1391
|
+
R[o] = s[A][o];
|
|
1392
|
+
for (let o = 16; o < 80; ++o)
|
|
1393
|
+
R[o] = D(R[o - 3] ^ R[o - 8] ^ R[o - 14] ^ R[o - 16], 1);
|
|
1325
1394
|
let a = e[0], N = e[1], i = e[2], m = e[3], S = e[4];
|
|
1326
|
-
for (let
|
|
1327
|
-
const P = Math.floor(
|
|
1328
|
-
S = m, m = i, i =
|
|
1395
|
+
for (let o = 0; o < 80; ++o) {
|
|
1396
|
+
const P = Math.floor(o / 20), y = D(a, 5) + q(P, N, i, m) + S + E[P] + R[o] >>> 0;
|
|
1397
|
+
S = m, m = i, i = D(N, 30) >>> 0, N = a, a = y;
|
|
1329
1398
|
}
|
|
1330
1399
|
e[0] = e[0] + a >>> 0, e[1] = e[1] + N >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + S >>> 0;
|
|
1331
1400
|
}
|
|
1332
1401
|
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];
|
|
1333
1402
|
}
|
|
1334
|
-
const
|
|
1335
|
-
class
|
|
1336
|
-
constructor(e, r = "POST",
|
|
1403
|
+
const re = z("v5", 80, ee), p = re;
|
|
1404
|
+
class me extends x {
|
|
1405
|
+
constructor(e, r = "POST", l = {}) {
|
|
1337
1406
|
super();
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1407
|
+
O(this, "apiUrl");
|
|
1408
|
+
O(this, "method");
|
|
1409
|
+
O(this, "headers");
|
|
1410
|
+
O(this, "isLoadingEnabled", !0);
|
|
1411
|
+
O(this, "errorResponse");
|
|
1343
1412
|
this.apiUrl = e, this.method = r, this.headers = {
|
|
1344
1413
|
"Content-Type": "application/json",
|
|
1345
|
-
...
|
|
1414
|
+
...l
|
|
1346
1415
|
};
|
|
1347
1416
|
}
|
|
1348
1417
|
setIsLoadingEnabled(e) {
|
|
@@ -1352,37 +1421,37 @@ class ie extends x {
|
|
|
1352
1421
|
this.errorResponse = e;
|
|
1353
1422
|
}
|
|
1354
1423
|
fetchData(e = {}) {
|
|
1355
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(),
|
|
1424
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), l = p(r, p.URL), s = this.encode({ ...e }, l);
|
|
1356
1425
|
g.getInstance().setSubject(this.isLoadingEnabled);
|
|
1357
|
-
const
|
|
1358
|
-
return
|
|
1426
|
+
const R = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
|
|
1427
|
+
return c(this.apiUrl, {
|
|
1359
1428
|
method: this.method,
|
|
1360
|
-
headers: { ...this.headers, flow:
|
|
1429
|
+
headers: { ...this.headers, flow: R },
|
|
1361
1430
|
body: s,
|
|
1362
1431
|
selector: (a) => a.json()
|
|
1363
1432
|
}).pipe(
|
|
1364
|
-
|
|
1365
|
-
|
|
1433
|
+
L((a) => T(this.decode(a))),
|
|
1434
|
+
L((a) => a.code && (a.type === "modal" || a.type === "message") ? (this.logError(
|
|
1366
1435
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(a)}`
|
|
1367
1436
|
), g.getInstance().setSubject(!1), M.getInstance().setSubject(a), this.errorResponse ? T(this.errorResponse) : d) : T(a)),
|
|
1368
|
-
|
|
1437
|
+
L((a) => (g.getInstance().setSubject(!1), this.logDebug(
|
|
1369
1438
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(a)}`
|
|
1370
1439
|
), T(a))),
|
|
1371
|
-
|
|
1440
|
+
n((a) => (this.logError(
|
|
1372
1441
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(a)}`
|
|
1373
1442
|
), g.getInstance().setSubject(!1), M.getInstance().setSubject(
|
|
1374
|
-
new C().get(a,
|
|
1443
|
+
new C().get(a, l)
|
|
1375
1444
|
), this.errorResponse ? T(this.errorResponse) : d))
|
|
1376
1445
|
);
|
|
1377
1446
|
}
|
|
1378
1447
|
}
|
|
1379
1448
|
export {
|
|
1380
|
-
|
|
1449
|
+
Ie as ApiMiddleware,
|
|
1381
1450
|
C as ErrorCatalog,
|
|
1382
|
-
|
|
1383
|
-
|
|
1451
|
+
Ce as FetchServiceBE,
|
|
1452
|
+
me as FetchServiceFE,
|
|
1384
1453
|
g as LoadingHandler,
|
|
1385
1454
|
M as MessageHandler,
|
|
1386
|
-
|
|
1387
|
-
|
|
1455
|
+
ne as RxSubjectManager,
|
|
1456
|
+
De as ServiceToken
|
|
1388
1457
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mp-front-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.117",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc && vite build",
|
|
8
8
|
"package": "npm pack",
|
|
9
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
|
10
|
+
"snyk": "snyk test",
|
|
9
11
|
"husky:prepare": "husky install"
|
|
10
12
|
},
|
|
11
13
|
"files": [
|