apacuana-sdk-core 1.26.4 → 1.26.6

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 (38) hide show
  1. package/.env +3 -2
  2. package/README.md +34 -1
  3. package/coverage/clover.xml +295 -267
  4. package/coverage/coverage-final.json +5 -5
  5. package/coverage/lcov-report/index.html +33 -33
  6. package/coverage/lcov-report/src/api/certs.js.html +1 -1
  7. package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
  8. package/coverage/lcov-report/src/api/index.html +18 -18
  9. package/coverage/lcov-report/src/api/revocations.js.html +1 -1
  10. package/coverage/lcov-report/src/api/signatures.js.html +275 -20
  11. package/coverage/lcov-report/src/api/users.js.html +1 -1
  12. package/coverage/lcov-report/src/config/index.html +1 -1
  13. package/coverage/lcov-report/src/config/index.js.html +1 -1
  14. package/coverage/lcov-report/src/errors/index.html +1 -1
  15. package/coverage/lcov-report/src/errors/index.js.html +8 -8
  16. package/coverage/lcov-report/src/index.html +15 -15
  17. package/coverage/lcov-report/src/index.js.html +23 -8
  18. package/coverage/lcov-report/src/success/index.html +1 -1
  19. package/coverage/lcov-report/src/success/index.js.html +5 -5
  20. package/coverage/lcov-report/src/utils/constant.js.html +1 -1
  21. package/coverage/lcov-report/src/utils/helpers.js.html +40 -7
  22. package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
  23. package/coverage/lcov-report/src/utils/index.html +12 -12
  24. package/coverage/lcov.info +564 -501
  25. package/dist/api/signatures.d.ts +2 -0
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +234 -115
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +234 -115
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/types/signatures.d.ts +17 -0
  32. package/package.json +1 -1
  33. package/src/api/signatures.js +85 -0
  34. package/src/index.js +5 -0
  35. package/src/types/signatures.js +8 -0
  36. package/src/utils/helpers.js +11 -0
  37. package/tests/api/signatures.test.js +148 -0
  38. package/tests/integration/deleteSignature.test.js +96 -0
@@ -1,76 +1,78 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1781728108971" clover="3.2.0">
3
- <project timestamp="1781728108971" name="All files">
4
- <metrics statements="639" coveredstatements="358" conditionals="469" coveredconditionals="155" methods="105" coveredmethods="55" elements="1213" coveredelements="568" complexity="0" loc="639" ncloc="639" packages="6" files="12" classes="12"/>
2
+ <coverage generated="1782234721347" clover="3.2.0">
3
+ <project timestamp="1782234721347" 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
- <metrics statements="61" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="22" coveredmethods="1"/>
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">
8
- <metrics statements="61" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="22" coveredmethods="1"/>
9
- <line num="32" count="1" type="cond" truecount="0" falsecount="1"/>
10
- <line num="33" count="0" type="stmt"/>
11
- <line num="35" count="0" type="cond" truecount="0" falsecount="4"/>
12
- <line num="36" count="0" type="stmt"/>
13
- <line num="43" count="0" type="cond" truecount="0" falsecount="4"/>
14
- <line num="44" count="0" type="stmt"/>
15
- <line num="52" count="1" type="stmt"/>
16
- <line num="57" count="4" type="stmt"/>
8
+ <metrics statements="63" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="23" coveredmethods="1"/>
9
+ <line num="33" count="1" type="cond" truecount="0" falsecount="1"/>
10
+ <line num="34" count="0" type="stmt"/>
11
+ <line num="36" count="0" type="cond" truecount="0" falsecount="4"/>
12
+ <line num="37" count="0" type="stmt"/>
13
+ <line num="44" count="0" type="cond" truecount="0" falsecount="4"/>
14
+ <line num="45" count="0" type="stmt"/>
15
+ <line num="53" count="1" type="stmt"/>
17
16
  <line num="58" count="4" type="stmt"/>
18
- <line num="59" count="3" type="stmt"/>
17
+ <line num="59" count="4" type="stmt"/>
19
18
  <line num="60" count="3" type="stmt"/>
