apacuana-sdk-core 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +320 -236
  2. package/coverage/clover.xml +341 -212
  3. package/coverage/coverage-final.json +9 -7
  4. package/coverage/lcov-report/index.html +34 -19
  5. package/coverage/lcov-report/src/api/certs.js.html +493 -37
  6. package/coverage/lcov-report/src/api/faceLiveness.js.html +496 -0
  7. package/coverage/lcov-report/src/api/index.html +43 -28
  8. package/coverage/lcov-report/src/api/revocations.js.html +103 -106
  9. package/coverage/lcov-report/src/api/signatures.js.html +25 -253
  10. package/coverage/lcov-report/src/api/users.js.html +7 -13
  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 +48 -3
  17. package/coverage/lcov-report/src/success/index.html +116 -0
  18. package/coverage/lcov-report/src/success/index.js.html +106 -0
  19. package/coverage/lcov-report/src/utils/constant.js.html +4 -4
  20. package/coverage/lcov-report/src/utils/helpers.js.html +1 -1
  21. package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
  22. package/coverage/lcov-report/src/utils/index.html +1 -1
  23. package/coverage/lcov.info +591 -352
  24. package/dist/api/certs.d.ts +13 -30
  25. package/dist/api/faceLiveness.d.ts +6 -0
  26. package/dist/api/revocations.d.ts +3 -42
  27. package/dist/api/signatures.d.ts +11 -153
  28. package/dist/index.d.ts +10 -0
  29. package/dist/index.js +630 -214
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +630 -214
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/success/index.d.ts +7 -0
  34. package/dist/types/certs.d.ts +97 -0
  35. package/dist/types/faceLiveness.d.ts +10 -0
  36. package/dist/types/revocations.d.ts +40 -0
  37. package/dist/types/signatures.d.ts +152 -0
  38. package/dist/types/users.d.ts +260 -0
  39. package/package.json +1 -1
  40. package/src/api/certs.js +175 -23
  41. package/src/api/faceLiveness.js +137 -0
  42. package/src/api/revocations.js +66 -67
  43. package/src/api/signatures.js +21 -97
  44. package/src/api/users.js +4 -6
  45. package/src/index.js +16 -1
  46. package/src/success/index.js +8 -0
  47. package/src/types/certs.js +56 -0
  48. package/src/types/faceLiveness.js +7 -0
  49. package/src/types/revocations.js +25 -0
  50. package/src/types/signatures.js +77 -0
  51. package/src/types/users.js +73 -0
  52. package/tests/api/certs.test.js +209 -4
  53. package/tests/api/faceLiveness.test.js +172 -0
  54. package/tests/api/revocations.test.js +37 -37
  55. package/tests/api/signatures.test.js +11 -5
  56. package/tests/api/users.test.js +3 -2
@@ -1,231 +1,350 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1757079771634" clover="3.2.0">
3
- <project timestamp="1757079771634" name="All files">
4
- <metrics statements="350" coveredstatements="209" conditionals="269" coveredconditionals="80" methods="52" coveredmethods="31" elements="671" coveredelements="320" complexity="0" loc="350" ncloc="350" packages="5" files="10" classes="10"/>
2
+ <coverage generated="1757629223043" clover="3.2.0">
3
+ <project timestamp="1757629223043" name="All files">
4
+ <metrics statements="470" coveredstatements="318" conditionals="330" coveredconditionals="132" methods="72" coveredmethods="50" elements="872" coveredelements="500" complexity="0" loc="470" ncloc="470" packages="6" files="12" classes="12"/>
5
5
  <package name="src">
6
6
  <metrics statements="14" coveredstatements="12" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
7
7
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/index.js">
8
8
  <metrics statements="14" coveredstatements="12" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
9
- <line num="16" count="1" type="stmt"/>
10
- <line num="30" count="4" type="stmt"/>
11
- <line num="31" count="4" type="stmt"/>
12
- <line num="32" count="3" type="stmt"/>
13
- <line num="33" count="3" type="stmt"/>
14
- <line num="34" count="3" type="cond" truecount="1" falsecount="1"/>
15
- <line num="35" count="0" type="stmt"/>
16
- <line num="40" count="3" type="stmt"/>
17
- <line num="41" count="2" type="stmt"/>
18
- <line num="42" count="2" type="stmt"/>
19
- <line num="43" count="2" type="stmt"/>
20
- <line num="46" count="2" type="stmt"/>
21
- <line num="47" count="2" type="stmt"/>
22
- <line num="50" count="0" type="stmt"/>
9
+ <line num="26" count="1" type="stmt"/>
10
+ <line num="40" count="4" type="stmt"/>
11
+ <line num="41" count="4" type="stmt"/>
12
+ <line num="42" count="3" type="stmt"/>
13
+ <line num="43" count="3" type="stmt"/>
14
+ <line num="44" count="3" type="cond" truecount="1" falsecount="1"/>
15
+ <line num="45" count="0" type="stmt"/>
16
+ <line num="50" count="3" type="stmt"/>
17
+ <line num="51" count="2" type="stmt"/>
18
+ <line num="52" count="2" type="stmt"/>
19
+ <line num="53" count="2" type="stmt"/>
20
+ <line num="56" count="2" type="stmt"/>
21
+ <line num="57" count="2" type="stmt"/>
22
+ <line num="60" count="0" type="stmt"/>
23
23
  </file>
