santoid-sdk 5.1.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 +10 -1
  2. package/README.md +278 -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 +20 -19
  35. package/client/liveness/methods/uploadIdentificationDocument/Service.js +38 -5
  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 -286
  63. package/api/FaceMatchService.d.ts +0 -9
  64. package/api/FaceMatchService.js +0 -19
  65. package/api/TypificationService.d.ts +0 -90
@@ -1,286 +0,0 @@
1
- 18:08:54.370 INFO Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
2
- 18:08:54.376 INFO Project root configuration file: NONE
3
- 18:08:54.399 INFO SonarScanner CLI 6.2.1.4610
4
- 18:08:54.403 INFO Java 17.0.12 Amazon.com Inc. (64-bit)
5
- 18:08:54.404 INFO Linux 6.1.79 amd64
6
- 18:08:54.406 INFO SONAR_SCANNER_OPTS=-Xmx2048m
7
- 18:08:54.447 INFO User cache: /opt/sonar-scanner/.sonar/cache
8
- 18:08:55.273 INFO JRE provisioning: os[linux], arch[x86_64]
9
- 18:09:01.192 INFO Communicating with SonarCloud
10
- 18:09:01.936 INFO Starting SonarScanner Engine...
11
- 18:09:01.937 INFO Java 17.0.11 Eclipse Adoptium (64-bit)
12
- 18:09:03.467 INFO Load global settings
13
- 18:09:03.955 INFO Load global settings (done) | time=489ms
14
- 18:09:03.960 INFO Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
15
- 18:09:04.400 INFO Loading required plugins
16
- 18:09:04.400 INFO Load plugins index
17
- 18:09:04.609 INFO Load plugins index (done) | time=208ms
18
- 18:09:04.609 INFO Load/download plugins
19
- 18:09:06.205 INFO Load/download plugins (done) | time=1597ms
20
- 18:09:07.069 INFO Found an active CI vendor: 'Bitbucket Pipelines'
21
- 18:09:07.253 INFO Detected project key 'santodigital_santoid-sdk-javascript' from 'Bitbucket Cloud Pipelines'
22
- 18:09:07.255 INFO Detected organization key 'santodigital' from 'Bitbucket Cloud Pipelines'
23
- 18:09:07.257 INFO Load project settings for component key: 'santodigital_santoid-sdk-javascript'
24
- 18:09:07.465 INFO Load project settings for component key: 'santodigital_santoid-sdk-javascript' (done) | time=208ms
25
- 18:09:07.472 INFO Process project properties
26
- 18:09:07.483 INFO Project key: santodigital_santoid-sdk-javascript
27
- 18:09:07.484 INFO Base dir: /opt/atlassian/pipelines/agent/build
28
- 18:09:07.484 INFO Working dir: /opt/atlassian/pipelines/agent/build/.scannerwork
29
- 18:09:07.488 INFO Load project branches
30
- 18:09:07.887 INFO Load project branches (done) | time=387ms
31
- 18:09:07.887 INFO Check ALM binding of project 'santodigital_santoid-sdk-javascript'
32
- 18:09:08.102 INFO Detected project binding: BOUND
33
- 18:09:08.103 INFO Check ALM binding of project 'santodigital_santoid-sdk-javascript' (done) | time=224ms
34
- 18:09:08.105 INFO Load project pull requests
35
- 18:09:08.360 INFO Load project pull requests (done) | time=256ms
36
- 18:09:08.364 INFO Load branch configuration
37
- 18:09:08.367 INFO Detected analysis for branch 'master'
38
- 18:09:08.369 INFO Auto-configuring branch master
39
- 18:09:08.370 INFO Load branch configuration (done) | time=6ms
40
- 18:09:08.378 INFO Load quality profiles
41
- 18:09:09.152 INFO Load quality profiles (done) | time=773ms
42
- 18:09:09.159 INFO Load active rules
43
- 18:09:19.061 INFO Load active rules (done) | time=9901ms
44
- 18:09:19.274 INFO Organization key: santodigital
45
- 18:09:19.276 INFO Branch name: master, type: long-lived
46
- 18:09:19.299 INFO Preprocessing files...
47
- 18:09:19.491 INFO 1 language detected in 40 preprocessed files
48
- 18:09:19.491 INFO 0 files ignored because of inclusion/exclusion patterns
49
- 18:09:19.491 INFO 0 files ignored because of scm ignore settings
50
- 18:09:19.518 INFO Loading plugins for detected languages
51
- 18:09:19.519 INFO Load/download plugins
52
- 18:09:20.607 INFO Load/download plugins (done) | time=1089ms
53
- 18:09:20.798 INFO Load project repositories
54
- 18:09:20.999 INFO Load project repositories (done) | time=201ms
55
- 18:09:21.006 INFO Indexing files...
56
- 18:09:21.015 INFO Project configuration:
57
- 18:09:21.015 INFO Excluded sources: **/build-wrapper-dump.json, __tests__/**/*.test.ts
58
- 18:09:21.015 INFO Included tests: __tests__/**/*.test.ts
59
- 18:09:21.073 INFO 40 files indexed
60
- 18:09:21.078 INFO Quality profile for ts: Sonar way
61
- 18:09:21.079 INFO ------------- Run sensors on module santodigital_santoid-sdk-javascript
62
- 18:09:21.126 INFO Load metrics repository
63
- 18:09:21.295 INFO Load metrics repository (done) | time=169ms
64
- 18:09:21.301 INFO Sensor cache enabled
65
- 18:09:21.639 INFO Load sensor cache
66
- 18:09:23.189 INFO Load sensor cache (97 KB) | time=1550ms
67
- 18:09:23.985 INFO Sensor JaCoCo XML Report Importer [jacoco]
68
- 18:09:23.987 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
- 18:09:23.987 INFO No report imported, no coverage information will be imported by JaCoCo XML Report Importer
70
- 18:09:23.987 INFO Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
71
- 18:09:23.988 INFO Sensor Java Config Sensor [iac]
72
- 18:09:24.021 INFO 0 source files to be analyzed
73
- 18:09:24.030 INFO 0/0 source files have been analyzed
74
- 18:09:24.032 INFO Sensor Java Config Sensor [iac] (done) | time=44ms
75
- 18:09:24.032 INFO Sensor JavaScript/TypeScript analysis [javascript]
76
- 18:09:24.269 INFO Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64
77
- 18:09:24.270 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
- 18:09:28.330 INFO Using embedded Node.js runtime.
79
- 18:09:28.331 INFO Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'.
80
- 18:09:32.065 INFO Memory configuration: OS (10191 MB), Node.js (2096 MB).
81
- 18:09:35.133 WARN Access to the multi-values/property set property 'sonar.javascript.file.suffixes' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated.
82
- 18:09:35.134 WARN Access to the multi-values/property set property 'sonar.typescript.file.suffixes' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated.
83
- 18:09:35.162 INFO Found 1 tsconfig.json file(s): [/opt/atlassian/pipelines/agent/build/tsconfig.json]
84
- 18:09:35.163 INFO Creating TypeScript program
85
- 18:09:35.163 INFO TypeScript configuration file /opt/atlassian/pipelines/agent/build/tsconfig.json
86
- 18:09:35.165 INFO 40 source files to be analyzed
87
- 18:09:36.210 INFO Starting analysis with current program
88
- 18:09:40.712 INFO Analyzed 40 file(s) with current program
89
- 18:09:40.721 INFO 40/40 source files have been analyzed
90
- 18:09:40.723 INFO Hit the cache for 0 out of 40
91
- 18:09:40.725 INFO Miss the cache for 40 out of 40: ANALYSIS_MODE_INELIGIBLE [40/40]
92
- 18:09:40.726 INFO Sensor JavaScript/TypeScript analysis [javascript] (done) | time=16694ms
93
- 18:09:40.727 INFO Sensor CSS Rules [javascript]
94
- 18:09:40.728 INFO No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
95
- 18:09:40.729 INFO Sensor CSS Rules [javascript] (done) | time=1ms
96
- 18:09:40.729 INFO Sensor JavaScript/TypeScript Coverage [javascript]
97
- 18:09:40.730 INFO Analysing [/opt/atlassian/pipelines/agent/build/coverage/lcov.info]
98
- 18:09:40.749 INFO Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=19ms
99
- 18:09:40.749 INFO Sensor IaC Docker Sensor [iac]
100
- 18:09:40.836 INFO 0 source files to be analyzed
101
- 18:09:40.837 INFO 0/0 source files have been analyzed
102
- 18:09:40.837 INFO Sensor IaC Docker Sensor [iac] (done) | time=88ms
103
- 18:09:40.838 INFO Sensor Serverless configuration file sensor [security]
104
- 18:09:40.839 INFO 0 Serverless function entries were found in the project
105
- 18:09:40.842 INFO 0 Serverless function handlers were kept as entrypoints
106
- 18:09:40.842 INFO Sensor Serverless configuration file sensor [security] (done) | time=4ms
107
- 18:09:40.843 INFO Sensor AWS SAM template file sensor [security]
108
- 18:09:40.844 INFO Sensor AWS SAM template file sensor [security] (done) | time=1ms
109
- 18:09:40.844 INFO Sensor AWS SAM Inline template file sensor [security]
110
- 18:09:40.845 INFO Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms
111
- 18:09:40.846 INFO Sensor EnterpriseTextAndSecretsSensor [textenterprise]
112
- 18:09:40.846 INFO Available processors: 4
113
- 18:09:40.847 INFO Using 4 threads for analysis.
114
- 18:09:41.395 INFO Using git CLI to retrieve untracked files
115
- 18:09:41.399 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"
116
- 18:09:41.417 INFO 40 source files to be analyzed
117
- 18:09:41.839 INFO 40/40 source files have been analyzed
118
- 18:09:41.840 INFO Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=993ms
119
- 18:09:41.840 INFO Sensor JavaSecuritySensor [security]
120
- 18:09:41.846 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
121
- 18:09:41.846 INFO Load type hierarchy and UCFGs: Starting
122
- 18:09:41.846 INFO Load type hierarchy: Starting
123
- 18:09:41.846 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/java
124
- 18:09:41.847 INFO Read 0 type definitions
125
- 18:09:41.850 INFO Load type hierarchy: Time spent was 00:00:00.002
126
- 18:09:41.850 INFO Load UCFGs: Starting
127
- 18:09:41.851 INFO Load UCFGs: Time spent was 00:00:00.000
128
- 18:09:41.851 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.004
129
- 18:09:41.851 INFO No UCFGs have been included for analysis.
130
- 18:09:41.863 INFO java security sensor: Time spent was 00:00:00.020
131
- 18:09:41.864 INFO java security sensor: Begin: 2025-02-20T18:09:41.842431022Z, End: 2025-02-20T18:09:41.862719367Z, Duration: 00:00:00.020
132
- Load type hierarchy and UCFGs: Begin: 2025-02-20T18:09:41.846414292Z, End: 2025-02-20T18:09:41.851198747Z, Duration: 00:00:00.004
133
- Load type hierarchy: Begin: 2025-02-20T18:09:41.846694260Z, End: 2025-02-20T18:09:41.849561475Z, Duration: 00:00:00.002
134
- Load UCFGs: Begin: 2025-02-20T18:09:41.849922343Z, End: 2025-02-20T18:09:41.850005124Z, Duration: 00:00:00.000
135
- 18:09:41.864 INFO java security sensor peak memory: 208 MB
136
- 18:09:41.864 INFO Sensor JavaSecuritySensor [security] (done) | time=24ms
137
- 18:09:41.865 INFO Sensor CSharpSecuritySensor [security]
138
- 18:09:41.866 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
139
- 18:09:41.866 INFO Load type hierarchy and UCFGs: Starting
140
- 18:09:41.867 INFO Load type hierarchy: Starting
141
- 18:09:41.867 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/ucfg2/cs
142
- 18:09:41.868 INFO Read 0 type definitions
143
- 18:09:41.868 INFO Load type hierarchy: Time spent was 00:00:00.001
144
- 18:09:41.868 INFO Load UCFGs: Starting
145
- 18:09:41.869 INFO Load UCFGs: Time spent was 00:00:00.000
146
- 18:09:41.869 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.003
147
- 18:09:41.869 INFO No UCFGs have been included for analysis.
148
- 18:09:41.869 INFO csharp security sensor: Time spent was 00:00:00.004
149
- 18:09:41.871 INFO csharp security sensor: Begin: 2025-02-20T18:09:41.865118305Z, End: 2025-02-20T18:09:41.869725702Z, Duration: 00:00:00.004
150
- Load type hierarchy and UCFGs: Begin: 2025-02-20T18:09:41.865964329Z, End: 2025-02-20T18:09:41.869215926Z, Duration: 00:00:00.003
151
- Load type hierarchy: Begin: 2025-02-20T18:09:41.865986645Z, End: 2025-02-20T18:09:41.867853400Z, Duration: 00:00:00.001
152
- Load UCFGs: Begin: 2025-02-20T18:09:41.868092351Z, End: 2025-02-20T18:09:41.868136129Z, Duration: 00:00:00.000
153
- 18:09:41.871 INFO csharp security sensor peak memory: 208 MB
154
- 18:09:41.871 INFO Sensor CSharpSecuritySensor [security] (done) | time=6ms
155
- 18:09:41.871 INFO Sensor PhpSecuritySensor [security]
156
- 18:09:41.872 INFO Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350, S7044
157
- 18:09:41.872 INFO Load type hierarchy and UCFGs: Starting
158
- 18:09:41.872 INFO Load type hierarchy: Starting
159
- 18:09:41.872 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/php
160
- 18:09:41.872 INFO Read 0 type definitions
161
- 18:09:41.872 INFO Load type hierarchy: Time spent was 00:00:00.000
162
- 18:09:41.872 INFO Load UCFGs: Starting
163
- 18:09:41.872 INFO Load UCFGs: Time spent was 00:00:00.000
164
- 18:09:41.873 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.000
165
- 18:09:41.873 INFO No UCFGs have been included for analysis.
166
- 18:09:41.873 INFO php security sensor: Time spent was 00:00:00.002
167
- 18:09:41.879 INFO php security sensor: Begin: 2025-02-20T18:09:41.871414614Z, End: 2025-02-20T18:09:41.873573582Z, Duration: 00:00:00.002
168
- Load type hierarchy and UCFGs: Begin: 2025-02-20T18:09:41.871922233Z, End: 2025-02-20T18:09:41.872505997Z, Duration: 00:00:00.000
169
- Load type hierarchy: Begin: 2025-02-20T18:09:41.871950676Z, End: 2025-02-20T18:09:41.872098737Z, Duration: 00:00:00.000
170
- Load UCFGs: Begin: 2025-02-20T18:09:41.872278531Z, End: 2025-02-20T18:09:41.872311753Z, Duration: 00:00:00.000
171
- 18:09:41.879 INFO php security sensor peak memory: 208 MB
172
- 18:09:41.879 INFO Sensor PhpSecuritySensor [security] (done) | time=7ms
173
- 18:09:41.880 INFO Sensor PythonSecuritySensor [security]
174
- 18:09:41.881 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
175
- 18:09:41.881 INFO Load type hierarchy and UCFGs: Starting
176
- 18:09:41.881 INFO Load type hierarchy: Starting
177
- 18:09:41.881 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/python
178
- 18:09:41.882 INFO Read 0 type definitions
179
- 18:09:41.883 INFO Load type hierarchy: Time spent was 00:00:00.000
180
- 18:09:41.883 INFO Load UCFGs: Starting
181
- 18:09:41.884 INFO Load UCFGs: Time spent was 00:00:00.000
182
- 18:09:41.885 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.003
183
- 18:09:41.885 INFO No UCFGs have been included for analysis.
184
- 18:09:41.886 INFO python security sensor: Time spent was 00:00:00.005
185
- 18:09:41.887 INFO python security sensor: Begin: 2025-02-20T18:09:41.880298088Z, End: 2025-02-20T18:09:41.886053438Z, Duration: 00:00:00.005
186
- Load type hierarchy and UCFGs: Begin: 2025-02-20T18:09:41.881406327Z, End: 2025-02-20T18:09:41.884613384Z, Duration: 00:00:00.003
187
- Load type hierarchy: Begin: 2025-02-20T18:09:41.881438349Z, End: 2025-02-20T18:09:41.881853418Z, Duration: 00:00:00.000
188
- Load UCFGs: Begin: 2025-02-20T18:09:41.883348487Z, End: 2025-02-20T18:09:41.883417955Z, Duration: 00:00:00.000
189
- 18:09:41.887 INFO python security sensor peak memory: 208 MB
190
- 18:09:41.887 INFO Sensor PythonSecuritySensor [security] (done) | time=7ms
191
- 18:09:41.889 INFO Sensor JsSecuritySensor [security]
192
- 18:09:41.890 INFO Enabled taint analysis rules: S2076, S2083, S2631, S3649, S5131, S5144, S5146, S5147, S5334, S5696, S5883, S6096, S6105, S6287, S6350
193
- 18:09:41.890 INFO Load type hierarchy and UCFGs: Starting
194
- 18:09:41.890 INFO Load type hierarchy: Starting
195
- 18:09:41.890 INFO Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/js
196
- 18:09:41.891 INFO Read 0 type definitions
197
- 18:09:41.892 INFO Load type hierarchy: Time spent was 00:00:00.001
198
- 18:09:41.892 INFO Load UCFGs: Starting
199
- 18:09:41.892 INFO Reading UCFGs from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/js
200
- 18:09:42.115 INFO Load UCFGs: Time spent was 00:00:00.222
201
- 18:09:42.115 INFO Load type hierarchy and UCFGs: Time spent was 00:00:00.224
202
- 18:09:42.115 INFO Analyzing 157 UCFGs to detect vulnerabilities.
203
- 18:09:42.115 INFO Check cache: Starting
204
- 18:09:42.115 INFO Load cache: Starting
205
- 18:09:42.116 INFO Load cache: Time spent was 00:00:00.000
206
- 18:09:42.118 INFO Check cache: Time spent was 00:00:00.002
207
- 18:09:42.118 INFO Create runtime call graph: Starting
208
- 18:09:42.119 INFO Variable Type Analysis #1: Starting
209
- 18:09:42.121 INFO Create runtime type propagation graph: Starting
210
- 18:09:42.151 INFO Create runtime type propagation graph: Time spent was 00:00:00.028
211
- 18:09:42.154 INFO Run SCC (Tarjan) on 882 nodes: Starting
212
- 18:09:42.159 INFO Run SCC (Tarjan) on 882 nodes: Time spent was 00:00:00.007
213
- 18:09:42.159 INFO Tarjan found 882 strongly connected components
214
- 18:09:42.159 INFO Propagate runtime types to strongly connected components: Starting
215
- 18:09:42.164 INFO Propagate runtime types to strongly connected components: Time spent was 00:00:00.005
216
- 18:09:42.165 INFO Variable Type Analysis #1: Time spent was 00:00:00.045
217
- 18:09:42.167 INFO Variable Type Analysis #2: Starting
218
- 18:09:42.167 INFO Create runtime type propagation graph: Starting
219
- 18:09:42.178 INFO Create runtime type propagation graph: Time spent was 00:00:00.010
220
- 18:09:42.178 INFO Run SCC (Tarjan) on 882 nodes: Starting
221
- 18:09:42.179 INFO Run SCC (Tarjan) on 882 nodes: Time spent was 00:00:00.001
222
- 18:09:42.179 INFO Tarjan found 882 strongly connected components
223
- 18:09:42.179 INFO Propagate runtime types to strongly connected components: Starting
224
- 18:09:42.182 INFO Propagate runtime types to strongly connected components: Time spent was 00:00:00.002
225
- 18:09:42.182 INFO Variable Type Analysis #2: Time spent was 00:00:00.015
226
- 18:09:42.183 INFO Create runtime call graph: Time spent was 00:00:00.065
227
- 18:09:42.184 INFO Load config: Starting
228
- 18:09:42.262 INFO Load config: Time spent was 00:00:00.078
229
- 18:09:42.263 INFO Compute entry points: Starting
230
- 18:09:42.278 INFO Compute entry points: Time spent was 00:00:00.014
231
- 18:09:42.278 INFO All rules entry points : 28
232
- 18:09:42.278 INFO Slice call graph: Starting
233
- 18:09:42.278 INFO Slice call graph: Time spent was 00:00:00.000
234
- 18:09:42.279 INFO Live variable analysis: Starting
235
- 18:09:42.318 INFO Live variable analysis: Time spent was 00:00:00.039
236
- 18:09:42.318 INFO Taint analysis for js: Starting
237
- 18:09:43.369 INFO 0 / 157 UCFGs simulated, memory usage: 116 MB
238
- 18:09:43.903 INFO 28 / 157 UCFGs simulated, memory usage: 121 MB
239
- 18:09:43.904 INFO Taint analysis for js: Time spent was 00:00:01.585
240
- 18:09:43.904 INFO Report issues: Starting
241
- 18:09:43.909 INFO Report issues: Time spent was 00:00:00.004
242
- 18:09:43.911 INFO Store cache: Starting
243
- 18:09:43.914 INFO Store cache: Time spent was 00:00:00.002
244
- 18:09:43.915 INFO js security sensor: Time spent was 00:00:02.026
245
- 18:09:43.917 INFO js security sensor: Begin: 2025-02-20T18:09:41.888906909Z, End: 2025-02-20T18:09:43.915407187Z, Duration: 00:00:02.026
246
- Load type hierarchy and UCFGs: Begin: 2025-02-20T18:09:41.890187528Z, End: 2025-02-20T18:09:42.114906521Z, Duration: 00:00:00.224
247
- Load type hierarchy: Begin: 2025-02-20T18:09:41.890209067Z, End: 2025-02-20T18:09:41.891712734Z, Duration: 00:00:00.001
248
- Load UCFGs: Begin: 2025-02-20T18:09:41.891838886Z, End: 2025-02-20T18:09:42.114556453Z, Duration: 00:00:00.222
249
- Check cache: Begin: 2025-02-20T18:09:42.115013872Z, End: 2025-02-20T18:09:42.117801785Z, Duration: 00:00:00.002
250
- Load cache: Begin: 2025-02-20T18:09:42.115033564Z, End: 2025-02-20T18:09:42.115069273Z, Duration: 00:00:00.000
251
- Create runtime call graph: Begin: 2025-02-20T18:09:42.118052277Z, End: 2025-02-20T18:09:42.183657266Z, Duration: 00:00:00.065
252
- Variable Type Analysis #1: Begin: 2025-02-20T18:09:42.119137972Z, End: 2025-02-20T18:09:42.164526152Z, Duration: 00:00:00.045
253
- Create runtime type propagation graph: Begin: 2025-02-20T18:09:42.121591798Z, End: 2025-02-20T18:09:42.150583113Z, Duration: 00:00:00.028
254
- Run SCC (Tarjan) on 882 nodes: Begin: 2025-02-20T18:09:42.151143162Z, End: 2025-02-20T18:09:42.158585964Z, Duration: 00:00:00.007
255
- Propagate runtime types to strongly connected components: Begin: 2025-02-20T18:09:42.158901033Z, End: 2025-02-20T18:09:42.164292035Z, Duration: 00:00:00.005
256
- Variable Type Analysis #2: Begin: 2025-02-20T18:09:42.166684171Z, End: 2025-02-20T18:09:42.182011195Z, Duration: 00:00:00.015
257
- Create runtime type propagation graph: Begin: 2025-02-20T18:09:42.166766439Z, End: 2025-02-20T18:09:42.177683179Z, Duration: 00:00:00.010
258
- Run SCC (Tarjan) on 882 nodes: Begin: 2025-02-20T18:09:42.177984954Z, End: 2025-02-20T18:09:42.179180033Z, Duration: 00:00:00.001
259
- Propagate runtime types to strongly connected components: Begin: 2025-02-20T18:09:42.179374257Z, End: 2025-02-20T18:09:42.181834972Z, Duration: 00:00:00.002
260
- Load config: Begin: 2025-02-20T18:09:42.183826340Z, End: 2025-02-20T18:09:42.262249479Z, Duration: 00:00:00.078
261
- Compute entry points: Begin: 2025-02-20T18:09:42.262520527Z, End: 2025-02-20T18:09:42.277281560Z, Duration: 00:00:00.014
262
- Slice call graph: Begin: 2025-02-20T18:09:42.277581349Z, End: 2025-02-20T18:09:42.277600006Z, Duration: 00:00:00.000
263
- Live variable analysis: Begin: 2025-02-20T18:09:42.277702730Z, End: 2025-02-20T18:09:42.317458365Z, Duration: 00:00:00.039
264
- Taint analysis for js: Begin: 2025-02-20T18:09:42.317907889Z, End: 2025-02-20T18:09:43.903076025Z, Duration: 00:00:01.585
265
- Report issues: Begin: 2025-02-20T18:09:43.903834895Z, End: 2025-02-20T18:09:43.908783712Z, Duration: 00:00:00.004
266
- Store cache: Begin: 2025-02-20T18:09:43.910684637Z, End: 2025-02-20T18:09:43.913560702Z, Duration: 00:00:00.002
267
- 18:09:43.918 INFO js security sensor peak memory: 211 MB
268
- 18:09:43.918 INFO Sensor JsSecuritySensor [security] (done) | time=2029ms
269
- 18:09:43.934 INFO ------------- Run sensors on project
270
- 18:09:44.193 INFO Sensor Zero Coverage Sensor
271
- 18:09:44.193 INFO Sensor Zero Coverage Sensor (done) | time=1ms
272
- 18:09:44.235 INFO CPD Executor 7 files had no CPD blocks
273
- 18:09:44.236 INFO CPD Executor Calculating CPD for 20 files
274
- 18:09:44.236 INFO CPD Executor CPD calculation finished (done) | time=20ms
275
- 18:09:44.400 INFO Analysis report generated in 158ms, dir size=407 KB
276
- 18:09:44.506 INFO Analysis report compressed in 106ms, zip size=144 KB
277
- 18:09:45.218 INFO Analysis report uploaded in 713ms
278
- 18:09:45.220 INFO ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=santodigital_santoid-sdk-javascript&branch=master
279
- 18:09:45.220 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
280
- 18:09:45.220 INFO More about the report processing at https://sonarcloud.io/api/ce/task?id=AZUkjSZU28NixYytveya
281
- 18:09:46.959 INFO Sensor cache published successfully
282
- 18:09:46.972 INFO Time spent writing ucfgs 112ms
283
- 18:09:47.064 INFO Analysis total time: 40.563 s
284
- 18:09:47.065 INFO SonarScanner Engine completed successfully
285
- 18:09:48.067 INFO EXECUTION SUCCESS
286
- 18:09:48.069 INFO Total time: 53.704s
@@ -1,9 +0,0 @@
1
- import { AbstractService } from './AbstractService';
2
- export declare class FaceMatchService<TFileType> extends AbstractService {
3
- faceMatch(firstImage: TFileType, secondImage: TFileType): Promise<IFaceMatchResult>;
4
- }
5
- export interface IFaceMatchResult {
6
- comparison_score: number;
7
- similarity_score: number;
8
- match: boolean;
9
- }
@@ -1,19 +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(firstImage, secondImage) {
8
- const requestFn = async () => {
9
- const formData = new this.serviceOptions.FormDataClass();
10
- formData.append('track', this.options.track);
11
- formData.append('firstImage', firstImage, 'firstImage.jpg');
12
- formData.append('secondImage', secondImage, 'secondImage.jpg');
13
- const response = await this.request({ contentType: 'multipart/form-data' }).post('/api/v1/facematch/pair', formData, { params: { sensitive_data_compliance: true } });
14
- return response.data;
15
- };
16
- return await (0, index_1.retryAsyncFunctionXTimes)(requestFn);
17
- }
18
- }
19
- 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
- }