20
- <line num="62" count="3" type="cond" truecount="1" falsecount="1"/>
21
- <line num="63" count="3" type="stmt"/>
22
- <line num="64" count="2" type="stmt"/>
19
+ <line num="61" count="3" type="stmt"/>
20
+ <line num="63" count="3" type="cond" truecount="1" falsecount="1"/>
21
+ <line num="64" count="3" type="stmt"/>
23
22
  <line num="65" count="2" type="stmt"/>
24
23
  <line num="66" count="2" type="stmt"/>
25
24
  <line num="67" count="2" type="stmt"/>
26
- <line num="73" count="0" type="stmt"/>
27
- <line num="78" count="2" type="stmt"/>
28
- <line num="79" count="2" type="cond" truecount="1" falsecount="1"/>
29
- <line num="80" count="0" type="stmt"/>
30
- <line num="82" count="2" type="stmt"/>
31
- <line num="92" count="0" type="stmt"/>
25
+ <line num="68" count="2" type="stmt"/>
26
+ <line num="74" count="0" type="stmt"/>
27
+ <line num="79" count="2" type="stmt"/>
28
+ <line num="80" count="2" type="cond" truecount="1" falsecount="1"/>
29
+ <line num="81" count="0" type="stmt"/>
30
+ <line num="83" count="2" type="stmt"/>
32
31
  <line num="93" count="0" type="stmt"/>
33
- <line num="96" count="0" type="stmt"/>
32
+ <line num="94" count="0" type="stmt"/>
34
33
  <line num="97" count="0" type="stmt"/>
35
- <line num="102" count="0" type="stmt"/>
34
+ <line num="98" count="0" type="stmt"/>
36
35
  <line num="103" count="0" type="stmt"/>
37
- <line num="106" count="0" type="stmt"/>
36
+ <line num="104" count="0" type="stmt"/>
38
37
  <line num="107" count="0" type="stmt"/>
39
- <line num="110" count="0" type="stmt"/>
38
+ <line num="108" count="0" type="stmt"/>
40
39
  <line num="111" count="0" type="stmt"/>
41
- <line num="114" count="0" type="stmt"/>
40
+ <line num="112" count="0" type="stmt"/>
42
41
  <line num="115" count="0" type="stmt"/>
43
- <line num="120" count="0" type="stmt"/>
42
+ <line num="116" count="0" type="stmt"/>
44
43
  <line num="121" count="0" type="stmt"/>
45
- <line num="124" count="0" type="stmt"/>
44
+ <line num="122" count="0" type="stmt"/>
46
45
  <line num="125" count="0" type="stmt"/>
47
- <line num="128" count="0" type="stmt"/>
46
+ <line num="126" count="0" type="stmt"/>
48
47
  <line num="129" count="0" type="stmt"/>
49
- <line num="132" count="0" type="stmt"/>
48
+ <line num="130" count="0" type="stmt"/>
50
49
  <line num="133" count="0" type="stmt"/>
51
- <line num="136" count="0" type="stmt"/>
50
+ <line num="134" count="0" type="stmt"/>
52
51
  <line num="137" count="0" type="stmt"/>
53
- <line num="140" count="0" type="stmt"/>
52
+ <line num="138" count="0" type="stmt"/>
54
53
  <line num="141" count="0" type="stmt"/>
55
- <line num="144" count="0" type="stmt"/>
54
+ <line num="142" count="0" type="stmt"/>
56
55
  <line num="145" count="0" type="stmt"/>
57
- <line num="148" count="0" type="stmt"/>
56
+ <line num="146" count="0" type="stmt"/>
58
57
  <line num="149" count="0" type="stmt"/>
58
+ <line num="150" count="0" type="stmt"/>
59
59
  <line num="153" count="0" type="stmt"/>
60
60
  <line num="154" count="0" type="stmt"/>
61
61
  <line num="158" count="0" type="stmt"/>
62
62
  <line num="159" count="0" type="stmt"/>
63
- <line num="162" count="0" type="stmt"/>
64
63
  <line num="163" count="0" type="stmt"/>
