mp-front-cli 0.0.110 → 0.0.112

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 +1 @@
1
- {"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAyxBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
1
+ {"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAmyBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
@@ -160,10 +160,6 @@ const e = {
160
160
  title: "Verificar el estado del servicio",
161
161
  message: "Error al obtener existencias"
162
162
  },
163
- "CALCULATOR-GENERIC-001": {
164
- title: "Error genérico",
165
- message: "Error genérico"
166
- },
167
163
  "CALCULATOR-BAD-REQUEST-26": {
168
164
  title: "Clave de tipo de producto no encontrada",
169
165
  message: "Revisar clave de tipo de producto enviada"
@@ -601,6 +597,15 @@ const e = {
601
597
  "PF-SALES-SUMMARY-GENERIC-ERROR-001": {
602
598
  title: "Error al cerrar la venta",
603
599
  message: "Por favor de revisar los datos enviados"
600
+ },
601
+ //REPRINT
602
+ "PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
603
+ title: "Error al cancelar la solicitud",
604
+ message: "Por favor comunícate con mesa de ayuda"
605
+ },
606
+ "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
607
+ title: "Error al cancelar la solicitud",
608
+ message: "Por favor comunícate con mesa de ayuda"
604
609
  }
605
610
  }
606
611
  };
@@ -160,10 +160,6 @@ declare const translation: {
160
160
  title: string;
161
161
  message: string;
162
162
  };
