santoid-sdk 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +265 -52
  3. package/api/ApiAsyncService.d.ts +32 -0
  4. package/api/ApiAsyncService.js +15 -0
  5. package/api/ApiFaceMatchService.d.ts +31 -0
  6. package/api/ApiFaceMatchService.js +32 -0
  7. package/api/ApiOcrService.d.ts +61 -0
  8. package/api/ApiOcrService.js +25 -0
  9. package/api/ApiTypificationService.d.ts +23 -0
  10. package/api/{TypificationService.js → ApiTypificationService.js} +8 -9
  11. package/browser/index.js +1 -1
  12. package/client/core/commons/BaseCoreService.d.ts +22 -0
  13. package/client/core/commons/BaseCoreService.js +150 -0
  14. package/client/core/index.d.ts +4 -0
  15. package/client/core/index.js +9 -0
  16. package/client/core/methods/faceMatch/Service.d.ts +20 -0
  17. package/client/core/methods/faceMatch/Service.js +126 -0
  18. package/client/core/methods/faceMatch/index.d.ts +15 -0
  19. package/client/core/methods/faceMatch/index.js +43 -0
  20. package/client/core/methods/ocr/Service.d.ts +13 -0
  21. package/client/core/methods/ocr/Service.js +56 -0
  22. package/client/core/methods/ocr/index.d.ts +10 -0
  23. package/client/core/methods/ocr/index.js +40 -0
  24. package/client/core/methods/typification/Service.d.ts +10 -0
  25. package/client/core/methods/typification/Service.js +56 -0
  26. package/client/core/methods/typification/index.d.ts +10 -0
  27. package/client/core/methods/typification/index.js +41 -0
  28. package/client/core/utils/types.d.ts +26 -0
  29. package/client/core/utils/types.js +2 -0
  30. package/client/index.d.ts +6 -0
  31. package/client/index.js +6 -0
  32. package/client/liveness/methods/livenessDetection/Service.js +10 -2
  33. package/client/liveness/methods/livenessDetection/index.js +5 -1
  34. package/client/liveness/methods/uploadIdentificationDocument/Service.d.ts +19 -19
  35. package/client/liveness/methods/uploadIdentificationDocument/Service.js +8 -4
  36. package/client/liveness/methods/uploadIdentificationDocument/index.d.ts +4 -6
  37. package/client/liveness/utils/getNextFrame.js +7 -2
  38. package/package.json +1 -1
  39. package/server/core/index.d.ts +4 -0
  40. package/server/core/index.js +9 -0
  41. package/server/core/methods/faceMatch/Service.d.ts +9 -0
  42. package/server/core/methods/faceMatch/Service.js +23 -0
  43. package/server/core/methods/faceMatch/index.d.ts +7 -0
  44. package/server/core/methods/faceMatch/index.js +28 -0
  45. package/server/core/methods/ocr/Service.d.ts +9 -0
  46. package/server/core/methods/ocr/Service.js +23 -0
  47. package/server/core/methods/ocr/index.d.ts +7 -0
  48. package/server/core/methods/ocr/index.js +28 -0
  49. package/server/core/methods/typification/Service.d.ts +9 -0
  50. package/server/core/methods/typification/Service.js +23 -0
  51. package/server/core/methods/typification/index.d.ts +7 -0
  52. package/server/core/methods/typification/index.js +28 -0
  53. package/server/index.d.ts +6 -0
  54. package/server/index.js +6 -0
  55. package/server/liveness/methods/livenessDetection/index.js +5 -1
  56. package/server/liveness/methods/uploadIdentificationDocument/Service.d.ts +2 -2
  57. package/server/liveness/methods/uploadIdentificationDocument/Service.js +4 -4
  58. package/server/liveness/methods/uploadIdentificationDocument/index.d.ts +6 -8
  59. package/utils/error.d.ts +19 -2
  60. package/utils/error.js +21 -2
  61. package/utils/types.d.ts +1 -0
  62. package/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan/sonarcloud-scan.log +0 -295
  63. package/api/FaceMatchService.d.ts +0 -42
  64. package/api/FaceMatchService.js +0 -26
  65. package/api/TypificationService.d.ts +0 -90