24
24
  </package>
25
25
  <package name="src.api">
26
- <metrics statements="194" coveredstatements="170" conditionals="104" coveredconditionals="76" methods="29" coveredmethods="29"/>
26
+ <metrics statements="310" coveredstatements="275" conditionals="164" coveredconditionals="127" methods="48" coveredmethods="47"/>
27
27
  <file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
28
- <metrics statements="24" coveredstatements="20" conditionals="11" coveredconditionals="7" methods="4" coveredmethods="4"/>
29
- <line num="28" count="2" type="stmt"/>
28
+ <metrics statements="77" coveredstatements="69" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
29
+ <line num="22" count="2" type="stmt"/>
30
+ <line num="23" count="1" type="stmt"/>
31
+ <line num="24" count="1" type="stmt"/>
30
32
  <line num="29" count="1" type="stmt"/>
31
- <line num="30" count="1" type="stmt"/>
32
- <line num="35" count="1" type="stmt"/>
33
- <line num="36" count="1" type="cond" truecount="3" falsecount="1"/>
34
- <line num="37" count="0" type="stmt"/>
35
- <line num="44" count="1" type="stmt"/>
36
- <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
37
- <line num="48" count="0" type="stmt"/>
38
- <line num="50" count="0" type="stmt"/>
39
- <line num="54" count="2" type="stmt"/>
40
- <line num="55" count="1" type="stmt"/>
41
- <line num="69" count="2" type="stmt"/>
42
- <line num="70" count="3" type="stmt"/>
43
- <line num="71" count="3" type="stmt"/>
44
- <line num="72" count="3" type="cond" truecount="2" falsecount="0"/>
33
+ <line num="30" count="1" type="cond" truecount="3" falsecount="1"/>
34
+ <line num="31" count="0" type="stmt"/>
35
+ <line num="38" count="1" type="stmt"/>
36
+ <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
37
+ <line num="42" count="0" type="stmt"/>
38
+ <line num="44" count="0" type="stmt"/>
39
+ <line num="48" count="2" type="stmt"/>
40
+ <line num="49" count="1" type="stmt"/>
41
+ <line num="63" count="2" type="stmt"/>
42
+ <line num="64" count="3" type="stmt"/>
43
+ <line num="65" count="3" type="stmt"/>
44
+ <line num="66" count="3" type="cond" truecount="2" falsecount="0"/>
45
+ <line num="67" count="1" type="stmt"/>
46
+ <line num="69" count="2" type="cond" truecount="2" falsecount="0"/>
47
+ <line num="70" count="1" type="stmt"/>
45
48
  <line num="73" count="1" type="stmt"/>
46
- <line num="75" count="2" type="cond" truecount="2" falsecount="0"/>
47
- <line num="76" count="1" type="stmt"/>
48
- <line num="79" count="1" type="stmt"/>
49
- <line num="91" count="2" type="cond" truecount="0" falsecount="1"/>
50
- <line num="92" count="1" type="stmt"/>
51
- <line num="93" count="1" type="stmt"/>
52
- <line num="97" count="1" type="stmt"/>
49
+ <line num="85" count="2" type="cond" truecount="0" falsecount="1"/>
50
+ <line num="86" count="1" type="stmt"/>
51
+ <line num="87" count="1" type="stmt"/>
52
+ <line num="91" count="1" type="stmt"/>
53
+ <line num="94" count="2" type="stmt"/>
54
+ <line num="95" count="1" type="stmt"/>
55
+ <line num="96" count="1" type="stmt"/>
56
+ <line num="102" count="1" type="stmt"/>
57
+ <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
58
+ <line num="105" count="0" type="stmt"/>
59
+ <line num="107" count="0" type="stmt"/>
60
+ <line num="111" count="2" type="stmt"/>
61
+ <line num="112" count="1" type="stmt"/>
62
+ <line num="125" count="2" type="stmt"/>
63
+ <line num="126" count="3" type="stmt"/>
64
+ <line num="127" count="3" type="cond" truecount="2" falsecount="0"/>
65
+ <line num="128" count="1" type="stmt"/>
66
+ <line num="130" count="2" type="cond" truecount="2" falsecount="0"/>
67
+ <line num="131" count="1" type="stmt"/>
68
+ <line num="134" count="1" type="stmt"/>
69
+ <line num="141" count="2" type="stmt"/>
70
+ <line num="142" count="2" type="stmt"/>
71
+ <line num="143" count="2" type="stmt"/>
72
+ <line num="149" count="1" type="stmt"/>
73
+ <line num="151" count="1" type="cond" truecount="1" falsecount="1"/>
74
+ <line num="152" count="0" type="stmt"/>
75
+ <line num="154" count="1" type="stmt"/>
76
+ <line num="158" count="2" type="stmt"/>
77
+ <line num="159" count="1" type="stmt"/>
78
+ <line num="174" count="2" type="stmt"/>
79
+ <line num="175" count="7" type="cond" truecount="4" falsecount="0"/>
80
+ <line num="176" count="3" type="stmt"/>
81
+ <line num="180" count="4" type="stmt"/>
82
+ <line num="182" count="4" type="stmt"/>
83
+ <line num="183" count="4" type="cond" truecount="2" falsecount="0"/>
84
+ <line num="184" count="2" type="stmt"/>
85
+ <line num="186" count="2" type="cond" truecount="2" falsecount="0"/>
86
+ <line num="187" count="1" type="stmt"/>
87
+ <line num="190" count="1" type="stmt"/>
88
+ <line num="197" count="2" type="stmt"/>
89
+ <line num="198" count="3" type="stmt"/>
90
+ <line num="199" count="3" type="stmt"/>
91
+ <line num="205" count="1" type="stmt"/>
92
+ <line num="207" count="2" type="cond" truecount="2" falsecount="0"/>
93
+ <line num="208" count="1" type="stmt"/>
94
+ <line num="210" count="1" type="stmt"/>
95
+ <line num="214" count="2" type="stmt"/>
96
+ <line num="215" count="1" type="stmt"/>
97
+ <line num="229" count="2" type="stmt"/>
98
+ <line num="230" count="8" type="cond" truecount="2" falsecount="0"/>
99
+ <line num="235" count="3" type="stmt"/>
100
+ <line num="240" count="5" type="stmt"/>
101
+ <line num="241" count="5" type="cond" truecount="2" falsecount="0"/>
102
+ <line num="242" count="3" type="stmt"/>
103
+ <line num="244" count="2" type="cond" truecount="2" falsecount="0"/>
104
+ <line num="245" count="1" type="stmt"/>
105
+ <line num="248" count="1" type="stmt"/>
106
+ </file>
107
+ <file name="faceLiveness.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/faceLiveness.js">
108
+ <metrics statements="46" coveredstatements="44" conditionals="21" coveredconditionals="19" methods="6" coveredmethods="6"/>
109
+ <line num="11" count="2" type="stmt"/>
110
+ <line num="12" count="4" type="stmt"/>
111
+ <line num="13" count="4" type="stmt"/>
112
+ <line num="19" count="2" type="cond" truecount="2" falsecount="0"/>
113
+ <line num="20" count="1" type="stmt"/>
114
+ <line num="27" count="1" type="stmt"/>
115
+ <line num="29" count="3" type="cond" truecount="2" falsecount="0"/>
116
+ <line num="30" count="2" type="stmt"/>
117
+ <line num="32" count="1" type="stmt"/>
118
+ <line num="36" count="2" type="stmt"/>
119
+ <line num="37" count="1" type="stmt"/>
120
+ <line num="44" count="2" type="stmt"/>
121
+ <line num="45" count="6" type="stmt"/>
122
+ <line num="46" count="6" type="stmt"/>
123
+ <line num="51" count="1" type="stmt"/>
124
+ <line num="53" count="5" type="cond" truecount="1" falsecount="1"/>
125
+ <line num="55" count="5" type="cond" truecount="5" falsecount="0"/>
126
+ <line num="57" count="1" type="stmt"/>
127
+ <line num="58" count="1" type="stmt"/>
128
+ <line num="60" count="1" type="stmt"/>
129
+ <line num="61" count="1" type="stmt"/>
130
+ <line num="63" count="1" type="stmt"/>
131
+ <line num="64" count="1" type="stmt"/>
132
+ <line num="66" count="1" type="stmt"/>
133
+ <line num="67" count="1" type="stmt"/>
134
+ <line num="69" count="1" type="stmt"/>
135
+ <line num="71" count="4" type="stmt"/>
136
+ <line num="73" count="0" type="stmt"/>
137
+ <line num="77" count="2" type="stmt"/>
138
+ <line num="78" count="1" type="stmt"/>
139
+ <line num="91" count="2" type="stmt"/>
140
+ <line num="92" count="6" type="stmt"/>
141
+ <line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
142
+ <line num="95" count="4" type="stmt"/>
143
+ <line num="97" count="2" type="cond" truecount="2" falsecount="0"/>
144
+ <line num="98" count="1" type="stmt"/>
145
+ <line num="101" count="1" type="stmt"/>
146
+ <line num="114" count="2" type="stmt"/>
147
+ <line num="115" count="8" type="cond" truecount="2" falsecount="0"/>
148
+ <line num="116" count="1" type="stmt"/>
149
+ <line num="123" count="7" type="stmt"/>
150
+ <line num="125" count="7" type="cond" truecount="2" falsecount="0"/>
151
+ <line num="126" count="6" type="stmt"/>
152
+ <line num="128" count="1" type="cond" truecount="1" falsecount="1"/>
153
+ <line num="129" count="1" type="stmt"/>
154
+ <line num="132" count="0" type="stmt"/>
53
155
  </file>
54
156
  <file name="revocations.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/revocations.js">
55
- <metrics statements="19" coveredstatements="19" conditionals="8" coveredconditionals="8" methods="2" coveredmethods="2"/>
56
- <line num="41" count="2" type="stmt"/>
57
- <line num="42" count="3" type="cond" truecount="2" falsecount="0"/>
58
- <line num="43" count="1" type="stmt"/>
59
- <line num="46" count="2" type="stmt"/>
60
- <line num="47" count="2" type="stmt"/>
61
- <line num="53" count="1" type="stmt"/>
62
- <line num="55" count="1" type="stmt"/>
63
- <line num="64" count="2" type="stmt"/>
64
- <line num="65" count="5" type="stmt"/>
65
- <line num="67" count="5" type="cond" truecount="2" falsecount="0"/>
157
+ <metrics statements="36" coveredstatements="31" conditionals="20" coveredconditionals="16" methods="6" coveredmethods="5"/>
158
+ <line num="7" count="2" type="stmt"/>
159
+ <line num="8" count="3" type="stmt"/>
160
+ <line num="9" count="3" type="stmt"/>
161
+ <line num="14" count="1" type="stmt"/>
162
+ <line num="16" count="2" type="cond" truecount="2" falsecount="0"/>
163
+ <line num="17" count="1" type="stmt"/>
164
+ <line num="19" count="1" type="stmt"/>
165
+ <line num="23" count="2" type="stmt"/>
166
+ <line num="24" count="0" type="stmt"/>
167
+ <line num="31" count="2" type="stmt"/>
168
+ <line num="32" count="5" type="cond" truecount="4" falsecount="0"/>
169
+ <line num="33" count="2" type="stmt"/>
170
+ <line num="38" count="3" type="stmt"/>
171
+ <line num="40" count="3" type="cond" truecount="1" falsecount="1"/>
172
+ <line num="41" count="3" type="stmt"/>
173
+ <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
174
+ <line num="44" count="0" type="stmt"/>
175
+ <line num="46" count="0" type="stmt"/>
176
+ <line num="53" count="2" type="stmt"/>
177
+ <line num="54" count="4" type="stmt"/>
178
+ <line num="55" count="4" type="stmt"/>
179
+ <line num="60" count="2" type="cond" truecount="4" falsecount="0"/>
180
+ <line num="61" count="1" type="stmt"/>
181
+ <line num="63" count="1" type="stmt"/>
182
+ <line num="65" count="3" type="cond" truecount="2" falsecount="0"/>
183
+ <line num="66" count="2" type="stmt"/>
66
184
  <line num="68" count="1" type="stmt"/>
67
- <line num="75" count="4" type="stmt"/>
68
- <line num="76" count="4" type="stmt"/>
69
- <line num="82" count="2" type="cond" truecount="2" falsecount="0"/>
70
- <line num="83" count="1" type="stmt"/>
71
- <line num="86" count="1" type="stmt"/>
72
- <line num="88" count="3" type="cond" truecount="2" falsecount="0"/>
73
- <line num="89" count="2" type="stmt"/>
74
- <line num="91" count="1" type="stmt"/>
185
+ <line num="72" count="2" type="stmt"/>
186
+ <line num="73" count="1" type="stmt"/>
187
+ <line num="80" count="2" type="stmt"/>
188
+ <line num="81" count="5" type="stmt"/>
189
+ <line num="83" count="5" type="cond" truecount="2" falsecount="0"/>
190
+ <line num="84" count="4" type="stmt"/>
191
+ <line num="86" count="1" type="cond" truecount="1" falsecount="1"/>
192
+ <line num="87" count="1" type="stmt"/>
193
+ <line num="89" count="0" type="stmt"/>
75
194
  </file>
76
195
  <file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
77
196
  <metrics statements="138" coveredstatements="118" conditionals="73" coveredconditionals="50" methods="22" coveredmethods="22"/>