64
+ <line num="164" count="0" type="stmt"/>
65
65
  <line num="167" count="0" type="stmt"/>
66
66
  <line num="168" count="0" type="stmt"/>
67
- <line num="171" count="0" type="stmt"/>
68
67
  <line num="172" count="0" type="stmt"/>
69
- <line num="175" count="0" type="stmt"/>
68
+ <line num="173" count="0" type="stmt"/>
69
+ <line num="176" count="0" type="stmt"/>
70
+ <line num="177" count="0" type="stmt"/>
71
+ <line num="180" count="0" type="stmt"/>
70
72
  </file>
71
73
  </package>
72
74
  <package name="src.api">
73
- <metrics statements="359" coveredstatements="308" conditionals="207" coveredconditionals="148" methods="55" coveredmethods="52"/>
75
+ <metrics statements="383" coveredstatements="331" conditionals="230" coveredconditionals="170" methods="58" coveredmethods="55"/>
74
76
  <file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
75
77
  <metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
76
78
  <line num="25" count="2" type="stmt"/>
@@ -216,203 +218,227 @@
216
218
  <line num="104" count="0" type="stmt"/>
217
219
  </file>
218
220
  <file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
219
- <metrics statements="196" coveredstatements="173" conditionals="110" coveredconditionals="81" methods="30" coveredmethods="30"/>
220
- <line num="24" count="2" type="stmt"/>
221
- <line num="25" count="1" type="stmt"/>
222
- <line num="27" count="1" type="stmt"/>
221
+ <metrics statements="220" coveredstatements="196" conditionals="133" coveredconditionals="103" methods="33" coveredmethods="33"/>
222
+ <line num="25" count="2" type="stmt"/>
223
+ <line num="26" count="1" type="stmt"/>
223
224
  <line num="28" count="1" type="stmt"/>
224
225
  <line num="29" count="1" type="stmt"/>
225
- <line num="34" count="1" type="stmt"/>
226
- <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
227
- <line num="37" count="0" type="stmt"/>
228
- <line num="39" count="0" type="stmt"/>
229
- <line num="45" count="2" type="stmt"/>
230
- <line num="46" count="1" type="stmt"/>
231
- <line num="53" count="2" type="stmt"/>
226
+ <line num="30" count="1" type="stmt"/>
227
+ <line num="35" count="1" type="stmt"/>
228
+ <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
229
+ <line num="38" count="0" type="stmt"/>
230
+ <line num="40" count="0" type="stmt"/>
231
+ <line num="46" count="2" type="stmt"/>
232
+ <line num="47" count="1" type="stmt"/>
232
233
  <line num="54" count="2" type="stmt"/>
233
234
  <line num="55" count="2" type="stmt"/>
234
235
  <line num="56" count="2" type="stmt"/>
235
- <line num="61" count="2" type="cond" truecount="2" falsecount="0"/>
236
+ <line num="57" count="2" type="stmt"/>
236
237
  <line num="62" count="2" type="cond" truecount="2" falsecount="0"/>
237
- <line num="63" count="1" type="stmt"/>
238
- <line num="70" count="1" type="stmt"/>
239
- <line num="72" count="1" type="cond" truecount="1" falsecount="1"/>
240
- <line num="73" count="1" type="stmt"/>
241
- <line num="75" count="0" type="stmt"/>
242
- <line num="81" count="2" type="stmt"/>
243
- <line num="82" count="1" type="stmt"/>
244
- <line num="89" count="2" type="stmt"/>
245
- <line num="90" count="1" type="stmt"/>
238
+ <line num="63" count="2" type="cond" truecount="2" falsecount="0"/>
239
+ <line num="64" count="1" type="stmt"/>
240
+ <line num="71" count="1" type="stmt"/>
241
+ <line num="73" count="1" type="cond" truecount="1" falsecount="1"/>
242
+ <line num="74" count="1" type="stmt"/>
243
+ <line num="76" count="0" type="stmt"/>
244
+ <line num="82" count="2" type="stmt"/>
245
+ <line num="83" count="1" type="stmt"/>
246
+ <line num="90" count="2" type="stmt"/>
246
247
  <line num="91" count="1" type="stmt"/>
