apacuana-sdk-core 1.26.1 → 1.26.2
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 +8 -0
- package/README.md +69 -0
- package/coverage/clover.xml +181 -136
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +27 -27
- 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 +417 -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 +41 -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 +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 +325 -235
- package/dist/api/signatures.d.ts +5 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +288 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +288 -90
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/signatures.js +136 -0
- package/src/index.js +11 -0
- package/tests/api/signatures.test.js +166 -2
- package/tests/integration/createAndLockDocument.test.js +93 -0
- package/coverage/lcov-report/api/index.html +0 -131
- package/coverage/lcov-report/api/signatures.js.html +0 -1093
- package/coverage/lcov-report/api/users.js.html +0 -292
- package/coverage/lcov-report/certs.js.html +0 -175
- package/coverage/lcov-report/config/index.html +0 -116
- package/coverage/lcov-report/config/index.js.html +0 -208
- package/coverage/lcov-report/errors/index.html +0 -116
- package/coverage/lcov-report/errors/index.js.html +0 -148
- package/coverage/lcov-report/utils/constant.js.html +0 -145
- package/coverage/lcov-report/utils/httpClient.js.html +0 -646
- package/coverage/lcov-report/utils/index.html +0 -131
package/.env
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
APACUANA_API_URL=https://api.dev.apacuana.3dlinkweb.com
|
|
2
|
+
APACUANA_SECRET_KEY=fvTaYQzi1tubvKVZ2P9Ev3nw7v9WyEGh5k7PM9HDz8AB9J9uygJf76ihW9mTa8T08pv4Ww7XLY9r4B5KDc4BDikMJ6KGUJnX85CNh6QwDvBrS1apb5e3VVTWgHug7Y5f
|
|
3
|
+
APACUANA_API_KEY=07NTZW6cCgSCKjhzSe1UJ2uJ6fTXHaAFKcfDtJqV5Vnhg0h2BitNr6iYCeM7ZZ7CpcAVcQqk4EP0VmxvWPkTgBczpa8mGZjSU2V4zr56CpqLUM1AfjvXw79Gt4nppiTW
|
|
4
|
+
APACUANA_VERIFICATION_ID=53d1daa5-cc7a-4a70-ae46-1a3e8a405f7a
|
|
5
|
+
APACUANA_INTEGRATION_TYPE=ONBOARDING
|
|
6
|
+
APACUANA_CUSTOMER_ID=0f313054-f923-4905-98bb-0158c2f59a91
|
|
7
|
+
APACUANA_DOCUMENT_ID=cc3ff044-966b-412d-af48-7ccc628b8cb8
|
|
8
|
+
APACUANA_DOCUMENT_REFERENCE=reunion-bdt-2
|
package/README.md
CHANGED
|
@@ -65,6 +65,8 @@ El SDK puede inicializarse sin el parámetro `customerId`, lo que permite el acc
|
|
|
65
65
|
- `getCertTypes()`
|
|
66
66
|
- `getRequerimentsByTypeUser(params)`
|
|
67
67
|
- `createApacuanaUser(params)`
|
|
68
|
+
- `createDocument(params)`
|
|
69
|
+
- `lockDocument(documentId)`
|
|
68
70
|
|
|
69
71
|
**Funciones privadas (requieren `customerId`):**
|
|
70
72
|
|
|
@@ -678,6 +680,73 @@ try {
|
|
|
678
680
|
}
|
|
679
681
|
```
|
|
680
682
|
|
|
683
|
+
### `createDocument(params)`
|
|
684
|
+
|
|
685
|
+
Crea un nuevo documento que podrá ser firmado posteriormente. Este método **no requiere `customerId`** para ser invocado.
|
|
686
|
+
|
|
687
|
+
#### Parámetros:
|
|
688
|
+
|
|
689
|
+
- **`params`**: Objeto con los datos del documento a crear.
|
|
690
|
+
- `name` (String, **obligatorio**): Nombre del documento.
|
|
691
|
+
- `reference` (String, **obligatorio**): Referencia única del documento.
|
|
692
|
+
|
|
693
|
+
#### Comportamiento:
|
|
694
|
+
|
|
695
|
+
- Solo disponible para `integrationType: ONBOARDING`. Si se usa con `ONPREMISE`, lanzará un error `NOT_IMPLEMENTED`.
|
|
696
|
+
- Realiza una solicitud POST al endpoint `services/api/documents/` enviando los datos como `multipart/form-data`.
|
|
697
|
+
|
|
698
|
+
#### Respuesta:
|
|
699
|
+
|
|
700
|
+
```js
|
|
701
|
+
{
|
|
702
|
+
success: true,
|
|
703
|
+
data: {
|
|
704
|
+
msg: "Documento creado",
|
|
705
|
+
id: "ef3344bb-d114-46b5-8356-90ec113cbbbd"
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
#### Ejemplo:
|
|
711
|
+
|
|
712
|
+
```javascript
|
|
713
|
+
try {
|
|
714
|
+
const response = await apacuana.createDocument({
|
|
715
|
+
name: "prueba",
|
|
716
|
+
reference: "prueba",
|
|
717
|
+
});
|
|
718
|
+
console.log("Documento creado con ID:", response.data.id);
|
|
719
|
+
} catch (error) {
|
|
720
|
+
console.error("Error al crear el documento:", error.message);
|
|
721
|
+
}
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
### `lockDocument(documentId)`
|
|
725
|
+
|
|
726
|
+
Bloquea un documento existente para evitar modificaciones. Este método **no requiere `customerId`** para ser invocado.
|
|
727
|
+
|
|
728
|
+
#### Parámetros:
|
|
729
|
+
|
|
730
|
+
- **`documentId`** (String, **obligatorio**): ID (UUID) del documento que se desea bloquear.
|
|
731
|
+
|
|
732
|
+
#### Comportamiento:
|
|
733
|
+
|
|
734
|
+
- Solo disponible para `integrationType: ONBOARDING`. Si se usa con `ONPREMISE`, lanzará un error `NOT_IMPLEMENTED`.
|
|
735
|
+
- Realiza una solicitud PUT al endpoint `services/api/documents/lock/{documentId}`.
|
|
736
|
+
|
|
737
|
+
#### Ejemplo:
|
|
738
|
+
|
|
739
|
+
```javascript
|
|
740
|
+
try {
|
|
741
|
+
const response = await apacuana.lockDocument(
|
|
742
|
+
"ccb318a8-e8ff-4a17-ba20-10acbcd96785"
|
|
743
|
+
);
|
|
744
|
+
console.log("Documento bloqueado:", response.data);
|
|
745
|
+
} catch (error) {
|
|
746
|
+
console.error("Error al bloquear el documento:", error.message);
|
|
747
|
+
}
|
|
748
|
+
```
|
|
749
|
+
|
|
681
750
|
### `createApacuanaUser(params)`
|
|
682
751
|
|
|
683
752
|
Crea un nuevo usuario en la plataforma de Apacuana. Este método puede llamarse varias veces para ir completando la información de forma parcial; no es necesario enviar todos los datos en una sola llamada. Sin embargo, en cada actualización es obligatorio enviar el número de documento de identidad (`kinddoc+doc`). El registro inicial debe incluir el documento de identidad.
|
package/coverage/clover.xml
CHANGED
|
@@ -1,72 +1,76 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1781723609226" clover="3.2.0">
|
|
3
|
+
<project timestamp="1781723609227" name="All files">
|
|
4
|
+
<metrics statements="637" coveredstatements="358" conditionals="466" coveredconditionals="155" methods="105" coveredmethods="55" elements="1208" coveredelements="568" complexity="0" loc="637" ncloc="637" packages="6" files="12" classes="12"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="61" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="22" 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="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="62" count="2" type="stmt"/>
|
|
23
|
-
<line num="63" count="2" type="stmt"/>
|
|
8
|
+
<metrics statements="61" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="22" coveredmethods="1"/>
|
|
9
|
+
<line num="32" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
10
|
+
<line num="33" count="0" type="stmt"/>
|
|
11
|
+
<line num="35" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
12
|
+
<line num="36" count="0" type="stmt"/>
|
|
13
|
+
<line num="43" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
14
|
+
<line num="44" count="0" type="stmt"/>
|
|
15
|
+
<line num="52" count="1" type="stmt"/>
|
|
16
|
+
<line num="57" count="4" type="stmt"/>
|
|
17
|
+
<line num="58" count="4" type="stmt"/>
|
|
18
|
+
<line num="59" count="3" type="stmt"/>
|
|
19
|
+
<line num="60" count="3" type="stmt"/>
|
|
20
|
+
<line num="62" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
21
|
+
<line num="63" count="3" type="stmt"/>
|
|
24
22
|
<line num="64" count="2" type="stmt"/>
|
|
25
23
|
<line num="65" count="2" type="stmt"/>
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="78" count="
|
|
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="
|
|
61
|
-
<line num="
|
|
62
|
-
<line num="
|
|
63
|
-
<line num="
|
|
64
|
-
<line num="
|
|
65
|
-
<line num="
|
|
24
|
+
<line num="66" count="2" type="stmt"/>
|
|
25
|
+
<line num="67" count="2" type="stmt"/>
|
|
26
|
+
<line num="73" count="0" type="stmt"/>
|
|
27
|
+
<line num="78" count="2" type="stmt"/>
|
|
28
|
+
<line num="79" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
29
|
+
<line num="80" count="0" type="stmt"/>
|
|
30
|
+
<line num="82" count="2" type="stmt"/>
|
|
31
|
+
<line num="92" count="0" type="stmt"/>
|
|
32
|
+
<line num="93" count="0" type="stmt"/>
|
|
33
|
+
<line num="96" count="0" type="stmt"/>
|
|
34
|
+
<line num="97" count="0" type="stmt"/>
|
|
35
|
+
<line num="102" count="0" type="stmt"/>
|
|
36
|
+
<line num="103" count="0" type="stmt"/>
|
|
37
|
+
<line num="106" count="0" type="stmt"/>
|
|
38
|
+
<line num="107" count="0" type="stmt"/>
|
|
39
|
+
<line num="110" count="0" type="stmt"/>
|
|
40
|
+
<line num="111" count="0" type="stmt"/>
|
|
41
|
+
<line num="114" count="0" type="stmt"/>
|
|
42
|
+
<line num="115" count="0" type="stmt"/>
|
|
43
|
+
<line num="120" count="0" type="stmt"/>
|
|
44
|
+
<line num="121" count="0" type="stmt"/>
|
|
45
|
+
<line num="124" count="0" type="stmt"/>
|
|
46
|
+
<line num="125" count="0" type="stmt"/>
|
|
47
|
+
<line num="128" count="0" type="stmt"/>
|
|
48
|
+
<line num="129" count="0" type="stmt"/>
|
|
49
|
+
<line num="132" count="0" type="stmt"/>
|
|
50
|
+
<line num="133" count="0" type="stmt"/>
|
|
51
|
+
<line num="136" count="0" type="stmt"/>
|
|
52
|
+
<line num="137" count="0" type="stmt"/>
|
|
53
|
+
<line num="140" count="0" type="stmt"/>
|
|
54
|
+
<line num="141" count="0" type="stmt"/>
|
|
55
|
+
<line num="144" count="0" type="stmt"/>
|
|
56
|
+
<line num="145" count="0" type="stmt"/>
|
|
57
|
+
<line num="148" count="0" type="stmt"/>
|
|
58
|
+
<line num="149" count="0" type="stmt"/>
|
|
59
|
+
<line num="153" count="0" type="stmt"/>
|
|
60
|
+
<line num="154" count="0" type="stmt"/>
|
|
61
|
+
<line num="158" count="0" type="stmt"/>
|
|
62
|
+
<line num="159" count="0" type="stmt"/>
|
|
63
|
+
<line num="162" count="0" type="stmt"/>
|
|
64
|
+
<line num="163" count="0" type="stmt"/>
|
|
65
|
+
<line num="167" count="0" type="stmt"/>
|
|
66
|
+
<line num="168" count="0" type="stmt"/>
|
|
67
|
+
<line num="171" count="0" type="stmt"/>
|
|
68
|
+
<line num="172" count="0" type="stmt"/>
|
|
69
|
+
<line num="175" count="0" type="stmt"/>
|
|
66
70
|
</file>
|
|
67
71
|
</package>
|
|
68
72
|
<package name="src.api">
|
|
69
|
-
<metrics statements="
|
|
73
|
+
<metrics statements="359" coveredstatements="308" conditionals="207" coveredconditionals="148" methods="55" coveredmethods="52"/>
|
|
70
74
|
<file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
|
|
71
75
|
<metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
|
|
72
76
|
<line num="25" count="2" type="stmt"/>
|
|
@@ -212,7 +216,7 @@
|
|
|
212
216
|
<line num="104" count="0" type="stmt"/>
|
|
213
217
|
</file>
|
|
214
218
|
<file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
|
|
215
|
-
<metrics statements="
|
|
219
|
+
<metrics statements="196" coveredstatements="173" conditionals="110" coveredconditionals="81" methods="30" coveredmethods="30"/>
|
|
216
220
|
<line num="24" count="2" type="stmt"/>
|
|
217
221
|
<line num="25" count="1" type="stmt"/>
|
|
218
222
|
<line num="27" count="1" type="stmt"/>
|
|
@@ -302,72 +306,113 @@
|
|
|
302
306
|
<line num="259" count="1" type="stmt"/>
|
|
303
307
|
<line num="265" count="2" type="stmt"/>
|
|
304
308
|
<line num="266" count="1" type="stmt"/>
|
|
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="
|
|
309
|
+
<line num="273" count="2" type="stmt"/>
|
|
310
|
+
<line num="274" count="2" type="stmt"/>
|
|
311
|
+
<line num="275" count="2" type="stmt"/>
|
|
312
|
+
<line num="276" count="2" type="stmt"/>
|
|
313
|
+
<line num="277" count="2" type="stmt"/>
|
|
314
|
+
<line num="278" count="2" type="stmt"/>
|
|
315
|
+
<line num="283" count="1" type="stmt"/>
|
|
316
|
+
<line num="288" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
317
|
+
<line num="289" count="0" type="stmt"/>
|
|
318
|
+
<line num="291" count="1" type="stmt"/>
|
|
319
|
+
<line num="297" count="2" type="stmt"/>
|
|
320
|
+
<line num="298" count="1" type="stmt"/>
|
|
321
|
+
<line num="305" count="2" type="stmt"/>
|
|
322
|
+
<line num="306" count="2" type="stmt"/>
|
|
323
|
+
<line num="307" count="2" type="stmt"/>
|
|
324
|
+
<line num="312" count="1" type="stmt"/>
|
|
325
|
+
<line num="314" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
326
|
+
<line num="315" count="0" type="stmt"/>
|
|
327
|
+
<line num="317" count="1" type="stmt"/>
|
|
328
|
+
<line num="323" count="2" type="stmt"/>
|
|
329
|
+
<line num="324" count="1" type="stmt"/>
|
|
330
|
+
<line num="342" count="2" type="stmt"/>
|
|
331
|
+
<line num="343" count="3" type="stmt"/>
|
|
332
|
+
<line num="345" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
333
|
+
<line num="346" count="1" type="stmt"/>
|
|
334
|
+
<line num="349" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
335
|
+
<line num="350" count="1" type="stmt"/>
|
|
327
336
|
<line num="353" count="1" type="stmt"/>
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="
|
|
332
|
-
<line num="
|
|
333
|
-
<line num="375" count="2" type="
|
|
334
|
-
<line num="
|
|
337
|
+
<line num="366" count="2" type="stmt"/>
|
|
338
|
+
<line num="367" count="4" type="stmt"/>
|
|
339
|
+
<line num="369" count="4" type="stmt"/>
|
|
340
|
+
<line num="371" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
341
|
+
<line num="372" count="2" type="stmt"/>
|
|
342
|
+
<line num="375" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
343
|
+
<line num="376" count="1" type="stmt"/>
|
|
335
344
|
<line num="379" count="1" type="stmt"/>
|
|
336
|
-
<line num="
|
|
337
|
-
<line num="
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
345
|
+
<line num="392" count="2" type="stmt"/>
|
|
346
|
+
<line num="393" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
347
|
+
<line num="398" count="1" type="stmt"/>
|
|
348
|
+
<line num="404" count="3" type="stmt"/>
|
|
349
|
+
<line num="406" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
350
|
+
<line num="407" count="1" type="stmt"/>
|
|
351
|
+
<line num="410" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
352
|
+
<line num="411" count="1" type="stmt"/>
|
|
343
353
|
<line num="414" count="1" type="stmt"/>
|
|
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="
|
|
354
|
+
<line num="427" count="2" type="stmt"/>
|
|
355
|
+
<line num="428" count="5" type="stmt"/>
|
|
356
|
+
<line num="430" count="3" type="stmt"/>
|
|
357
|
+
<line num="432" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
358
|
+
<line num="433" count="2" type="stmt"/>
|
|
359
|
+
<line num="436" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
360
|
+
<line num="437" count="1" type="stmt"/>
|
|
361
|
+
<line num="440" count="0" type="stmt"/>
|
|
362
|
+
<line num="454" count="2" type="stmt"/>
|
|
363
|
+
<line num="455" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
364
|
+
<line num="456" count="2" type="stmt"/>
|
|
365
|
+
<line num="463" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
366
|
+
<line num="464" count="1" type="stmt"/>
|
|
367
|
+
<line num="471" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
368
|
+
<line num="472" count="1" type="stmt"/>
|
|
369
|
+
<line num="479" count="3" type="stmt"/>
|
|
370
|
+
<line num="481" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
371
|
+
<line num="482" count="1" type="stmt"/>
|
|
372
|
+
<line num="485" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
373
|
+
<line num="486" count="1" type="stmt"/>
|
|
374
|
+
<line num="489" count="1" type="stmt"/>
|
|
375
|
+
<line num="501" count="2" type="stmt"/>
|
|
376
|
+
<line num="502" count="3" type="stmt"/>
|
|
377
|
+
<line num="504" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
378
|
+
<line num="505" count="1" type="stmt"/>
|
|
379
|
+
<line num="508" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
380
|
+
<line num="509" count="1" type="stmt"/>
|
|
381
|
+
<line num="512" count="1" type="stmt"/>
|
|
382
|
+
<line num="524" count="2" type="stmt"/>
|
|
383
|
+
<line num="525" count="3" type="stmt"/>
|
|
384
|
+
<line num="527" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
385
|
+
<line num="528" count="1" type="stmt"/>
|
|
386
|
+
<line num="531" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
387
|
+
<line num="532" count="1" type="stmt"/>
|
|
388
|
+
<line num="535" count="1" type="stmt"/>
|
|
389
|
+
<line num="548" count="2" type="stmt"/>
|
|
390
|
+
<line num="549" count="5" type="stmt"/>
|
|
391
|
+
<line num="551" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
392
|
+
<line num="552" count="3" type="stmt"/>
|
|
393
|
+
<line num="555" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
394
|
+
<line num="556" count="1" type="stmt"/>
|
|
395
|
+
<line num="559" count="1" type="stmt"/>
|
|
396
|
+
<line num="574" count="2" type="stmt"/>
|
|
397
|
+
<line num="575" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
398
|
+
<line num="580" count="1" type="stmt"/>
|
|
399
|
+
<line num="587" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
400
|
+
<line num="588" count="1" type="stmt"/>
|
|
401
|
+
<line num="595" count="4" type="stmt"/>
|
|
402
|
+
<line num="597" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
403
|
+
<line num="598" count="2" type="stmt"/>
|
|
404
|
+
<line num="601" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
405
|
+
<line num="602" count="1" type="stmt"/>
|
|
406
|
+
<line num="605" count="1" type="stmt"/>
|
|
407
|
+
<line num="618" count="2" type="stmt"/>
|
|
408
|
+
<line num="619" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
409
|
+
<line num="620" count="2" type="stmt"/>
|
|
410
|
+
<line num="627" count="4" type="stmt"/>
|
|
411
|
+
<line num="629" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
412
|
+
<line num="630" count="2" type="stmt"/>
|
|
413
|
+
<line num="633" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
414
|
+
<line num="634" count="1" type="stmt"/>
|
|
415
|
+
<line num="637" count="1" type="stmt"/>
|
|
371
416
|
</file>
|
|
372
417
|
<file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
|
|
373
418
|
<metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
|
|
@@ -423,23 +468,23 @@
|
|
|
423
468
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
424
469
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
|
|
425
470
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
426
|
-
<line num="8" count="
|
|
427
|
-
<line num="9" count="
|
|
428
|
-
<line num="10" count="
|
|
429
|
-
<line num="11" count="
|
|
430
|
-
<line num="12" count="
|
|
431
|
-
<line num="15" count="
|
|
432
|
-
<line num="16" count="
|
|
471
|
+
<line num="8" count="102" type="stmt"/>
|
|
472
|
+
<line num="9" count="102" type="stmt"/>
|
|
473
|
+
<line num="10" count="102" type="stmt"/>
|
|
474
|
+
<line num="11" count="102" type="stmt"/>
|
|
475
|
+
<line num="12" count="102" type="stmt"/>
|
|
476
|
+
<line num="15" count="102" type="cond" truecount="1" falsecount="1"/>
|
|
477
|
+
<line num="16" count="102" type="stmt"/>
|
|
433
478
|
</file>
|
|
434
479
|
</package>
|
|
435
480
|
<package name="src.success">
|
|
436
481
|
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
437
482
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/success/index.js">
|
|
438
483
|
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
439
|
-
<line num="3" count="
|
|
440
|
-
<line num="4" count="
|
|
441
|
-
<line num="5" count="
|
|
442
|
-
<line num="6" count="
|
|
484
|
+
<line num="3" count="21" type="stmt"/>
|
|
485
|
+
<line num="4" count="21" type="stmt"/>
|
|
486
|
+
<line num="5" count="21" type="stmt"/>
|
|
487
|
+
<line num="6" count="21" type="stmt"/>
|
|
443
488
|
</file>
|
|
444
489
|
</package>
|
|
445
490
|
<package name="src.utils">
|