78
- <line num="76" count="2" type="stmt"/>
79
- <line num="77" count="1" type="stmt"/>
80
- <line num="78" count="1" type="stmt"/>
81
- <line num="79" count="1" type="stmt"/>
82
- <line num="80" count="1" type="stmt"/>
83
- <line num="82" count="1" type="stmt"/>
84
- <line num="93" count="1" type="stmt"/>
85
- <line num="98" count="1" type="stmt"/>
86
- <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
87
- <line num="101" count="0" type="stmt"/>
88
- <line num="103" count="0" type="stmt"/>
89
- <line num="109" count="2" type="stmt"/>
90
- <line num="110" count="1" type="stmt"/>
197
+ <line num="24" count="2" type="stmt"/>
198
+ <line num="25" count="1" type="stmt"/>
199
+ <line num="26" count="1" type="stmt"/>
200
+ <line num="27" count="1" type="stmt"/>
201
+ <line num="28" count="1" type="stmt"/>
202
+ <line num="30" count="1" type="stmt"/>
203
+ <line num="41" count="1" type="stmt"/>
204
+ <line num="46" count="1" type="stmt"/>
205
+ <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
206
+ <line num="49" count="0" type="stmt"/>
207
+ <line num="51" count="0" type="stmt"/>
208
+ <line num="57" count="2" type="stmt"/>
209
+ <line num="58" count="1" type="stmt"/>
210
+ <line num="65" count="2" type="stmt"/>
211
+ <line num="66" count="2" type="stmt"/>
212
+ <line num="67" count="2" type="stmt"/>
213
+ <line num="74" count="2" type="cond" truecount="2" falsecount="0"/>
214
+ <line num="75" count="2" type="cond" truecount="2" falsecount="0"/>
215
+ <line num="76" count="1" type="stmt"/>
216
+ <line num="83" count="1" type="stmt"/>
217
+ <line num="85" count="1" type="cond" truecount="1" falsecount="1"/>
218
+ <line num="86" count="1" type="stmt"/>
219
+ <line num="88" count="0" type="stmt"/>
220
+ <line num="94" count="2" type="stmt"/>
221
+ <line num="95" count="1" type="stmt"/>
222
+ <line num="102" count="2" type="stmt"/>
223
+ <line num="103" count="1" type="stmt"/>
224
+ <line num="104" count="1" type="stmt"/>
225
+ <line num="105" count="1" type="stmt"/>
226
+ <line num="106" count="1" type="stmt"/>
227
+ <line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
228
+ <line num="111" count="0" type="stmt"/>
229
+ <line num="113" count="0" type="stmt"/>
91
230
  <line num="117" count="2" type="stmt"/>
92
- <line num="118" count="2" type="stmt"/>
93
- <line num="119" count="2" type="stmt"/>
94
- <line num="126" count="2" type="cond" truecount="2" falsecount="0"/>
95
- <line num="127" count="2" type="cond" truecount="2" falsecount="0"/>
96
- <line num="128" count="1" type="stmt"/>
97
- <line num="135" count="1" type="stmt"/>
98
- <line num="137" count="1" type="cond" truecount="1" falsecount="1"/>
99
- <line num="138" count="1" type="stmt"/>
100
- <line num="140" count="0" type="stmt"/>
101
- <line num="146" count="2" type="stmt"/>
102
- <line num="147" count="1" type="stmt"/>
103
- <line num="154" count="2" type="stmt"/>
231
+ <line num="118" count="1" type="stmt"/>
232
+ <line num="125" count="2" type="stmt"/>
233
+ <line num="126" count="1" type="stmt"/>
234
+ <line num="133" count="2" type="stmt"/>
235
+ <line num="134" count="2" type="stmt"/>
236
+ <line num="135" count="2" type="cond" truecount="2" falsecount="0"/>
237
+ <line num="136" count="1" type="stmt"/>
238
+ <line num="143" count="1" type="stmt"/>
239
+ <line num="144" count="1" type="stmt"/>
240
+ <line num="150" count="1" type="cond" truecount="1" falsecount="1"/>
241
+ <line num="151" count="1" type="stmt"/>
242
+ <line num="154" count="1" type="stmt"/>
104
243
  <line num="155" count="1" type="stmt"/>
105
244
  <line num="156" count="1" type="stmt"/>
106
- <line num="157" count="1" type="stmt"/>
107
- <line num="158" count="1" type="stmt"/>
108
- <line num="160" count="0" type="cond" truecount="0" falsecount="2"/>
109
- <line num="161" count="0" type="stmt"/>
110
- <line num="163" count="0" type="stmt"/>
111
- <line num="167" count="2" type="stmt"/>
112
- <line num="168" count="1" type="stmt"/>
113
- <line num="175" count="2" type="stmt"/>
114
- <line num="176" count="1" type="stmt"/>
115
- <line num="183" count="2" type="stmt"/>
116
- <line num="184" count="2" type="stmt"/>
117
- <line num="185" count="2" type="cond" truecount="2" falsecount="0"/>
118
- <line num="186" count="1" type="stmt"/>
119
- <line num="193" count="1" type="stmt"/>
120
- <line num="194" count="1" type="stmt"/>
121
- <line num="200" count="1" type="cond" truecount="1" falsecount="1"/>
122
- <line num="201" count="1" type="stmt"/>
245
+ <line num="161" count="0" type="cond" truecount="0" falsecount="2"/>
246
+ <line num="162" count="0" type="stmt"/>
247
+ <line num="164" count="0" type="stmt"/>
248
+ <line num="170" count="2" type="stmt"/>
249
+ <line num="171" count="1" type="stmt"/>
250
+ <line num="172" count="1" type="stmt"/>
251
+ <line num="177" count="1" type="stmt"/>
252
+ <line num="179" count="0" type="cond" truecount="0" falsecount="2"/>
253
+ <line num="180" count="0" type="stmt"/>
254
+ <line num="182" count="0" type="stmt"/>
255
+ <line num="188" count="2" type="stmt"/>
256
+ <line num="189" count="1" type="stmt"/>
257
+ <line num="196" count="2" type="stmt"/>
258
+ <line num="197" count="1" type="stmt"/>
259
+ <line num="198" count="1" type="stmt"/>
260
+ <line num="199" count="1" type="stmt"/>
123
261
  <line num="204" count="1" type="stmt"/>