247
248
  <line num="92" count="1" type="stmt"/>
248
- <line num="97" count="1" type="stmt"/>
249
- <line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
250
- <line num="103" count="0" type="stmt"/>
251
- <line num="105" count="0" type="stmt"/>
252
- <line num="109" count="2" type="stmt"/>
253
- <line num="110" count="1" type="stmt"/>
254
- <line num="117" count="2" type="stmt"/>
255
- <line num="118" count="1" type="stmt"/>
256
- <line num="125" count="2" type="stmt"/>
249
+ <line num="93" count="1" type="stmt"/>
250
+ <line num="98" count="1" type="stmt"/>
251
+ <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
252
+ <line num="104" count="0" type="stmt"/>
253
+ <line num="106" count="0" type="stmt"/>
254
+ <line num="110" count="2" type="stmt"/>
255
+ <line num="111" count="1" type="stmt"/>
256
+ <line num="118" count="2" type="stmt"/>
257
+ <line num="119" count="1" type="stmt"/>
257
258
  <line num="126" count="2" type="stmt"/>
258
- <line num="127" count="2" type="cond" truecount="2" falsecount="0"/>
259
- <line num="128" count="1" type="stmt"/>
260
- <line num="135" count="1" type="stmt"/>
261
- <line num="136" count="1" type="stmt"/>
262
- <line num="142" count="1" type="cond" truecount="1" falsecount="1"/>
263
- <line num="143" count="1" type="stmt"/>
264
- <line num="146" count="1" type="stmt"/>
265
- <line num="147" count="1" type="stmt"/>
259
+ <line num="127" count="3" type="stmt"/>
260
+ <line num="128" count="3" type="cond" truecount="2" falsecount="0"/>
261
+ <line num="129" count="1" type="stmt"/>
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
+ <line num="144" count="1" type="stmt"/>
266
+ <line num="147" count="2" type="cond" truecount="2" falsecount="0"/>
266
267
  <line num="148" count="1" type="stmt"/>
267
- <line num="153" count="0" type="cond" truecount="0" falsecount="2"/>
268
- <line num="154" count="0" type="stmt"/>
269
- <line num="156" count="0" type="stmt"/>
270
- <line num="162" count="2" type="stmt"/>
271
- <line num="163" count="1" type="stmt"/>
272
- <line num="164" count="1" 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"/>
273
276
  <line num="169" count="1" type="stmt"/>
274
- <line num="171" count="0" type="cond" truecount="0" falsecount="2"/>
275
- <line num="172" count="0" type="stmt"/>
276
- <line num="174" count="0" type="stmt"/>
277
- <line num="180" count="2" type="stmt"/>
278
- <line num="181" count="1" type="stmt"/>
279
- <line num="188" count="2" type="stmt"/>
280
- <line num="189" count="1" type="stmt"/>
281
- <line num="190" count="1" type="stmt"/>
282
- <line num="191" 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"/>
283
286
  <line num="196" count="1" type="stmt"/>
284
- <line num="198" count="0" type="cond" truecount="0" falsecount="2"/>
285
- <line num="199" count="0" type="stmt"/>
286
- <line num="201" count="0" type="stmt"/>
287
- <line num="207" count="2" type="stmt"/>
288
- <line num="208" count="1" type="stmt"/>
289
- <line num="215" count="2" type="stmt"/>
290
- <line num="216" count="1" type="stmt"/>
291
- <line num="217" 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"/>
292
295
  <line num="222" count="1" type="stmt"/>
293
- <line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
294
- <line num="225" count="0" type="stmt"/>
295
- <line num="227" count="0" type="stmt"/>
296
- <line num="233" count="2" type="stmt"/>
297
- <line num="234" count="1" type="stmt"/>
298
- <line num="241" count="2" type="stmt"/>
299
- <line num="242" count="3" type="stmt"/>
300
- <line num="243" count="2" 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"/>
301
304
  <line num="248" count="2" type="stmt"/>
