eiagov-typescript-fetch-client 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/.openapi-generator/FILES +73 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/apis/AEOApi.ts +415 -0
  5. package/apis/COALApi.ts +3645 -0
  6. package/apis/CRUDIMPORTSApi.ts +322 -0
  7. package/apis/DBFApi.ts +2260 -0
  8. package/apis/ELECApi.ts +1180 -0
  9. package/apis/EMISSApi.ts +640 -0
  10. package/apis/IEOApi.ts +415 -0
  11. package/apis/INTLApi.ts +322 -0
  12. package/apis/NGApi.ts +511 -0
  13. package/apis/NUCSTATUSApi.ts +910 -0
  14. package/apis/RTOApi.ts +2260 -0
  15. package/apis/RootApi.ts +66 -0
  16. package/apis/SEDSApi.ts +322 -0
  17. package/apis/SEPApi.ts +1990 -0
  18. package/apis/STEOApi.ts +322 -0
  19. package/apis/TOTALApi.ts +322 -0
  20. package/apis/index.ts +18 -0
  21. package/docs/AEOApi.md +456 -0
  22. package/docs/COALApi.md +4847 -0
  23. package/docs/CRUDIMPORTSApi.md +371 -0
  24. package/docs/DBFApi.md +2976 -0
  25. package/docs/DataParams.md +48 -0
  26. package/docs/DataResponse.md +42 -0
  27. package/docs/DataResponseContainer.md +38 -0
  28. package/docs/ELECApi.md +1524 -0
  29. package/docs/EMISSApi.md +798 -0
  30. package/docs/Facet.md +38 -0
  31. package/docs/FacetDetails.md +36 -0
  32. package/docs/FacetDetailsContainer.md +38 -0
  33. package/docs/FacetMetaData.md +36 -0
  34. package/docs/FacetOptionList.md +36 -0
  35. package/docs/FacetOptionListContainer.md +38 -0
  36. package/docs/FinalRoute.md +52 -0
  37. package/docs/FinalRouteResponse.md +36 -0
  38. package/docs/FinalRouteResponseContainer.md +38 -0
  39. package/docs/Frequency.md +40 -0
  40. package/docs/IEOApi.md +456 -0
  41. package/docs/INTLApi.md +371 -0
  42. package/docs/NGApi.md +541 -0
  43. package/docs/NUCSTATUSApi.md +1161 -0
  44. package/docs/RTOApi.md +2976 -0
  45. package/docs/RootApi.md +70 -0
  46. package/docs/RouteRequest.md +36 -0
  47. package/docs/RouteResponse.md +36 -0
  48. package/docs/RouteResponseContainer.md +38 -0
  49. package/docs/Routes.md +40 -0
  50. package/docs/SEDSApi.md +372 -0
  51. package/docs/SEPApi.md +2613 -0
  52. package/docs/STEOApi.md +371 -0
  53. package/docs/Sort.md +36 -0
  54. package/docs/TOTALApi.md +371 -0
  55. package/index.ts +5 -0
  56. package/models/DataParams.ts +129 -0
  57. package/models/DataResponse.ts +97 -0
  58. package/models/DataResponseContainer.ts +96 -0
  59. package/models/Facet.ts +81 -0
  60. package/models/FacetDetails.ts +81 -0
  61. package/models/FacetDetailsContainer.ts +96 -0
  62. package/models/FacetMetaData.ts +73 -0
  63. package/models/FacetOptionList.ts +73 -0
  64. package/models/FacetOptionListContainer.ts +96 -0
  65. package/models/FinalRoute.ts +152 -0
  66. package/models/FinalRouteResponse.ts +88 -0
  67. package/models/FinalRouteResponseContainer.ts +96 -0
  68. package/models/Frequency.ts +89 -0
  69. package/models/RouteRequest.ts +73 -0
  70. package/models/RouteResponse.ts +88 -0
  71. package/models/RouteResponseContainer.ts +96 -0
  72. package/models/Routes.ts +89 -0
  73. package/models/Sort.ts +73 -0
  74. package/models/index.ts +20 -0
  75. package/package.json +15 -0
  76. package/runtime.ts +449 -0
@@ -0,0 +1,1161 @@
1
+ # NUCSTATUSApi
2
+
3
+ All URIs are relative to *https://api.eia.gov*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**v2NuclearOutagesFacilityNuclearOutagesDataGet**](NUCSTATUSApi.md#v2nuclearoutagesfacilitynuclearoutagesdataget) | **GET** /v2/nuclear-outages/facility-nuclear-outages/data | |
8
+ | [**v2NuclearOutagesFacilityNuclearOutagesDataPost**](NUCSTATUSApi.md#v2nuclearoutagesfacilitynuclearoutagesdatapost) | **POST** /v2/nuclear-outages/facility-nuclear-outages/data | Return facility-nuclear-outages Data |
9
+ | [**v2NuclearOutagesFacilityNuclearOutagesFacetFacetIdGet**](NUCSTATUSApi.md#v2nuclearoutagesfacilitynuclearoutagesfacetfacetidget) | **GET** /v2/nuclear-outages/facility-nuclear-outages/facet/{facet_id} | |
10
+ | [**v2NuclearOutagesFacilityNuclearOutagesFacetGet**](NUCSTATUSApi.md#v2nuclearoutagesfacilitynuclearoutagesfacetget) | **GET** /v2/nuclear-outages/facility-nuclear-outages/facet | |
11
+ | [**v2NuclearOutagesFacilityNuclearOutagesGet**](NUCSTATUSApi.md#v2nuclearoutagesfacilitynuclearoutagesget) | **GET** /v2/nuclear-outages/facility-nuclear-outages | |
12
+ | [**v2NuclearOutagesGeneratorNuclearOutagesDataGet**](NUCSTATUSApi.md#v2nuclearoutagesgeneratornuclearoutagesdataget) | **GET** /v2/nuclear-outages/generator-nuclear-outages/data | |
13
+ | [**v2NuclearOutagesGeneratorNuclearOutagesDataPost**](NUCSTATUSApi.md#v2nuclearoutagesgeneratornuclearoutagesdatapost) | **POST** /v2/nuclear-outages/generator-nuclear-outages/data | Return generator-nuclear-outages Data |
14
+ | [**v2NuclearOutagesGeneratorNuclearOutagesFacetFacetIdGet**](NUCSTATUSApi.md#v2nuclearoutagesgeneratornuclearoutagesfacetfacetidget) | **GET** /v2/nuclear-outages/generator-nuclear-outages/facet/{facet_id} | |
15
+ | [**v2NuclearOutagesGeneratorNuclearOutagesFacetGet**](NUCSTATUSApi.md#v2nuclearoutagesgeneratornuclearoutagesfacetget) | **GET** /v2/nuclear-outages/generator-nuclear-outages/facet | |
16
+ | [**v2NuclearOutagesGeneratorNuclearOutagesGet**](NUCSTATUSApi.md#v2nuclearoutagesgeneratornuclearoutagesget) | **GET** /v2/nuclear-outages/generator-nuclear-outages | |
17
+ | [**v2NuclearOutagesGet**](NUCSTATUSApi.md#v2nuclearoutagesget) | **GET** /v2/nuclear-outages | Class NuclearOutagesController |
18
+ | [**v2NuclearOutagesUsNuclearOutagesDataGet**](NUCSTATUSApi.md#v2nuclearoutagesusnuclearoutagesdataget) | **GET** /v2/nuclear-outages/us-nuclear-outages/data | |
19
+ | [**v2NuclearOutagesUsNuclearOutagesDataPost**](NUCSTATUSApi.md#v2nuclearoutagesusnuclearoutagesdatapost) | **POST** /v2/nuclear-outages/us-nuclear-outages/data | Return us-nuclear-outages Data |
20
+ | [**v2NuclearOutagesUsNuclearOutagesFacetFacetIdGet**](NUCSTATUSApi.md#v2nuclearoutagesusnuclearoutagesfacetfacetidget) | **GET** /v2/nuclear-outages/us-nuclear-outages/facet/{facet_id} | |
21
+ | [**v2NuclearOutagesUsNuclearOutagesFacetGet**](NUCSTATUSApi.md#v2nuclearoutagesusnuclearoutagesfacetget) | **GET** /v2/nuclear-outages/us-nuclear-outages/facet | |
22
+ | [**v2NuclearOutagesUsNuclearOutagesGet**](NUCSTATUSApi.md#v2nuclearoutagesusnuclearoutagesget) | **GET** /v2/nuclear-outages/us-nuclear-outages | |
23
+
24
+
25
+
26
+ ## v2NuclearOutagesFacilityNuclearOutagesDataGet
27
+
28
+ > DataResponseContainer v2NuclearOutagesFacilityNuclearOutagesDataGet(data, facets, frequency, start, end, sort, length, offset)
29
+
30
+
31
+
32
+ API data with query params
33
+
34
+ ### Example
35
+
36
+ ```ts
37
+ import {
38
+ Configuration,
39
+ NUCSTATUSApi,
40
+ } from '';
41
+ import type { V2NuclearOutagesFacilityNuclearOutagesDataGetRequest } from '';
42
+
43
+ async function example() {
44
+ console.log("🚀 Testing SDK...");
45
+ const config = new Configuration({
46
+ // To configure API key authorization: api_key
47
+ apiKey: "YOUR API KEY",
48
+ });
49
+ const api = new NUCSTATUSApi(config);
50
+
51
+ const body = {
52
+ // Array<string> | Data columns to filter by (optional)
53
+ data: ...,
54
+ // object | Facets to filter by (optional)
55
+ facets: Object,
56
+ // string | Frequency to filter by (optional)
57
+ frequency: frequency_example,
58
+ // string | Start date to filter by (optional)
59
+ start: start_example,
60
+ // string | End date to filter by (optional)
61
+ end: end_example,
62
+ // Sort | How to sort returned data (optional)
63
+ sort: ...,
64
+ // number | Max length of returned data (optional)
65
+ length: 56,
66
+ // number | Offset of returned data (optional)
67
+ offset: 56,
68
+ } satisfies V2NuclearOutagesFacilityNuclearOutagesDataGetRequest;
69
+
70
+ try {
71
+ const data = await api.v2NuclearOutagesFacilityNuclearOutagesDataGet(body);
72
+ console.log(data);
73
+ } catch (error) {
74
+ console.error(error);
75
+ }
76
+ }
77
+
78
+ // Run the test
79
+ example().catch(console.error);
80
+ ```
81
+
82
+ ### Parameters
83
+
84
+
85
+ | Name | Type | Description | Notes |
86
+ |------------- | ------------- | ------------- | -------------|
87
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
88
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
89
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
90
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
91
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
92
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
93
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
94
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
95
+
96
+ ### Return type
97
+
98
+ [**DataResponseContainer**](DataResponseContainer.md)
99
+
100
+ ### Authorization
101
+
102
+ [api_key](../README.md#api_key)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: `application/json`
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ | **400** | Invalid input | - |
114
+ | **200** | API Data | - |
115
+
116
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
117
+
118
+
119
+ ## v2NuclearOutagesFacilityNuclearOutagesDataPost
120
+
121
+ > DataResponseContainer v2NuclearOutagesFacilityNuclearOutagesDataPost(dataParams)
122
+
123
+ Return facility-nuclear-outages Data
124
+
125
+ Class NuclearOutagesController Nuclear Outages data set top-level controller.
126
+
127
+ ### Example
128
+
129
+ ```ts
130
+ import {
131
+ Configuration,
132
+ NUCSTATUSApi,
133
+ } from '';
134
+ import type { V2NuclearOutagesFacilityNuclearOutagesDataPostRequest } from '';
135
+
136
+ async function example() {
137
+ console.log("🚀 Testing SDK...");
138
+ const config = new Configuration({
139
+ // To configure API key authorization: api_key
140
+ apiKey: "YOUR API KEY",
141
+ });
142
+ const api = new NUCSTATUSApi(config);
143
+
144
+ const body = {
145
+ // DataParams | Parameters for data call
146
+ dataParams: ...,
147
+ } satisfies V2NuclearOutagesFacilityNuclearOutagesDataPostRequest;
148
+
149
+ try {
150
+ const data = await api.v2NuclearOutagesFacilityNuclearOutagesDataPost(body);
151
+ console.log(data);
152
+ } catch (error) {
153
+ console.error(error);
154
+ }
155
+ }
156
+
157
+ // Run the test
158
+ example().catch(console.error);
159
+ ```
160
+
161
+ ### Parameters
162
+
163
+
164
+ | Name | Type | Description | Notes |
165
+ |------------- | ------------- | ------------- | -------------|
166
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
167
+
168
+ ### Return type
169
+
170
+ [**DataResponseContainer**](DataResponseContainer.md)
171
+
172
+ ### Authorization
173
+
174
+ [api_key](../README.md#api_key)
175
+
176
+ ### HTTP request headers
177
+
178
+ - **Content-Type**: `application/json`
179
+ - **Accept**: `application/json`
180
+
181
+
182
+ ### HTTP response details
183
+ | Status code | Description | Response headers |
184
+ |-------------|-------------|------------------|
185
+ | **400** | Invalid input | - |
186
+ | **200** | API Data | - |
187
+
188
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
189
+
190
+
191
+ ## v2NuclearOutagesFacilityNuclearOutagesFacetFacetIdGet
192
+
193
+ > FacetDetailsContainer v2NuclearOutagesFacilityNuclearOutagesFacetFacetIdGet(facetId)
194
+
195
+
196
+
197
+ ### Example
198
+
199
+ ```ts
200
+ import {
201
+ Configuration,
202
+ NUCSTATUSApi,
203
+ } from '';
204
+ import type { V2NuclearOutagesFacilityNuclearOutagesFacetFacetIdGetRequest } from '';
205
+
206
+ async function example() {
207
+ console.log("🚀 Testing SDK...");
208
+ const config = new Configuration({
209
+ // To configure API key authorization: api_key
210
+ apiKey: "YOUR API KEY",
211
+ });
212
+ const api = new NUCSTATUSApi(config);
213
+
214
+ const body = {
215
+ // string | Facet ID
216
+ facetId: facetId_example,
217
+ } satisfies V2NuclearOutagesFacilityNuclearOutagesFacetFacetIdGetRequest;
218
+
219
+ try {
220
+ const data = await api.v2NuclearOutagesFacilityNuclearOutagesFacetFacetIdGet(body);
221
+ console.log(data);
222
+ } catch (error) {
223
+ console.error(error);
224
+ }
225
+ }
226
+
227
+ // Run the test
228
+ example().catch(console.error);
229
+ ```
230
+
231
+ ### Parameters
232
+
233
+
234
+ | Name | Type | Description | Notes |
235
+ |------------- | ------------- | ------------- | -------------|
236
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
237
+
238
+ ### Return type
239
+
240
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
241
+
242
+ ### Authorization
243
+
244
+ [api_key](../README.md#api_key)
245
+
246
+ ### HTTP request headers
247
+
248
+ - **Content-Type**: Not defined
249
+ - **Accept**: `application/json`
250
+
251
+
252
+ ### HTTP response details
253
+ | Status code | Description | Response headers |
254
+ |-------------|-------------|------------------|
255
+ | **400** | Invalid input | - |
256
+ | **200** | Facet details | - |
257
+
258
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
259
+
260
+
261
+ ## v2NuclearOutagesFacilityNuclearOutagesFacetGet
262
+
263
+ > FacetOptionListContainer v2NuclearOutagesFacilityNuclearOutagesFacetGet()
264
+
265
+
266
+
267
+ ### Example
268
+
269
+ ```ts
270
+ import {
271
+ Configuration,
272
+ NUCSTATUSApi,
273
+ } from '';
274
+ import type { V2NuclearOutagesFacilityNuclearOutagesFacetGetRequest } from '';
275
+
276
+ async function example() {
277
+ console.log("🚀 Testing SDK...");
278
+ const config = new Configuration({
279
+ // To configure API key authorization: api_key
280
+ apiKey: "YOUR API KEY",
281
+ });
282
+ const api = new NUCSTATUSApi(config);
283
+
284
+ try {
285
+ const data = await api.v2NuclearOutagesFacilityNuclearOutagesFacetGet();
286
+ console.log(data);
287
+ } catch (error) {
288
+ console.error(error);
289
+ }
290
+ }
291
+
292
+ // Run the test
293
+ example().catch(console.error);
294
+ ```
295
+
296
+ ### Parameters
297
+
298
+ This endpoint does not need any parameter.
299
+
300
+ ### Return type
301
+
302
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
303
+
304
+ ### Authorization
305
+
306
+ [api_key](../README.md#api_key)
307
+
308
+ ### HTTP request headers
309
+
310
+ - **Content-Type**: Not defined
311
+ - **Accept**: `application/json`
312
+
313
+
314
+ ### HTTP response details
315
+ | Status code | Description | Response headers |
316
+ |-------------|-------------|------------------|
317
+ | **400** | Invalid input | - |
318
+ | **200** | List of facet options | - |
319
+
320
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
321
+
322
+
323
+ ## v2NuclearOutagesFacilityNuclearOutagesGet
324
+
325
+ > FinalRouteResponseContainer v2NuclearOutagesFacilityNuclearOutagesGet()
326
+
327
+
328
+
329
+ ### Example
330
+
331
+ ```ts
332
+ import {
333
+ Configuration,
334
+ NUCSTATUSApi,
335
+ } from '';
336
+ import type { V2NuclearOutagesFacilityNuclearOutagesGetRequest } from '';
337
+
338
+ async function example() {
339
+ console.log("🚀 Testing SDK...");
340
+ const config = new Configuration({
341
+ // To configure API key authorization: api_key
342
+ apiKey: "YOUR API KEY",
343
+ });
344
+ const api = new NUCSTATUSApi(config);
345
+
346
+ try {
347
+ const data = await api.v2NuclearOutagesFacilityNuclearOutagesGet();
348
+ console.log(data);
349
+ } catch (error) {
350
+ console.error(error);
351
+ }
352
+ }
353
+
354
+ // Run the test
355
+ example().catch(console.error);
356
+ ```
357
+
358
+ ### Parameters
359
+
360
+ This endpoint does not need any parameter.
361
+
362
+ ### Return type
363
+
364
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
365
+
366
+ ### Authorization
367
+
368
+ [api_key](../README.md#api_key)
369
+
370
+ ### HTTP request headers
371
+
372
+ - **Content-Type**: Not defined
373
+ - **Accept**: `application/json`
374
+
375
+
376
+ ### HTTP response details
377
+ | Status code | Description | Response headers |
378
+ |-------------|-------------|------------------|
379
+ | **200** | List of API data sets | - |
380
+
381
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
382
+
383
+
384
+ ## v2NuclearOutagesGeneratorNuclearOutagesDataGet
385
+
386
+ > DataResponseContainer v2NuclearOutagesGeneratorNuclearOutagesDataGet(data, facets, frequency, start, end, sort, length, offset)
387
+
388
+
389
+
390
+ API data with query params
391
+
392
+ ### Example
393
+
394
+ ```ts
395
+ import {
396
+ Configuration,
397
+ NUCSTATUSApi,
398
+ } from '';
399
+ import type { V2NuclearOutagesGeneratorNuclearOutagesDataGetRequest } from '';
400
+
401
+ async function example() {
402
+ console.log("🚀 Testing SDK...");
403
+ const config = new Configuration({
404
+ // To configure API key authorization: api_key
405
+ apiKey: "YOUR API KEY",
406
+ });
407
+ const api = new NUCSTATUSApi(config);
408
+
409
+ const body = {
410
+ // Array<string> | Data columns to filter by (optional)
411
+ data: ...,
412
+ // object | Facets to filter by (optional)
413
+ facets: Object,
414
+ // string | Frequency to filter by (optional)
415
+ frequency: frequency_example,
416
+ // string | Start date to filter by (optional)
417
+ start: start_example,
418
+ // string | End date to filter by (optional)
419
+ end: end_example,
420
+ // Sort | How to sort returned data (optional)
421
+ sort: ...,
422
+ // number | Max length of returned data (optional)
423
+ length: 56,
424
+ // number | Offset of returned data (optional)
425
+ offset: 56,
426
+ } satisfies V2NuclearOutagesGeneratorNuclearOutagesDataGetRequest;
427
+
428
+ try {
429
+ const data = await api.v2NuclearOutagesGeneratorNuclearOutagesDataGet(body);
430
+ console.log(data);
431
+ } catch (error) {
432
+ console.error(error);
433
+ }
434
+ }
435
+
436
+ // Run the test
437
+ example().catch(console.error);
438
+ ```
439
+
440
+ ### Parameters
441
+
442
+
443
+ | Name | Type | Description | Notes |
444
+ |------------- | ------------- | ------------- | -------------|
445
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
446
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
447
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
448
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
449
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
450
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
451
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
452
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
453
+
454
+ ### Return type
455
+
456
+ [**DataResponseContainer**](DataResponseContainer.md)
457
+
458
+ ### Authorization
459
+
460
+ [api_key](../README.md#api_key)
461
+
462
+ ### HTTP request headers
463
+
464
+ - **Content-Type**: Not defined
465
+ - **Accept**: `application/json`
466
+
467
+
468
+ ### HTTP response details
469
+ | Status code | Description | Response headers |
470
+ |-------------|-------------|------------------|
471
+ | **400** | Invalid input | - |
472
+ | **200** | API Data | - |
473
+
474
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
475
+
476
+
477
+ ## v2NuclearOutagesGeneratorNuclearOutagesDataPost
478
+
479
+ > DataResponseContainer v2NuclearOutagesGeneratorNuclearOutagesDataPost(dataParams)
480
+
481
+ Return generator-nuclear-outages Data
482
+
483
+ Class NuclearOutagesController Nuclear Outages data set top-level controller.
484
+
485
+ ### Example
486
+
487
+ ```ts
488
+ import {
489
+ Configuration,
490
+ NUCSTATUSApi,
491
+ } from '';
492
+ import type { V2NuclearOutagesGeneratorNuclearOutagesDataPostRequest } from '';
493
+
494
+ async function example() {
495
+ console.log("🚀 Testing SDK...");
496
+ const config = new Configuration({
497
+ // To configure API key authorization: api_key
498
+ apiKey: "YOUR API KEY",
499
+ });
500
+ const api = new NUCSTATUSApi(config);
501
+
502
+ const body = {
503
+ // DataParams | Parameters for data call
504
+ dataParams: ...,
505
+ } satisfies V2NuclearOutagesGeneratorNuclearOutagesDataPostRequest;
506
+
507
+ try {
508
+ const data = await api.v2NuclearOutagesGeneratorNuclearOutagesDataPost(body);
509
+ console.log(data);
510
+ } catch (error) {
511
+ console.error(error);
512
+ }
513
+ }
514
+
515
+ // Run the test
516
+ example().catch(console.error);
517
+ ```
518
+
519
+ ### Parameters
520
+
521
+
522
+ | Name | Type | Description | Notes |
523
+ |------------- | ------------- | ------------- | -------------|
524
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
525
+
526
+ ### Return type
527
+
528
+ [**DataResponseContainer**](DataResponseContainer.md)
529
+
530
+ ### Authorization
531
+
532
+ [api_key](../README.md#api_key)
533
+
534
+ ### HTTP request headers
535
+
536
+ - **Content-Type**: `application/json`
537
+ - **Accept**: `application/json`
538
+
539
+
540
+ ### HTTP response details
541
+ | Status code | Description | Response headers |
542
+ |-------------|-------------|------------------|
543
+ | **400** | Invalid input | - |
544
+ | **200** | API Data | - |
545
+
546
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
547
+
548
+
549
+ ## v2NuclearOutagesGeneratorNuclearOutagesFacetFacetIdGet
550
+
551
+ > FacetDetailsContainer v2NuclearOutagesGeneratorNuclearOutagesFacetFacetIdGet(facetId)
552
+
553
+
554
+
555
+ ### Example
556
+
557
+ ```ts
558
+ import {
559
+ Configuration,
560
+ NUCSTATUSApi,
561
+ } from '';
562
+ import type { V2NuclearOutagesGeneratorNuclearOutagesFacetFacetIdGetRequest } from '';
563
+
564
+ async function example() {
565
+ console.log("🚀 Testing SDK...");
566
+ const config = new Configuration({
567
+ // To configure API key authorization: api_key
568
+ apiKey: "YOUR API KEY",
569
+ });
570
+ const api = new NUCSTATUSApi(config);
571
+
572
+ const body = {
573
+ // string | Facet ID
574
+ facetId: facetId_example,
575
+ } satisfies V2NuclearOutagesGeneratorNuclearOutagesFacetFacetIdGetRequest;
576
+
577
+ try {
578
+ const data = await api.v2NuclearOutagesGeneratorNuclearOutagesFacetFacetIdGet(body);
579
+ console.log(data);
580
+ } catch (error) {
581
+ console.error(error);
582
+ }
583
+ }
584
+
585
+ // Run the test
586
+ example().catch(console.error);
587
+ ```
588
+
589
+ ### Parameters
590
+
591
+
592
+ | Name | Type | Description | Notes |
593
+ |------------- | ------------- | ------------- | -------------|
594
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
595
+
596
+ ### Return type
597
+
598
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
599
+
600
+ ### Authorization
601
+
602
+ [api_key](../README.md#api_key)
603
+
604
+ ### HTTP request headers
605
+
606
+ - **Content-Type**: Not defined
607
+ - **Accept**: `application/json`
608
+
609
+
610
+ ### HTTP response details
611
+ | Status code | Description | Response headers |
612
+ |-------------|-------------|------------------|
613
+ | **400** | Invalid input | - |
614
+ | **200** | Facet details | - |
615
+
616
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
617
+
618
+
619
+ ## v2NuclearOutagesGeneratorNuclearOutagesFacetGet
620
+
621
+ > FacetOptionListContainer v2NuclearOutagesGeneratorNuclearOutagesFacetGet()
622
+
623
+
624
+
625
+ ### Example
626
+
627
+ ```ts
628
+ import {
629
+ Configuration,
630
+ NUCSTATUSApi,
631
+ } from '';
632
+ import type { V2NuclearOutagesGeneratorNuclearOutagesFacetGetRequest } from '';
633
+
634
+ async function example() {
635
+ console.log("🚀 Testing SDK...");
636
+ const config = new Configuration({
637
+ // To configure API key authorization: api_key
638
+ apiKey: "YOUR API KEY",
639
+ });
640
+ const api = new NUCSTATUSApi(config);
641
+
642
+ try {
643
+ const data = await api.v2NuclearOutagesGeneratorNuclearOutagesFacetGet();
644
+ console.log(data);
645
+ } catch (error) {
646
+ console.error(error);
647
+ }
648
+ }
649
+
650
+ // Run the test
651
+ example().catch(console.error);
652
+ ```
653
+
654
+ ### Parameters
655
+
656
+ This endpoint does not need any parameter.
657
+
658
+ ### Return type
659
+
660
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
661
+
662
+ ### Authorization
663
+
664
+ [api_key](../README.md#api_key)
665
+
666
+ ### HTTP request headers
667
+
668
+ - **Content-Type**: Not defined
669
+ - **Accept**: `application/json`
670
+
671
+
672
+ ### HTTP response details
673
+ | Status code | Description | Response headers |
674
+ |-------------|-------------|------------------|
675
+ | **400** | Invalid input | - |
676
+ | **200** | List of facet options | - |
677
+
678
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
679
+
680
+
681
+ ## v2NuclearOutagesGeneratorNuclearOutagesGet
682
+
683
+ > FinalRouteResponseContainer v2NuclearOutagesGeneratorNuclearOutagesGet()
684
+
685
+
686
+
687
+ ### Example
688
+
689
+ ```ts
690
+ import {
691
+ Configuration,
692
+ NUCSTATUSApi,
693
+ } from '';
694
+ import type { V2NuclearOutagesGeneratorNuclearOutagesGetRequest } from '';
695
+
696
+ async function example() {
697
+ console.log("🚀 Testing SDK...");
698
+ const config = new Configuration({
699
+ // To configure API key authorization: api_key
700
+ apiKey: "YOUR API KEY",
701
+ });
702
+ const api = new NUCSTATUSApi(config);
703
+
704
+ try {
705
+ const data = await api.v2NuclearOutagesGeneratorNuclearOutagesGet();
706
+ console.log(data);
707
+ } catch (error) {
708
+ console.error(error);
709
+ }
710
+ }
711
+
712
+ // Run the test
713
+ example().catch(console.error);
714
+ ```
715
+
716
+ ### Parameters
717
+
718
+ This endpoint does not need any parameter.
719
+
720
+ ### Return type
721
+
722
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
723
+
724
+ ### Authorization
725
+
726
+ [api_key](../README.md#api_key)
727
+
728
+ ### HTTP request headers
729
+
730
+ - **Content-Type**: Not defined
731
+ - **Accept**: `application/json`
732
+
733
+
734
+ ### HTTP response details
735
+ | Status code | Description | Response headers |
736
+ |-------------|-------------|------------------|
737
+ | **200** | List of API data sets | - |
738
+
739
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
740
+
741
+
742
+ ## v2NuclearOutagesGet
743
+
744
+ > RouteResponseContainer v2NuclearOutagesGet()
745
+
746
+ Class NuclearOutagesController
747
+
748
+ Nuclear Outages data set top-level controller.
749
+
750
+ ### Example
751
+
752
+ ```ts
753
+ import {
754
+ Configuration,
755
+ NUCSTATUSApi,
756
+ } from '';
757
+ import type { V2NuclearOutagesGetRequest } from '';
758
+
759
+ async function example() {
760
+ console.log("🚀 Testing SDK...");
761
+ const config = new Configuration({
762
+ // To configure API key authorization: api_key
763
+ apiKey: "YOUR API KEY",
764
+ });
765
+ const api = new NUCSTATUSApi(config);
766
+
767
+ try {
768
+ const data = await api.v2NuclearOutagesGet();
769
+ console.log(data);
770
+ } catch (error) {
771
+ console.error(error);
772
+ }
773
+ }
774
+
775
+ // Run the test
776
+ example().catch(console.error);
777
+ ```
778
+
779
+ ### Parameters
780
+
781
+ This endpoint does not need any parameter.
782
+
783
+ ### Return type
784
+
785
+ [**RouteResponseContainer**](RouteResponseContainer.md)
786
+
787
+ ### Authorization
788
+
789
+ [api_key](../README.md#api_key)
790
+
791
+ ### HTTP request headers
792
+
793
+ - **Content-Type**: Not defined
794
+ - **Accept**: `application/json`
795
+
796
+
797
+ ### HTTP response details
798
+ | Status code | Description | Response headers |
799
+ |-------------|-------------|------------------|
800
+ | **200** | List of API data sets | - |
801
+
802
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
803
+
804
+
805
+ ## v2NuclearOutagesUsNuclearOutagesDataGet
806
+
807
+ > DataResponseContainer v2NuclearOutagesUsNuclearOutagesDataGet(data, facets, frequency, start, end, sort, length, offset)
808
+
809
+
810
+
811
+ API data with query params
812
+
813
+ ### Example
814
+
815
+ ```ts
816
+ import {
817
+ Configuration,
818
+ NUCSTATUSApi,
819
+ } from '';
820
+ import type { V2NuclearOutagesUsNuclearOutagesDataGetRequest } from '';
821
+
822
+ async function example() {
823
+ console.log("🚀 Testing SDK...");
824
+ const config = new Configuration({
825
+ // To configure API key authorization: api_key
826
+ apiKey: "YOUR API KEY",
827
+ });
828
+ const api = new NUCSTATUSApi(config);
829
+
830
+ const body = {
831
+ // Array<string> | Data columns to filter by (optional)
832
+ data: ...,
833
+ // object | Facets to filter by (optional)
834
+ facets: Object,
835
+ // string | Frequency to filter by (optional)
836
+ frequency: frequency_example,
837
+ // string | Start date to filter by (optional)
838
+ start: start_example,
839
+ // string | End date to filter by (optional)
840
+ end: end_example,
841
+ // Sort | How to sort returned data (optional)
842
+ sort: ...,
843
+ // number | Max length of returned data (optional)
844
+ length: 56,
845
+ // number | Offset of returned data (optional)
846
+ offset: 56,
847
+ } satisfies V2NuclearOutagesUsNuclearOutagesDataGetRequest;
848
+
849
+ try {
850
+ const data = await api.v2NuclearOutagesUsNuclearOutagesDataGet(body);
851
+ console.log(data);
852
+ } catch (error) {
853
+ console.error(error);
854
+ }
855
+ }
856
+
857
+ // Run the test
858
+ example().catch(console.error);
859
+ ```
860
+
861
+ ### Parameters
862
+
863
+
864
+ | Name | Type | Description | Notes |
865
+ |------------- | ------------- | ------------- | -------------|
866
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
867
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
868
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
869
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
870
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
871
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
872
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
873
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
874
+
875
+ ### Return type
876
+
877
+ [**DataResponseContainer**](DataResponseContainer.md)
878
+
879
+ ### Authorization
880
+
881
+ [api_key](../README.md#api_key)
882
+
883
+ ### HTTP request headers
884
+
885
+ - **Content-Type**: Not defined
886
+ - **Accept**: `application/json`
887
+
888
+
889
+ ### HTTP response details
890
+ | Status code | Description | Response headers |
891
+ |-------------|-------------|------------------|
892
+ | **400** | Invalid input | - |
893
+ | **200** | API Data | - |
894
+
895
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
896
+
897
+
898
+ ## v2NuclearOutagesUsNuclearOutagesDataPost
899
+
900
+ > DataResponseContainer v2NuclearOutagesUsNuclearOutagesDataPost(dataParams)
901
+
902
+ Return us-nuclear-outages Data
903
+
904
+ Class NuclearOutagesController Nuclear Outages data set top-level controller.
905
+
906
+ ### Example
907
+
908
+ ```ts
909
+ import {
910
+ Configuration,
911
+ NUCSTATUSApi,
912
+ } from '';
913
+ import type { V2NuclearOutagesUsNuclearOutagesDataPostRequest } from '';
914
+
915
+ async function example() {
916
+ console.log("🚀 Testing SDK...");
917
+ const config = new Configuration({
918
+ // To configure API key authorization: api_key
919
+ apiKey: "YOUR API KEY",
920
+ });
921
+ const api = new NUCSTATUSApi(config);
922
+
923
+ const body = {
924
+ // DataParams | Parameters for data call
925
+ dataParams: ...,
926
+ } satisfies V2NuclearOutagesUsNuclearOutagesDataPostRequest;
927
+
928
+ try {
929
+ const data = await api.v2NuclearOutagesUsNuclearOutagesDataPost(body);
930
+ console.log(data);
931
+ } catch (error) {
932
+ console.error(error);
933
+ }
934
+ }
935
+
936
+ // Run the test
937
+ example().catch(console.error);
938
+ ```
939
+
940
+ ### Parameters
941
+
942
+
943
+ | Name | Type | Description | Notes |
944
+ |------------- | ------------- | ------------- | -------------|
945
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
946
+
947
+ ### Return type
948
+
949
+ [**DataResponseContainer**](DataResponseContainer.md)
950
+
951
+ ### Authorization
952
+
953
+ [api_key](../README.md#api_key)
954
+
955
+ ### HTTP request headers
956
+
957
+ - **Content-Type**: `application/json`
958
+ - **Accept**: `application/json`
959
+
960
+
961
+ ### HTTP response details
962
+ | Status code | Description | Response headers |
963
+ |-------------|-------------|------------------|
964
+ | **400** | Invalid input | - |
965
+ | **200** | API Data | - |
966
+
967
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
968
+
969
+
970
+ ## v2NuclearOutagesUsNuclearOutagesFacetFacetIdGet
971
+
972
+ > FacetDetailsContainer v2NuclearOutagesUsNuclearOutagesFacetFacetIdGet(facetId)
973
+
974
+
975
+
976
+ ### Example
977
+
978
+ ```ts
979
+ import {
980
+ Configuration,
981
+ NUCSTATUSApi,
982
+ } from '';
983
+ import type { V2NuclearOutagesUsNuclearOutagesFacetFacetIdGetRequest } from '';
984
+
985
+ async function example() {
986
+ console.log("🚀 Testing SDK...");
987
+ const config = new Configuration({
988
+ // To configure API key authorization: api_key
989
+ apiKey: "YOUR API KEY",
990
+ });
991
+ const api = new NUCSTATUSApi(config);
992
+
993
+ const body = {
994
+ // string | Facet ID
995
+ facetId: facetId_example,
996
+ } satisfies V2NuclearOutagesUsNuclearOutagesFacetFacetIdGetRequest;
997
+
998
+ try {
999
+ const data = await api.v2NuclearOutagesUsNuclearOutagesFacetFacetIdGet(body);
1000
+ console.log(data);
1001
+ } catch (error) {
1002
+ console.error(error);
1003
+ }
1004
+ }
1005
+
1006
+ // Run the test
1007
+ example().catch(console.error);
1008
+ ```
1009
+
1010
+ ### Parameters
1011
+
1012
+
1013
+ | Name | Type | Description | Notes |
1014
+ |------------- | ------------- | ------------- | -------------|
1015
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
1016
+
1017
+ ### Return type
1018
+
1019
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
1020
+
1021
+ ### Authorization
1022
+
1023
+ [api_key](../README.md#api_key)
1024
+
1025
+ ### HTTP request headers
1026
+
1027
+ - **Content-Type**: Not defined
1028
+ - **Accept**: `application/json`
1029
+
1030
+
1031
+ ### HTTP response details
1032
+ | Status code | Description | Response headers |
1033
+ |-------------|-------------|------------------|
1034
+ | **400** | Invalid input | - |
1035
+ | **200** | Facet details | - |
1036
+
1037
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1038
+
1039
+
1040
+ ## v2NuclearOutagesUsNuclearOutagesFacetGet
1041
+
1042
+ > FacetOptionListContainer v2NuclearOutagesUsNuclearOutagesFacetGet()
1043
+
1044
+
1045
+
1046
+ ### Example
1047
+
1048
+ ```ts
1049
+ import {
1050
+ Configuration,
1051
+ NUCSTATUSApi,
1052
+ } from '';
1053
+ import type { V2NuclearOutagesUsNuclearOutagesFacetGetRequest } from '';
1054
+
1055
+ async function example() {
1056
+ console.log("🚀 Testing SDK...");
1057
+ const config = new Configuration({
1058
+ // To configure API key authorization: api_key
1059
+ apiKey: "YOUR API KEY",
1060
+ });
1061
+ const api = new NUCSTATUSApi(config);
1062
+
1063
+ try {
1064
+ const data = await api.v2NuclearOutagesUsNuclearOutagesFacetGet();
1065
+ console.log(data);
1066
+ } catch (error) {
1067
+ console.error(error);
1068
+ }
1069
+ }
1070
+
1071
+ // Run the test
1072
+ example().catch(console.error);
1073
+ ```
1074
+
1075
+ ### Parameters
1076
+
1077
+ This endpoint does not need any parameter.
1078
+
1079
+ ### Return type
1080
+
1081
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
1082
+
1083
+ ### Authorization
1084
+
1085
+ [api_key](../README.md#api_key)
1086
+
1087
+ ### HTTP request headers
1088
+
1089
+ - **Content-Type**: Not defined
1090
+ - **Accept**: `application/json`
1091
+
1092
+
1093
+ ### HTTP response details
1094
+ | Status code | Description | Response headers |
1095
+ |-------------|-------------|------------------|
1096
+ | **400** | Invalid input | - |
1097
+ | **200** | List of facet options | - |
1098
+
1099
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1100
+
1101
+
1102
+ ## v2NuclearOutagesUsNuclearOutagesGet
1103
+
1104
+ > FinalRouteResponseContainer v2NuclearOutagesUsNuclearOutagesGet()
1105
+
1106
+
1107
+
1108
+ ### Example
1109
+
1110
+ ```ts
1111
+ import {
1112
+ Configuration,
1113
+ NUCSTATUSApi,
1114
+ } from '';
1115
+ import type { V2NuclearOutagesUsNuclearOutagesGetRequest } from '';
1116
+
1117
+ async function example() {
1118
+ console.log("🚀 Testing SDK...");
1119
+ const config = new Configuration({
1120
+ // To configure API key authorization: api_key
1121
+ apiKey: "YOUR API KEY",
1122
+ });
1123
+ const api = new NUCSTATUSApi(config);
1124
+
1125
+ try {
1126
+ const data = await api.v2NuclearOutagesUsNuclearOutagesGet();
1127
+ console.log(data);
1128
+ } catch (error) {
1129
+ console.error(error);
1130
+ }
1131
+ }
1132
+
1133
+ // Run the test
1134
+ example().catch(console.error);
1135
+ ```
1136
+
1137
+ ### Parameters
1138
+
1139
+ This endpoint does not need any parameter.
1140
+
1141
+ ### Return type
1142
+
1143
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
1144
+
1145
+ ### Authorization
1146
+
1147
+ [api_key](../README.md#api_key)
1148
+
1149
+ ### HTTP request headers
1150
+
1151
+ - **Content-Type**: Not defined
1152
+ - **Accept**: `application/json`
1153
+
1154
+
1155
+ ### HTTP response details
1156
+ | Status code | Description | Response headers |
1157
+ |-------------|-------------|------------------|
1158
+ | **200** | List of API data sets | - |
1159
+
1160
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1161
+