124
- <line num="205" count="1" type="stmt"/>
125
- <line num="206" count="1" type="stmt"/>
126
- <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
127
- <line num="213" count="0" type="stmt"/>
128
- <line num="215" count="0" type="stmt"/>
129
- <line num="221" count="2" type="stmt"/>
130
- <line num="222" count="1" type="stmt"/>
131
- <line num="223" count="1" type="stmt"/>
132
- <line num="228" count="1" type="stmt"/>
133
- <line num="230" count="0" type="cond" truecount="0" falsecount="2"/>
134
- <line num="231" count="0" type="stmt"/>
262
+ <line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
263
+ <line num="207" count="0" type="stmt"/>
264
+ <line num="209" count="0" type="stmt"/>
265
+ <line num="215" count="2" type="stmt"/>
266
+ <line num="216" count="1" type="stmt"/>
267
+ <line num="223" count="2" type="stmt"/>
268
+ <line num="224" count="1" type="stmt"/>
269
+ <line num="225" count="1" type="stmt"/>
270
+ <line num="230" count="1" type="stmt"/>
271
+ <line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
135
272
  <line num="233" count="0" type="stmt"/>
136
- <line num="239" count="2" type="stmt"/>
137
- <line num="240" count="1" type="stmt"/>
138
- <line num="247" count="2" type="stmt"/>
139
- <line num="248" count="1" type="stmt"/>
140
- <line num="249" count="1" type="stmt"/>
141
- <line num="250" count="1" type="stmt"/>
142
- <line num="255" count="1" type="stmt"/>
143
- <line num="257" count="0" type="cond" truecount="0" falsecount="2"/>
144
- <line num="258" count="0" type="stmt"/>
145
- <line num="260" count="0" type="stmt"/>
146
- <line num="266" count="2" type="stmt"/>
147
- <line num="267" count="1" type="stmt"/>
148
- <line num="274" count="2" type="stmt"/>
149
- <line num="275" count="1" type="stmt"/>
150
- <line num="276" count="1" type="stmt"/>
151
- <line num="281" count="1" type="stmt"/>
152
- <line num="283" count="0" type="cond" truecount="0" falsecount="2"/>
153
- <line num="284" count="0" type="stmt"/>
154
- <line num="286" count="0" type="stmt"/>
155
- <line num="292" count="2" type="stmt"/>
156
- <line num="293" count="1" type="stmt"/>
157
- <line num="311" count="2" type="stmt"/>
158
- <line num="312" count="3" type="stmt"/>
159
- <line num="314" count="3" type="cond" truecount="2" falsecount="0"/>
160
- <line num="315" count="1" type="stmt"/>
161
- <line num="318" count="2" type="cond" truecount="2" falsecount="0"/>
162
- <line num="319" count="1" type="stmt"/>
163
- <line num="322" count="1" type="stmt"/>
164
- <line num="335" count="2" type="stmt"/>
165
- <line num="336" count="4" type="stmt"/>
166
- <line num="338" count="4" type="stmt"/>
167
- <line num="340" count="4" type="cond" truecount="2" falsecount="0"/>
168
- <line num="341" count="2" type="stmt"/>
169
- <line num="344" count="2" type="cond" truecount="2" falsecount="0"/>
170
- <line num="345" count="1" type="stmt"/>
171
- <line num="348" count="1" type="stmt"/>
172
- <line num="386" count="2" type="stmt"/>
173
- <line num="387" count="4" type="cond" truecount="2" falsecount="0"/>
174
- <line num="392" count="1" type="stmt"/>
175
- <line num="398" count="3" type="stmt"/>
176
- <line num="400" count="3" type="cond" truecount="2" falsecount="0"/>
177
- <line num="401" count="1" type="stmt"/>
178
- <line num="404" count="2" type="cond" truecount="2" falsecount="0"/>
179
- <line num="405" count="1" type="stmt"/>
180
- <line num="408" count="1" type="stmt"/>
181
- <line num="421" count="2" type="stmt"/>
182
- <line num="422" count="5" type="stmt"/>
183
- <line num="424" count="3" type="stmt"/>
184
- <line num="426" count="3" type="cond" truecount="2" falsecount="0"/>
185
- <line num="427" count="2" type="stmt"/>
186
- <line num="430" count="1" type="cond" truecount="1" falsecount="1"/>
187
- <line num="431" count="1" type="stmt"/>
188
- <line num="434" count="0" type="stmt"/>
189
- <line num="448" count="2" type="stmt"/>
190
- <line num="449" count="7" type="cond" truecount="4" falsecount="0"/>
191
- <line num="450" count="2" type="stmt"/>
192
- <line num="457" count="5" type="cond" truecount="4" falsecount="0"/>
193
- <line num="458" count="1" type="stmt"/>
194
- <line num="465" count="4" type="cond" truecount="2" falsecount="0"/>
195
- <line num="466" count="1" type="stmt"/>
196
- <line num="473" count="3" type="stmt"/>
197
- <line num="475" count="3" type="cond" truecount="2" falsecount="0"/>
198
- <line num="476" count="1" type="stmt"/>
199
- <line num="479" count="2" type="cond" truecount="2" falsecount="0"/>
200
- <line num="480" count="1" type="stmt"/>
201
- <line num="483" count="1" type="stmt"/>
202
- <line num="495" count="2" type="stmt"/>
203
- <line num="496" count="3" type="stmt"/>
204
- <line num="498" count="3" type="cond" truecount="2" falsecount="0"/>
205
- <line num="499" count="1" type="stmt"/>
206
- <line num="502" count="2" type="cond" truecount="2" falsecount="0"/>
207
- <line num="503" count="1" type="stmt"/>
208
- <line num="506" count="1" type="stmt"/>
209
- <line num="518" count="2" type="stmt"/>
210
- <line num="519" count="3" type="stmt"/>
211
- <line num="521" count="3" type="cond" truecount="2" falsecount="0"/>
212
- <line num="522" count="1" type="stmt"/>
213
- <line num="525" count="2" type="cond" truecount="2" falsecount="0"/>
214
- <line num="526" count="1" type="stmt"/>
215
- <line num="529" count="1" type="stmt"/>
273
+ <line num="235" count="0" type="stmt"/>
274
+ <line num="241" count="2" type="stmt"/>
275
+ <line num="242" count="1" type="stmt"/>
276
+ <line num="260" count="2" type="stmt"/>
277
+ <line num="261" count="3" type="stmt"/>
278
+ <line num="263" count="3" type="cond" truecount="2" falsecount="0"/>
279
+ <line num="264" count="1" type="stmt"/>
280
+ <line num="267" count="2" type="cond" truecount="2" falsecount="0"/>
281
+ <line num="268" count="1" type="stmt"/>
282
+ <line num="271" count="1" type="stmt"/>
283
+ <line num="284" count="2" type="stmt"/>
284
+ <line num="285" count="4" type="stmt"/>
285
+ <line num="287" count="4" type="stmt"/>
286
+ <line num="289" count="4" type="cond" truecount="2" falsecount="0"/>
287
+ <line num="290" count="2" type="stmt"/>
288
+ <line num="293" count="2" type="cond" truecount="2" falsecount="0"/>
289
+ <line num="294" count="1" type="stmt"/>
290
+ <line num="297" count="1" type="stmt"/>
291
+ <line num="310" count="2" type="stmt"/>
292
+ <line num="311" count="4" type="cond" truecount="2" falsecount="0"/>
293
+ <line num="316" count="1" type="stmt"/>
294
+ <line num="322" count="3" type="stmt"/>
295
+ <line num="324" count="3" type="cond" truecount="2" falsecount="0"/>
296
+ <line num="325" count="1" type="stmt"/>
297
+ <line num="328" count="2" type="cond" truecount="2" falsecount="0"/>
298
+ <line num="329" count="1" type="stmt"/>
299
+ <line num="332" count="1" type="stmt"/>
300
+ <line num="345" count="2" type="stmt"/>
301
+ <line num="346" count="5" type="stmt"/>
302
+ <line num="348" count="3" type="stmt"/>
303
+ <line num="350" count="3" type="cond" truecount="2" falsecount="0"/>
304
+ <line num="351" count="2" type="stmt"/>
305
+ <line num="354" count="1" type="cond" truecount="1" falsecount="1"/>
306
+ <line num="355" count="1" type="stmt"/>
307
+ <line num="358" count="0" type="stmt"/>
308
+ <line num="372" count="2" type="stmt"/>
309
+ <line num="373" count="7" type="cond" truecount="4" falsecount="0"/>
310
+ <line num="374" count="2" type="stmt"/>
311
+ <line num="381" count="5" type="cond" truecount="4" falsecount="0"/>
312
+ <line num="382" count="1" type="stmt"/>
313
+ <line num="389" count="4" type="cond" truecount="2" falsecount="0"/>
314
+ <line num="390" count="1" type="stmt"/>
315
+ <line num="397" count="3" type="stmt"/>
316
+ <line num="399" count="3" type="cond" truecount="2" falsecount="0"/>
317
+ <line num="400" count="1" type="stmt"/>
318
+ <line num="403" count="2" type="cond" truecount="2" falsecount="0"/>
319
+ <line num="404" count="1" type="stmt"/>
320
+ <line num="407" count="1" type="stmt"/>
321
+ <line num="419" count="2" type="stmt"/>
322
+ <line num="420" count="3" type="stmt"/>
323
+ <line num="422" count="3" type="cond" truecount="2" falsecount="0"/>
324
+ <line num="423" count="1" type="stmt"/>
325
+ <line num="426" count="2" type="cond" truecount="2" falsecount="0"/>
326
+ <line num="427" count="1" type="stmt"/>
327
+ <line num="430" count="1" type="stmt"/>
328
+ <line num="442" count="2" type="stmt"/>
329
+ <line num="443" count="3" type="stmt"/>
330
+ <line num="445" count="3" type="cond" truecount="2" falsecount="0"/>
331
+ <line num="446" count="1" type="stmt"/>
332
+ <line num="449" count="2" type="cond" truecount="2" falsecount="0"/>
333
+ <line num="450" count="1" type="stmt"/>
334
+ <line num="453" count="1" type="stmt"/>
216
335
  </file>