302
- <line num="249" count="2" type="stmt"/>
303
- <line num="254" count="1" type="stmt"/>
304
- <line num="256" count="1" type="cond" truecount="1" falsecount="1"/>
305
- <line num="257" count="0" type="stmt"/>
305
+ <line num="253" count="2" type="stmt"/>
306
+ <line num="254" count="2" type="stmt"/>
306
307
  <line num="259" count="1" type="stmt"/>
307
- <line num="265" count="2" type="stmt"/>
308
- <line num="266" count="1" type="stmt"/>
309
- <line num="273" count="2" type="stmt"/>
310
- <line num="274" count="2" type="stmt"/>
311
- <line num="275" count="2" type="stmt"/>
312
- <line num="276" count="2" type="stmt"/>
313
- <line num="277" count="2" 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"/>
314
313
  <line num="278" count="2" type="stmt"/>
315
- <line num="284" count="1" type="stmt"/>
316
- <line num="289" count="1" type="cond" truecount="1" falsecount="1"/>
317
- <line num="290" count="0" type="stmt"/>
318
- <line num="292" count="1" type="stmt"/>
319
- <line num="298" count="2" type="stmt"/>
320
- <line num="299" count="1" type="stmt"/>
321
- <line num="306" count="2" type="stmt"/>
322
- <line num="307" count="2" type="stmt"/>
323
- <line num="308" count="2" type="stmt"/>
324
- <line num="314" count="1" type="stmt"/>
325
- <line num="316" count="1" type="cond" truecount="1" falsecount="1"/>
326
- <line num="317" count="0" type="stmt"/>
314
+ <line num="279" count="2" type="stmt"/>
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"/>
327
328
  <line num="319" count="1" type="stmt"/>
328
- <line num="325" count="2" type="stmt"/>
329
- <line num="326" count="1" type="stmt"/>
330
- <line num="344" count="2" type="stmt"/>
331
- <line num="345" count="3" type="stmt"/>
332
- <line num="347" count="3" type="cond" truecount="2" falsecount="0"/>
333
- <line num="348" count="1" type="stmt"/>
334
- <line num="351" count="2" type="cond" truecount="2" falsecount="0"/>
335
- <line num="352" count="1" type="stmt"/>
336
- <line num="355" count="1" type="stmt"/>
337
- <line num="368" count="2" type="stmt"/>
338
- <line num="369" count="4" type="stmt"/>
339
- <line num="371" count="4" type="stmt"/>
340
- <line num="373" count="4" type="cond" truecount="2" falsecount="0"/>
341
- <line num="374" count="2" type="stmt"/>
342
- <line num="377" count="2" type="cond" truecount="2" falsecount="0"/>
343
- <line num="378" count="1" type="stmt"/>
344
- <line num="381" count="1" type="stmt"/>
345
- <line num="394" count="2" type="stmt"/>
346
- <line num="395" count="4" type="cond" truecount="2" falsecount="0"/>
347
- <line num="400" count="1" type="stmt"/>
348
- <line num="406" count="3" type="stmt"/>
349
- <line num="408" count="3" type="cond" truecount="2" falsecount="0"/>
350
- <line num="409" 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
+ <line num="383" count="1" type="stmt"/>
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"/>
351
355
  <line num="412" count="2" type="cond" truecount="2" falsecount="0"/>
352
356
  <line num="413" count="1" type="stmt"/>
353
357
  <line num="416" count="1" type="stmt"/>
354
358
  <line num="429" count="2" type="stmt"/>
355
- <line num="430" count="5" type="stmt"/>
356
- <line num="432" count="3" type="stmt"/>
357
- <line num="434" count="3" type="cond" truecount="2" falsecount="0"/>
358
- <line num="435" count="2" type="stmt"/>
359
- <line num="438" count="1" type="cond" truecount="1" falsecount="1"/>
360
- <line num="439" count="1" type="stmt"/>
361
- <line num="442" count="0" type="stmt"/>
362
- <line num="456" count="2" type="stmt"/>
363
- <line num="457" count="7" type="cond" truecount="4" falsecount="0"/>
364
- <line num="458" count="2" type="stmt"/>
365
- <line num="465" count="5" type="cond" truecount="4" falsecount="0"/>
366
- <line num="466" count="1" type="stmt"/>
367
- <line num="473" count="4" type="cond" truecount="2" falsecount="0"/>
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
+ <line num="444" count="1" type="stmt"/>
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"/>
368
373
  <line num="474" count="1" type="stmt"/>
