emissions-api-sdk 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -2
- package/dist/Constants.js +23 -1
- package/dist/api/Calculation.js +78 -15
- package/dist/api/Factor.js +99 -18
- package/dist/api/FactorSets.js +1 -1
- package/dist/api/Fugitive.js +76 -13
- package/dist/api/Location.js +76 -15
- package/dist/api/Mobile.js +65 -1
- package/dist/api/Stationary.js +78 -15
- package/dist/api/TransportationAndDistribution.js +77 -14
- package/dist/coverage/clover.xml +191 -81
- package/dist/coverage/coverage-final.json +11 -11
- package/dist/coverage/lcov-report/index.html +16 -16
- package/dist/coverage/lcov-report/src/Client.ts.html +23 -23
- package/dist/coverage/lcov-report/src/Constants.ts.html +82 -4
- package/dist/coverage/lcov-report/src/api/Calculation.ts.html +245 -26
- package/dist/coverage/lcov-report/src/api/Factor.ts.html +313 -34
- package/dist/coverage/lcov-report/src/api/FactorSets.ts.html +8 -5
- package/dist/coverage/lcov-report/src/api/Fugitive.ts.html +246 -24
- package/dist/coverage/lcov-report/src/api/Location.ts.html +245 -26
- package/dist/coverage/lcov-report/src/api/Mobile.ts.html +240 -12
- package/dist/coverage/lcov-report/src/api/Stationary.ts.html +248 -26
- package/dist/coverage/lcov-report/src/api/TransportationAndDistribution.ts.html +250 -25
- package/dist/coverage/lcov-report/src/api/index.html +25 -25
- package/dist/coverage/lcov-report/src/index.html +7 -7
- package/dist/coverage/lcov-report/src/request.ts.html +1 -1
- package/dist/coverage/lcov-report/src/utils.ts.html +5 -5
- package/dist/coverage/lcov-report/test/index.html +1 -1
- package/dist/coverage/lcov-report/test/mocks/CommonRequest.ts.html +1 -1
- package/dist/coverage/lcov-report/test/mocks/FactorRequest.ts.html +1 -1
- package/dist/coverage/lcov-report/test/mocks/GenericCalculationRequest.ts.html +1 -1
- package/dist/coverage/lcov-report/test/mocks/LocationRequest.ts.html +1 -1
- package/dist/coverage/lcov-report/test/mocks/SearchRequest.ts.html +1 -1
- package/dist/coverage/lcov-report/test/mocks/index.html +1 -1
- package/dist/coverage/lcov-report/test/testUtils.ts.html +1 -1
- package/dist/coverage/lcov.info +287 -133
- package/dist/interfaces/response/AreaResponse.js +2 -0
- package/dist/interfaces/response/EmissionResponse.js +2 -0
- package/dist/interfaces/response/EmissionResponseWithDetails.js +2 -0
- package/dist/interfaces/response/FactorResponse.js +2 -0
- package/dist/interfaces/response/FactorSetResponse.js +2 -0
- package/dist/interfaces/response/SearchResponse.js +2 -0
- package/dist/interfaces/response/TypeResponse.js +2 -0
- package/dist/interfaces/response/UnitResponse.js +2 -0
- package/dist/types/Constants.d.ts +22 -0
- package/dist/types/api/Calculation.d.ts +59 -16
- package/dist/types/api/Factor.d.ts +73 -20
- package/dist/types/api/FactorSets.d.ts +3 -2
- package/dist/types/api/Fugitive.d.ts +57 -14
- package/dist/types/api/Location.d.ts +57 -16
- package/dist/types/api/Mobile.d.ts +46 -2
- package/dist/types/api/Stationary.d.ts +59 -16
- package/dist/types/api/TransportationAndDistribution.d.ts +58 -15
- package/dist/types/index.d.ts +8 -0
- package/dist/types/interfaces/response/AreaResponse.d.ts +20 -0
- package/dist/types/interfaces/response/EmissionResponse.d.ts +31 -0
- package/dist/types/interfaces/response/EmissionResponseWithDetails.d.ts +144 -0
- package/dist/types/interfaces/response/FactorResponse.d.ts +53 -0
- package/dist/types/interfaces/response/FactorSetResponse.d.ts +38 -0
- package/dist/types/interfaces/response/SearchResponse.d.ts +41 -0
- package/dist/types/interfaces/response/TypeResponse.d.ts +7 -0
- package/dist/types/interfaces/response/UnitResponse.d.ts +7 -0
- 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 +30 -0
- package/docs/_sources/reference.rst.txt +129 -0
- package/docs/_sources/sdk.rst.txt +13 -0
- package/docs/_sources/troubleshooting.rst.txt +486 -0
- package/docs/_static/basic.css +914 -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 +232 -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 +632 -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 +523 -0
- package/docs/client.html +477 -0
- package/docs/genindex.html +492 -0
- package/docs/getting_started.html +491 -0
- package/docs/index.html +357 -0
- package/docs/objects.inv +0 -0
- package/docs/reference.html +1584 -0
- package/docs/sdk.html +334 -0
- package/docs/search.html +297 -0
- package/docs/searchindex.js +1 -0
- package/docs/troubleshooting.html +786 -0
- package/package.json +1 -1
- package/sphinx-build/Makefile +49 -0
- package/sphinx-build/requirements.txt +5 -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 +30 -0
- package/sphinx-build/source/reference.rst +129 -0
- package/sphinx-build/source/sdk.rst +13 -0
- package/sphinx-build/source/troubleshooting.rst +486 -0
- package/src/Constants.ts +26 -0
- package/src/api/Calculation.ts +94 -20
- package/src/api/Factor.ts +122 -28
- package/src/api/FactorSets.ts +4 -3
- package/src/api/Fugitive.ts +93 -18
- package/src/api/Location.ts +94 -20
- package/src/api/Mobile.ts +83 -6
- package/src/api/Stationary.ts +95 -20
- package/src/api/TransportationAndDistribution.ts +95 -19
- package/src/index.ts +33 -1
- package/src/interfaces/response/AreaResponse.ts +25 -0
- package/src/interfaces/response/EmissionResponse.ts +44 -0
- package/src/interfaces/response/EmissionResponseWithDetails.ts +183 -0
- package/src/interfaces/response/FactorResponse.ts +78 -0
- package/src/interfaces/response/FactorSetResponse.ts +52 -0
- package/src/interfaces/response/SearchResponse.ts +52 -0
- package/src/interfaces/response/TypeResponse.ts +7 -0
- package/src/interfaces/response/UnitResponse.ts +7 -0
- package/test/apiTest.test.ts +173 -6
- 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/lcov-report/src/api/Factors.ts.html +0 -403
- 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/LocationEmission.ts.html +0 -214
- package/dist/coverage/lcov-report/src/api/MobileEmission.ts.html +0 -220
- package/dist/coverage/lcov-report/src/api/StationaryEmission.ts.html +0 -220
- package/dist/coverage/lcov-report/src/api/TransportationDistributionEmission.ts.html +0 -211
- 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
package/docs/sdk.html
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="en" data-content_root="./">
|
|
3
|
+
<head><meta charset="utf-8"/>
|
|
4
|
+
<meta name="viewport" content="width=device-width,initial-scale=1"/>
|
|
5
|
+
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Client" href="client.html" /><link rel="prev" title="Getting Started" href="getting_started.html" />
|
|
7
|
+
|
|
8
|
+
<!-- Generated with Sphinx 8.1.3 and Furo 2025.07.19 -->
|
|
9
|
+
<title>SDK - IBM Envizi - Emissions API Node.js SDK documentation</title>
|
|
10
|
+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=d111a655" />
|
|
11
|
+
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=25af2a20" />
|
|
12
|
+
<link rel="stylesheet" type="text/css" href="_static/sphinx_js.css" />
|
|
13
|
+
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=8dab3a3b" />
|
|
14
|
+
<link rel="stylesheet" type="text/css" href="_static/custom.css?v=8d04aa46" />
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<style>
|
|
20
|
+
body {
|
|
21
|
+
--color-code-background: #f2f2f2;
|
|
22
|
+
--color-code-foreground: #1e1e1e;
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
@media not print {
|
|
26
|
+
body[data-theme="dark"] {
|
|
27
|
+
--color-code-background: #2b2b2b;
|
|
28
|
+
--color-code-foreground: #f8f8f2;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
@media (prefers-color-scheme: dark) {
|
|
32
|
+
body:not([data-theme="light"]) {
|
|
33
|
+
--color-code-background: #2b2b2b;
|
|
34
|
+
--color-code-foreground: #f8f8f2;
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
</style></head>
|
|
40
|
+
<body>
|
|
41
|
+
|
|
42
|
+
<script>
|
|
43
|
+
document.body.dataset.theme = localStorage.getItem("theme") || "auto";
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
48
|
+
<symbol id="svg-toc" viewBox="0 0 24 24">
|
|
49
|
+
<title>Contents</title>
|
|
50
|
+
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024">
|
|
51
|
+
<path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"/>
|
|
52
|
+
</svg>
|
|
53
|
+
</symbol>
|
|
54
|
+
<symbol id="svg-menu" viewBox="0 0 24 24">
|
|
55
|
+
<title>Menu</title>
|
|
56
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
57
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu">
|
|
58
|
+
<line x1="3" y1="12" x2="21" y2="12"></line>
|
|
59
|
+
<line x1="3" y1="6" x2="21" y2="6"></line>
|
|
60
|
+
<line x1="3" y1="18" x2="21" y2="18"></line>
|
|
61
|
+
</svg>
|
|
62
|
+
</symbol>
|
|
63
|
+
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
|
|
64
|
+
<title>Expand</title>
|
|
65
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
66
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right">
|
|
67
|
+
<polyline points="9 18 15 12 9 6"></polyline>
|
|
68
|
+
</svg>
|
|
69
|
+
</symbol>
|
|
70
|
+
<symbol id="svg-sun" viewBox="0 0 24 24">
|
|
71
|
+
<title>Light mode</title>
|
|
72
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
73
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather-sun">
|
|
74
|
+
<circle cx="12" cy="12" r="5"></circle>
|
|
75
|
+
<line x1="12" y1="1" x2="12" y2="3"></line>
|
|
76
|
+
<line x1="12" y1="21" x2="12" y2="23"></line>
|
|
77
|
+
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
|
|
78
|
+
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
|
|
79
|
+
<line x1="1" y1="12" x2="3" y2="12"></line>
|
|
80
|
+
<line x1="21" y1="12" x2="23" y2="12"></line>
|
|
81
|
+
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
|
|
82
|
+
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
|
|
83
|
+
</svg>
|
|
84
|
+
</symbol>
|
|
85
|
+
<symbol id="svg-moon" viewBox="0 0 24 24">
|
|
86
|
+
<title>Dark mode</title>
|
|
87
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
88
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon">
|
|
89
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
90
|
+
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
|
|
91
|
+
</svg>
|
|
92
|
+
</symbol>
|
|
93
|
+
<symbol id="svg-sun-with-moon" viewBox="0 0 24 24">
|
|
94
|
+
<title>Auto light/dark, in light mode</title>
|
|
95
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
96
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round"
|
|
97
|
+
class="icon-custom-derived-from-feather-sun-and-tabler-moon">
|
|
98
|
+
<path style="opacity: 50%" d="M 5.411 14.504 C 5.471 14.504 5.532 14.504 5.591 14.504 C 3.639 16.319 4.383 19.569 6.931 20.352 C 7.693 20.586 8.512 20.551 9.25 20.252 C 8.023 23.207 4.056 23.725 2.11 21.184 C 0.166 18.642 1.702 14.949 4.874 14.536 C 5.051 14.512 5.231 14.5 5.411 14.5 L 5.411 14.504 Z"/>
|
|
99
|
+
<line x1="14.5" y1="3.25" x2="14.5" y2="1.25"/>
|
|
100
|
+
<line x1="14.5" y1="15.85" x2="14.5" y2="17.85"/>
|
|
101
|
+
<line x1="10.044" y1="5.094" x2="8.63" y2="3.68"/>
|
|
102
|
+
<line x1="19" y1="14.05" x2="20.414" y2="15.464"/>
|
|
103
|
+
<line x1="8.2" y1="9.55" x2="6.2" y2="9.55"/>
|
|
104
|
+
<line x1="20.8" y1="9.55" x2="22.8" y2="9.55"/>
|
|
105
|
+
<line x1="10.044" y1="14.006" x2="8.63" y2="15.42"/>
|
|
106
|
+
<line x1="19" y1="5.05" x2="20.414" y2="3.636"/>
|
|
107
|
+
<circle cx="14.5" cy="9.55" r="3.6"/>
|
|
108
|
+
</svg>
|
|
109
|
+
</symbol>
|
|
110
|
+
<symbol id="svg-moon-with-sun" viewBox="0 0 24 24">
|
|
111
|
+
<title>Auto light/dark, in dark mode</title>
|
|
112
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
113
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round"
|
|
114
|
+
class="icon-custom-derived-from-feather-sun-and-tabler-moon">
|
|
115
|
+
<path d="M 8.282 7.007 C 8.385 7.007 8.494 7.007 8.595 7.007 C 5.18 10.184 6.481 15.869 10.942 17.24 C 12.275 17.648 13.706 17.589 15 17.066 C 12.851 22.236 5.91 23.143 2.505 18.696 C -0.897 14.249 1.791 7.786 7.342 7.063 C 7.652 7.021 7.965 7 8.282 7 L 8.282 7.007 Z"/>
|
|
116
|
+
<line style="opacity: 50%" x1="18" y1="3.705" x2="18" y2="2.5"/>
|
|
117
|
+
<line style="opacity: 50%" x1="18" y1="11.295" x2="18" y2="12.5"/>
|
|
118
|
+
<line style="opacity: 50%" x1="15.316" y1="4.816" x2="14.464" y2="3.964"/>
|
|
119
|
+
<line style="opacity: 50%" x1="20.711" y1="10.212" x2="21.563" y2="11.063"/>
|
|
120
|
+
<line style="opacity: 50%" x1="14.205" y1="7.5" x2="13.001" y2="7.5"/>
|
|
121
|
+
<line style="opacity: 50%" x1="21.795" y1="7.5" x2="23" y2="7.5"/>
|
|
122
|
+
<line style="opacity: 50%" x1="15.316" y1="10.184" x2="14.464" y2="11.036"/>
|
|
123
|
+
<line style="opacity: 50%" x1="20.711" y1="4.789" x2="21.563" y2="3.937"/>
|
|
124
|
+
<circle style="opacity: 50%" cx="18" cy="7.5" r="2.169"/>
|
|
125
|
+
</svg>
|
|
126
|
+
</symbol>
|
|
127
|
+
<symbol id="svg-pencil" viewBox="0 0 24 24">
|
|
128
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
129
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-pencil-code">
|
|
130
|
+
<path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" />
|
|
131
|
+
<path d="M13.5 6.5l4 4" />
|
|
132
|
+
<path d="M20 21l2 -2l-2 -2" />
|
|
133
|
+
<path d="M17 17l-2 2l2 2" />
|
|
134
|
+
</svg>
|
|
135
|
+
</symbol>
|
|
136
|
+
<symbol id="svg-eye" viewBox="0 0 24 24">
|
|
137
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
138
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-eye-code">
|
|
139
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
140
|
+
<path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
|
141
|
+
<path
|
|
142
|
+
d="M11.11 17.958c-3.209 -.307 -5.91 -2.293 -8.11 -5.958c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6c-.21 .352 -.427 .688 -.647 1.008" />
|
|
143
|
+
<path d="M20 21l2 -2l-2 -2" />
|
|
144
|
+
<path d="M17 17l-2 2l2 2" />
|
|
145
|
+
</svg>
|
|
146
|
+
</symbol>
|
|
147
|
+
</svg>
|
|
148
|
+
|
|
149
|
+
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
|
|
150
|
+
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
|
|
151
|
+
<label class="overlay sidebar-overlay" for="__navigation">
|
|
152
|
+
<div class="visually-hidden">Hide navigation sidebar</div>
|
|
153
|
+
</label>
|
|
154
|
+
<label class="overlay toc-overlay" for="__toc">
|
|
155
|
+
<div class="visually-hidden">Hide table of contents sidebar</div>
|
|
156
|
+
</label>
|
|
157
|
+
|
|
158
|
+
<a class="skip-to-content muted-link" href="#furo-main-content">Skip to content</a>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
<div class="page">
|
|
163
|
+
<header class="mobile-header">
|
|
164
|
+
<div class="header-left">
|
|
165
|
+
<label class="nav-overlay-icon" for="__navigation">
|
|
166
|
+
<div class="visually-hidden">Toggle site navigation sidebar</div>
|
|
167
|
+
<i class="icon"><svg><use href="#svg-menu"></use></svg></i>
|
|
168
|
+
</label>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="header-center">
|
|
171
|
+
<a href="index.html"><div class="brand">IBM Envizi - Emissions API Node.js SDK documentation</div></a>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="header-right">
|
|
174
|
+
<div class="theme-toggle-container theme-toggle-header">
|
|
175
|
+
<button class="theme-toggle">
|
|
176
|
+
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
|
|
177
|
+
<svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
|
|
178
|
+
<svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
|
|
179
|
+
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
|
|
180
|
+
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
|
|
181
|
+
</button>
|
|
182
|
+
</div>
|
|
183
|
+
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
|
|
184
|
+
<div class="visually-hidden">Toggle table of contents sidebar</div>
|
|
185
|
+
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
|
186
|
+
</label>
|
|
187
|
+
</div>
|
|
188
|
+
</header>
|
|
189
|
+
<aside class="sidebar-drawer">
|
|
190
|
+
<div class="sidebar-container">
|
|
191
|
+
|
|
192
|
+
<div class="sidebar-sticky"><a class="sidebar-brand" href="index.html">
|
|
193
|
+
|
|
194
|
+
<span class="sidebar-brand-text">IBM Envizi - Emissions API Node.js SDK documentation</span>
|
|
195
|
+
|
|
196
|
+
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
|
|
197
|
+
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
|
|
198
|
+
<input type="hidden" name="check_keywords" value="yes">
|
|
199
|
+
<input type="hidden" name="area" value="default">
|
|
200
|
+
</form>
|
|
201
|
+
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
|
|
202
|
+
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
|
|
203
|
+
<ul class="current">
|
|
204
|
+
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
|
|
205
|
+
<li class="toctree-l1 current has-children current-page"><a class="current reference internal" href="#">SDK</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of SDK</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
|
|
206
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html">Client</a></li>
|
|
207
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html">Authentication</a></li>
|
|
208
|
+
</ul>
|
|
209
|
+
</li>
|
|
210
|
+
<li class="toctree-l1"><a class="reference internal" href="reference.html">Reference</a></li>
|
|
211
|
+
<li class="toctree-l1"><a class="reference internal" href="troubleshooting.html">Troubleshooting Guide</a></li>
|
|
212
|
+
</ul>
|
|
213
|
+
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
</div>
|
|
220
|
+
</aside>
|
|
221
|
+
<div class="main">
|
|
222
|
+
<div class="content">
|
|
223
|
+
<div class="article-container">
|
|
224
|
+
<a href="#" class="back-to-top muted-link">
|
|
225
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
226
|
+
<path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"></path>
|
|
227
|
+
</svg>
|
|
228
|
+
<span>Back to top</span>
|
|
229
|
+
</a>
|
|
230
|
+
<div class="content-icon-container">
|
|
231
|
+
<div class="view-this-page">
|
|
232
|
+
<a class="muted-link" href="_sources/sdk.rst.txt" title="View this page">
|
|
233
|
+
<svg><use href="#svg-eye"></use></svg>
|
|
234
|
+
<span class="visually-hidden">View this page</span>
|
|
235
|
+
</a>
|
|
236
|
+
</div>
|
|
237
|
+
<div class="theme-toggle-container theme-toggle-content">
|
|
238
|
+
<button class="theme-toggle">
|
|
239
|
+
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
|
|
240
|
+
<svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
|
|
241
|
+
<svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
|
|
242
|
+
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
|
|
243
|
+
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
|
|
244
|
+
</button>
|
|
245
|
+
</div>
|
|
246
|
+
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
|
|
247
|
+
<div class="visually-hidden">Toggle table of contents sidebar</div>
|
|
248
|
+
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
|
249
|
+
</label>
|
|
250
|
+
</div>
|
|
251
|
+
<article role="main" id="furo-main-content">
|
|
252
|
+
<section id="sdk">
|
|
253
|
+
<h1>SDK<a class="headerlink" href="#sdk" title="Link to this heading">¶</a></h1>
|
|
254
|
+
<p>The IBM Envizi - Emissions API Node.js SDK provides a structured approach to interact with the Emissions API. This section covers the key components and usage patterns.</p>
|
|
255
|
+
<div class="toctree-wrapper compound">
|
|
256
|
+
<ul>
|
|
257
|
+
<li class="toctree-l1"><a class="reference internal" href="client.html">Client</a><ul>
|
|
258
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#overview">Overview</a></li>
|
|
259
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#client-initialization">Client Initialization</a></li>
|
|
260
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#configuration-options">Configuration Options</a></li>
|
|
261
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#client-responsibilities">Client Responsibilities</a></li>
|
|
262
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#error-handling">Error Handling</a></li>
|
|
263
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#best-practices">Best Practices</a></li>
|
|
264
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html#authentication-integration">Authentication Integration</a></li>
|
|
265
|
+
</ul>
|
|
266
|
+
</li>
|
|
267
|
+
<li class="toctree-l1"><a class="reference internal" href="authentication.html">Authentication</a><ul>
|
|
268
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html#overview">Overview</a></li>
|
|
269
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html#authentication-methods">Authentication Methods</a></li>
|
|
270
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html#authentication-flow">Authentication Flow</a></li>
|
|
271
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html#authentication-headers">Authentication Headers</a></li>
|
|
272
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html#architecture-diagram">Architecture Diagram</a></li>
|
|
273
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html#security-best-practices">Security Best Practices</a></li>
|
|
274
|
+
</ul>
|
|
275
|
+
</li>
|
|
276
|
+
</ul>
|
|
277
|
+
</div>
|
|
278
|
+
</section>
|
|
279
|
+
|
|
280
|
+
</article>
|
|
281
|
+
</div>
|
|
282
|
+
<footer>
|
|
283
|
+
|
|
284
|
+
<div class="related-pages">
|
|
285
|
+
<a class="next-page" href="client.html">
|
|
286
|
+
<div class="page-info">
|
|
287
|
+
<div class="context">
|
|
288
|
+
<span>Next</span>
|
|
289
|
+
</div>
|
|
290
|
+
<div class="title">Client</div>
|
|
291
|
+
</div>
|
|
292
|
+
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
|
|
293
|
+
</a>
|
|
294
|
+
<a class="prev-page" href="getting_started.html">
|
|
295
|
+
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
|
|
296
|
+
<div class="page-info">
|
|
297
|
+
<div class="context">
|
|
298
|
+
<span>Previous</span>
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
<div class="title">Getting Started</div>
|
|
302
|
+
|
|
303
|
+
</div>
|
|
304
|
+
</a>
|
|
305
|
+
</div>
|
|
306
|
+
<div class="bottom-of-page">
|
|
307
|
+
<div class="left-details">
|
|
308
|
+
<div class="copyright">
|
|
309
|
+
Copyright © 2025, IBM Corporation
|
|
310
|
+
</div>
|
|
311
|
+
Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s
|
|
312
|
+
|
|
313
|
+
<a href="https://github.com/pradyunsg/furo">Furo</a>
|
|
314
|
+
|
|
315
|
+
</div>
|
|
316
|
+
<div class="right-details">
|
|
317
|
+
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
|
|
321
|
+
</footer>
|
|
322
|
+
</div>
|
|
323
|
+
<aside class="toc-drawer no-toc">
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
</aside>
|
|
328
|
+
</div>
|
|
329
|
+
</div><script src="_static/documentation_options.js?v=5929fcd5"></script>
|
|
330
|
+
<script src="_static/doctools.js?v=9bcbadda"></script>
|
|
331
|
+
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
|
332
|
+
<script src="_static/scripts/furo.js?v=46bd48cc"></script>
|
|
333
|
+
</body>
|
|
334
|
+
</html>
|
package/docs/search.html
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="en" data-content_root="./">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8"/>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1"/>
|
|
6
|
+
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />
|
|
7
|
+
|
|
8
|
+
<!-- Generated with Sphinx 8.1.3 and Furo 2025.07.19 -->
|
|
9
|
+
<meta name="robots" content="noindex" />
|
|
10
|
+
<title>Search - IBM Envizi - Emissions API Node.js SDK documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=d111a655" />
|
|
11
|
+
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=25af2a20" />
|
|
12
|
+
<link rel="stylesheet" type="text/css" href="_static/sphinx_js.css" />
|
|
13
|
+
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=8dab3a3b" />
|
|
14
|
+
<link rel="stylesheet" type="text/css" href="_static/custom.css?v=8d04aa46" />
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<style>
|
|
20
|
+
body {
|
|
21
|
+
--color-code-background: #f2f2f2;
|
|
22
|
+
--color-code-foreground: #1e1e1e;
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
@media not print {
|
|
26
|
+
body[data-theme="dark"] {
|
|
27
|
+
--color-code-background: #2b2b2b;
|
|
28
|
+
--color-code-foreground: #f8f8f2;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
@media (prefers-color-scheme: dark) {
|
|
32
|
+
body:not([data-theme="light"]) {
|
|
33
|
+
--color-code-background: #2b2b2b;
|
|
34
|
+
--color-code-foreground: #f8f8f2;
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
</style></head>
|
|
40
|
+
<body>
|
|
41
|
+
|
|
42
|
+
<script>
|
|
43
|
+
document.body.dataset.theme = localStorage.getItem("theme") || "auto";
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
48
|
+
<symbol id="svg-toc" viewBox="0 0 24 24">
|
|
49
|
+
<title>Contents</title>
|
|
50
|
+
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024">
|
|
51
|
+
<path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"/>
|
|
52
|
+
</svg>
|
|
53
|
+
</symbol>
|
|
54
|
+
<symbol id="svg-menu" viewBox="0 0 24 24">
|
|
55
|
+
<title>Menu</title>
|
|
56
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
57
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu">
|
|
58
|
+
<line x1="3" y1="12" x2="21" y2="12"></line>
|
|
59
|
+
<line x1="3" y1="6" x2="21" y2="6"></line>
|
|
60
|
+
<line x1="3" y1="18" x2="21" y2="18"></line>
|
|
61
|
+
</svg>
|
|
62
|
+
</symbol>
|
|
63
|
+
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
|
|
64
|
+
<title>Expand</title>
|
|
65
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
66
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right">
|
|
67
|
+
<polyline points="9 18 15 12 9 6"></polyline>
|
|
68
|
+
</svg>
|
|
69
|
+
</symbol>
|
|
70
|
+
<symbol id="svg-sun" viewBox="0 0 24 24">
|
|
71
|
+
<title>Light mode</title>
|
|
72
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
73
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather-sun">
|
|
74
|
+
<circle cx="12" cy="12" r="5"></circle>
|
|
75
|
+
<line x1="12" y1="1" x2="12" y2="3"></line>
|
|
76
|
+
<line x1="12" y1="21" x2="12" y2="23"></line>
|
|
77
|
+
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
|
|
78
|
+
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
|
|
79
|
+
<line x1="1" y1="12" x2="3" y2="12"></line>
|
|
80
|
+
<line x1="21" y1="12" x2="23" y2="12"></line>
|
|
81
|
+
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
|
|
82
|
+
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
|
|
83
|
+
</svg>
|
|
84
|
+
</symbol>
|
|
85
|
+
<symbol id="svg-moon" viewBox="0 0 24 24">
|
|
86
|
+
<title>Dark mode</title>
|
|
87
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
88
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon">
|
|
89
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
90
|
+
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
|
|
91
|
+
</svg>
|
|
92
|
+
</symbol>
|
|
93
|
+
<symbol id="svg-sun-with-moon" viewBox="0 0 24 24">
|
|
94
|
+
<title>Auto light/dark, in light mode</title>
|
|
95
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
96
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round"
|
|
97
|
+
class="icon-custom-derived-from-feather-sun-and-tabler-moon">
|
|
98
|
+
<path style="opacity: 50%" d="M 5.411 14.504 C 5.471 14.504 5.532 14.504 5.591 14.504 C 3.639 16.319 4.383 19.569 6.931 20.352 C 7.693 20.586 8.512 20.551 9.25 20.252 C 8.023 23.207 4.056 23.725 2.11 21.184 C 0.166 18.642 1.702 14.949 4.874 14.536 C 5.051 14.512 5.231 14.5 5.411 14.5 L 5.411 14.504 Z"/>
|
|
99
|
+
<line x1="14.5" y1="3.25" x2="14.5" y2="1.25"/>
|
|
100
|
+
<line x1="14.5" y1="15.85" x2="14.5" y2="17.85"/>
|
|
101
|
+
<line x1="10.044" y1="5.094" x2="8.63" y2="3.68"/>
|
|
102
|
+
<line x1="19" y1="14.05" x2="20.414" y2="15.464"/>
|
|
103
|
+
<line x1="8.2" y1="9.55" x2="6.2" y2="9.55"/>
|
|
104
|
+
<line x1="20.8" y1="9.55" x2="22.8" y2="9.55"/>
|
|
105
|
+
<line x1="10.044" y1="14.006" x2="8.63" y2="15.42"/>
|
|
106
|
+
<line x1="19" y1="5.05" x2="20.414" y2="3.636"/>
|
|
107
|
+
<circle cx="14.5" cy="9.55" r="3.6"/>
|
|
108
|
+
</svg>
|
|
109
|
+
</symbol>
|
|
110
|
+
<symbol id="svg-moon-with-sun" viewBox="0 0 24 24">
|
|
111
|
+
<title>Auto light/dark, in dark mode</title>
|
|
112
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
113
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round"
|
|
114
|
+
class="icon-custom-derived-from-feather-sun-and-tabler-moon">
|
|
115
|
+
<path d="M 8.282 7.007 C 8.385 7.007 8.494 7.007 8.595 7.007 C 5.18 10.184 6.481 15.869 10.942 17.24 C 12.275 17.648 13.706 17.589 15 17.066 C 12.851 22.236 5.91 23.143 2.505 18.696 C -0.897 14.249 1.791 7.786 7.342 7.063 C 7.652 7.021 7.965 7 8.282 7 L 8.282 7.007 Z"/>
|
|
116
|
+
<line style="opacity: 50%" x1="18" y1="3.705" x2="18" y2="2.5"/>
|
|
117
|
+
<line style="opacity: 50%" x1="18" y1="11.295" x2="18" y2="12.5"/>
|
|
118
|
+
<line style="opacity: 50%" x1="15.316" y1="4.816" x2="14.464" y2="3.964"/>
|
|
119
|
+
<line style="opacity: 50%" x1="20.711" y1="10.212" x2="21.563" y2="11.063"/>
|
|
120
|
+
<line style="opacity: 50%" x1="14.205" y1="7.5" x2="13.001" y2="7.5"/>
|
|
121
|
+
<line style="opacity: 50%" x1="21.795" y1="7.5" x2="23" y2="7.5"/>
|
|
122
|
+
<line style="opacity: 50%" x1="15.316" y1="10.184" x2="14.464" y2="11.036"/>
|
|
123
|
+
<line style="opacity: 50%" x1="20.711" y1="4.789" x2="21.563" y2="3.937"/>
|
|
124
|
+
<circle style="opacity: 50%" cx="18" cy="7.5" r="2.169"/>
|
|
125
|
+
</svg>
|
|
126
|
+
</symbol>
|
|
127
|
+
<symbol id="svg-pencil" viewBox="0 0 24 24">
|
|
128
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
129
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-pencil-code">
|
|
130
|
+
<path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" />
|
|
131
|
+
<path d="M13.5 6.5l4 4" />
|
|
132
|
+
<path d="M20 21l2 -2l-2 -2" />
|
|
133
|
+
<path d="M17 17l-2 2l2 2" />
|
|
134
|
+
</svg>
|
|
135
|
+
</symbol>
|
|
136
|
+
<symbol id="svg-eye" viewBox="0 0 24 24">
|
|
137
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
138
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-eye-code">
|
|
139
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
140
|
+
<path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
|
141
|
+
<path
|
|
142
|
+
d="M11.11 17.958c-3.209 -.307 -5.91 -2.293 -8.11 -5.958c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6c-.21 .352 -.427 .688 -.647 1.008" />
|
|
143
|
+
<path d="M20 21l2 -2l-2 -2" />
|
|
144
|
+
<path d="M17 17l-2 2l2 2" />
|
|
145
|
+
</svg>
|
|
146
|
+
</symbol>
|
|
147
|
+
</svg>
|
|
148
|
+
|
|
149
|
+
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
|
|
150
|
+
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
|
|
151
|
+
<label class="overlay sidebar-overlay" for="__navigation">
|
|
152
|
+
<div class="visually-hidden">Hide navigation sidebar</div>
|
|
153
|
+
</label>
|
|
154
|
+
<label class="overlay toc-overlay" for="__toc">
|
|
155
|
+
<div class="visually-hidden">Hide table of contents sidebar</div>
|
|
156
|
+
</label>
|
|
157
|
+
|
|
158
|
+
<a class="skip-to-content muted-link" href="#furo-main-content">Skip to content</a>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
<div class="page">
|
|
163
|
+
<header class="mobile-header">
|
|
164
|
+
<div class="header-left">
|
|
165
|
+
<label class="nav-overlay-icon" for="__navigation">
|
|
166
|
+
<div class="visually-hidden">Toggle site navigation sidebar</div>
|
|
167
|
+
<i class="icon"><svg><use href="#svg-menu"></use></svg></i>
|
|
168
|
+
</label>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="header-center">
|
|
171
|
+
<a href="index.html"><div class="brand">IBM Envizi - Emissions API Node.js SDK documentation</div></a>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="header-right">
|
|
174
|
+
<div class="theme-toggle-container theme-toggle-header">
|
|
175
|
+
<button class="theme-toggle">
|
|
176
|
+
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
|
|
177
|
+
<svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
|
|
178
|
+
<svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
|
|
179
|
+
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
|
|
180
|
+
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
|
|
181
|
+
</button>
|
|
182
|
+
</div>
|
|
183
|
+
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
|
|
184
|
+
<div class="visually-hidden">Toggle table of contents sidebar</div>
|
|
185
|
+
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
|
186
|
+
</label>
|
|
187
|
+
</div>
|
|
188
|
+
</header>
|
|
189
|
+
<aside class="sidebar-drawer">
|
|
190
|
+
<div class="sidebar-container">
|
|
191
|
+
|
|
192
|
+
<div class="sidebar-sticky"><a class="sidebar-brand" href="index.html">
|
|
193
|
+
|
|
194
|
+
<span class="sidebar-brand-text">IBM Envizi - Emissions API Node.js SDK documentation</span>
|
|
195
|
+
|
|
196
|
+
</a><form class="sidebar-search-container" method="get" action="#" role="search">
|
|
197
|
+
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
|
|
198
|
+
<input type="hidden" name="check_keywords" value="yes">
|
|
199
|
+
<input type="hidden" name="area" value="default">
|
|
200
|
+
</form>
|
|
201
|
+
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
|
|
202
|
+
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
|
|
203
|
+
<ul>
|
|
204
|
+
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
|
|
205
|
+
<li class="toctree-l1 has-children"><a class="reference internal" href="sdk.html">SDK</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of SDK</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
|
|
206
|
+
<li class="toctree-l2"><a class="reference internal" href="client.html">Client</a></li>
|
|
207
|
+
<li class="toctree-l2"><a class="reference internal" href="authentication.html">Authentication</a></li>
|
|
208
|
+
</ul>
|
|
209
|
+
</li>
|
|
210
|
+
<li class="toctree-l1"><a class="reference internal" href="reference.html">Reference</a></li>
|
|
211
|
+
<li class="toctree-l1"><a class="reference internal" href="troubleshooting.html">Troubleshooting Guide</a></li>
|
|
212
|
+
</ul>
|
|
213
|
+
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
</div>
|
|
220
|
+
</aside>
|
|
221
|
+
<div class="main">
|
|
222
|
+
<div class="content">
|
|
223
|
+
<div class="article-container">
|
|
224
|
+
<a href="#" class="back-to-top muted-link">
|
|
225
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
226
|
+
<path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"></path>
|
|
227
|
+
</svg>
|
|
228
|
+
<span>Back to top</span>
|
|
229
|
+
</a>
|
|
230
|
+
<div class="content-icon-container">
|
|
231
|
+
<div class="theme-toggle-container theme-toggle-content">
|
|
232
|
+
<button class="theme-toggle">
|
|
233
|
+
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
|
|
234
|
+
<svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
|
|
235
|
+
<svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
|
|
236
|
+
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
|
|
237
|
+
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
|
|
238
|
+
</button>
|
|
239
|
+
</div>
|
|
240
|
+
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
|
|
241
|
+
<div class="visually-hidden">Toggle table of contents sidebar</div>
|
|
242
|
+
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
|
|
243
|
+
</label>
|
|
244
|
+
</div>
|
|
245
|
+
<article role="main" id="furo-main-content">
|
|
246
|
+
|
|
247
|
+
<noscript>
|
|
248
|
+
<div class="admonition error">
|
|
249
|
+
<p class="admonition-title">Error</p>
|
|
250
|
+
<p>
|
|
251
|
+
Please activate JavaScript to enable the search functionality.
|
|
252
|
+
</p>
|
|
253
|
+
</div>
|
|
254
|
+
</noscript>
|
|
255
|
+
|
|
256
|
+
<div id="search-results"></div>
|
|
257
|
+
|
|
258
|
+
</article>
|
|
259
|
+
</div>
|
|
260
|
+
<footer>
|
|
261
|
+
|
|
262
|
+
<div class="related-pages">
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
</div>
|
|
266
|
+
<div class="bottom-of-page">
|
|
267
|
+
<div class="left-details">
|
|
268
|
+
<div class="copyright">
|
|
269
|
+
Copyright © 2025, IBM Corporation
|
|
270
|
+
</div>
|
|
271
|
+
Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s
|
|
272
|
+
|
|
273
|
+
<a href="https://github.com/pradyunsg/furo">Furo</a>
|
|
274
|
+
|
|
275
|
+
</div>
|
|
276
|
+
<div class="right-details">
|
|
277
|
+
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
</footer>
|
|
282
|
+
</div>
|
|
283
|
+
<aside class="toc-drawer no-toc">
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
</aside>
|
|
288
|
+
</div>
|
|
289
|
+
</div><script src="_static/documentation_options.js?v=5929fcd5"></script>
|
|
290
|
+
<script src="_static/doctools.js?v=9bcbadda"></script>
|
|
291
|
+
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
|
292
|
+
<script src="_static/scripts/furo.js?v=46bd48cc"></script>
|
|
293
|
+
|
|
294
|
+
<script src="_static/searchtools.js"></script>
|
|
295
|
+
<script src="_static/language_data.js"></script>
|
|
296
|
+
<script src="searchindex.js"></script></body>
|
|
297
|
+
</html>
|