@@ -1,295 +0,0 @@
1
- 19:07:55.059 INFO Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
2
- 19:07:55.064 INFO Project root configuration file: NONE
3
- 19:07:55.083 INFO SonarScanner CLI 6.2.1.4610
4
- 19:07:55.086 INFO Java 17.0.12 Amazon.com Inc. (64-bit)
5
- 19:07:55.088 INFO Linux 6.1.79 amd64
6
- 19:07:55.090 INFO SONAR_SCANNER_OPTS=-Xmx2048m
7
- 19:07:55.142 INFO User cache: /opt/sonar-scanner/.sonar/cache
8
- 19:07:55.942 INFO JRE provisioning: os[linux], arch[x86_64]
9
- 19:08:00.737 INFO Communicating with SonarCloud
10
- 19:08:01.636 INFO Starting SonarScanner Engine...
11
- 19:08:01.637 INFO Java 17.0.11 Eclipse Adoptium (64-bit)
12
- 19:08:02.943 INFO Load global settings
13
- 19:08:03.430 INFO Load global settings (done) | time=488ms
14
- 19:08:03.434 INFO Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
15
- 19:08:03.726 INFO Loading required plugins
16
- 19:08:03.726 INFO Load plugins index
17
- 19:08:03.867 INFO Load plugins index (done) | time=141ms
18
- 19:08:03.868 INFO Load/download plugins
19
- 19:08:04.778 INFO Load/download plugins (done) | time=911ms
20
- 19:08:05.237 INFO Found an active CI vendor: 'Bitbucket Pipelines'
21
- 19:08:05.385 INFO Detected project key 'santodigital_santoid-sdk-javascript' from 'Bitbucket Cloud Pipelines'
22
- 19:08:05.386 INFO Detected organization key 'santodigital' from 'Bitbucket Cloud Pipelines'
23
- 19:08:05.390 INFO Load project settings for component key: 'santodigital_santoid-sdk-javascript'
24
- 19:08:05.606 INFO Load project settings for component key: 'santodigital_santoid-sdk-javascript' (done) | time=214ms
25
- 19:08:05.629 INFO Process project properties
26
- 19:08:05.643 INFO Project key: santodigital_santoid-sdk-javascript
27
- 19:08:05.644 INFO Base dir: /opt/atlassian/pipelines/agent/build
28
- 19:08:05.644 INFO Working dir: /opt/atlassian/pipelines/agent/build/.scannerwork
29
- 19:08:05.650 INFO Load project branches
30
- 19:08:05.844 INFO Load project branches (done) | time=195ms
31
- 19:08:05.848 INFO Check ALM binding of project 'santodigital_santoid-sdk-javascript'
32
- 19:08:05.987 INFO Detected project binding: BOUND
33
- 19:08:05.987 INFO Check ALM binding of project 'santodigital_santoid-sdk-javascript' (done) | time=139ms
34
- 19:08:05.989 INFO Load project pull requests
35
- 19:08:06.226 INFO Load project pull requests (done) | time=236ms
36
- 19:08:06.229 INFO Load branch configuration
37
- 19:08:06.231 INFO Detected analysis for branch 'master'
38
- 19:08:06.231 INFO Auto-configuring branch master
39
- 19:08:06.232 INFO Load branch configuration (done) | time=4ms
40
- 19:08:06.243 INFO Load quality profiles
41
- 19:08:06.512 INFO Load quality profiles (done) | time=269ms
42
- 19:08:06.520 INFO Load active rules
43
- 19:08:16.694 INFO Load active rules (done) | time=10137ms
44
- 19:08:17.322 INFO Organization key: santodigital
45
- 19:08:17.324 INFO Branch name: master, type: long-lived
46
- 19:08:17.345 INFO Preprocessing files...
47
- 19:08:17.515 INFO 1 language detected in 40 preprocessed files
48
- 19:08:17.516 INFO 0 files ignored because of inclusion/exclusion patterns
49
- 19:08:17.516 INFO 0 files ignored because of scm ignore settings
50
- 19:08:17.597 INFO Loading plugins for detected languages
51
- 19:08:17.598 INFO Load/download plugins
52
- 19:08:19.790 INFO Load/download plugins (done) | time=2193ms
53
- 19:08:20.255 INFO Load project repositories
54
- 19:08:20.419 INFO Load project repositories (done) | time=164ms
55
- 19:08:20.428 INFO Indexing files...
56
- 19:08:20.429 INFO Project configuration:
57
- 19:08:20.430 INFO Excluded sources: **/build-wrapper-dump.json, __tests__/**/*.test.ts
58
- 19:08:20.431 INFO Included tests: __tests__/**/*.test.ts
59
- 19:08:20.506 INFO 40 files indexed
60
- 19:08:20.511 INFO Quality profile for ts: Sonar way
61
- 19:08:20.512 INFO ------------- Run sensors on module santodigital_santoid-sdk-javascript
62
- 19:08:20.561 INFO Load metrics repository
63
- 19:08:20.699 INFO Load metrics repository (done) | time=138ms
64
- 19:08:20.705 INFO Sensor cache enabled
65
- 19:08:21.036 INFO Load sensor cache
66
- 19:08:22.505 INFO Load sensor cache (101 KB) | time=1469ms
67
- 19:08:23.143 INFO Sensor JaCoCo XML Report Importer [jacoco]
68
- 19:08:23.144 INFO 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
69
- 19:08:23.145 INFO No report imported, no coverage information will be imported by JaCoCo XML Report Importer
70
- 19:08:23.148 INFO Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
71
- 19:08:23.149 INFO Sensor Java Config Sensor [iac]
72
- 19:08:23.183 INFO 0 source files to be analyzed
73
- 19:08:23.193 INFO 0/0 source files have been analyzed
74
- 19:08:23.194 INFO Sensor Java Config Sensor [iac] (done) | time=48ms
75
- 19:08:23.194 INFO Sensor JavaScript/TypeScript analysis [javascript]
76
- 19:08:23.427 INFO Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64
77
- 19:08:23.428 INFO Deploy location /opt/sonar-scanner/.sonar/js/node-runtime, tagetRuntime: /opt/sonar-scanner/.sonar/js/node-runtime/node, version: /opt/sonar-scanner/.sonar/js/node-runtime/version.txt
78
- 19:08:27.425 INFO Using embedded Node.js runtime.
79
- 19:08:27.425 INFO Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'.
80
- 19:08:30.068 INFO Memory configuration: OS (10191 MB), Node.js (2096 MB).
81
- 19:08:33.895 INFO Found 1 tsconfig.json file(s): [/opt/atlassian/pipelines/agent/build/tsconfig.json]
82
- 19:08:33.898 INFO Creating TypeScript program
83
- 19:08:33.898 INFO TypeScript configuration file /opt/atlassian/pipelines/agent/build/tsconfig.json
84
- 19:08:33.898 INFO 40 source files to be analyzed
85
- 19:08:35.301 INFO Starting analysis with current program
86
- 19:08:40.644 INFO Analyzed 40 file(s) with current program
87
- 19:08:40.668 INFO 40/40 source files have been analyzed
88
- 19:08:40.670 INFO Hit the cache for 0 out of 40
89
- 19:08:40.672 INFO Miss the cache for 40 out of 40: ANALYSIS_MODE_INELIGIBLE [40/40]
90
- 19:08:40.673 INFO Sensor JavaScript/TypeScript analysis [javascript] (done) | time=17478ms
91
- 19:08:40.673 INFO Sensor CSS Rules [javascript]
92
- 19:08:40.674 INFO No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
93
- 19:08:40.674 INFO Sensor CSS Rules [javascript] (done) | time=1ms
94
- 19:08:40.676 INFO Sensor JavaScript/TypeScript Coverage [javascript]
95
- 19:08:40.676 INFO Analysing [/opt/atlassian/pipelines/agent/build/coverage/lcov.info]
96
- 19:08:40.702 INFO Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=27ms
97
- 19:08:40.704 INFO Sensor IaC Docker Sensor [iac]
98
- 19:08:40.801 INFO 0 source files to be analyzed
99
- 19:08:40.802 INFO 0/0 source files have been analyzed
100
- 19:08:40.803 INFO Sensor IaC Docker Sensor [iac] (done) | time=99ms
101
- 19:08:40.804 INFO Sensor Serverless configuration file sensor [security]
102
- 19:08:40.805 INFO 0 Serverless function entries were found in the project
103
- 19:08:40.811 INFO 0 Serverless function handlers were kept as entrypoints
104
- 19:08:40.812 INFO Sensor Serverless configuration file sensor [security] (done) | time=8ms
105
- 19:08:40.812 INFO Sensor AWS SAM template file sensor [security]
106
- 19:08:40.813 INFO Sensor AWS SAM template file sensor [security] (done) | time=1ms
107
- 19:08:40.814 INFO Sensor AWS SAM Inline template file sensor [security]
108
- 19:08:40.820 INFO Sensor AWS SAM Inline template file sensor [security] (done) | time=6ms
109
- 19:08:40.821 INFO Sensor EnterpriseTextAndSecretsSensor [textenterprise]
110
- 19:08:40.821 INFO Available processors: 4
111
- 19:08:40.821 INFO Using 4 threads for analysis.
112
- 19:08:41.467 INFO Using git CLI to retrieve untracked files
113
- 19:08:41.471 WARN Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
114
- 19:08:41.497 INFO 40 source files to be analyzed
115
- 19:08:42.017 INFO 40/40 source files have been analyzed
116
- 19:08:42.019 INFO Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=1198ms
117
- 19:08:42.020 INFO Sensor JavaSecuritySensor [security]
118
- 19:08:42.029 INFO Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S5883, S6096, S6173, S6287, S6350, S6384, S6390, S6398, S6399, S6547, S6549, S7044
119
- 19:08:42.031 INFO Load type hierarchy and UCFGs: Starting
120
- 19:08:42.031 INFO Load type hierarchy: Starting
121
- 19:08:42.031 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/java
122
- 19:08:42.032 INFO Read 0 type definitions
123
- 19:08:42.034 INFO Load type hierarchy: Time spent was 00:00:00.002
124
- 19:08:42.034 INFO Load UCFGs: Starting
125
- 19:08:42.035 INFO Load UCFGs: Time spent was 00:00:00.000
126
- 19:08:42.035 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.004
127
- 19:08:42.035 INFO No UCFGs have been included for analysis.
128
- 19:08:42.052 INFO java security sensor: Time spent was 00:00:00.027
129
- 19:08:42.054 INFO java security sensor: Begin: 2025-03-27T19:08:42.024243642Z, End: 2025-03-27T19:08:42.051289905Z, Duration: 00:00:00.027
130
- Load type hierarchy and UCFGs: Begin: 2025-03-27T19:08:42.030648933Z, End: 2025-03-27T19:08:42.034774543Z, Duration: 00:00:00.004
131
- Load type hierarchy: Begin: 2025-03-27T19:08:42.030917834Z, End: 2025-03-27T19:08:42.033687887Z, Duration: 00:00:00.002
132
- Load UCFGs: Begin: 2025-03-27T19:08:42.034369602Z, End: 2025-03-27T19:08:42.034529817Z, Duration: 00:00:00.000
133
- 19:08:42.054 INFO java security sensor peak memory: 212 MB
134
- 19:08:42.055 INFO Sensor JavaSecuritySensor [security] (done) | time=35ms
135
- 19:08:42.055 INFO Sensor CSharpSecuritySensor [security]
136
- 19:08:42.056 INFO Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6547, S6549, S6639, S6641, S6680, S6776, S7044
137
- 19:08:42.057 INFO Load type hierarchy and UCFGs: Starting
138
- 19:08:42.057 INFO Load type hierarchy: Starting
139
- 19:08:42.058 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/ucfg2/cs
140
- 19:08:42.058 INFO Read 0 type definitions
141
- 19:08:42.058 INFO Load type hierarchy: Time spent was 00:00:00.000
142
- 19:08:42.058 INFO Load UCFGs: Starting
143
- 19:08:42.059 INFO Load UCFGs: Time spent was 00:00:00.000
144
- 19:08:42.059 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.002
145
- 19:08:42.059 INFO No UCFGs have been included for analysis.
146
- 19:08:42.060 INFO csharp security sensor: Time spent was 00:00:00.004
147
- 19:08:42.061 INFO csharp security sensor: Begin: 2025-03-27T19:08:42.055261236Z, End: 2025-03-27T19:08:42.059906005Z, Duration: 00:00:00.004
148
- Load type hierarchy and UCFGs: Begin: 2025-03-27T19:08:42.056536545Z, End: 2025-03-27T19:08:42.058885037Z, Duration: 00:00:00.002
149
- Load type hierarchy: Begin: 2025-03-27T19:08:42.056570285Z, End: 2025-03-27T19:08:42.057544572Z, Duration: 00:00:00.000
150
- Load UCFGs: Begin: 2025-03-27T19:08:42.058007978Z, End: 2025-03-27T19:08:42.058527630Z, Duration: 00:00:00.000
151
- 19:08:42.061 INFO csharp security sensor peak memory: 212 MB
152
- 19:08:42.061 INFO Sensor CSharpSecuritySensor [security] (done) | time=7ms
153
- 19:08:42.062 INFO Sensor PhpSecuritySensor [security]
154
- 19:08:42.064 INFO Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350, S7044
155
- 19:08:42.064 INFO Load type hierarchy and UCFGs: Starting
156
- 19:08:42.065 INFO Load type hierarchy: Starting
157
- 19:08:42.065 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/php
158
- 19:08:42.065 INFO Read 0 type definitions
159
- 19:08:42.066 INFO Load type hierarchy: Time spent was 00:00:00.000
160
- 19:08:42.066 INFO Load UCFGs: Starting
161
- 19:08:42.066 INFO Load UCFGs: Time spent was 00:00:00.000
162
- 19:08:42.066 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.001
163
- 19:08:42.067 INFO No UCFGs have been included for analysis.
164
- 19:08:42.067 INFO php security sensor: Time spent was 00:00:00.004
165
- 19:08:42.068 INFO php security sensor: Begin: 2025-03-27T19:08:42.062546881Z, End: 2025-03-27T19:08:42.067251210Z, Duration: 00:00:00.004
166
- Load type hierarchy and UCFGs: Begin: 2025-03-27T19:08:42.064366568Z, End: 2025-03-27T19:08:42.065657360Z, Duration: 00:00:00.001
167
- Load type hierarchy: Begin: 2025-03-27T19:08:42.064390140Z, End: 2025-03-27T19:08:42.064608067Z, Duration: 00:00:00.000
168
- Load UCFGs: Begin: 2025-03-27T19:08:42.065216397Z, End: 2025-03-27T19:08:42.065352691Z, Duration: 00:00:00.000
169
- 19:08:42.068 INFO php security sensor peak memory: 212 MB
170
- 19:08:42.069 INFO Sensor PhpSecuritySensor [security] (done) | time=6ms
171
- 19:08:42.071 INFO Sensor PythonSecuritySensor [security]
172
- 19:08:42.074 INFO Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839, S7044
173
- 19:08:42.075 INFO Load type hierarchy and UCFGs: Starting
174
- 19:08:42.077 INFO Load type hierarchy: Starting
175
- 19:08:42.077 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/python
176
- 19:08:42.078 INFO Read 0 type definitions
177
- 19:08:42.078 INFO Load type hierarchy: Time spent was 00:00:00.000
178
- 19:08:42.078 INFO Load UCFGs: Starting
179
- 19:08:42.078 INFO Load UCFGs: Time spent was 00:00:00.000
180
- 19:08:42.079 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.000
181
- 19:08:42.079 INFO No UCFGs have been included for analysis.
182
- 19:08:42.079 INFO python security sensor: Time spent was 00:00:00.001
183
- 19:08:42.079 INFO python security sensor: Begin: 2025-03-27T19:08:42.069796092Z, End: 2025-03-27T19:08:42.071231069Z, Duration: 00:00:00.001
184
- Load type hierarchy and UCFGs: Begin: 2025-03-27T19:08:42.070285882Z, End: 2025-03-27T19:08:42.070791979Z, Duration: 00:00:00.000
185
- Load type hierarchy: Begin: 2025-03-27T19:08:42.070305338Z, End: 2025-03-27T19:08:42.070496844Z, Duration: 00:00:00.000
186
- Load UCFGs: Begin: 2025-03-27T19:08:42.070658582Z, End: 2025-03-27T19:08:42.070704327Z, Duration: 00:00:00.000
187
- 19:08:42.079 INFO python security sensor peak memory: 212 MB
188
- 19:08:42.079 INFO Sensor PythonSecuritySensor [security] (done) | time=3ms
189
- 19:08:42.080 INFO Sensor JsSecuritySensor [security]
190
- 19:08:42.080 INFO Enabled taint analysis rules: S2076, S2083, S2631, S3649, S5131, S5144, S5146, S5147, S5334, S5696, S5883, S6096, S6105, S6287, S6350
191
- 19:08:42.080 INFO Load type hierarchy and UCFGs: Starting
192
- 19:08:42.080 INFO Load type hierarchy: Starting
193
- 19:08:42.081 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/js
194
- 19:08:42.081 INFO Read 0 type definitions
195
- 19:08:42.081 INFO Load type hierarchy: Time spent was 00:00:00.001
196
- 19:08:42.081 INFO Load UCFGs: Starting
197
- 19:08:42.081 INFO Reading UCFGs from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/js
198
- 19:08:42.443 INFO Load UCFGs: Time spent was 00:00:00.366
199
- 19:08:42.444 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.369
200
- 19:08:42.444 INFO Analyzing 162 UCFGs to detect vulnerabilities.
201
- 19:08:42.445 INFO Check cache: Starting
202
- 19:08:42.446 INFO Load cache: Starting
203
- 19:08:42.447 INFO Load cache: Time spent was 00:00:00.000
204
- 19:08:42.448 INFO Check cache: Time spent was 00:00:00.002
205
- 19:08:42.448 INFO Create runtime call graph: Starting
206
- 19:08:42.450 INFO Variable Type Analysis #1: Starting
207
- 19:08:42.452 INFO Create runtime type propagation graph: Starting
208
- 19:08:42.508 INFO Create runtime type propagation graph: Time spent was 00:00:00.056
209
- 19:08:42.509 INFO Run SCC (Tarjan) on 914 nodes: Starting
210
- 19:08:42.516 INFO Run SCC (Tarjan) on 914 nodes: Time spent was 00:00:00.005
211
- 19:08:42.516 INFO Tarjan found 914 strongly connected components
212
- 19:08:42.517 INFO Propagate runtime types to strongly connected components: Starting
213
- 19:08:42.534 INFO Propagate runtime types to strongly connected components: Time spent was 00:00:00.017
214
- 19:08:42.535 INFO Variable Type Analysis #1: Time spent was 00:00:00.084
215
- 19:08:42.540 INFO Variable Type Analysis #2: Starting
216
- 19:08:42.541 INFO Create runtime type propagation graph: Starting
217
- 19:08:42.560 INFO Create runtime type propagation graph: Time spent was 00:00:00.021
218
- 19:08:42.561 INFO Run SCC (Tarjan) on 914 nodes: Starting
219
- 19:08:42.562 INFO Run SCC (Tarjan) on 914 nodes: Time spent was 00:00:00.001
220
- 19:08:42.562 INFO Tarjan found 914 strongly connected components
221
- 19:08:42.563 INFO Propagate runtime types to strongly connected components: Starting
222
- 19:08:42.566 INFO Propagate runtime types to strongly connected components: Time spent was 00:00:00.003
223
- 19:08:42.566 INFO Variable Type Analysis #2: Time spent was 00:00:00.028
224
- 19:08:42.568 INFO Create runtime call graph: Time spent was 00:00:00.119
225
- 19:08:42.568 INFO Load config: Starting
226
- 19:08:42.757 INFO Load config: Time spent was 00:00:00.188
227
- 19:08:42.758 INFO Compute entry points: Starting
228
- 19:08:42.774 INFO Compute entry points: Time spent was 00:00:00.016
229
- 19:08:42.774 INFO All rules entry points : 28
230
- 19:08:42.774 INFO Slice call graph: Starting
231
- 19:08:42.775 INFO Slice call graph: Time spent was 00:00:00.000
232
- 19:08:42.775 INFO Live variable analysis: Starting
233
- 19:08:42.814 INFO Live variable analysis: Time spent was 00:00:00.039
234
- 19:08:42.815 INFO Taint analysis for js: Starting
235
- 19:08:43.933 INFO 0 / 162 UCFGs simulated, memory usage: 141 MB
236
- 19:08:44.171 INFO 28 / 162 UCFGs simulated, memory usage: 115 MB
237
- 19:08:44.172 INFO Taint analysis for js: Time spent was 00:00:01.357
238
- 19:08:44.172 INFO Report issues: Starting
239
- 19:08:44.176 INFO Report issues: Time spent was 00:00:00.004
240
- 19:08:44.178 INFO Store cache: Starting
241
- 19:08:44.180 INFO Store cache: Time spent was 00:00:00.001
242
- 19:08:44.181 INFO js security sensor: Time spent was 00:00:02.108
243
- 19:08:44.182 INFO js security sensor: Begin: 2025-03-27T19:08:42.072562680Z, End: 2025-03-27T19:08:44.181158565Z, Duration: 00:00:02.108
244
- Load type hierarchy and UCFGs: Begin: 2025-03-27T19:08:42.073669779Z, End: 2025-03-27T19:08:42.442824914Z, Duration: 00:00:00.369
245
- Load type hierarchy: Begin: 2025-03-27T19:08:42.073690061Z, End: 2025-03-27T19:08:42.075389129Z, Duration: 00:00:00.001
246
- Load UCFGs: Begin: 2025-03-27T19:08:42.075612612Z, End: 2025-03-27T19:08:42.442399360Z, Duration: 00:00:00.366
247
- Check cache: Begin: 2025-03-27T19:08:42.443023588Z, End: 2025-03-27T19:08:42.445647119Z, Duration: 00:00:00.002
248
- Load cache: Begin: 2025-03-27T19:08:42.443051611Z, End: 2025-03-27T19:08:42.443129839Z, Duration: 00:00:00.000
249
- Create runtime call graph: Begin: 2025-03-27T19:08:42.448062673Z, End: 2025-03-27T19:08:42.567769300Z, Duration: 00:00:00.119
250
- Variable Type Analysis #1: Begin: 2025-03-27T19:08:42.449492561Z, End: 2025-03-27T19:08:42.533786065Z, Duration: 00:00:00.084
251
- Create runtime type propagation graph: Begin: 2025-03-27T19:08:42.451874617Z, End: 2025-03-27T19:08:42.507980200Z, Duration: 00:00:00.056
252
- Run SCC (Tarjan) on 914 nodes: Begin: 2025-03-27T19:08:42.509033172Z, End: 2025-03-27T19:08:42.514977603Z, Duration: 00:00:00.005
253
- Propagate runtime types to strongly connected components: Begin: 2025-03-27T19:08:42.515570261Z, End: 2025-03-27T19:08:42.533316925Z, Duration: 00:00:00.017
254
- Variable Type Analysis #2: Begin: 2025-03-27T19:08:42.536924498Z, End: 2025-03-27T19:08:42.565767088Z, Duration: 00:00:00.028
255
- Create runtime type propagation graph: Begin: 2025-03-27T19:08:42.538261382Z, End: 2025-03-27T19:08:42.559370763Z, Duration: 00:00:00.021
256
- Run SCC (Tarjan) on 914 nodes: Begin: 2025-03-27T19:08:42.559894452Z, End: 2025-03-27T19:08:42.561842494Z, Duration: 00:00:00.001
257
- Propagate runtime types to strongly connected components: Begin: 2025-03-27T19:08:42.562219492Z, End: 2025-03-27T19:08:42.565280983Z, Duration: 00:00:00.003
258
- Load config: Begin: 2025-03-27T19:08:42.568031887Z, End: 2025-03-27T19:08:42.756563417Z, Duration: 00:00:00.188
259
- Compute entry points: Begin: 2025-03-27T19:08:42.756888569Z, End: 2025-03-27T19:08:42.773131610Z, Duration: 00:00:00.016
260
- Slice call graph: Begin: 2025-03-27T19:08:42.773539899Z, End: 2025-03-27T19:08:42.773558120Z, Duration: 00:00:00.000
261
- Live variable analysis: Begin: 2025-03-27T19:08:42.773684857Z, End: 2025-03-27T19:08:42.813363747Z, Duration: 00:00:00.039
262
- Taint analysis for js: Begin: 2025-03-27T19:08:42.814006314Z, End: 2025-03-27T19:08:44.171109044Z, Duration: 00:00:01.357
263
- Report issues: Begin: 2025-03-27T19:08:44.171381510Z, End: 2025-03-27T19:08:44.176002441Z, Duration: 00:00:00.004
264
- Store cache: Begin: 2025-03-27T19:08:44.177754946Z, End: 2025-03-27T19:08:44.179652599Z, Duration: 00:00:00.001
265
- 19:08:44.183 INFO js security sensor peak memory: 250 MB
266
- 19:08:44.183 INFO Sensor JsSecuritySensor [security] (done) | time=2110ms
267
- 19:08:44.183 INFO Sensor KotlinSecuritySensor [security]
268
- 19:08:44.183 INFO No taint analysis rules have been enabled, will not execute taint analysis.
269
- 19:08:44.183 INFO kotlin security sensor: Time spent was 00:00:00.000
270
- 19:08:44.183 INFO kotlin security sensor: Begin: 2025-03-27T19:08:44.182941317Z, End: 2025-03-27T19:08:44.183264156Z, Duration: 00:00:00.000
271
- 19:08:44.184 INFO kotlin security sensor peak memory: 250 MB
272
- 19:08:44.184 INFO Sensor KotlinSecuritySensor [security] (done) | time=1ms
273
- 19:08:44.187 INFO ------------- Run sensors on project
274
- 19:08:44.384 INFO Sensor TsArchitectureSensor [architecture]
275
- 19:08:44.403 INFO Reading SonarArchitecture IR data from directory "/opt/atlassian/pipelines/agent/build/.scannerwork/architecture/ts"
276
- 19:08:44.408 INFO * Protobuf reading complete | memory total=202 | free=72 | used=129 (MB)
277
- 19:08:44.409 INFO * Export complete | memory total=202 | free=72 | used=129 (MB)
278
- 19:08:44.410 INFO Sensor TsArchitectureSensor [architecture] (done) | time=24ms
279
- 19:08:44.410 INFO Sensor Zero Coverage Sensor
280
- 19:08:44.410 INFO Sensor Zero Coverage Sensor (done) | time=1ms
281
- 19:08:44.433 INFO CPD Executor 7 files had no CPD blocks
282
- 19:08:44.434 INFO CPD Executor Calculating CPD for 20 files
283
- 19:08:44.463 INFO CPD Executor CPD calculation finished (done) | time=27ms
284
- 19:08:44.642 INFO Analysis report generated in 174ms, dir size=420 KB
285
- 19:08:44.718 INFO Analysis report compressed in 77ms, zip size=147 KB
286
- 19:08:45.243 INFO Analysis report uploaded in 524ms
287
- 19:08:45.253 INFO ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=santodigital_santoid-sdk-javascript&branch=master
288
- 19:08:45.254 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
289
- 19:08:45.254 INFO More about the report processing at https://sonarcloud.io/api/ce/task?id=AZXZAb6PD2m49m-wsvdA
290
- 19:08:46.184 INFO Sensor cache published successfully
291
- 19:08:46.197 INFO Time spent writing ucfgs 138ms
292
- 19:08:46.314 INFO Analysis total time: 41.334 s
293
- 19:08:46.316 INFO SonarScanner Engine completed successfully
294
- 19:08:46.667 INFO EXECUTION SUCCESS
295
- 19:08:46.669 INFO Total time: 51.615s
@@ -1,42 +0,0 @@
1
- import { AbstractService } from './AbstractService';
2
- export declare class FaceMatchService<TFileType> extends AbstractService {
3
- faceMatch(imageFile1: TFileType, imageFile2: TFileType, customerRequestId: string): Promise<IFaceMatchResult>;
4
- get(requestId: string): Promise<IFaceMatchGet>;
5
- }
6
- export interface IFaceMatch {
7
- createdAt: string;
8
- message: string;
9
- requestId: string;
10
- }
11
- export interface IError {
12
- error: string;
13
- }
14
- export interface IFaceMatchResult {
15
- domain: string;
16
- track: string;
17
- service: string;
18
- requestId: string;
19
- requestType: string;
20
- customerRequestId: string;
21
- executionDatetime: string;
22
- error?: IError;
23
- status: string;
24
- comparison_score: number;
25
- similarity_score: number;
26
- match: boolean;
27
- fileImage1?: string;
28
- fileImage2?: string;
29
- }
30
- export interface IFaceMatchGet {
31
- createdAt: string;
32
- delivered: boolean;
33
- domain: string;
34
- id: string;
35
- requestType: string;
36
- sourceURI: string;
37
- status: string;
38
- track: string;
39
- fileURL?: string;
40
- fileImage1?: string;
41
- fileImage2?: string;
42
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FaceMatchService = void 0;
4
- const AbstractService_1 = require("./AbstractService");
5
- const index_1 = require("../utils/index");
6
- class FaceMatchService extends AbstractService_1.AbstractService {
7
- async faceMatch(imageFile1, imageFile2, customerRequestId) {
8
- const requestFn = async () => {
9
- const formData = new this.serviceOptions.FormDataClass();
10
- formData.append('track', this.options.track);
11
- formData.append('customerRequestId', customerRequestId);
12
- formData.append('deliveryFront', true);
13
- formData.append('sensitive_data_compliance', true);
14
- formData.append('imageFile1', imageFile1, 'imageFile1.jpg');
15
- formData.append('imageFile2', imageFile2, 'imageFile2.jpg');
16
- const response = await this.request({ contentType: 'multipart/form-data' }).post('/api/v1/face-match-async', formData);
17
- return response.data;
18
- };
19
- return await (0, index_1.retryAsyncFunctionXTimes)(requestFn);
20
- }
21
- async get(requestId) {
22
- const response = await this.request().get(`/api/v1/tracks/${this.options.track}/face-async/` + requestId);
23
- return response.data;
24
- }
25
- }
26
- exports.FaceMatchService = FaceMatchService;
@@ -1,90 +0,0 @@
1
- import { AbstractService } from './AbstractService';
2
- export declare class TypificationService<TFileType> extends AbstractService {
3
- predict(imageFile: TFileType, customerRequestId: string): Promise<ITypificationPredict>;
4
- get(requestId: string): Promise<ITypificationGet>;
5
- }
6
- export interface ITypificationPredict {
7
- createdAt: string;
8
- message: string;
9
- requestId: string;
10
- }
11
- export interface ITypificationGet {
12
- createdAt: string;
13
- delivered: boolean;
14
- domain: string;
15
- id: string;
16
- requestType: string;
17
- sourceURI: string;
18
- status: string;
19
- executionDeadline: number;
20
- validationDuration: number;
21
- track: string;
22
- fileURL?: string;
23
- }
24
- export interface ITypificationResult {
25
- count: number;
26
- customerRequestId: string;
27
- domain: string;
28
- error: object;
29
- executionDatetime: string;
30
- requestId: string;
31
- requestType: string;
32
- service: string;
33
- status: string;
34
- track: string;
35
- documents: Array<{
36
- typification: {
37
- id: string;
38
- score: number;
39
- };
40
- error?: {
41
- message: string;
42
- };
43
- ocr: {
44
- template: string;
45
- labels: Array<{
46
- x: number;
47
- y: number;
48
- w: number;
49
- h: number;
50
- bottomRight: number[];
51
- topLeft: number[];
52
- label: string | null;
53
- text: string | null;
54
- ocr_score: number | null;
55
- crop: string | null;
56
- ocrInterpretive?: boolean | string | null;
57
- ocrList: IOcrListResult[] | null;
58
- serpro_query?: {
59
- serpro_data: any;
60
- search_logs: {
61
- document: string;
62
- type: string;
63
- search_time: string;
64
- status_code: number;
65
- message: string;
66
- };
67
- } | null;
68
- validation: {
69
- type: string | null;
70
- value: number | string | boolean;
71
- } | null;
72
- validationSerpro?: Record<string, number | boolean>;
73
- }> | null;
74
- } | boolean;
75
- }>;
76
- }
77
- export interface IOcrListResult {
78
- x: number;
79
- y: number;
80
- w: number;
81
- h: number;
82
- bottomRight: number[];
83
- topLeft: number[];
84
- dataField?: string;
85
- dataFieldValue?: boolean;
86
- label: string | null;
87
- ocr?: string | null;
88
- ocr_score?: number;
89
- cropBase64?: string | null;
90
- }