369
- <line num="481" count="3" type="stmt"/>
370
- <line num="483" count="3" type="cond" truecount="2" falsecount="0"/>
371
- <line num="484" count="1" type="stmt"/>
372
- <line num="487" count="2" type="cond" truecount="2" falsecount="0"/>
373
- <line num="488" count="1" type="stmt"/>
374
- <line num="491" count="1" type="stmt"/>
375
- <line num="503" count="2" type="stmt"/>
376
- <line num="504" count="3" type="stmt"/>
377
- <line num="506" count="3" type="cond" truecount="2" falsecount="0"/>
378
- <line num="507" count="1" type="stmt"/>
379
- <line num="510" count="2" type="cond" truecount="2" falsecount="0"/>
380
- <line num="511" count="1" type="stmt"/>
381
- <line num="514" count="1" type="stmt"/>
382
- <line num="526" count="2" type="stmt"/>
383
- <line num="527" count="3" type="stmt"/>
384
- <line num="529" count="3" type="cond" truecount="2" falsecount="0"/>
385
- <line num="530" count="1" type="stmt"/>
386
- <line num="533" count="2" type="cond" truecount="2" falsecount="0"/>
387
- <line num="534" count="1" type="stmt"/>
388
- <line num="537" count="1" type="stmt"/>
389
- <line num="550" count="2" type="stmt"/>
390
- <line num="551" count="5" type="stmt"/>
391
- <line num="553" count="5" type="cond" truecount="2" falsecount="0"/>
392
- <line num="554" count="3" type="stmt"/>
393
- <line num="557" count="2" type="cond" truecount="2" falsecount="0"/>
394
- <line num="558" count="1" type="stmt"/>
395
- <line num="561" count="1" type="stmt"/>
396
- <line num="576" count="2" type="stmt"/>
397
- <line num="577" count="6" type="cond" truecount="2" falsecount="0"/>
398
- <line num="582" count="1" type="stmt"/>
399
- <line num="589" count="5" type="cond" truecount="4" falsecount="0"/>
400
- <line num="590" count="1" type="stmt"/>
401
- <line num="597" count="4" type="stmt"/>
402
- <line num="599" count="4" type="cond" truecount="2" falsecount="0"/>
403
- <line num="600" count="2" type="stmt"/>
404
- <line num="603" count="2" type="cond" truecount="2" falsecount="0"/>
405
- <line num="604" count="1" type="stmt"/>
406
- <line num="607" count="1" type="stmt"/>
407
- <line num="620" count="2" type="stmt"/>
408
- <line num="621" count="6" type="cond" truecount="4" falsecount="0"/>
409
- <line num="622" count="2" type="stmt"/>
410
- <line num="629" count="4" type="stmt"/>
411
- <line num="631" count="4" type="cond" truecount="2" falsecount="0"/>
412
- <line num="632" count="2" type="stmt"/>
413
- <line num="635" count="2" type="cond" truecount="2" falsecount="0"/>
414
- <line num="636" 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
+ <line num="519" count="1" type="stmt"/>
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
+ <line num="542" count="1" type="stmt"/>
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
+ <line num="565" 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"/>
415
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"/>
416
442
  </file>
417
443
  <file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
418
444
  <metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
@@ -468,27 +494,27 @@
468
494
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
469
495
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
470
496
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
471
- <line num="8" count="102" type="stmt"/>
472
- <line num="9" count="102" type="stmt"/>
473
- <line num="10" count="102" type="stmt"/>
474
- <line num="11" count="102" type="stmt"/>
475
- <line num="12" count="102" type="stmt"/>
476
- <line num="15" count="102" type="cond" truecount="1" falsecount="1"/>
477
- <line num="16" count="102" 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"/>
478
504
  </file>
479
505
  </package>
