apacuana-sdk-core 1.26.3 → 1.26.5

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 (40) hide show
  1. package/.env +3 -2
  2. package/README.md +31 -0
  3. package/coverage/clover.xml +272 -246
  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 +17 -17
  9. package/coverage/lcov-report/src/api/revocations.js.html +1 -1
  10. package/coverage/lcov-report/src/api/signatures.js.html +260 -11
  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 +1 -1
  22. package/coverage/lcov-report/src/utils/httpClient.js.html +51 -9
  23. package/coverage/lcov-report/src/utils/index.html +12 -12
  24. package/coverage/lcov.info +494 -436
  25. package/dist/api/signatures.d.ts +2 -0
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +245 -119
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +245 -119
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/types/signatures.d.ts +13 -0
  32. package/dist/utils/httpClient.d.ts +3 -1
  33. package/package.json +1 -1
  34. package/src/api/signatures.js +85 -2
  35. package/src/index.js +5 -0
  36. package/src/types/signatures.js +7 -0
  37. package/src/utils/httpClient.js +16 -2
  38. package/tests/api/signatures.test.js +120 -2
  39. package/tests/integration/createAndLockDocument.test.js +3 -2
  40. package/tests/integration/deleteSignature.test.js +96 -0
@@ -1,76 +1,78 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1781723684073" clover="3.2.0">
3
- <project timestamp="1781723684073" name="All files">
4
- <metrics statements="637" coveredstatements="358" conditionals="466" coveredconditionals="155" methods="105" coveredmethods="55" elements="1208" coveredelements="568" complexity="0" loc="637" ncloc="637" packages="6" files="12" classes="12"/>
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"/>
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="381" coveredstatements="329" conditionals="228" coveredconditionals="167" 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,225 @@
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="218" coveredstatements="194" conditionals="131" coveredconditionals="100" 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"/>
259
+ <line num="127" count="2" type="stmt"/>
260
+ <line num="128" count="2" type="cond" truecount="2" falsecount="0"/>
261
+ <line num="129" count="1" type="stmt"/>
261
262
  <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"/>
263
+ <line num="137" count="1" type="stmt"/>
264
+ <line num="143" count="1" type="cond" truecount="1" falsecount="1"/>
265
+ <line num="144" count="1" type="stmt"/>
265
266
  <line num="147" count="1" type="stmt"/>
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"/>
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"/>
272
273
  <line num="164" count="1" type="stmt"/>
273
- <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"/>
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"/>
281
282
  <line num="190" count="1" type="stmt"/>
282
283
  <line num="191" count="1" type="stmt"/>
283
- <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"/>
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"/>
291
292
  <line num="217" count="1" type="stmt"/>
292
- <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"/>
301
- <line num="248" count="2" 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"/>
302
303
  <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"/>
306
- <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"/>
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"/>
310
311
  <line num="274" count="2" type="stmt"/>
311
312
  <line num="275" count="2" type="stmt"/>
312
313
  <line num="276" count="2" type="stmt"/>
313
314
  <line num="277" count="2" type="stmt"/>
314
315
  <line num="278" count="2" type="stmt"/>
315
- <line num="283" count="1" type="stmt"/>
316
- <line num="288" count="1" type="cond" truecount="1" falsecount="1"/>
317
- <line num="289" count="0" type="stmt"/>
318
- <line num="291" count="1" type="stmt"/>
319
- <line num="297" count="2" type="stmt"/>
320
- <line num="298" count="1" type="stmt"/>
321
- <line num="305" count="2" type="stmt"/>
322
- <line num="306" count="2" type="stmt"/>
316
+ <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
323
  <line num="307" count="2" type="stmt"/>
324
- <line num="312" count="1" type="stmt"/>
325
- <line num="314" count="1" type="cond" truecount="1" falsecount="1"/>
326
- <line num="315" count="0" type="stmt"/>
327
- <line num="317" count="1" type="stmt"/>
328
- <line num="323" count="2" type="stmt"/>
329
- <line num="324" count="1" type="stmt"/>
330
- <line num="342" count="2" type="stmt"/>
331
- <line num="343" count="3" type="stmt"/>
332
- <line num="345" count="3" type="cond" truecount="2" falsecount="0"/>
333
- <line num="346" count="1" type="stmt"/>
334
- <line num="349" count="2" type="cond" truecount="2" falsecount="0"/>
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"/>
335
338
  <line num="350" count="1" type="stmt"/>
336
- <line num="353" count="1" type="stmt"/>
337
- <line num="366" count="2" type="stmt"/>
338
- <line num="367" count="4" type="stmt"/>
339
- <line num="369" count="4" type="stmt"/>
340
- <line num="371" count="4" type="cond" truecount="2" falsecount="0"/>
341
- <line num="372" count="2" type="stmt"/>
342
- <line num="375" count="2" type="cond" truecount="2" falsecount="0"/>
343
- <line num="376" 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
344
  <line num="379" count="1" type="stmt"/>
