apacuana-sdk-core 1.25.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 +33 -0
- package/coverage/clover.xml +141 -110
- package/coverage/coverage-final.json +5 -5
- package/coverage/lcov-report/index.html +33 -33
- package/coverage/lcov-report/src/api/certs.js.html +1 -1
- package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
- package/coverage/lcov-report/src/api/index.html +18 -18
- 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 +15 -15
- package/coverage/lcov-report/src/index.js.html +23 -8
- 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 +122 -8
- 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 +267 -202
- package/dist/api/signatures.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +190 -80
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +190 -80
- package/dist/index.mjs.map +1 -1
- package/dist/types/signatures.d.ts +18 -0
- package/dist/utils/helpers.d.ts +2 -0
- package/package.json +3 -2
- package/src/api/signatures.js +58 -0
- package/src/index.js +5 -0
- package/src/types/signatures.js +13 -1
- package/src/utils/helpers.js +38 -0
- package/tests/api/signatures.test.js +90 -0
- package/tests/integration/addMember.test.js +105 -0
package/.env.example
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Apacuana SDK - Integration Test Environment Variables
|
|
2
|
+
# Copy this file to .env and fill in your values
|
|
3
|
+
|
|
4
|
+
APACUANA_API_URL=https://api.dev.apacuana.3dlinkweb.com
|
|
5
|
+
APACUANA_SECRET_KEY=your-secret-key-here
|
|
6
|
+
APACUANA_API_KEY=your-api-key-here
|
|
7
|
+
APACUANA_VERIFICATION_ID=your-verification-id-here
|
|
8
|
+
APACUANA_INTEGRATION_TYPE=ONBOARDING
|
|
9
|
+
APACUANA_CUSTOMER_ID=your-customer-id-here
|
|
10
|
+
APACUANA_DOCUMENT_ID=cc3ff044-966b-412d-af48-7ccc628b8cb8
|
package/README.md
CHANGED
|
@@ -72,6 +72,7 @@ El SDK puede inicializarse sin el parámetro `customerId`, lo que permite el acc
|
|
|
72
72
|
- `generateCert(params)`
|
|
73
73
|
- `getCertStatus(params)`
|
|
74
74
|
- `addSigner(params)`
|
|
75
|
+
- `addMember(params)`
|
|
75
76
|
- `getDocs(params)`
|
|
76
77
|
- `getDigest(params)`
|
|
77
78
|
- `signDocument(params)`
|
|
@@ -375,6 +376,38 @@ try {
|
|
|
375
376
|
}
|
|
376
377
|
```
|
|
377
378
|
|
|
379
|
+
### `addMember(params)`
|
|
380
|
+
|
|
381
|
+
Añade un signatario a un documento existente. Este método permite agregar un nuevo signatario a un documento que ya fue creado, asignándole un tipo y número de documento.
|
|
382
|
+
|
|
383
|
+
#### Parámetros:
|
|
384
|
+
|
|
385
|
+
- **`params`**: Objeto con los datos del signatario.
|
|
386
|
+
- `documentId` (String, **obligatorio**): ID del documento al que se agregará el signatario.
|
|
387
|
+
- `typedoc` (String, **obligatorio**): Tipo de documento de identidad del signatario. Valores permitidos: "V", "P", "E".
|
|
388
|
+
- `doc` (String, **obligatorio**): Número de documento de identidad del signatario.
|
|
389
|
+
|
|
390
|
+
#### Comportamiento:
|
|
391
|
+
|
|
392
|
+
- Solo disponible para `integrationType: ONBOARDING`. Si se usa con `ONPREMISE`, lanzará un error `NOT_IMPLEMENTED`.
|
|
393
|
+
- Realiza una solicitud PUT al endpoint `services/api/documents/addmember`.
|
|
394
|
+
|
|
395
|
+
#### Ejemplo:
|
|
396
|
+
|
|
397
|
+
```javascript
|
|
398
|
+
try {
|
|
399
|
+
const member = {
|
|
400
|
+
documentId: "cc3ff044-966b-412d-af48-7ccc628b8cb8",
|
|
401
|
+
typedoc: "V",
|
|
402
|
+
doc: "28152139",
|
|
403
|
+
};
|
|
404
|
+
const response = await apacuana.addMember(member);
|
|
405
|
+
console.log("Signatario añadido:", response.data);
|
|
406
|
+
} catch (error) {
|
|
407
|
+
console.error("Error al añadir signatario:", error.message);
|
|
408
|
+
}
|
|
409
|
+
```
|
|
410
|
+
|
|
378
411
|
### `getDocs(data)`
|
|
379
412
|
|
|
380
413
|
Obtiene una lista paginada de documentos asociados al usuario autenticado, permitiendo aplicar filtros avanzados.
|
package/coverage/clover.xml
CHANGED
|
@@ -1,70 +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
|
-
<metrics statements="
|
|
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
|
-
<metrics statements="
|
|
9
|
-
<line num="
|
|
10
|
-
<line num="
|
|
11
|
-
<line num="
|
|
12
|
-
<line num="
|
|
13
|
-
<line num="
|
|
14
|
-
<line num="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="54" count="4" type="stmt"/>
|
|
8
|
+
<metrics statements="57" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="20" coveredmethods="1"/>
|
|
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"/>
|
|
17
16
|
<line num="55" count="4" type="stmt"/>
|
|
18
|
-
<line num="56" count="
|
|
17
|
+
<line num="56" count="4" type="stmt"/>
|
|
19
18
|
<line num="57" count="3" type="stmt"/>
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="60" count="3" type="
|
|
22
|
-
<line num="61" count="
|
|
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"/>
|
|
23
22
|
<line num="62" count="2" type="stmt"/>
|
|
24
23
|
<line num="63" count="2" type="stmt"/>
|
|
25
24
|
<line num="64" count="2" type="stmt"/>
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="76" count="2" type="
|
|
29
|
-
<line num="77" count="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
25
|
+
<line num="65" count="2" 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"/>
|
|
32
31
|
<line num="90" count="0" type="stmt"/>
|
|
33
|
-
<line num="
|
|
32
|
+
<line num="91" count="0" type="stmt"/>
|
|
34
33
|
<line num="94" count="0" type="stmt"/>
|
|
35
|
-
<line num="
|
|
34
|
+
<line num="95" count="0" type="stmt"/>
|
|
36
35
|
<line num="100" count="0" type="stmt"/>
|
|
37
|
-
<line num="
|
|
36
|
+
<line num="101" count="0" type="stmt"/>
|
|
38
37
|
<line num="104" count="0" type="stmt"/>
|
|
39
|
-
<line num="
|
|
38
|
+
<line num="105" count="0" type="stmt"/>
|
|
40
39
|
<line num="108" count="0" type="stmt"/>
|
|
41
|
-
<line num="
|
|
40
|
+
<line num="109" count="0" type="stmt"/>
|
|
42
41
|
<line num="112" count="0" type="stmt"/>
|
|
43
|
-
<line num="
|
|
42
|
+
<line num="113" count="0" type="stmt"/>
|
|
44
43
|
<line num="118" count="0" type="stmt"/>
|
|
45
|
-
<line num="
|
|
44
|
+
<line num="119" count="0" type="stmt"/>
|
|
46
45
|
<line num="122" count="0" type="stmt"/>
|
|
47
|
-
<line num="
|
|
46
|
+
<line num="123" count="0" type="stmt"/>
|
|
48
47
|
<line num="126" count="0" type="stmt"/>
|
|
49
|
-
<line num="
|
|
48
|
+
<line num="127" count="0" type="stmt"/>
|
|
50
49
|
<line num="130" count="0" type="stmt"/>
|
|
51
|
-
<line num="
|
|
50
|
+
<line num="131" count="0" type="stmt"/>
|
|
52
51
|
<line num="134" count="0" type="stmt"/>
|
|
53
|
-
<line num="
|
|
52
|
+
<line num="135" count="0" type="stmt"/>
|
|
54
53
|
<line num="138" count="0" type="stmt"/>
|
|
55
|
-
<line num="
|
|
54
|
+
<line num="139" count="0" type="stmt"/>
|
|
56
55
|
<line num="142" count="0" type="stmt"/>
|
|
56
|
+
<line num="143" count="0" type="stmt"/>
|
|
57
57
|
<line num="146" count="0" type="stmt"/>
|
|
58
58
|
<line num="147" count="0" type="stmt"/>
|
|
59
59
|
<line num="151" count="0" type="stmt"/>
|
|
60
60
|
<line num="152" count="0" type="stmt"/>
|
|
61
|
-
<line num="155" count="0" type="stmt"/>
|
|
62
61
|
<line num="156" count="0" type="stmt"/>
|
|
63
|
-
<line num="
|
|
62
|
+
<line num="157" count="0" type="stmt"/>
|
|
63
|
+
<line num="160" count="0" type="stmt"/>
|
|
64
|
+
<line num="161" count="0" type="stmt"/>
|
|
65
|
+
<line num="164" count="0" type="stmt"/>
|
|
64
66
|
</file>
|
|
65
67
|
</package>
|
|
66
68
|
<package name="src.api">
|
|
67
|
-
<metrics statements="
|
|
69
|
+
<metrics statements="318" coveredstatements="269" conditionals="178" coveredconditionals="123" methods="49" coveredmethods="46"/>
|
|
68
70
|
<file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
|
|
69
71
|
<metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
|
|
70
72
|
<line num="25" count="2" type="stmt"/>
|
|
@@ -210,7 +212,7 @@
|
|
|
210
212
|
<line num="104" count="0" type="stmt"/>
|
|
211
213
|
</file>
|
|
212
214
|
<file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
|
|
213
|
-
<metrics statements="
|
|
215
|
+
<metrics statements="155" coveredstatements="134" conditionals="81" coveredconditionals="56" methods="24" coveredmethods="24"/>
|
|
214
216
|
<line num="24" count="2" type="stmt"/>
|
|
215
217
|
<line num="25" count="1" type="stmt"/>
|
|
216
218
|
<line num="27" count="1" type="stmt"/>
|
|
@@ -289,65 +291,83 @@
|
|
|
289
291
|
<line num="227" count="0" type="stmt"/>
|
|
290
292
|
<line num="233" count="2" type="stmt"/>
|
|
291
293
|
<line num="234" count="1" type="stmt"/>
|
|
292
|
-
<line num="
|
|
293
|
-
<line num="
|
|
294
|
-
<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"/>
|
|
295
299
|
<line num="256" count="1" type="stmt"/>
|
|
296
|
-
<line num="
|
|
297
|
-
<line num="
|
|
298
|
-
<line num="
|
|
299
|
-
<line num="
|
|
300
|
-
<line num="
|
|
301
|
-
<line num="
|
|
302
|
-
<line num="
|
|
303
|
-
<line num="
|
|
304
|
-
<line num="
|
|
305
|
-
<line num="
|
|
306
|
-
<line num="
|
|
307
|
-
<line num="
|
|
308
|
-
<line num="
|
|
309
|
-
<line num="
|
|
310
|
-
<line num="
|
|
311
|
-
<line num="
|
|
312
|
-
<line num="
|
|
313
|
-
<line num="
|
|
314
|
-
<line num="
|
|
315
|
-
<line num="
|
|
316
|
-
<line num="
|
|
317
|
-
<line num="
|
|
318
|
-
<line num="
|
|
319
|
-
<line num="
|
|
320
|
-
<line num="
|
|
321
|
-
<line num="
|
|
322
|
-
<line num="
|
|
323
|
-
<line num="
|
|
324
|
-
<line num="
|
|
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="
|
|
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"/>
|
|
351
371
|
</file>
|
|
352
372
|
<file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
|
|
353
373
|
<metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
|
|
@@ -403,27 +423,27 @@
|
|
|
403
423
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
404
424
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
|
|
405
425
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
406
|
-
<line num="8" count="
|
|
407
|
-
<line num="9" count="
|
|
408
|
-
<line num="10" count="
|
|
409
|
-
<line num="11" count="
|
|
410
|
-
<line num="12" count="
|
|
411
|
-
<line num="15" count="
|
|
412
|
-
<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"/>
|
|
413
433
|
</file>
|
|
414
434
|
</package>
|
|
415
435
|
<package name="src.success">
|
|
416
436
|
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
417
437
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
|
|
418
438
|
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
419
|
-
<line num="3" count="
|
|
420
|
-
<line num="4" count="
|
|
421
|
-
<line num="5" count="
|
|
422
|
-
<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"/>
|
|
423
443
|
</file>
|
|
424
444
|
</package>
|
|
425
445
|
<package name="src.utils">
|
|
426
|
-
<metrics statements="
|
|
446
|
+
<metrics statements="194" coveredstatements="19" conditionals="230" coveredconditionals="0" methods="23" coveredmethods="0"/>
|
|
427
447
|
<file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
|
|
428
448
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
429
449
|
<line num="1" count="9" type="stmt"/>
|
|
@@ -432,7 +452,7 @@
|
|
|
432
452
|
<line num="56" count="9" type="stmt"/>
|
|
433
453
|
</file>
|
|
434
454
|
<file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
|
|
435
|
-
<metrics statements="
|
|
455
|
+
<metrics statements="138" coveredstatements="12" conditionals="181" coveredconditionals="0" methods="16" coveredmethods="0"/>
|
|
436
456
|
<line num="11" count="2" type="stmt"/>
|
|
437
457
|
<line num="13" count="2" type="stmt"/>
|
|
438
458
|
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -560,6 +580,17 @@
|
|
|
560
580
|
<line num="399" count="0" type="stmt"/>
|
|
561
581
|
<line num="402" count="0" type="stmt"/>
|
|
562
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"/>
|
|
563
594
|
</file>
|
|
564
595
|
<file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
|
|
565
596
|
<metrics statements="52" coveredstatements="3" conditionals="49" coveredconditionals="0" methods="7" coveredmethods="0"/>
|