480
506
  <package name="src.success">
481
507
  <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
482
508
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
483
509
  <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
484
- <line num="3" count="21" type="stmt"/>
485
- <line num="4" count="21" type="stmt"/>
486
- <line num="5" count="21" type="stmt"/>
487
- <line num="6" count="21" 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"/>
488
514
  </file>
489
515
  </package>
490
516
  <package name="src.utils">
491
- <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"/>
492
518
  <file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
493
519
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
494
520
  <line num="1" count="9" type="stmt"/>
@@ -497,7 +523,7 @@
497
523
  <line num="56" count="9" type="stmt"/>
498
524
  </file>
499
525
  <file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
500
- <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"/>
501
527
  <line num="11" count="2" type="stmt"/>
502
528
  <line num="13" count="2" type="stmt"/>
503
529
  <line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -590,52 +616,54 @@
590
616
  <line num="288" count="0" type="stmt"/>
591
617
  <line num="295" count="0" type="cond" truecount="0" falsecount="2"/>
592
618
  <line num="299" count="0" type="stmt"/>
593
- <line num="307" count="2" type="stmt"/>
594
- <line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
595
- <line num="315" count="0" type="stmt"/>
596
- <line num="323" count="2" type="stmt"/>
597
- <line num="324" count="0" type="cond" truecount="0" falsecount="4"/>
598
- <line num="325" count="0" type="stmt"/>
599
- <line num="332" count="0" type="stmt"/>
600
- <line num="334" count="0" type="cond" truecount="0" falsecount="5"/>
601
- <line num="335" count="0" type="stmt"/>
602
- <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"/>
603
627
  <line num="343" count="0" type="stmt"/>
604
- <line num="350" count="0" type="cond" truecount="0" falsecount="4"/>
605
- <line num="351" count="0" type="stmt"/>
606
- <line num="358" count="0" type="cond" truecount="0" falsecount="4"/>
607
- <line num="359" count="0" type="stmt"/>
608
- <line num="366" count="0" type="stmt"/>
609
- <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"/>
610
635
  <line num="370" count="0" type="stmt"/>
636
+ <line num="377" count="0" type="stmt"/>
611
637
  <line num="378" count="0" type="stmt"/>
612
- <line num="379" count="0" type="stmt"/>
613
- <line num="380" count="0" type="stmt"/>
614
- <line num="382" count="0" type="cond" truecount="0" falsecount="5"/>
615
- <line num="384" count="0" type="cond" truecount="0" falsecount="5"/>
616
- <line num="385" count="0" type="stmt"/>
617
- <line num="388" count="0" type="stmt"/>
618
- <line num="391" count="2" type="stmt"/>
619
- <line num="392" count="0" type="stmt"/>
620
- <line num="393" count="0" type="stmt"/>
621
- <line num="394" count="0" type="stmt"/>
622
- <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"/>
623
644
  <line num="396" count="0" type="stmt"/>
624
- <line num="398" count="0" type="stmt"/>
625
645
  <line num="399" count="0" type="stmt"/>
626
- <line num="402" count="0" type="stmt"/>
646
+ <line num="402" count="2" type="stmt"/>
627
647
  <line num="403" count="0" type="stmt"/>
628
- <line num="406" count="2" type="stmt"/>
629
- <line num="407" count="0" type="cond" truecount="0" falsecount="4"/>
630
- <line num="408" count="0" type="stmt"/>
631
- <line num="415" count="0" type="cond" truecount="0" falsecount="4"/>
632
- <line num="416" count="0" type="stmt"/>
633
- <line num="423" count="0" type="stmt"/>
634
- <line num="424" count="0" type="cond" truecount="0" falsecount="4"/>
635
- <line num="425" count="0" type="stmt"/>
636
- <line num="432" count="0" type="cond" truecount="0" falsecount="4"/>
637
- <line num="433" count="0" type="stmt"/>
638
- <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"/>
639
667
  </file>
640
668
  <file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
641
669
  <metrics statements="54" coveredstatements="3" conditionals="52" coveredconditionals="0" methods="7" coveredmethods="0"/>