apacuana-sdk-core 1.26.5 → 1.26.7

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.
Files changed (33) hide show
  1. package/README.md +3 -1
  2. package/coverage/clover.xml +233 -229
  3. package/coverage/coverage-final.json +4 -4
  4. package/coverage/lcov-report/index.html +20 -20
  5. package/coverage/lcov-report/src/api/certs.js.html +1 -1
  6. package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
  7. package/coverage/lcov-report/src/api/index.html +15 -15
  8. package/coverage/lcov-report/src/api/revocations.js.html +1 -1
  9. package/coverage/lcov-report/src/api/signatures.js.html +31 -19
  10. package/coverage/lcov-report/src/api/users.js.html +1 -1
  11. package/coverage/lcov-report/src/config/index.html +1 -1
  12. package/coverage/lcov-report/src/config/index.js.html +1 -1
  13. package/coverage/lcov-report/src/errors/index.html +1 -1
  14. package/coverage/lcov-report/src/errors/index.js.html +8 -8
  15. package/coverage/lcov-report/src/index.html +1 -1
  16. package/coverage/lcov-report/src/index.js.html +1 -1
  17. package/coverage/lcov-report/src/success/index.html +1 -1
  18. package/coverage/lcov-report/src/success/index.js.html +5 -5
  19. package/coverage/lcov-report/src/utils/constant.js.html +1 -1
  20. package/coverage/lcov-report/src/utils/helpers.js.html +40 -7
  21. package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
  22. package/coverage/lcov-report/src/utils/index.html +12 -12
  23. package/coverage/lcov.info +427 -417
  24. package/dist/index.js +6 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +6 -0
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/types/signatures.d.ts +4 -0
  29. package/package.json +56 -56
  30. package/src/api/signatures.js +4 -0
  31. package/src/types/signatures.js +1 -0
  32. package/src/utils/helpers.js +11 -0
  33. package/tests/api/signatures.test.js +32 -0
