apacuana-sdk-core 1.24.0 → 1.26.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.
- package/.env.example +10 -0
- package/README.md +72 -27
- package/coverage/clover.xml +292 -280
- package/coverage/coverage-final.json +6 -6
- package/coverage/lcov-report/index.html +24 -24
- package/coverage/lcov-report/src/api/certs.js.html +1 -1
- package/coverage/lcov-report/src/api/faceLiveness.js.html +35 -269
- package/coverage/lcov-report/src/api/index.html +25 -25
- package/coverage/lcov-report/src/api/revocations.js.html +1 -1
- package/coverage/lcov-report/src/api/signatures.js.html +183 -9
- package/coverage/lcov-report/src/api/users.js.html +1 -1
- package/coverage/lcov-report/src/config/index.html +1 -1
- package/coverage/lcov-report/src/config/index.js.html +1 -1
- package/coverage/lcov-report/src/errors/index.html +1 -1
- package/coverage/lcov-report/src/errors/index.js.html +8 -8
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.js.html +13 -28
- package/coverage/lcov-report/src/success/index.html +1 -1
- package/coverage/lcov-report/src/success/index.js.html +5 -5
- package/coverage/lcov-report/src/utils/constant.js.html +1 -1
- package/coverage/lcov-report/src/utils/helpers.js.html +174 -9
- package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +14 -14
- package/coverage/lcov.info +590 -561
- package/dist/api/faceLiveness.d.ts +3 -4
- package/dist/api/signatures.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +248 -242
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +248 -242
- package/dist/index.mjs.map +1 -1
- package/dist/types/faceLiveness.d.ts +0 -10
- package/dist/types/signatures.d.ts +18 -0
- package/dist/utils/helpers.d.ts +4 -0
- package/package.json +3 -2
- package/src/api/faceLiveness.js +20 -98
- package/src/api/signatures.js +58 -0
- package/src/index.js +9 -14
- package/src/types/faceLiveness.js +1 -12
- package/src/types/signatures.js +13 -1
- package/src/utils/helpers.js +55 -0
- package/tests/api/faceLiveness.test.js +54 -115
- package/tests/api/signatures.test.js +90 -0
- package/tests/integration/addMember.test.js +105 -0
package/coverage/clover.xml
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1781539095206" clover="3.2.0">
|
|
3
|
+
<project timestamp="1781539095206" name="All files">
|
|
4
|
+
<metrics statements="592" coveredstatements="319" conditionals="437" coveredconditionals="130" methods="97" coveredmethods="49" elements="1126" coveredelements="498" complexity="0" loc="592" ncloc="592" packages="6" files="12" classes="12"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="57" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="20" coveredmethods="1"/>
|
|
7
7
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/index.js">
|
|
8
8
|
<metrics statements="57" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="20" coveredmethods="1"/>
|
|
9
|
-
<line num="
|
|
10
|
-
<line num="
|
|
11
|
-
<line num="
|
|
12
|
-
<line num="
|
|
13
|
-
<line num="
|
|
14
|
-
<line num="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
9
|
+
<line num="30" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
10
|
+
<line num="31" count="0" type="stmt"/>
|
|
11
|
+
<line num="33" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
12
|
+
<line num="34" count="0" type="stmt"/>
|
|
13
|
+
<line num="41" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
14
|
+
<line num="42" count="0" type="stmt"/>
|
|
15
|
+
<line num="50" count="1" type="stmt"/>
|
|
16
|
+
<line num="55" count="4" type="stmt"/>
|
|
17
|
+
<line num="56" count="4" type="stmt"/>
|
|
18
|
+
<line num="57" count="3" type="stmt"/>
|
|
19
|
+
<line num="58" count="3" type="stmt"/>
|
|
20
|
+
<line num="60" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
21
|
+
<line num="61" count="3" type="stmt"/>
|
|
22
|
+
<line num="62" count="2" type="stmt"/>
|
|
23
|
+
<line num="63" count="2" type="stmt"/>
|
|
22
24
|
<line num="64" count="2" type="stmt"/>
|
|
23
25
|
<line num="65" count="2" type="stmt"/>
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="78" count="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="
|
|
42
|
-
<line num="
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
48
|
-
<line num="
|
|
49
|
-
<line num="
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="
|
|
52
|
-
<line num="
|
|
53
|
-
<line num="
|
|
54
|
-
<line num="
|
|
55
|
-
<line num="
|
|
56
|
-
<line num="
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="154" count="0" type="stmt"/>
|
|
26
|
+
<line num="71" count="0" type="stmt"/>
|
|
27
|
+
<line num="76" count="2" type="stmt"/>
|
|
28
|
+
<line num="77" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
29
|
+
<line num="78" count="0" type="stmt"/>
|
|
30
|
+
<line num="80" count="2" type="stmt"/>
|
|
31
|
+
<line num="90" count="0" type="stmt"/>
|
|
32
|
+
<line num="91" count="0" type="stmt"/>
|
|
33
|
+
<line num="94" count="0" type="stmt"/>
|
|
34
|
+
<line num="95" count="0" type="stmt"/>
|
|
35
|
+
<line num="100" count="0" type="stmt"/>
|
|
36
|
+
<line num="101" count="0" type="stmt"/>
|
|
37
|
+
<line num="104" count="0" type="stmt"/>
|
|
38
|
+
<line num="105" count="0" type="stmt"/>
|
|
39
|
+
<line num="108" count="0" type="stmt"/>
|
|
40
|
+
<line num="109" count="0" type="stmt"/>
|
|
41
|
+
<line num="112" count="0" type="stmt"/>
|
|
42
|
+
<line num="113" count="0" type="stmt"/>
|
|
43
|
+
<line num="118" count="0" type="stmt"/>
|
|
44
|
+
<line num="119" count="0" type="stmt"/>
|
|
45
|
+
<line num="122" count="0" type="stmt"/>
|
|
46
|
+
<line num="123" count="0" type="stmt"/>
|
|
47
|
+
<line num="126" count="0" type="stmt"/>
|
|
48
|
+
<line num="127" count="0" type="stmt"/>
|
|
49
|
+
<line num="130" count="0" type="stmt"/>
|
|
50
|
+
<line num="131" count="0" type="stmt"/>
|
|
51
|
+
<line num="134" count="0" type="stmt"/>
|
|
52
|
+
<line num="135" count="0" type="stmt"/>
|
|
53
|
+
<line num="138" count="0" type="stmt"/>
|
|
54
|
+
<line num="139" count="0" type="stmt"/>
|
|
55
|
+
<line num="142" count="0" type="stmt"/>
|
|
56
|
+
<line num="143" count="0" type="stmt"/>
|
|
57
|
+
<line num="146" count="0" type="stmt"/>
|
|
58
|
+
<line num="147" count="0" type="stmt"/>
|
|
59
|
+
<line num="151" count="0" type="stmt"/>
|
|
60
|
+
<line num="152" count="0" type="stmt"/>
|
|
61
|
+
<line num="156" count="0" type="stmt"/>
|
|
61
62
|
<line num="157" count="0" type="stmt"/>
|
|
62
|
-
<line num="
|
|
63
|
+
<line num="160" count="0" type="stmt"/>
|
|
63
64
|
<line num="161" count="0" type="stmt"/>
|
|
64
|
-
<line num="
|
|
65
|
-
<line num="169" count="0" type="stmt"/>
|
|
65
|
+
<line num="164" count="0" type="stmt"/>
|
|
66
66
|
</file>
|
|
67
67
|
</package>
|
|
68
68
|
<package name="src.api">
|
|
69
|
-
<metrics statements="
|
|
69
|
+
<metrics statements="318" coveredstatements="269" conditionals="178" coveredconditionals="123" methods="49" coveredmethods="46"/>
|
|
70
70
|
<file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
|
|
71
71
|
<metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
|
|
72
72
|
<line num="25" count="2" type="stmt"/>
|
|
@@ -151,53 +151,26 @@
|
|
|
151
151
|
<line num="255" count="1" type="stmt"/>
|
|
152
152
|
</file>
|
|
153
153
|
<file name="faceLiveness.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/faceLiveness.js">
|
|
154
|
-
<metrics statements="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
159
|
-
<line num="
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
154
|
+
<metrics statements="19" coveredstatements="18" conditionals="10" coveredconditionals="9" methods="3" coveredmethods="3"/>
|
|
155
|
+
<line num="9" count="2" type="stmt"/>
|
|
156
|
+
<line num="10" count="2" type="stmt"/>
|
|
157
|
+
<line num="11" count="2" type="stmt"/>
|
|
158
|
+
<line num="15" count="2" type="stmt"/>
|
|
159
|
+
<line num="20" count="1" type="stmt"/>
|
|
160
|
+
<line num="22" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
161
|
+
<line num="23" count="1" type="stmt"/>
|
|
162
|
+
<line num="25" count="0" type="stmt"/>
|
|
163
|
+
<line num="29" count="2" type="stmt"/>
|
|
164
|
+
<line num="30" count="1" type="stmt"/>
|
|
164
165
|
<line num="45" count="2" type="stmt"/>
|
|
165
|
-
<line num="46" count="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="54" count="
|
|
168
|
-
<line num="
|
|
166
|
+
<line num="46" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
167
|
+
<line num="47" count="1" type="stmt"/>
|
|
168
|
+
<line num="54" count="4" type="stmt"/>
|
|
169
|
+
<line num="56" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
170
|
+
<line num="57" count="2" type="stmt"/>
|
|
171
|
+
<line num="59" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
169
172
|
<line num="60" count="1" type="stmt"/>
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="64" count="5" type="cond" truecount="5" falsecount="0"/>
|
|
172
|
-
<line num="66" count="1" type="stmt"/>
|
|
173
|
-
<line num="67" count="1" type="stmt"/>
|
|
174
|
-
<line num="69" count="1" type="stmt"/>
|
|
175
|
-
<line num="70" count="1" type="stmt"/>
|
|
176
|
-
<line num="72" count="1" type="stmt"/>
|
|
177
|
-
<line num="73" count="1" type="stmt"/>
|
|
178
|
-
<line num="75" count="1" type="stmt"/>
|
|
179
|
-
<line num="76" count="1" type="stmt"/>
|
|
180
|
-
<line num="78" count="1" type="stmt"/>
|
|
181
|
-
<line num="80" count="4" type="stmt"/>
|
|
182
|
-
<line num="82" count="0" type="stmt"/>
|
|
183
|
-
<line num="86" count="2" type="stmt"/>
|
|
184
|
-
<line num="87" count="1" type="stmt"/>
|
|
185
|
-
<line num="100" count="2" type="stmt"/>
|
|
186
|
-
<line num="101" count="6" type="stmt"/>
|
|
187
|
-
<line num="103" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
188
|
-
<line num="104" count="4" type="stmt"/>
|
|
189
|
-
<line num="106" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
190
|
-
<line num="107" count="1" type="stmt"/>
|
|
191
|
-
<line num="110" count="1" type="stmt"/>
|
|
192
|
-
<line num="123" count="2" type="stmt"/>
|
|
193
|
-
<line num="124" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
194
|
-
<line num="125" count="1" type="stmt"/>
|
|
195
|
-
<line num="132" count="7" type="stmt"/>
|
|
196
|
-
<line num="134" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
197
|
-
<line num="135" count="6" type="stmt"/>
|
|
198
|
-
<line num="137" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
199
|
-
<line num="138" count="1" type="stmt"/>
|
|
200
|
-
<line num="141" count="0" type="stmt"/>
|
|
173
|
+
<line num="63" count="1" type="stmt"/>
|
|
201
174
|
</file>
|
|
202
175
|
<file name="revocations.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/revocations.js">
|
|
203
176
|
<metrics statements="36" coveredstatements="31" conditionals="20" coveredconditionals="16" methods="6" coveredmethods="5"/>
|
|
@@ -239,7 +212,7 @@
|
|
|
239
212
|
<line num="104" count="0" type="stmt"/>
|
|
240
213
|
</file>
|
|
241
214
|
<file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
|
|
242
|
-
<metrics statements="
|
|
215
|
+
<metrics statements="155" coveredstatements="134" conditionals="81" coveredconditionals="56" methods="24" coveredmethods="24"/>
|
|
243
216
|
<line num="24" count="2" type="stmt"/>
|
|
244
217
|
<line num="25" count="1" type="stmt"/>
|
|
245
218
|
<line num="27" count="1" type="stmt"/>
|
|
@@ -318,65 +291,83 @@
|
|
|
318
291
|
<line num="227" count="0" type="stmt"/>
|
|
319
292
|
<line num="233" count="2" type="stmt"/>
|
|
320
293
|
<line num="234" count="1" type="stmt"/>
|
|
321
|
-
<line num="
|
|
322
|
-
<line num="
|
|
323
|
-
<line num="
|
|
294
|
+
<line num="241" count="2" type="stmt"/>
|
|
295
|
+
<line num="242" count="3" type="stmt"/>
|
|
296
|
+
<line num="244" count="2" type="stmt"/>
|
|
297
|
+
<line num="250" count="2" type="stmt"/>
|
|
298
|
+
<line num="251" count="2" type="stmt"/>
|
|
324
299
|
<line num="256" count="1" type="stmt"/>
|
|
325
|
-
<line num="
|
|
326
|
-
<line num="
|
|
327
|
-
<line num="
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="
|
|
332
|
-
<line num="
|
|
333
|
-
<line num="
|
|
334
|
-
<line num="
|
|
335
|
-
<line num="
|
|
336
|
-
<line num="
|
|
337
|
-
<line num="
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
346
|
-
<line num="
|
|
347
|
-
<line num="
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
350
|
-
<line num="
|
|
351
|
-
<line num="
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="
|
|
357
|
-
<line num="
|
|
358
|
-
<line num="
|
|
359
|
-
<line num="
|
|
360
|
-
<line num="
|
|
361
|
-
<line num="
|
|
362
|
-
<line num="
|
|
363
|
-
<line num="
|
|
364
|
-
<line num="
|
|
365
|
-
<line num="
|
|
366
|
-
<line num="
|
|
367
|
-
<line num="
|
|
368
|
-
<line num="
|
|
369
|
-
<line num="
|
|
370
|
-
<line num="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="
|
|
373
|
-
<line num="
|
|
374
|
-
<line num="
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="
|
|
377
|
-
<line num="
|
|
378
|
-
<line num="
|
|
379
|
-
<line num="
|
|
300
|
+
<line num="258" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
301
|
+
<line num="259" count="0" type="stmt"/>
|
|
302
|
+
<line num="261" count="1" type="stmt"/>
|
|
303
|
+
<line num="267" count="2" type="stmt"/>
|
|
304
|
+
<line num="268" count="1" type="stmt"/>
|
|
305
|
+
<line num="286" count="2" type="stmt"/>
|
|
306
|
+
<line num="287" count="3" type="stmt"/>
|
|
307
|
+
<line num="289" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
308
|
+
<line num="290" count="1" type="stmt"/>
|
|
309
|
+
<line num="293" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
310
|
+
<line num="294" count="1" type="stmt"/>
|
|
311
|
+
<line num="297" count="1" type="stmt"/>
|
|
312
|
+
<line num="310" count="2" type="stmt"/>
|
|
313
|
+
<line num="311" count="4" type="stmt"/>
|
|
314
|
+
<line num="313" count="4" type="stmt"/>
|
|
315
|
+
<line num="315" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
316
|
+
<line num="316" count="2" type="stmt"/>
|
|
317
|
+
<line num="319" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
318
|
+
<line num="320" count="1" type="stmt"/>
|
|
319
|
+
<line num="323" count="1" type="stmt"/>
|
|
320
|
+
<line num="336" count="2" type="stmt"/>
|
|
321
|
+
<line num="337" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
322
|
+
<line num="342" count="1" type="stmt"/>
|
|
323
|
+
<line num="348" count="3" type="stmt"/>
|
|
324
|
+
<line num="350" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
325
|
+
<line num="351" count="1" type="stmt"/>
|
|
326
|
+
<line num="354" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
327
|
+
<line num="355" count="1" type="stmt"/>
|
|
328
|
+
<line num="358" count="1" type="stmt"/>
|
|
329
|
+
<line num="371" count="2" type="stmt"/>
|
|
330
|
+
<line num="372" count="5" type="stmt"/>
|
|
331
|
+
<line num="374" count="3" type="stmt"/>
|
|
332
|
+
<line num="376" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
333
|
+
<line num="377" count="2" type="stmt"/>
|
|
334
|
+
<line num="380" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
335
|
+
<line num="381" count="1" type="stmt"/>
|
|
336
|
+
<line num="384" count="0" type="stmt"/>
|
|
337
|
+
<line num="398" count="2" type="stmt"/>
|
|
338
|
+
<line num="399" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
339
|
+
<line num="400" count="2" type="stmt"/>
|
|
340
|
+
<line num="407" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
341
|
+
<line num="408" count="1" type="stmt"/>
|
|
342
|
+
<line num="415" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
343
|
+
<line num="416" count="1" type="stmt"/>
|
|
344
|
+
<line num="423" count="3" type="stmt"/>
|
|
345
|
+
<line num="425" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
346
|
+
<line num="426" count="1" type="stmt"/>
|
|
347
|
+
<line num="429" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
348
|
+
<line num="430" count="1" type="stmt"/>
|
|
349
|
+
<line num="433" count="1" type="stmt"/>
|
|
350
|
+
<line num="445" count="2" type="stmt"/>
|
|
351
|
+
<line num="446" count="3" type="stmt"/>
|
|
352
|
+
<line num="448" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
353
|
+
<line num="449" count="1" type="stmt"/>
|
|
354
|
+
<line num="452" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
355
|
+
<line num="453" count="1" type="stmt"/>
|
|
356
|
+
<line num="456" count="1" type="stmt"/>
|
|
357
|
+
<line num="468" count="2" type="stmt"/>
|
|
358
|
+
<line num="469" count="3" type="stmt"/>
|
|
359
|
+
<line num="471" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
360
|
+
<line num="472" count="1" type="stmt"/>
|
|
361
|
+
<line num="475" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
362
|
+
<line num="476" count="1" type="stmt"/>
|
|
363
|
+
<line num="479" count="1" type="stmt"/>
|
|
364
|
+
<line num="492" count="2" type="stmt"/>
|
|
365
|
+
<line num="493" count="5" type="stmt"/>
|
|
366
|
+
<line num="495" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
367
|
+
<line num="496" count="3" type="stmt"/>
|
|
368
|
+
<line num="499" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
369
|
+
<line num="500" count="1" type="stmt"/>
|
|
370
|
+
<line num="503" count="1" type="stmt"/>
|
|
380
371
|
</file>
|
|
381
372
|
<file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
|
|
382
373
|
<metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
|
|
@@ -432,27 +423,27 @@
|
|
|
432
423
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
433
424
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
|
|
434
425
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
435
|
-
<line num="8" count="
|
|
436
|
-
<line num="9" count="
|
|
437
|
-
<line num="10" count="
|
|
438
|
-
<line num="11" count="
|
|
439
|
-
<line num="12" count="
|
|
440
|
-
<line num="15" count="
|
|
441
|
-
<line num="16" count="
|
|
426
|
+
<line num="8" count="82" type="stmt"/>
|
|
427
|
+
<line num="9" count="82" type="stmt"/>
|
|
428
|
+
<line num="10" count="82" type="stmt"/>
|
|
429
|
+
<line num="11" count="82" type="stmt"/>
|
|
430
|
+
<line num="12" count="82" type="stmt"/>
|
|
431
|
+
<line num="15" count="82" type="cond" truecount="1" falsecount="1"/>
|
|
432
|
+
<line num="16" count="82" type="stmt"/>
|
|
442
433
|
</file>
|
|
443
434
|
</package>
|
|
444
435
|
<package name="src.success">
|
|
445
436
|
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
446
437
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
|
|
447
438
|
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
448
|
-
<line num="3" count="
|
|
449
|
-
<line num="4" count="
|
|
450
|
-
<line num="5" count="
|
|
451
|
-
<line num="6" count="
|
|
439
|
+
<line num="3" count="19" type="stmt"/>
|
|
440
|
+
<line num="4" count="19" type="stmt"/>
|
|
441
|
+
<line num="5" count="19" type="stmt"/>
|
|
442
|
+
<line num="6" count="19" type="stmt"/>
|
|
452
443
|
</file>
|
|
453
444
|
</package>
|
|
454
445
|
<package name="src.utils">
|
|
455
|
-
<metrics statements="
|
|
446
|
+
<metrics statements="194" coveredstatements="19" conditionals="230" coveredconditionals="0" methods="23" coveredmethods="0"/>
|
|
456
447
|
<file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
|
|
457
448
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
458
449
|
<line num="1" count="9" type="stmt"/>
|
|
@@ -461,124 +452,145 @@
|
|
|
461
452
|
<line num="56" count="9" type="stmt"/>
|
|
462
453
|
</file>
|
|
463
454
|
<file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
|
|
464
|
-
<metrics statements="
|
|
465
|
-
<line num="
|
|
466
|
-
<line num="
|
|
467
|
-
<line num="
|
|
468
|
-
<line num="
|
|
469
|
-
<line num="
|
|
470
|
-
<line num="
|
|
471
|
-
<line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
455
|
+
<metrics statements="138" coveredstatements="12" conditionals="181" coveredconditionals="0" methods="16" coveredmethods="0"/>
|
|
456
|
+
<line num="11" count="2" type="stmt"/>
|
|
457
|
+
<line num="13" count="2" type="stmt"/>
|
|
458
|
+
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
459
|
+
<line num="19" count="0" type="stmt"/>
|
|
460
|
+
<line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
461
|
+
<line num="26" count="0" type="stmt"/>
|
|
472
462
|
<line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
473
|
-
<line num="34" count="0" type="
|
|
474
|
-
<line num="35" count="0" type="
|
|
475
|
-
<line num="
|
|
476
|
-
<line num="
|
|
477
|
-
<line num="
|
|
478
|
-
<line num="50" count="0" type="
|
|
479
|
-
<line num="51" count="0" type="
|
|
480
|
-
<line num="52" count="0" type="
|
|
481
|
-
<line num="
|
|
482
|
-
<line num="57" count="0" type="
|
|
483
|
-
<line num="58" count="0" type="
|
|
484
|
-
<line num="59" count="0" type="
|
|
485
|
-
<line num="
|
|
486
|
-
<line num="
|
|
487
|
-
<line num="64" count="0" type="
|
|
488
|
-
<line num="
|
|
489
|
-
<line num="
|
|
490
|
-
<line num="79" count="
|
|
463
|
+
<line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
464
|
+
<line num="35" count="0" type="stmt"/>
|
|
465
|
+
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
466
|
+
<line num="41" count="0" type="stmt"/>
|
|
467
|
+
<line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
468
|
+
<line num="50" count="0" type="stmt"/>
|
|
469
|
+
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
470
|
+
<line num="52" count="0" type="stmt"/>
|
|
471
|
+
<line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
472
|
+
<line num="57" count="0" type="stmt"/>
|
|
473
|
+
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
474
|
+
<line num="59" count="0" type="stmt"/>
|
|
475
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
476
|
+
<line num="62" count="0" type="stmt"/>
|
|
477
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
478
|
+
<line num="65" count="0" type="stmt"/>
|
|
479
|
+
<line num="71" count="0" type="stmt"/>
|
|
480
|
+
<line num="79" count="2" type="stmt"/>
|
|
491
481
|
<line num="80" count="0" type="stmt"/>
|
|
492
|
-
<line num="
|
|
482
|
+
<line num="81" count="0" type="stmt"/>
|
|
493
483
|
<line num="85" count="0" type="stmt"/>
|
|
494
484
|
<line num="86" count="0" type="stmt"/>
|
|
495
485
|
<line num="87" count="0" type="stmt"/>
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="91" count="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="101" count="
|
|
501
|
-
<line num="
|
|
486
|
+
<line num="88" count="0" type="stmt"/>
|
|
487
|
+
<line num="91" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
488
|
+
<line num="92" count="0" type="stmt"/>
|
|
489
|
+
<line num="98" count="0" type="stmt"/>
|
|
490
|
+
<line num="101" count="2" type="stmt"/>
|
|
491
|
+
<line num="102" count="0" type="stmt"/>
|
|
502
492
|
<line num="104" count="0" type="stmt"/>
|
|
503
|
-
<line num="
|
|
504
|
-
<line num="
|
|
505
|
-
<line num="
|
|
506
|
-
<line num="115" count="0" type="
|
|
507
|
-
<line num="116" count="0" type="
|
|
508
|
-
<line num="
|
|
509
|
-
<line num="
|
|
510
|
-
<line num="
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="
|
|
514
|
-
<line num="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="158" count="0" type="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="164" count="0" type="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="172" count="0" type="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="180" count="0" type="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="192" count="0" type="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="211" count="0" type="
|
|
533
|
-
<line num="212" count="0" type="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="222" count="0" type="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="232" count="0" type="
|
|
538
|
-
<line num="
|
|
493
|
+
<line num="105" count="0" type="stmt"/>
|
|
494
|
+
<line num="107" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
495
|
+
<line num="113" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
496
|
+
<line num="115" count="0" type="stmt"/>
|
|
497
|
+
<line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
498
|
+
<line num="117" count="0" type="stmt"/>
|
|
499
|
+
<line num="120" count="0" type="stmt"/>
|
|
500
|
+
<line num="123" count="2" type="stmt"/>
|
|
501
|
+
<line num="125" count="0" type="stmt"/>
|
|
502
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
503
|
+
<line num="131" count="0" type="stmt"/>
|
|
504
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
505
|
+
<line num="143" count="0" type="stmt"/>
|
|
506
|
+
<line num="145" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
507
|
+
<line num="150" count="0" type="stmt"/>
|
|
508
|
+
<line num="152" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
509
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
510
|
+
<line num="159" count="0" type="stmt"/>
|
|
511
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
512
|
+
<line num="165" count="0" type="stmt"/>
|
|
513
|
+
<line num="172" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
514
|
+
<line num="173" count="0" type="stmt"/>
|
|
515
|
+
<line num="180" count="0" type="stmt"/>
|
|
516
|
+
<line num="181" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
517
|
+
<line num="185" count="0" type="stmt"/>
|
|
518
|
+
<line num="192" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
519
|
+
<line num="193" count="0" type="stmt"/>
|
|
520
|
+
<line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
521
|
+
<line num="204" count="0" type="stmt"/>
|
|
522
|
+
<line num="211" count="0" type="stmt"/>
|
|
523
|
+
<line num="212" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
524
|
+
<line num="213" count="0" type="stmt"/>
|
|
525
|
+
<line num="222" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
526
|
+
<line num="223" count="0" type="stmt"/>
|
|
527
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
528
|
+
<line num="233" count="0" type="stmt"/>
|
|
539
529
|
<line num="243" count="0" type="stmt"/>
|
|
540
530
|
<line num="244" count="0" type="stmt"/>
|
|
541
|
-
<line num="
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="253" count="0" type="
|
|
544
|
-
<line num="254" count="0" type="
|
|
545
|
-
<line num="255" count="0" type="
|
|
546
|
-
<line num="256" count="0" type="
|
|
547
|
-
<line num="257" count="0" type="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="265" count="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="282" count="
|
|
554
|
-
<line num="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="307" count="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="323" count="
|
|
562
|
-
<line num="324" count="0" type="
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="334" count="0" type="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="342" count="0" type="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="350" count="0" type="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="358" count="0" type="
|
|
572
|
-
<line num="
|
|
531
|
+
<line num="245" count="0" type="stmt"/>
|
|
532
|
+
<line num="247" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
533
|
+
<line num="253" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
534
|
+
<line num="254" count="0" type="stmt"/>
|
|
535
|
+
<line num="255" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
536
|
+
<line num="256" count="0" type="stmt"/>
|
|
537
|
+
<line num="257" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
538
|
+
<line num="258" count="0" type="stmt"/>
|
|
539
|
+
<line num="262" count="0" type="stmt"/>
|
|
540
|
+
<line num="265" count="2" type="stmt"/>
|
|
541
|
+
<line num="266" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
542
|
+
<line num="273" count="0" type="stmt"/>
|
|
543
|
+
<line num="282" count="2" type="stmt"/>
|
|
544
|
+
<line num="283" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
545
|
+
<line num="288" count="0" type="stmt"/>
|
|
546
|
+
<line num="295" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
547
|
+
<line num="299" count="0" type="stmt"/>
|
|
548
|
+
<line num="307" count="2" type="stmt"/>
|
|
549
|
+
<line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
550
|
+
<line num="315" count="0" type="stmt"/>
|
|
551
|
+
<line num="323" count="2" type="stmt"/>
|
|
552
|
+
<line num="324" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
553
|
+
<line num="325" count="0" type="stmt"/>
|
|
554
|
+
<line num="332" count="0" type="stmt"/>
|
|
555
|
+
<line num="334" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
556
|
+
<line num="335" count="0" type="stmt"/>
|
|
557
|
+
<line num="342" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
558
|
+
<line num="343" count="0" type="stmt"/>
|
|
559
|
+
<line num="350" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
560
|
+
<line num="351" count="0" type="stmt"/>
|
|
561
|
+
<line num="358" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
562
|
+
<line num="359" count="0" type="stmt"/>
|
|
573
563
|
<line num="366" count="0" type="stmt"/>
|
|
574
|
-
<line num="
|
|
575
|
-
<line num="
|
|
564
|
+
<line num="367" count="0" type="stmt"/>
|
|
565
|
+
<line num="370" count="0" type="stmt"/>
|
|
576
566
|
<line num="378" count="0" type="stmt"/>
|
|
577
567
|
<line num="379" count="0" type="stmt"/>
|
|
578
|
-
<line num="
|
|
579
|
-
<line num="
|
|
580
|
-
<line num="384" count="0" type="
|
|
581
|
-
<line num="
|
|
568
|
+
<line num="380" count="0" type="stmt"/>
|
|
569
|
+
<line num="382" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
570
|
+
<line num="384" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
571
|
+
<line num="385" count="0" type="stmt"/>
|
|
572
|
+
<line num="388" count="0" type="stmt"/>
|
|
573
|
+
<line num="391" count="2" type="stmt"/>
|
|
574
|
+
<line num="392" count="0" type="stmt"/>
|
|
575
|
+
<line num="393" count="0" type="stmt"/>
|
|
576
|
+
<line num="394" count="0" type="stmt"/>
|
|
577
|
+
<line num="395" count="0" type="stmt"/>
|
|
578
|
+
<line num="396" count="0" type="stmt"/>
|
|
579
|
+
<line num="398" count="0" type="stmt"/>
|
|
580
|
+
<line num="399" count="0" type="stmt"/>
|
|
581
|
+
<line num="402" count="0" type="stmt"/>
|
|
582
|
+
<line num="403" count="0" type="stmt"/>
|
|
583
|
+
<line num="406" count="2" type="stmt"/>
|
|
584
|
+
<line num="407" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
585
|
+
<line num="408" count="0" type="stmt"/>
|
|
586
|
+
<line num="415" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
587
|
+
<line num="416" count="0" type="stmt"/>
|
|
588
|
+
<line num="423" count="0" type="stmt"/>
|
|
589
|
+
<line num="424" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
590
|
+
<line num="425" count="0" type="stmt"/>
|
|
591
|
+
<line num="432" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
592
|
+
<line num="433" count="0" type="stmt"/>
|
|
593
|
+
<line num="440" count="0" type="stmt"/>
|
|
582
594
|
</file>
|
|
583
595
|
<file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
|
|
584
596
|
<metrics statements="52" coveredstatements="3" conditionals="49" coveredconditionals="0" methods="7" coveredmethods="0"/>
|