emissions-api-sdk 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -2
- package/dist/Constants.js +23 -1
- package/dist/api/Calculation.js +77 -14
- package/dist/api/Factor.js +97 -16
- package/dist/api/Fugitive.js +75 -12
- package/dist/api/Location.js +75 -14
- package/dist/api/Mobile.js +66 -0
- package/dist/api/Stationary.js +77 -14
- package/dist/api/TransportationAndDistribution.js +75 -12
- package/dist/types/Constants.d.ts +22 -0
- package/dist/types/api/Calculation.d.ts +52 -14
- package/dist/types/api/Factor.d.ts +64 -16
- package/dist/types/api/Fugitive.d.ts +50 -12
- package/dist/types/api/Location.d.ts +50 -14
- package/dist/types/api/Mobile.d.ts +41 -0
- package/dist/types/api/Stationary.d.ts +52 -14
- package/dist/types/api/TransportationAndDistribution.d.ts +50 -12
- package/docs/.nojekyll +0 -0
- package/docs/_sources/authentication.rst.txt +164 -0
- package/docs/_sources/client.rst.txt +137 -0
- package/docs/_sources/getting_started.rst.txt +164 -0
- package/docs/_sources/index.rst.txt +29 -0
- package/docs/_sources/reference.rst.txt +129 -0
- package/docs/_sources/sdk.rst.txt +13 -0
- package/docs/_static/basic.css +906 -0
- package/docs/_static/custom.css +16 -0
- package/docs/_static/debug.css +69 -0
- package/docs/_static/doctools.js +149 -0
- package/docs/_static/documentation_options.js +13 -0
- package/docs/_static/file.png +0 -0
- package/docs/_static/language_data.js +192 -0
- package/docs/_static/minus.png +0 -0
- package/docs/_static/plus.png +0 -0
- package/docs/_static/pygments.css +250 -0
- package/docs/_static/scripts/furo-extensions.js +0 -0
- package/docs/_static/scripts/furo.js +3 -0
- package/docs/_static/scripts/furo.js.LICENSE.txt +7 -0
- package/docs/_static/scripts/furo.js.map +1 -0
- package/docs/_static/searchtools.js +635 -0
- package/docs/_static/skeleton.css +296 -0
- package/docs/_static/sphinx_highlight.js +154 -0
- package/docs/_static/sphinx_js.css +0 -0
- package/docs/_static/styles/furo-extensions.css +2 -0
- package/docs/_static/styles/furo-extensions.css.map +1 -0
- package/docs/_static/styles/furo.css +2 -0
- package/docs/_static/styles/furo.css.map +1 -0
- package/docs/authentication.html +513 -0
- package/docs/client.html +467 -0
- package/docs/genindex.html +482 -0
- package/docs/getting_started.html +481 -0
- package/docs/index.html +334 -0
- package/docs/objects.inv +0 -0
- package/docs/reference.html +1568 -0
- package/docs/sdk.html +324 -0
- package/docs/search.html +287 -0
- package/docs/searchindex.js +1 -0
- package/package.json +1 -1
- package/sphinx-build/Makefile +49 -0
- package/sphinx-build/source/_static/custom.css +16 -0
- package/sphinx-build/source/authentication.rst +164 -0
- package/sphinx-build/source/client.rst +137 -0
- package/sphinx-build/source/conf.py +56 -0
- package/sphinx-build/source/getting_started.rst +164 -0
- package/sphinx-build/source/index.rst +29 -0
- package/sphinx-build/source/reference.rst +129 -0
- package/sphinx-build/source/sdk.rst +13 -0
- package/src/Constants.ts +26 -0
- package/src/api/Calculation.ts +84 -15
- package/src/api/Factor.ts +108 -19
- package/src/api/Fugitive.ts +83 -13
- package/src/api/Location.ts +84 -15
- package/src/api/Mobile.ts +75 -1
- package/src/api/Stationary.ts +85 -15
- package/src/api/TransportationAndDistribution.ts +84 -13
- package/test/apiTest.test.ts +172 -5
- package/dist/api/Factors.js +0 -98
- package/dist/api/FugitiveEmission.js +0 -40
- package/dist/api/GenericCalculation.js +0 -41
- package/dist/api/LocationEmission.js +0 -41
- package/dist/api/MobileEmission.js +0 -41
- package/dist/api/StationaryEmission.js +0 -41
- package/dist/api/TransportationDistributionEmission.js +0 -40
- package/dist/coverage/clover.xml +0 -225
- package/dist/coverage/coverage-final.json +0 -19
- package/dist/coverage/lcov-report/base.css +0 -224
- package/dist/coverage/lcov-report/block-navigation.js +0 -87
- package/dist/coverage/lcov-report/favicon.png +0 -0
- package/dist/coverage/lcov-report/index.html +0 -161
- package/dist/coverage/lcov-report/prettify.css +0 -1
- package/dist/coverage/lcov-report/prettify.js +0 -2
- package/dist/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/dist/coverage/lcov-report/sorter.js +0 -210
- package/dist/coverage/lcov-report/src/Client.ts.html +0 -838
- package/dist/coverage/lcov-report/src/Constants.ts.html +0 -130
- package/dist/coverage/lcov-report/src/api/Calculation.ts.html +0 -217
- package/dist/coverage/lcov-report/src/api/Factor.ts.html +0 -343
- package/dist/coverage/lcov-report/src/api/FactorSets.ts.html +0 -154
- package/dist/coverage/lcov-report/src/api/Factors.ts.html +0 -403
- package/dist/coverage/lcov-report/src/api/Fugitive.ts.html +0 -214
- package/dist/coverage/lcov-report/src/api/FugitiveEmission.ts.html +0 -214
- package/dist/coverage/lcov-report/src/api/GenericCalculation.ts.html +0 -217
- package/dist/coverage/lcov-report/src/api/Location.ts.html +0 -214
- package/dist/coverage/lcov-report/src/api/LocationEmission.ts.html +0 -214
- package/dist/coverage/lcov-report/src/api/Mobile.ts.html +0 -220
- package/dist/coverage/lcov-report/src/api/MobileEmission.ts.html +0 -220
- package/dist/coverage/lcov-report/src/api/Stationary.ts.html +0 -220
- package/dist/coverage/lcov-report/src/api/StationaryEmission.ts.html +0 -220
- package/dist/coverage/lcov-report/src/api/TransportationAndDistribution.ts.html +0 -211
- package/dist/coverage/lcov-report/src/api/TransportationDistributionEmission.ts.html +0 -211
- package/dist/coverage/lcov-report/src/api/index.html +0 -221
- package/dist/coverage/lcov-report/src/index.html +0 -161
- package/dist/coverage/lcov-report/src/request.ts.html +0 -235
- package/dist/coverage/lcov-report/src/utils.ts.html +0 -139
- package/dist/coverage/lcov-report/test/index.html +0 -116
- package/dist/coverage/lcov-report/test/mocks/CommonRequest.ts.html +0 -142
- package/dist/coverage/lcov-report/test/mocks/FactorRequest.ts.html +0 -133
- package/dist/coverage/lcov-report/test/mocks/GenericCalculationRequest.ts.html +0 -142
- package/dist/coverage/lcov-report/test/mocks/LocationRequest.ts.html +0 -139
- package/dist/coverage/lcov-report/test/mocks/SearchRequest.ts.html +0 -142
- package/dist/coverage/lcov-report/test/mocks/index.html +0 -176
- package/dist/coverage/lcov-report/test/testUtils.ts.html +0 -97
- package/dist/coverage/lcov.info +0 -404
- package/dist/types/api/Factors.d.ts +0 -68
- package/dist/types/api/FugitiveEmission.d.ts +0 -27
- package/dist/types/api/GenericCalculation.d.ts +0 -28
- package/dist/types/api/LocationEmission.d.ts +0 -28
- package/dist/types/api/MobileEmission.d.ts +0 -28
- package/dist/types/api/StationaryEmission.d.ts +0 -28
- package/dist/types/api/TransportationDistributionEmission.d.ts +0 -27
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!doctype html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
|
|
5
|
-
<head>
|
|
6
|
-
<title>Code coverage report for test/mocks</title>
|
|
7
|
-
<meta charset="utf-8" />
|
|
8
|
-
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
|
-
<link rel="stylesheet" href="../../base.css" />
|
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.png" />
|
|
11
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
-
<style type='text/css'>
|
|
13
|
-
.coverage-summary .sorter {
|
|
14
|
-
background-image: url(../../sort-arrow-sprite.png);
|
|
15
|
-
}
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<div class='wrapper'>
|
|
21
|
-
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../index.html">All files</a> test/mocks</h1>
|
|
23
|
-
<div class='clearfix'>
|
|
24
|
-
|
|
25
|
-
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">100% </span>
|
|
27
|
-
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>10/10</span>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">100% </span>
|
|
34
|
-
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/0</span>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">100% </span>
|
|
41
|
-
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/0</span>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">100% </span>
|
|
48
|
-
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>10/10</span>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</div>
|
|
54
|
-
<p class="quiet">
|
|
55
|
-
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
-
</p>
|
|
57
|
-
<template id="filterTemplate">
|
|
58
|
-
<div class="quiet">
|
|
59
|
-
Filter:
|
|
60
|
-
<input type="search" id="fileSearch">
|
|
61
|
-
</div>
|
|
62
|
-
</template>
|
|
63
|
-
</div>
|
|
64
|
-
<div class='status-line high'></div>
|
|
65
|
-
<div class="pad1">
|
|
66
|
-
<table class="coverage-summary">
|
|
67
|
-
<thead>
|
|
68
|
-
<tr>
|
|
69
|
-
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
70
|
-
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
71
|
-
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
72
|
-
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
73
|
-
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
74
|
-
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
75
|
-
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
76
|
-
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
77
|
-
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
78
|
-
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
79
|
-
</tr>
|
|
80
|
-
</thead>
|
|
81
|
-
<tbody><tr>
|
|
82
|
-
<td class="file high" data-value="CommonRequest.ts"><a href="CommonRequest.ts.html">CommonRequest.ts</a></td>
|
|
83
|
-
<td data-value="100" class="pic high">
|
|
84
|
-
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
|
-
</td>
|
|
86
|
-
<td data-value="100" class="pct high">100%</td>
|
|
87
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
88
|
-
<td data-value="100" class="pct high">100%</td>
|
|
89
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
90
|
-
<td data-value="100" class="pct high">100%</td>
|
|
91
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
92
|
-
<td data-value="100" class="pct high">100%</td>
|
|
93
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
94
|
-
</tr>
|
|
95
|
-
|
|
96
|
-
<tr>
|
|
97
|
-
<td class="file high" data-value="FactorRequest.ts"><a href="FactorRequest.ts.html">FactorRequest.ts</a></td>
|
|
98
|
-
<td data-value="100" class="pic high">
|
|
99
|
-
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
100
|
-
</td>
|
|
101
|
-
<td data-value="100" class="pct high">100%</td>
|
|
102
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
103
|
-
<td data-value="100" class="pct high">100%</td>
|
|
104
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
105
|
-
<td data-value="100" class="pct high">100%</td>
|
|
106
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
107
|
-
<td data-value="100" class="pct high">100%</td>
|
|
108
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
109
|
-
</tr>
|
|
110
|
-
|
|
111
|
-
<tr>
|
|
112
|
-
<td class="file high" data-value="GenericCalculationRequest.ts"><a href="GenericCalculationRequest.ts.html">GenericCalculationRequest.ts</a></td>
|
|
113
|
-
<td data-value="100" class="pic high">
|
|
114
|
-
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
115
|
-
</td>
|
|
116
|
-
<td data-value="100" class="pct high">100%</td>
|
|
117
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
118
|
-
<td data-value="100" class="pct high">100%</td>
|
|
119
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
120
|
-
<td data-value="100" class="pct high">100%</td>
|
|
121
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
122
|
-
<td data-value="100" class="pct high">100%</td>
|
|
123
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
124
|
-
</tr>
|
|
125
|
-
|
|
126
|
-
<tr>
|
|
127
|
-
<td class="file high" data-value="LocationRequest.ts"><a href="LocationRequest.ts.html">LocationRequest.ts</a></td>
|
|
128
|
-
<td data-value="100" class="pic high">
|
|
129
|
-
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
130
|
-
</td>
|
|
131
|
-
<td data-value="100" class="pct high">100%</td>
|
|
132
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
133
|
-
<td data-value="100" class="pct high">100%</td>
|
|
134
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
135
|
-
<td data-value="100" class="pct high">100%</td>
|
|
136
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
137
|
-
<td data-value="100" class="pct high">100%</td>
|
|
138
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
139
|
-
</tr>
|
|
140
|
-
|
|
141
|
-
<tr>
|
|
142
|
-
<td class="file high" data-value="SearchRequest.ts"><a href="SearchRequest.ts.html">SearchRequest.ts</a></td>
|
|
143
|
-
<td data-value="100" class="pic high">
|
|
144
|
-
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
145
|
-
</td>
|
|
146
|
-
<td data-value="100" class="pct high">100%</td>
|
|
147
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
148
|
-
<td data-value="100" class="pct high">100%</td>
|
|
149
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
150
|
-
<td data-value="100" class="pct high">100%</td>
|
|
151
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
152
|
-
<td data-value="100" class="pct high">100%</td>
|
|
153
|
-
<td data-value="2" class="abs high">2/2</td>
|
|
154
|
-
</tr>
|
|
155
|
-
|
|
156
|
-
</tbody>
|
|
157
|
-
</table>
|
|
158
|
-
</div>
|
|
159
|
-
<div class='push'></div><!-- for sticky footer -->
|
|
160
|
-
</div><!-- /wrapper -->
|
|
161
|
-
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
|
-
Code coverage generated by
|
|
163
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at 2025-09-29T10:08:48.327Z
|
|
165
|
-
</div>
|
|
166
|
-
<script src="../../prettify.js"></script>
|
|
167
|
-
<script>
|
|
168
|
-
window.onload = function () {
|
|
169
|
-
prettyPrint();
|
|
170
|
-
};
|
|
171
|
-
</script>
|
|
172
|
-
<script src="../../sorter.js"></script>
|
|
173
|
-
<script src="../../block-navigation.js"></script>
|
|
174
|
-
</body>
|
|
175
|
-
</html>
|
|
176
|
-
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!doctype html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
|
|
5
|
-
<head>
|
|
6
|
-
<title>Code coverage report for test/testUtils.ts</title>
|
|
7
|
-
<meta charset="utf-8" />
|
|
8
|
-
<link rel="stylesheet" href="../prettify.css" />
|
|
9
|
-
<link rel="stylesheet" href="../base.css" />
|
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
|
|
11
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
-
<style type='text/css'>
|
|
13
|
-
.coverage-summary .sorter {
|
|
14
|
-
background-image: url(../sort-arrow-sprite.png);
|
|
15
|
-
}
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<div class='wrapper'>
|
|
21
|
-
<div class='pad1'>
|
|
22
|
-
<h1><a href="../index.html">All files</a> / <a href="index.html">test</a> testUtils.ts</h1>
|
|
23
|
-
<div class='clearfix'>
|
|
24
|
-
|
|
25
|
-
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">100% </span>
|
|
27
|
-
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>4/4</span>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">100% </span>
|
|
34
|
-
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/0</span>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">100% </span>
|
|
41
|
-
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>1/1</span>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">100% </span>
|
|
48
|
-
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>4/4</span>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</div>
|
|
54
|
-
<p class="quiet">
|
|
55
|
-
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
-
</p>
|
|
57
|
-
<template id="filterTemplate">
|
|
58
|
-
<div class="quiet">
|
|
59
|
-
Filter:
|
|
60
|
-
<input type="search" id="fileSearch">
|
|
61
|
-
</div>
|
|
62
|
-
</template>
|
|
63
|
-
</div>
|
|
64
|
-
<div class='status-line high'></div>
|
|
65
|
-
<pre><table class="coverage">
|
|
66
|
-
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
-
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
-
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
-
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
-
<a name='L5'></a><a href='#L5'>5</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
71
|
-
<span class="cline-any cline-yes">3x</span>
|
|
72
|
-
<span class="cline-any cline-yes">3x</span>
|
|
73
|
-
<span class="cline-any cline-yes">3x</span>
|
|
74
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">export function generateMockjwt(expiryInSecsFromNow : number): string {
|
|
75
|
-
const header = Buffer.from(JSON.stringify({alg: 'HS256', typ: 'JWT'})).toString('base64url');
|
|
76
|
-
const payload = Buffer.from(JSON.stringify({exp: Math.floor(Date.now()/1000) + expiryInSecsFromNow})).toString('base64url');
|
|
77
|
-
return `${header}.${payload}.signature`;
|
|
78
|
-
}</pre></td></tr></table></pre>
|
|
79
|
-
|
|
80
|
-
<div class='push'></div><!-- for sticky footer -->
|
|
81
|
-
</div><!-- /wrapper -->
|
|
82
|
-
<div class='footer quiet pad2 space-top1 center small'>
|
|
83
|
-
Code coverage generated by
|
|
84
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
85
|
-
at 2025-09-29T10:08:48.327Z
|
|
86
|
-
</div>
|
|
87
|
-
<script src="../prettify.js"></script>
|
|
88
|
-
<script>
|
|
89
|
-
window.onload = function () {
|
|
90
|
-
prettyPrint();
|
|
91
|
-
};
|
|
92
|
-
</script>
|
|
93
|
-
<script src="../sorter.js"></script>
|
|
94
|
-
<script src="../block-navigation.js"></script>
|
|
95
|
-
</body>
|
|
96
|
-
</html>
|
|
97
|
-
|
package/dist/coverage/lcov.info
DELETED
|
@@ -1,404 +0,0 @@
|
|
|
1
|
-
TN:
|
|
2
|
-
SF:src/Client.ts
|
|
3
|
-
FN:19,(anonymous_1)
|
|
4
|
-
FN:77,(anonymous_2)
|
|
5
|
-
FN:113,(anonymous_3)
|
|
6
|
-
FN:135,(anonymous_4)
|
|
7
|
-
FN:156,(anonymous_5)
|
|
8
|
-
FN:186,(anonymous_6)
|
|
9
|
-
FN:200,(anonymous_7)
|
|
10
|
-
FN:214,(anonymous_8)
|
|
11
|
-
FN:236,(anonymous_9)
|
|
12
|
-
FNF:9
|
|
13
|
-
FNH:7
|
|
14
|
-
FNDA:13,(anonymous_1)
|
|
15
|
-
FNDA:16,(anonymous_2)
|
|
16
|
-
FNDA:18,(anonymous_3)
|
|
17
|
-
FNDA:23,(anonymous_4)
|
|
18
|
-
FNDA:3,(anonymous_5)
|
|
19
|
-
FNDA:2,(anonymous_6)
|
|
20
|
-
FNDA:0,(anonymous_7)
|
|
21
|
-
FNDA:0,(anonymous_8)
|
|
22
|
-
FNDA:4,(anonymous_9)
|
|
23
|
-
DA:1,4
|
|
24
|
-
DA:3,4
|
|
25
|
-
DA:4,4
|
|
26
|
-
DA:6,4
|
|
27
|
-
DA:7,4
|
|
28
|
-
DA:24,13
|
|
29
|
-
DA:25,13
|
|
30
|
-
DA:26,13
|
|
31
|
-
DA:27,13
|
|
32
|
-
DA:28,1
|
|
33
|
-
DA:29,1
|
|
34
|
-
DA:31,12
|
|
35
|
-
DA:32,12
|
|
36
|
-
DA:35,13
|
|
37
|
-
DA:36,13
|
|
38
|
-
DA:37,13
|
|
39
|
-
DA:38,13
|
|
40
|
-
DA:39,13
|
|
41
|
-
DA:40,13
|
|
42
|
-
DA:78,16
|
|
43
|
-
DA:79,1
|
|
44
|
-
DA:83,15
|
|
45
|
-
DA:84,1
|
|
46
|
-
DA:88,14
|
|
47
|
-
DA:89,1
|
|
48
|
-
DA:94,13
|
|
49
|
-
DA:96,13
|
|
50
|
-
DA:97,1
|
|
51
|
-
DA:98,1
|
|
52
|
-
DA:99,12
|
|
53
|
-
DA:100,13
|
|
54
|
-
DA:114,18
|
|
55
|
-
DA:136,23
|
|
56
|
-
DA:137,1
|
|
57
|
-
DA:141,22
|
|
58
|
-
DA:157,3
|
|
59
|
-
DA:158,2
|
|
60
|
-
DA:159,2
|
|
61
|
-
DA:160,1
|
|
62
|
-
DA:161,1
|
|
63
|
-
DA:167,1
|
|
64
|
-
DA:168,1
|
|
65
|
-
DA:187,2
|
|
66
|
-
DA:201,0
|
|
67
|
-
DA:215,0
|
|
68
|
-
DA:237,4
|
|
69
|
-
DA:238,4
|
|
70
|
-
DA:249,4
|
|
71
|
-
DA:250,4
|
|
72
|
-
LF:49
|
|
73
|
-
LH:47
|
|
74
|
-
BRDA:22,0,0,0
|
|
75
|
-
BRDA:24,1,0,1
|
|
76
|
-
BRDA:24,2,0,1
|
|
77
|
-
BRDA:24,3,0,13
|
|
78
|
-
BRDA:27,4,0,1
|
|
79
|
-
BRDA:27,4,1,12
|
|
80
|
-
BRDA:37,5,0,0
|
|
81
|
-
BRDA:37,5,1,13
|
|
82
|
-
BRDA:37,6,0,13
|
|
83
|
-
BRDA:37,6,1,13
|
|
84
|
-
BRDA:38,7,0,0
|
|
85
|
-
BRDA:38,7,1,13
|
|
86
|
-
BRDA:38,8,0,13
|
|
87
|
-
BRDA:38,8,1,13
|
|
88
|
-
BRDA:40,9,0,0
|
|
89
|
-
BRDA:40,9,1,13
|
|
90
|
-
BRDA:78,10,0,1
|
|
91
|
-
BRDA:78,10,1,15
|
|
92
|
-
BRDA:78,11,0,16
|
|
93
|
-
BRDA:78,11,1,1
|
|
94
|
-
BRDA:83,12,0,1
|
|
95
|
-
BRDA:83,12,1,14
|
|
96
|
-
BRDA:83,13,0,15
|
|
97
|
-
BRDA:83,13,1,2
|
|
98
|
-
BRDA:88,14,0,1
|
|
99
|
-
BRDA:88,14,1,13
|
|
100
|
-
BRDA:88,15,0,14
|
|
101
|
-
BRDA:88,15,1,13
|
|
102
|
-
BRDA:88,15,2,12
|
|
103
|
-
BRDA:96,16,0,1
|
|
104
|
-
BRDA:96,16,1,12
|
|
105
|
-
BRDA:96,17,0,13
|
|
106
|
-
BRDA:96,17,1,1
|
|
107
|
-
BRDA:136,18,0,1
|
|
108
|
-
BRDA:136,18,1,22
|
|
109
|
-
BRDA:157,19,0,2
|
|
110
|
-
BRDA:157,19,1,1
|
|
111
|
-
BRDA:159,20,0,1
|
|
112
|
-
BRDA:159,20,1,1
|
|
113
|
-
BRDA:237,21,0,1
|
|
114
|
-
BRDA:237,21,1,3
|
|
115
|
-
BRDA:237,22,0,4
|
|
116
|
-
BRDA:237,22,1,4
|
|
117
|
-
BRDA:249,23,0,0
|
|
118
|
-
BRDA:249,23,1,4
|
|
119
|
-
BRF:45
|
|
120
|
-
BRH:40
|
|
121
|
-
end_of_record
|
|
122
|
-
TN:
|
|
123
|
-
SF:src/Constants.ts
|
|
124
|
-
FNF:0
|
|
125
|
-
FNH:0
|
|
126
|
-
DA:1,4
|
|
127
|
-
DA:2,4
|
|
128
|
-
DA:3,4
|
|
129
|
-
DA:4,4
|
|
130
|
-
DA:5,4
|
|
131
|
-
DA:6,4
|
|
132
|
-
DA:7,4
|
|
133
|
-
DA:8,4
|
|
134
|
-
DA:9,4
|
|
135
|
-
DA:10,4
|
|
136
|
-
DA:11,4
|
|
137
|
-
DA:12,4
|
|
138
|
-
DA:13,4
|
|
139
|
-
DA:14,4
|
|
140
|
-
DA:15,4
|
|
141
|
-
DA:16,4
|
|
142
|
-
LF:16
|
|
143
|
-
LH:16
|
|
144
|
-
BRF:0
|
|
145
|
-
BRH:0
|
|
146
|
-
end_of_record
|
|
147
|
-
TN:
|
|
148
|
-
SF:src/request.ts
|
|
149
|
-
FN:30,makeApiRequest
|
|
150
|
-
FNF:1
|
|
151
|
-
FNH:1
|
|
152
|
-
FNDA:3,makeApiRequest
|
|
153
|
-
DA:1,2
|
|
154
|
-
DA:3,2
|
|
155
|
-
DA:4,2
|
|
156
|
-
DA:30,2
|
|
157
|
-
DA:31,3
|
|
158
|
-
DA:32,3
|
|
159
|
-
DA:34,3
|
|
160
|
-
DA:48,3
|
|
161
|
-
DA:49,2
|
|
162
|
-
LF:9
|
|
163
|
-
LH:9
|
|
164
|
-
BRF:0
|
|
165
|
-
BRH:0
|
|
166
|
-
end_of_record
|
|
167
|
-
TN:
|
|
168
|
-
SF:src/utils.ts
|
|
169
|
-
FN:14,findExpiryTime
|
|
170
|
-
FNF:1
|
|
171
|
-
FNH:1
|
|
172
|
-
FNDA:11,findExpiryTime
|
|
173
|
-
DA:14,4
|
|
174
|
-
DA:15,11
|
|
175
|
-
DA:16,11
|
|
176
|
-
DA:17,11
|
|
177
|
-
DA:18,11
|
|
178
|
-
LF:5
|
|
179
|
-
LH:5
|
|
180
|
-
BRDA:17,0,0,0
|
|
181
|
-
BRDA:17,0,1,11
|
|
182
|
-
BRF:2
|
|
183
|
-
BRH:1
|
|
184
|
-
end_of_record
|
|
185
|
-
TN:
|
|
186
|
-
SF:src/api/Calculation.ts
|
|
187
|
-
FN:33,calculate
|
|
188
|
-
FNF:1
|
|
189
|
-
FNH:1
|
|
190
|
-
FNDA:1,calculate
|
|
191
|
-
DA:1,1
|
|
192
|
-
DA:2,1
|
|
193
|
-
DA:4,1
|
|
194
|
-
DA:33,1
|
|
195
|
-
DA:36,1
|
|
196
|
-
DA:37,1
|
|
197
|
-
DA:39,1
|
|
198
|
-
LF:7
|
|
199
|
-
LH:7
|
|
200
|
-
BRF:0
|
|
201
|
-
BRH:0
|
|
202
|
-
end_of_record
|
|
203
|
-
TN:
|
|
204
|
-
SF:src/api/Factor.ts
|
|
205
|
-
FN:40,retrieveFactor
|
|
206
|
-
FN:75,search
|
|
207
|
-
FNF:2
|
|
208
|
-
FNH:2
|
|
209
|
-
FNDA:1,retrieveFactor
|
|
210
|
-
FNDA:1,search
|
|
211
|
-
DA:1,1
|
|
212
|
-
DA:2,1
|
|
213
|
-
DA:4,1
|
|
214
|
-
DA:40,1
|
|
215
|
-
DA:43,1
|
|
216
|
-
DA:44,1
|
|
217
|
-
DA:46,1
|
|
218
|
-
DA:75,1
|
|
219
|
-
DA:78,1
|
|
220
|
-
DA:79,1
|
|
221
|
-
DA:81,1
|
|
222
|
-
LF:11
|
|
223
|
-
LH:11
|
|
224
|
-
BRF:0
|
|
225
|
-
BRH:0
|
|
226
|
-
end_of_record
|
|
227
|
-
TN:
|
|
228
|
-
SF:src/api/FactorSets.ts
|
|
229
|
-
FN:15,get
|
|
230
|
-
FNF:1
|
|
231
|
-
FNH:1
|
|
232
|
-
FNDA:1,get
|
|
233
|
-
DA:1,1
|
|
234
|
-
DA:2,1
|
|
235
|
-
DA:3,1
|
|
236
|
-
DA:15,1
|
|
237
|
-
DA:17,1
|
|
238
|
-
DA:18,1
|
|
239
|
-
DA:20,1
|
|
240
|
-
LF:7
|
|
241
|
-
LH:7
|
|
242
|
-
BRF:0
|
|
243
|
-
BRH:0
|
|
244
|
-
end_of_record
|
|
245
|
-
TN:
|
|
246
|
-
SF:src/api/Fugitive.ts
|
|
247
|
-
FN:32,calculate
|
|
248
|
-
FNF:1
|
|
249
|
-
FNH:1
|
|
250
|
-
FNDA:1,calculate
|
|
251
|
-
DA:1,1
|
|
252
|
-
DA:2,1
|
|
253
|
-
DA:4,1
|
|
254
|
-
DA:32,1
|
|
255
|
-
DA:35,1
|
|
256
|
-
DA:36,1
|
|
257
|
-
DA:38,1
|
|
258
|
-
LF:7
|
|
259
|
-
LH:7
|
|
260
|
-
BRF:0
|
|
261
|
-
BRH:0
|
|
262
|
-
end_of_record
|
|
263
|
-
TN:
|
|
264
|
-
SF:src/api/Location.ts
|
|
265
|
-
FN:32,calculate
|
|
266
|
-
FNF:1
|
|
267
|
-
FNH:1
|
|
268
|
-
FNDA:1,calculate
|
|
269
|
-
DA:1,1
|
|
270
|
-
DA:2,1
|
|
271
|
-
DA:4,1
|
|
272
|
-
DA:32,1
|
|
273
|
-
DA:35,1
|
|
274
|
-
DA:36,1
|
|
275
|
-
DA:38,1
|
|
276
|
-
LF:7
|
|
277
|
-
LH:7
|
|
278
|
-
BRF:0
|
|
279
|
-
BRH:0
|
|
280
|
-
end_of_record
|
|
281
|
-
TN:
|
|
282
|
-
SF:src/api/Mobile.ts
|
|
283
|
-
FN:34,calculate
|
|
284
|
-
FNF:1
|
|
285
|
-
FNH:1
|
|
286
|
-
FNDA:1,calculate
|
|
287
|
-
DA:1,1
|
|
288
|
-
DA:2,1
|
|
289
|
-
DA:4,1
|
|
290
|
-
DA:34,1
|
|
291
|
-
DA:37,1
|
|
292
|
-
DA:38,1
|
|
293
|
-
DA:40,1
|
|
294
|
-
LF:7
|
|
295
|
-
LH:7
|
|
296
|
-
BRF:0
|
|
297
|
-
BRH:0
|
|
298
|
-
end_of_record
|
|
299
|
-
TN:
|
|
300
|
-
SF:src/api/Stationary.ts
|
|
301
|
-
FN:34,calculate
|
|
302
|
-
FNF:1
|
|
303
|
-
FNH:1
|
|
304
|
-
FNDA:1,calculate
|
|
305
|
-
DA:1,1
|
|
306
|
-
DA:2,1
|
|
307
|
-
DA:4,1
|
|
308
|
-
DA:34,1
|
|
309
|
-
DA:37,1
|
|
310
|
-
DA:38,1
|
|
311
|
-
DA:40,1
|
|
312
|
-
LF:7
|
|
313
|
-
LH:7
|
|
314
|
-
BRF:0
|
|
315
|
-
BRH:0
|
|
316
|
-
end_of_record
|
|
317
|
-
TN:
|
|
318
|
-
SF:src/api/TransportationAndDistribution.ts
|
|
319
|
-
FN:31,calculate
|
|
320
|
-
FNF:1
|
|
321
|
-
FNH:1
|
|
322
|
-
FNDA:1,calculate
|
|
323
|
-
DA:1,1
|
|
324
|
-
DA:2,1
|
|
325
|
-
DA:4,1
|
|
326
|
-
DA:31,1
|
|
327
|
-
DA:34,1
|
|
328
|
-
DA:35,1
|
|
329
|
-
DA:37,1
|
|
330
|
-
LF:7
|
|
331
|
-
LH:7
|
|
332
|
-
BRF:0
|
|
333
|
-
BRH:0
|
|
334
|
-
end_of_record
|
|
335
|
-
TN:
|
|
336
|
-
SF:test/testUtils.ts
|
|
337
|
-
FN:1,generateMockjwt
|
|
338
|
-
FNF:1
|
|
339
|
-
FNH:1
|
|
340
|
-
FNDA:3,generateMockjwt
|
|
341
|
-
DA:1,1
|
|
342
|
-
DA:2,3
|
|
343
|
-
DA:3,3
|
|
344
|
-
DA:4,3
|
|
345
|
-
LF:4
|
|
346
|
-
LH:4
|
|
347
|
-
BRF:0
|
|
348
|
-
BRH:0
|
|
349
|
-
end_of_record
|
|
350
|
-
TN:
|
|
351
|
-
SF:test/mocks/CommonRequest.ts
|
|
352
|
-
FNF:0
|
|
353
|
-
FNH:0
|
|
354
|
-
DA:3,1
|
|
355
|
-
DA:19,1
|
|
356
|
-
LF:2
|
|
357
|
-
LH:2
|
|
358
|
-
BRF:0
|
|
359
|
-
BRH:0
|
|
360
|
-
end_of_record
|
|
361
|
-
TN:
|
|
362
|
-
SF:test/mocks/FactorRequest.ts
|
|
363
|
-
FNF:0
|
|
364
|
-
FNH:0
|
|
365
|
-
DA:3,1
|
|
366
|
-
DA:16,1
|
|
367
|
-
LF:2
|
|
368
|
-
LH:2
|
|
369
|
-
BRF:0
|
|
370
|
-
BRH:0
|
|
371
|
-
end_of_record
|
|
372
|
-
TN:
|
|
373
|
-
SF:test/mocks/GenericCalculationRequest.ts
|
|
374
|
-
FNF:0
|
|
375
|
-
FNH:0
|
|
376
|
-
DA:3,1
|
|
377
|
-
DA:19,1
|
|
378
|
-
LF:2
|
|
379
|
-
LH:2
|
|
380
|
-
BRF:0
|
|
381
|
-
BRH:0
|
|
382
|
-
end_of_record
|
|
383
|
-
TN:
|
|
384
|
-
SF:test/mocks/LocationRequest.ts
|
|
385
|
-
FNF:0
|
|
386
|
-
FNH:0
|
|
387
|
-
DA:3,1
|
|
388
|
-
DA:19,1
|
|
389
|
-
LF:2
|
|
390
|
-
LH:2
|
|
391
|
-
BRF:0
|
|
392
|
-
BRH:0
|
|
393
|
-
end_of_record
|
|
394
|
-
TN:
|
|
395
|
-
SF:test/mocks/SearchRequest.ts
|
|
396
|
-
FNF:0
|
|
397
|
-
FNH:0
|
|
398
|
-
DA:3,1
|
|
399
|
-
DA:19,1
|
|
400
|
-
LF:2
|
|
401
|
-
LH:2
|
|
402
|
-
BRF:0
|
|
403
|
-
BRH:0
|
|
404
|
-
end_of_record
|