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