mp-front-cli 0.0.140 → 2.0.0-canary.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.
- package/dist/core/errors/enrollment/error-catalog-enrollment.d.ts +1 -1
- package/dist/core/errors/error-catalog.d.ts +9 -9
- package/dist/core/errors/helpdesk/cancelPr.d.ts +1 -1
- package/dist/core/errors/helpdesk/index.d.ts +1 -1
- package/dist/core/errors/helpdesk/skipFingerprint.d.ts +1 -1
- package/dist/core/errors/index.d.ts +1 -1
- package/dist/core/errors/message-error.d.ts +3 -3
- package/dist/core/index.d.ts +5 -5
- package/dist/core/interfaces/api-response.d.ts +0 -1
- package/dist/core/interfaces/api-response.d.ts.map +1 -1
- package/dist/core/interfaces/index.d.ts +3 -3
- package/dist/core/middleware/index.d.ts +5 -5
- package/dist/core/services/index.d.ts +1 -1
- package/dist/core/services/service-token.d.ts +2 -2
- package/dist/core/utils/Terminal/constants/index.d.ts +1 -1
- package/dist/core/utils/Terminal/index.d.ts +3 -3
- package/dist/core/utils/api-request/fetch-service-be.d.ts +4 -4
- package/dist/core/utils/api-request/fetch-service-fe.d.ts +3 -3
- package/dist/core/utils/api-request/index.d.ts +2 -2
- package/dist/core/utils/custom-adapter.d.ts +1 -1
- package/dist/core/utils/custom-adapter.d.ts.map +1 -1
- package/dist/core/utils/custom-cache.d.ts +3 -3
- package/dist/core/utils/custom-encoder.d.ts +1 -1
- package/dist/core/utils/custom-encrypter.d.ts +1 -1
- package/dist/core/utils/custom-header.d.ts +2 -2
- package/dist/core/utils/custom-redis.d.ts +1 -1
- package/dist/core/utils/func/index.d.ts +1 -1
- package/dist/core/utils/index.d.ts +2 -2
- package/dist/core/utils/rxjs/index.d.ts +3 -3
- package/dist/core/utils/rxjs/loading-handler.d.ts +1 -1
- package/dist/core/utils/rxjs/message-handler.d.ts +2 -2
- package/dist/core/utils/rxjs/rx-subject-manager.d.ts +1 -1
- package/dist/fetch-service-fe-Bn43l_lH.js +1574 -0
- package/dist/index.d.ts +1 -1
- package/dist/lang/common/errors/calculator/index.d.ts +2 -2
- package/dist/lang/common/errors/enrollment/index.d.ts +2 -2
- package/dist/lang/common/errors/helpdesk/index.d.ts +2 -2
- package/dist/lang/common/errors/index.d.ts +2 -2
- package/dist/lang/common/index.d.ts +1 -1
- package/dist/lang/i18n.d.ts +1 -1
- package/dist/lang/index.d.ts +4 -4
- package/dist/lang/validator/index.d.ts +2 -2
- package/dist/loading-handler-Br21zGTA.js +46 -0
- package/dist/mp-front-cli-adapter.es.js +73 -84
- package/dist/mp-front-cli-all.es.js +11 -22
- package/dist/mp-front-cli-cache.es.js +33 -38
- package/dist/mp-front-cli-core.es.js +11 -1582
- package/dist/mp-front-cli-encoder.es.js +3535 -3537
- package/dist/mp-front-cli-encrypter.es.js +11 -14
- package/dist/mp-front-cli-header.es.js +13 -17
- package/dist/mp-front-cli-locale.es.js +1 -1
- package/dist/mp-front-cli-logger.es.js +1 -1
- package/dist/mp-front-cli-services.es.js +2 -4
- package/dist/mp-front-cli-utils-rxjs.es.js +3 -43
- package/dist/service-token-D8bum6H0.js +811 -0
- package/package.json +11 -11
- package/dist/index-def0b487.js +0 -844
- /package/dist/{custom-redis-bee66564.js → custom-redis-BMPP_XZi.js} +0 -0
- /package/dist/{i18n-3dcfe704.js → i18n-CniHhItS.js} +0 -0
- /package/dist/{stringify-788d71a0.js → stringify-93tp0umt.js} +0 -0
|
@@ -0,0 +1,1574 @@
|
|
|
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-D8bum6H0.js";
|
|
9
|
+
import { L as g, M as B } from "./loading-handler-Br21zGTA.js";
|
|
10
|
+
import "./i18n-CniHhItS.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-INVALIDATEDATA-01": {
|
|
959
|
+
title: "errors.JOURNEY-INVALIDATEDATA-01.title",
|
|
960
|
+
message: "errors.JOURNEY-INVALIDATEDATA-01.message",
|
|
961
|
+
code: 420,
|
|
962
|
+
type: "modal",
|
|
963
|
+
level: "warning"
|
|
964
|
+
},
|
|
965
|
+
"JOURNEY-DATANOTFOUND-02": {
|
|
966
|
+
title: "errors.JOURNEY-DATANOTFOUND-02.title",
|
|
967
|
+
message: "errors.JOURNEY-DATANOTFOUND-02.message",
|
|
968
|
+
code: 420,
|
|
969
|
+
type: "modal",
|
|
970
|
+
level: "warning"
|
|
971
|
+
},
|
|
972
|
+
"JOURNEY-FLOWEND-03": {
|
|
973
|
+
title: "errors.JOURNEY-FLOWEND-03.title",
|
|
974
|
+
message: "errors.JOURNEY-FLOWEND-03.message",
|
|
975
|
+
code: 420,
|
|
976
|
+
type: "modal",
|
|
977
|
+
level: "warning"
|
|
978
|
+
},
|
|
979
|
+
"PF-ERROR-GENERIC": {
|
|
980
|
+
title: "errors.PF-ERROR-GENERIC.title",
|
|
981
|
+
message: "errors.PF-ERROR-GENERIC.message",
|
|
982
|
+
code: 420,
|
|
983
|
+
type: "modal",
|
|
984
|
+
level: "warning"
|
|
985
|
+
},
|
|
986
|
+
"JOURNEY-IDSTATEINCORRECT-04": {
|
|
987
|
+
title: "errors.JOURNEY-IDSTATEINCORRECT-04.title",
|
|
988
|
+
message: "errors.JOURNEY-IDSTATEINCORRECT-04.message",
|
|
989
|
+
code: 420,
|
|
990
|
+
type: "modal",
|
|
991
|
+
level: "warning"
|
|
992
|
+
},
|
|
993
|
+
"JOURNEY-HEADERS-05": {
|
|
994
|
+
title: "errors.JOURNEY-HEADERS-05.title",
|
|
995
|
+
message: "errors.JOURNEY-HEADERS-05.message",
|
|
996
|
+
code: 420,
|
|
997
|
+
type: "modal",
|
|
998
|
+
level: "warning"
|
|
999
|
+
},
|
|
1000
|
+
//INITIAL
|
|
1001
|
+
"INITIAL-INVALIDATEDATA-01": {
|
|
1002
|
+
title: "errors.INITIAL-INVALIDATEDATA-01.title",
|
|
1003
|
+
message: "errors.INITIAL-INVALIDATEDATA-01.message",
|
|
1004
|
+
code: 420,
|
|
1005
|
+
type: "modal",
|
|
1006
|
+
level: "warning"
|
|
1007
|
+
},
|
|
1008
|
+
"INITIAL-DATANOTFOUND-02": {
|
|
1009
|
+
title: "errors.INITIAL-DATANOTFOUND-02.title",
|
|
1010
|
+
message: "errors.INITIAL-DATANOTFOUND-02.message",
|
|
1011
|
+
code: 420,
|
|
1012
|
+
type: "modal",
|
|
1013
|
+
level: "warning"
|
|
1014
|
+
},
|
|
1015
|
+
"INITIAL-HEADERS-03": {
|
|
1016
|
+
title: "errors.INITIAL-HEADERS-03.title",
|
|
1017
|
+
message: "errors.INITIAL-HEADERS-03.message",
|
|
1018
|
+
code: 420,
|
|
1019
|
+
type: "modal",
|
|
1020
|
+
level: "warning"
|
|
1021
|
+
},
|
|
1022
|
+
//PERSONAL DATA
|
|
1023
|
+
"PERSONALDATA-INVALID-MEDIA-TYPE": {
|
|
1024
|
+
title: "errors.PERSONALDATA-INVALID-MEDIA-TYPE.title",
|
|
1025
|
+
message: "errors.PERSONALDATA-INVALID-MEDIA-TYPE.message",
|
|
1026
|
+
code: 420,
|
|
1027
|
+
type: "modal",
|
|
1028
|
+
level: "warning"
|
|
1029
|
+
},
|
|
1030
|
+
"PERSONALDATA-INVALID-CONTENT-TYPE": {
|
|
1031
|
+
title: "errors.PERSONALDATA-INVALID-CONTENT-TYPE.title",
|
|
1032
|
+
message: "errors.PERSONALDATA-INVALID-CONTENT-TYPE.message",
|
|
1033
|
+
code: 420,
|
|
1034
|
+
type: "modal",
|
|
1035
|
+
level: "warning"
|
|
1036
|
+
},
|
|
1037
|
+
"PERSONALDATA-INVALID-DATA-TYPE": {
|
|
1038
|
+
title: "errors.PERSONALDATA-INVALID-DATA-TYPE.title",
|
|
1039
|
+
message: "errors.PERSONALDATA-INVALID-DATA-TYPE.message",
|
|
1040
|
+
code: 420,
|
|
1041
|
+
type: "modal",
|
|
1042
|
+
level: "warning"
|
|
1043
|
+
},
|
|
1044
|
+
"PERSONALDATA-UNKNOWN-REGISTER-01": {
|
|
1045
|
+
title: "errors.PERSONALDATA-UNKNOWN-REGISTER-01.title",
|
|
1046
|
+
message: "errors.PERSONALDATA-UNKNOWN-REGISTER-01.message",
|
|
1047
|
+
code: 420,
|
|
1048
|
+
type: "modal",
|
|
1049
|
+
level: "warning"
|
|
1050
|
+
},
|
|
1051
|
+
"PERSONALDATA-UNKNOWN-REGISTER-02": {
|
|
1052
|
+
title: "errors.PERSONALDATA-UNKNOWN-REGISTER-02.title",
|
|
1053
|
+
message: "errors.PERSONALDATA-UNKNOWN-REGISTER-02.message",
|
|
1054
|
+
code: 420,
|
|
1055
|
+
type: "modal",
|
|
1056
|
+
level: "warning"
|
|
1057
|
+
},
|
|
1058
|
+
"PERSONALDATA-BAD-REQUEST-01": {
|
|
1059
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-01.title",
|
|
1060
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-01.message",
|
|
1061
|
+
code: 420,
|
|
1062
|
+
type: "modal",
|
|
1063
|
+
level: "warning"
|
|
1064
|
+
},
|
|
1065
|
+
"PERSONALDATA-BAD-REQUEST-02": {
|
|
1066
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-02.title",
|
|
1067
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-02.message",
|
|
1068
|
+
code: 420,
|
|
1069
|
+
type: "modal",
|
|
1070
|
+
level: "warning"
|
|
1071
|
+
},
|
|
1072
|
+
"PERSONALDATA-BAD-REQUEST-03": {
|
|
1073
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-03.title",
|
|
1074
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-03.message",
|
|
1075
|
+
code: 420,
|
|
1076
|
+
type: "modal",
|
|
1077
|
+
level: "warning"
|
|
1078
|
+
},
|
|
1079
|
+
"PERSONALDATA-BAD-REQUEST-04": {
|
|
1080
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-04.title",
|
|
1081
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-04.message",
|
|
1082
|
+
code: 420,
|
|
1083
|
+
type: "modal",
|
|
1084
|
+
level: "warning"
|
|
1085
|
+
},
|
|
1086
|
+
"PERSONALDATA-BAD-REQUEST-05": {
|
|
1087
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-05.title",
|
|
1088
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-05.message",
|
|
1089
|
+
code: 420,
|
|
1090
|
+
type: "modal",
|
|
1091
|
+
level: "warning"
|
|
1092
|
+
},
|
|
1093
|
+
"PERSONALDATA-BAD-REQUEST-06": {
|
|
1094
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-06.title",
|
|
1095
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-06.message",
|
|
1096
|
+
code: 420,
|
|
1097
|
+
type: "modal",
|
|
1098
|
+
level: "warning"
|
|
1099
|
+
},
|
|
1100
|
+
"PERSONALDATA-BAD-REQUEST-07": {
|
|
1101
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-07.title",
|
|
1102
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-07.message",
|
|
1103
|
+
code: 420,
|
|
1104
|
+
type: "modal",
|
|
1105
|
+
level: "warning"
|
|
1106
|
+
},
|
|
1107
|
+
"PERSONALDATA-BAD-REQUEST-08": {
|
|
1108
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-08.title",
|
|
1109
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-08.message",
|
|
1110
|
+
code: 420,
|
|
1111
|
+
type: "modal",
|
|
1112
|
+
level: "warning"
|
|
1113
|
+
},
|
|
1114
|
+
"PERSONALDATA-GENERIC-ERROR": {
|
|
1115
|
+
title: "errors.PERSONALDATA-GENERIC-ERROR.title",
|
|
1116
|
+
message: "errors.PERSONALDATA-GENERIC-ERROR.message",
|
|
1117
|
+
code: 420,
|
|
1118
|
+
type: "modal",
|
|
1119
|
+
level: "warning"
|
|
1120
|
+
},
|
|
1121
|
+
"PERSONALDATA-ODATA-ERROR-01": {
|
|
1122
|
+
title: "errors.PERSONALDATA-ODATA-ERROR-01.title",
|
|
1123
|
+
message: "errors.PERSONALDATA-ODATA-ERROR-01.message",
|
|
1124
|
+
code: 420,
|
|
1125
|
+
type: "modal",
|
|
1126
|
+
level: "warning"
|
|
1127
|
+
},
|
|
1128
|
+
"PERSONALDATA-UNKNOWN-FG-01": {
|
|
1129
|
+
title: "errors.PERSONALDATA-UNKNOWN-FG-01.title",
|
|
1130
|
+
message: "errors.PERSONALDATA-UNKNOWN-FG-01.message",
|
|
1131
|
+
code: 420,
|
|
1132
|
+
type: "modal",
|
|
1133
|
+
level: "warning"
|
|
1134
|
+
},
|
|
1135
|
+
"PERSONALDATA-CU-ERROR-01": {
|
|
1136
|
+
title: "errors.PERSONALDATA-CU-ERROR-01.title",
|
|
1137
|
+
message: "errors.PERSONALDATA-CU-ERROR-01.message",
|
|
1138
|
+
code: 420,
|
|
1139
|
+
type: "modal",
|
|
1140
|
+
level: "warning"
|
|
1141
|
+
},
|
|
1142
|
+
"PERSONALDATA-INVALID-RFC-01": {
|
|
1143
|
+
title: "errors.PERSONALDATA-INVALID-RFC-01.title",
|
|
1144
|
+
message: "errors.PERSONALDATA-INVALID-RFC-01.message",
|
|
1145
|
+
code: 420,
|
|
1146
|
+
type: "modal",
|
|
1147
|
+
level: "warning"
|
|
1148
|
+
},
|
|
1149
|
+
"PERSONALDATA-BAD-REQUEST-09": {
|
|
1150
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-09.title",
|
|
1151
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-09.message",
|
|
1152
|
+
code: 420,
|
|
1153
|
+
type: "modal",
|
|
1154
|
+
level: "warning"
|
|
1155
|
+
},
|
|
1156
|
+
"PERSONALDATA-BAD-REQUEST-10": {
|
|
1157
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-10.title",
|
|
1158
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-10.message",
|
|
1159
|
+
code: 420,
|
|
1160
|
+
type: "modal",
|
|
1161
|
+
level: "warning"
|
|
1162
|
+
},
|
|
1163
|
+
"PERSONALDATA-BAD-REQUEST-WHITE-LIST-11": {
|
|
1164
|
+
title: "errors.PERSONALDATA-BAD-REQUEST-WHITE-LIST-11.title",
|
|
1165
|
+
message: "errors.PERSONALDATA-BAD-REQUEST-WHITE-LIST-11.message",
|
|
1166
|
+
code: 420,
|
|
1167
|
+
type: "modal",
|
|
1168
|
+
level: "warning"
|
|
1169
|
+
},
|
|
1170
|
+
//PERSONAL REFERENCES
|
|
1171
|
+
"PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
|
|
1172
|
+
title: "errors.PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01.title",
|
|
1173
|
+
message: "errors.PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01.message",
|
|
1174
|
+
code: 422,
|
|
1175
|
+
type: "modal",
|
|
1176
|
+
level: "warning"
|
|
1177
|
+
},
|
|
1178
|
+
"PERSONALREFERENCE-REFERENCESEXCEPTION-01": {
|
|
1179
|
+
title: "errors.PERSONALREFERENCE-REFERENCESEXCEPTION-01.title",
|
|
1180
|
+
message: "errors.PERSONALREFERENCE-REFERENCESEXCEPTION-01.message",
|
|
1181
|
+
code: 422,
|
|
1182
|
+
type: "modal",
|
|
1183
|
+
level: "warning"
|
|
1184
|
+
},
|
|
1185
|
+
"PERSONALREFERENCE-BLACKLISTEXCEPTION-01": {
|
|
1186
|
+
title: "errors.PERSONALREFERENCE-BLACKLISTEXCEPTION-01.title",
|
|
1187
|
+
message: "errors.PERSONALREFERENCE-BLACKLISTEXCEPTION-01.message",
|
|
1188
|
+
code: 403,
|
|
1189
|
+
type: "modal",
|
|
1190
|
+
level: "warning"
|
|
1191
|
+
},
|
|
1192
|
+
"PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01": {
|
|
1193
|
+
title: "errors.PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01.title",
|
|
1194
|
+
message: "errors.PERSONALREFERENCE-INVALIDPHONENUMBEREXCEPTION-01.message",
|
|
1195
|
+
code: 400,
|
|
1196
|
+
type: "modal",
|
|
1197
|
+
level: "warning"
|
|
1198
|
+
},
|
|
1199
|
+
"PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001": {
|
|
1200
|
+
title: "errors.PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001.title",
|
|
1201
|
+
message: "errors.PERSONALREFERENCE-DELETEREFERENCEEXCEPTION-001.message",
|
|
1202
|
+
code: 400,
|
|
1203
|
+
type: "modal",
|
|
1204
|
+
level: "warning"
|
|
1205
|
+
},
|
|
1206
|
+
"PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
|
|
1207
|
+
title: "errors.PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001.title",
|
|
1208
|
+
message: "errors.PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001.message",
|
|
1209
|
+
code: 420,
|
|
1210
|
+
type: "modal",
|
|
1211
|
+
level: "warning"
|
|
1212
|
+
},
|
|
1213
|
+
"PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001": {
|
|
1214
|
+
title: "errors.PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001.title",
|
|
1215
|
+
message: "errors.PERSONALREFERENCE-INVALIDREFERENCESPARENTCOUNTEXCEPTION-001.message",
|
|
1216
|
+
code: 422,
|
|
1217
|
+
type: "modal",
|
|
1218
|
+
level: "warning"
|
|
1219
|
+
},
|
|
1220
|
+
"PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001": {
|
|
1221
|
+
title: "errors.PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001.title",
|
|
1222
|
+
message: "errors.PERSONALREFERENCE-SELFREFERENCEEXCEPTION-001.message",
|
|
1223
|
+
code: 422,
|
|
1224
|
+
type: "modal",
|
|
1225
|
+
level: "warning"
|
|
1226
|
+
},
|
|
1227
|
+
//PAYMENTS
|
|
1228
|
+
"SALES-SUMMARY-GENERIC-ERROR-001": {
|
|
1229
|
+
title: "errors.SALES-SUMMARY-GENERIC-ERROR-001.title",
|
|
1230
|
+
message: "errors.SALES-SUMMARY-GENERIC-ERROR-001.message",
|
|
1231
|
+
code: 420,
|
|
1232
|
+
type: "modal",
|
|
1233
|
+
level: "warning"
|
|
1234
|
+
},
|
|
1235
|
+
"PF-SALES-SUMMARY-GENERIC-ERROR-001": {
|
|
1236
|
+
title: "errors.PF-SALES-SUMMARY-GENERIC-ERROR-001.title",
|
|
1237
|
+
message: "errors.PF-SALES-SUMMARY-GENERIC-ERROR-001.message",
|
|
1238
|
+
code: 420,
|
|
1239
|
+
type: "modal",
|
|
1240
|
+
level: "warning"
|
|
1241
|
+
},
|
|
1242
|
+
"SALES-SUMMARY-ERROR-005": {
|
|
1243
|
+
title: "errors.SALES-SUMMARY-ERROR-005.title",
|
|
1244
|
+
message: "errors.SALES-SUMMARY-ERROR-005.message",
|
|
1245
|
+
code: 420,
|
|
1246
|
+
type: "modal",
|
|
1247
|
+
level: "warning"
|
|
1248
|
+
},
|
|
1249
|
+
//REPRINT
|
|
1250
|
+
"PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
|
|
1251
|
+
title: "errors.PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001.title",
|
|
1252
|
+
message: "errors.PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001.message",
|
|
1253
|
+
code: 420,
|
|
1254
|
+
type: "modal",
|
|
1255
|
+
level: "warning"
|
|
1256
|
+
},
|
|
1257
|
+
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
1258
|
+
title: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.title",
|
|
1259
|
+
message: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.message",
|
|
1260
|
+
code: 420,
|
|
1261
|
+
type: "modal",
|
|
1262
|
+
level: "warning"
|
|
1263
|
+
},
|
|
1264
|
+
...x,
|
|
1265
|
+
...K
|
|
1266
|
+
};
|
|
1267
|
+
class C extends Q {
|
|
1268
|
+
get(r = "default", e = "NOT_FOUND") {
|
|
1269
|
+
var N, A;
|
|
1270
|
+
if (r instanceof Error)
|
|
1271
|
+
return this.logError(r.message), {
|
|
1272
|
+
...I.internalError,
|
|
1273
|
+
title: U(I.internalError.title),
|
|
1274
|
+
message: U(I.internalError.message),
|
|
1275
|
+
uuid: e
|
|
1276
|
+
};
|
|
1277
|
+
const E = typeof r == "string" ? r : r.code ?? r.errorType;
|
|
1278
|
+
this.logDebug("statusCode", E);
|
|
1279
|
+
const l = typeof r == "string" ? {} : { ...r };
|
|
1280
|
+
return {
|
|
1281
|
+
...I[E] ?? I.default,
|
|
1282
|
+
title: U(
|
|
1283
|
+
((N = I[E]) == null ? void 0 : N.title) ?? I.default.title,
|
|
1284
|
+
l
|
|
1285
|
+
),
|
|
1286
|
+
message: U(
|
|
1287
|
+
((A = I[E]) == null ? void 0 : A.message) ?? I.default.message,
|
|
1288
|
+
l
|
|
1289
|
+
),
|
|
1290
|
+
payload: typeof r != "string" ? { errorCode: r.code } : {},
|
|
1291
|
+
uuid: e
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
class oe extends w {
|
|
1296
|
+
constructor() {
|
|
1297
|
+
super(...arguments);
|
|
1298
|
+
L(this, "uuid", "");
|
|
1299
|
+
L(this, "session", null);
|
|
1300
|
+
}
|
|
1301
|
+
setSession(e) {
|
|
1302
|
+
this.session = e;
|
|
1303
|
+
}
|
|
1304
|
+
getSession() {
|
|
1305
|
+
if (!this.session) throw new C().get("SESSION_NOT_FOUND");
|
|
1306
|
+
return this.session;
|
|
1307
|
+
}
|
|
1308
|
+
returnData(e, E, l) {
|
|
1309
|
+
const N = this.encode(E, l);
|
|
1310
|
+
e.status(200).json(N);
|
|
1311
|
+
}
|
|
1312
|
+
returnError(e, E) {
|
|
1313
|
+
return E != null && E.uuid ? e.status(520).json(E) : e.status(520).json(new C().get(E, this.uuid));
|
|
1314
|
+
}
|
|
1315
|
+
get(e) {
|
|
1316
|
+
return this.logDebug("get ApiMiddleware"), (E, l) => {
|
|
1317
|
+
var N;
|
|
1318
|
+
this.logDebug("return ApiMiddleware"), this.uuid = (N = E == null ? void 0 : E.body) == null ? void 0 : N.uuid, O(E).pipe(
|
|
1319
|
+
i(
|
|
1320
|
+
(A) => M({
|
|
1321
|
+
params: O(this.decode(A.body)),
|
|
1322
|
+
headers: O(A.headers)
|
|
1323
|
+
})
|
|
1324
|
+
),
|
|
1325
|
+
i(
|
|
1326
|
+
({ params: A, headers: R }) => M({
|
|
1327
|
+
response: e(A, this.uuid, R),
|
|
1328
|
+
headers: O(R),
|
|
1329
|
+
params: O(A)
|
|
1330
|
+
})
|
|
1331
|
+
),
|
|
1332
|
+
i(({ params: A, response: R, headers: s }) => (this.logDebug(
|
|
1333
|
+
`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)}`
|
|
1334
|
+
), O(R))),
|
|
1335
|
+
S((A) => {
|
|
1336
|
+
var R;
|
|
1337
|
+
return this.logError(
|
|
1338
|
+
`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)}`
|
|
1339
|
+
), this.returnError(l, A), c;
|
|
1340
|
+
})
|
|
1341
|
+
).subscribe({
|
|
1342
|
+
next: (A) => {
|
|
1343
|
+
this.logDebug("ApiMiddleware subscribe next", JSON.stringify(A)), this.returnData(l, A, this.uuid);
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
const X = process.env.ID_FRONT ?? "NOT_AVAILABLE";
|
|
1350
|
+
class Oe extends v {
|
|
1351
|
+
constructor(e, E, l = {}) {
|
|
1352
|
+
super(l);
|
|
1353
|
+
L(this, "apiUrl");
|
|
1354
|
+
L(this, "method");
|
|
1355
|
+
this.apiUrl = e, this.method = E ?? "POST";
|
|
1356
|
+
}
|
|
1357
|
+
errorHandler(e, E) {
|
|
1358
|
+
if (e != null && e.errors)
|
|
1359
|
+
throw new C().get(e.errors[0], E);
|
|
1360
|
+
return !(e != null && e.errors);
|
|
1361
|
+
}
|
|
1362
|
+
formatParams(e) {
|
|
1363
|
+
return JSON.stringify({
|
|
1364
|
+
data: {
|
|
1365
|
+
type: X,
|
|
1366
|
+
attributes: e
|
|
1367
|
+
}
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
fetchData(e = {}, E) {
|
|
1371
|
+
return this.getHeaders().pipe(
|
|
1372
|
+
i(
|
|
1373
|
+
(l) => P(
|
|
1374
|
+
this.apiUrl,
|
|
1375
|
+
{
|
|
1376
|
+
method: "POST",
|
|
1377
|
+
headers: l,
|
|
1378
|
+
body: this.formatParams(e),
|
|
1379
|
+
selector: (N) => N.json()
|
|
1380
|
+
}
|
|
1381
|
+
).pipe(
|
|
1382
|
+
S((N) => {
|
|
1383
|
+
throw this.logError(JSON.stringify(N)), this.logError(
|
|
1384
|
+
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1385
|
+
l
|
|
1386
|
+
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1387
|
+
this.formatParams(e)
|
|
1388
|
+
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(N)} \x1B[33m`
|
|
1389
|
+
), new C().get("default", E);
|
|
1390
|
+
}),
|
|
1391
|
+
i((N) => (this.logDebug(
|
|
1392
|
+
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1393
|
+
l
|
|
1394
|
+
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1395
|
+
this.formatParams(e)
|
|
1396
|
+
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(N)} \x1B[33m`
|
|
1397
|
+
), O(N)))
|
|
1398
|
+
)
|
|
1399
|
+
),
|
|
1400
|
+
F((l) => this.errorHandler(l, E))
|
|
1401
|
+
);
|
|
1402
|
+
}
|
|
1403
|
+
fetchCustomData(e = {}, E, l) {
|
|
1404
|
+
const N = {
|
|
1405
|
+
"Content-Type": "application/json"
|
|
1406
|
+
}, A = h.stringify(
|
|
1407
|
+
e
|
|
1408
|
+
), R = `${this.apiUrl}?${A}`, s = this.method === "GET" ? R : this.apiUrl;
|
|
1409
|
+
return this.getHeaders(N, l).pipe(
|
|
1410
|
+
i(
|
|
1411
|
+
(T) => P(s, {
|
|
1412
|
+
method: this.method,
|
|
1413
|
+
headers: T,
|
|
1414
|
+
body: this.method === "GET" ? null : JSON.stringify(e),
|
|
1415
|
+
selector: (a) => a.json()
|
|
1416
|
+
}).pipe(
|
|
1417
|
+
S((a) => {
|
|
1418
|
+
throw this.logError(JSON.stringify(a)), this.logError(
|
|
1419
|
+
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${s} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1420
|
+
T
|
|
1421
|
+
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1422
|
+
this.formatParams(e)
|
|
1423
|
+
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)} \x1B[33m`
|
|
1424
|
+
), new C().get("default", E);
|
|
1425
|
+
}),
|
|
1426
|
+
i((a) => (this.logDebug(
|
|
1427
|
+
`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(
|
|
1428
|
+
T
|
|
1429
|
+
)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
|
|
1430
|
+
e
|
|
1431
|
+
)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)} \x1B[33m`
|
|
1432
|
+
), O(a)))
|
|
1433
|
+
)
|
|
1434
|
+
)
|
|
1435
|
+
);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
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;
|
|
1439
|
+
function _(t) {
|
|
1440
|
+
return typeof t == "string" && J.test(t);
|
|
1441
|
+
}
|
|
1442
|
+
function $(t) {
|
|
1443
|
+
if (!_(t))
|
|
1444
|
+
throw TypeError("Invalid UUID");
|
|
1445
|
+
let r;
|
|
1446
|
+
const e = new Uint8Array(16);
|
|
1447
|
+
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;
|
|
1448
|
+
}
|
|
1449
|
+
function b(t) {
|
|
1450
|
+
t = unescape(encodeURIComponent(t));
|
|
1451
|
+
const r = [];
|
|
1452
|
+
for (let e = 0; e < t.length; ++e)
|
|
1453
|
+
r.push(t.charCodeAt(e));
|
|
1454
|
+
return r;
|
|
1455
|
+
}
|
|
1456
|
+
const W = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", k = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
1457
|
+
function j(t, r, e) {
|
|
1458
|
+
function E(l, N, A, R) {
|
|
1459
|
+
var s;
|
|
1460
|
+
if (typeof l == "string" && (l = b(l)), typeof N == "string" && (N = $(N)), ((s = N) === null || s === void 0 ? void 0 : s.length) !== 16)
|
|
1461
|
+
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
1462
|
+
let T = new Uint8Array(16 + l.length);
|
|
1463
|
+
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) {
|
|
1464
|
+
R = R || 0;
|
|
1465
|
+
for (let a = 0; a < 16; ++a)
|
|
1466
|
+
A[R + a] = T[a];
|
|
1467
|
+
return A;
|
|
1468
|
+
}
|
|
1469
|
+
return H(T);
|
|
1470
|
+
}
|
|
1471
|
+
try {
|
|
1472
|
+
E.name = t;
|
|
1473
|
+
} catch {
|
|
1474
|
+
}
|
|
1475
|
+
return E.DNS = W, E.URL = k, E;
|
|
1476
|
+
}
|
|
1477
|
+
function Z(t, r, e, E) {
|
|
1478
|
+
switch (t) {
|
|
1479
|
+
case 0:
|
|
1480
|
+
return r & e ^ ~r & E;
|
|
1481
|
+
case 1:
|
|
1482
|
+
return r ^ e ^ E;
|
|
1483
|
+
case 2:
|
|
1484
|
+
return r & e ^ r & E ^ e & E;
|
|
1485
|
+
case 3:
|
|
1486
|
+
return r ^ e ^ E;
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
function D(t, r) {
|
|
1490
|
+
return t << r | t >>> 32 - r;
|
|
1491
|
+
}
|
|
1492
|
+
function z(t) {
|
|
1493
|
+
const r = [1518500249, 1859775393, 2400959708, 3395469782], e = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
1494
|
+
if (typeof t == "string") {
|
|
1495
|
+
const A = unescape(encodeURIComponent(t));
|
|
1496
|
+
t = [];
|
|
1497
|
+
for (let R = 0; R < A.length; ++R)
|
|
1498
|
+
t.push(A.charCodeAt(R));
|
|
1499
|
+
} else Array.isArray(t) || (t = Array.prototype.slice.call(t));
|
|
1500
|
+
t.push(128);
|
|
1501
|
+
const E = t.length / 4 + 2, l = Math.ceil(E / 16), N = new Array(l);
|
|
1502
|
+
for (let A = 0; A < l; ++A) {
|
|
1503
|
+
const R = new Uint32Array(16);
|
|
1504
|
+
for (let s = 0; s < 16; ++s)
|
|
1505
|
+
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];
|
|
1506
|
+
N[A] = R;
|
|
1507
|
+
}
|
|
1508
|
+
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;
|
|
1509
|
+
for (let A = 0; A < l; ++A) {
|
|
1510
|
+
const R = new Uint32Array(80);
|
|
1511
|
+
for (let o = 0; o < 16; ++o)
|
|
1512
|
+
R[o] = N[A][o];
|
|
1513
|
+
for (let o = 16; o < 80; ++o)
|
|
1514
|
+
R[o] = D(R[o - 3] ^ R[o - 8] ^ R[o - 14] ^ R[o - 16], 1);
|
|
1515
|
+
let s = e[0], T = e[1], a = e[2], m = e[3], n = e[4];
|
|
1516
|
+
for (let o = 0; o < 80; ++o) {
|
|
1517
|
+
const d = Math.floor(o / 20), y = D(s, 5) + Z(d, T, a, m) + n + r[d] + R[o] >>> 0;
|
|
1518
|
+
n = m, m = a, a = D(T, 30) >>> 0, T = s, s = y;
|
|
1519
|
+
}
|
|
1520
|
+
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;
|
|
1521
|
+
}
|
|
1522
|
+
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];
|
|
1523
|
+
}
|
|
1524
|
+
const p = j("v5", 80, z);
|
|
1525
|
+
class Le extends V {
|
|
1526
|
+
constructor(e, E = "POST", l = {}) {
|
|
1527
|
+
super();
|
|
1528
|
+
L(this, "apiUrl");
|
|
1529
|
+
L(this, "method");
|
|
1530
|
+
L(this, "headers");
|
|
1531
|
+
L(this, "isLoadingEnabled", !0);
|
|
1532
|
+
L(this, "errorResponse");
|
|
1533
|
+
this.apiUrl = e, this.method = E, this.headers = {
|
|
1534
|
+
"Content-Type": "application/json",
|
|
1535
|
+
...l
|
|
1536
|
+
};
|
|
1537
|
+
}
|
|
1538
|
+
setIsLoadingEnabled(e) {
|
|
1539
|
+
this.isLoadingEnabled = e;
|
|
1540
|
+
}
|
|
1541
|
+
setErrorResponse(e) {
|
|
1542
|
+
this.errorResponse = e;
|
|
1543
|
+
}
|
|
1544
|
+
fetchData(e = {}) {
|
|
1545
|
+
const E = (/* @__PURE__ */ new Date()).toISOString(), l = p(E, p.URL), N = this.encode({ ...e }, l);
|
|
1546
|
+
g.getInstance().setSubject(this.isLoadingEnabled);
|
|
1547
|
+
const R = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
|
|
1548
|
+
return P(this.apiUrl, {
|
|
1549
|
+
method: this.method,
|
|
1550
|
+
headers: { ...this.headers, flow: R },
|
|
1551
|
+
body: N,
|
|
1552
|
+
selector: (s) => s.json()
|
|
1553
|
+
}).pipe(
|
|
1554
|
+
i((s) => O(this.decode(s))),
|
|
1555
|
+
i((s) => s.code && (s.type === "modal" || s.type === "message") ? (this.logError(
|
|
1556
|
+
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
|
|
1557
|
+
), g.getInstance().setSubject(!1), B.getInstance().setSubject(s), this.errorResponse ? O(this.errorResponse) : c) : O(s)),
|
|
1558
|
+
i((s) => (g.getInstance().setSubject(!1), this.logDebug(
|
|
1559
|
+
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
|
|
1560
|
+
), O(s))),
|
|
1561
|
+
S((s) => (this.logError(
|
|
1562
|
+
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
|
|
1563
|
+
), g.getInstance().setSubject(!1), B.getInstance().setSubject(
|
|
1564
|
+
new C().get(s, l)
|
|
1565
|
+
), this.errorResponse ? O(this.errorResponse) : c))
|
|
1566
|
+
);
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
export {
|
|
1570
|
+
oe as A,
|
|
1571
|
+
C as E,
|
|
1572
|
+
Oe as F,
|
|
1573
|
+
Le as a
|
|
1574
|
+
};
|