mp-front-cli 2.0.0-canary.3 → 2.0.1-next-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1581 +0,0 @@
1
- var u = Object.defineProperty;
2
- var f = (t, r, e) => r in t ? u(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
- var L = (t, r, e) => f(t, typeof r != "symbol" ? r + "" : r, e);
4
- import { of as O, switchMap as i, forkJoin as M, catchError as S, EMPTY as c, filter as F } from "rxjs";
5
- import { CustomEncrypter as w } from "./mp-front-cli-encrypter.es.js";
6
- import { CustomHeader as v } from "./mp-front-cli-header.es.js";
7
- import h from "querystring";
8
- import { f as P } from "./service-token-DceocCHP.js";
9
- import { L as g, M as B } from "./loading-handler-Br21zGTA.js";
10
- import "./i18n-1X2In6k5.js";
11
- import { t as U } from "i18next";
12
- import { CustomLogger as Q } from "./mp-front-cli-logger.es.js";
13
- import { CustomEncoder as V } from "./mp-front-cli-encoder.es.js";
14
- import { u as H } from "./stringify-93tp0umt.js";
15
- const x = {
16
- "ENROLLMENT-INVALIDCONFIGURATION-0000": {
17
- code: 400,
18
- type: "modal",
19
- message: "errors.ENROLLMENT-INVALIDCONFIGURATION-0000.message",
20
- title: "errors.ENROLLMENT-INVALIDCONFIGURATION-0000.title",
21
- level: "warning"
22
- },
23
- "ENROLLMENT-INVALIDDEVICEDID-0001": {
24
- code: 400,
25
- type: "modal",
26
- message: "errors.ENROLLMENT-INVALIDDEVICEDID-0001.message",
27
- title: "errors.ENROLLMENT-INVALIDDEVICEDID-0001.title",
28
- level: "warning"
29
- },
30
- "ENROLLMENT-INVALIDIMEI-0002": {
31
- code: 400,
32
- type: "modal",
33
- message: "errors.ENROLLMENT-INVALIDIMEI-0002.message",
34
- title: "errors.ENROLLMENT-INVALIDIMEI-0002.title",
35
- level: "warning"
36
- },
37
- "ENROLLMENT-INVALIDLOCKTYPE-0003": {
38
- code: 400,
39
- type: "modal",
40
- message: "errors.ENROLLMENT-INVALIDLOCKTYPE-0003.message",
41
- title: "errors.ENROLLMENT-INVALIDLOCKTYPE-0003.title",
42
- level: "warning"
43
- },
44
- "ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
45
- code: 400,
46
- type: "modal",
47
- message: "errors.ENROLLMENT-INVALIDTOKENSUPPLIERS-0004.message",
48
- title: "errors.ENROLLMENT-INVALIDTOKENSUPPLIERS-0004.title",
49
- level: "warning"
50
- },
51
- "ENROLLMENT-IMEIDOESNTMATCH-0005": {
52
- code: 400,
53
- type: "modal",
54
- message: "errors.ENROLLMENT-IMEIDOESNTMATCH-0005.message",
55
- title: "errors.ENROLLMENT-IMEIDOESNTMATCH-0005.title",
56
- level: "warning"
57
- },
58
- "ENROLLMENT-QRMACROLOCKNOTGENERATE-0006": {
59
- code: 400,
60
- type: "modal",
61
- message: "errors.ENROLLMENT-QRMACROLOCKNOTGENERATE-0006.message",
62
- title: "errors.ENROLLMENT-QRMACROLOCKNOTGENERATE-0006.title",
63
- level: "warning"
64
- },
65
- "ENROLLMENT-IMEINOTVALIDATED-0007": {
66
- code: 400,
67
- type: "modal",
68
- message: "errors.ENROLLMENT-IMEINOTVALIDATED-0007.message",
69
- title: "errors.ENROLLMENT-IMEINOTVALIDATED-0007.title",
70
- level: "warning"
71
- },
72
- "ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
73
- code: 400,
74
- type: "modal",
75
- message: "errors.ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008.message",
76
- title: "errors.ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008.title",
77
- level: "warning"
78
- },
79
- "ENROLLMENT-JOURNEYERROR-0009": {
80
- code: 400,
81
- type: "modal",
82
- message: "errors.ENROLLMENT-JOURNEYERROR-0009.message",
83
- title: "errors.ENROLLMENT-JOURNEYERROR-0009.title",
84
- level: "warning"
85
- },
86
- "ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
87
- code: 400,
88
- type: "modal",
89
- message: "errors.ENROLLMENT-APPLICATIONSNOTFOUND-0010.message",
90
- title: "errors.ENROLLMENT-APPLICATIONSNOTFOUND-0010.title",
91
- level: "warning"
92
- },
93
- "ENROLLMENT-LOCKTYPENOTFOUND-0011": {
94
- code: 400,
95
- type: "modal",
96
- message: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0011.message",
97
- title: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0011.title",
98
- level: "warning"
99
- },
100
- "ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
101
- code: 400,
102
- type: "modal",
103
- message: "errors.ENROLLMENT-PREAPPLICATIONNOTFOUND-0012.message",
104
- title: "errors.ENROLLMENT-PREAPPLICATIONNOTFOUND-0012.title",
105
- level: "warning"
106
- },
107
- "ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
108
- code: 400,
109
- type: "modal",
110
- message: "errors.ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013.message",
111
- title: "errors.ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013.title",
112
- level: "warning"
113
- },
114
- "ENROLLMENT-NOT_ACCEPTABLE-0014": {
115
- code: 400,
116
- type: "modal",
117
- message: "errors.ENROLLMENT-NOT_ACCEPTABLE-0014.message",
118
- title: "errors.ENROLLMENT-NOT_ACCEPTABLE-0014.title",
119
- level: "warning"
120
- },
121
- "ENROLLMENT-RESOURCENOTFOUND-0015": {
122
- code: 400,
123
- type: "modal",
124
- message: "errors.ENROLLMENT-RESOURCENOTFOUND-0015.message",
125
- title: "errors.ENROLLMENT-RESOURCENOTFOUND-0015.title",
126
- level: "warning"
127
- },
128
- "ENROLLMENT-BADREQUEST-0016": {
129
- code: 400,
130
- type: "modal",
131
- message: "errors.ENROLLMENT-BADREQUEST-0016.message",
132
- title: "errors.ENROLLMENT-BADREQUEST-0016.title",
133
- level: "warning"
134
- },
135
- "ENROLLMENT-METHODNOTIMPLEMENT-0017": {
136
- code: 400,
137
- type: "modal",
138
- message: "errors.ENROLLMENT-METHODNOTIMPLEMENT-0017.message",
139
- title: "errors.ENROLLMENT-METHODNOTIMPLEMENT-0017.title",
140
- level: "warning"
141
- },
142
- "ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
143
- code: 400,
144
- type: "modal",
145
- message: "errors.ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018.message",
146
- title: "errors.ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018.title",
147
- level: "warning"
148
- },
149
- "ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
150
- code: 400,
151
- type: "modal",
152
- message: "errors.ENROLLMENT-PRODUCTKEYNOTFOUND-0019.message",
153
- title: "errors.ENROLLMENT-PRODUCTKEYNOTFOUND-0019.title",
154
- level: "warning"
155
- },
156
- "ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
157
- code: 400,
158
- type: "modal",
159
- message: "errors.ENROLLMENT-FAILEDTORETRIEVEIMEI-0020.message",
160
- title: "errors.ENROLLMENT-FAILEDTORETRIEVEIMEI-0020.title",
161
- level: "warning"
162
- },
163
- "ENROLLMENT-LOCKTYPENOTFOUND-0021": {
164
- code: 400,
165
- type: "modal",
166
- message: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0021.message",
167
- title: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0021.title",
168
- level: "warning"
169
- },
170
- "ENROLLMENT-AUTH_HEADER_MISSING-0022": {
171
- code: 400,
172
- type: "modal",
173
- message: "errors.ENROLLMENT-AUTH_HEADER_MISSING-0022.message",
174
- title: "errors.ENROLLMENT-AUTH_HEADER_MISSING-0022.title",
175
- level: "warning"
176
- },
177
- "ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
178
- code: 400,
179
- type: "modal",
180
- message: "errors.ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023.message",
181
- title: "errors.ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023.title",
182
- level: "warning"
183
- },
184
- "ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
185
- code: 400,
186
- type: "modal",
187
- message: "errors.ENROLLMENT-AUTH_TOKEN_MISSING-0024.message",
188
- title: "errors.ENROLLMENT-AUTH_TOKEN_MISSING-0024.title",
189
- level: "warning"
190
- },
191
- "ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
192
- code: 400,
193
- type: "modal",
194
- message: "errors.ENROLLMENT-AUTH_TOKEN_INVALID-0025.message",
195
- title: "errors.ENROLLMENT-AUTH_TOKEN_INVALID-0025.title",
196
- level: "warning"
197
- },
198
- "ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
199
- code: 400,
200
- type: "modal",
201
- message: "errors.ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026.message",
202
- title: "errors.ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026.title",
203
- level: "warning"
204
- },
205
- "ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
206
- code: 400,
207
- type: "modal",
208
- message: "errors.ENROLLMENT-AUTH_UNKNOWN_ERROR-0027.message",
209
- title: "errors.ENROLLMENT-AUTH_UNKNOWN_ERROR-0027.title",
210
- level: "warning"
211
- },
212
- "ENROLLMENT-APISAPNOTAVAILABLE-0028": {
213
- code: 400,
214
- type: "modal",
215
- message: "errors.ENROLLMENT-APISAPNOTAVAILABLE-0028.message",
216
- title: "errors.ENROLLMENT-APISAPNOTAVAILABLE-0028.title",
217
- level: "warning"
218
- },
219
- "ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
220
- code: 400,
221
- type: "modal",
222
- message: "errors.ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029.message",
223
- title: "errors.ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029.title",
224
- level: "warning"
225
- },
226
- "ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
227
- code: 400,
228
- type: "modal",
229
- message: "errors.ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030.message",
230
- title: "errors.ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030.title",
231
- level: "warning"
232
- },
233
- "ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
234
- code: 400,
235
- type: "modal",
236
- message: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.message",
237
- title: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.title",
238
- level: "warning"
239
- },
240
- "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
241
- code: 400,
242
- type: "modal",
243
- message: "errors.ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035.message",
244
- title: "errors.ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035.title",
245
- level: "warning"
246
- },
247
- "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
248
- code: 400,
249
- type: "modal",
250
- message: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036.message",
251
- title: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036.title",
252
- level: "warning"
253
- },
254
- "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
255
- code: 400,
256
- type: "modal",
257
- message: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.message",
258
- title: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.title",
259
- level: "warning"
260
- },
261
- "ENROLLMENT-THEREISNOSTOCKFORTHEMATERIALINSAP-0042": {
262
- code: 400,
263
- type: "modal",
264
- message: "errors.ENROLLMENT-THEREISNOSTOCKFORTHEMATERIALINSAP-0042.message",
265
- title: "errors.ENROLLMENT-THEREISNOSTOCKFORTHEMATERIALINSAP-0042.title",
266
- level: "warning"
267
- },
268
- "ENROLLMENT-NOTALLOWEDBRAND-0044": {
269
- code: 400,
270
- type: "modal",
271
- message: "errors.ENROLLMENT-NOTALLOWEDBRAND-0044.message",
272
- title: "errors.ENROLLMENT-NOTALLOWEDBRAND-0044.title",
273
- level: "warning"
274
- },
275
- "ENROLLMENT-LOANBALANCE-0062": {
276
- code: 400,
277
- type: "modal",
278
- message: "errors.ENROLLMENT-LOANBALANCE-0062.message",
279
- title: "errors.ENROLLMENT-LOANBALANCE-0062.title",
280
- level: "warning"
281
- },
282
- "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0041": {
283
- code: 400,
284
- type: "modal",
285
- message: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0041.message",
286
- title: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0041.title",
287
- level: "warning"
288
- },
289
- "ENROLLMENT-THEREARENTMATERIALS-0055": {
290
- code: 400,
291
- type: "modal",
292
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0055.message",
293
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0055.title",
294
- level: "warning"
295
- },
296
- "ENROLLMENT-THEREARENTMATERIALS-0056": {
297
- code: 400,
298
- type: "modal",
299
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0056.message",
300
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0056.title",
301
- level: "warning"
302
- },
303
- "ENROLLMENT-THEREARENTMATERIALS-0049": {
304
- code: 400,
305
- type: "modal",
306
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0049.message",
307
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0049.title",
308
- level: "warning"
309
- },
310
- "ENROLLMENT-MATERIALNOTFOUND-0052": {
311
- code: 400,
312
- type: "modal",
313
- message: "errors.ENROLLMENT-MATERIALNOTFOUND-0052.message",
314
- title: "errors.ENROLLMENT-MATERIALNOTFOUND-0052.title",
315
- level: "warning"
316
- },
317
- "ENROLLMENT-THEREARENTMATERIALS-0053": {
318
- code: 400,
319
- type: "modal",
320
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0053.message",
321
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0053.title",
322
- level: "warning"
323
- },
324
- "ENROLLMENT-THEREARENTMATERIALS-0054": {
325
- code: 400,
326
- type: "modal",
327
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0054.message",
328
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0054.title",
329
- level: "warning"
330
- },
331
- "ENROLLMENT-THEREARENTMATERIALS-0058": {
332
- code: 400,
333
- type: "modal",
334
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0058.message",
335
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0058.title",
336
- level: "warning"
337
- },
338
- "ENROLLMENT-THEREARENTMATERIALS-0060": {
339
- code: 400,
340
- type: "modal",
341
- message: "errors.ENROLLMENT-THEREARENTMATERIALS-0060.message",
342
- title: "errors.ENROLLMENT-THEREARENTMATERIALS-0060.title",
343
- level: "warning"
344
- },
345
- "ENROLLMENT-THEREISNTIMEI-0048": {
346
- code: 400,
347
- type: "modal",
348
- message: "errors.ENROLLMENT-THEREISNTIMEI-0048.message",
349
- title: "errors.ENROLLMENT-THEREISNTIMEI-0048.title",
350
- level: "warning"
351
- }
352
- }, G = {
353
- "SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01": {
354
- code: 400,
355
- type: "modal",
356
- message: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01.message",
357
- title: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01.title",
358
- level: "error"
359
- },
360
- "SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01": {
361
- code: 400,
362
- type: "modal",
363
- message: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01.message",
364
- title: "errors.helpdesk.SKIPFINGERPRINT-WITHOUT-IDJOURNEY-01.title",
365
- level: "error"
366
- },
367
- "SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01": {
368
- code: 400,
369
- type: "modal",
370
- message: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01.message",
371
- title: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-UPDATE-ERROR-01.title",
372
- level: "error"
373
- },
374
- "SKIPFINGERPRINT-UNEXCEPTED-ERROR-01": {
375
- code: 400,
376
- type: "modal",
377
- message: "errors.helpdesk.SKIPFINGERPRINT-UNEXCEPTED-ERROR-01.message",
378
- title: "errors.helpdesk.SKIPFINGERPRINT-UNEXCEPTED-ERROR-01.title",
379
- level: "error"
380
- },
381
- "SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02": {
382
- code: 400,
383
- type: "modal",
384
- message: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02.message",
385
- title: "errors.helpdesk.SKIPFINGERPRINT-JOURNEY-DATANOTFOUND-02.title",
386
- level: "error"
387
- },
388
- "SKIPFINGERPRINT-CLIENT-NOT-FOUND": {
389
- code: 400,
390
- type: "modal",
391
- message: "errors.helpdesk.SKIPFINGERPRINT-CLIENT-NOT-FOUND.message",
392
- title: "errors.helpdesk.SKIPFINGERPRINT-CLIENT-NOT-FOUND.title",
393
- level: "error"
394
- },
395
- "DUPLICATE-KEY-DATABASE-POSTGRES": {
396
- code: 400,
397
- type: "modal",
398
- message: "errors.helpdesk.DUPLICATE-KEY-DATABASE-POSTGRES.message",
399
- title: "errors.helpdesk.DUPLICATE-KEY-DATABASE-POSTGRES.title",
400
- level: "error"
401
- },
402
- "UNEXCEPTED-ERROR": {
403
- code: 400,
404
- type: "modal",
405
- message: "errors.helpdesk.UNEXCEPTED-ERROR.message",
406
- title: "errors.helpdesk.UNEXCEPTED-ERROR.title",
407
- level: "error"
408
- }
409
- }, Y = {
410
- "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
411
- code: 400,
412
- type: "modal",
413
- message: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.message",
414
- title: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.title",
415
- level: "error"
416
- }
417
- }, K = {
418
- ...Y,
419
- ...G
420
- }, I = {
421
- "MP-001": {
422
- code: 400,
423
- type: "modal",
424
- message: "errors.MP-001.message",
425
- title: "errors.MP-001.title",
426
- level: "info"
427
- },
428
- UNAUTHORIZED: {
429
- level: "warning",
430
- type: "modal",
431
- message: "errors.UnAuthorized.message",
432
- title: "errors.UnAuthorized.title",
433
- code: 310
434
- },
435
- "ERR-GENERAL-01": {
436
- level: "warning",
437
- type: "modal",
438
- message: "errors.ERR-GENERAL-01.message",
439
- title: "errors.ERR-GENERAL-01.title",
440
- code: 400
441
- },
442
- internalError: {
443
- level: "warning",
444
- type: "modal",
445
- message: "errors.internalError.message",
446
- title: "errors.internalError.title",
447
- code: 420
448
- },
449
- default: {
450
- code: 420,
451
- type: "modal",
452
- message: "errors.default.message",
453
- title: "errors.default.title",
454
- level: "warning"
455
- },
456
- // Biometric
457
- "PF-BIOMETRIC-001": {
458
- title: "errors.PF-BIOMETRIC-001.title",
459
- message: "errors.PF-BIOMETRIC-001.message",
460
- level: "warning",
461
- code: 420,
462
- type: "modal"
463
- },
464
- "PF-BIOMETRIC-002": {
465
- title: "errors.PF-BIOMETRIC-002.title",
466
- message: "errors.PF-BIOMETRIC-002.message",
467
- level: "warning",
468
- code: 420,
469
- type: "modal"
470
- },
471
- "PF-BIOMETRIC-003": {
472
- title: "errors.PF-BIOMETRIC-003.title",
473
- message: "errors.PF-BIOMETRIC-003.message",
474
- level: "warning",
475
- code: 420,
476
- type: "modal"
477
- },
478
- "PF-BIOMETRIC-004": {
479
- code: 421,
480
- type: "modal",
481
- message: "errors.PF-BIOMETRIC-004.message",
482
- title: "errors.PF-BIOMETRIC-004.title",
483
- level: "warning"
484
- },
485
- "PF-BIOMETRIC-007": {
486
- title: "errors.PF-BIOMETRIC-007.title",
487
- message: "errors.PF-BIOMETRIC-007.message",
488
- level: "warning",
489
- code: 420,
490
- type: "modal"
491
- },
492
- "PF-VALIDATE-CLIENTTYPE-003": {
493
- title: "errors.PF-VALIDATE-CLIENTTYPE-003.title",
494
- message: "errors.PF-VALIDATE-CLIENTTYPE-003.message",
495
- level: "warning",
496
- code: 310,
497
- type: "modal"
498
- },
499
- "PF-VALIDATE-CLIENTTYPE-006": {
500
- title: "errors.PF-VALIDATE-CLIENTTYPE-006.title",
501
- message: "errors.PF-VALIDATE-CLIENTTYPE-006.message",
502
- level: "warning",
503
- code: 310,
504
- type: "modal"
505
- },
506
- ERROR_LOCATION: {
507
- title: "errors.ERROR_LOCATION.title",
508
- message: "errors.ERROR_LOCATION.message",
509
- level: "warning",
510
- code: 310,
511
- type: "modal"
512
- },
513
- //Terms and conditions
514
- "COMMUNICATIONS-INVALIDCODEEXCEPTION-001": {
515
- title: "errors.COMMUNICATIONS-INVALIDCODEEXCEPTION-001.title",
516
- message: "errors.COMMUNICATIONS-INVALIDCODEEXCEPTION-001.message",
517
- code: 400,
518
- type: "modal",
519
- level: "warning"
520
- },
521
- "COMMUNICATIONS-PREAPPLICATIONNOTFOUNDEXCEPTION-001": {
522
- title: "errors.COMMUNICATIONS-PREAPPLICATIONNOTFOUNDEXCEPTION-001.title",
523
- message: "errors.COMMUNICATIONS-PREAPPLICATIONNOTFOUNDEXCEPTION-001.message",
524
- code: 310,
525
- type: "modal",
526
- level: "warning"
527
- },
528
- "COMMUNICATIONS-PREAPPLICATIONNOTFOUNDEXCEPTION-002": {
529
- title: "errors.COMMUNICATIONS-PREAPPLICATIONNOTFOUNDEXCEPTION-002.title",
530
- message: "errors.COMMUNICATIONS-PREAPPLICATIONNOTFOUNDEXCEPTION-002.message",
531
- code: 310,
532
- type: "modal",
533
- level: "warning"
534
- },
535
- "COMMUNICATIONS-INVALIDEXPIRATIONDATEEXCEPTION-001": {
536
- title: "errors.COMMUNICATIONS-INVALIDEXPIRATIONDATEEXCEPTION-001.title",
537
- message: "errors.COMMUNICATIONS-INVALIDEXPIRATIONDATEEXCEPTION-001.message",
538
- code: 400,
539
- type: "modal",
540
- level: "warning"
541
- },
542
- "COMMUNICATIONS-INVALIDCODEEXCEPTION-002": {
543
- title: "errors.COMMUNICATIONS-INVALIDCODEEXCEPTION-002.title",
544
- message: "errors.COMMUNICATIONS-INVALIDCODEEXCEPTION-002.message",
545
- code: 400,
546
- type: "modal",
547
- level: "warning"
548
- },
549
- "COMMUNICATIONS-BLACKLISTEXCEPTION-001": {
550
- title: "errors.COMMUNICATIONS-BLACKLISTEXCEPTION-001.title",
551
- message: "errors.COMMUNICATIONS-BLACKLISTEXCEPTION-001.message",
552
- code: 403,
553
- type: "modal",
554
- level: "warning"
555
- },
556
- "COMMUNICATIONS-INVALIDNUMBEREXCEPTION-003": {
557
- title: "errors.COMMUNICATIONS-INVALIDNUMBEREXCEPTION-003.title",
558
- message: "errors.COMMUNICATIONS-INVALIDNUMBEREXCEPTION-003.message",
559
- code: 400,
560
- type: "modal",
561
- level: "warning"
562
- },
563
- "COMMUNICATIONS-INVALIDNUMBEREXCEPTION-004": {
564
- title: "errors.COMMUNICATIONS-INVALIDNUMBEREXCEPTION-004.title",
565
- message: "errors.COMMUNICATIONS-INVALIDNUMBEREXCEPTION-004.message",
566
- code: 400,
567
- type: "modal",
568
- level: "warning"
569
- },
570
- "COMMUNICATIONS-INVALIDNUMBEREXCEPTION-005": {
571
- title: "errors.COMMUNICATIONS-INVALIDNUMBEREXCEPTION-005.title",
572
- message: "errors.COMMUNICATIONS-INVALIDNUMBEREXCEPTION-005.message",
573
- code: 400,
574
- type: "modal",
575
- level: "warning"
576
- },
577
- // Calculator
578
- "SCORE-CLIENTREJECTED-01": {
579
- title: "errors.calculator.SCORE-CLIENTREJECTED-01.title",
580
- message: "errors.calculator.SCORE-CLIENTREJECTED-01.message",
581
- code: 310,
582
- type: "modal",
583
- level: "info"
584
- },
585
- "SCORE-CLIENTREJECTED-02": {
586
- title: "errors.calculator.SCORE-CLIENTREJECTED-02.title",
587
- message: "errors.calculator.SCORE-CLIENTREJECTED-02.message",
588
- code: 310,
589
- type: "modal",
590
- level: "info"
591
- },
592
- "CALCULATOR-MAPPING-01": {
593
- title: "errors.calculator.CALCULATOR-MAPPING-01.title",
594
- message: "errors.calculator.CALCULATOR-MAPPING-01.message",
595
- code: 420,
596
- type: "modal",
597
- level: "warning"
598
- },
599
- "CALCULATOR-MAPPING-02": {
600
- title: "errors.calculator.CALCULATOR-MAPPING-02.title",
601
- message: "errors.calculator.CALCULATOR-MAPPING-02.message",
602
- code: 420,
603
- type: "modal",
604
- level: "warning"
605
- },
606
- "CALCULATOR-MAPPING-03": {
607
- title: "errors.calculator.CALCULATOR-MAPPING-03.title",
608
- message: "errors.calculator.CALCULATOR-MAPPING-03.message",
609
- code: 420,
610
- type: "modal",
611
- level: "warning"
612
- },
613
- "CALCULATOR-MAPPING-04": {
614
- title: "errors.calculator.CALCULATOR-MAPPING-04.title",
615
- message: "errors.calculator.CALCULATOR-MAPPING-04.message",
616
- code: 420,
617
- type: "modal",
618
- level: "warning"
619
- },
620
- "CALCULATOR-BAD-REQUEST-01": {
621
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-01.title",
622
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-01.message",
623
- code: 420,
624
- type: "modal",
625
- level: "warning"
626
- },
627
- "CALCULATOR-BAD-REQUEST-02": {
628
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-02.title",
629
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-02.message",
630
- code: 420,
631
- type: "modal",
632
- level: "warning"
633
- },
634
- "CALCULATOR-BAD-REQUEST-03": {
635
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-03.title",
636
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-03.message",
637
- code: 420,
638
- type: "modal",
639
- level: "warning"
640
- },
641
- "CALCULATOR-BAD-REQUEST-04": {
642
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-04.title",
643
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-04.message",
644
- code: 420,
645
- type: "modal",
646
- level: "warning"
647
- },
648
- "CALCULATOR-BAD-REQUEST-05": {
649
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-05.title",
650
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-05.message",
651
- code: 420,
652
- type: "modal",
653
- level: "warning"
654
- },
655
- "CALCULATOR-BAD-REQUEST-06": {
656
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-06.title",
657
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-06.message",
658
- code: 420,
659
- type: "modal",
660
- level: "warning"
661
- },
662
- "CALCULATOR-BAD-REQUEST-07": {
663
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-07.title",
664
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-07.message",
665
- code: 420,
666
- type: "modal",
667
- level: "warning"
668
- },
669
- "CALCULATOR-BAD-REQUEST-08": {
670
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-08.title",
671
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-08.message",
672
- code: 420,
673
- type: "modal",
674
- level: "warning"
675
- },
676
- "CALCULATOR-BAD-REQUEST-09": {
677
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-09.title",
678
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-09.message",
679
- code: 420,
680
- type: "modal",
681
- level: "warning"
682
- },
683
- "CALCULATOR-BAD-REQUEST-10": {
684
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-10.title",
685
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-10.message",
686
- code: 420,
687
- type: "modal",
688
- level: "warning"
689
- },
690
- "CALCULATOR-BAD-REQUEST-11": {
691
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-11.title",
692
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-11.message",
693
- code: 420,
694
- type: "modal",
695
- level: "warning"
696
- },
697
- "CALCULATOR-BAD-REQUEST-12": {
698
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-12.title",
699
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-12.message",
700
- code: 420,
701
- type: "modal",
702
- level: "warning"
703
- },
704
- "CALCULATOR-BAD-REQUEST-13": {
705
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-13.title",
706
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-13.message",
707
- code: 420,
708
- type: "modal",
709
- level: "warning"
710
- },
711
- "CALCULATOR-BAD-REQUEST-14": {
712
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-14.title",
713
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-14.message",
714
- code: 420,
715
- type: "modal",
716
- level: "warning"
717
- },
718
- "CALCULATOR-BAD-REQUEST-15": {
719
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-15.title",
720
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-15.message",
721
- code: 420,
722
- type: "modal",
723
- level: "warning"
724
- },
725
- "CALCULATOR-BAD-REQUEST-16": {
726
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-16.title",
727
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-16.message",
728
- code: 420,
729
- type: "modal",
730
- level: "warning"
731
- },
732
- "CALCULATOR-BAD-REQUEST-17": {
733
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-17.title",
734
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-17.message",
735
- code: 420,
736
- type: "modal",
737
- level: "warning"
738
- },
739
- "CALCULATOR-BAD-REQUEST-18": {
740
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-18.title",
741
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-18.message",
742
- code: 420,
743
- type: "modal",
744
- level: "warning"
745
- },
746
- "CALCULATOR-BAD-REQUEST-19": {
747
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-19.title",
748
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-19.message",
749
- code: 420,
750
- type: "modal",
751
- level: "warning"
752
- },
753
- "CALCULATOR-BAD-REQUEST-20": {
754
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-20.title",
755
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-20.message",
756
- code: 420,
757
- type: "modal",
758
- level: "warning"
759
- },
760
- "CALCULATOR-BAD-REQUEST-21": {
761
- code: 420,
762
- type: "modal",
763
- message: "errors.default.message",
764
- title: "errors.default.title",
765
- level: "warning"
766
- },
767
- "CALCULATOR-BAD-REQUEST-22": {
768
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-22.title",
769
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-22.message",
770
- code: 420,
771
- type: "modal",
772
- level: "warning"
773
- },
774
- "CALCULATOR-BAD-REQUEST-23": {
775
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-23.title",
776
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-23.message",
777
- code: 420,
778
- type: "modal",
779
- level: "info"
780
- },
781
- "CALCULATOR-BAD-REQUEST-24": {
782
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-24.title",
783
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-24.message",
784
- code: 420,
785
- type: "modal",
786
- level: "warning"
787
- },
788
- "CALCULATOR-BAD-REQUEST-25": {
789
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-25.title",
790
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-25.message",
791
- code: 420,
792
- type: "modal",
793
- level: "warning"
794
- },
795
- "CALCULATOR-UNAUTHORIZED-01": {
796
- title: "errors.calculator.CALCULATOR-UNAUTHORIZED-01.title",
797
- message: "errors.calculator.CALCULATOR-UNAUTHORIZED-01.message",
798
- code: 420,
799
- type: "modal",
800
- level: "warning"
801
- },
802
- "CALCULATOR-UNAUTHORIZED-02": {
803
- title: "errors.calculator.CALCULATOR-UNAUTHORIZED-02.title",
804
- message: "errors.calculator.CALCULATOR-UNAUTHORIZED-02.message",
805
- code: 420,
806
- type: "modal",
807
- level: "warning"
808
- },
809
- "CALCULATOR-SERVICE-UNAVAILABLE-01": {
810
- title: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-01.title",
811
- message: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-01.message",
812
- code: 420,
813
- type: "modal",
814
- level: "warning"
815
- },
816
- "CALCULATOR-SERVICE-UNAVAILABLE-02": {
817
- title: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-02.title",
818
- message: "errors.calculator.CALCULATOR-SERVICE-UNAVAILABLE-02.message",
819
- code: 420,
820
- type: "modal",
821
- level: "warning"
822
- },
823
- "CALCULATOR-NOT-FOUND-01": {
824
- title: "errors.calculator.CALCULATOR-NOT-FOUND-01.title",
825
- message: "errors.calculator.CALCULATOR-NOT-FOUND-01.message",
826
- code: 420,
827
- type: "modal",
828
- level: "warning"
829
- },
830
- "CALCULATOR-NOT-FOUND-02": {
831
- title: "errors.calculator.CALCULATOR-NOT-FOUND-02.title",
832
- message: "errors.calculator.CALCULATOR-NOT-FOUND-02.message",
833
- code: 420,
834
- type: "modal",
835
- level: "warning"
836
- },
837
- "CALCULATOR-SAP-ERROR-01": {
838
- title: "errors.calculator.CALCULATOR-SAP-ERROR-01.title",
839
- message: "errors.calculator.CALCULATOR-SAP-ERROR-01.message",
840
- code: 420,
841
- type: "modal",
842
- level: "warning"
843
- },
844
- "CALCULATOR-SAP-ERROR-02": {
845
- title: "errors.calculator.CALCULATOR-SAP-ERROR-02.title",
846
- message: "errors.calculator.CALCULATOR-SAP-ERROR-02.message",
847
- code: 420,
848
- type: "modal",
849
- level: "warning"
850
- },
851
- "CALCULATOR-SAP-ERROR-03": {
852
- title: "errors.calculator.CALCULATOR-SAP-ERROR-03.title",
853
- message: "errors.calculator.CALCULATOR-SAP-ERROR-03.message",
854
- code: 420,
855
- type: "modal",
856
- level: "warning"
857
- },
858
- "CALCULATOR-SAP-ERROR-04": {
859
- title: "errors.calculator.CALCULATOR-SAP-ERROR-04.title",
860
- message: "errors.calculator.CALCULATOR-SAP-ERROR-04.message",
861
- code: 420,
862
- type: "modal",
863
- level: "warning"
864
- },
865
- "CALCULATOR-BAD-REQUEST-26": {
866
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-26.title",
867
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-26.message",
868
- code: 420,
869
- type: "modal",
870
- level: "warning"
871
- },
872
- "CALCULATOR-BAD-REQUEST-27": {
873
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-27.title",
874
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-27.message",
875
- code: 420,
876
- type: "modal",
877
- level: "warning"
878
- },
879
- "CALCULATOR-BAD-REQUEST-28": {
880
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-28.title",
881
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-28.message",
882
- code: 420,
883
- type: "modal",
884
- level: "warning"
885
- },
886
- "CALCULATOR-BAD-REQUEST-29": {
887
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-29.title",
888
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-29.message",
889
- code: 420,
890
- type: "modal",
891
- level: "warning"
892
- },
893
- "CALCULATOR-BAD-REQUEST-30": {
894
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-30.title",
895
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-30.message",
896
- code: 420,
897
- type: "modal",
898
- level: "warning"
899
- },
900
- "CALCULATOR-BAD-REQUEST-31": {
901
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-31.title",
902
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-31.message",
903
- code: 420,
904
- type: "modal",
905
- level: "warning"
906
- },
907
- "CALCULATOR-BAD-REQUEST-34": {
908
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-34.title",
909
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-34.message",
910
- code: 420,
911
- type: "modal",
912
- level: "warning"
913
- },
914
- "CALCULATOR-BAD-REQUEST-35": {
915
- title: "errors.calculator.CALCULATOR-BAD-REQUEST-35.title",
916
- message: "errors.calculator.CALCULATOR-BAD-REQUEST-35.message",
917
- code: 420,
918
- type: "modal",
919
- level: "warning"
920
- },
921
- //Apartadito
922
- "SAVING_NOT_FOUND-01": {
923
- title: "errors.calculator.SAVING_NOT_FOUND-01.title",
924
- message: "errors.calculator.SAVING_NOT_FOUND-01.message",
925
- code: 420,
926
- type: "modal",
927
- level: "warning"
928
- },
929
- "SAVING-BAD-REQUEST-01": {
930
- title: "errors.calculator.SAVING-BAD-REQUEST-01.title",
931
- message: "errors.calculator.SAVING-BAD-REQUEST-01.message",
932
- code: 420,
933
- type: "modal",
934
- level: "warning"
935
- },
936
- "SAVING-BAD-REQUEST-02": {
937
- title: "errors.calculator.SAVING-BAD-REQUEST-02.title",
938
- message: "errors.calculator.SAVING-BAD-REQUEST-02.message",
939
- code: 420,
940
- type: "modal",
941
- level: "warning"
942
- },
943
- "SAVING-BAD-REQUEST-03": {
944
- title: "errors.calculator.SAVING-BAD-REQUEST-03.title",
945
- message: "errors.calculator.SAVING-BAD-REQUEST-03.message",
946
- code: 420,
947
- type: "modal",
948
- level: "warning"
949
- },
950
- "SAVING-GENERIC-01": {
951
- title: "errors.calculator.SAVING-GENERIC-01.title",
952
- message: "errors.calculator.SAVING-GENERIC-01.message",
953
- code: 420,
954
- type: "modal",
955
- level: "warning"
956
- },
957
- //JORNADA
958
- "JOURNEY-CANCEL-01": {
959
- title: "errors.JOURNEY-CANCEL-01.title",
960
- message: "errors.JOURNEY-CANCEL-01.message",
961
- code: 420,
962
- type: "modal",
963
- level: "warning"
964
- },
965
- "JOURNEY-INVALIDATEDATA-01": {
966
- title: "errors.JOURNEY-INVALIDATEDATA-01.title",
967
- message: "errors.JOURNEY-INVALIDATEDATA-01.message",
968
- code: 420,
969
- type: "modal",
970
- level: "warning"
971
- },
972
- "JOURNEY-DATANOTFOUND-02": {
973
- title: "errors.JOURNEY-DATANOTFOUND-02.title",
974
- message: "errors.JOURNEY-DATANOTFOUND-02.message",
975
- code: 420,
976
- type: "modal",
977
- level: "warning"
978
- },
979
- "JOURNEY-FLOWEND-03": {
980
- title: "errors.JOURNEY-FLOWEND-03.title",
981
- message: "errors.JOURNEY-FLOWEND-03.message",
982
- code: 420,
983
- type: "modal",
984
- level: "warning"
985
- },
986
- "PF-ERROR-GENERIC": {
987
- title: "errors.PF-ERROR-GENERIC.title",
988
- message: "errors.PF-ERROR-GENERIC.message",
989
- code: 420,
990
- type: "modal",
991
- level: "warning"
992
- },
993
- "JOURNEY-IDSTATEINCORRECT-04": {
994
- title: "errors.JOURNEY-IDSTATEINCORRECT-04.title",
995
- message: "errors.JOURNEY-IDSTATEINCORRECT-04.message",
996
- code: 420,
997
- type: "modal",
998
- level: "warning"
999
- },
1000
- "JOURNEY-HEADERS-05": {
1001
- title: "errors.JOURNEY-HEADERS-05.title",
1002
- message: "errors.JOURNEY-HEADERS-05.message",
1003
- code: 420,
1004
- type: "modal",
1005
- level: "warning"
1006
- },
1007
- //INITIAL
1008
- "INITIAL-INVALIDATEDATA-01": {
1009
- title: "errors.INITIAL-INVALIDATEDATA-01.title",
1010
- message: "errors.INITIAL-INVALIDATEDATA-01.message",
1011
- code: 420,
1012
- type: "modal",
1013
- level: "warning"
1014
- },
1015
- "INITIAL-DATANOTFOUND-02": {
1016
- title: "errors.INITIAL-DATANOTFOUND-02.title",
1017
- message: "errors.INITIAL-DATANOTFOUND-02.message",
1018
- code: 420,
1019
- type: "modal",
1020
- level: "warning"
1021
- },
1022
- "INITIAL-HEADERS-03": {
1023
- title: "errors.INITIAL-HEADERS-03.title",
1024
- message: "errors.INITIAL-HEADERS-03.message",
1025
- code: 420,
1026
- type: "modal",
1027
- level: "warning"
1028
- },
1029
- //PERSONAL DATA
1030
- "PERSONALDATA-INVALID-MEDIA-TYPE": {
1031
- title: "errors.PERSONALDATA-INVALID-MEDIA-TYPE.title",
1032
- message: "errors.PERSONALDATA-INVALID-MEDIA-TYPE.message",
1033
- code: 420,
1034
- type: "modal",
1035
- level: "warning"
1036
- },
1037
- "PERSONALDATA-INVALID-CONTENT-TYPE": {
1038
- title: "errors.PERSONALDATA-INVALID-CONTENT-TYPE.title",
1039
- message: "errors.PERSONALDATA-INVALID-CONTENT-TYPE.message",
1040
- code: 420,
1041
- type: "modal",
1042
- level: "warning"
1043
- },
1044
- "PERSONALDATA-INVALID-DATA-TYPE": {
1045
- title: "errors.PERSONALDATA-INVALID-DATA-TYPE.title",
1046
- message: "errors.PERSONALDATA-INVALID-DATA-TYPE.message",
1047
- code: 420,
1048
- type: "modal",
1049
- level: "warning"
1050
- },
1051
- "PERSONALDATA-UNKNOWN-REGISTER-01": {
1052
- title: "errors.PERSONALDATA-UNKNOWN-REGISTER-01.title",
1053
- message: "errors.PERSONALDATA-UNKNOWN-REGISTER-01.message",
1054
- code: 420,
1055
- type: "modal",
1056
- level: "warning"
1057
- },
1058
- "PERSONALDATA-UNKNOWN-REGISTER-02": {
1059
- title: "errors.PERSONALDATA-UNKNOWN-REGISTER-02.title",
1060
- message: "errors.PERSONALDATA-UNKNOWN-REGISTER-02.message",
1061
- code: 420,
1062
- type: "modal",
1063
- level: "warning"
1064
- },
1065
- "PERSONALDATA-BAD-REQUEST-01": {
1066
- title: "errors.PERSONALDATA-BAD-REQUEST-01.title",
1067
- message: "errors.PERSONALDATA-BAD-REQUEST-01.message",
1068
- code: 420,
1069
- type: "modal",
1070
- level: "warning"
1071
- },
1072
- "PERSONALDATA-BAD-REQUEST-02": {
1073
- title: "errors.PERSONALDATA-BAD-REQUEST-02.title",
1074
- message: "errors.PERSONALDATA-BAD-REQUEST-02.message",
1075
- code: 420,
1076
- type: "modal",
1077
- level: "warning"
1078
- },
1079
- "PERSONALDATA-BAD-REQUEST-03": {
1080
- title: "errors.PERSONALDATA-BAD-REQUEST-03.title",
1081
- message: "errors.PERSONALDATA-BAD-REQUEST-03.message",
1082
- code: 420,
1083
- type: "modal",
1084
- level: "warning"
1085
- },
1086
- "PERSONALDATA-BAD-REQUEST-04": {
1087
- title: "errors.PERSONALDATA-BAD-REQUEST-04.title",
1088
- message: "errors.PERSONALDATA-BAD-REQUEST-04.message",
1089
- code: 420,
1090
- type: "modal",
1091
- level: "warning"
1092
- },
1093
- "PERSONALDATA-BAD-REQUEST-05": {
1094
- title: "errors.PERSONALDATA-BAD-REQUEST-05.title",
1095
- message: "errors.PERSONALDATA-BAD-REQUEST-05.message",
1096
- code: 420,
1097
- type: "modal",
1098
- level: "warning"
1099
- },
1100
- "PERSONALDATA-BAD-REQUEST-06": {
1101
- title: "errors.PERSONALDATA-BAD-REQUEST-06.title",
1102
- message: "errors.PERSONALDATA-BAD-REQUEST-06.message",
1103
- code: 420,
1104
- type: "modal",
1105
- level: "warning"
1106
- },
1107
- "PERSONALDATA-BAD-REQUEST-07": {
1108
- title: "errors.PERSONALDATA-BAD-REQUEST-07.title",
1109
- message: "errors.PERSONALDATA-BAD-REQUEST-07.message",
1110
- code: 420,
1111
- type: "modal",
1112
- level: "warning"
1113
- },
1114
- "PERSONALDATA-BAD-REQUEST-08": {
1115
- title: "errors.PERSONALDATA-BAD-REQUEST-08.title",
1116
- message: "errors.PERSONALDATA-BAD-REQUEST-08.message",
1117
- code: 420,
1118
- type: "modal",
1119
- level: "warning"
1120
- },
1121
- "PERSONALDATA-GENERIC-ERROR": {
1122
- title: "errors.PERSONALDATA-GENERIC-ERROR.title",
1123
- message: "errors.PERSONALDATA-GENERIC-ERROR.message",
1124
- code: 420,
1125
- type: "modal",
1126
- level: "warning"
1127
- },
1128
- "PERSONALDATA-ODATA-ERROR-01": {
1129
- title: "errors.PERSONALDATA-ODATA-ERROR-01.title",
1130
- message: "errors.PERSONALDATA-ODATA-ERROR-01.message",
1131
- code: 420,
1132
- type: "modal",
1133
- level: "warning"
1134
- },
1135
- "PERSONALDATA-UNKNOWN-FG-01": {
1136
- title: "errors.PERSONALDATA-UNKNOWN-FG-01.title",
1137
- message: "errors.PERSONALDATA-UNKNOWN-FG-01.message",
1138
- code: 420,
1139
- type: "modal",
1140
- level: "warning"
1141
- },
1142
- "PERSONALDATA-CU-ERROR-01": {
1143
- title: "errors.PERSONALDATA-CU-ERROR-01.title",
1144
- message: "errors.PERSONALDATA-CU-ERROR-01.message",
1145
- code: 420,
1146
- type: "modal",
1147
- level: "warning"
1148
- },
1149
- "PERSONALDATA-INVALID-RFC-01": {
1150
- title: "errors.PERSONALDATA-INVALID-RFC-01.title",
1151
- message: "errors.PERSONALDATA-INVALID-RFC-01.message",
1152
- code: 420,
1153
- type: "modal",
1154
- level: "warning"
1155
- },
1156
- "PERSONALDATA-BAD-REQUEST-09": {
1157
- title: "errors.PERSONALDATA-BAD-REQUEST-09.title",
1158
- message: "errors.PERSONALDATA-BAD-REQUEST-09.message",
1159
- code: 420,
1160
- type: "modal",
1161
- level: "warning"
1162
- },
1163
- "PERSONALDATA-BAD-REQUEST-10": {
1164
- title: "errors.PERSONALDATA-BAD-REQUEST-10.title",
1165
- message: "errors.PERSONALDATA-BAD-REQUEST-10.message",
1166
- code: 420,
1167
- type: "modal",
1168
- level: "warning"
1169
- },
1170
- "PERSONALDATA-BAD-REQUEST-WHITE-LIST-11": {
1171
- title: "errors.PERSONALDATA-BAD-REQUEST-WHITE-LIST-11.title",
1172
- message: "errors.PERSONALDATA-BAD-REQUEST-WHITE-LIST-11.message",
1173
- code: 420,
1174
- type: "modal",
1175
- level: "warning"
1176
- },
1177
- //PERSONAL REFERENCES
1178
- "PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
1179
- title: "errors.PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01.title",
1180
- message: "errors.PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01.message",
1181
- code: 422,
1182
- type: "modal",
1183
- level: "warning"
1184
- },
1185
- "PERSONALREFERENCE-REFERENCESEXCEPTION-01": {
1186
- title: "errors.PERSONALREFERENCE-REFERENCESEXCEPTION-01.title",
1187
- message: "errors.PERSONALREFERENCE-REFERENCESEXCEPTION-01.message",
1188
- code: 422,
1189
- type: "modal",
1190
- level: "warning"
1191
- },
1192
- "PERSONALREFERENCE-BLACKLISTEXCEPTION-01": {
1193
- title: "errors.PERSONALREFERENCE-BLACKLISTEXCEPTION-01.title",
1194
- message: "errors.PERSONALREFERENCE-BLACKLISTEXCEPTION-01.message",
1195
- code: 403,
1196
- type: "modal",
1197
- level: "warning"
1198
- },
1199
- "PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01": {
1200
- title: "errors.PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01.title",
1201
- message: "errors.PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01.message",
1202
- code: 400,
1203
- type: "modal",
1204
- level: "warning"
1205
- },
1206
- "PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001": {
1207
- title: "errors.PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001.title",
1208
- message: "errors.PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001.message",
1209
- code: 400,
1210
- type: "modal",
1211
- level: "warning"
1212
- },
1213
- "PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
1214
- title: "errors.PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001.title",
1215
- message: "errors.PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001.message",
1216
- code: 420,
1217
- type: "modal",
1218
- level: "warning"
1219
- },
1220
- "PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001": {
1221
- title: "errors.PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001.title",
1222
- message: "errors.PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001.message",
1223
- code: 422,
1224
- type: "modal",
1225
- level: "warning"
1226
- },
1227
- "PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001": {
1228
- title: "errors.PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001.title",
1229
- message: "errors.PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001.message",
1230
- code: 422,
1231
- type: "modal",
1232
- level: "warning"
1233
- },
1234
- //PAYMENTS
1235
- "SALES-SUMMARY-GENERIC-ERROR-001": {
1236
- title: "errors.SALES-SUMMARY-GENERIC-ERROR-001.title",
1237
- message: "errors.SALES-SUMMARY-GENERIC-ERROR-001.message",
1238
- code: 420,
1239
- type: "modal",
1240
- level: "warning"
1241
- },
1242
- "PF-SALES-SUMMARY-GENERIC-ERROR-001": {
1243
- title: "errors.PF-SALES-SUMMARY-GENERIC-ERROR-001.title",
1244
- message: "errors.PF-SALES-SUMMARY-GENERIC-ERROR-001.message",
1245
- code: 420,
1246
- type: "modal",
1247
- level: "warning"
1248
- },
1249
- "SALES-SUMMARY-ERROR-005": {
1250
- title: "errors.SALES-SUMMARY-ERROR-005.title",
1251
- message: "errors.SALES-SUMMARY-ERROR-005.message",
1252
- code: 420,
1253
- type: "modal",
1254
- level: "warning"
1255
- },
1256
- //REPRINT
1257
- "PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
1258
- title: "errors.PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001.title",
1259
- message: "errors.PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001.message",
1260
- code: 420,
1261
- type: "modal",
1262
- level: "warning"
1263
- },
1264
- "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
1265
- title: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.title",
1266
- message: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.message",
1267
- code: 420,
1268
- type: "modal",
1269
- level: "warning"
1270
- },
1271
- ...x,
1272
- ...K
1273
- };
1274
- class C extends Q {
1275
- get(r = "default", e = "NOT_FOUND") {
1276
- var N, A;
1277
- if (r instanceof Error)
1278
- return this.logError(r.message), {
1279
- ...I.internalError,
1280
- title: U(I.internalError.title),
1281
- message: U(I.internalError.message),
1282
- uuid: e
1283
- };
1284
- const E = typeof r == "string" ? r : r.code ?? r.errorType;
1285
- this.logDebug("statusCode", E);
1286
- const l = typeof r == "string" ? {} : { ...r };
1287
- return {
1288
- ...I[E] ?? I.default,
1289
- title: U(
1290
- ((N = I[E]) == null ? void 0 : N.title) ?? I.default.title,
1291
- l
1292
- ),
1293
- message: U(
1294
- ((A = I[E]) == null ? void 0 : A.message) ?? I.default.message,
1295
- l
1296
- ),
1297
- payload: typeof r != "string" ? { errorCode: r.code } : {},
1298
- uuid: e
1299
- };
1300
- }
1301
- }
1302
- class oe extends w {
1303
- constructor() {
1304
- super(...arguments);
1305
- L(this, "uuid", "");
1306
- L(this, "session", null);
1307
- }
1308
- setSession(e) {
1309
- this.session = e;
1310
- }
1311
- getSession() {
1312
- if (!this.session) throw new C().get("SESSION_NOT_FOUND");
1313
- return this.session;
1314
- }
1315
- returnData(e, E, l) {
1316
- const N = this.encode(E, l);
1317
- e.status(200).json(N);
1318
- }
1319
- returnError(e, E) {
1320
- return E != null && E.uuid ? e.status(520).json(E) : e.status(520).json(new C().get(E, this.uuid));
1321
- }
1322
- get(e) {
1323
- return this.logDebug("get ApiMiddleware"), (E, l) => {
1324
- var N;
1325
- this.logDebug("return ApiMiddleware"), this.uuid = (N = E == null ? void 0 : E.body) == null ? void 0 : N.uuid, O(E).pipe(
1326
- i(
1327
- (A) => M({
1328
- params: O(this.decode(A.body)),
1329
- headers: O(A.headers)
1330
- })
1331
- ),
1332
- i(
1333
- ({ params: A, headers: R }) => M({
1334
- response: e(A, this.uuid, R),
1335
- headers: O(R),
1336
- params: O(A)
1337
- })
1338
- ),
1339
- i(({ params: A, response: R, headers: s }) => (this.logDebug(
1340
- `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${E.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(s)} \x1B[37m <UUID> \x1B[33m ${E.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(A)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(R)}`
1341
- ), O(R))),
1342
- S((A) => {
1343
- var R;
1344
- return this.logError(
1345
- `ApiMiddleware <URL>: ${E == null ? void 0 : E.url} <HEADERS>: ${JSON.stringify(E == null ? void 0 : E.headers)} <UUID> ${(R = E == null ? void 0 : E.body) == null ? void 0 : R.uuid} <PARAMS> ${JSON.stringify(E == null ? void 0 : E.body)} <ERROR>: ${JSON.stringify(A)}`
1346
- ), this.returnError(l, A), c;
1347
- })
1348
- ).subscribe({
1349
- next: (A) => {
1350
- this.logDebug("ApiMiddleware subscribe next", JSON.stringify(A)), this.returnData(l, A, this.uuid);
1351
- }
1352
- });
1353
- };
1354
- }
1355
- }
1356
- const J = process.env.ID_FRONT ?? "NOT_AVAILABLE";
1357
- class Oe extends v {
1358
- constructor(e, E, l = {}) {
1359
- super(l);
1360
- L(this, "apiUrl");
1361
- L(this, "method");
1362
- this.apiUrl = e, this.method = E ?? "POST";
1363
- }
1364
- errorHandler(e, E) {
1365
- if (e != null && e.errors)
1366
- throw new C().get(e.errors[0], E);
1367
- return !(e != null && e.errors);
1368
- }
1369
- formatParams(e) {
1370
- return JSON.stringify({
1371
- data: {
1372
- type: J,
1373
- attributes: e
1374
- }
1375
- });
1376
- }
1377
- fetchData(e = {}, E) {
1378
- return this.getHeaders().pipe(
1379
- i(
1380
- (l) => P(
1381
- this.apiUrl,
1382
- {
1383
- method: "POST",
1384
- headers: l,
1385
- body: this.formatParams(e),
1386
- selector: (N) => N.json()
1387
- }
1388
- ).pipe(
1389
- S((N) => {
1390
- throw this.logError(JSON.stringify(N)), this.logError(
1391
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1392
- l
1393
- )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1394
- this.formatParams(e)
1395
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(N)} \x1B[33m`
1396
- ), new C().get("default", E);
1397
- }),
1398
- i((N) => (this.logDebug(
1399
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1400
- l
1401
- )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1402
- this.formatParams(e)
1403
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(N)} \x1B[33m`
1404
- ), O(N)))
1405
- )
1406
- ),
1407
- F((l) => this.errorHandler(l, E))
1408
- );
1409
- }
1410
- fetchCustomData(e = {}, E, l) {
1411
- const N = {
1412
- "Content-Type": "application/json"
1413
- }, A = h.stringify(
1414
- e
1415
- ), R = `${this.apiUrl}?${A}`, s = this.method === "GET" ? R : this.apiUrl;
1416
- return this.getHeaders(N, l).pipe(
1417
- i(
1418
- (T) => P(s, {
1419
- method: this.method,
1420
- headers: T,
1421
- body: this.method === "GET" ? null : JSON.stringify(e),
1422
- selector: (a) => a.json()
1423
- }).pipe(
1424
- S((a) => {
1425
- throw this.logError(JSON.stringify(a)), this.logError(
1426
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${s} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1427
- T
1428
- )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1429
- this.formatParams(e)
1430
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)} \x1B[33m`
1431
- ), new C().get("default", E);
1432
- }),
1433
- i((a) => (this.logDebug(
1434
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${s} \x1B[37m \x1B[37m <METHOD>: \x1B[33m ${this.method} <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1435
- T
1436
- )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1437
- e
1438
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)} \x1B[33m`
1439
- ), O(a)))
1440
- )
1441
- )
1442
- );
1443
- }
1444
- }
1445
- const X = /^(?:[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;
1446
- function _(t) {
1447
- return typeof t == "string" && X.test(t);
1448
- }
1449
- function $(t) {
1450
- if (!_(t))
1451
- throw TypeError("Invalid UUID");
1452
- let r;
1453
- const e = new Uint8Array(16);
1454
- return e[0] = (r = parseInt(t.slice(0, 8), 16)) >>> 24, e[1] = r >>> 16 & 255, e[2] = r >>> 8 & 255, e[3] = r & 255, e[4] = (r = parseInt(t.slice(9, 13), 16)) >>> 8, e[5] = r & 255, e[6] = (r = parseInt(t.slice(14, 18), 16)) >>> 8, e[7] = r & 255, e[8] = (r = parseInt(t.slice(19, 23), 16)) >>> 8, e[9] = r & 255, e[10] = (r = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, e[11] = r / 4294967296 & 255, e[12] = r >>> 24 & 255, e[13] = r >>> 16 & 255, e[14] = r >>> 8 & 255, e[15] = r & 255, e;
1455
- }
1456
- function b(t) {
1457
- t = unescape(encodeURIComponent(t));
1458
- const r = [];
1459
- for (let e = 0; e < t.length; ++e)
1460
- r.push(t.charCodeAt(e));
1461
- return r;
1462
- }
1463
- const W = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", k = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
1464
- function j(t, r, e) {
1465
- function E(l, N, A, R) {
1466
- var s;
1467
- if (typeof l == "string" && (l = b(l)), typeof N == "string" && (N = $(N)), ((s = N) === null || s === void 0 ? void 0 : s.length) !== 16)
1468
- throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
1469
- let T = new Uint8Array(16 + l.length);
1470
- if (T.set(N), T.set(l, N.length), T = e(T), T[6] = T[6] & 15 | r, T[8] = T[8] & 63 | 128, A) {
1471
- R = R || 0;
1472
- for (let a = 0; a < 16; ++a)
1473
- A[R + a] = T[a];
1474
- return A;
1475
- }
1476
- return H(T);
1477
- }
1478
- try {
1479
- E.name = t;
1480
- } catch {
1481
- }
1482
- return E.DNS = W, E.URL = k, E;
1483
- }
1484
- function Z(t, r, e, E) {
1485
- switch (t) {
1486
- case 0:
1487
- return r & e ^ ~r & E;
1488
- case 1:
1489
- return r ^ e ^ E;
1490
- case 2:
1491
- return r & e ^ r & E ^ e & E;
1492
- case 3:
1493
- return r ^ e ^ E;
1494
- }
1495
- }
1496
- function D(t, r) {
1497
- return t << r | t >>> 32 - r;
1498
- }
1499
- function z(t) {
1500
- const r = [1518500249, 1859775393, 2400959708, 3395469782], e = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
1501
- if (typeof t == "string") {
1502
- const A = unescape(encodeURIComponent(t));
1503
- t = [];
1504
- for (let R = 0; R < A.length; ++R)
1505
- t.push(A.charCodeAt(R));
1506
- } else Array.isArray(t) || (t = Array.prototype.slice.call(t));
1507
- t.push(128);
1508
- const E = t.length / 4 + 2, l = Math.ceil(E / 16), N = new Array(l);
1509
- for (let A = 0; A < l; ++A) {
1510
- const R = new Uint32Array(16);
1511
- for (let s = 0; s < 16; ++s)
1512
- R[s] = t[A * 64 + s * 4] << 24 | t[A * 64 + s * 4 + 1] << 16 | t[A * 64 + s * 4 + 2] << 8 | t[A * 64 + s * 4 + 3];
1513
- N[A] = R;
1514
- }
1515
- N[l - 1][14] = (t.length - 1) * 8 / Math.pow(2, 32), N[l - 1][14] = Math.floor(N[l - 1][14]), N[l - 1][15] = (t.length - 1) * 8 & 4294967295;
1516
- for (let A = 0; A < l; ++A) {
1517
- const R = new Uint32Array(80);
1518
- for (let o = 0; o < 16; ++o)
1519
- R[o] = N[A][o];
1520
- for (let o = 16; o < 80; ++o)
1521
- R[o] = D(R[o - 3] ^ R[o - 8] ^ R[o - 14] ^ R[o - 16], 1);
1522
- let s = e[0], T = e[1], a = e[2], m = e[3], n = e[4];
1523
- for (let o = 0; o < 80; ++o) {
1524
- const d = Math.floor(o / 20), y = D(s, 5) + Z(d, T, a, m) + n + r[d] + R[o] >>> 0;
1525
- n = m, m = a, a = D(T, 30) >>> 0, T = s, s = y;
1526
- }
1527
- e[0] = e[0] + s >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + a >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + n >>> 0;
1528
- }
1529
- 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];
1530
- }
1531
- const p = j("v5", 80, z);
1532
- class Le extends V {
1533
- constructor(e, E = "POST", l = {}) {
1534
- super();
1535
- L(this, "apiUrl");
1536
- L(this, "method");
1537
- L(this, "headers");
1538
- L(this, "isLoadingEnabled", !0);
1539
- L(this, "errorResponse");
1540
- this.apiUrl = e, this.method = E, this.headers = {
1541
- "Content-Type": "application/json",
1542
- ...l
1543
- };
1544
- }
1545
- setIsLoadingEnabled(e) {
1546
- this.isLoadingEnabled = e;
1547
- }
1548
- setErrorResponse(e) {
1549
- this.errorResponse = e;
1550
- }
1551
- fetchData(e = {}) {
1552
- const E = (/* @__PURE__ */ new Date()).toISOString(), l = p(E, p.URL), N = this.encode({ ...e }, l);
1553
- g.getInstance().setSubject(this.isLoadingEnabled);
1554
- const R = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
1555
- return P(this.apiUrl, {
1556
- method: this.method,
1557
- headers: { ...this.headers, flow: R },
1558
- body: N,
1559
- selector: (s) => s.json()
1560
- }).pipe(
1561
- i((s) => O(this.decode(s))),
1562
- i((s) => s.code && (s.type === "modal" || s.type === "message") ? (this.logError(
1563
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
1564
- ), g.getInstance().setSubject(!1), B.getInstance().setSubject(s), this.errorResponse ? O(this.errorResponse) : c) : O(s)),
1565
- i((s) => (g.getInstance().setSubject(!1), this.logDebug(
1566
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
1567
- ), O(s))),
1568
- S((s) => (this.logError(
1569
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
1570
- ), g.getInstance().setSubject(!1), B.getInstance().setSubject(
1571
- new C().get(s, l)
1572
- ), this.errorResponse ? O(this.errorResponse) : c))
1573
- );
1574
- }
1575
- }
1576
- export {
1577
- oe as A,
1578
- C as E,
1579
- Oe as F,
1580
- Le as a
1581
- };