163
- "CALCULATOR-GENERIC-001": {
164
- title: string;
165
- message: string;
166
- };
167
163
  "CALCULATOR-BAD-REQUEST-26": {
168
164
  title: string;
169
165
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/calculator/es_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6NhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/calculator/es_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyNhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -32,6 +32,14 @@ declare const translation: {
32
32
  title: string;
33
33
  message: string;
34
34
  };
35
+ "PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
36
+ title: string;
37
+ message: string;
38
+ };
39
+ "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
40
+ title: string;
41
+ message: string;
42
+ };
35
43
  "ENROLLMENT-INVALIDCONFIGURATION-0000": {
36
44
  title: string;
37
45
  message: string;
@@ -509,10 +517,6 @@ declare const translation: {
509
517
  title: string;
510
518
  message: string;
511
519
  };
512
- "CALCULATOR-GENERIC-001": {
513
- title: string;
514
- message: string;
515
- };
516
520
  "CALCULATOR-BAD-REQUEST-26": {
517
521
  title: string;
518
522
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmRhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -2,7 +2,7 @@ import { ApiMiddleware as g, ErrorCatalog as l, FetchServiceBE as x, FetchServic
2
2
  import { LoadingHandler as v, MessageHandler as E, RxSubjectManager as F } from "./mp-front-cli-utils-rxjs.es.js";
3
3
  import { S as h } from "./index-def0b487.js";
4
4
  import "i18next";
5
- import "./index-d7046911.js";
5
+ import "./index-87c5386c.js";
6
6
  import "./mp-front-cli-logger.es.js";
7
7
  import "rxjs";
8
8
  import "./mp-front-cli-encrypter.es.js";
@@ -1,29 +1,29 @@
1
1
  var f = Object.defineProperty;
2
2
  var y = (t, E, e) => E in t ? f(t, E, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[E] = e;
3
3
  var L = (t, E, e) => (y(t, typeof E != "symbol" ? E + "" : E, e), e);
4
- import { LoadingHandler as U, MessageHandler as M } from "./mp-front-cli-utils-rxjs.es.js";
4
+ import { LoadingHandler as g, MessageHandler as M } from "./mp-front-cli-utils-rxjs.es.js";
5
5
  import { RxSubjectManager as me } from "./mp-front-cli-utils-rxjs.es.js";
6
- import { f as n } from "./index-def0b487.js";
7
- import { S as ge } from "./index-def0b487.js";
8
- import v, { t as g } from "i18next";
9
- import { t as Q } from "./index-d7046911.js";
6
+ import { f as D } from "./index-def0b487.js";
7
+ import { S as ne } from "./index-def0b487.js";
8
+ import w, { t as n } from "i18next";
9
+ import { t as v } from "./index-87c5386c.js";
10
10
  import { CustomLogger as V } from "./mp-front-cli-logger.es.js";
11
- import { of as T, switchMap as O, forkJoin as B, catchError as S, EMPTY as d, filter as w } from "rxjs";
11
+ import { of as T, switchMap as O, forkJoin as B, catchError as U, EMPTY as d, filter as Q } from "rxjs";
12
12
  import { CustomEncrypter as F } from "./mp-front-cli-encrypter.es.js";
13
13
  import { CustomHeader as h } from "./mp-front-cli-header.es.js";
14
14
  import { CustomEncoder as x } from "./mp-front-cli-encoder.es.js";
15
15
  import { u as Y } from "./stringify-788d71a0.js";
16
16
  import "node-jose";
17
17
  import "crypto";
18
- const H = {
18
+ const G = {
19
19
  es: {
20
20
  translation: {
21
- ...Q
21
+ ...v
22
22
  }
23
23
  }
24
24
  };
25
- v.init({
26
- resources: H,
25
+ w.init({
26
+ resources: G,
27
27
  lng: "es",
28
28
  // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
29
29
  // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
@@ -35,251 +35,251 @@ v.init({
35
35
  },
36
36
  debug: !1
37
37
  });
38
- const G = {
38
+ const H = {
39
39
  "ENROLLMENT-INVALIDCONFIGURATION-0000": {
40
40
  code: 400,
41
41
  type: "modal",
42
42
  message: "errors.ENROLLMENT-INVALIDCONFIGURATION-0000.message",
43
43
  title: "errors.ENROLLMENT-INVALIDCONFIGURATION-0000.title",
44
- level: "error"
44
+ level: "warning"
45
45
  },
46
46
  "ENROLLMENT-INVALIDDEVICEDID-0001": {
47
47
  code: 400,
48
48
  type: "modal",
49
49
  message: "errors.ENROLLMENT-INVALIDDEVICEDID-0001.message",
50
50
  title: "errors.ENROLLMENT-INVALIDDEVICEDID-0001.title",
51
- level: "error"
51
+ level: "warning"
52
52
  },
53
53
  "ENROLLMENT-INVALIDIMEI-0002": {
54
54
  code: 400,
55
55
  type: "modal",
56
56
  message: "errors.ENROLLMENT-INVALIDIMEI-0002.message",
57
57
  title: "errors.ENROLLMENT-INVALIDIMEI-0002.title",
58
- level: "error"
58
+ level: "warning"
59
59
  },
60
60
  "ENROLLMENT-INVALIDLOCKTYPE-0003": {
61
61
  code: 400,
62
62
  type: "modal",
63
63
  message: "errors.ENROLLMENT-INVALIDLOCKTYPE-0003.message",
64
64
  title: "errors.ENROLLMENT-INVALIDLOCKTYPE-0003.title",
65
- level: "error"
65
+ level: "warning"
66
66
  },
67
67
  "ENROLLMENT-INVALIDTOKENSUPPLIERS-0004": {
68
68
  code: 400,
69
69
  type: "modal",
70
70
  message: "errors.ENROLLMENT-INVALIDTOKENSUPPLIERS-0004.message",
71
71
  title: "errors.ENROLLMENT-INVALIDTOKENSUPPLIERS-0004.title",
72
- level: "error"
72
+ level: "warning"
73
73
  },
74
74
  "ENROLLMENT-IMEIDOESNTMATCH-0005": {
75
75
  code: 400,
76
76
  type: "modal",
77
77
  message: "errors.ENROLLMENT-IMEIDOESNTMATCH-0005.message",
78
78
  title: "errors.ENROLLMENT-IMEIDOESNTMATCH-0005.title",
79
- level: "error"
79
+ level: "warning"
80
80
  },
81
81
  "ENROLLMENT-QRMACROLOCKNOTGENERATE-0006": {
82
82
  code: 400,
83
83
  type: "modal",
84
84
  message: "errors.ENROLLMENT-QRMACROLOCKNOTGENERATE-0006.message",
85
85
  title: "errors.ENROLLMENT-QRMACROLOCKNOTGENERATE-0006.title",
86
- level: "error"
86
+ level: "warning"
87
87
  },
88
88
  "ENROLLMENT-IMEINOTVALIDATED-0007": {
89
89
  code: 400,
90
90
  type: "modal",
91
91
  message: "errors.ENROLLMENT-IMEINOTVALIDATED-0007.message",
92
92
  title: "errors.ENROLLMENT-IMEINOTVALIDATED-0007.title",
93
- level: "error"
93
+ level: "warning"
94
94
  },
95
95
  "ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008": {
96
96
  code: 400,
97
97
  type: "modal",
98
98
  message: "errors.ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008.message",
99
99
  title: "errors.ENROLLMENT-DEVICESNOTFOUNDINSAPINVENTORY-0008.title",
100
- level: "error"
100
+ level: "warning"
101
101
  },
102
102
  "ENROLLMENT-JOURNEYERROR-0009": {
103
103
  code: 400,
104
104
  type: "modal",
105
105
  message: "errors.ENROLLMENT-JOURNEYERROR-0009.message",
106
106
  title: "errors.ENROLLMENT-JOURNEYERROR-0009.title",
107
- level: "error"
107
+ level: "warning"
108
108
  },
109
109
  "ENROLLMENT-APPLICATIONSNOTFOUND-0010": {
110
110
  code: 400,
111
111
  type: "modal",
112
112
  message: "errors.ENROLLMENT-APPLICATIONSNOTFOUND-0010.message",
113
113
  title: "errors.ENROLLMENT-APPLICATIONSNOTFOUND-0010.title",
114
- level: "error"
114
+ level: "warning"
115
115
  },
116
116
  "ENROLLMENT-LOCKTYPENOTFOUND-0011": {
117
117
  code: 400,
118
118
  type: "modal",
119
119
  message: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0011.message",
120
120
  title: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0011.title",
121
- level: "error"
121
+ level: "warning"
122
122
  },
123
123
  "ENROLLMENT-PREAPPLICATIONNOTFOUND-0012": {
124
124
  code: 400,
125
125
  type: "modal",
126
126
  message: "errors.ENROLLMENT-PREAPPLICATIONNOTFOUND-0012.message",
127
127
  title: "errors.ENROLLMENT-PREAPPLICATIONNOTFOUND-0012.title",
128
- level: "error"
128
+ level: "warning"
129
129
  },
130
130
  "ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013": {
131
131
  code: 400,
132
132
  type: "modal",
133
133
  message: "errors.ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013.message",
134
134
  title: "errors.ENROLLMENT-UNSUPPORTED_MEDIA_TYPE-0013.title",
135
- level: "error"
135
+ level: "warning"
136
136
  },
137
137
  "ENROLLMENT-NOT_ACCEPTABLE-0014": {
138
138
  code: 400,
139
139
  type: "modal",
140
140
  message: "errors.ENROLLMENT-NOT_ACCEPTABLE-0014.message",
141
141
  title: "errors.ENROLLMENT-NOT_ACCEPTABLE-0014.title",
142
- level: "error"
142
+ level: "warning"
143
143
  },
144
144
  "ENROLLMENT-RESOURCENOTFOUND-0015": {
145
145
  code: 400,
146
146
  type: "modal",
147
147
  message: "errors.ENROLLMENT-RESOURCENOTFOUND-0015.message",
148
148
  title: "errors.ENROLLMENT-RESOURCENOTFOUND-0015.title",
149
- level: "error"
149
+ level: "warning"
150
150
  },
151
151
  "ENROLLMENT-BADREQUEST-0016": {
152
152
  code: 400,
153
153
  type: "modal",
154
154
  message: "errors.ENROLLMENT-BADREQUEST-0016.message",
155
155
  title: "errors.ENROLLMENT-BADREQUEST-0016.title",
156
- level: "error"
156
+ level: "warning"
157
157
  },
158
158
  "ENROLLMENT-METHODNOTIMPLEMENT-0017": {
159
159
  code: 400,
160
160
  type: "modal",
161
161
  message: "errors.ENROLLMENT-METHODNOTIMPLEMENT-0017.message",
162
162
  title: "errors.ENROLLMENT-METHODNOTIMPLEMENT-0017.title",
163
- level: "error"
163
+ level: "warning"
164
164
  },
165
165
  "ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018": {
166
166
  code: 400,
167
167
  type: "modal",
168
168
  message: "errors.ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018.message",
169
169
  title: "errors.ENROLLMENT-PRODUCTNOTFOUNDINSAPINVENTORY-0018.title",
170
- level: "error"
170
+ level: "warning"
171
171
  },
172
172
  "ENROLLMENT-PRODUCTKEYNOTFOUND-0019": {
173
173
  code: 400,
174
174
  type: "modal",
175
175
  message: "errors.ENROLLMENT-PRODUCTKEYNOTFOUND-0019.message",
176
176
  title: "errors.ENROLLMENT-PRODUCTKEYNOTFOUND-0019.title",
177
- level: "error"
177
+ level: "warning"
178
178
  },
179
179
  "ENROLLMENT-FAILEDTORETRIEVEIMEI-0020": {
180
180
  code: 400,
181
181
  type: "modal",
182
182
  message: "errors.ENROLLMENT-FAILEDTORETRIEVEIMEI-0020.message",
183
183
  title: "errors.ENROLLMENT-FAILEDTORETRIEVEIMEI-0020.title",
184
- level: "error"
184
+ level: "warning"
185
185
  },
186
186
  "ENROLLMENT-LOCKTYPENOTFOUND-0021": {
187
187
  code: 400,
188
188
  type: "modal",
189
189
  message: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0021.message",
190
190
  title: "errors.ENROLLMENT-LOCKTYPENOTFOUND-0021.title",
191
- level: "error"
191
+ level: "warning"
192
192
  },
193
193
  "ENROLLMENT-AUTH_HEADER_MISSING-0022": {
194
194
  code: 400,
195
195
  type: "modal",
196
196
  message: "errors.ENROLLMENT-AUTH_HEADER_MISSING-0022.message",
197
197
  title: "errors.ENROLLMENT-AUTH_HEADER_MISSING-0022.title",
198
- level: "error"
198
+ level: "warning"
199
199
  },
200
200
  "ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023": {
201
201
  code: 400,
202
202
  type: "modal",
203
203
  message: "errors.ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023.message",
204
204
  title: "errors.ENROLLMENT-AUTH_HEADER_INVALID_FORMAT-0023.title",
205
- level: "error"
205
+ level: "warning"
206
206
  },
207
207
  "ENROLLMENT-AUTH_TOKEN_MISSING-0024": {
208
208
  code: 400,
209
209
  type: "modal",
210
210
  message: "errors.ENROLLMENT-AUTH_TOKEN_MISSING-0024.message",
211
211
  title: "errors.ENROLLMENT-AUTH_TOKEN_MISSING-0024.title",
212
- level: "error"
212
+ level: "warning"
213
213
  },
214
214
  "ENROLLMENT-AUTH_TOKEN_INVALID-0025": {
215
215
  code: 400,
216
216
  type: "modal",
217
217
  message: "errors.ENROLLMENT-AUTH_TOKEN_INVALID-0025.message",
218
218
  title: "errors.ENROLLMENT-AUTH_TOKEN_INVALID-0025.title",
219
- level: "error"
219
+ level: "warning"
220
220
  },
221
221
  "ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026": {
222
222
  code: 400,
223
223
  type: "modal",
224
224
  message: "errors.ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026.message",
225
225
  title: "errors.ENROLLMENT-AUTH_UNSUPPORTED_MEDIA_TYPE-0026.title",
226
- level: "error"
226
+ level: "warning"
227
227
  },
228
228
  "ENROLLMENT-AUTH_UNKNOWN_ERROR-0027": {
229
229
  code: 400,
230
230
  type: "modal",
231
231
  message: "errors.ENROLLMENT-AUTH_UNKNOWN_ERROR-0027.message",
232
232
  title: "errors.ENROLLMENT-AUTH_UNKNOWN_ERROR-0027.title",
233
- level: "error"
233
+ level: "warning"
234
234
  },
235
235
  "ENROLLMENT-APISAPNOTAVAILABLE-0028": {
236
236
  code: 400,
237
237
  type: "modal",
238
238
  message: "errors.ENROLLMENT-APISAPNOTAVAILABLE-0028.message",
239
239
  title: "errors.ENROLLMENT-APISAPNOTAVAILABLE-0028.title",
240
- level: "error"
240
+ level: "warning"
241
241
  },
242
242
  "ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029": {
243
243
  code: 400,
244
244
  type: "modal",
245
245
  message: "errors.ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029.message",
246
246
  title: "errors.ENROLLMENT-APIAUTHSUPPLIERNOTAVAILABLE-0029.title",
247
- level: "error"
247
+ level: "warning"
248
248
  },
249
249
  "ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030": {
250
250
  code: 400,
251
251
  type: "modal",
252
252
  message: "errors.ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030.message",
253
253
  title: "errors.ENROLLMENT-APIAPISTATUSLOCKTYPEBYSUPPLIERNOTAVAILABLE-0030.title",
254
- level: "error"
254
+ level: "warning"
255
255
  },
256
256
  "ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
257
257
  code: 400,
258
258
  type: "modal",
259
259
  message: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.message",
260
260
  title: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.title",
261
- level: "error"
261
+ level: "warning"
262
262
  },
263
263
  "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
264
264
  code: 400,
265
265
  type: "modal",
266
266
  message: "errors.ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035.message",
267
267
  title: "errors.ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035.title",
268
- level: "error"
268
+ level: "warning"
269
269
  },
270
270
  "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
271
271
  code: 400,
272
272
  type: "modal",
273
273
  message: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036.message",
274
274
  title: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036.title",
275
- level: "error"
275
+ level: "warning"
276
276
  },
277
277
  "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
278
278
  code: 400,
279
279
  type: "modal",
280
280
  message: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.message",
281
281
  title: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.title",
282
- level: "error"
282
+ level: "warning"
283
283
  }
284
284
  }, I = {
285
285
  "MP-001": {
@@ -290,25 +290,25 @@ const G = {
290
290
  level: "info"
291
291
  },
292
292
  UNAUTHORIZED: {
293
- level: "error",
293
+ level: "warning",
294
294
  type: "modal",
295
295
  message: "errors.UnAuthorized.message",
296
296
  title: "errors.UnAuthorized.title",
297
297
  code: 310
298
298
  },
299
299
  "ERR-GENERAL-01": {
300
- level: "error",
300
+ level: "warning",
301
301
  type: "modal",
302
302
  message: "errors.ERR-GENERAL-01.message",
303
303
  title: "errors.ERR-GENERAL-01.title",
304
304
  code: 400
305
305
  },
306
306
  internalError: {
307
- level: "error",
307
+ level: "warning",
308
308
  type: "modal",
309
309
  message: "errors.internalError.message",
310
310
  title: "errors.internalError.title",
311
- code: 500
311
+ code: 420
312
312
  },
313
313
  default: {
314
314
  code: 420,
@@ -364,7 +364,7 @@ const G = {
364
364
  title: "errors.ERROR_LOCATION.title",
365
365
  message: "errors.ERROR_LOCATION.message",
366
366
  level: "warning",
367
- code: 420,
367
+ code: 310,
368
368
  type: "modal"
369
369
  },
370
370
  //Terms and conditions
@@ -705,13 +705,6 @@ const G = {
705
705
  type: "modal",
706
706
  level: "warning"
707
707
  },
708
- "CALCULATOR-GENERIC-001": {
709
- title: "errors.calculator.CALCULATOR-GENERIC-001.title",
710
- message: "errors.calculator.CALCULATOR-GENERIC-001.message",
711
- code: 420,
712
- type: "modal",
713
- level: "warning"
714
- },
715
708
  "CALCULATOR-BAD-REQUEST-26": {
716
709
  title: "errors.calculator.CALCULATOR-BAD-REQUEST-26.title",
717
710
  message: "errors.calculator.CALCULATOR-BAD-REQUEST-26.message",
@@ -952,7 +945,7 @@ const G = {
952
945
  message: "errors.PERSONALDATA-GENERIC-ERROR.message",
953
946
  code: 420,
954
947
  type: "modal",
955
- level: "error"
948
+ level: "warning"
956
949
  },
957
950
  "PERSONALDATA-ODATA-ERROR-01": {
958
951
  title: "errors.PERSONALDATA-ODATA-ERROR-01.title",
@@ -973,7 +966,7 @@ const G = {
973
966
  message: "errors.PERSONALDATA-CU-ERROR-01.message",
974
967
  code: 420,
975
968
  type: "modal",
976
- level: "error"
969
+ level: "warning"
977
970
  },
978
971
  "PERSONALDATA-INVALID-RFC-01": {
979
972
  title: "errors.PERSONALDATA-INVALID-RFC-01.title",
@@ -1061,30 +1054,45 @@ const G = {
1061
1054
  type: "modal",
1062
1055
  level: "warning"
1063
1056
  },
1064
- ...G
1057
+ //REPRINT
1058
+ "PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001": {
1059
+ title: "errors.PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001.title",
1060
+ message: "errors.PF-CANCEL-APPLICATIONS-INVALIDCATALOGUEIDEXCEPTION-001.message",
1061
+ code: 420,
1062
+ type: "modal",
1063
+ level: "warning"
1064
+ },
1065
+ "PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
1066
+ title: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.title",
1067
+ message: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.message",
1068
+ code: 420,
1069
+ type: "modal",
1070
+ level: "warning"
1071
+ },
1072
+ ...H
1065
1073
  };
1066
1074
  class C extends V {
1067
1075
  get(E = "default", e = "NOT_FOUND") {
1068
- var s, A;
1076
+ var s, l;
1069
1077
  if (E instanceof Error)
1070
1078
  return this.logError(E.message), {
1071
1079
  ...I.internalError,
1072
- title: g(I.internalError.title),
1073
- message: g(I.internalError.message),
1080
+ title: n(I.internalError.title),
1081
+ message: n(I.internalError.message),
1074
1082
  uuid: e
1075
1083
  };
1076
1084
  const r = typeof E == "string" ? E : E.code ?? E.errorType;
1077
1085
  this.logDebug("statusCode", r);
1078
- const l = typeof E == "string" ? {} : { ...E };
1086
+ const A = typeof E == "string" ? {} : { ...E };
1079
1087
  return {
1080
1088
  ...I[r] ?? I.default,
1081
- title: g(
1089
+ title: n(
1082
1090
  ((s = I[r]) == null ? void 0 : s.title) ?? I.default.title,
1083
- l
1091
+ A
1084
1092
  ),
1085
- message: g(
1086
- ((A = I[r]) == null ? void 0 : A.message) ?? I.default.message,
1087
- l
1093
+ message: n(
1094
+ ((l = I[r]) == null ? void 0 : l.message) ?? I.default.message,
1095
+ A
1088
1096
  ),
1089
1097
  uuid: e
1090
1098
  };
@@ -1104,42 +1112,42 @@ class Le extends F {
1104
1112
  throw new C().get("SESSION_NOT_FOUND");
1105
1113
  return this.session;
1106
1114
  }
1107
- returnData(e, r, l) {
1108
- const s = this.encode(r, l);
1115
+ returnData(e, r, A) {
1116
+ const s = this.encode(r, A);
1109
1117
  e.status(200).json(s);
1110
1118
  }
1111
1119
  returnError(e, r) {
1112
1120
  return r != null && r.uuid ? e.status(520).json(r) : e.status(520).json(new C().get(r, this.uuid));
1113
1121
  }
1114
1122
  get(e) {
1115
- return this.logDebug("get ApiMiddleware"), (r, l) => {
1123
+ return this.logDebug("get ApiMiddleware"), (r, A) => {
1116
1124
  var s;
1117
1125
  this.logDebug("return ApiMiddleware"), this.uuid = (s = r == null ? void 0 : r.body) == null ? void 0 : s.uuid, T(r).pipe(
1118
1126
  O(
1119
- (A) => B({
1120
- params: T(this.decode(A.body)),
1121
- headers: T(A.headers)
1127
+ (l) => B({
1128
+ params: T(this.decode(l.body)),
1129
+ headers: T(l.headers)
1122
1130
  })
1123
1131
  ),
1124
1132
  O(
1125
- ({ params: A, headers: a }) => B({
1126
- response: e(A, this.uuid, a),
1127
- headers: T(a),
1128
- params: T(A)
1133
+ ({ params: l, headers: o }) => B({
1134
+ response: e(l, this.uuid, o),
1135
+ headers: T(o),
1136
+ params: T(l)
1129
1137
  })
1130
1138
  ),
1131
- O(({ params: A, response: a, headers: o }) => (this.logDebug(
1132
- `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(o)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(A)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)}`
1133
- ), T(a))),
1134
- S((A) => {
1135
- var a;
1139
+ O(({ params: l, response: o, headers: a }) => (this.logDebug(
1140
+ `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(a)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(l)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(o)}`
1141
+ ), T(o))),
1142
+ U((l) => {
1143
+ var o;
1136
1144
  return this.logError(
1137
- `ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(a = r == null ? void 0 : r.body) == null ? void 0 : a.uuid} <PARAMS> ${JSON.stringify(r == null ? void 0 : r.body)} <ERROR>: ${JSON.stringify(A)}`
1138
- ), this.returnError(l, A), d;
1145
+ `ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(o = r == null ? void 0 : r.body) == null ? void 0 : o.uuid} <PARAMS> ${JSON.stringify(r == null ? void 0 : r.body)} <ERROR>: ${JSON.stringify(l)}`
1146
+ ), this.returnError(A, l), d;
1139
1147
  })
1140
1148
  ).subscribe({
1141
- next: (A) => {
1142
- this.logDebug("ApiMiddleware subscribe next", JSON.stringify(A)), this.returnData(l, A, this.uuid);
1149
+ next: (l) => {
1150
+ this.logDebug("ApiMiddleware subscribe next", JSON.stringify(l)), this.returnData(A, l, this.uuid);
1143
1151
  }
1144
1152
  });
1145
1153
  };
@@ -1147,8 +1155,8 @@ class Le extends F {
1147
1155
  }
1148
1156
  const _ = process.env.ID_FRONT ?? "NOT_AVAILABLE";
1149
1157
  class Oe extends h {
1150
- constructor(e, r, l = {}) {
1151
- super(l);
1158
+ constructor(e, r, A = {}) {
1159
+ super(A);
1152
1160
  L(this, "apiUrl");
1153
1161
  L(this, "method");
1154
1162
  this.apiUrl = e, this.method = r ?? "POST";
@@ -1169,19 +1177,19 @@ class Oe extends h {
1169
1177
  fetchData(e = {}, r) {
1170
1178
  return this.getHeaders().pipe(
1171
1179
  O(
1172
- (l) => n(
1180
+ (A) => D(
1173
1181
  this.apiUrl,
1174
1182
  {
1175
1183
  method: "POST",
1176
- headers: l,
1184
+ headers: A,
1177
1185
  body: this.formatParams(e),
1178
1186
  selector: (s) => s.json()
1179
1187
  }
1180
1188
  ).pipe(
1181
- S((s) => {
1189
+ U((s) => {
1182
1190
  throw this.logError(JSON.stringify(s)), this.logError(
1183
1191
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1184
- l
1192
+ A
1185
1193
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1186
1194
  this.formatParams(e)
1187
1195
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
@@ -1189,29 +1197,29 @@ class Oe extends h {
1189
1197
  }),
1190
1198
  O((s) => (this.logDebug(
1191
1199
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1192
- l
1200
+ A
1193
1201
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1194
1202
  this.formatParams(e)
1195
1203
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
1196
1204
  ), T(s)))
1197
1205
  )
1198
1206
  ),
1199
- w((l) => this.errorHandler(l, r))
1207
+ Q((A) => this.errorHandler(A, r))
1200
1208
  );
1201
1209
  }
1202
1210
  fetchCustomData(e = {}, r) {
1203
1211
  return this.getHeaders().pipe(
1204
1212
  O(
1205
- (l) => n(this.apiUrl, {
1213
+ (A) => D(this.apiUrl, {
1206
1214
  method: this.method,
1207
- headers: l,
1215
+ headers: A,
1208
1216
  body: this.method === "GET" ? null : JSON.stringify(e),
1209
1217
  selector: (s) => s.json()
1210
1218
  }).pipe(
1211
- S((s) => {
1219
+ U((s) => {
1212
1220
  throw this.logError(JSON.stringify(s)), this.logError(
1213
1221
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1214
- l
1222
+ A
1215
1223
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1216
1224
  this.formatParams(e)
1217
1225
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
@@ -1219,7 +1227,7 @@ class Oe extends h {
1219
1227
  }),
1220
1228
  O((s) => (this.logDebug(
1221
1229
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m \x1B[37m <METHOD>: \x1B[33m ${this.method} <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1222
- l
1230
+ A
1223
1231
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1224
1232
  e
1225
1233
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
@@ -1233,14 +1241,14 @@ const J = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-
1233
1241
  function K(t) {
1234
1242
  return typeof t == "string" && J.test(t);
1235
1243
  }
1236
- function $(t) {
1244
+ function X(t) {
1237
1245
  if (!K(t))
1238
1246
  throw TypeError("Invalid UUID");
1239
1247
  let E;
1240
1248
  const e = new Uint8Array(16);
1241
1249
  return e[0] = (E = parseInt(t.slice(0, 8), 16)) >>> 24, e[1] = E >>> 16 & 255, e[2] = E >>> 8 & 255, e[3] = E & 255, e[4] = (E = parseInt(t.slice(9, 13), 16)) >>> 8, e[5] = E & 255, e[6] = (E = parseInt(t.slice(14, 18), 16)) >>> 8, e[7] = E & 255, e[8] = (E = parseInt(t.slice(19, 23), 16)) >>> 8, e[9] = E & 255, e[10] = (E = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, e[11] = E / 4294967296 & 255, e[12] = E >>> 24 & 255, e[13] = E >>> 16 & 255, e[14] = E >>> 8 & 255, e[15] = E & 255, e;
1242
1250
  }
1243
- function X(t) {
1251
+ function $(t) {
1244
1252
  t = unescape(encodeURIComponent(t));
1245
1253
  const E = [];
1246
1254
  for (let e = 0; e < t.length; ++e)
@@ -1249,16 +1257,16 @@ function X(t) {
1249
1257
  }
1250
1258
  const b = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", W = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
1251
1259
  function j(t, E, e) {
1252
- function r(l, s, A, a) {
1253
- var o;
1254
- if (typeof l == "string" && (l = X(l)), typeof s == "string" && (s = $(s)), ((o = s) === null || o === void 0 ? void 0 : o.length) !== 16)
1260
+ function r(A, s, l, o) {
1261
+ var a;
1262
+ if (typeof A == "string" && (A = $(A)), typeof s == "string" && (s = X(s)), ((a = s) === null || a === void 0 ? void 0 : a.length) !== 16)
1255
1263
  throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
1256
- let N = new Uint8Array(16 + l.length);
1257
- if (N.set(s), N.set(l, s.length), N = e(N), N[6] = N[6] & 15 | E, N[8] = N[8] & 63 | 128, A) {
1258
- a = a || 0;
1264
+ let N = new Uint8Array(16 + A.length);
1265
+ if (N.set(s), N.set(A, s.length), N = e(N), N[6] = N[6] & 15 | E, N[8] = N[8] & 63 | 128, l) {
1266
+ o = o || 0;
1259
1267
  for (let i = 0; i < 16; ++i)
1260
- A[a + i] = N[i];
1261
- return A;
1268
+ l[o + i] = N[i];
1269
+ return l;
1262
1270
  }
1263
1271
  return Y(N);
1264
1272
  }
@@ -1280,45 +1288,45 @@ function Z(t, E, e, r) {
1280
1288
  return E ^ e ^ r;
1281
1289
  }
1282
1290
  }
1283
- function D(t, E) {
1291
+ function c(t, E) {
1284
1292
  return t << E | t >>> 32 - E;
1285
1293
  }
1286
1294
  function k(t) {
1287
1295
  const E = [1518500249, 1859775393, 2400959708, 3395469782], e = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
1288
1296
  if (typeof t == "string") {
1289
- const A = unescape(encodeURIComponent(t));
1297
+ const l = unescape(encodeURIComponent(t));
1290
1298
  t = [];
1291
- for (let a = 0; a < A.length; ++a)
1292
- t.push(A.charCodeAt(a));
1299
+ for (let o = 0; o < l.length; ++o)
1300
+ t.push(l.charCodeAt(o));
1293
1301
  } else
1294
1302
  Array.isArray(t) || (t = Array.prototype.slice.call(t));
1295
1303
  t.push(128);
1296
- const r = t.length / 4 + 2, l = Math.ceil(r / 16), s = new Array(l);
1297
- for (let A = 0; A < l; ++A) {
1298
- const a = new Uint32Array(16);
1299
- for (let o = 0; o < 16; ++o)
1300
- a[o] = t[A * 64 + o * 4] << 24 | t[A * 64 + o * 4 + 1] << 16 | t[A * 64 + o * 4 + 2] << 8 | t[A * 64 + o * 4 + 3];
1301
- s[A] = a;
1304
+ const r = t.length / 4 + 2, A = Math.ceil(r / 16), s = new Array(A);
1305
+ for (let l = 0; l < A; ++l) {
1306
+ const o = new Uint32Array(16);
1307
+ for (let a = 0; a < 16; ++a)
1308
+ o[a] = t[l * 64 + a * 4] << 24 | t[l * 64 + a * 4 + 1] << 16 | t[l * 64 + a * 4 + 2] << 8 | t[l * 64 + a * 4 + 3];
1309
+ s[l] = o;
1302
1310
  }
1303
- s[l - 1][14] = (t.length - 1) * 8 / Math.pow(2, 32), s[l - 1][14] = Math.floor(s[l - 1][14]), s[l - 1][15] = (t.length - 1) * 8 & 4294967295;
1304
- for (let A = 0; A < l; ++A) {
1305
- const a = new Uint32Array(80);
1311
+ s[A - 1][14] = (t.length - 1) * 8 / Math.pow(2, 32), s[A - 1][14] = Math.floor(s[A - 1][14]), s[A - 1][15] = (t.length - 1) * 8 & 4294967295;
1312
+ for (let l = 0; l < A; ++l) {
1313
+ const o = new Uint32Array(80);
1306
1314
  for (let R = 0; R < 16; ++R)
1307
- a[R] = s[A][R];
1315
+ o[R] = s[l][R];
1308
1316
  for (let R = 16; R < 80; ++R)
1309
- a[R] = D(a[R - 3] ^ a[R - 8] ^ a[R - 14] ^ a[R - 16], 1);
1310
- let o = e[0], N = e[1], i = e[2], m = e[3], c = e[4];
1317
+ o[R] = c(o[R - 3] ^ o[R - 8] ^ o[R - 14] ^ o[R - 16], 1);
1318
+ let a = e[0], N = e[1], i = e[2], m = e[3], S = e[4];
1311
1319
  for (let R = 0; R < 80; ++R) {
1312
- const P = Math.floor(R / 20), u = D(o, 5) + Z(P, N, i, m) + c + E[P] + a[R] >>> 0;
1313
- c = m, m = i, i = D(N, 30) >>> 0, N = o, o = u;
1320
+ const P = Math.floor(R / 20), u = c(a, 5) + Z(P, N, i, m) + S + E[P] + o[R] >>> 0;
1321
+ S = m, m = i, i = c(N, 30) >>> 0, N = a, a = u;
1314
1322
  }
1315
- e[0] = e[0] + o >>> 0, e[1] = e[1] + N >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + c >>> 0;
1323
+ e[0] = e[0] + a >>> 0, e[1] = e[1] + N >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + S >>> 0;
1316
1324
  }
1317
1325
  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];
1318
1326
  }
1319
1327
  const z = j("v5", 80, k), p = z;
1320
1328
  class ie extends x {
1321
- constructor(e, r = "POST", l = {}) {
1329
+ constructor(e, r = "POST", A = {}) {
1322
1330
  super();
1323
1331
  L(this, "apiUrl");
1324
1332
  L(this, "method");
@@ -1327,7 +1335,7 @@ class ie extends x {
1327
1335
  L(this, "errorResponse");
1328
1336
  this.apiUrl = e, this.method = r, this.headers = {
1329
1337
  "Content-Type": "application/json",
1330
- ...l
1338
+ ...A
1331
1339
  };
1332
1340
  }
1333
1341
  setIsLoadingEnabled(e) {
@@ -1337,26 +1345,26 @@ class ie extends x {
1337
1345
  this.errorResponse = e;
1338
1346
  }
1339
1347
  fetchData(e = {}) {
1340
- const r = (/* @__PURE__ */ new Date()).toISOString(), l = p(r, p.URL), s = this.encode({ ...e }, l);
1341
- U.getInstance().setSubject(this.isLoadingEnabled);
1342
- const a = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
1343
- return n(this.apiUrl, {
1348
+ const r = (/* @__PURE__ */ new Date()).toISOString(), A = p(r, p.URL), s = this.encode({ ...e }, A);
1349
+ g.getInstance().setSubject(this.isLoadingEnabled);
1350
+ const o = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
1351
+ return D(this.apiUrl, {
1344
1352
  method: this.method,
1345
- headers: { ...this.headers, flow: a },
1353
+ headers: { ...this.headers, flow: o },
1346
1354
  body: s,
1347
- selector: (o) => o.json()
1355
+ selector: (a) => a.json()
1348
1356
  }).pipe(
1349
- O((o) => T(this.decode(o))),
1350
- O((o) => o.code && (o.type === "modal" || o.type === "message") ? (this.logError(
1351
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
1352
- ), U.getInstance().setSubject(!1), M.getInstance().setSubject(o), this.errorResponse ? T(this.errorResponse) : d) : T(o)),
1353
- O((o) => (U.getInstance().setSubject(!1), this.logDebug(
1354
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
1355
- ), T(o))),
1356
- S((o) => (this.logError(
1357
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
1358
- ), U.getInstance().setSubject(!1), M.getInstance().setSubject(
1359
- new C().get(o, l)
1357
+ O((a) => T(this.decode(a))),
1358
+ O((a) => a.code && (a.type === "modal" || a.type === "message") ? (this.logError(
1359
+ `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(a)}`
1360
+ ), g.getInstance().setSubject(!1), M.getInstance().setSubject(a), this.errorResponse ? T(this.errorResponse) : d) : T(a)),
1361
+ O((a) => (g.getInstance().setSubject(!1), this.logDebug(
1362
+ `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(a)}`
1363
+ ), T(a))),
1364
+ U((a) => (this.logError(
1365
+ `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(a)}`
1366
+ ), g.getInstance().setSubject(!1), M.getInstance().setSubject(
1367
+ new C().get(a, A)
1360
1368
  ), this.errorResponse ? T(this.errorResponse) : d))
1361
1369
  );
1362
1370
  }
@@ -1366,8 +1374,8 @@ export {
1366
1374
  C as ErrorCatalog,
1367
1375
  Oe as FetchServiceBE,
1368
1376
  ie as FetchServiceFE,
1369
- U as LoadingHandler,
1377
+ g as LoadingHandler,
1370
1378
  M as MessageHandler,
1371
1379
  me as RxSubjectManager,
1372
- ge as ServiceToken
1380
+ ne as ServiceToken
1373
1381
  };
@@ -1,4 +1,4 @@
1
- import { t } from "./index-d7046911.js";
1
+ import { t } from "./index-87c5386c.js";
2
2
  const e = {
3
3
  errors: {}
4
4
  }, a = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.110",
3
+ "version": "0.0.112",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {