emissions-api-sdk 1.0.12 → 1.0.14

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 (120) hide show
  1. package/README.md +65 -2
  2. package/dist/Constants.js +7 -1
  3. package/dist/api/AuditExport.js +73 -0
  4. package/dist/api/AuditLog.js +99 -0
  5. package/dist/api/EconomicActivity.js +69 -0
  6. package/dist/api/Factor.js +16 -0
  7. package/dist/api/PhysicalActivity.js +87 -0
  8. package/dist/api/RealEstate.js +25 -1
  9. package/dist/api/TypeRecommender.js +19 -2
  10. package/dist/coverage/clover.xml +172 -89
  11. package/dist/coverage/coverage-final.json +15 -8
  12. package/dist/coverage/lcov-report/index.html +21 -21
  13. package/dist/coverage/lcov-report/src/Client.ts.html +32 -32
  14. package/dist/coverage/lcov-report/src/Constants.ts.html +45 -27
  15. package/dist/coverage/lcov-report/src/api/AuditExport.ts.html +355 -0
  16. package/dist/coverage/lcov-report/src/api/AuditLog.ts.html +388 -0
  17. package/dist/coverage/lcov-report/src/api/Calculation.ts.html +1 -1
  18. package/dist/coverage/lcov-report/src/api/EconomicActivity.ts.html +212 -5
  19. package/dist/coverage/lcov-report/src/api/Factor.ts.html +54 -3
  20. package/dist/coverage/lcov-report/src/api/FactorSets.ts.html +1 -1
  21. package/dist/coverage/lcov-report/src/api/Fugitive.ts.html +1 -1
  22. package/dist/coverage/lcov-report/src/api/Location.ts.html +1 -1
  23. package/dist/coverage/lcov-report/src/api/Metadata.ts.html +1 -1
  24. package/dist/coverage/lcov-report/src/api/Mobile.ts.html +1 -1
  25. package/dist/coverage/lcov-report/src/api/PhysicalActivity.ts.html +361 -0
  26. package/dist/coverage/lcov-report/src/api/RealEstate.ts.html +78 -6
  27. package/dist/coverage/lcov-report/src/api/Stationary.ts.html +1 -1
  28. package/dist/coverage/lcov-report/src/api/TransportationAndDistribution.ts.html +1 -1
  29. package/dist/coverage/lcov-report/src/api/TypeRecommender.ts.html +55 -4
  30. package/dist/coverage/lcov-report/src/api/Usage.ts.html +1 -1
  31. package/dist/coverage/lcov-report/src/api/index.html +51 -6
  32. package/dist/coverage/lcov-report/src/index.html +7 -7
  33. package/dist/coverage/lcov-report/src/request.ts.html +8 -5
  34. package/dist/coverage/lcov-report/src/utils.ts.html +6 -6
  35. package/dist/coverage/lcov-report/test/index.html +1 -1
  36. package/dist/coverage/lcov-report/test/mocks/AttributionRequest.ts.html +151 -0
  37. package/dist/coverage/lcov-report/test/mocks/CommonRequest.ts.html +1 -1
  38. package/dist/coverage/lcov-report/test/mocks/EconomicActivityAttributionRequest.ts.html +148 -0
  39. package/dist/coverage/lcov-report/test/mocks/FactorRequest.ts.html +1 -1
  40. package/dist/coverage/lcov-report/test/mocks/GenericCalculationRequest.ts.html +1 -1
  41. package/dist/coverage/lcov-report/test/mocks/LocationRequest.ts.html +1 -1
  42. package/dist/coverage/lcov-report/test/mocks/PhysicalActivityEVICRequest.ts.html +148 -0
  43. package/dist/coverage/lcov-report/test/mocks/PhysicalActivityRequest.ts.html +151 -0
  44. package/dist/coverage/lcov-report/test/mocks/SearchRequest.ts.html +1 -1
  45. package/dist/coverage/lcov-report/test/mocks/index.html +63 -3
  46. package/dist/coverage/lcov-report/test/testUtils.ts.html +1 -1
  47. package/dist/coverage/lcov.info +284 -124
  48. package/dist/index.js +4 -1
  49. package/dist/interfaces/response/AuditExportResponse.js +2 -0
  50. package/dist/interfaces/response/AuditLogResponse.js +2 -0
  51. package/dist/request.js +1 -0
  52. package/dist/types/Constants.d.ts +6 -0
  53. package/dist/types/api/AuditExport.d.ts +42 -0
  54. package/dist/types/api/AuditLog.d.ts +37 -0
  55. package/dist/types/api/EconomicActivity.d.ts +69 -0
  56. package/dist/types/api/Factor.d.ts +16 -0
  57. package/dist/types/api/PhysicalActivity.d.ts +76 -0
  58. package/dist/types/api/RealEstate.d.ts +25 -1
  59. package/dist/types/api/TypeRecommender.d.ts +19 -2
  60. package/dist/types/index.d.ts +6 -0
  61. package/dist/types/interfaces/Api.d.ts +17 -1
  62. package/dist/types/interfaces/Config.d.ts +5 -1
  63. package/dist/types/interfaces/common.d.ts +40 -0
  64. package/dist/types/interfaces/response/AuditExportResponse.d.ts +66 -0
  65. package/dist/types/interfaces/response/AuditLogResponse.d.ts +40 -0
  66. package/dist/types/interfaces/response/TypeRecommenderResponse.d.ts +2 -0
  67. package/docs/_sources/authentication.rst.txt +26 -4
  68. package/docs/_sources/getting_started.rst.txt +762 -74
  69. package/docs/_sources/index.rst.txt +13 -0
  70. package/docs/_sources/reference.rst.txt +48 -0
  71. package/docs/_sources/troubleshooting.rst.txt +77 -12
  72. package/docs/_static/basic.css +8 -0
  73. package/docs/_static/doctools.js +5 -6
  74. package/docs/_static/language_data.js +186 -7
  75. package/docs/_static/pygments.css +146 -164
  76. package/docs/_static/searchtools.js +60 -121
  77. package/docs/_static/sphinx_highlight.js +31 -36
  78. package/docs/_static/styles/furo.css +1 -1
  79. package/docs/_static/styles/furo.css.map +1 -1
  80. package/docs/authentication.html +61 -26
  81. package/docs/client.html +33 -22
  82. package/docs/genindex.html +77 -24
  83. package/docs/getting_started.html +969 -103
  84. package/docs/index.html +69 -21
  85. package/docs/reference.html +747 -66
  86. package/docs/sdk.html +32 -21
  87. package/docs/search.html +32 -21
  88. package/docs/searchindex.js +1 -1
  89. package/docs/troubleshooting.html +105 -38
  90. package/package.json +8 -3
  91. package/sphinx-build/source/authentication.rst +26 -4
  92. package/sphinx-build/source/getting_started.rst +762 -74
  93. package/sphinx-build/source/index.rst +13 -0
  94. package/sphinx-build/source/reference.rst +48 -0
  95. package/sphinx-build/source/troubleshooting.rst +77 -12
  96. package/src/Constants.ts +6 -0
  97. package/src/api/AuditExport.ts +90 -0
  98. package/src/api/AuditLog.ts +102 -0
  99. package/src/api/EconomicActivity.ts +69 -0
  100. package/src/api/Factor.ts +17 -1
  101. package/src/api/PhysicalActivity.ts +92 -0
  102. package/src/api/RealEstate.ts +25 -1
  103. package/src/api/TypeRecommender.ts +19 -2
  104. package/src/index.ts +15 -1
  105. package/src/interfaces/Api.ts +22 -6
  106. package/src/interfaces/Config.ts +6 -1
  107. package/src/interfaces/common.ts +46 -0
  108. package/src/interfaces/response/AuditExportResponse.ts +88 -0
  109. package/src/interfaces/response/AuditLogResponse.ts +47 -0
  110. package/src/interfaces/response/TypeRecommenderResponse.ts +3 -0
  111. package/src/request.ts +1 -0
  112. package/test/apiTest.test.ts +59 -3
  113. package/test/auditExport.test.ts +68 -0
  114. package/test/auditLog.test.ts +216 -0
  115. package/test/mocks/AttributionRequest.ts +23 -0
  116. package/test/mocks/EconomicActivityAttributionRequest.ts +22 -0
  117. package/test/mocks/PhysicalActivityEVICRequest.ts +22 -0
  118. package/test/mocks/PhysicalActivityRequest.ts +23 -0
  119. package/docs/_static/base-stemmer.js +0 -476
  120. package/docs/_static/english-stemmer.js +0 -1066
package/docs/sdk.html CHANGED
@@ -1,14 +1,14 @@
1
1
  <!doctype html>
2
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">
3
+ <head><meta charset="utf-8"/>
4
+ <meta name="viewport" content="width=device-width,initial-scale=1"/>
5
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">
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
7
 
8
- <!-- Generated with Sphinx 9.1.0 and Furo 2025.12.19 -->
8
+ <!-- Generated with Sphinx 8.1.3 and Furo 2025.07.19 -->
9
9
  <title>SDK - IBM Envizi - Emissions API Node.js SDK documentation</title>
10
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=7bdb33bb" />
11
+ <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=25af2a20" />
12
12
  <link rel="stylesheet" type="text/css" href="_static/sphinx_js.css" />
13
13
  <link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=8dab3a3b" />
14
14
  <link rel="stylesheet" type="text/css" href="_static/custom.css?v=8d04aa46" />
@@ -24,14 +24,14 @@
24
24
  }
25
25
  @media not print {
26
26
  body[data-theme="dark"] {
27
- --color-code-background: #202020;
28
- --color-code-foreground: #d0d0d0;
27
+ --color-code-background: #2b2b2b;
28
+ --color-code-foreground: #f8f8f2;
29
29
 
30
30
  }
31
31
  @media (prefers-color-scheme: dark) {
32
32
  body:not([data-theme="light"]) {
33
- --color-code-background: #202020;
34
- --color-code-foreground: #d0d0d0;
33
+ --color-code-background: #2b2b2b;
34
+ --color-code-foreground: #f8f8f2;
35
35
 
36
36
  }
37
37
  }
@@ -146,10 +146,14 @@
146
146
  </symbol>
147
147
  </svg>
148
148
 
149
- <input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation" aria-label="Toggle site navigation sidebar">
150
- <input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc" aria-label="Toggle table of contents sidebar">
151
- <label class="overlay sidebar-overlay" for="__navigation"></label>
152
- <label class="overlay toc-overlay" for="__toc"></label>
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>
153
157
 
154
158
  <a class="skip-to-content muted-link" href="#furo-main-content">Skip to content</a>
155
159
 
@@ -159,7 +163,8 @@
159
163
  <header class="mobile-header">
160
164
  <div class="header-left">
161
165
  <label class="nav-overlay-icon" for="__navigation">
162
- <span class="icon"><svg><use href="#svg-menu"></use></svg></span>
166
+ <div class="visually-hidden">Toggle site navigation sidebar</div>
167
+ <i class="icon"><svg><use href="#svg-menu"></use></svg></i>
163
168
  </label>
164
169
  </div>
165
170
  <div class="header-center">
@@ -167,7 +172,8 @@
167
172
  </div>
168
173
  <div class="header-right">
169
174
  <div class="theme-toggle-container theme-toggle-header">
170
- <button class="theme-toggle" aria-label="Toggle Light / Dark / Auto color theme">
175
+ <button class="theme-toggle">
176
+ <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
171
177
  <svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
172
178
  <svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
173
179
  <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
@@ -175,7 +181,8 @@
175
181
  </button>
176
182
  </div>
177
183
  <label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
178
- <span class="icon"><svg><use href="#svg-toc"></use></svg></span>
184
+ <div class="visually-hidden">Toggle table of contents sidebar</div>
185
+ <i class="icon"><svg><use href="#svg-toc"></use></svg></i>
179
186
  </label>
180
187
  </div>
181
188
  </header>
@@ -195,11 +202,13 @@
195
202
  <p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
196
203
  <ul class="current">
197
204
  <li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
198
- <li class="toctree-l1 current has-children current-page"><a class="current reference internal" href="#">SDK</a><input aria-label="Toggle navigation of SDK" checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
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>
199
206
  <li class="toctree-l2"><a class="reference internal" href="client.html">Client</a></li>
200
207
  <li class="toctree-l2"><a class="reference internal" href="authentication.html">Authentication</a></li>
201
208
  </ul>
202
209
  </li>
210
+ <li class="toctree-l1"><a class="reference internal" href="authentication.html">Authentication</a></li>
211
+ <li class="toctree-l1"><a class="reference internal" href="client.html">Client</a></li>
203
212
  <li class="toctree-l1"><a class="reference internal" href="reference.html">Reference</a></li>
204
213
  <li class="toctree-l1"><a class="reference internal" href="troubleshooting.html">Troubleshooting Guide</a></li>
205
214
  </ul>
@@ -228,7 +237,8 @@
228
237
  </a>
229
238
  </div>
230
239
  <div class="theme-toggle-container theme-toggle-content">
231
- <button class="theme-toggle" aria-label="Toggle Light / Dark / Auto color theme">
240
+ <button class="theme-toggle">
241
+ <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
232
242
  <svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
233
243
  <svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
234
244
  <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
@@ -236,7 +246,8 @@
236
246
  </button>
237
247
  </div>
238
248
  <label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
239
- <span class="icon"><svg><use href="#svg-toc"></use></svg></span>
249
+ <div class="visually-hidden">Toggle table of contents sidebar</div>
250
+ <i class="icon"><svg><use href="#svg-toc"></use></svg></i>
240
251
  </label>
241
252
  </div>
242
253
  <article role="main" id="furo-main-content">
@@ -318,8 +329,8 @@
318
329
  </aside>
319
330
  </div>
320
331
  </div><script src="_static/documentation_options.js?v=5929fcd5"></script>
321
- <script src="_static/doctools.js?v=fd6eb6e6"></script>
322
- <script src="_static/sphinx_highlight.js?v=6ffebe34"></script>
332
+ <script src="_static/doctools.js?v=9bcbadda"></script>
333
+ <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
323
334
  <script src="_static/scripts/furo.js?v=46bd48cc"></script>
324
335
  </body>
325
336
  </html>
package/docs/search.html CHANGED
@@ -1,14 +1,14 @@
1
1
  <!doctype html>
2
2
  <html class="no-js" lang="en" data-content_root="./">
3
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="#">
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
7
 
8
- <!-- Generated with Sphinx 9.1.0 and Furo 2025.12.19 -->
8
+ <!-- Generated with Sphinx 8.1.3 and Furo 2025.07.19 -->
9
9
  <meta name="robots" content="noindex" />
10
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=7bdb33bb" />
11
+ <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=25af2a20" />
12
12
  <link rel="stylesheet" type="text/css" href="_static/sphinx_js.css" />
13
13
  <link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=8dab3a3b" />
14
14
  <link rel="stylesheet" type="text/css" href="_static/custom.css?v=8d04aa46" />
@@ -24,14 +24,14 @@
24
24
  }
25
25
  @media not print {
26
26
  body[data-theme="dark"] {
27
- --color-code-background: #202020;
28
- --color-code-foreground: #d0d0d0;
27
+ --color-code-background: #2b2b2b;
28
+ --color-code-foreground: #f8f8f2;
29
29
 
30
30
  }
31
31
  @media (prefers-color-scheme: dark) {
32
32
  body:not([data-theme="light"]) {
33
- --color-code-background: #202020;
34
- --color-code-foreground: #d0d0d0;
33
+ --color-code-background: #2b2b2b;
34
+ --color-code-foreground: #f8f8f2;
35
35
 
36
36
  }
37
37
  }
@@ -146,10 +146,14 @@
146
146
  </symbol>
147
147
  </svg>
148
148
 
149
- <input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation" aria-label="Toggle site navigation sidebar">
150
- <input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc" aria-label="Toggle table of contents sidebar">
151
- <label class="overlay sidebar-overlay" for="__navigation"></label>
152
- <label class="overlay toc-overlay" for="__toc"></label>
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>
153
157
 
154
158
  <a class="skip-to-content muted-link" href="#furo-main-content">Skip to content</a>
155
159
 
@@ -159,7 +163,8 @@
159
163
  <header class="mobile-header">
160
164
  <div class="header-left">
161
165
  <label class="nav-overlay-icon" for="__navigation">
162
- <span class="icon"><svg><use href="#svg-menu"></use></svg></span>
166
+ <div class="visually-hidden">Toggle site navigation sidebar</div>
167
+ <i class="icon"><svg><use href="#svg-menu"></use></svg></i>
163
168
  </label>
164
169
  </div>
165
170
  <div class="header-center">
@@ -167,7 +172,8 @@
167
172
  </div>
168
173
  <div class="header-right">
169
174
  <div class="theme-toggle-container theme-toggle-header">
170
- <button class="theme-toggle" aria-label="Toggle Light / Dark / Auto color theme">
175
+ <button class="theme-toggle">
176
+ <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
171
177
  <svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
172
178
  <svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
173
179
  <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
@@ -175,7 +181,8 @@
175
181
  </button>
176
182
  </div>
177
183
  <label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
178
- <span class="icon"><svg><use href="#svg-toc"></use></svg></span>
184
+ <div class="visually-hidden">Toggle table of contents sidebar</div>
185
+ <i class="icon"><svg><use href="#svg-toc"></use></svg></i>
179
186
  </label>
180
187
  </div>
181
188
  </header>
@@ -195,11 +202,13 @@
195
202
  <p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
196
203
  <ul>
197
204
  <li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
198
- <li class="toctree-l1 has-children"><a class="reference internal" href="sdk.html">SDK</a><input aria-label="Toggle navigation of SDK" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
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>
199
206
  <li class="toctree-l2"><a class="reference internal" href="client.html">Client</a></li>
200
207
  <li class="toctree-l2"><a class="reference internal" href="authentication.html">Authentication</a></li>
201
208
  </ul>
202
209
  </li>
210
+ <li class="toctree-l1"><a class="reference internal" href="authentication.html">Authentication</a></li>
211
+ <li class="toctree-l1"><a class="reference internal" href="client.html">Client</a></li>
203
212
  <li class="toctree-l1"><a class="reference internal" href="reference.html">Reference</a></li>
204
213
  <li class="toctree-l1"><a class="reference internal" href="troubleshooting.html">Troubleshooting Guide</a></li>
205
214
  </ul>
@@ -222,7 +231,8 @@
222
231
  </a>
223
232
  <div class="content-icon-container">
224
233
  <div class="theme-toggle-container theme-toggle-content">
225
- <button class="theme-toggle" aria-label="Toggle Light / Dark / Auto color theme">
234
+ <button class="theme-toggle">
235
+ <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
226
236
  <svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
227
237
  <svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
228
238
  <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
@@ -230,7 +240,8 @@
230
240
  </button>
231
241
  </div>
232
242
  <label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
233
- <span class="icon"><svg><use href="#svg-toc"></use></svg></span>
243
+ <div class="visually-hidden">Toggle table of contents sidebar</div>
244
+ <i class="icon"><svg><use href="#svg-toc"></use></svg></i>
234
245
  </label>
235
246
  </div>
236
247
  <article role="main" id="furo-main-content">
@@ -278,8 +289,8 @@
278
289
  </aside>
279
290
  </div>
280
291
  </div><script src="_static/documentation_options.js?v=5929fcd5"></script>
281
- <script src="_static/doctools.js?v=fd6eb6e6"></script>
282
- <script src="_static/sphinx_highlight.js?v=6ffebe34"></script>
292
+ <script src="_static/doctools.js?v=9bcbadda"></script>
293
+ <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
283
294
  <script src="_static/scripts/furo.js?v=46bd48cc"></script>
284
295
 
285
296
  <script src="_static/searchtools.js"></script>
@@ -1 +1 @@
1
- Search.setIndex({"alltitles":{"1. Missing Auth URL with Custom Host":[[6,"missing-auth-url-with-custom-host"]],"2. Missing Client ID with Token":[[6,"missing-client-id-with-token"]],"3. Missing Parameters with API Key":[[6,"missing-parameters-with-api-key"]],"4. Invalid API Key":[[6,"invalid-api-key"]],"5. Invalid Organization ID":[[6,"invalid-organization-id"]],"6. Invalid Client ID":[[6,"invalid-client-id"]],"7. Empty Token Response":[[6,"empty-token-response"]],"8. Missing Expiry Field in Token":[[6,"missing-expiry-field-in-token"]],"API":[[4,"api"]],"API Key Authentication (Recommended)":[[0,"api-key-authentication-recommended"],[6,"api-key-authentication-recommended"]],"Architecture Diagram":[[0,"architecture-diagram"]],"Authentication":[[0,null],[2,"authentication"]],"Authentication Errors (HTTP 401)":[[6,"authentication-errors-http-401"]],"Authentication Flow":[[0,"authentication-flow"]],"Authentication Headers":[[0,"authentication-headers"]],"Authentication Integration":[[1,"authentication-integration"]],"Authentication Methods":[[0,"authentication-methods"]],"Automatic Token Refresh":[[6,"automatic-token-refresh"]],"Basic Import":[[2,"basic-import"]],"Best Practices":[[1,"best-practices"]],"Client":[[1,null]],"Client Initialization":[[1,"client-initialization"]],"Client Instance Errors":[[6,"client-instance-errors"]],"Client Not Initialized":[[6,"client-not-initialized"]],"Client Responsibilities":[[1,"client-responsibilities"]],"Common Scenarios":[[6,"common-scenarios"]],"Configuration Errors":[[6,"configuration-errors"]],"Configuration Options":[[1,"configuration-options"]],"Contents:":[[3,null]],"Error Handling":[[1,"error-handling"]],"Error Summary Table":[[6,"error-summary-table"]],"Example":[[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null],[4,null]],"Example Response":[[2,"example-response"]],"First API Call":[[2,"first-api-call"]],"Getting Started":[[2,null]],"Global Metadata API":[[4,"global-metadata-api"]],"IBM Envizi - Emissions API Node.js SDK":[[3,null]],"Initialization Checklist":[[6,"initialization-checklist"]],"Installation":[[2,"installation"]],"Interfaces":[[4,"interfaces"]],"Introduction":[[3,"introduction"]],"Overview":[[0,"overview"],[1,"overview"],[6,"overview"]],"Pre-generated Token Authentication":[[0,"pre-generated-token-authentication"]],"Prerequisites":[[2,"prerequisites"]],"Reference":[[4,null]],"Required Configuration Parameters":[[6,"required-configuration-parameters"]],"SDK":[[5,null]],"SDK Initialization Errors":[[6,"sdk-initialization-errors"]],"Scenario 1: Application Startup":[[6,"scenario-1-application-startup"]],"Scenario 2: Invalid Credentials":[[6,"scenario-2-invalid-credentials"]],"Scenario 3: Missing Configuration":[[6,"scenario-3-missing-configuration"]],"Scenario 4: Client Not Initialized":[[6,"scenario-4-client-not-initialized"]],"Security Best Practices":[[0,"security-best-practices"]],"Support":[[6,"support"]],"Supported Emission Types":[[3,"supported-emission-types"]],"Token Authentication":[[6,"token-authentication"]],"Token Management":[[6,"token-management"]],"Token lifetime & refresh":[[0,"token-lifetime-refresh"]],"Token retrieval":[[0,"token-retrieval"]],"Troubleshooting Guide":[[6,null]],"Troubleshooting Steps":[[6,"troubleshooting-steps"]],"Usage API":[[4,"usage-api"]],"Using API Key (Recommended)":[[2,"using-api-key-recommended"]],"Using Pre-generated Token":[[2,"using-pre-generated-token"]],"getArea":[[4,"getarea"]],"getTypes":[[4,"gettypes"]],"getUnits":[[4,"getunits"]]},"docnames":["authentication","client","getting_started","index","reference","sdk","troubleshooting"],"envversion":{"sphinx":66,"sphinx.domains.c":3,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":9,"sphinx.domains.index":1,"sphinx.domains.javascript":3,"sphinx.domains.math":2,"sphinx.domains.python":4,"sphinx.domains.rst":2,"sphinx.domains.std":2,"sphinx.ext.viewcode":1},"filenames":["authentication.rst","client.rst","getting_started.rst","index.rst","reference.rst","sdk.rst","troubleshooting.rst"],"indexentries":{"api.commonrequestwithfactorid() (interface)":[[4,"Api.CommonRequestWithFactorId",false]],"api.commonrequestwithoutfactorid() (interface)":[[4,"Api.CommonRequestWithoutFactorId",false]],"api.factorrequestwithfactorid() (interface)":[[4,"Api.FactorRequestWithFactorId",false]],"api.factorrequestwithoutfactorid() (interface)":[[4,"Api.FactorRequestWithoutFactorId",false]],"api.genericcalculationrequestwithfactorid() (interface)":[[4,"Api.GenericCalculationRequestWithFactorId",false]],"api.genericcalculationrequestwithoutfactorid() (interface)":[[4,"Api.GenericCalculationRequestWithoutFactorId",false]],"api.locationrequestwithfactorid() (interface)":[[4,"Api.LocationRequestWithFactorId",false]],"api.locationrequestwithoutfactorid() (interface)":[[4,"Api.LocationRequestWithoutFactorId",false]],"api.searchrequest() (interface)":[[4,"Api.SearchRequest",false]],"calculation.calculate() (calculation method)":[[4,"Calculation.calculate",false]],"client() (class)":[[4,"Client",false]],"client.getauthheader() (client method)":[[4,"Client.getAuthHeader",false]],"client.getclient() (client method)":[[4,"Client.getClient",false]],"client.getclientid() (client method)":[[4,"Client.getClientId",false]],"client.getclientsource() (client method)":[[4,"Client.getClientSource",false]],"client.getdomain() (client method)":[[4,"Client.getDomain",false]],"client.getinstance() (client method)":[[4,"Client.getInstance",false]],"client.refreshtoken() (client method)":[[4,"Client.refreshToken",false]],"common.activity() (interface)":[[4,"common.Activity",false]],"common.activitywithfactorid() (interface)":[[4,"common.ActivityWithFactorId",false]],"common.combinedunitsactivity() (interface)":[[4,"common.CombinedUnitsActivity",false]],"common.combinedunitsactivitywithfactorid() (interface)":[[4,"common.CombinedUnitsActivityWithFactorId",false]],"common.factoractivity() (interface)":[[4,"common.FactorActivity",false]],"common.factoractivitywithfactorid() (interface)":[[4,"common.FactorActivityWithFactorId",false]],"common.location() (interface)":[[4,"common.Location",false]],"common.pagination() (interface)":[[4,"common.Pagination",false]],"common.searchactivity() (interface)":[[4,"common.SearchActivity",false]],"common.time() (interface)":[[4,"common.Time",false]],"config.clientconfig() (interface)":[[4,"Config.ClientConfig",false]],"config.requestconfig() (interface)":[[4,"Config.RequestConfig",false]],"economicactivity.calculate() (economicactivity method)":[[4,"EconomicActivity.calculate",false]],"factor.retrievefactor() (factor method)":[[4,"Factor.retrieveFactor",false]],"fugitive.calculate() (fugitive method)":[[4,"Fugitive.calculate",false]],"location.calculate() (location method)":[[4,"Location.calculate",false]],"metadata.getarea() (metadata method)":[[4,"Metadata.getArea",false]],"metadata.gettypes() (metadata method)":[[4,"Metadata.getTypes",false]],"metadata.getunits() (metadata method)":[[4,"Metadata.getUnits",false]],"metadata.postarea() (metadata method)":[[4,"Metadata.postArea",false]],"metadata.posttypes() (metadata method)":[[4,"Metadata.postTypes",false]],"metadata.postunits() (metadata method)":[[4,"Metadata.postUnits",false]],"mobile.calculate() (mobile method)":[[4,"Mobile.calculate",false]],"realestate.calculate() (realestate method)":[[4,"RealEstate.calculate",false]],"request.makeapirequest() (request method)":[[4,"request.makeApiRequest",false]],"stationary.calculate() (stationary method)":[[4,"Stationary.calculate",false]],"transportationanddistribution.calculate() (transportationanddistribution method)":[[4,"TransportationAndDistribution.calculate",false]],"usage.getusage() (usage method)":[[4,"Usage.getUsage",false]],"utils.findexpirytime() (utils method)":[[4,"utils.findExpiryTime",false]]},"objects":{"":[[4,2,1,"","Client"]],"Api":[[4,0,1,"","CommonRequestWithFactorId"],[4,0,1,"","CommonRequestWithoutFactorId"],[4,0,1,"","FactorRequestWithFactorId"],[4,0,1,"","FactorRequestWithoutFactorId"],[4,0,1,"","GenericCalculationRequestWithFactorId"],[4,0,1,"","GenericCalculationRequestWithoutFactorId"],[4,0,1,"","LocationRequestWithFactorId"],[4,0,1,"","LocationRequestWithoutFactorId"],[4,0,1,"","SearchRequest"]],"Calculation":[[4,1,1,"","calculate"]],"Client":[[4,1,1,"","getAuthHeader"],[4,1,1,"","getClient"],[4,1,1,"","getClientId"],[4,1,1,"","getClientSource"],[4,1,1,"","getDomain"],[4,1,1,"","getInstance"],[4,1,1,"","refreshToken"]],"Config":[[4,0,1,"","ClientConfig"],[4,0,1,"","RequestConfig"]],"EconomicActivity":[[4,1,1,"","calculate"]],"Factor":[[4,1,1,"","retrieveFactor"]],"Fugitive":[[4,1,1,"","calculate"]],"Location":[[4,1,1,"","calculate"]],"Metadata":[[4,1,1,"","getArea"],[4,1,1,"","getTypes"],[4,1,1,"","getUnits"],[4,1,1,"","postArea"],[4,1,1,"","postTypes"],[4,1,1,"","postUnits"]],"Mobile":[[4,1,1,"","calculate"]],"RealEstate":[[4,1,1,"","calculate"]],"Stationary":[[4,1,1,"","calculate"]],"TransportationAndDistribution":[[4,1,1,"","calculate"]],"Usage":[[4,1,1,"","getUsage"]],"common":[[4,0,1,"","Activity"],[4,0,1,"","ActivityWithFactorId"],[4,0,1,"","CombinedUnitsActivity"],[4,0,1,"","CombinedUnitsActivityWithFactorId"],[4,0,1,"","FactorActivity"],[4,0,1,"","FactorActivityWithFactorId"],[4,0,1,"","Location"],[4,0,1,"","Pagination"],[4,0,1,"","SearchActivity"],[4,0,1,"","Time"]],"request":[[4,1,1,"","makeApiRequest"]],"utils":[[4,1,1,"","findExpiryTime"]]},"objnames":{"0":["js","interface","JavaScript interface"],"1":["js","function","JavaScript function"],"2":["js","class","JavaScript class"]},"objtypes":{"0":"js:interface","1":"js:function","2":"js:class"},"terms":{"02ae":2,"47a3":2,"831bfca7cecd":2,"95a7efe7":2,"A":[0,4,6],"After":2,"All":6,"An":4,"Cannot":6,"For":[0,1,6],"Here":2,"If":[0,2,4,6],"In":0,"It":1,"No":1,"OR":[1,4],"Or":[2,6],"That":6,"The":[0,1,2,3,4,5,6],"Then":4,"These":6,"This":[0,5,6],"When":[0,6],"You":2,"Your":[0,2,6],"a7fd":2,"accept":[0,1,2,4],"access":[0,1,4,6],"accomod":4,"account":6,"across":[1,4],"activ":[2,3,4,6],"activitywithfactorid":4,"add":[0,1],"allow":6,"allunit":4,"alreadi":[2,4],"also":6,"alway":6,"ani":[4,6],"api":[1,5],"apidomain":4,"apikey":[0,1,2,4,6],"applic":[0,1,2,3,4],"approach":[0,5],"appropri":[1,4],"architectur":5,"area":[2,4],"arearespons":4,"argument":4,"async":[2,4],"attempt":6,"auth":4,"authent":[3,4,5],"author":[0,4],"authurl":[0,1,4,6],"autom":3,"automat":[0,1],"avail":[2,4,6],"await":[0,1,2,4,6],"axio":0,"base":[2,3,4,6],"bearer":[0,4],"befor":[0,1,2,4,6],"best":5,"bill":4,"bodi":6,"boolean":4,"build":3,"bulk":4,"busi":3,"cach":0,"calcul":[2,3,4,6],"calculateemiss":2,"calculationrequest":4,"california":2,"call":[0,3,4,6],"can":[2,4,6],"carbon":3,"cargo":4,"carrier":4,"catch":[1,2],"caus":6,"central":1,"ch4":2,"chain":3,"check":[0,6],"checklist":3,"claim":6,"class":4,"client":[0,2,3,4,5],"client123":[4,6],"clientconfig":4,"clientid":[0,1,2,4,6],"climat":2,"close":1,"cloud":6,"co2":2,"coal":[4,6],"code":[0,6],"com":[0,2,4,6],"combin":6,"combinedunitsact":4,"combinedunitsactivitywithfactorid":4,"combust":4,"commerci":[3,4],"common":[3,4],"commonrequest":4,"commonrequestwithfactorid":4,"commonrequestwithoutfactorid":4,"complet":[4,6],"complex":4,"compon":[1,5],"config":4,"configur":[3,4,5],"confirm":6,"connect":[1,2,6],"consist":1,"consol":[1,2,4,6],"const":[2,4,6],"consumpt":3,"contact":6,"contain":[4,6],"content":4,"control":0,"convert":4,"correct":6,"correspond":6,"countri":[2,4,6],"cover":[5,6],"coverag":6,"credenti":[0,1,2],"criteria":4,"current":4,"custom":[1,3,4],"dashboard":3,"data":[1,4],"databas":3,"dataset":3,"date":[4,6],"debug":6,"decis":3,"decod":0,"default":[0,1,4],"deploy":0,"descript":[1,2],"design":[1,3],"detail":[0,1,4,6],"detect":0,"determin":4,"diagram":5,"diesel":4,"differ":4,"direct":[2,6],"distribut":[3,4],"document":6,"doe":6,"doesn":[4,6],"domain":[0,4,6],"dure":6,"dwt":4,"e":[4,6],"econom":[3,4],"economicact":4,"egrid":2,"either":1,"electr":[2,4],"email":4,"embed":3,"emiss":[0,1,2,4,5,6],"emissionrespons":4,"emissionresponsewithdetail":4,"enabl":6,"endpoint":[0,1,2,4,6],"energi":4,"engin":3,"enotfound":6,"ensur":[1,2,4,6],"entir":2,"env":[0,1],"environ":[0,1,6],"envizi":[0,1,5],"envizi_api_key":[0,1],"envizi_client_id":[0,1],"envizi_org_id":[0,1],"envizisdk":2,"equip":3,"error":[2,3,5],"es":2,"estat":[3,4],"etc":6,"exact":4,"exampl":[3,6],"excel":0,"exclud":6,"exist":[1,4,6],"exp":[0,6],"expect":4,"expir":[0,1,4,6],"expiri":[0,4],"expirytim":4,"explain":0,"export":4,"extern":0,"extract":4,"factor":[2,3,4],"factoract":4,"factoractivitywithfactorid":4,"factorid":4,"factorrequest":4,"factorrequestwithfactorid":4,"factorrequestwithoutfactorid":4,"factorrespons":4,"fail":[2,6],"failur":[1,6],"fals":4,"fetch":1,"find":4,"findexpirytim":[3,4],"firewal":6,"first":[3,4,6],"fix":3,"flag":4,"flow":5,"follow":[0,1,2,6],"footprint":3,"format":[0,2],"freight":4,"fresh":[0,4],"fuel":[3,4],"fugit":[3,4,6],"fugitivearea":4,"fugitv":4,"full":4,"function":[2,6],"futur":0,"g":[4,6],"gas":[3,4],"general":4,"generat":[1,6],"generic":[3,4],"genericcalculationrequestwithfactorid":4,"genericcalculationrequestwithoutfactorid":4,"geograph":4,"get":[0,3,4,6],"getauthhead":4,"getclient":[0,1,2,4,6],"getclientid":4,"getclientsourc":4,"getdomain":4,"getinst":[4,6],"getunit":6,"getusag":4,"ghg":3,"ghgemiss":0,"give":4,"global":3,"grace":1,"greenhous":3,"guid":3,"handl":[0,5,6],"hardcod":0,"header":[1,2,4,5,6],"histor":4,"histori":4,"host":[0,1,4],"http":[1,4],"httpcode":6,"httpmessag":6,"https":[0,2,4,6],"ibm":[0,1,2,5,6],"ibmid":2,"id":[0,1,2,4],"identifi":[0,4],"implement":[0,1,6],"import":[0,1],"includ":[0,4,6],"includedetail":4,"indirectco2":2,"industri":4,"inform":[0,1,4],"init":0,"initi":[0,2,3,4,5],"instal":3,"instanc":[1,3,4],"instead":[4,6],"integr":5,"interact":5,"interfac":[1,3],"internet":2,"invalid_api_key_12345":6,"involv":4,"issu":6,"isuserprovidedtoken":4,"jet":4,"jetkeroseneunit":4,"js":[0,1,2,5,6],"json":[0,2,4],"jwt":[0,4,6],"jwt_token":0,"jwttoken":4,"kerosen":4,"key":[1,4,5],"kg":4,"kgco2e":2,"kj":[4,6],"km":4,"known":4,"kwh":[2,4],"l":4,"lack":6,"larg":3,"last":6,"layer":0,"leader":2,"leak":3,"least":0,"let":1,"lignit":[4,6],"list":6,"ll":6,"locat":[2,3,4,6],"locationemiss":2,"locationrequest":4,"locationrequestwithfactorid":4,"locationrequestwithoutfactorid":4,"locationtyp":4,"log":[2,4],"logist":3,"look":4,"m2":4,"maintain":1,"make":[2,3,4],"makeapirequest":[0,3,4],"malform":6,"manag":[0,1,2,3],"match":6,"may":4,"measur":4,"messag":[1,6],"metadata":3,"method":[1,2,4,5,6],"metric":4,"mobil":[3,4,6],"mobilearea":4,"mode":0,"modul":[1,2],"moreinform":6,"multipl":4,"must":6,"n":6,"n2o":2,"name":4,"natur":4,"naturalgasunit":4,"near":0,"necessari":0,"need":[0,4],"network":6,"never":0,"new":[0,4],"node":[0,1,2,5,6],"note":6,"npm":2,"null":6,"oauth":0,"object":4,"obtain":[1,2],"occur":[0,6],"old":0,"onc":[0,1],"one":[0,1],"onli":[0,1,4,6],"oper":[1,3,4,6],"optim":1,"option":[0,4,5],"org":[2,6],"org456":[4,6],"organiz":[0,1,4],"orgid":[0,1,2,4,6],"otherwis":4,"overview":[2,3,5],"page":[0,1,2],"pagin":4,"param":[0,4],"paramet":[0,1,3,4],"pass":6,"pat":4,"pattern":5,"pattoken":4,"payload":4,"perform":4,"period":4,"permiss":6,"person":4,"point":[4,6],"post":4,"postarea":4,"posttyp":4,"postunit":4,"practic":5,"pre":[1,6],"prerequisit":3,"preview":2,"principl":0,"privileg":0,"proceed":4,"process":[0,1],"product":[0,1],"project":[2,3],"promis":4,"proper":[0,1,6],"properti":3,"provid":[0,1,2,4,5,6],"purchas":4,"purpos":4,"queri":[0,4],"r134a":4,"re":[0,6],"real":[3,4],"realest":4,"record":4,"refer":3,"refresh":[1,4],"refreshtoken":4,"regener":6,"region":[2,3],"relat":[4,6],"relev":4,"replac":0,"repres":4,"reproduc":6,"request":[0,1,3,4],"requestconfig":4,"requir":[0,1,2,3],"residenti":3,"resolv":4,"respond":6,"respons":[0,3,4,5],"restart":6,"result":[2,4],"retriev":[2,4],"retrievefactor":4,"return":[0,2,4,6],"reus":1,"review":6,"revok":6,"run":[0,2],"s":[0,2,4,6],"saascor":[0,2],"sampl":6,"scale":3,"scenario":[0,3],"scope":4,"sdk":[0,1,2,4],"search":4,"searchact":4,"searchrequest":4,"second":[4,6],"secret":6,"section":5,"secur":[1,5,6],"see":[0,1],"send":0,"sensit":6,"sent":4,"server":6,"servic":[0,1,6],"set":[2,6],"sever":1,"ship":4,"sign":2,"singl":4,"singleton":[0,1,4],"solut":6,"sourc":[0,3,4],"specif":[1,3,4,6],"specifi":4,"spend":[3,4],"stack":6,"standard":[4,6],"start":[3,6],"startup":1,"state":2,"stateprovinc":[2,4],"static":4,"stationari":[3,4,6],"stationarytyp":4,"status":[1,6],"steam":6,"steel":4,"step":[0,3],"store":[0,1,6],"string":[0,4],"structur":5,"subsequ":6,"success":[2,6],"summari":3,"suppli":3,"support":[1,4],"sustain":3,"t":[4,6],"tabl":[3,4],"target":6,"tenantid":2,"three":6,"throw":6,"thrown":6,"time":[0,4,6],"timestamp":4,"togeth":6,"toisostr":4,"token":[1,3,4],"totalco2":2,"trace":6,"track":3,"transactionid":2,"transport":[3,4],"transportationanddistribut":4,"tri":[1,2],"trim":0,"troubleshoot":3,"true":4,"two":[0,2],"type":[2,4,6],"typerespons":4,"unauthor":6,"unifi":[1,4],"unit":[2,4,6],"unitrespons":4,"unix":4,"unless":1,"unreach":6,"uom":4,"updat":6,"url":[0,4],"us":2,"usa":[2,4,6],"usag":[1,3,5],"usagerespons":4,"usd":4,"use":[0,1,3,4,6],"user":[0,1,4,6],"userdata":4,"util":[3,4],"v":[0,1],"valid":[0,1,6],"valu":[2,4,6],"variabl":[0,1,6],"vehicl":3,"verifi":[1,6],"version":6,"void":4,"waitlist":2,"warehous":4,"wast":4,"way":4,"web":4,"will":[1,6],"within":[4,6],"without":[4,6],"work":1,"wrong":6,"x":[0,2,4],"yarn":2,"year":2,"yes":1,"york":4},"titles":["Authentication","Client","Getting Started","IBM Envizi - Emissions API Node.js SDK","Reference","SDK","Troubleshooting Guide"],"titleterms":{"Not":6,"api":[0,2,3,4,6],"applic":6,"architectur":0,"auth":6,"authent":[0,1,2,6],"automat":6,"basic":2,"best":[0,1],"call":2,"checklist":6,"client":[1,6],"common":6,"configur":[1,6],"content":3,"credenti":6,"custom":6,"diagram":0,"emiss":3,"empti":6,"envizi":3,"error":[1,6],"exampl":[2,4],"expiri":6,"field":6,"first":2,"flow":0,"generat":[0,2],"get":2,"getarea":4,"gettyp":4,"getunit":4,"global":4,"guid":6,"handl":1,"header":0,"host":6,"http":6,"ibm":3,"id":6,"import":2,"initi":[1,6],"instal":2,"instanc":6,"integr":1,"interfac":4,"introduct":3,"invalid":6,"js":3,"key":[0,2,6],"lifetim":0,"manag":6,"metadata":4,"method":0,"miss":6,"node":3,"option":1,"organiz":6,"overview":[0,1,6],"paramet":6,"practic":[0,1],"pre":[0,2],"prerequisit":2,"recommend":[0,2,6],"refer":4,"refresh":[0,6],"requir":6,"respons":[1,2,6],"retriev":0,"scenario":6,"sdk":[3,5,6],"secur":0,"start":2,"startup":6,"step":6,"summari":6,"support":[3,6],"tabl":6,"token":[0,2,6],"troubleshoot":6,"type":3,"url":6,"usag":4,"use":2}})
1
+ Search.setIndex({"alltitles": {"1. Missing Auth URL with Custom Host": [[6, "missing-auth-url-with-custom-host"]], "10. Missing Expiry Field in Token": [[6, "missing-expiry-field-in-token"]], "2. Missing Client ID with Token": [[6, "missing-client-id-with-token"]], "3. Missing Parameters with API Key": [[6, "missing-parameters-with-api-key"]], "4. Missing Client ID with PAT Token": [[6, "missing-client-id-with-pat-token"]], "5. Organization ID Provided with PAT Token": [[6, "organization-id-provided-with-pat-token"]], "6. Invalid API Key": [[6, "invalid-api-key"]], "7. Invalid Organization ID": [[6, "invalid-organization-id"]], "8. Invalid Client ID": [[6, "invalid-client-id"]], "9. Empty Token Response": [[6, "empty-token-response"]], "API": [[4, "api"]], "API Key Authentication": [[0, "api-key-authentication"], [6, "api-key-authentication"]], "Additional capabilities": [[3, "additional-capabilities"]], "Architecture Diagram": [[0, "architecture-diagram"]], "Attribution Summary": [[2, "attribution-summary"]], "Audit Export API": [[4, "audit-export-api"]], "Audit Log API": [[4, "audit-log-api"]], "Authentication": [[0, null], [2, "authentication"]], "Authentication Errors (HTTP 401)": [[6, "authentication-errors-http-401"]], "Authentication Flow": [[0, "authentication-flow"]], "Authentication Headers": [[0, "authentication-headers"]], "Authentication Integration": [[1, "authentication-integration"]], "Authentication Methods": [[0, "authentication-methods"]], "Automatic Token Refresh": [[6, "automatic-token-refresh"]], "Basic Import": [[2, "basic-import"]], "Best Practices": [[1, "best-practices"]], "Client": [[1, null]], "Client Initialization": [[1, "client-initialization"]], "Client Instance Errors": [[6, "client-instance-errors"]], "Client Not Initialized": [[6, "client-not-initialized"]], "Client Responsibilities": [[1, "client-responsibilities"]], "Common Scenarios": [[6, "common-scenarios"]], "Configuration Errors": [[6, "configuration-errors"]], "Configuration Options": [[1, "configuration-options"]], "Contents:": [[3, null]], "Currency Conversion Support": [[2, "currency-conversion-support"]], "Economic Activity": [[2, "economic-activity"]], "Error Handling": [[1, "error-handling"]], "Error Summary Table": [[6, "error-summary-table"]], "Example": [[4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null], [4, null]], "Example Response": [[2, "example-response"]], "Example Response with Details": [[2, "example-response-with-details"]], "Exchange Rate Data": [[2, "exchange-rate-data"]], "Finance Emissions APIs": [[2, "finance-emissions-apis"]], "First API Call": [[2, "first-api-call"]], "Getting Started": [[2, null]], "Global Metadata API": [[4, "global-metadata-api"]], "IBM Envizi - Emissions API Node.js SDK": [[3, null]], "Initialization Checklist": [[6, "initialization-checklist"]], "Installation": [[2, "installation"]], "Interfaces": [[4, "interfaces"]], "Introduction": [[3, "introduction"]], "Overview": [[0, "overview"], [1, "overview"], [2, "overview"], [6, "overview"]], "Personal Access Token (PAT) Authentication (Recommended)": [[0, "personal-access-token-pat-authentication-recommended"], [6, "personal-access-token-pat-authentication-recommended"]], "Physical Activity": [[2, "physical-activity"]], "Pre-generated Token Authentication": [[0, "pre-generated-token-authentication"]], "Prerequisites": [[2, "prerequisites"]], "Real Estate": [[2, "real-estate"]], "Reference": [[4, null]], "Required Configuration Parameters": [[6, "required-configuration-parameters"]], "Response Structure Details": [[2, "response-structure-details"]], "SDK": [[5, null]], "SDK Initialization Errors": [[6, "sdk-initialization-errors"]], "Scenario 1: Application Startup": [[6, "scenario-1-application-startup"]], "Scenario 2: Invalid Credentials": [[6, "scenario-2-invalid-credentials"]], "Scenario 3: Missing Configuration": [[6, "scenario-3-missing-configuration"]], "Scenario 4: Client Not Initialized": [[6, "scenario-4-client-not-initialized"]], "Security Best Practices": [[0, "security-best-practices"]], "Support": [[6, "support"]], "Supported Currencies": [[2, "supported-currencies"]], "Supported Emission Types": [[3, "supported-emission-types"]], "Token Authentication": [[6, "token-authentication"]], "Token Management": [[6, "token-management"]], "Token lifetime & refresh": [[0, "token-lifetime-refresh"]], "Token retrieval": [[0, "token-retrieval"]], "Troubleshooting Guide": [[6, null]], "Troubleshooting Steps": [[6, "troubleshooting-steps"]], "Type Recommender API": [[4, "type-recommender-api"]], "Usage API": [[4, "usage-api"]], "Using API Key": [[2, "using-api-key"]], "Using Personal Access Token (PAT)": [[2, "using-personal-access-token-pat"]], "Using Pre-generated JWT Token": [[2, "using-pre-generated-jwt-token"]], "getArea": [[4, "getarea"]], "getTypes": [[4, "gettypes"]], "getUnits": [[4, "getunits"]]}, "docnames": ["authentication", "client", "getting_started", "index", "reference", "sdk", "troubleshooting"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["authentication.rst", "client.rst", "getting_started.rst", "index.rst", "reference.rst", "sdk.rst", "troubleshooting.rst"], "indexentries": {"api.commonrequestwithfactorid() (interface)": [[4, "Api.CommonRequestWithFactorId", false]], "api.commonrequestwithoutfactorid() (interface)": [[4, "Api.CommonRequestWithoutFactorId", false]], "api.factorrequestwithfactorid() (interface)": [[4, "Api.FactorRequestWithFactorId", false]], "api.factorrequestwithoutfactorid() (interface)": [[4, "Api.FactorRequestWithoutFactorId", false]], "api.genericcalculationrequestwithfactorid() (interface)": [[4, "Api.GenericCalculationRequestWithFactorId", false]], "api.genericcalculationrequestwithoutfactorid() (interface)": [[4, "Api.GenericCalculationRequestWithoutFactorId", false]], "api.locationrequestwithfactorid() (interface)": [[4, "Api.LocationRequestWithFactorId", false]], "api.locationrequestwithoutfactorid() (interface)": [[4, "Api.LocationRequestWithoutFactorId", false]], "api.searchrequest() (interface)": [[4, "Api.SearchRequest", false]], "auditexport.download() (auditexport method)": [[4, "AuditExport.download", false]], "auditexport.getstatus() (auditexport method)": [[4, "AuditExport.getStatus", false]], "auditexport.trigger() (auditexport method)": [[4, "AuditExport.trigger", false]], "auditexportresponse.auditexportlinks() (interface)": [[4, "AuditExportResponse.AuditExportLinks", false]], "auditexportresponse.auditexportrequest() (interface)": [[4, "AuditExportResponse.AuditExportRequest", false]], "auditexportresponse.auditexportresponse() (interface)": [[4, "AuditExportResponse.AuditExportResponse", false]], "auditexportresponse.auditexportstatusresponse() (interface)": [[4, "AuditExportResponse.AuditExportStatusResponse", false]], "auditlog.getauditconfig() (auditlog method)": [[4, "AuditLog.getAuditConfig", false]], "auditlog.updateauditconfig() (auditlog method)": [[4, "AuditLog.updateAuditConfig", false]], "auditlogresponse.auditlogrequest() (interface)": [[4, "AuditLogResponse.AuditLogRequest", false]], "auditlogresponse.auditlogresponse() (interface)": [[4, "AuditLogResponse.AuditLogResponse", false]], "calculation.calculate() (calculation method)": [[4, "Calculation.calculate", false]], "client() (class)": [[4, "Client", false]], "client.getauthheader() (client method)": [[4, "Client.getAuthHeader", false]], "client.getclient() (client method)": [[4, "Client.getClient", false]], "client.getclientid() (client method)": [[4, "Client.getClientId", false]], "client.getclientsource() (client method)": [[4, "Client.getClientSource", false]], "client.getdomain() (client method)": [[4, "Client.getDomain", false]], "client.getinstance() (client method)": [[4, "Client.getInstance", false]], "client.refreshtoken() (client method)": [[4, "Client.refreshToken", false]], "common.activity() (interface)": [[4, "common.Activity", false]], "common.activitywithfactorid() (interface)": [[4, "common.ActivityWithFactorId", false]], "common.combinedunitsactivity() (interface)": [[4, "common.CombinedUnitsActivity", false]], "common.combinedunitsactivitywithfactorid() (interface)": [[4, "common.CombinedUnitsActivityWithFactorId", false]], "common.factoractivity() (interface)": [[4, "common.FactorActivity", false]], "common.factoractivitywithfactorid() (interface)": [[4, "common.FactorActivityWithFactorId", false]], "common.location() (interface)": [[4, "common.Location", false]], "common.pagination() (interface)": [[4, "common.Pagination", false]], "common.searchactivity() (interface)": [[4, "common.SearchActivity", false]], "common.time() (interface)": [[4, "common.Time", false]], "config.clientconfig() (interface)": [[4, "Config.ClientConfig", false]], "config.requestconfig() (interface)": [[4, "Config.RequestConfig", false]], "economicactivity.calculate() (economicactivity method)": [[4, "EconomicActivity.calculate", false]], "factor.retrievefactor() (factor method)": [[4, "Factor.retrieveFactor", false]], "factor.search() (factor method)": [[4, "Factor.search", false]], "fugitive.calculate() (fugitive method)": [[4, "Fugitive.calculate", false]], "location.calculate() (location method)": [[4, "Location.calculate", false]], "metadata.getarea() (metadata method)": [[4, "Metadata.getArea", false]], "metadata.gettypes() (metadata method)": [[4, "Metadata.getTypes", false]], "metadata.getunits() (metadata method)": [[4, "Metadata.getUnits", false]], "metadata.postarea() (metadata method)": [[4, "Metadata.postArea", false]], "metadata.posttypes() (metadata method)": [[4, "Metadata.postTypes", false]], "metadata.postunits() (metadata method)": [[4, "Metadata.postUnits", false]], "mobile.calculate() (mobile method)": [[4, "Mobile.calculate", false]], "physicalactivity.calculate() (physicalactivity method)": [[4, "PhysicalActivity.calculate", false]], "realestate.calculate() (realestate method)": [[4, "RealEstate.calculate", false]], "request.makeapirequest() (request method)": [[4, "request.makeApiRequest", false]], "stationary.calculate() (stationary method)": [[4, "Stationary.calculate", false]], "transportationanddistribution.calculate() (transportationanddistribution method)": [[4, "TransportationAndDistribution.calculate", false]], "typerecommender.search() (typerecommender method)": [[4, "TypeRecommender.search", false]], "typerecommenderresponse.activityrequest() (interface)": [[4, "TypeRecommenderResponse.ActivityRequest", false]], "typerecommenderresponse.typerecommenderresponse() (interface)": [[4, "TypeRecommenderResponse.TypeRecommenderResponse", false]], "usage.getusage() (usage method)": [[4, "Usage.getUsage", false]], "utils.findexpirytime() (utils method)": [[4, "utils.findExpiryTime", false]]}, "objects": {"": [[4, 2, 1, "", "Client"]], "Api": [[4, 0, 1, "", "CommonRequestWithFactorId"], [4, 0, 1, "", "CommonRequestWithoutFactorId"], [4, 0, 1, "", "FactorRequestWithFactorId"], [4, 0, 1, "", "FactorRequestWithoutFactorId"], [4, 0, 1, "", "GenericCalculationRequestWithFactorId"], [4, 0, 1, "", "GenericCalculationRequestWithoutFactorId"], [4, 0, 1, "", "LocationRequestWithFactorId"], [4, 0, 1, "", "LocationRequestWithoutFactorId"], [4, 0, 1, "", "SearchRequest"]], "AuditExport": [[4, 1, 1, "", "download"], [4, 1, 1, "", "getStatus"], [4, 1, 1, "", "trigger"]], "AuditExportResponse": [[4, 0, 1, "", "AuditExportLinks"], [4, 0, 1, "", "AuditExportRequest"], [4, 0, 1, "", "AuditExportResponse"], [4, 0, 1, "", "AuditExportStatusResponse"]], "AuditLog": [[4, 1, 1, "", "getAuditConfig"], [4, 1, 1, "", "updateAuditConfig"]], "AuditLogResponse": [[4, 0, 1, "", "AuditLogRequest"], [4, 0, 1, "", "AuditLogResponse"]], "Calculation": [[4, 1, 1, "", "calculate"]], "Client": [[4, 1, 1, "", "getAuthHeader"], [4, 1, 1, "", "getClient"], [4, 1, 1, "", "getClientId"], [4, 1, 1, "", "getClientSource"], [4, 1, 1, "", "getDomain"], [4, 1, 1, "", "getInstance"], [4, 1, 1, "", "refreshToken"]], "Config": [[4, 0, 1, "", "ClientConfig"], [4, 0, 1, "", "RequestConfig"]], "EconomicActivity": [[4, 1, 1, "", "calculate"]], "Factor": [[4, 1, 1, "", "retrieveFactor"], [4, 1, 1, "", "search"]], "Fugitive": [[4, 1, 1, "", "calculate"]], "Location": [[4, 1, 1, "", "calculate"]], "Metadata": [[4, 1, 1, "", "getArea"], [4, 1, 1, "", "getTypes"], [4, 1, 1, "", "getUnits"], [4, 1, 1, "", "postArea"], [4, 1, 1, "", "postTypes"], [4, 1, 1, "", "postUnits"]], "Mobile": [[4, 1, 1, "", "calculate"]], "PhysicalActivity": [[4, 1, 1, "", "calculate"]], "RealEstate": [[4, 1, 1, "", "calculate"]], "Stationary": [[4, 1, 1, "", "calculate"]], "TransportationAndDistribution": [[4, 1, 1, "", "calculate"]], "TypeRecommender": [[4, 1, 1, "", "search"]], "TypeRecommenderResponse": [[4, 0, 1, "", "ActivityRequest"], [4, 0, 1, "", "TypeRecommenderResponse"]], "Usage": [[4, 1, 1, "", "getUsage"]], "common": [[4, 0, 1, "", "Activity"], [4, 0, 1, "", "ActivityWithFactorId"], [4, 0, 1, "", "CombinedUnitsActivity"], [4, 0, 1, "", "CombinedUnitsActivityWithFactorId"], [4, 0, 1, "", "FactorActivity"], [4, 0, 1, "", "FactorActivityWithFactorId"], [4, 0, 1, "", "Location"], [4, 0, 1, "", "Pagination"], [4, 0, 1, "", "SearchActivity"], [4, 0, 1, "", "Time"]], "request": [[4, 1, 1, "", "makeApiRequest"]], "utils": [[4, 1, 1, "", "findExpiryTime"]]}, "objnames": {"0": ["js", "interface", "JavaScript interface"], "1": ["js", "function", "JavaScript function"], "2": ["js", "class", "JavaScript class"]}, "objtypes": {"0": "js:interface", "1": "js:function", "2": "js:class"}, "terms": {"": [0, 2, 4, 6], "0": [0, 2, 4, 6], "0000000000002": 2, "00001": 2, "00033022": 2, "00035": 2, "00036061": 2, "0067": 2, "01": [2, 4, 6], "01115131": 2, "0292": 2, "02956": 2, "02ae": 2, "03": 4, "04": [2, 4, 6], "05": 6, "06": 4, "1": [2, 4], "10": [2, 4], "1000": 4, "1000000": [2, 4], "10000000": [2, 4], "12": [2, 4], "121": 4, "1223123": 4, "123": 4, "12345": [4, 6], "123456": [2, 4], "1340000": 2, "14123143": 4, "150": 4, "1500": [2, 4], "1500000": 4, "170": 2, "17000": 4, "190405": 2, "2": [0, 2, 4], "2000": 2, "2000000": [2, 4], "2001": 2, "2020": 4, "2022": [2, 4], "2024": 2, "2025": [2, 4, 6], "2026": 6, "20681091": 2, "20750174": 2, "23": 4, "29df5ecd": 2, "3": [2, 3, 4], "3000000": [2, 4], "31": [2, 4, 6], "4": 2, "400": 2, "409": 4, "4797": 2, "47a3": 2, "500000": [2, 4], "5000000": [2, 4], "5840000": 2, "5912000": 2, "60": [4, 6], "70000": 2, "831bfca7cecd": 2, "9": 2, "95a7efe7": 2, "9999": [2, 4], "A": [0, 4, 6], "AED": 2, "For": [0, 1, 6], "If": [0, 2, 4, 6], "In": 0, "It": 1, "No": [1, 4], "OR": [1, 4], "Or": [2, 6], "That": 6, "The": [0, 1, 2, 3, 4, 5, 6], "Then": 4, "These": 6, "With": 2, "a7fd": 2, "about": [0, 1, 2, 4, 6], "accept": [0, 1, 2, 4], "access": [1, 4], "accomod": [2, 4], "account": [2, 6], "across": [1, 2, 3, 4], "activ": [3, 4, 6], "activityrequest": 4, "activitysubtyp": 2, "activitytyp": 2, "activitywithfactorid": 4, "adb": 2, "add": [0, 1], "admin": 4, "afghani": 2, "afn": 2, "after": 2, "air": 2, "algerian": 2, "all": [1, 2, 4, 6], "alloc": [2, 4], "allow": [2, 6], "allunit": 4, "alreadi": 4, "also": 6, "alwai": [2, 6], "amd": 2, "amend": 2, "an": [2, 4, 6], "ang": 2, "anga": 2, "ani": [4, 6], "antillean": 2, "aoa": 2, "api": [1, 5], "apidomain": 4, "apikei": [0, 1, 2, 4, 6], "apinam": 4, "appli": 2, "applic": [0, 1, 2, 3, 4], "approach": [0, 5], "appropri": [1, 2, 4], "ar": [2, 3, 4, 6], "arab": 2, "architectur": [3, 5], "archiv": 4, "area": [2, 3, 4], "areanam": 2, "arearespons": 4, "areatyp": 2, "argentin": 2, "argument": 4, "ariari": 2, "armenian": 2, "arraybufferlik": 4, "aruban": 2, "async": 4, "asynchron": 4, "attempt": 6, "attribut": [3, 4], "aud": 2, "audit": 3, "auditexport": 4, "auditexportlink": 4, "auditexportrequest": 4, "auditexportrespons": 4, "auditexportstatusrespons": 4, "auditexportzip": 4, "auditlog": 4, "auditlogrequest": 4, "auditlogrespons": 4, "australian": 2, "auth": 4, "authent": [3, 4, 5], "author": [0, 4], "authurl": [0, 1, 4, 6], "autom": 3, "automat": [0, 1, 2], "avail": [2, 4, 6], "await": [0, 1, 2, 4, 6], "awg": 2, "axio": 0, "azerbaijan": 2, "azn": 2, "b6fd": 2, "bahamian": 2, "bahraini": 2, "baht": 2, "balboa": 2, "bam": 2, "barbado": 2, "base": [2, 3, 4, 6], "basi": 2, "basic": 4, "bbd": 2, "bceao": 2, "bdt": 2, "beac": 2, "bearer": [0, 2, 4], "becom": 2, "befor": [0, 1, 2, 4, 6], "belarusian": 2, "beliz": 2, "bermudian": 2, "best": [3, 5], "bgn": 2, "bhd": 2, "bif": 2, "bill": [3, 4], "birr": 2, "bmd": 2, "bnd": 2, "bob": 2, "bodi": [4, 6], "boliviano": 2, "bol\u00edvar": 2, "boolean": 4, "both": [2, 4, 6], "bov": 2, "brazilian": 2, "britain": 2, "brl": 2, "brunei": 2, "bsd": 2, "btn": 2, "buffer": 4, "build": 3, "bulgarian": 2, "bulk": [2, 4], "bureau": 2, "burundi": 2, "busi": 3, "bwp": 2, "byn": 2, "bzd": 2, "cabo": 2, "cach": 0, "cad": 2, "calcul": [2, 3, 4, 6], "calculationrequest": 4, "california": [2, 4], "call": [0, 3, 4, 6], "can": [2, 4, 6], "canadian": 2, "cannot": 6, "captur": 2, "carbon": [2, 3], "cargo": [2, 4], "caribbean": 2, "carrier": [2, 4], "cash": 4, "catch": 1, "caus": 6, "cayman": 2, "cdf": 2, "cedi": 2, "central": 1, "cfa": 2, "cfp": 2, "ch4": 2, "chain": 3, "chang": 4, "che": 2, "check": [0, 4, 6], "checklist": 3, "chf": 2, "chilean": 2, "chw": 2, "citat": 2, "claim": 6, "class": 4, "classif": 2, "clf": 2, "client": [0, 2, 3, 4, 5], "client123": [4, 6], "clientconfig": 4, "clientid": [0, 1, 2, 4, 6], "climat": 2, "close": 1, "cloud": 6, "clp": 2, "cny": 2, "co2": 2, "coal": [4, 6], "code": [0, 6], "colombian": 2, "colon": 2, "com": [0, 4, 6], "combin": 6, "combinedunitsact": 4, "combinedunitsactivitywithfactorid": 4, "combust": 4, "commerci": [2, 3, 4], "common": [3, 4], "commonrequest": 4, "commonrequestwithfactorid": 4, "commonrequestwithoutfactorid": 4, "comorian": 2, "compani": [2, 3, 4], "complet": [4, 6], "complex": 4, "compon": [1, 2, 5], "comprehens": 2, "comput": 2, "config": 4, "configur": [3, 4, 5], "confirm": 6, "conflict": 4, "congoles": 2, "connect": [1, 2, 6], "consist": 1, "consol": [1, 4, 6], "const": [2, 4, 6], "consumpt": 3, "contact": 6, "contain": [4, 6], "content": 4, "context": 4, "control": [0, 3, 4], "convers": 3, "conversionratio": 2, "convert": [2, 4], "cop": 2, "cordoba": 2, "correct": 6, "correctli": 6, "correspond": 6, "costa": 2, "cou": 2, "countri": [2, 4, 6], "cover": [2, 5, 6], "coverag": [2, 6], "crc": 2, "creat": 4, "credenti": [0, 1, 2], "criteria": 4, "cross": 4, "csv": 4, "cuban": 2, "cup": 2, "currenc": 3, "current": [2, 4], "custom": [1, 3, 4], "cve": 2, "czech": 2, "czk": 2, "da03bc007f30": 2, "dai": 2, "dalasi": 2, "danish": 2, "dashboard": 3, "data": [1, 3, 4], "databas": [2, 3], "dataset": 3, "date": [2, 4, 6], "de": 2, "debt": [2, 3, 4], "debug": 6, "decis": 3, "decod": 0, "default": [0, 1, 2, 4, 6], "defra": 2, "denar": 2, "depart": 2, "deploy": 0, "descript": [1, 2], "design": [1, 3], "detail": [0, 1, 3, 4, 6], "detect": 0, "determin": 4, "deviat": 2, "diagram": [3, 5], "diesel": 4, "differ": 4, "dinar": 2, "dioxid": 2, "directli": [0, 6], "dirham": 2, "disabl": 4, "distribut": [3, 4], "djf": 2, "djibouti": 2, "dkk": 2, "do": [0, 2, 6], "dobra": 2, "doc": 2, "document": [2, 6], "doe": [2, 6], "doesn": [4, 6], "dollar": 2, "domain": [0, 4, 6], "dominican": 2, "don": 4, "dong": 2, "dop": 2, "download": [3, 4], "dram": 2, "draw": 2, "dure": 6, "dwt": [2, 4], "dzd": 2, "e": [2, 4, 6], "each": [0, 2], "earlier": 2, "earliest": 2, "earth": 2, "east": 2, "econom": [3, 4], "economicact": [2, 4], "egp": 2, "egrid": 2, "egyptian": 2, "either": 1, "el": 2, "electr": [2, 4], "email": 4, "embed": 3, "emiss": [0, 1, 4, 5, 6], "emissionrespons": 4, "emissionresponsewithdetail": 4, "en": 2, "enabl": 6, "enablererank": 4, "encod": 4, "endpoint": [0, 1, 3, 4, 6], "energi": [2, 4], "engin": 3, "enotfound": 6, "ensur": [1, 2, 4, 6], "enterpris": 4, "entir": 2, "env": [0, 1, 2], "environ": [0, 1, 6], "envizi": [0, 1, 5], "envizi_api_kei": [0, 1, 2], "envizi_client_id": [0, 1, 2], "envizi_org_id": [0, 1, 2], "envizi_pat_token": [0, 2], "envizisdk": 2, "epa": 2, "equip": 3, "equiti": [2, 3, 4], "equival": 2, "ern": 2, "error": [2, 3, 5], "escudo": 2, "especi": 2, "estat": [3, 4], "etb": 2, "etc": 6, "ethiopian": 2, "eur": 2, "euro": 2, "european": 2, "evic": [2, 3, 4], "exact": 4, "exampl": [3, 6], "excel": 0, "exclud": 6, "exist": [1, 4, 6], "exp": [0, 6], "expect": 4, "expir": [0, 1, 4, 6], "expiri": [0, 4], "expirytim": 4, "explain": 0, "export": 3, "extern": 0, "extract": 4, "factor": [2, 3, 4], "factoract": 4, "factoractivitywithfactorid": 4, "factorid": [2, 4], "factorrequest": 4, "factorrequestwithfactorid": 4, "factorrequestwithoutfactorid": 4, "factorrespons": 4, "factorset": 2, "fail": 6, "failur": [1, 6], "falkland": 2, "fals": [2, 4], "fc3b": 2, "featur": 2, "fetch": 1, "field": 2, "fiji": 2, "filter": [3, 4], "financ": 3, "find": 4, "findexpirytim": [3, 4], "firewal": 6, "first": [3, 4, 6], "fiscal": 2, "fiscal_servic": 2, "fiscaldata": 2, "fix": 3, "fjd": 2, "fkp": 2, "flag": 4, "florin": 2, "flow": [3, 5], "follow": [0, 1, 2, 4, 6], "fomento": 2, "footprint": 3, "forint": 2, "format": [0, 2], "franc": 2, "freight": [2, 4], "frequenc": 2, "fresh": [0, 4], "from": [0, 1, 2, 3, 4, 6], "fromdat": 4, "fuel": [3, 4], "fugit": [3, 4, 6], "fugitivearea": 4, "fugitv": 4, "full": 4, "function": 6, "futur": 0, "g": [2, 4, 6], "ga": [2, 3, 4], "gbp": 2, "gel": 2, "gener": [1, 3, 4, 6], "genericcalculationrequestwithfactorid": 4, "genericcalculationrequestwithoutfactorid": 4, "geograph": [2, 4], "get": [0, 3, 4, 6], "getauditconfig": 4, "getauthhead": 4, "getclient": [0, 1, 2, 4, 6], "getclientid": 4, "getclientsourc": 4, "getconfig": 4, "getdomain": 4, "getinst": [4, 6], "getstatu": 4, "getunit": 6, "getusag": 4, "gh": 2, "ghana": 2, "ghg": [2, 3], "ghgemiss": 0, "gibraltar": 2, "gip": 2, "give": 4, "global": [2, 3], "gmd": 2, "gnf": 2, "gold": 2, "gourd": 2, "gov": 2, "govern": 2, "gracefulli": [1, 4], "great": 2, "greenhous": [2, 3], "grid": 4, "gtq": 2, "guarani": 2, "guid": 3, "guilder": 2, "guinean": 2, "guyana": 2, "gyd": 2, "ha": 6, "handl": [0, 3, 4, 5, 6], "hardcod": 0, "have": [2, 4], "header": [1, 3, 4, 5, 6], "helena": 2, "here": 2, "hi": 2, "histor": [2, 3, 4], "histori": 4, "hkd": 2, "hnl": 2, "hong": 2, "host": [0, 1, 4], "hryvnia": 2, "htg": 2, "http": [0, 1, 2, 4], "httpcode": 6, "httpmessag": 6, "huf": 2, "human": 2, "i": [0, 1, 2, 3, 4, 6], "ibm": [0, 1, 5, 6], "ibmid": 2, "iceland": 2, "id": [0, 1, 4], "identifi": [0, 2, 3, 4], "idr": 2, "il": 2, "implement": [0, 1, 6], "import": [0, 1], "includ": [0, 2, 4, 6], "includedetail": [2, 4], "indexada": 2, "indian": 2, "indic": 4, "indirect": 2, "indirectco2": 2, "industri": 4, "inform": [0, 1, 2, 4], "init": 0, "initi": [0, 2, 3, 4, 5], "input": 2, "inputunit": 2, "inr": 2, "instal": 3, "instanc": [1, 3, 4], "instead": [4, 6], "integr": [3, 5], "intend": 2, "interact": [4, 5], "interfac": [1, 3], "internet": 2, "introduct": 2, "invalid_api_key_12345": 6, "invers": 2, "involv": 4, "iqd": 2, "iranian": 2, "iraqi": 2, "ireland": 2, "irr": 2, "isk": 2, "island": 2, "isra": 2, "issu": [2, 6], "isuserprovidedtoken": 4, "its": 4, "j": [0, 1, 2, 5, 6], "jamaican": 2, "jet": 4, "jetkeroseneunit": 4, "jmd": 2, "jod": 2, "jordanian": 2, "jpy": 2, "json": [0, 2, 4], "jwt": [0, 4, 6], "jwt_token": [0, 2], "jwttoken": 4, "ke": 2, "kei": [1, 4, 5], "kenyan": 2, "kerosen": 4, "kg": [2, 4], "kgco2e": 2, "khr": 2, "kina": 2, "kingdom": 2, "kip": 2, "kj": [4, 6], "km": [2, 4], "km2": 4, "kmf": 2, "known": 4, "kong": 2, "korean": 2, "koruna": 2, "kpw": 2, "krona": 2, "krone": 2, "krw": 2, "kuwaiti": 2, "kwacha": 2, "kwanza": 2, "kwd": 2, "kwh": [2, 4], "kyat": 2, "kyd": 2, "kzt": 2, "l": 4, "lack": 6, "lak": 2, "lanka": 2, "lao": 2, "larg": 3, "lari": 2, "last": 6, "layer": 0, "lbp": 2, "leader": 2, "leak": 3, "least": 0, "lebanes": 2, "lek": 2, "lempira": 2, "leon": 2, "let": 1, "leu": 2, "lev": 2, "level": 2, "liberian": 2, "libyan": 2, "licenc": 2, "licens": [2, 4], "lignit": [4, 6], "like": 3, "lilangeni": 2, "link": 4, "lira": 2, "list": [2, 4, 6], "lkr": 2, "ll": 6, "locat": [2, 3, 4, 6], "locationemiss": 2, "locationrequest": 4, "locationrequestwithfactorid": 4, "locationrequestwithoutfactorid": 4, "locationtyp": 4, "log": 3, "logist": 3, "logrequest": 4, "logrespons": 4, "look": 4, "loti": 2, "lrd": 2, "lsl": 2, "lyd": 2, "m2": [2, 4], "mad": 2, "made": 4, "mai": 4, "maintain": 1, "majesti": 2, "make": [2, 3, 4], "makeapirequest": [0, 3, 4], "malagasi": 2, "malawi": 2, "malaysian": 2, "malform": 6, "manag": [0, 1, 2, 3], "manat": 2, "mani": 2, "march": 2, "mark": 2, "match": 6, "mauritiu": 2, "mdl": 2, "measur": [2, 4], "messag": [1, 4, 6], "metadata": 3, "methan": 2, "method": [1, 2, 3, 4, 5, 6], "methodologi": 2, "metic": 2, "metric": 4, "mexican": 2, "mga": 2, "mkd": 2, "mmk": 2, "mnt": 2, "mobil": [3, 4, 6], "mobilearea": 4, "mode": 0, "modul": [1, 2], "moldovan": 2, "monetari": 2, "monitor": 3, "mop": 2, "more": [0, 2, 6], "moreinform": 6, "moroccan": 2, "most": 2, "mozambiqu": 2, "mru": 2, "multipl": 4, "mur": 2, "must": [2, 6], "mvdol": 2, "mvr": 2, "mwh": 4, "mwk": 2, "mxn": 2, "mxv": 2, "myr": 2, "mzn": 2, "n": 6, "n2o": 2, "nad": 2, "naira": 2, "nakfa": 2, "name": [2, 4], "namibia": 2, "nationalarch": 2, "natur": 4, "naturalgasunit": 4, "necessari": 0, "need": [0, 2, 4], "nepales": 2, "net": 2, "netherland": 2, "network": 6, "never": 0, "new": [0, 2, 4], "next": 2, "ngn": 2, "ngultrum": 2, "nio": 2, "nitrou": 2, "node": [0, 1, 2, 5, 6], "nok": 2, "north": 2, "northern": 2, "norwegian": 2, "note": [4, 6], "npm": 2, "npr": 2, "null": 6, "nzd": 2, "oauth": 0, "object": [2, 4], "obtain": [1, 2], "occur": [0, 6], "offic": [2, 4], "offici": 2, "old": 0, "omani": 2, "omr": 2, "onc": [0, 1], "one": [0, 1], "onli": [0, 1, 2, 4, 6], "onward": 2, "open": 2, "oper": [1, 3, 4, 6], "optim": 1, "option": [0, 2, 3, 4, 5, 6], "org": 6, "org456": [4, 6], "organ": [0, 1, 2, 3, 4], "orgid": [0, 1, 2, 4, 6], "oro": 2, "other": [4, 6], "otherwis": 4, "ouguiya": 2, "output": 4, "outsid": 2, "outstandingamount": [2, 4], "overview": [3, 5], "oxid": 2, "pa": 2, "pab": 2, "page": [0, 1, 2, 4], "pagin": 4, "pakistan": 2, "param": [0, 4], "paramet": [0, 1, 3, 4], "part": 4, "pass": 6, "pat": 4, "pataca": 2, "pattern": 5, "pattoken": [0, 2, 4, 6], "payload": 4, "pcaf": 2, "pen": 2, "per": 2, "perform": 4, "period": [3, 4], "permiss": 6, "person": 4, "peso": 2, "pgk": 2, "philippin": 2, "php": 2, "physic": [3, 4], "physicalact": [2, 4], "pkr": 2, "planet": 2, "pln": 2, "point": [4, 6], "polici": 2, "post": 4, "postarea": 4, "posttyp": 4, "postunit": 4, "pound": 2, "power": 4, "powergrid": 4, "practic": [3, 5], "pre": [1, 6], "prefer": 2, "prerequisit": 3, "prevision": 2, "primarili": 2, "principl": 0, "privat": [2, 3, 4], "privileg": 0, "proce": 4, "process": [0, 1, 2, 4], "product": [0, 1], "project": [2, 3], "promis": 4, "proper": [0, 1, 6], "properli": 6, "properti": [2, 3, 4], "propertyvalu": [2, 4], "proport": 4, "proportion": 2, "protocol": 2, "provid": [0, 1, 2, 4, 5], "public": 2, "publish": 2, "publishedfrom": 2, "pula": 2, "purchas": 4, "purpos": [2, 4], "pyg": 2, "qar": 2, "qatari": 2, "quarterli": 2, "queri": [0, 3, 4], "quetzal": 2, "quick": 2, "r134a": 4, "rand": 2, "rang": 4, "ratio": 2, "re": [0, 6], "read": 2, "readabl": 2, "real": [3, 4], "realest": [2, 4], "recommend": [2, 3], "record": 4, "refer": 3, "refresh": [1, 2, 4], "refreshtoken": 4, "regener": 6, "region": [2, 3], "relat": [2, 4, 6], "relev": 4, "remov": 6, "renew": 4, "renminbi": 2, "replac": 0, "report": 2, "repres": 4, "reproduc": 6, "request": [0, 1, 2, 3, 4], "requestconfig": 4, "requestid": 4, "requestwithattribut": 4, "requestwithequitydebt": 4, "requestwithev": 4, "requir": [0, 1, 2, 3], "rerank": [3, 4], "residenti": [2, 3], "resolv": 4, "respond": 6, "respons": [0, 3, 4, 5], "restart": 6, "result": [2, 3, 4], "resultwithattribut": 4, "resultwithequitydebt": 4, "resultwithev": 4, "retriev": [2, 3, 4], "retrievefactor": 4, "return": [0, 2, 4, 6], "reus": 1, "revenu": [2, 4], "review": 6, "revok": 6, "rial": 2, "rican": 2, "riel": 2, "right": 2, "ringgit": 2, "riyal": 2, "romanian": 2, "ron": 2, "rsd": 2, "rub": 2, "rubl": 2, "rufiyaa": 2, "run": 0, "rupe": 2, "rupiah": 2, "russian": 2, "rwanda": 2, "rwf": 2, "saascor": 0, "saint": 2, "salvador": 2, "sampl": 6, "sar": 2, "saudi": 2, "sbd": 2, "scale": 3, "scenario": [0, 3], "scope": [2, 3, 4], "scr": 2, "sdg": 2, "sdk": [0, 1, 2, 4], "sdr": 2, "search": [3, 4], "searchact": 4, "searchrequest": 4, "searchrespons": 4, "searchwithboth": 4, "searchwithoutrerank": 4, "searchwithscop": 4, "searchwithunit": 4, "second": [4, 6], "secret": 6, "section": 5, "secur": [1, 2, 3, 5, 6], "see": [0, 1], "sek": 2, "select": 2, "semant": [3, 4], "send": 0, "sensit": 6, "sent": 4, "serbian": 2, "server": 6, "servic": [0, 1, 2, 6], "set": [2, 4, 6], "sever": 1, "seychel": 2, "sgd": 2, "sheqel": 2, "shill": 2, "ship": [2, 4], "should": [4, 6], "shp": 2, "sign": 2, "singapor": 2, "singl": 4, "singleton": [0, 1, 4], "site": 2, "size": 4, "sle": 2, "so": 2, "soberano": 2, "sol": 2, "solomon": 2, "solut": 6, "som": 2, "somali": 2, "somoni": 2, "soon": 2, "sourc": [0, 2, 3, 4], "sourceurl": 2, "south": 2, "special": 2, "specif": [1, 2, 3, 4, 6], "specifi": [2, 4], "spend": [2, 3, 4], "srd": 2, "sri": 2, "ssp": 2, "stack": 6, "standard": [4, 6], "start": [3, 6], "startup": 1, "state": 2, "stateprovinc": [2, 4], "static": 4, "stationari": [3, 4, 6], "stationarytyp": 4, "statu": [1, 4, 6], "steam": 6, "steel": 4, "step": [0, 3], "sterl": 2, "stn": 2, "storag": 4, "store": [0, 1, 3, 4, 6], "string": [0, 4], "structur": 5, "subsequ": 6, "subtyp": 2, "successfulli": 6, "sucr": 2, "sudanes": 2, "sum": 2, "summari": 3, "suppli": 3, "support": [1, 4], "surinam": 2, "sustain": 3, "svc": 2, "swedish": 2, "swiss": 2, "symbol": 2, "synchron": 2, "syp": 2, "syrian": 2, "system": 2, "szl": 2, "t": [2, 4, 6], "tabl": [3, 4], "taiwan": 2, "taka": 2, "tala": 2, "tanzanian": 2, "target": 6, "teng": 2, "than": 2, "thb": 2, "thei": [2, 4, 6], "them": 2, "thi": [0, 2, 4, 5, 6], "three": [0, 2, 6], "throw": 6, "thrown": 6, "time": [0, 2, 4, 6], "timestamp": 4, "tj": 2, "tmt": 2, "tnd": 2, "tobago": 2, "todat": 4, "togeth": [2, 6], "toisostr": 4, "token": [1, 3, 4], "tonn": 2, "top": 2, "total": 2, "totalco2": 2, "totaldebt": [2, 4], "totalequ": [2, 4], "trace": 6, "track": 3, "transactionid": 2, "transport": [2, 3, 4], "transportationanddistribut": 4, "travel": [2, 4], "treasuri": 2, "trigger": 4, "trim": 0, "trinidad": 2, "troubleshoot": 3, "true": [2, 4], "try": [1, 2], "ttd": 2, "tugrik": 2, "tunisian": 2, "turkish": 2, "turkmenistan": 2, "twd": 2, "two": 2, "type": [2, 6], "typerecommend": 4, "typerecommenderrespons": 4, "typerespons": 4, "typic": 2, "tz": 2, "u": 2, "uae": 2, "uah": 2, "udi": 2, "uganda": 2, "ugx": 2, "ui": 2, "uk": 2, "unauthor": 6, "unidad": 2, "unifi": [1, 4], "uniqu": 2, "unit": [2, 3, 4, 6], "unitrespons": 4, "unix": 4, "unless": 1, "unreach": 6, "until": 4, "uom": 4, "up": [2, 4, 6], "updat": [2, 4, 6], "updateauditconfig": 4, "url": [0, 2, 4], "uruguai": 2, "uruguayo": 2, "us": [0, 1, 3, 4, 6], "usa": [2, 4, 6], "usag": [1, 3, 5], "usagerespons": 4, "usd": [2, 4], "user": [0, 1, 2, 4, 6], "userdata": 4, "usn": 2, "util": [3, 4], "uyi": 2, "uyu": 2, "uyw": 2, "uz": 2, "uzbekistan": 2, "v": [0, 1], "valid": [0, 1, 2, 6], "valor": 2, "valu": [2, 4, 6], "variabl": [0, 1, 6], "vatu": 2, "ve": 2, "ved": 2, "vehicl": 3, "verd": 2, "verifi": [1, 6], "version": [2, 6], "vnd": 2, "void": 4, "vuv": 2, "wa": [2, 4, 6], "wai": 4, "warehous": 4, "wast": 4, "web": 4, "wecc": 4, "when": [0, 2, 4, 6], "where": [0, 2, 4], "whether": [3, 4], "which": [0, 2, 4], "while": 2, "wir": 2, "within": [4, 6], "without": [2, 4, 6], "won": 2, "work": 1, "wrong": 6, "wst": 2, "www": 2, "x": [0, 4], "xad": 2, "xaf": 2, "xcd": 2, "xcg": 2, "xdr": 2, "xof": 2, "xpf": 2, "xsu": 2, "xua": 2, "yarn": 2, "ye": 1, "year": 2, "yemeni": 2, "yen": 2, "yer": 2, "york": [2, 4], "you": [0, 2, 6], "your": [0, 1, 2, 3, 4, 6], "yuan": 2, "zambian": 2, "zar": 2, "zealand": 2, "zero": 2, "zimbabw": 2, "zip": 4, "zloti": 2, "zmw": 2, "zwg": 2}, "titles": ["Authentication", "Client", "Getting Started", "IBM Envizi - Emissions API Node.js SDK", "Reference", "SDK", "Troubleshooting Guide"], "titleterms": {"1": 6, "10": 6, "2": 6, "3": 6, "4": 6, "401": 6, "5": 6, "6": 6, "7": 6, "8": 6, "9": 6, "Not": 6, "access": [0, 2, 6], "activ": 2, "addit": 3, "api": [0, 2, 3, 4, 6], "applic": 6, "architectur": 0, "attribut": 2, "audit": 4, "auth": 6, "authent": [0, 1, 2, 6], "automat": 6, "basic": 2, "best": [0, 1], "call": 2, "capabl": 3, "checklist": 6, "client": [1, 6], "common": 6, "configur": [1, 6], "content": 3, "convers": 2, "credenti": 6, "currenc": 2, "custom": 6, "data": 2, "detail": 2, "diagram": 0, "econom": 2, "emiss": [2, 3], "empti": 6, "envizi": 3, "error": [1, 6], "estat": 2, "exampl": [2, 4], "exchang": 2, "expiri": 6, "export": 4, "field": 6, "financ": 2, "first": 2, "flow": 0, "gener": [0, 2], "get": 2, "getarea": 4, "gettyp": 4, "getunit": 4, "global": 4, "guid": 6, "handl": 1, "header": 0, "host": 6, "http": 6, "ibm": 3, "id": 6, "import": 2, "initi": [1, 6], "instal": 2, "instanc": 6, "integr": 1, "interfac": 4, "introduct": 3, "invalid": 6, "j": 3, "jwt": 2, "kei": [0, 2, 6], "lifetim": 0, "log": 4, "manag": 6, "metadata": 4, "method": 0, "miss": 6, "node": 3, "option": 1, "organ": 6, "overview": [0, 1, 2, 6], "paramet": 6, "pat": [0, 2, 6], "person": [0, 2, 6], "physic": 2, "practic": [0, 1], "pre": [0, 2], "prerequisit": 2, "provid": 6, "rate": 2, "real": 2, "recommend": [0, 4, 6], "refer": 4, "refresh": [0, 6], "requir": 6, "respons": [1, 2, 6], "retriev": 0, "scenario": 6, "sdk": [3, 5, 6], "secur": 0, "start": 2, "startup": 6, "step": 6, "structur": 2, "summari": [2, 6], "support": [2, 3, 6], "tabl": 6, "token": [0, 2, 6], "troubleshoot": 6, "type": [3, 4], "url": 6, "us": 2, "usag": 4}})