345
- <line num="392" count="2" type="stmt"/>
346
- <line num="393" count="4" type="cond" truecount="2" falsecount="0"/>
347
- <line num="398" count="1" type="stmt"/>
348
- <line num="404" count="3" type="stmt"/>
349
- <line num="406" count="3" type="cond" truecount="2" falsecount="0"/>
350
- <line num="407" count="1" type="stmt"/>
351
- <line num="410" count="2" type="cond" truecount="2" falsecount="0"/>
352
- <line num="411" count="1" type="stmt"/>
353
- <line num="414" count="1" type="stmt"/>
354
- <line num="427" count="2" type="stmt"/>
355
- <line num="428" count="5" type="stmt"/>
356
- <line num="430" count="3" type="stmt"/>
357
- <line num="432" count="3" type="cond" truecount="2" falsecount="0"/>
358
- <line num="433" count="2" type="stmt"/>
359
- <line num="436" count="1" type="cond" truecount="1" falsecount="1"/>
360
- <line num="437" count="1" type="stmt"/>
361
- <line num="440" count="0" type="stmt"/>
362
- <line num="454" count="2" type="stmt"/>
363
- <line num="455" count="7" type="cond" truecount="4" falsecount="0"/>
364
- <line num="456" count="2" type="stmt"/>
365
- <line num="463" count="5" type="cond" truecount="4" falsecount="0"/>
366
- <line num="464" count="1" type="stmt"/>
367
- <line num="471" count="4" type="cond" truecount="2" falsecount="0"/>
368
- <line num="472" count="1" type="stmt"/>
369
- <line num="479" count="3" type="stmt"/>
370
- <line num="481" count="3" type="cond" truecount="2" falsecount="0"/>
371
- <line num="482" count="1" type="stmt"/>
372
- <line num="485" count="2" type="cond" truecount="2" falsecount="0"/>
373
- <line num="486" count="1" type="stmt"/>
374
- <line num="489" count="1" type="stmt"/>
375
- <line num="501" count="2" type="stmt"/>
376
- <line num="502" count="3" type="stmt"/>
377
- <line num="504" count="3" type="cond" truecount="2" falsecount="0"/>
345
+ <line num="382" count="2" type="cond" truecount="2" falsecount="0"/>
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"/>
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"/>
378
379
  <line num="505" count="1" type="stmt"/>
379
- <line num="508" count="2" type="cond" truecount="2" falsecount="0"/>
380
- <line num="509" count="1" type="stmt"/>
381
- <line num="512" count="1" type="stmt"/>
382
- <line num="524" count="2" type="stmt"/>
383
- <line num="525" count="3" type="stmt"/>
384
- <line num="527" count="3" type="cond" truecount="2" falsecount="0"/>
385
- <line num="528" count="1" type="stmt"/>
386
- <line num="531" count="2" type="cond" truecount="2" falsecount="0"/>
387
- <line num="532" count="1" type="stmt"/>
388
- <line num="535" count="1" type="stmt"/>
389
- <line num="548" count="2" type="stmt"/>
390
- <line num="549" count="5" type="stmt"/>
391
- <line num="551" count="5" type="cond" truecount="2" falsecount="0"/>
392
- <line num="552" count="3" type="stmt"/>
393
- <line num="555" count="2" type="cond" truecount="2" falsecount="0"/>
394
- <line num="556" count="1" type="stmt"/>
395
- <line num="559" count="1" type="stmt"/>
396
- <line num="574" count="2" type="stmt"/>
397
- <line num="575" count="6" type="cond" truecount="2" falsecount="0"/>
398
- <line num="580" count="1" type="stmt"/>
399
- <line num="587" count="5" type="cond" truecount="4" falsecount="0"/>
400
- <line num="588" count="1" type="stmt"/>
401
- <line num="595" count="4" type="stmt"/>
402
- <line num="597" count="4" type="cond" truecount="2" falsecount="0"/>
403
- <line num="598" count="2" type="stmt"/>
404
- <line num="601" count="2" type="cond" truecount="2" falsecount="0"/>
405
- <line num="602" count="1" type="stmt"/>
406
- <line num="605" count="1" type="stmt"/>
407
- <line num="618" count="2" type="stmt"/>
408
- <line num="619" count="6" type="cond" truecount="4" falsecount="0"/>
409
- <line num="620" count="2" type="stmt"/>
410
- <line num="627" count="4" type="stmt"/>
411
- <line num="629" count="4" type="cond" truecount="2" falsecount="0"/>
412
- <line num="630" count="2" type="stmt"/>
413
- <line num="633" count="2" type="cond" truecount="2" falsecount="0"/>
414
- <line num="634" count="1" type="stmt"/>
415
- <line num="637" 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"/>
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"/>
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"/>
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"/>
416
440
  </file>