package/README.md CHANGED
@@ -415,9 +415,10 @@ try {
415
415
 
416
416
  Obtiene una lista paginada de documentos asociados al usuario autenticado, permitiendo aplicar filtros avanzados.
417
417
 
418
- - `data`: Objeto con parámetros de paginación (`page`, `size`) y filtros opcionales (`status`). Puedes combinar estos filtros para obtener solo los documentos que cumplan con los criterios deseados.
418
+ - `data`: Objeto con parámetros de paginación (`page`, `size`) y filtros opcionales (`status`, `blocked`). Puedes combinar estos filtros para obtener solo los documentos que cumplan con los criterios deseados.
419
419
 
420
420
  - `filtros` : (`status`) 0 pendiente, 1 = completado/firmado, -1 rechazado
421
+ - `filtros` : (`blocked`) 0 = no bloqueados, 1 = bloqueados. Si se omite, retorna todos independientemente de su estado de bloqueo.
421
422
 
422
423
  **Ejemplo:**
423
424
 
@@ -427,6 +428,7 @@ try {
427
428
  page: 1,
428
429
  size: 10,
429
430
  status: 0, // Estado del documento
431
+ blocked: 0, // Solo documentos no bloqueados
430
432
  };
431
433
  const response = await apacuana.getDocs(params);
432
434
  console.log("Documentos filtrados:", response.data);
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1782222293592" clover="3.2.0">
3
- <project timestamp="1782222293592" name="All files">
4
- <metrics statements="663" coveredstatements="379" conditionals="490" coveredconditionals="174" methods="109" coveredmethods="58" elements="1262" coveredelements="611" complexity="0" loc="663" ncloc="663" packages="6" files="12" classes="12"/>
2
+ <coverage generated="1782237155709" clover="3.2.0">
3
+ <project timestamp="1782237155709" name="All files">
4
+ <metrics statements="667" coveredstatements="381" conditionals="496" coveredconditionals="177" methods="109" coveredmethods="58" elements="1272" coveredelements="616" complexity="0" loc="667" ncloc="667" packages="6" files="12" classes="12"/>
5
5
  <package name="src">
6
6
  <metrics statements="63" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="23" coveredmethods="1"/>
7
7
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/index.js">
@@ -72,7 +72,7 @@
72
72
  </file>
73
73
  </package>
74
74
  <package name="src.api">
75
- <metrics statements="381" coveredstatements="329" conditionals="228" coveredconditionals="167" methods="58" coveredmethods="55"/>
75
+ <metrics statements="383" coveredstatements="331" conditionals="230" coveredconditionals="170" methods="58" coveredmethods="55"/>
76
76
  <file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
77
77
  <metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
78
78
  <line num="25" count="2" type="stmt"/>
@@ -218,7 +218,7 @@
218
218
  <line num="104" count="0" type="stmt"/>
219
219
  </file>
220
220
  <file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
221
- <metrics statements="218" coveredstatements="194" conditionals="131" coveredconditionals="100" methods="33" coveredmethods="33"/>
221
+ <metrics statements="220" coveredstatements="196" conditionals="133" coveredconditionals="103" methods="33" coveredmethods="33"/>
222
222
  <line num="25" count="2" type="stmt"/>
223
223
  <line num="26" count="1" type="stmt"/>
224
224
  <line num="28" count="1" type="stmt"/>
@@ -256,187 +256,189 @@
256
256
  <line num="118" count="2" type="stmt"/>
257
257
  <line num="119" count="1" type="stmt"/>
258
258
  <line num="126" count="2" type="stmt"/>
259
- <line num="127" count="2" type="stmt"/>
260
- <line num="128" count="2" type="cond" truecount="2" falsecount="0"/>
259
+ <line num="127" count="3" type="stmt"/>
260
+ <line num="128" count="3" type="cond" truecount="2" falsecount="0"/>
261
261
  <line num="129" count="1" type="stmt"/>
262
- <line num="136" count="1" type="stmt"/>
263
- <line num="137" count="1" type="stmt"/>
264
- <line num="143" count="1" type="cond" truecount="1" falsecount="1"/>
262
+ <line num="136" count="2" type="stmt"/>
263
+ <line num="137" count="2" type="stmt"/>
264
+ <line num="143" count="2" type="cond" truecount="2" falsecount="0"/>
265
265
  <line num="144" count="1" type="stmt"/>
266
- <line num="147" count="1" type="stmt"/>
266
+ <line num="147" count="2" type="cond" truecount="2" falsecount="0"/>
267
267
  <line num="148" count="1" type="stmt"/>
268
- <line num="149" count="1" type="stmt"/>
269
- <line num="154" count="0" type="cond" truecount="0" falsecount="2"/>
270
- <line num="155" count="0" type="stmt"/>
271
- <line num="157" count="0" type="stmt"/>
272
- <line num="163" count="2" type="stmt"/>
273
- <line num="164" count="1" type="stmt"/>
274
- <line num="165" count="1" type="stmt"/>
275
- <line num="170" count="1" type="stmt"/>
276
- <line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
277
- <line num="173" count="0" type="stmt"/>
278
- <line num="175" count="0" type="stmt"/>
279
- <line num="181" count="2" type="stmt"/>
280
- <line num="182" count="1" type="stmt"/>
281
- <line num="189" count="2" type="stmt"/>
282
- <line num="190" count="1" type="stmt"/>
283
- <line num="191" count="1" type="stmt"/>
284
- <line num="192" count="1" type="stmt"/>
285
- <line num="197" count="1" type="stmt"/>
286
- <line num="199" count="0" type="cond" truecount="0" falsecount="2"/>
287
- <line num="200" count="0" type="stmt"/>
288
- <line num="202" count="0" type="stmt"/>
289
- <line num="208" count="2" type="stmt"/>
290
- <line num="209" count="1" type="stmt"/>
291
- <line num="216" count="2" type="stmt"/>
292
- <line num="217" count="1" type="stmt"/>
293
- <line num="218" count="1" type="stmt"/>
294
- <line num="223" count="1" type="stmt"/>
295
- <line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
296
- <line num="226" count="0" type="stmt"/>
297
- <line num="228" count="0" type="stmt"/>
298
- <line num="234" count="2" type="stmt"/>
299
- <line num="235" count="1" type="stmt"/>
300
- <line num="242" count="2" type="stmt"/>
301
- <line num="243" count="3" type="stmt"/>
302
- <line num="244" count="2" type="stmt"/>
303
- <line num="249" count="2" type="stmt"/>
304
- <line num="250" count="2" type="stmt"/>
305
- <line num="255" count="1" type="stmt"/>
306
- <line num="257" count="1" type="cond" truecount="1" falsecount="1"/>
307
- <line num="258" count="0" type="stmt"/>
308
- <line num="260" count="1" type="stmt"/>
309
- <line num="266" count="2" type="stmt"/>
310
- <line num="267" count="1" type="stmt"/>
311
- <line num="274" count="2" type="stmt"/>
312
- <line num="275" count="2" type="stmt"/>
313
- <line num="276" count="2" type="stmt"/>
314
- <line num="277" count="2" type="stmt"/>
268
+ <line num="151" count="2" type="stmt"/>
269
+ <line num="152" count="2" type="stmt"/>
270
+ <line num="153" count="2" type="stmt"/>
271
+ <line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
272
+ <line num="159" count="0" type="stmt"/>
273
+ <line num="161" count="0" type="stmt"/>
274
+ <line num="167" count="2" type="stmt"/>
275
+ <line num="168" count="1" type="stmt"/>
276
+ <line num="169" count="1" type="stmt"/>
277
+ <line num="174" count="1" type="stmt"/>
278
+ <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
279
+ <line num="177" count="0" type="stmt"/>
280
+ <line num="179" count="0" type="stmt"/>
281
+ <line num="185" count="2" type="stmt"/>
282
+ <line num="186" count="1" type="stmt"/>
283
+ <line num="193" count="2" type="stmt"/>
284
+ <line num="194" count="1" type="stmt"/>
285
+ <line num="195" count="1" type="stmt"/>
286
+ <line num="196" count="1" type="stmt"/>
287
+ <line num="201" count="1" type="stmt"/>
288
+ <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
289
+ <line num="204" count="0" type="stmt"/>
290
+ <line num="206" count="0" type="stmt"/>
291
+ <line num="212" count="2" type="stmt"/>
292
+ <line num="213" count="1" type="stmt"/>
293
+ <line num="220" count="2" type="stmt"/>
294
+ <line num="221" count="1" type="stmt"/>
295
+ <line num="222" count="1" type="stmt"/>
296
+ <line num="227" count="1" type="stmt"/>
297
+ <line num="229" count="0" type="cond" truecount="0" falsecount="2"/>
298
+ <line num="230" count="0" type="stmt"/>
299
+ <line num="232" count="0" type="stmt"/>
300
+ <line num="238" count="2" type="stmt"/>
301
+ <line num="239" count="1" type="stmt"/>
302
+ <line num="246" count="2" type="stmt"/>
303
+ <line num="247" count="3" type="stmt"/>
304
+ <line num="248" count="2" type="stmt"/>
305
+ <line num="253" count="2" type="stmt"/>
306
+ <line num="254" count="2" type="stmt"/>
307
+ <line num="259" count="1" type="stmt"/>
308
+ <line num="261" count="1" type="cond" truecount="1" falsecount="1"/>
309
+ <line num="262" count="0" type="stmt"/>
310
+ <line num="264" count="1" type="stmt"/>
311
+ <line num="270" count="2" type="stmt"/>
312
+ <line num="271" count="1" type="stmt"/>
315
313
  <line num="278" count="2" type="stmt"/>
316
314
  <line num="279" count="2" type="stmt"/>
317
- <line num="285" count="1" type="stmt"/>
318
- <line num="290" count="1" type="cond" truecount="1" falsecount="1"/>
319
- <line num="291" count="0" type="stmt"/>
320
- <line num="293" count="1" type="stmt"/>
321
- <line num="299" count="2" type="stmt"/>
322
- <line num="300" count="1" type="stmt"/>
323
- <line num="307" count="2" type="stmt"/>
324
- <line num="308" count="2" type="stmt"/>
325
- <line num="309" count="2" type="stmt"/>
326
- <line num="315" count="1" type="stmt"/>
327
- <line num="317" count="1" type="cond" truecount="1" falsecount="1"/>
328
- <line num="318" count="0" type="stmt"/>
329
- <line num="320" count="1" type="stmt"/>
330
- <line num="326" count="2" type="stmt"/>
331
- <line num="327" count="1" type="stmt"/>
332
- <line num="334" count="2" type="stmt"/>
333
- <line num="335" count="2" type="stmt"/>
334
- <line num="336" count="2" type="stmt"/>
335
- <line num="345" count="1" type="stmt"/>
336
- <line num="347" count="1" type="cond" truecount="1" falsecount="1"/>
337
- <line num="348" count="0" type="stmt"/>
338
- <line num="350" count="1" type="stmt"/>
339
- <line num="356" count="2" type="stmt"/>
340
- <line num="357" count="1" type="stmt"/>
341
- <line num="375" count="2" type="stmt"/>
342
- <line num="376" count="3" type="stmt"/>
343
- <line num="378" count="3" type="cond" truecount="2" falsecount="0"/>
344
- <line num="379" count="1" type="stmt"/>
345
- <line num="382" count="2" type="cond" truecount="2" falsecount="0"/>
315
+ <line num="280" count="2" type="stmt"/>
316
+ <line num="281" count="2" type="stmt"/>
317
+ <line num="282" count="2" type="stmt"/>
318
+ <line num="283" count="2" type="stmt"/>
319
+ <line num="289" count="1" type="stmt"/>
320
+ <line num="294" count="1" type="cond" truecount="1" falsecount="1"/>
321
+ <line num="295" count="0" type="stmt"/>
322
+ <line num="297" count="1" type="stmt"/>
323
+ <line num="303" count="2" type="stmt"/>
324
+ <line num="304" count="1" type="stmt"/>
325
+ <line num="311" count="2" type="stmt"/>
326
+ <line num="312" count="2" type="stmt"/>
327
+ <line num="313" count="2" type="stmt"/>
328
+ <line num="319" count="1" type="stmt"/>
329
+ <line num="321" count="1" type="cond" truecount="1" falsecount="1"/>
330
+ <line num="322" count="0" type="stmt"/>
331
+ <line num="324" count="1" type="stmt"/>
332
+ <line num="330" count="2" type="stmt"/>
333
+ <line num="331" count="1" type="stmt"/>
334
+ <line num="338" count="2" type="stmt"/>
335
+ <line num="339" count="2" type="stmt"/>
336
+ <line num="340" count="2" type="stmt"/>
337
+ <line num="349" count="1" type="stmt"/>
338
+ <line num="351" count="1" type="cond" truecount="1" falsecount="1"/>
339
+ <line num="352" count="0" type="stmt"/>
340
+ <line num="354" count="1" type="stmt"/>
341
+ <line num="360" count="2" type="stmt"/>
342
+ <line num="361" count="1" type="stmt"/>
343
+ <line num="379" count="2" type="stmt"/>
344
+ <line num="380" count="3" type="stmt"/>
345
+ <line num="382" count="3" type="cond" truecount="2" falsecount="0"/>
346
346
  <line num="383" count="1" type="stmt"/>
347
- <line num="386" count="1" type="stmt"/>
348
- <line num="399" count="2" type="stmt"/>
349
- <line num="400" count="4" type="stmt"/>
350
- <line num="402" count="4" type="stmt"/>
351
- <line num="404" count="4" type="cond" truecount="2" falsecount="0"/>
352
- <line num="405" count="2" type="stmt"/>
353
- <line num="408" count="2" type="cond" truecount="2" falsecount="0"/>
354
- <line num="409" count="1" type="stmt"/>
355
- <line num="412" count="1" type="stmt"/>
356
- <line num="425" count="2" type="stmt"/>
357
- <line num="426" count="4" type="cond" truecount="2" falsecount="0"/>
358
- <line num="431" count="1" type="stmt"/>
359
- <line num="437" count="3" type="stmt"/>
360
- <line num="439" count="3" type="cond" truecount="2" falsecount="0"/>
361
- <line num="440" count="1" type="stmt"/>
362
- <line num="443" count="2" type="cond" truecount="2" falsecount="0"/>
347
+ <line num="386" count="2" type="cond" truecount="2" falsecount="0"/>
348
+ <line num="387" count="1" type="stmt"/>
349
+ <line num="390" count="1" type="stmt"/>
350
+ <line num="403" count="2" type="stmt"/>
351
+ <line num="404" count="4" type="stmt"/>
352
+ <line num="406" count="4" type="stmt"/>
353
+ <line num="408" count="4" type="cond" truecount="2" falsecount="0"/>
354
+ <line num="409" count="2" type="stmt"/>
355
+ <line num="412" count="2" type="cond" truecount="2" falsecount="0"/>
356
+ <line num="413" count="1" type="stmt"/>
357
+ <line num="416" count="1" type="stmt"/>
358
+ <line num="429" count="2" type="stmt"/>
359
+ <line num="430" count="4" type="cond" truecount="2" falsecount="0"/>
360
+ <line num="435" count="1" type="stmt"/>
361
+ <line num="441" count="3" type="stmt"/>
362
+ <line num="443" count="3" type="cond" truecount="2" falsecount="0"/>
363
363
  <line num="444" count="1" type="stmt"/>
364
- <line num="447" count="1" type="stmt"/>
365
- <line num="460" count="2" type="stmt"/>
366
- <line num="461" count="5" type="stmt"/>
367
- <line num="463" count="3" type="stmt"/>
368
- <line num="465" count="3" type="cond" truecount="2" falsecount="0"/>
369
- <line num="466" count="2" type="stmt"/>
370
- <line num="469" count="1" type="cond" truecount="1" falsecount="1"/>
371
- <line num="470" count="1" type="stmt"/>
372
- <line num="473" count="0" type="stmt"/>
373
- <line num="487" count="2" type="stmt"/>
374
- <line num="488" count="7" type="cond" truecount="4" falsecount="0"/>
375
- <line num="489" count="2" type="stmt"/>
376
- <line num="496" count="5" type="cond" truecount="4" falsecount="0"/>
377
- <line num="497" count="1" type="stmt"/>
378
- <line num="504" count="4" type="cond" truecount="2" falsecount="0"/>
379
- <line num="505" count="1" type="stmt"/>
380
- <line num="512" count="3" type="stmt"/>
381
- <line num="514" count="3" type="cond" truecount="2" falsecount="0"/>
382
- <line num="515" count="1" type="stmt"/>
383
- <line num="518" count="2" type="cond" truecount="2" falsecount="0"/>
364
+ <line num="447" count="2" type="cond" truecount="2" falsecount="0"/>
365
+ <line num="448" count="1" type="stmt"/>
366
+ <line num="451" count="1" type="stmt"/>
367
+ <line num="464" count="2" type="stmt"/>
368
+ <line num="465" count="7" type="stmt"/>
369
+ <line num="467" count="4" type="stmt"/>
370
+ <line num="469" count="4" type="cond" truecount="2" falsecount="0"/>
371
+ <line num="470" count="3" type="stmt"/>
372
+ <line num="473" count="1" type="cond" truecount="1" falsecount="1"/>
373
+ <line num="474" count="1" type="stmt"/>
374
+ <line num="477" count="0" type="stmt"/>
375
+ <line num="491" count="2" type="stmt"/>
376
+ <line num="492" count="7" type="cond" truecount="4" falsecount="0"/>
377
+ <line num="493" count="2" type="stmt"/>
378
+ <line num="500" count="5" type="cond" truecount="4" falsecount="0"/>
379
+ <line num="501" count="1" type="stmt"/>
380
+ <line num="508" count="4" type="cond" truecount="2" falsecount="0"/>
381
+ <line num="509" count="1" type="stmt"/>
382
+ <line num="516" count="3" type="stmt"/>
383
+ <line num="518" count="3" type="cond" truecount="2" falsecount="0"/>
384
384
  <line num="519" count="1" type="stmt"/>
385
- <line num="522" count="1" type="stmt"/>
386
- <line num="534" count="2" type="stmt"/>
387
- <line num="535" count="3" type="stmt"/>
388
- <line num="537" count="3" type="cond" truecount="2" falsecount="0"/>
389
- <line num="538" count="1" type="stmt"/>
390
- <line num="541" count="2" type="cond" truecount="2" falsecount="0"/>
385
+ <line num="522" count="2" type="cond" truecount="2" falsecount="0"/>
386
+ <line num="523" count="1" type="stmt"/>
387
+ <line num="526" count="1" type="stmt"/>
388
+ <line num="538" count="2" type="stmt"/>
389
+ <line num="539" count="3" type="stmt"/>
390
+ <line num="541" count="3" type="cond" truecount="2" falsecount="0"/>
391
391
  <line num="542" count="1" type="stmt"/>
392
- <line num="545" count="1" type="stmt"/>
393
- <line num="557" count="2" type="stmt"/>
394
- <line num="558" count="3" type="stmt"/>
395
- <line num="560" count="3" type="cond" truecount="2" falsecount="0"/>
396
- <line num="561" count="1" type="stmt"/>
397
- <line num="564" count="2" type="cond" truecount="2" falsecount="0"/>
392
+ <line num="545" count="2" type="cond" truecount="2" falsecount="0"/>
393
+ <line num="546" count="1" type="stmt"/>
394
+ <line num="549" count="1" type="stmt"/>
395
+ <line num="561" count="2" type="stmt"/>
396
+ <line num="562" count="3" type="stmt"/>
397
+ <line num="564" count="3" type="cond" truecount="2" falsecount="0"/>
398
398
  <line num="565" count="1" type="stmt"/>
399
- <line num="568" count="1" type="stmt"/>
400
- <line num="581" count="2" type="stmt"/>
401
- <line num="582" count="5" type="stmt"/>
402
- <line num="584" count="5" type="cond" truecount="2" falsecount="0"/>
403
- <line num="585" count="3" type="stmt"/>
404
- <line num="588" count="2" type="cond" truecount="2" falsecount="0"/>
405
- <line num="589" count="1" type="stmt"/>
406
- <line num="592" count="1" type="stmt"/>
407
- <line num="607" count="2" type="stmt"/>
408
- <line num="608" count="6" type="cond" truecount="2" falsecount="0"/>
409
- <line num="613" count="1" type="stmt"/>
410
- <line num="620" count="5" type="cond" truecount="4" falsecount="0"/>
411
- <line num="621" count="1" type="stmt"/>
412
- <line num="628" count="4" type="stmt"/>
413
- <line num="630" count="4" type="cond" truecount="2" falsecount="0"/>
414
- <line num="631" count="2" type="stmt"/>
415
- <line num="634" count="2" type="cond" truecount="2" falsecount="0"/>
416
- <line num="635" count="1" type="stmt"/>
417
- <line num="638" count="1" type="stmt"/>
418
- <line num="651" count="2" type="stmt"/>
419
- <line num="652" count="6" type="cond" truecount="4" falsecount="0"/>
420
- <line num="653" count="2" type="stmt"/>
421
- <line num="660" count="4" type="stmt"/>
422
- <line num="662" count="4" type="cond" truecount="2" falsecount="0"/>
423
- <line num="663" count="2" type="stmt"/>
424
- <line num="666" count="2" type="cond" truecount="2" falsecount="0"/>
425
- <line num="667" count="1" type="stmt"/>
426
- <line num="670" count="1" type="stmt"/>
427
- <line num="685" count="2" type="stmt"/>
428
- <line num="686" count="10" type="cond" truecount="5" falsecount="0"/>
429
- <line num="687" count="2" type="stmt"/>
430
- <line num="694" count="8" type="cond" truecount="4" falsecount="0"/>
431
- <line num="695" count="2" type="stmt"/>
432
- <line num="702" count="6" type="cond" truecount="4" falsecount="0"/>
433
- <line num="703" count="2" type="stmt"/>
434
- <line num="710" count="4" type="stmt"/>
435
- <line num="712" count="4" type="cond" truecount="2" falsecount="0"/>
436
- <line num="713" count="2" type="stmt"/>
437
- <line num="716" count="2" type="cond" truecount="2" falsecount="0"/>
438
- <line num="717" count="1" type="stmt"/>
439
- <line num="720" count="1" type="stmt"/>
399
+ <line num="568" count="2" type="cond" truecount="2" falsecount="0"/>
400
+ <line num="569" count="1" type="stmt"/>
401
+ <line num="572" count="1" type="stmt"/>
402
+ <line num="585" count="2" type="stmt"/>
403
+ <line num="586" count="5" type="stmt"/>
404
+ <line num="588" count="5" type="cond" truecount="2" falsecount="0"/>
405
+ <line num="589" count="3" type="stmt"/>
406
+ <line num="592" count="2" type="cond" truecount="2" falsecount="0"/>
407
+ <line num="593" count="1" type="stmt"/>
408
+ <line num="596" count="1" type="stmt"/>
409
+ <line num="611" count="2" type="stmt"/>
410
+ <line num="612" count="6" type="cond" truecount="2" falsecount="0"/>
411
+ <line num="617" count="1" type="stmt"/>
412
+ <line num="624" count="5" type="cond" truecount="4" falsecount="0"/>
413
+ <line num="625" count="1" type="stmt"/>
414
+ <line num="632" count="4" type="stmt"/>
415
+ <line num="634" count="4" type="cond" truecount="2" falsecount="0"/>
416
+ <line num="635" count="2" type="stmt"/>
417
+ <line num="638" count="2" type="cond" truecount="2" falsecount="0"/>
418
+ <line num="639" count="1" type="stmt"/>
419
+ <line num="642" count="1" type="stmt"/>
420
+ <line num="655" count="2" type="stmt"/>
421
+ <line num="656" count="6" type="cond" truecount="4" falsecount="0"/>
422
+ <line num="657" count="2" type="stmt"/>
423
+ <line num="664" count="4" type="stmt"/>
424
+ <line num="666" count="4" type="cond" truecount="2" falsecount="0"/>
425
+ <line num="667" count="2" type="stmt"/>
426
+ <line num="670" count="2" type="cond" truecount="2" falsecount="0"/>
427
+ <line num="671" count="1" type="stmt"/>
428
+ <line num="674" count="1" type="stmt"/>
429
+ <line num="689" count="2" type="stmt"/>
430
+ <line num="690" count="10" type="cond" truecount="5" falsecount="0"/>
431
+ <line num="691" count="2" type="stmt"/>
432
+ <line num="698" count="8" type="cond" truecount="4" falsecount="0"/>
433
+ <line num="699" count="2" type="stmt"/>
434
+ <line num="706" count="6" type="cond" truecount="4" falsecount="0"/>
435
+ <line num="707" count="2" type="stmt"/>
436
+ <line num="714" count="4" type="stmt"/>
437
+ <line num="716" count="4" type="cond" truecount="2" falsecount="0"/>
438
+ <line num="717" count="2" type="stmt"/>
439
+ <line num="720" count="2" type="cond" truecount="2" falsecount="0"/>
440
+ <line num="721" count="1" type="stmt"/>
441
+ <line num="724" count="1" type="stmt"/>
440
442
  </file>
441
443
  <file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
442
444
  <metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
@@ -492,27 +494,27 @@
492
494
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
493
495
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
494
496
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
495
- <line num="8" count="120" type="stmt"/>
496
- <line num="9" count="120" type="stmt"/>
497
- <line num="10" count="120" type="stmt"/>
498
- <line num="11" count="120" type="stmt"/>
499
- <line num="12" count="120" type="stmt"/>
500
- <line num="15" count="120" type="cond" truecount="1" falsecount="1"/>
501
- <line num="16" count="120" type="stmt"/>
497
+ <line num="8" count="121" type="stmt"/>
498
+ <line num="9" count="121" type="stmt"/>
499
+ <line num="10" count="121" type="stmt"/>
500
+ <line num="11" count="121" type="stmt"/>
501
+ <line num="12" count="121" type="stmt"/>
502
+ <line num="15" count="121" type="cond" truecount="1" falsecount="1"/>
503
+ <line num="16" count="121" type="stmt"/>
502
504
  </file>
503
505
  </package>
504
506
  <package name="src.success">
505
507
  <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
506
508
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
507
509
  <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
508
- <line num="3" count="22" type="stmt"/>
509
- <line num="4" count="22" type="stmt"/>
510
- <line num="5" count="22" type="stmt"/>
511
- <line num="6" count="22" type="stmt"/>
510
+ <line num="3" count="23" type="stmt"/>
511
+ <line num="4" count="23" type="stmt"/>
512
+ <line num="5" count="23" type="stmt"/>
513
+ <line num="6" count="23" type="stmt"/>
512
514
  </file>
513
515
  </package>
514
516
  <package name="src.utils">
515
- <metrics statements="196" coveredstatements="19" conditionals="233" coveredconditionals="0" methods="23" coveredmethods="0"/>
517
+ <metrics statements="198" coveredstatements="19" conditionals="237" coveredconditionals="0" methods="23" coveredmethods="0"/>
516
518
  <file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
517
519
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
518
520
  <line num="1" count="9" type="stmt"/>
@@ -521,7 +523,7 @@
521
523
  <line num="56" count="9" type="stmt"/>
522
524
  </file>
523
525
  <file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
524
- <metrics statements="138" coveredstatements="12" conditionals="181" coveredconditionals="0" methods="16" coveredmethods="0"/>
526
+ <metrics statements="140" coveredstatements="12" conditionals="185" coveredconditionals="0" methods="16" coveredmethods="0"/>
525
527
  <line num="11" count="2" type="stmt"/>
526
528
  <line num="13" count="2" type="stmt"/>
527
529
  <line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -614,52 +616,54 @@
614
616
  <line num="288" count="0" type="stmt"/>
615
617
  <line num="295" count="0" type="cond" truecount="0" falsecount="2"/>
616
618
  <line num="299" count="0" type="stmt"/>
617
- <line num="307" count="2" type="stmt"/>
618
- <line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
619
- <line num="315" count="0" type="stmt"/>
620
- <line num="323" count="2" type="stmt"/>
621
- <line num="324" count="0" type="cond" truecount="0" falsecount="4"/>
622
- <line num="325" count="0" type="stmt"/>
623
- <line num="332" count="0" type="stmt"/>
624
- <line num="334" count="0" type="cond" truecount="0" falsecount="5"/>
625
- <line num="335" count="0" type="stmt"/>
626
- <line num="342" count="0" type="cond" truecount="0" falsecount="2"/>
619
+ <line num="306" count="0" type="cond" truecount="0" falsecount="2"/>
620
+ <line num="310" count="0" type="stmt"/>
621
+ <line num="318" count="2" type="stmt"/>
622
+ <line num="319" count="0" type="cond" truecount="0" falsecount="2"/>
623
+ <line num="326" count="0" type="stmt"/>
624
+ <line num="334" count="2" type="stmt"/>
625
+ <line num="335" count="0" type="cond" truecount="0" falsecount="4"/>
626
+ <line num="336" count="0" type="stmt"/>
627
627
  <line num="343" count="0" type="stmt"/>
628
- <line num="350" count="0" type="cond" truecount="0" falsecount="4"/>
629
- <line num="351" count="0" type="stmt"/>
630
- <line num="358" count="0" type="cond" truecount="0" falsecount="4"/>
631
- <line num="359" count="0" type="stmt"/>
632
- <line num="366" count="0" type="stmt"/>
633
- <line num="367" count="0" type="stmt"/>
628
+ <line num="345" count="0" type="cond" truecount="0" falsecount="5"/>
629
+ <line num="346" count="0" type="stmt"/>
630
+ <line num="353" count="0" type="cond" truecount="0" falsecount="2"/>
631
+ <line num="354" count="0" type="stmt"/>
632
+ <line num="361" count="0" type="cond" truecount="0" falsecount="4"/>
633
+ <line num="362" count="0" type="stmt"/>
634
+ <line num="369" count="0" type="cond" truecount="0" falsecount="4"/>
634
635
  <line num="370" count="0" type="stmt"/>
636
+ <line num="377" count="0" type="stmt"/>
635
637
  <line num="378" count="0" type="stmt"/>
636
- <line num="379" count="0" type="stmt"/>
637
- <line num="380" count="0" type="stmt"/>
638
- <line num="382" count="0" type="cond" truecount="0" falsecount="5"/>
639
- <line num="384" count="0" type="cond" truecount="0" falsecount="5"/>
640
- <line num="385" count="0" type="stmt"/>
641
- <line num="388" count="0" type="stmt"/>
642
- <line num="391" count="2" type="stmt"/>
643
- <line num="392" count="0" type="stmt"/>
644
- <line num="393" count="0" type="stmt"/>
645
- <line num="394" count="0" type="stmt"/>
646
- <line num="395" count="0" type="stmt"/>
638
+ <line num="381" count="0" type="stmt"/>
639
+ <line num="389" count="0" type="stmt"/>
640
+ <line num="390" count="0" type="stmt"/>
641
+ <line num="391" count="0" type="stmt"/>
642
+ <line num="393" count="0" type="cond" truecount="0" falsecount="5"/>
643
+ <line num="395" count="0" type="cond" truecount="0" falsecount="5"/>
647
644
  <line num="396" count="0" type="stmt"/>
648
- <line num="398" count="0" type="stmt"/>
649
645
  <line num="399" count="0" type="stmt"/>
650
- <line num="402" count="0" type="stmt"/>
646
+ <line num="402" count="2" type="stmt"/>
651
647
  <line num="403" count="0" type="stmt"/>
652
- <line num="406" count="2" type="stmt"/>
653
- <line num="407" count="0" type="cond" truecount="0" falsecount="4"/>
654
- <line num="408" count="0" type="stmt"/>
655
- <line num="415" count="0" type="cond" truecount="0" falsecount="4"/>
656
- <line num="416" count="0" type="stmt"/>
657
- <line num="423" count="0" type="stmt"/>
658
- <line num="424" count="0" type="cond" truecount="0" falsecount="4"/>
659
- <line num="425" count="0" type="stmt"/>
660
- <line num="432" count="0" type="cond" truecount="0" falsecount="4"/>
661
- <line num="433" count="0" type="stmt"/>
662
- <line num="440" count="0" type="stmt"/>
648
+ <line num="404" count="0" type="stmt"/>
649
+ <line num="405" count="0" type="stmt"/>
650
+ <line num="406" count="0" type="stmt"/>
651
+ <line num="407" count="0" type="stmt"/>
652
+ <line num="409" count="0" type="stmt"/>
653
+ <line num="410" count="0" type="stmt"/>
654
+ <line num="413" count="0" type="stmt"/>
655
+ <line num="414" count="0" type="stmt"/>
656
+ <line num="417" count="2" type="stmt"/>
657
+ <line num="418" count="0" type="cond" truecount="0" falsecount="4"/>
658
+ <line num="419" count="0" type="stmt"/>
659
+ <line num="426" count="0" type="cond" truecount="0" falsecount="4"/>
660
+ <line num="427" count="0" type="stmt"/>
661
+ <line num="434" count="0" type="stmt"/>
662
+ <line num="435" count="0" type="cond" truecount="0" falsecount="4"/>
663
+ <line num="436" count="0" type="stmt"/>
664
+ <line num="443" count="0" type="cond" truecount="0" falsecount="4"/>
665
+ <line num="444" count="0" type="stmt"/>
666
+ <line num="451" count="0" type="stmt"/>
663
667
  </file>
664
668
  <file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
665
669
  <metrics statements="54" coveredstatements="3" conditionals="52" coveredconditionals="0" methods="7" coveredmethods="0"/>