217
336
  <file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
218
337
  <metrics statements="13" coveredstatements="13" conditionals="12" coveredconditionals="11" methods="1" coveredmethods="1"/>
219
- <line num="21" count="1" type="stmt"/>
220
- <line num="22" count="5" type="stmt"/>
221
- <line num="24" count="5" type="cond" truecount="4" falsecount="0"/>
222
- <line num="25" count="1" type="stmt"/>
223
- <line num="32" count="4" type="stmt"/>
224
- <line num="37" count="4" type="stmt"/>
338
+ <line num="22" count="1" type="stmt"/>
339
+ <line num="23" count="5" type="stmt"/>
340
+ <line num="25" count="5" type="cond" truecount="4" falsecount="0"/>
341
+ <line num="26" count="1" type="stmt"/>
342
+ <line num="33" count="4" type="stmt"/>
225
343
  <line num="38" count="4" type="stmt"/>
226
- <line num="44" count="2" type="cond" truecount="4" falsecount="0"/>
227
- <line num="45" count="1" type="stmt"/>
228
- <line num="52" count="1" type="stmt"/>
344
+ <line num="39" count="4" type="stmt"/>
345
+ <line num="45" count="2" type="cond" truecount="4" falsecount="0"/>
346
+ <line num="46" count="1" type="stmt"/>
347
+ <line num="53" count="1" type="stmt"/>
229
348
  <line num="58" count="3" type="cond" truecount="2" falsecount="0"/>