417
441
  <file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
418
442
  <metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
@@ -468,27 +492,27 @@
468
492
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
469
493
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
470
494
  <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"/>
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"/>
478
502
  </file>
479
503
  </package>
480
504
  <package name="src.success">
481
505
  <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
482
506
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
483
507
  <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"/>
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"/>
488
512
  </file>
489
513
  </package>
490
514
  <package name="src.utils">
491
- <metrics statements="194" coveredstatements="19" conditionals="230" coveredconditionals="0" methods="23" coveredmethods="0"/>
515
+ <metrics statements="196" coveredstatements="19" conditionals="233" coveredconditionals="0" methods="23" coveredmethods="0"/>
492
516
  <file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
493
517
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
494
518
  <line num="1" count="9" type="stmt"/>
@@ -638,7 +662,7 @@
638
662
  <line num="440" count="0" type="stmt"/>
639
663
  </file>
640
664
  <file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
641
- <metrics statements="52" coveredstatements="3" conditionals="49" coveredconditionals="0" methods="7" coveredmethods="0"/>
665
+ <metrics statements="54" coveredstatements="3" conditionals="52" coveredconditionals="0" methods="7" coveredmethods="0"/>
642
666
  <line num="12" count="3" type="stmt"/>
643
667
  <line num="13" count="0" type="stmt"/>
644
668
  <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -663,34 +687,36 @@
663
687
  <line num="102" count="0" type="cond" truecount="0" falsecount="4"/>
664
688
  <line num="103" count="0" type="stmt"/>
665
689
  <line num="107" count="0" type="stmt"/>
666
- <line num="120" count="3" type="cond" truecount="0" falsecount="2"/>
667
- <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
668
- <line num="122" count="0" type="stmt"/>
690
+ <line num="122" count="3" type="stmt"/>
691
+ <line num="128" count="0" type="cond" truecount="0" falsecount="2"/>
669
692
  <line num="129" count="0" type="stmt"/>
670
- <line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
671
- <line num="132" count="0" type="stmt"/>
672
- <line num="134" count="0" type="stmt"/>
673
- <line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
674
- <line num="137" count="0" type="cond" truecount="0" falsecount="2"/>
675
- <line num="138" count="0" type="stmt"/>
693
+ <line num="136" count="0" type="stmt"/>
694
+ <line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
676
695
  <line num="139" count="0" type="stmt"/>
677
- <line num="140" count="0" type="stmt"/>
678
- <line num="142" count="0" type="stmt"/>
679
- <line num="144" count="0" type="stmt"/>
680
- <line num="148" count="0" type="stmt"/>
681
- <line num="150" count="0" type="cond" truecount="0" falsecount="5"/>
682
- <line num="152" count="0" type="stmt"/>
696
+ <line num="142" count="0" type="cond" truecount="0" falsecount="4"/>
697
+ <line num="143" count="0" type="stmt"/>
698
+ <line num="145" count="0" type="stmt"/>
699
+ <line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
700
+ <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
701
+ <line num="149" count="0" type="stmt"/>
702
+ <line num="150" count="0" type="stmt"/>
703
+ <line num="151" count="0" type="stmt"/>
683
704
  <line num="153" count="0" type="stmt"/>
684
705
  <line num="155" count="0" type="stmt"/>
685
- <line num="156" count="0" type="stmt"/>
686
- <line num="158" count="0" type="stmt"/>
687
706
  <line num="159" count="0" type="stmt"/>
688
- <line num="161" count="0" type="stmt"/>
689
- <line num="165" count="0" type="stmt"/>
707
+ <line num="161" count="0" type="cond" truecount="0" falsecount="5"/>
708
+ <line num="163" count="0" type="stmt"/>
690
709
  <line num="167" count="0" type="stmt"/>
691
- <line num="174" count="0" type="stmt"/>
692
- <line num="176" count="0" type="stmt"/>
693
- <line num="177" count="0" type="stmt"/>
710
+ <line num="169" count="0" type="stmt"/>
711
+ <line num="170" count="0" type="stmt"/>
712
+ <line num="172" count="0" type="stmt"/>
713
+ <line num="173" count="0" type="stmt"/>
714
+ <line num="175" count="0" type="stmt"/>
715
+ <line num="179" count="0" type="stmt"/>
716
+ <line num="181" count="0" type="stmt"/>
717
+ <line num="188" count="0" type="stmt"/>
718
+ <line num="190" count="0" type="stmt"/>
719
+ <line num="191" count="0" type="stmt"/>
694
720
  </file>
695
721
  </package>
696
722
  </project>