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