230
349
  <line num="59" count="2" type="stmt"/>
231
350
  <line num="61" count="1" type="stmt"/>
@@ -253,22 +372,32 @@
253
372
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
254
373
  <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
255
374
  <metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
256
- <line num="8" count="53" type="stmt"/>
257
- <line num="9" count="53" type="stmt"/>
258
- <line num="10" count="53" type="stmt"/>
259
- <line num="11" count="53" type="stmt"/>
260
- <line num="12" count="53" type="stmt"/>
261
- <line num="15" count="53" type="cond" truecount="1" falsecount="1"/>
262
- <line num="16" count="53" type="stmt"/>
375
+ <line num="8" count="83" type="stmt"/>
376
+ <line num="9" count="83" type="stmt"/>
377
+ <line num="10" count="83" type="stmt"/>
378
+ <line num="11" count="83" type="stmt"/>
379
+ <line num="12" count="83" type="stmt"/>
380
+ <line num="15" count="83" type="cond" truecount="1" falsecount="1"/>
381
+ <line num="16" count="83" type="stmt"/>
382
+ </file>
383
+ </package>
384
+ <package name="src.success">
385
+ <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
386
+ <file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
387
+ <metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
388
+ <line num="3" count="21" type="stmt"/>
389
+ <line num="4" count="21" type="stmt"/>
390
+ <line num="5" count="21" type="stmt"/>
391
+ <line num="6" count="21" type="stmt"/>
263
392
  </file>
264
393
  </package>
265
394
  <package name="src.utils">
266
395
  <metrics statements="123" coveredstatements="15" conditionals="150" coveredconditionals="0" methods="17" coveredmethods="0"/>
267
396
  <file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
268
397
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
269
- <line num="1" count="8" type="stmt"/>
270
- <line num="12" count="8" type="stmt"/>
271
- <line num="17" count="8" type="stmt"/>
398
+ <line num="1" count="9" type="stmt"/>
399
+ <line num="12" count="9" type="stmt"/>
400
+ <line num="17" count="9" type="stmt"/>
272
401
  </file>
273
402
  <file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
274
403
  <metrics statements="70" coveredstatements="9" conditionals="104" coveredconditionals="0" methods="10" coveredmethods="0"/>