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,4847 @@
1
+ # COALApi
2
+
3
+ All URIs are relative to *https://api.eia.gov*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**v2CoalAggregateProductionDataGet**](COALApi.md#v2coalaggregateproductiondataget) | **GET** /v2/coal/aggregate-production/data | |
8
+ | [**v2CoalAggregateProductionDataPost**](COALApi.md#v2coalaggregateproductiondatapost) | **POST** /v2/coal/aggregate-production/data | Return aggregate-production Data |
9
+ | [**v2CoalAggregateProductionFacetFacetIdGet**](COALApi.md#v2coalaggregateproductionfacetfacetidget) | **GET** /v2/coal/aggregate-production/facet/{facet_id} | |
10
+ | [**v2CoalAggregateProductionFacetGet**](COALApi.md#v2coalaggregateproductionfacetget) | **GET** /v2/coal/aggregate-production/facet | |
11
+ | [**v2CoalAggregateProductionGet**](COALApi.md#v2coalaggregateproductionget) | **GET** /v2/coal/aggregate-production | |
12
+ | [**v2CoalConsumptionAndQualityDataGet**](COALApi.md#v2coalconsumptionandqualitydataget) | **GET** /v2/coal/consumption-and-quality/data | |
13
+ | [**v2CoalConsumptionAndQualityDataPost**](COALApi.md#v2coalconsumptionandqualitydatapost) | **POST** /v2/coal/consumption-and-quality/data | Return consumption-and-quality Data |
14
+ | [**v2CoalConsumptionAndQualityFacetFacetIdGet**](COALApi.md#v2coalconsumptionandqualityfacetfacetidget) | **GET** /v2/coal/consumption-and-quality/facet/{facet_id} | |
15
+ | [**v2CoalConsumptionAndQualityFacetGet**](COALApi.md#v2coalconsumptionandqualityfacetget) | **GET** /v2/coal/consumption-and-quality/facet | |
16
+ | [**v2CoalConsumptionAndQualityGet**](COALApi.md#v2coalconsumptionandqualityget) | **GET** /v2/coal/consumption-and-quality | |
17
+ | [**v2CoalExportsImportsQuantityPriceDataGet**](COALApi.md#v2coalexportsimportsquantitypricedataget) | **GET** /v2/coal/exports-imports-quantity-price/data | |
18
+ | [**v2CoalExportsImportsQuantityPriceDataPost**](COALApi.md#v2coalexportsimportsquantitypricedatapost) | **POST** /v2/coal/exports-imports-quantity-price/data | Return exports-imports-quantity-price Data |
19
+ | [**v2CoalExportsImportsQuantityPriceFacetFacetIdGet**](COALApi.md#v2coalexportsimportsquantitypricefacetfacetidget) | **GET** /v2/coal/exports-imports-quantity-price/facet/{facet_id} | |
20
+ | [**v2CoalExportsImportsQuantityPriceFacetGet**](COALApi.md#v2coalexportsimportsquantitypricefacetget) | **GET** /v2/coal/exports-imports-quantity-price/facet | |
21
+ | [**v2CoalExportsImportsQuantityPriceGet**](COALApi.md#v2coalexportsimportsquantitypriceget) | **GET** /v2/coal/exports-imports-quantity-price | |
22
+ | [**v2CoalGet**](COALApi.md#v2coalget) | **GET** /v2/coal | Class CoalController |
23
+ | [**v2CoalMarketSalesPriceDataGet**](COALApi.md#v2coalmarketsalespricedataget) | **GET** /v2/coal/market-sales-price/data | |
24
+ | [**v2CoalMarketSalesPriceDataPost**](COALApi.md#v2coalmarketsalespricedatapost) | **POST** /v2/coal/market-sales-price/data | Return market-sales-price Data |
25
+ | [**v2CoalMarketSalesPriceFacetFacetIdGet**](COALApi.md#v2coalmarketsalespricefacetfacetidget) | **GET** /v2/coal/market-sales-price/facet/{facet_id} | |
26
+ | [**v2CoalMarketSalesPriceFacetGet**](COALApi.md#v2coalmarketsalespricefacetget) | **GET** /v2/coal/market-sales-price/facet | |
27
+ | [**v2CoalMarketSalesPriceGet**](COALApi.md#v2coalmarketsalespriceget) | **GET** /v2/coal/market-sales-price | |
28
+ | [**v2CoalMineProductionDataGet**](COALApi.md#v2coalmineproductiondataget) | **GET** /v2/coal/mine-production/data | |
29
+ | [**v2CoalMineProductionDataPost**](COALApi.md#v2coalmineproductiondatapost) | **POST** /v2/coal/mine-production/data | Return mine-production Data |
30
+ | [**v2CoalMineProductionFacetFacetIdGet**](COALApi.md#v2coalmineproductionfacetfacetidget) | **GET** /v2/coal/mine-production/facet/{facet_id} | |
31
+ | [**v2CoalMineProductionFacetGet**](COALApi.md#v2coalmineproductionfacetget) | **GET** /v2/coal/mine-production/facet | |
32
+ | [**v2CoalMineProductionGet**](COALApi.md#v2coalmineproductionget) | **GET** /v2/coal/mine-production | |
33
+ | [**v2CoalPriceByRankDataGet**](COALApi.md#v2coalpricebyrankdataget) | **GET** /v2/coal/price-by-rank/data | |
34
+ | [**v2CoalPriceByRankDataPost**](COALApi.md#v2coalpricebyrankdatapost) | **POST** /v2/coal/price-by-rank/data | Return price-by-rank Data |
35
+ | [**v2CoalPriceByRankFacetFacetIdGet**](COALApi.md#v2coalpricebyrankfacetfacetidget) | **GET** /v2/coal/price-by-rank/facet/{facet_id} | |
36
+ | [**v2CoalPriceByRankFacetGet**](COALApi.md#v2coalpricebyrankfacetget) | **GET** /v2/coal/price-by-rank/facet | |
37
+ | [**v2CoalPriceByRankGet**](COALApi.md#v2coalpricebyrankget) | **GET** /v2/coal/price-by-rank | |
38
+ | [**v2CoalReservesCapacityDataGet**](COALApi.md#v2coalreservescapacitydataget) | **GET** /v2/coal/reserves-capacity/data | |
39
+ | [**v2CoalReservesCapacityDataPost**](COALApi.md#v2coalreservescapacitydatapost) | **POST** /v2/coal/reserves-capacity/data | Return reserves-capacity data |
40
+ | [**v2CoalReservesCapacityFacetFacetIdGet**](COALApi.md#v2coalreservescapacityfacetfacetidget) | **GET** /v2/coal/reserves-capacity/facet/{facet_id} | |
41
+ | [**v2CoalReservesCapacityFacetGet**](COALApi.md#v2coalreservescapacityfacetget) | **GET** /v2/coal/reserves-capacity/facet | |
42
+ | [**v2CoalReservesCapacityGet**](COALApi.md#v2coalreservescapacityget) | **GET** /v2/coal/reserves-capacity | |
43
+ | [**v2CoalShipmentsByMineByPlantDataGet**](COALApi.md#v2coalshipmentsbyminebyplantdataget) | **GET** /v2/coal/shipments/by-mine-by-plant/data | |
44
+ | [**v2CoalShipmentsByMineByPlantDataPost**](COALApi.md#v2coalshipmentsbyminebyplantdatapost) | **POST** /v2/coal/shipments/by-mine-by-plant/data | Return shipments by-mine-by-plant data |
45
+ | [**v2CoalShipmentsByMineByPlantFacetFacetIdGet**](COALApi.md#v2coalshipmentsbyminebyplantfacetfacetidget) | **GET** /v2/coal/shipments/by-mine-by-plant/facet/{facet_id} | |
46
+ | [**v2CoalShipmentsByMineByPlantFacetGet**](COALApi.md#v2coalshipmentsbyminebyplantfacetget) | **GET** /v2/coal/shipments/by-mine-by-plant/facet | |
47
+ | [**v2CoalShipmentsByMineByPlantGet**](COALApi.md#v2coalshipmentsbyminebyplantget) | **GET** /v2/coal/shipments/by-mine-by-plant | |
48
+ | [**v2CoalShipmentsGet**](COALApi.md#v2coalshipmentsget) | **GET** /v2/coal/shipments | Class CoalController |
49
+ | [**v2CoalShipmentsMineAggregatesDataGet**](COALApi.md#v2coalshipmentsmineaggregatesdataget) | **GET** /v2/coal/shipments/mine-aggregates/data | |
50
+ | [**v2CoalShipmentsMineAggregatesDataPost**](COALApi.md#v2coalshipmentsmineaggregatesdatapost) | **POST** /v2/coal/shipments/mine-aggregates/data | Return shipments mine-aggregates data |
51
+ | [**v2CoalShipmentsMineAggregatesFacetFacetIdGet**](COALApi.md#v2coalshipmentsmineaggregatesfacetfacetidget) | **GET** /v2/coal/shipments/mine-aggregates/facet/{facet_id} | |
52
+ | [**v2CoalShipmentsMineAggregatesFacetGet**](COALApi.md#v2coalshipmentsmineaggregatesfacetget) | **GET** /v2/coal/shipments/mine-aggregates/facet | |
53
+ | [**v2CoalShipmentsMineAggregatesGet**](COALApi.md#v2coalshipmentsmineaggregatesget) | **GET** /v2/coal/shipments/mine-aggregates | |
54
+ | [**v2CoalShipmentsMineStateAggregatesDataGet**](COALApi.md#v2coalshipmentsminestateaggregatesdataget) | **GET** /v2/coal/shipments/mine-state-aggregates/data | |
55
+ | [**v2CoalShipmentsMineStateAggregatesDataPost**](COALApi.md#v2coalshipmentsminestateaggregatesdatapost) | **POST** /v2/coal/shipments/mine-state-aggregates/data | Return shipments mine-state-aggregates data |
56
+ | [**v2CoalShipmentsMineStateAggregatesFacetFacetIdGet**](COALApi.md#v2coalshipmentsminestateaggregatesfacetfacetidget) | **GET** /v2/coal/shipments/mine-state-aggregates/facet/{facet_id} | |
57
+ | [**v2CoalShipmentsMineStateAggregatesFacetGet**](COALApi.md#v2coalshipmentsminestateaggregatesfacetget) | **GET** /v2/coal/shipments/mine-state-aggregates/facet | |
58
+ | [**v2CoalShipmentsMineStateAggregatesGet**](COALApi.md#v2coalshipmentsminestateaggregatesget) | **GET** /v2/coal/shipments/mine-state-aggregates | |
59
+ | [**v2CoalShipmentsPlantAggregatesDataGet**](COALApi.md#v2coalshipmentsplantaggregatesdataget) | **GET** /v2/coal/shipments/plant-aggregates/data | |
60
+ | [**v2CoalShipmentsPlantAggregatesDataPost**](COALApi.md#v2coalshipmentsplantaggregatesdatapost) | **POST** /v2/coal/shipments/plant-aggregates/data | Return shipments plant-aggregates data |
61
+ | [**v2CoalShipmentsPlantAggregatesFacetFacetIdGet**](COALApi.md#v2coalshipmentsplantaggregatesfacetfacetidget) | **GET** /v2/coal/shipments/plant-aggregates/facet/{facet_id} | |
62
+ | [**v2CoalShipmentsPlantAggregatesFacetGet**](COALApi.md#v2coalshipmentsplantaggregatesfacetget) | **GET** /v2/coal/shipments/plant-aggregates/facet | |
63
+ | [**v2CoalShipmentsPlantAggregatesGet**](COALApi.md#v2coalshipmentsplantaggregatesget) | **GET** /v2/coal/shipments/plant-aggregates | |
64
+ | [**v2CoalShipmentsPlantStateAggregatesDataGet**](COALApi.md#v2coalshipmentsplantstateaggregatesdataget) | **GET** /v2/coal/shipments/plant-state-aggregates/data | |
65
+ | [**v2CoalShipmentsPlantStateAggregatesDataPost**](COALApi.md#v2coalshipmentsplantstateaggregatesdatapost) | **POST** /v2/coal/shipments/plant-state-aggregates/data | Return shipments plant-state-aggregates data |
66
+ | [**v2CoalShipmentsPlantStateAggregatesFacetFacetIdGet**](COALApi.md#v2coalshipmentsplantstateaggregatesfacetfacetidget) | **GET** /v2/coal/shipments/plant-state-aggregates/facet/{facet_id} | |
67
+ | [**v2CoalShipmentsPlantStateAggregatesFacetGet**](COALApi.md#v2coalshipmentsplantstateaggregatesfacetget) | **GET** /v2/coal/shipments/plant-state-aggregates/facet | |
68
+ | [**v2CoalShipmentsPlantStateAggregatesGet**](COALApi.md#v2coalshipmentsplantstateaggregatesget) | **GET** /v2/coal/shipments/plant-state-aggregates | |
69
+ | [**v2CoalShipmentsReceiptsDataGet**](COALApi.md#v2coalshipmentsreceiptsdataget) | **GET** /v2/coal/shipments/receipts/data | |
70
+ | [**v2CoalShipmentsReceiptsDataPost**](COALApi.md#v2coalshipmentsreceiptsdatapost) | **POST** /v2/coal/shipments/receipts/data | Return shipments receipts data |
71
+ | [**v2CoalShipmentsReceiptsFacetFacetIdGet**](COALApi.md#v2coalshipmentsreceiptsfacetfacetidget) | **GET** /v2/coal/shipments/receipts/facet/{facet_id} | |
72
+ | [**v2CoalShipmentsReceiptsFacetGet**](COALApi.md#v2coalshipmentsreceiptsfacetget) | **GET** /v2/coal/shipments/receipts/facet | |
73
+ | [**v2CoalShipmentsReceiptsGet**](COALApi.md#v2coalshipmentsreceiptsget) | **GET** /v2/coal/shipments/receipts | |
74
+
75
+
76
+
77
+ ## v2CoalAggregateProductionDataGet
78
+
79
+ > DataResponseContainer v2CoalAggregateProductionDataGet(data, facets, frequency, start, end, sort, length, offset)
80
+
81
+
82
+
83
+ API data with query params
84
+
85
+ ### Example
86
+
87
+ ```ts
88
+ import {
89
+ Configuration,
90
+ COALApi,
91
+ } from '';
92
+ import type { V2CoalAggregateProductionDataGetRequest } from '';
93
+
94
+ async function example() {
95
+ console.log("🚀 Testing SDK...");
96
+ const config = new Configuration({
97
+ // To configure API key authorization: api_key
98
+ apiKey: "YOUR API KEY",
99
+ });
100
+ const api = new COALApi(config);
101
+
102
+ const body = {
103
+ // Array<string> | Data columns to filter by (optional)
104
+ data: ...,
105
+ // object | Facets to filter by (optional)
106
+ facets: Object,
107
+ // string | Frequency to filter by (optional)
108
+ frequency: frequency_example,
109
+ // string | Start date to filter by (optional)
110
+ start: start_example,
111
+ // string | End date to filter by (optional)
112
+ end: end_example,
113
+ // Sort | How to sort returned data (optional)
114
+ sort: ...,
115
+ // number | Max length of returned data (optional)
116
+ length: 56,
117
+ // number | Offset of returned data (optional)
118
+ offset: 56,
119
+ } satisfies V2CoalAggregateProductionDataGetRequest;
120
+
121
+ try {
122
+ const data = await api.v2CoalAggregateProductionDataGet(body);
123
+ console.log(data);
124
+ } catch (error) {
125
+ console.error(error);
126
+ }
127
+ }
128
+
129
+ // Run the test
130
+ example().catch(console.error);
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+
136
+ | Name | Type | Description | Notes |
137
+ |------------- | ------------- | ------------- | -------------|
138
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
139
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
140
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
141
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
142
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
143
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
144
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
145
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
146
+
147
+ ### Return type
148
+
149
+ [**DataResponseContainer**](DataResponseContainer.md)
150
+
151
+ ### Authorization
152
+
153
+ [api_key](../README.md#api_key)
154
+
155
+ ### HTTP request headers
156
+
157
+ - **Content-Type**: Not defined
158
+ - **Accept**: `application/json`
159
+
160
+
161
+ ### HTTP response details
162
+ | Status code | Description | Response headers |
163
+ |-------------|-------------|------------------|
164
+ | **400** | Invalid input | - |
165
+ | **200** | API Data | - |
166
+
167
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
168
+
169
+
170
+ ## v2CoalAggregateProductionDataPost
171
+
172
+ > DataResponseContainer v2CoalAggregateProductionDataPost(dataParams)
173
+
174
+ Return aggregate-production Data
175
+
176
+ Class AggregateProductionController Aggregate Production data set top-level controller.
177
+
178
+ ### Example
179
+
180
+ ```ts
181
+ import {
182
+ Configuration,
183
+ COALApi,
184
+ } from '';
185
+ import type { V2CoalAggregateProductionDataPostRequest } from '';
186
+
187
+ async function example() {
188
+ console.log("🚀 Testing SDK...");
189
+ const config = new Configuration({
190
+ // To configure API key authorization: api_key
191
+ apiKey: "YOUR API KEY",
192
+ });
193
+ const api = new COALApi(config);
194
+
195
+ const body = {
196
+ // DataParams | Parameters for data call
197
+ dataParams: ...,
198
+ } satisfies V2CoalAggregateProductionDataPostRequest;
199
+
200
+ try {
201
+ const data = await api.v2CoalAggregateProductionDataPost(body);
202
+ console.log(data);
203
+ } catch (error) {
204
+ console.error(error);
205
+ }
206
+ }
207
+
208
+ // Run the test
209
+ example().catch(console.error);
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+
215
+ | Name | Type | Description | Notes |
216
+ |------------- | ------------- | ------------- | -------------|
217
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
218
+
219
+ ### Return type
220
+
221
+ [**DataResponseContainer**](DataResponseContainer.md)
222
+
223
+ ### Authorization
224
+
225
+ [api_key](../README.md#api_key)
226
+
227
+ ### HTTP request headers
228
+
229
+ - **Content-Type**: `application/json`
230
+ - **Accept**: `application/json`
231
+
232
+
233
+ ### HTTP response details
234
+ | Status code | Description | Response headers |
235
+ |-------------|-------------|------------------|
236
+ | **400** | Invalid input | - |
237
+ | **200** | API Data | - |
238
+
239
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
240
+
241
+
242
+ ## v2CoalAggregateProductionFacetFacetIdGet
243
+
244
+ > FacetDetailsContainer v2CoalAggregateProductionFacetFacetIdGet(facetId)
245
+
246
+
247
+
248
+ ### Example
249
+
250
+ ```ts
251
+ import {
252
+ Configuration,
253
+ COALApi,
254
+ } from '';
255
+ import type { V2CoalAggregateProductionFacetFacetIdGetRequest } from '';
256
+
257
+ async function example() {
258
+ console.log("🚀 Testing SDK...");
259
+ const config = new Configuration({
260
+ // To configure API key authorization: api_key
261
+ apiKey: "YOUR API KEY",
262
+ });
263
+ const api = new COALApi(config);
264
+
265
+ const body = {
266
+ // string | Facet ID
267
+ facetId: facetId_example,
268
+ } satisfies V2CoalAggregateProductionFacetFacetIdGetRequest;
269
+
270
+ try {
271
+ const data = await api.v2CoalAggregateProductionFacetFacetIdGet(body);
272
+ console.log(data);
273
+ } catch (error) {
274
+ console.error(error);
275
+ }
276
+ }
277
+
278
+ // Run the test
279
+ example().catch(console.error);
280
+ ```
281
+
282
+ ### Parameters
283
+
284
+
285
+ | Name | Type | Description | Notes |
286
+ |------------- | ------------- | ------------- | -------------|
287
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
288
+
289
+ ### Return type
290
+
291
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
292
+
293
+ ### Authorization
294
+
295
+ [api_key](../README.md#api_key)
296
+
297
+ ### HTTP request headers
298
+
299
+ - **Content-Type**: Not defined
300
+ - **Accept**: `application/json`
301
+
302
+
303
+ ### HTTP response details
304
+ | Status code | Description | Response headers |
305
+ |-------------|-------------|------------------|
306
+ | **400** | Invalid input | - |
307
+ | **200** | Facet details | - |
308
+
309
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
310
+
311
+
312
+ ## v2CoalAggregateProductionFacetGet
313
+
314
+ > FacetOptionListContainer v2CoalAggregateProductionFacetGet()
315
+
316
+
317
+
318
+ ### Example
319
+
320
+ ```ts
321
+ import {
322
+ Configuration,
323
+ COALApi,
324
+ } from '';
325
+ import type { V2CoalAggregateProductionFacetGetRequest } from '';
326
+
327
+ async function example() {
328
+ console.log("🚀 Testing SDK...");
329
+ const config = new Configuration({
330
+ // To configure API key authorization: api_key
331
+ apiKey: "YOUR API KEY",
332
+ });
333
+ const api = new COALApi(config);
334
+
335
+ try {
336
+ const data = await api.v2CoalAggregateProductionFacetGet();
337
+ console.log(data);
338
+ } catch (error) {
339
+ console.error(error);
340
+ }
341
+ }
342
+
343
+ // Run the test
344
+ example().catch(console.error);
345
+ ```
346
+
347
+ ### Parameters
348
+
349
+ This endpoint does not need any parameter.
350
+
351
+ ### Return type
352
+
353
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
354
+
355
+ ### Authorization
356
+
357
+ [api_key](../README.md#api_key)
358
+
359
+ ### HTTP request headers
360
+
361
+ - **Content-Type**: Not defined
362
+ - **Accept**: `application/json`
363
+
364
+
365
+ ### HTTP response details
366
+ | Status code | Description | Response headers |
367
+ |-------------|-------------|------------------|
368
+ | **400** | Invalid input | - |
369
+ | **200** | List of facet options | - |
370
+
371
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
372
+
373
+
374
+ ## v2CoalAggregateProductionGet
375
+
376
+ > FinalRouteResponseContainer v2CoalAggregateProductionGet()
377
+
378
+
379
+
380
+ ### Example
381
+
382
+ ```ts
383
+ import {
384
+ Configuration,
385
+ COALApi,
386
+ } from '';
387
+ import type { V2CoalAggregateProductionGetRequest } from '';
388
+
389
+ async function example() {
390
+ console.log("🚀 Testing SDK...");
391
+ const config = new Configuration({
392
+ // To configure API key authorization: api_key
393
+ apiKey: "YOUR API KEY",
394
+ });
395
+ const api = new COALApi(config);
396
+
397
+ try {
398
+ const data = await api.v2CoalAggregateProductionGet();
399
+ console.log(data);
400
+ } catch (error) {
401
+ console.error(error);
402
+ }
403
+ }
404
+
405
+ // Run the test
406
+ example().catch(console.error);
407
+ ```
408
+
409
+ ### Parameters
410
+
411
+ This endpoint does not need any parameter.
412
+
413
+ ### Return type
414
+
415
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
416
+
417
+ ### Authorization
418
+
419
+ [api_key](../README.md#api_key)
420
+
421
+ ### HTTP request headers
422
+
423
+ - **Content-Type**: Not defined
424
+ - **Accept**: `application/json`
425
+
426
+
427
+ ### HTTP response details
428
+ | Status code | Description | Response headers |
429
+ |-------------|-------------|------------------|
430
+ | **200** | List of API data sets | - |
431
+
432
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
433
+
434
+
435
+ ## v2CoalConsumptionAndQualityDataGet
436
+
437
+ > DataResponseContainer v2CoalConsumptionAndQualityDataGet(data, facets, frequency, start, end, sort, length, offset)
438
+
439
+
440
+
441
+ API data with query params
442
+
443
+ ### Example
444
+
445
+ ```ts
446
+ import {
447
+ Configuration,
448
+ COALApi,
449
+ } from '';
450
+ import type { V2CoalConsumptionAndQualityDataGetRequest } from '';
451
+
452
+ async function example() {
453
+ console.log("🚀 Testing SDK...");
454
+ const config = new Configuration({
455
+ // To configure API key authorization: api_key
456
+ apiKey: "YOUR API KEY",
457
+ });
458
+ const api = new COALApi(config);
459
+
460
+ const body = {
461
+ // Array<string> | Data columns to filter by (optional)
462
+ data: ...,
463
+ // object | Facets to filter by (optional)
464
+ facets: Object,
465
+ // string | Frequency to filter by (optional)
466
+ frequency: frequency_example,
467
+ // string | Start date to filter by (optional)
468
+ start: start_example,
469
+ // string | End date to filter by (optional)
470
+ end: end_example,
471
+ // Sort | How to sort returned data (optional)
472
+ sort: ...,
473
+ // number | Max length of returned data (optional)
474
+ length: 56,
475
+ // number | Offset of returned data (optional)
476
+ offset: 56,
477
+ } satisfies V2CoalConsumptionAndQualityDataGetRequest;
478
+
479
+ try {
480
+ const data = await api.v2CoalConsumptionAndQualityDataGet(body);
481
+ console.log(data);
482
+ } catch (error) {
483
+ console.error(error);
484
+ }
485
+ }
486
+
487
+ // Run the test
488
+ example().catch(console.error);
489
+ ```
490
+
491
+ ### Parameters
492
+
493
+
494
+ | Name | Type | Description | Notes |
495
+ |------------- | ------------- | ------------- | -------------|
496
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
497
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
498
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
499
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
500
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
501
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
502
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
503
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
504
+
505
+ ### Return type
506
+
507
+ [**DataResponseContainer**](DataResponseContainer.md)
508
+
509
+ ### Authorization
510
+
511
+ [api_key](../README.md#api_key)
512
+
513
+ ### HTTP request headers
514
+
515
+ - **Content-Type**: Not defined
516
+ - **Accept**: `application/json`
517
+
518
+
519
+ ### HTTP response details
520
+ | Status code | Description | Response headers |
521
+ |-------------|-------------|------------------|
522
+ | **400** | Invalid input | - |
523
+ | **200** | API Data | - |
524
+
525
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
526
+
527
+
528
+ ## v2CoalConsumptionAndQualityDataPost
529
+
530
+ > DataResponseContainer v2CoalConsumptionAndQualityDataPost(dataParams)
531
+
532
+ Return consumption-and-quality Data
533
+
534
+ ### Example
535
+
536
+ ```ts
537
+ import {
538
+ Configuration,
539
+ COALApi,
540
+ } from '';
541
+ import type { V2CoalConsumptionAndQualityDataPostRequest } from '';
542
+
543
+ async function example() {
544
+ console.log("🚀 Testing SDK...");
545
+ const config = new Configuration({
546
+ // To configure API key authorization: api_key
547
+ apiKey: "YOUR API KEY",
548
+ });
549
+ const api = new COALApi(config);
550
+
551
+ const body = {
552
+ // DataParams | Parameters for data call
553
+ dataParams: ...,
554
+ } satisfies V2CoalConsumptionAndQualityDataPostRequest;
555
+
556
+ try {
557
+ const data = await api.v2CoalConsumptionAndQualityDataPost(body);
558
+ console.log(data);
559
+ } catch (error) {
560
+ console.error(error);
561
+ }
562
+ }
563
+
564
+ // Run the test
565
+ example().catch(console.error);
566
+ ```
567
+
568
+ ### Parameters
569
+
570
+
571
+ | Name | Type | Description | Notes |
572
+ |------------- | ------------- | ------------- | -------------|
573
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
574
+
575
+ ### Return type
576
+
577
+ [**DataResponseContainer**](DataResponseContainer.md)
578
+
579
+ ### Authorization
580
+
581
+ [api_key](../README.md#api_key)
582
+
583
+ ### HTTP request headers
584
+
585
+ - **Content-Type**: `application/json`
586
+ - **Accept**: `application/json`
587
+
588
+
589
+ ### HTTP response details
590
+ | Status code | Description | Response headers |
591
+ |-------------|-------------|------------------|
592
+ | **400** | Invalid input | - |
593
+ | **200** | API Data | - |
594
+
595
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
596
+
597
+
598
+ ## v2CoalConsumptionAndQualityFacetFacetIdGet
599
+
600
+ > FacetDetailsContainer v2CoalConsumptionAndQualityFacetFacetIdGet(facetId)
601
+
602
+
603
+
604
+ ### Example
605
+
606
+ ```ts
607
+ import {
608
+ Configuration,
609
+ COALApi,
610
+ } from '';
611
+ import type { V2CoalConsumptionAndQualityFacetFacetIdGetRequest } from '';
612
+
613
+ async function example() {
614
+ console.log("🚀 Testing SDK...");
615
+ const config = new Configuration({
616
+ // To configure API key authorization: api_key
617
+ apiKey: "YOUR API KEY",
618
+ });
619
+ const api = new COALApi(config);
620
+
621
+ const body = {
622
+ // string | Facet ID
623
+ facetId: facetId_example,
624
+ } satisfies V2CoalConsumptionAndQualityFacetFacetIdGetRequest;
625
+
626
+ try {
627
+ const data = await api.v2CoalConsumptionAndQualityFacetFacetIdGet(body);
628
+ console.log(data);
629
+ } catch (error) {
630
+ console.error(error);
631
+ }
632
+ }
633
+
634
+ // Run the test
635
+ example().catch(console.error);
636
+ ```
637
+
638
+ ### Parameters
639
+
640
+
641
+ | Name | Type | Description | Notes |
642
+ |------------- | ------------- | ------------- | -------------|
643
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
644
+
645
+ ### Return type
646
+
647
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
648
+
649
+ ### Authorization
650
+
651
+ [api_key](../README.md#api_key)
652
+
653
+ ### HTTP request headers
654
+
655
+ - **Content-Type**: Not defined
656
+ - **Accept**: `application/json`
657
+
658
+
659
+ ### HTTP response details
660
+ | Status code | Description | Response headers |
661
+ |-------------|-------------|------------------|
662
+ | **400** | Invalid input | - |
663
+ | **200** | Facet details | - |
664
+
665
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
666
+
667
+
668
+ ## v2CoalConsumptionAndQualityFacetGet
669
+
670
+ > FacetOptionListContainer v2CoalConsumptionAndQualityFacetGet()
671
+
672
+
673
+
674
+ ### Example
675
+
676
+ ```ts
677
+ import {
678
+ Configuration,
679
+ COALApi,
680
+ } from '';
681
+ import type { V2CoalConsumptionAndQualityFacetGetRequest } from '';
682
+
683
+ async function example() {
684
+ console.log("🚀 Testing SDK...");
685
+ const config = new Configuration({
686
+ // To configure API key authorization: api_key
687
+ apiKey: "YOUR API KEY",
688
+ });
689
+ const api = new COALApi(config);
690
+
691
+ try {
692
+ const data = await api.v2CoalConsumptionAndQualityFacetGet();
693
+ console.log(data);
694
+ } catch (error) {
695
+ console.error(error);
696
+ }
697
+ }
698
+
699
+ // Run the test
700
+ example().catch(console.error);
701
+ ```
702
+
703
+ ### Parameters
704
+
705
+ This endpoint does not need any parameter.
706
+
707
+ ### Return type
708
+
709
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
710
+
711
+ ### Authorization
712
+
713
+ [api_key](../README.md#api_key)
714
+
715
+ ### HTTP request headers
716
+
717
+ - **Content-Type**: Not defined
718
+ - **Accept**: `application/json`
719
+
720
+
721
+ ### HTTP response details
722
+ | Status code | Description | Response headers |
723
+ |-------------|-------------|------------------|
724
+ | **400** | Invalid input | - |
725
+ | **200** | List of facet options | - |
726
+
727
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
728
+
729
+
730
+ ## v2CoalConsumptionAndQualityGet
731
+
732
+ > FinalRouteResponseContainer v2CoalConsumptionAndQualityGet()
733
+
734
+
735
+
736
+ ### Example
737
+
738
+ ```ts
739
+ import {
740
+ Configuration,
741
+ COALApi,
742
+ } from '';
743
+ import type { V2CoalConsumptionAndQualityGetRequest } from '';
744
+
745
+ async function example() {
746
+ console.log("🚀 Testing SDK...");
747
+ const config = new Configuration({
748
+ // To configure API key authorization: api_key
749
+ apiKey: "YOUR API KEY",
750
+ });
751
+ const api = new COALApi(config);
752
+
753
+ try {
754
+ const data = await api.v2CoalConsumptionAndQualityGet();
755
+ console.log(data);
756
+ } catch (error) {
757
+ console.error(error);
758
+ }
759
+ }
760
+
761
+ // Run the test
762
+ example().catch(console.error);
763
+ ```
764
+
765
+ ### Parameters
766
+
767
+ This endpoint does not need any parameter.
768
+
769
+ ### Return type
770
+
771
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
772
+
773
+ ### Authorization
774
+
775
+ [api_key](../README.md#api_key)
776
+
777
+ ### HTTP request headers
778
+
779
+ - **Content-Type**: Not defined
780
+ - **Accept**: `application/json`
781
+
782
+
783
+ ### HTTP response details
784
+ | Status code | Description | Response headers |
785
+ |-------------|-------------|------------------|
786
+ | **200** | List of API data sets | - |
787
+
788
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
789
+
790
+
791
+ ## v2CoalExportsImportsQuantityPriceDataGet
792
+
793
+ > DataResponseContainer v2CoalExportsImportsQuantityPriceDataGet(data, facets, frequency, start, end, sort, length, offset)
794
+
795
+
796
+
797
+ API data with query params
798
+
799
+ ### Example
800
+
801
+ ```ts
802
+ import {
803
+ Configuration,
804
+ COALApi,
805
+ } from '';
806
+ import type { V2CoalExportsImportsQuantityPriceDataGetRequest } from '';
807
+
808
+ async function example() {
809
+ console.log("🚀 Testing SDK...");
810
+ const config = new Configuration({
811
+ // To configure API key authorization: api_key
812
+ apiKey: "YOUR API KEY",
813
+ });
814
+ const api = new COALApi(config);
815
+
816
+ const body = {
817
+ // Array<string> | Data columns to filter by (optional)
818
+ data: ...,
819
+ // object | Facets to filter by (optional)
820
+ facets: Object,
821
+ // string | Frequency to filter by (optional)
822
+ frequency: frequency_example,
823
+ // string | Start date to filter by (optional)
824
+ start: start_example,
825
+ // string | End date to filter by (optional)
826
+ end: end_example,
827
+ // Sort | How to sort returned data (optional)
828
+ sort: ...,
829
+ // number | Max length of returned data (optional)
830
+ length: 56,
831
+ // number | Offset of returned data (optional)
832
+ offset: 56,
833
+ } satisfies V2CoalExportsImportsQuantityPriceDataGetRequest;
834
+
835
+ try {
836
+ const data = await api.v2CoalExportsImportsQuantityPriceDataGet(body);
837
+ console.log(data);
838
+ } catch (error) {
839
+ console.error(error);
840
+ }
841
+ }
842
+
843
+ // Run the test
844
+ example().catch(console.error);
845
+ ```
846
+
847
+ ### Parameters
848
+
849
+
850
+ | Name | Type | Description | Notes |
851
+ |------------- | ------------- | ------------- | -------------|
852
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
853
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
854
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
855
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
856
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
857
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
858
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
859
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
860
+
861
+ ### Return type
862
+
863
+ [**DataResponseContainer**](DataResponseContainer.md)
864
+
865
+ ### Authorization
866
+
867
+ [api_key](../README.md#api_key)
868
+
869
+ ### HTTP request headers
870
+
871
+ - **Content-Type**: Not defined
872
+ - **Accept**: `application/json`
873
+
874
+
875
+ ### HTTP response details
876
+ | Status code | Description | Response headers |
877
+ |-------------|-------------|------------------|
878
+ | **400** | Invalid input | - |
879
+ | **200** | API Data | - |
880
+
881
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
882
+
883
+
884
+ ## v2CoalExportsImportsQuantityPriceDataPost
885
+
886
+ > DataResponseContainer v2CoalExportsImportsQuantityPriceDataPost(dataParams)
887
+
888
+ Return exports-imports-quantity-price Data
889
+
890
+ Class ExportsImportsQuantityPriceController Exports\\Imports Quantity\\Price data set top-level controller.
891
+
892
+ ### Example
893
+
894
+ ```ts
895
+ import {
896
+ Configuration,
897
+ COALApi,
898
+ } from '';
899
+ import type { V2CoalExportsImportsQuantityPriceDataPostRequest } from '';
900
+
901
+ async function example() {
902
+ console.log("🚀 Testing SDK...");
903
+ const config = new Configuration({
904
+ // To configure API key authorization: api_key
905
+ apiKey: "YOUR API KEY",
906
+ });
907
+ const api = new COALApi(config);
908
+
909
+ const body = {
910
+ // DataParams | Parameters for data call
911
+ dataParams: ...,
912
+ } satisfies V2CoalExportsImportsQuantityPriceDataPostRequest;
913
+
914
+ try {
915
+ const data = await api.v2CoalExportsImportsQuantityPriceDataPost(body);
916
+ console.log(data);
917
+ } catch (error) {
918
+ console.error(error);
919
+ }
920
+ }
921
+
922
+ // Run the test
923
+ example().catch(console.error);
924
+ ```
925
+
926
+ ### Parameters
927
+
928
+
929
+ | Name | Type | Description | Notes |
930
+ |------------- | ------------- | ------------- | -------------|
931
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
932
+
933
+ ### Return type
934
+
935
+ [**DataResponseContainer**](DataResponseContainer.md)
936
+
937
+ ### Authorization
938
+
939
+ [api_key](../README.md#api_key)
940
+
941
+ ### HTTP request headers
942
+
943
+ - **Content-Type**: `application/json`
944
+ - **Accept**: `application/json`
945
+
946
+
947
+ ### HTTP response details
948
+ | Status code | Description | Response headers |
949
+ |-------------|-------------|------------------|
950
+ | **400** | Invalid input | - |
951
+ | **200** | API Data | - |
952
+
953
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
954
+
955
+
956
+ ## v2CoalExportsImportsQuantityPriceFacetFacetIdGet
957
+
958
+ > FacetDetailsContainer v2CoalExportsImportsQuantityPriceFacetFacetIdGet(facetId)
959
+
960
+
961
+
962
+ ### Example
963
+
964
+ ```ts
965
+ import {
966
+ Configuration,
967
+ COALApi,
968
+ } from '';
969
+ import type { V2CoalExportsImportsQuantityPriceFacetFacetIdGetRequest } from '';
970
+
971
+ async function example() {
972
+ console.log("🚀 Testing SDK...");
973
+ const config = new Configuration({
974
+ // To configure API key authorization: api_key
975
+ apiKey: "YOUR API KEY",
976
+ });
977
+ const api = new COALApi(config);
978
+
979
+ const body = {
980
+ // string | Facet ID
981
+ facetId: facetId_example,
982
+ } satisfies V2CoalExportsImportsQuantityPriceFacetFacetIdGetRequest;
983
+
984
+ try {
985
+ const data = await api.v2CoalExportsImportsQuantityPriceFacetFacetIdGet(body);
986
+ console.log(data);
987
+ } catch (error) {
988
+ console.error(error);
989
+ }
990
+ }
991
+
992
+ // Run the test
993
+ example().catch(console.error);
994
+ ```
995
+
996
+ ### Parameters
997
+
998
+
999
+ | Name | Type | Description | Notes |
1000
+ |------------- | ------------- | ------------- | -------------|
1001
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
1002
+
1003
+ ### Return type
1004
+
1005
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
1006
+
1007
+ ### Authorization
1008
+
1009
+ [api_key](../README.md#api_key)
1010
+
1011
+ ### HTTP request headers
1012
+
1013
+ - **Content-Type**: Not defined
1014
+ - **Accept**: `application/json`
1015
+
1016
+
1017
+ ### HTTP response details
1018
+ | Status code | Description | Response headers |
1019
+ |-------------|-------------|------------------|
1020
+ | **400** | Invalid input | - |
1021
+ | **200** | Facet details | - |
1022
+
1023
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1024
+
1025
+
1026
+ ## v2CoalExportsImportsQuantityPriceFacetGet
1027
+
1028
+ > FacetOptionListContainer v2CoalExportsImportsQuantityPriceFacetGet()
1029
+
1030
+
1031
+
1032
+ ### Example
1033
+
1034
+ ```ts
1035
+ import {
1036
+ Configuration,
1037
+ COALApi,
1038
+ } from '';
1039
+ import type { V2CoalExportsImportsQuantityPriceFacetGetRequest } from '';
1040
+
1041
+ async function example() {
1042
+ console.log("🚀 Testing SDK...");
1043
+ const config = new Configuration({
1044
+ // To configure API key authorization: api_key
1045
+ apiKey: "YOUR API KEY",
1046
+ });
1047
+ const api = new COALApi(config);
1048
+
1049
+ try {
1050
+ const data = await api.v2CoalExportsImportsQuantityPriceFacetGet();
1051
+ console.log(data);
1052
+ } catch (error) {
1053
+ console.error(error);
1054
+ }
1055
+ }
1056
+
1057
+ // Run the test
1058
+ example().catch(console.error);
1059
+ ```
1060
+
1061
+ ### Parameters
1062
+
1063
+ This endpoint does not need any parameter.
1064
+
1065
+ ### Return type
1066
+
1067
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
1068
+
1069
+ ### Authorization
1070
+
1071
+ [api_key](../README.md#api_key)
1072
+
1073
+ ### HTTP request headers
1074
+
1075
+ - **Content-Type**: Not defined
1076
+ - **Accept**: `application/json`
1077
+
1078
+
1079
+ ### HTTP response details
1080
+ | Status code | Description | Response headers |
1081
+ |-------------|-------------|------------------|
1082
+ | **400** | Invalid input | - |
1083
+ | **200** | List of facet options | - |
1084
+
1085
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1086
+
1087
+
1088
+ ## v2CoalExportsImportsQuantityPriceGet
1089
+
1090
+ > FinalRouteResponseContainer v2CoalExportsImportsQuantityPriceGet()
1091
+
1092
+
1093
+
1094
+ ### Example
1095
+
1096
+ ```ts
1097
+ import {
1098
+ Configuration,
1099
+ COALApi,
1100
+ } from '';
1101
+ import type { V2CoalExportsImportsQuantityPriceGetRequest } from '';
1102
+
1103
+ async function example() {
1104
+ console.log("🚀 Testing SDK...");
1105
+ const config = new Configuration({
1106
+ // To configure API key authorization: api_key
1107
+ apiKey: "YOUR API KEY",
1108
+ });
1109
+ const api = new COALApi(config);
1110
+
1111
+ try {
1112
+ const data = await api.v2CoalExportsImportsQuantityPriceGet();
1113
+ console.log(data);
1114
+ } catch (error) {
1115
+ console.error(error);
1116
+ }
1117
+ }
1118
+
1119
+ // Run the test
1120
+ example().catch(console.error);
1121
+ ```
1122
+
1123
+ ### Parameters
1124
+
1125
+ This endpoint does not need any parameter.
1126
+
1127
+ ### Return type
1128
+
1129
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
1130
+
1131
+ ### Authorization
1132
+
1133
+ [api_key](../README.md#api_key)
1134
+
1135
+ ### HTTP request headers
1136
+
1137
+ - **Content-Type**: Not defined
1138
+ - **Accept**: `application/json`
1139
+
1140
+
1141
+ ### HTTP response details
1142
+ | Status code | Description | Response headers |
1143
+ |-------------|-------------|------------------|
1144
+ | **200** | List of API data sets | - |
1145
+
1146
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1147
+
1148
+
1149
+ ## v2CoalGet
1150
+
1151
+ > RouteResponseContainer v2CoalGet()
1152
+
1153
+ Class CoalController
1154
+
1155
+ Coal data set top-level controller.
1156
+
1157
+ ### Example
1158
+
1159
+ ```ts
1160
+ import {
1161
+ Configuration,
1162
+ COALApi,
1163
+ } from '';
1164
+ import type { V2CoalGetRequest } from '';
1165
+
1166
+ async function example() {
1167
+ console.log("🚀 Testing SDK...");
1168
+ const config = new Configuration({
1169
+ // To configure API key authorization: api_key
1170
+ apiKey: "YOUR API KEY",
1171
+ });
1172
+ const api = new COALApi(config);
1173
+
1174
+ try {
1175
+ const data = await api.v2CoalGet();
1176
+ console.log(data);
1177
+ } catch (error) {
1178
+ console.error(error);
1179
+ }
1180
+ }
1181
+
1182
+ // Run the test
1183
+ example().catch(console.error);
1184
+ ```
1185
+
1186
+ ### Parameters
1187
+
1188
+ This endpoint does not need any parameter.
1189
+
1190
+ ### Return type
1191
+
1192
+ [**RouteResponseContainer**](RouteResponseContainer.md)
1193
+
1194
+ ### Authorization
1195
+
1196
+ [api_key](../README.md#api_key)
1197
+
1198
+ ### HTTP request headers
1199
+
1200
+ - **Content-Type**: Not defined
1201
+ - **Accept**: `application/json`
1202
+
1203
+
1204
+ ### HTTP response details
1205
+ | Status code | Description | Response headers |
1206
+ |-------------|-------------|------------------|
1207
+ | **200** | List of API data sets | - |
1208
+
1209
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1210
+
1211
+
1212
+ ## v2CoalMarketSalesPriceDataGet
1213
+
1214
+ > DataResponseContainer v2CoalMarketSalesPriceDataGet(data, facets, frequency, start, end, sort, length, offset)
1215
+
1216
+
1217
+
1218
+ API data with query params
1219
+
1220
+ ### Example
1221
+
1222
+ ```ts
1223
+ import {
1224
+ Configuration,
1225
+ COALApi,
1226
+ } from '';
1227
+ import type { V2CoalMarketSalesPriceDataGetRequest } from '';
1228
+
1229
+ async function example() {
1230
+ console.log("🚀 Testing SDK...");
1231
+ const config = new Configuration({
1232
+ // To configure API key authorization: api_key
1233
+ apiKey: "YOUR API KEY",
1234
+ });
1235
+ const api = new COALApi(config);
1236
+
1237
+ const body = {
1238
+ // Array<string> | Data columns to filter by (optional)
1239
+ data: ...,
1240
+ // object | Facets to filter by (optional)
1241
+ facets: Object,
1242
+ // string | Frequency to filter by (optional)
1243
+ frequency: frequency_example,
1244
+ // string | Start date to filter by (optional)
1245
+ start: start_example,
1246
+ // string | End date to filter by (optional)
1247
+ end: end_example,
1248
+ // Sort | How to sort returned data (optional)
1249
+ sort: ...,
1250
+ // number | Max length of returned data (optional)
1251
+ length: 56,
1252
+ // number | Offset of returned data (optional)
1253
+ offset: 56,
1254
+ } satisfies V2CoalMarketSalesPriceDataGetRequest;
1255
+
1256
+ try {
1257
+ const data = await api.v2CoalMarketSalesPriceDataGet(body);
1258
+ console.log(data);
1259
+ } catch (error) {
1260
+ console.error(error);
1261
+ }
1262
+ }
1263
+
1264
+ // Run the test
1265
+ example().catch(console.error);
1266
+ ```
1267
+
1268
+ ### Parameters
1269
+
1270
+
1271
+ | Name | Type | Description | Notes |
1272
+ |------------- | ------------- | ------------- | -------------|
1273
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
1274
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
1275
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
1276
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
1277
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
1278
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
1279
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
1280
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
1281
+
1282
+ ### Return type
1283
+
1284
+ [**DataResponseContainer**](DataResponseContainer.md)
1285
+
1286
+ ### Authorization
1287
+
1288
+ [api_key](../README.md#api_key)
1289
+
1290
+ ### HTTP request headers
1291
+
1292
+ - **Content-Type**: Not defined
1293
+ - **Accept**: `application/json`
1294
+
1295
+
1296
+ ### HTTP response details
1297
+ | Status code | Description | Response headers |
1298
+ |-------------|-------------|------------------|
1299
+ | **400** | Invalid input | - |
1300
+ | **200** | API Data | - |
1301
+
1302
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1303
+
1304
+
1305
+ ## v2CoalMarketSalesPriceDataPost
1306
+
1307
+ > DataResponseContainer v2CoalMarketSalesPriceDataPost(dataParams)
1308
+
1309
+ Return market-sales-price Data
1310
+
1311
+ Class MarketSalesPriceController Market Sales Price data set top-level controller.
1312
+
1313
+ ### Example
1314
+
1315
+ ```ts
1316
+ import {
1317
+ Configuration,
1318
+ COALApi,
1319
+ } from '';
1320
+ import type { V2CoalMarketSalesPriceDataPostRequest } from '';
1321
+
1322
+ async function example() {
1323
+ console.log("🚀 Testing SDK...");
1324
+ const config = new Configuration({
1325
+ // To configure API key authorization: api_key
1326
+ apiKey: "YOUR API KEY",
1327
+ });
1328
+ const api = new COALApi(config);
1329
+
1330
+ const body = {
1331
+ // DataParams | Parameters for data call
1332
+ dataParams: ...,
1333
+ } satisfies V2CoalMarketSalesPriceDataPostRequest;
1334
+
1335
+ try {
1336
+ const data = await api.v2CoalMarketSalesPriceDataPost(body);
1337
+ console.log(data);
1338
+ } catch (error) {
1339
+ console.error(error);
1340
+ }
1341
+ }
1342
+
1343
+ // Run the test
1344
+ example().catch(console.error);
1345
+ ```
1346
+
1347
+ ### Parameters
1348
+
1349
+
1350
+ | Name | Type | Description | Notes |
1351
+ |------------- | ------------- | ------------- | -------------|
1352
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
1353
+
1354
+ ### Return type
1355
+
1356
+ [**DataResponseContainer**](DataResponseContainer.md)
1357
+
1358
+ ### Authorization
1359
+
1360
+ [api_key](../README.md#api_key)
1361
+
1362
+ ### HTTP request headers
1363
+
1364
+ - **Content-Type**: `application/json`
1365
+ - **Accept**: `application/json`
1366
+
1367
+
1368
+ ### HTTP response details
1369
+ | Status code | Description | Response headers |
1370
+ |-------------|-------------|------------------|
1371
+ | **400** | Invalid input | - |
1372
+ | **200** | API Data | - |
1373
+
1374
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1375
+
1376
+
1377
+ ## v2CoalMarketSalesPriceFacetFacetIdGet
1378
+
1379
+ > FacetDetailsContainer v2CoalMarketSalesPriceFacetFacetIdGet(facetId)
1380
+
1381
+
1382
+
1383
+ ### Example
1384
+
1385
+ ```ts
1386
+ import {
1387
+ Configuration,
1388
+ COALApi,
1389
+ } from '';
1390
+ import type { V2CoalMarketSalesPriceFacetFacetIdGetRequest } from '';
1391
+
1392
+ async function example() {
1393
+ console.log("🚀 Testing SDK...");
1394
+ const config = new Configuration({
1395
+ // To configure API key authorization: api_key
1396
+ apiKey: "YOUR API KEY",
1397
+ });
1398
+ const api = new COALApi(config);
1399
+
1400
+ const body = {
1401
+ // string | Facet ID
1402
+ facetId: facetId_example,
1403
+ } satisfies V2CoalMarketSalesPriceFacetFacetIdGetRequest;
1404
+
1405
+ try {
1406
+ const data = await api.v2CoalMarketSalesPriceFacetFacetIdGet(body);
1407
+ console.log(data);
1408
+ } catch (error) {
1409
+ console.error(error);
1410
+ }
1411
+ }
1412
+
1413
+ // Run the test
1414
+ example().catch(console.error);
1415
+ ```
1416
+
1417
+ ### Parameters
1418
+
1419
+
1420
+ | Name | Type | Description | Notes |
1421
+ |------------- | ------------- | ------------- | -------------|
1422
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
1423
+
1424
+ ### Return type
1425
+
1426
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
1427
+
1428
+ ### Authorization
1429
+
1430
+ [api_key](../README.md#api_key)
1431
+
1432
+ ### HTTP request headers
1433
+
1434
+ - **Content-Type**: Not defined
1435
+ - **Accept**: `application/json`
1436
+
1437
+
1438
+ ### HTTP response details
1439
+ | Status code | Description | Response headers |
1440
+ |-------------|-------------|------------------|
1441
+ | **400** | Invalid input | - |
1442
+ | **200** | Facet details | - |
1443
+
1444
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1445
+
1446
+
1447
+ ## v2CoalMarketSalesPriceFacetGet
1448
+
1449
+ > FacetOptionListContainer v2CoalMarketSalesPriceFacetGet()
1450
+
1451
+
1452
+
1453
+ ### Example
1454
+
1455
+ ```ts
1456
+ import {
1457
+ Configuration,
1458
+ COALApi,
1459
+ } from '';
1460
+ import type { V2CoalMarketSalesPriceFacetGetRequest } from '';
1461
+
1462
+ async function example() {
1463
+ console.log("🚀 Testing SDK...");
1464
+ const config = new Configuration({
1465
+ // To configure API key authorization: api_key
1466
+ apiKey: "YOUR API KEY",
1467
+ });
1468
+ const api = new COALApi(config);
1469
+
1470
+ try {
1471
+ const data = await api.v2CoalMarketSalesPriceFacetGet();
1472
+ console.log(data);
1473
+ } catch (error) {
1474
+ console.error(error);
1475
+ }
1476
+ }
1477
+
1478
+ // Run the test
1479
+ example().catch(console.error);
1480
+ ```
1481
+
1482
+ ### Parameters
1483
+
1484
+ This endpoint does not need any parameter.
1485
+
1486
+ ### Return type
1487
+
1488
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
1489
+
1490
+ ### Authorization
1491
+
1492
+ [api_key](../README.md#api_key)
1493
+
1494
+ ### HTTP request headers
1495
+
1496
+ - **Content-Type**: Not defined
1497
+ - **Accept**: `application/json`
1498
+
1499
+
1500
+ ### HTTP response details
1501
+ | Status code | Description | Response headers |
1502
+ |-------------|-------------|------------------|
1503
+ | **400** | Invalid input | - |
1504
+ | **200** | List of facet options | - |
1505
+
1506
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1507
+
1508
+
1509
+ ## v2CoalMarketSalesPriceGet
1510
+
1511
+ > FinalRouteResponseContainer v2CoalMarketSalesPriceGet()
1512
+
1513
+
1514
+
1515
+ ### Example
1516
+
1517
+ ```ts
1518
+ import {
1519
+ Configuration,
1520
+ COALApi,
1521
+ } from '';
1522
+ import type { V2CoalMarketSalesPriceGetRequest } from '';
1523
+
1524
+ async function example() {
1525
+ console.log("🚀 Testing SDK...");
1526
+ const config = new Configuration({
1527
+ // To configure API key authorization: api_key
1528
+ apiKey: "YOUR API KEY",
1529
+ });
1530
+ const api = new COALApi(config);
1531
+
1532
+ try {
1533
+ const data = await api.v2CoalMarketSalesPriceGet();
1534
+ console.log(data);
1535
+ } catch (error) {
1536
+ console.error(error);
1537
+ }
1538
+ }
1539
+
1540
+ // Run the test
1541
+ example().catch(console.error);
1542
+ ```
1543
+
1544
+ ### Parameters
1545
+
1546
+ This endpoint does not need any parameter.
1547
+
1548
+ ### Return type
1549
+
1550
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
1551
+
1552
+ ### Authorization
1553
+
1554
+ [api_key](../README.md#api_key)
1555
+
1556
+ ### HTTP request headers
1557
+
1558
+ - **Content-Type**: Not defined
1559
+ - **Accept**: `application/json`
1560
+
1561
+
1562
+ ### HTTP response details
1563
+ | Status code | Description | Response headers |
1564
+ |-------------|-------------|------------------|
1565
+ | **200** | List of API data sets | - |
1566
+
1567
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1568
+
1569
+
1570
+ ## v2CoalMineProductionDataGet
1571
+
1572
+ > DataResponseContainer v2CoalMineProductionDataGet(data, facets, frequency, start, end, sort, length, offset)
1573
+
1574
+
1575
+
1576
+ API data with query params
1577
+
1578
+ ### Example
1579
+
1580
+ ```ts
1581
+ import {
1582
+ Configuration,
1583
+ COALApi,
1584
+ } from '';
1585
+ import type { V2CoalMineProductionDataGetRequest } from '';
1586
+
1587
+ async function example() {
1588
+ console.log("🚀 Testing SDK...");
1589
+ const config = new Configuration({
1590
+ // To configure API key authorization: api_key
1591
+ apiKey: "YOUR API KEY",
1592
+ });
1593
+ const api = new COALApi(config);
1594
+
1595
+ const body = {
1596
+ // Array<string> | Data columns to filter by (optional)
1597
+ data: ...,
1598
+ // object | Facets to filter by (optional)
1599
+ facets: Object,
1600
+ // string | Frequency to filter by (optional)
1601
+ frequency: frequency_example,
1602
+ // string | Start date to filter by (optional)
1603
+ start: start_example,
1604
+ // string | End date to filter by (optional)
1605
+ end: end_example,
1606
+ // Sort | How to sort returned data (optional)
1607
+ sort: ...,
1608
+ // number | Max length of returned data (optional)
1609
+ length: 56,
1610
+ // number | Offset of returned data (optional)
1611
+ offset: 56,
1612
+ } satisfies V2CoalMineProductionDataGetRequest;
1613
+
1614
+ try {
1615
+ const data = await api.v2CoalMineProductionDataGet(body);
1616
+ console.log(data);
1617
+ } catch (error) {
1618
+ console.error(error);
1619
+ }
1620
+ }
1621
+
1622
+ // Run the test
1623
+ example().catch(console.error);
1624
+ ```
1625
+
1626
+ ### Parameters
1627
+
1628
+
1629
+ | Name | Type | Description | Notes |
1630
+ |------------- | ------------- | ------------- | -------------|
1631
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
1632
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
1633
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
1634
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
1635
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
1636
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
1637
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
1638
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
1639
+
1640
+ ### Return type
1641
+
1642
+ [**DataResponseContainer**](DataResponseContainer.md)
1643
+
1644
+ ### Authorization
1645
+
1646
+ [api_key](../README.md#api_key)
1647
+
1648
+ ### HTTP request headers
1649
+
1650
+ - **Content-Type**: Not defined
1651
+ - **Accept**: `application/json`
1652
+
1653
+
1654
+ ### HTTP response details
1655
+ | Status code | Description | Response headers |
1656
+ |-------------|-------------|------------------|
1657
+ | **400** | Invalid input | - |
1658
+ | **200** | API Data | - |
1659
+
1660
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1661
+
1662
+
1663
+ ## v2CoalMineProductionDataPost
1664
+
1665
+ > DataResponseContainer v2CoalMineProductionDataPost(dataParams)
1666
+
1667
+ Return mine-production Data
1668
+
1669
+ Class MinProductionController Mine Production data set top-level controller.
1670
+
1671
+ ### Example
1672
+
1673
+ ```ts
1674
+ import {
1675
+ Configuration,
1676
+ COALApi,
1677
+ } from '';
1678
+ import type { V2CoalMineProductionDataPostRequest } from '';
1679
+
1680
+ async function example() {
1681
+ console.log("🚀 Testing SDK...");
1682
+ const config = new Configuration({
1683
+ // To configure API key authorization: api_key
1684
+ apiKey: "YOUR API KEY",
1685
+ });
1686
+ const api = new COALApi(config);
1687
+
1688
+ const body = {
1689
+ // DataParams | Parameters for data call
1690
+ dataParams: ...,
1691
+ } satisfies V2CoalMineProductionDataPostRequest;
1692
+
1693
+ try {
1694
+ const data = await api.v2CoalMineProductionDataPost(body);
1695
+ console.log(data);
1696
+ } catch (error) {
1697
+ console.error(error);
1698
+ }
1699
+ }
1700
+
1701
+ // Run the test
1702
+ example().catch(console.error);
1703
+ ```
1704
+
1705
+ ### Parameters
1706
+
1707
+
1708
+ | Name | Type | Description | Notes |
1709
+ |------------- | ------------- | ------------- | -------------|
1710
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
1711
+
1712
+ ### Return type
1713
+
1714
+ [**DataResponseContainer**](DataResponseContainer.md)
1715
+
1716
+ ### Authorization
1717
+
1718
+ [api_key](../README.md#api_key)
1719
+
1720
+ ### HTTP request headers
1721
+
1722
+ - **Content-Type**: `application/json`
1723
+ - **Accept**: `application/json`
1724
+
1725
+
1726
+ ### HTTP response details
1727
+ | Status code | Description | Response headers |
1728
+ |-------------|-------------|------------------|
1729
+ | **400** | Invalid input | - |
1730
+ | **200** | API Data | - |
1731
+
1732
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1733
+
1734
+
1735
+ ## v2CoalMineProductionFacetFacetIdGet
1736
+
1737
+ > FacetDetailsContainer v2CoalMineProductionFacetFacetIdGet(facetId)
1738
+
1739
+
1740
+
1741
+ ### Example
1742
+
1743
+ ```ts
1744
+ import {
1745
+ Configuration,
1746
+ COALApi,
1747
+ } from '';
1748
+ import type { V2CoalMineProductionFacetFacetIdGetRequest } from '';
1749
+
1750
+ async function example() {
1751
+ console.log("🚀 Testing SDK...");
1752
+ const config = new Configuration({
1753
+ // To configure API key authorization: api_key
1754
+ apiKey: "YOUR API KEY",
1755
+ });
1756
+ const api = new COALApi(config);
1757
+
1758
+ const body = {
1759
+ // string | Facet ID
1760
+ facetId: facetId_example,
1761
+ } satisfies V2CoalMineProductionFacetFacetIdGetRequest;
1762
+
1763
+ try {
1764
+ const data = await api.v2CoalMineProductionFacetFacetIdGet(body);
1765
+ console.log(data);
1766
+ } catch (error) {
1767
+ console.error(error);
1768
+ }
1769
+ }
1770
+
1771
+ // Run the test
1772
+ example().catch(console.error);
1773
+ ```
1774
+
1775
+ ### Parameters
1776
+
1777
+
1778
+ | Name | Type | Description | Notes |
1779
+ |------------- | ------------- | ------------- | -------------|
1780
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
1781
+
1782
+ ### Return type
1783
+
1784
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
1785
+
1786
+ ### Authorization
1787
+
1788
+ [api_key](../README.md#api_key)
1789
+
1790
+ ### HTTP request headers
1791
+
1792
+ - **Content-Type**: Not defined
1793
+ - **Accept**: `application/json`
1794
+
1795
+
1796
+ ### HTTP response details
1797
+ | Status code | Description | Response headers |
1798
+ |-------------|-------------|------------------|
1799
+ | **400** | Invalid input | - |
1800
+ | **200** | Facet details | - |
1801
+
1802
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1803
+
1804
+
1805
+ ## v2CoalMineProductionFacetGet
1806
+
1807
+ > FacetOptionListContainer v2CoalMineProductionFacetGet()
1808
+
1809
+
1810
+
1811
+ ### Example
1812
+
1813
+ ```ts
1814
+ import {
1815
+ Configuration,
1816
+ COALApi,
1817
+ } from '';
1818
+ import type { V2CoalMineProductionFacetGetRequest } from '';
1819
+
1820
+ async function example() {
1821
+ console.log("🚀 Testing SDK...");
1822
+ const config = new Configuration({
1823
+ // To configure API key authorization: api_key
1824
+ apiKey: "YOUR API KEY",
1825
+ });
1826
+ const api = new COALApi(config);
1827
+
1828
+ try {
1829
+ const data = await api.v2CoalMineProductionFacetGet();
1830
+ console.log(data);
1831
+ } catch (error) {
1832
+ console.error(error);
1833
+ }
1834
+ }
1835
+
1836
+ // Run the test
1837
+ example().catch(console.error);
1838
+ ```
1839
+
1840
+ ### Parameters
1841
+
1842
+ This endpoint does not need any parameter.
1843
+
1844
+ ### Return type
1845
+
1846
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
1847
+
1848
+ ### Authorization
1849
+
1850
+ [api_key](../README.md#api_key)
1851
+
1852
+ ### HTTP request headers
1853
+
1854
+ - **Content-Type**: Not defined
1855
+ - **Accept**: `application/json`
1856
+
1857
+
1858
+ ### HTTP response details
1859
+ | Status code | Description | Response headers |
1860
+ |-------------|-------------|------------------|
1861
+ | **400** | Invalid input | - |
1862
+ | **200** | List of facet options | - |
1863
+
1864
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1865
+
1866
+
1867
+ ## v2CoalMineProductionGet
1868
+
1869
+ > FinalRouteResponseContainer v2CoalMineProductionGet()
1870
+
1871
+
1872
+
1873
+ ### Example
1874
+
1875
+ ```ts
1876
+ import {
1877
+ Configuration,
1878
+ COALApi,
1879
+ } from '';
1880
+ import type { V2CoalMineProductionGetRequest } from '';
1881
+
1882
+ async function example() {
1883
+ console.log("🚀 Testing SDK...");
1884
+ const config = new Configuration({
1885
+ // To configure API key authorization: api_key
1886
+ apiKey: "YOUR API KEY",
1887
+ });
1888
+ const api = new COALApi(config);
1889
+
1890
+ try {
1891
+ const data = await api.v2CoalMineProductionGet();
1892
+ console.log(data);
1893
+ } catch (error) {
1894
+ console.error(error);
1895
+ }
1896
+ }
1897
+
1898
+ // Run the test
1899
+ example().catch(console.error);
1900
+ ```
1901
+
1902
+ ### Parameters
1903
+
1904
+ This endpoint does not need any parameter.
1905
+
1906
+ ### Return type
1907
+
1908
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
1909
+
1910
+ ### Authorization
1911
+
1912
+ [api_key](../README.md#api_key)
1913
+
1914
+ ### HTTP request headers
1915
+
1916
+ - **Content-Type**: Not defined
1917
+ - **Accept**: `application/json`
1918
+
1919
+
1920
+ ### HTTP response details
1921
+ | Status code | Description | Response headers |
1922
+ |-------------|-------------|------------------|
1923
+ | **200** | List of API data sets | - |
1924
+
1925
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1926
+
1927
+
1928
+ ## v2CoalPriceByRankDataGet
1929
+
1930
+ > DataResponseContainer v2CoalPriceByRankDataGet(data, facets, frequency, start, end, sort, length, offset)
1931
+
1932
+
1933
+
1934
+ API data with query params
1935
+
1936
+ ### Example
1937
+
1938
+ ```ts
1939
+ import {
1940
+ Configuration,
1941
+ COALApi,
1942
+ } from '';
1943
+ import type { V2CoalPriceByRankDataGetRequest } from '';
1944
+
1945
+ async function example() {
1946
+ console.log("🚀 Testing SDK...");
1947
+ const config = new Configuration({
1948
+ // To configure API key authorization: api_key
1949
+ apiKey: "YOUR API KEY",
1950
+ });
1951
+ const api = new COALApi(config);
1952
+
1953
+ const body = {
1954
+ // Array<string> | Data columns to filter by (optional)
1955
+ data: ...,
1956
+ // object | Facets to filter by (optional)
1957
+ facets: Object,
1958
+ // string | Frequency to filter by (optional)
1959
+ frequency: frequency_example,
1960
+ // string | Start date to filter by (optional)
1961
+ start: start_example,
1962
+ // string | End date to filter by (optional)
1963
+ end: end_example,
1964
+ // Sort | How to sort returned data (optional)
1965
+ sort: ...,
1966
+ // number | Max length of returned data (optional)
1967
+ length: 56,
1968
+ // number | Offset of returned data (optional)
1969
+ offset: 56,
1970
+ } satisfies V2CoalPriceByRankDataGetRequest;
1971
+
1972
+ try {
1973
+ const data = await api.v2CoalPriceByRankDataGet(body);
1974
+ console.log(data);
1975
+ } catch (error) {
1976
+ console.error(error);
1977
+ }
1978
+ }
1979
+
1980
+ // Run the test
1981
+ example().catch(console.error);
1982
+ ```
1983
+
1984
+ ### Parameters
1985
+
1986
+
1987
+ | Name | Type | Description | Notes |
1988
+ |------------- | ------------- | ------------- | -------------|
1989
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
1990
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
1991
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
1992
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
1993
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
1994
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
1995
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
1996
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
1997
+
1998
+ ### Return type
1999
+
2000
+ [**DataResponseContainer**](DataResponseContainer.md)
2001
+
2002
+ ### Authorization
2003
+
2004
+ [api_key](../README.md#api_key)
2005
+
2006
+ ### HTTP request headers
2007
+
2008
+ - **Content-Type**: Not defined
2009
+ - **Accept**: `application/json`
2010
+
2011
+
2012
+ ### HTTP response details
2013
+ | Status code | Description | Response headers |
2014
+ |-------------|-------------|------------------|
2015
+ | **400** | Invalid input | - |
2016
+ | **200** | API Data | - |
2017
+
2018
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2019
+
2020
+
2021
+ ## v2CoalPriceByRankDataPost
2022
+
2023
+ > DataResponseContainer v2CoalPriceByRankDataPost(dataParams)
2024
+
2025
+ Return price-by-rank Data
2026
+
2027
+ Class PriceByRankController Price By Rank data set top-level controller.
2028
+
2029
+ ### Example
2030
+
2031
+ ```ts
2032
+ import {
2033
+ Configuration,
2034
+ COALApi,
2035
+ } from '';
2036
+ import type { V2CoalPriceByRankDataPostRequest } from '';
2037
+
2038
+ async function example() {
2039
+ console.log("🚀 Testing SDK...");
2040
+ const config = new Configuration({
2041
+ // To configure API key authorization: api_key
2042
+ apiKey: "YOUR API KEY",
2043
+ });
2044
+ const api = new COALApi(config);
2045
+
2046
+ const body = {
2047
+ // DataParams | Parameters for data call
2048
+ dataParams: ...,
2049
+ } satisfies V2CoalPriceByRankDataPostRequest;
2050
+
2051
+ try {
2052
+ const data = await api.v2CoalPriceByRankDataPost(body);
2053
+ console.log(data);
2054
+ } catch (error) {
2055
+ console.error(error);
2056
+ }
2057
+ }
2058
+
2059
+ // Run the test
2060
+ example().catch(console.error);
2061
+ ```
2062
+
2063
+ ### Parameters
2064
+
2065
+
2066
+ | Name | Type | Description | Notes |
2067
+ |------------- | ------------- | ------------- | -------------|
2068
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
2069
+
2070
+ ### Return type
2071
+
2072
+ [**DataResponseContainer**](DataResponseContainer.md)
2073
+
2074
+ ### Authorization
2075
+
2076
+ [api_key](../README.md#api_key)
2077
+
2078
+ ### HTTP request headers
2079
+
2080
+ - **Content-Type**: `application/json`
2081
+ - **Accept**: `application/json`
2082
+
2083
+
2084
+ ### HTTP response details
2085
+ | Status code | Description | Response headers |
2086
+ |-------------|-------------|------------------|
2087
+ | **400** | Invalid input | - |
2088
+ | **200** | API Data | - |
2089
+
2090
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2091
+
2092
+
2093
+ ## v2CoalPriceByRankFacetFacetIdGet
2094
+
2095
+ > FacetDetailsContainer v2CoalPriceByRankFacetFacetIdGet(facetId)
2096
+
2097
+
2098
+
2099
+ ### Example
2100
+
2101
+ ```ts
2102
+ import {
2103
+ Configuration,
2104
+ COALApi,
2105
+ } from '';
2106
+ import type { V2CoalPriceByRankFacetFacetIdGetRequest } from '';
2107
+
2108
+ async function example() {
2109
+ console.log("🚀 Testing SDK...");
2110
+ const config = new Configuration({
2111
+ // To configure API key authorization: api_key
2112
+ apiKey: "YOUR API KEY",
2113
+ });
2114
+ const api = new COALApi(config);
2115
+
2116
+ const body = {
2117
+ // string | Facet ID
2118
+ facetId: facetId_example,
2119
+ } satisfies V2CoalPriceByRankFacetFacetIdGetRequest;
2120
+
2121
+ try {
2122
+ const data = await api.v2CoalPriceByRankFacetFacetIdGet(body);
2123
+ console.log(data);
2124
+ } catch (error) {
2125
+ console.error(error);
2126
+ }
2127
+ }
2128
+
2129
+ // Run the test
2130
+ example().catch(console.error);
2131
+ ```
2132
+
2133
+ ### Parameters
2134
+
2135
+
2136
+ | Name | Type | Description | Notes |
2137
+ |------------- | ------------- | ------------- | -------------|
2138
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
2139
+
2140
+ ### Return type
2141
+
2142
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
2143
+
2144
+ ### Authorization
2145
+
2146
+ [api_key](../README.md#api_key)
2147
+
2148
+ ### HTTP request headers
2149
+
2150
+ - **Content-Type**: Not defined
2151
+ - **Accept**: `application/json`
2152
+
2153
+
2154
+ ### HTTP response details
2155
+ | Status code | Description | Response headers |
2156
+ |-------------|-------------|------------------|
2157
+ | **400** | Invalid input | - |
2158
+ | **200** | Facet details | - |
2159
+
2160
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2161
+
2162
+
2163
+ ## v2CoalPriceByRankFacetGet
2164
+
2165
+ > FacetOptionListContainer v2CoalPriceByRankFacetGet()
2166
+
2167
+
2168
+
2169
+ ### Example
2170
+
2171
+ ```ts
2172
+ import {
2173
+ Configuration,
2174
+ COALApi,
2175
+ } from '';
2176
+ import type { V2CoalPriceByRankFacetGetRequest } from '';
2177
+
2178
+ async function example() {
2179
+ console.log("🚀 Testing SDK...");
2180
+ const config = new Configuration({
2181
+ // To configure API key authorization: api_key
2182
+ apiKey: "YOUR API KEY",
2183
+ });
2184
+ const api = new COALApi(config);
2185
+
2186
+ try {
2187
+ const data = await api.v2CoalPriceByRankFacetGet();
2188
+ console.log(data);
2189
+ } catch (error) {
2190
+ console.error(error);
2191
+ }
2192
+ }
2193
+
2194
+ // Run the test
2195
+ example().catch(console.error);
2196
+ ```
2197
+
2198
+ ### Parameters
2199
+
2200
+ This endpoint does not need any parameter.
2201
+
2202
+ ### Return type
2203
+
2204
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
2205
+
2206
+ ### Authorization
2207
+
2208
+ [api_key](../README.md#api_key)
2209
+
2210
+ ### HTTP request headers
2211
+
2212
+ - **Content-Type**: Not defined
2213
+ - **Accept**: `application/json`
2214
+
2215
+
2216
+ ### HTTP response details
2217
+ | Status code | Description | Response headers |
2218
+ |-------------|-------------|------------------|
2219
+ | **400** | Invalid input | - |
2220
+ | **200** | List of facet options | - |
2221
+
2222
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2223
+
2224
+
2225
+ ## v2CoalPriceByRankGet
2226
+
2227
+ > FinalRouteResponseContainer v2CoalPriceByRankGet()
2228
+
2229
+
2230
+
2231
+ ### Example
2232
+
2233
+ ```ts
2234
+ import {
2235
+ Configuration,
2236
+ COALApi,
2237
+ } from '';
2238
+ import type { V2CoalPriceByRankGetRequest } from '';
2239
+
2240
+ async function example() {
2241
+ console.log("🚀 Testing SDK...");
2242
+ const config = new Configuration({
2243
+ // To configure API key authorization: api_key
2244
+ apiKey: "YOUR API KEY",
2245
+ });
2246
+ const api = new COALApi(config);
2247
+
2248
+ try {
2249
+ const data = await api.v2CoalPriceByRankGet();
2250
+ console.log(data);
2251
+ } catch (error) {
2252
+ console.error(error);
2253
+ }
2254
+ }
2255
+
2256
+ // Run the test
2257
+ example().catch(console.error);
2258
+ ```
2259
+
2260
+ ### Parameters
2261
+
2262
+ This endpoint does not need any parameter.
2263
+
2264
+ ### Return type
2265
+
2266
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
2267
+
2268
+ ### Authorization
2269
+
2270
+ [api_key](../README.md#api_key)
2271
+
2272
+ ### HTTP request headers
2273
+
2274
+ - **Content-Type**: Not defined
2275
+ - **Accept**: `application/json`
2276
+
2277
+
2278
+ ### HTTP response details
2279
+ | Status code | Description | Response headers |
2280
+ |-------------|-------------|------------------|
2281
+ | **200** | List of API data sets | - |
2282
+
2283
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2284
+
2285
+
2286
+ ## v2CoalReservesCapacityDataGet
2287
+
2288
+ > DataResponseContainer v2CoalReservesCapacityDataGet(data, facets, frequency, start, end, sort, length, offset)
2289
+
2290
+
2291
+
2292
+ API data with query params
2293
+
2294
+ ### Example
2295
+
2296
+ ```ts
2297
+ import {
2298
+ Configuration,
2299
+ COALApi,
2300
+ } from '';
2301
+ import type { V2CoalReservesCapacityDataGetRequest } from '';
2302
+
2303
+ async function example() {
2304
+ console.log("🚀 Testing SDK...");
2305
+ const config = new Configuration({
2306
+ // To configure API key authorization: api_key
2307
+ apiKey: "YOUR API KEY",
2308
+ });
2309
+ const api = new COALApi(config);
2310
+
2311
+ const body = {
2312
+ // Array<string> | Data columns to filter by (optional)
2313
+ data: ...,
2314
+ // object | Facets to filter by (optional)
2315
+ facets: Object,
2316
+ // string | Frequency to filter by (optional)
2317
+ frequency: frequency_example,
2318
+ // string | Start date to filter by (optional)
2319
+ start: start_example,
2320
+ // string | End date to filter by (optional)
2321
+ end: end_example,
2322
+ // Sort | How to sort returned data (optional)
2323
+ sort: ...,
2324
+ // number | Max length of returned data (optional)
2325
+ length: 56,
2326
+ // number | Offset of returned data (optional)
2327
+ offset: 56,
2328
+ } satisfies V2CoalReservesCapacityDataGetRequest;
2329
+
2330
+ try {
2331
+ const data = await api.v2CoalReservesCapacityDataGet(body);
2332
+ console.log(data);
2333
+ } catch (error) {
2334
+ console.error(error);
2335
+ }
2336
+ }
2337
+
2338
+ // Run the test
2339
+ example().catch(console.error);
2340
+ ```
2341
+
2342
+ ### Parameters
2343
+
2344
+
2345
+ | Name | Type | Description | Notes |
2346
+ |------------- | ------------- | ------------- | -------------|
2347
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
2348
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
2349
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
2350
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
2351
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
2352
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
2353
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
2354
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
2355
+
2356
+ ### Return type
2357
+
2358
+ [**DataResponseContainer**](DataResponseContainer.md)
2359
+
2360
+ ### Authorization
2361
+
2362
+ [api_key](../README.md#api_key)
2363
+
2364
+ ### HTTP request headers
2365
+
2366
+ - **Content-Type**: Not defined
2367
+ - **Accept**: `application/json`
2368
+
2369
+
2370
+ ### HTTP response details
2371
+ | Status code | Description | Response headers |
2372
+ |-------------|-------------|------------------|
2373
+ | **400** | Invalid input | - |
2374
+ | **200** | API Data | - |
2375
+
2376
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2377
+
2378
+
2379
+ ## v2CoalReservesCapacityDataPost
2380
+
2381
+ > DataResponseContainer v2CoalReservesCapacityDataPost(dataParams)
2382
+
2383
+ Return reserves-capacity data
2384
+
2385
+ Class ReservesCapacityController Reserves Capacity data set top-level controller.
2386
+
2387
+ ### Example
2388
+
2389
+ ```ts
2390
+ import {
2391
+ Configuration,
2392
+ COALApi,
2393
+ } from '';
2394
+ import type { V2CoalReservesCapacityDataPostRequest } from '';
2395
+
2396
+ async function example() {
2397
+ console.log("🚀 Testing SDK...");
2398
+ const config = new Configuration({
2399
+ // To configure API key authorization: api_key
2400
+ apiKey: "YOUR API KEY",
2401
+ });
2402
+ const api = new COALApi(config);
2403
+
2404
+ const body = {
2405
+ // DataParams | Parameters for data call
2406
+ dataParams: ...,
2407
+ } satisfies V2CoalReservesCapacityDataPostRequest;
2408
+
2409
+ try {
2410
+ const data = await api.v2CoalReservesCapacityDataPost(body);
2411
+ console.log(data);
2412
+ } catch (error) {
2413
+ console.error(error);
2414
+ }
2415
+ }
2416
+
2417
+ // Run the test
2418
+ example().catch(console.error);
2419
+ ```
2420
+
2421
+ ### Parameters
2422
+
2423
+
2424
+ | Name | Type | Description | Notes |
2425
+ |------------- | ------------- | ------------- | -------------|
2426
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
2427
+
2428
+ ### Return type
2429
+
2430
+ [**DataResponseContainer**](DataResponseContainer.md)
2431
+
2432
+ ### Authorization
2433
+
2434
+ [api_key](../README.md#api_key)
2435
+
2436
+ ### HTTP request headers
2437
+
2438
+ - **Content-Type**: `application/json`
2439
+ - **Accept**: `application/json`
2440
+
2441
+
2442
+ ### HTTP response details
2443
+ | Status code | Description | Response headers |
2444
+ |-------------|-------------|------------------|
2445
+ | **400** | Invalid input | - |
2446
+ | **200** | API Data | - |
2447
+
2448
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2449
+
2450
+
2451
+ ## v2CoalReservesCapacityFacetFacetIdGet
2452
+
2453
+ > FacetDetailsContainer v2CoalReservesCapacityFacetFacetIdGet(facetId)
2454
+
2455
+
2456
+
2457
+ ### Example
2458
+
2459
+ ```ts
2460
+ import {
2461
+ Configuration,
2462
+ COALApi,
2463
+ } from '';
2464
+ import type { V2CoalReservesCapacityFacetFacetIdGetRequest } from '';
2465
+
2466
+ async function example() {
2467
+ console.log("🚀 Testing SDK...");
2468
+ const config = new Configuration({
2469
+ // To configure API key authorization: api_key
2470
+ apiKey: "YOUR API KEY",
2471
+ });
2472
+ const api = new COALApi(config);
2473
+
2474
+ const body = {
2475
+ // string | Facet ID
2476
+ facetId: facetId_example,
2477
+ } satisfies V2CoalReservesCapacityFacetFacetIdGetRequest;
2478
+
2479
+ try {
2480
+ const data = await api.v2CoalReservesCapacityFacetFacetIdGet(body);
2481
+ console.log(data);
2482
+ } catch (error) {
2483
+ console.error(error);
2484
+ }
2485
+ }
2486
+
2487
+ // Run the test
2488
+ example().catch(console.error);
2489
+ ```
2490
+
2491
+ ### Parameters
2492
+
2493
+
2494
+ | Name | Type | Description | Notes |
2495
+ |------------- | ------------- | ------------- | -------------|
2496
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
2497
+
2498
+ ### Return type
2499
+
2500
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
2501
+
2502
+ ### Authorization
2503
+
2504
+ [api_key](../README.md#api_key)
2505
+
2506
+ ### HTTP request headers
2507
+
2508
+ - **Content-Type**: Not defined
2509
+ - **Accept**: `application/json`
2510
+
2511
+
2512
+ ### HTTP response details
2513
+ | Status code | Description | Response headers |
2514
+ |-------------|-------------|------------------|
2515
+ | **400** | Invalid input | - |
2516
+ | **200** | Facet details | - |
2517
+
2518
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2519
+
2520
+
2521
+ ## v2CoalReservesCapacityFacetGet
2522
+
2523
+ > FacetOptionListContainer v2CoalReservesCapacityFacetGet()
2524
+
2525
+
2526
+
2527
+ ### Example
2528
+
2529
+ ```ts
2530
+ import {
2531
+ Configuration,
2532
+ COALApi,
2533
+ } from '';
2534
+ import type { V2CoalReservesCapacityFacetGetRequest } from '';
2535
+
2536
+ async function example() {
2537
+ console.log("🚀 Testing SDK...");
2538
+ const config = new Configuration({
2539
+ // To configure API key authorization: api_key
2540
+ apiKey: "YOUR API KEY",
2541
+ });
2542
+ const api = new COALApi(config);
2543
+
2544
+ try {
2545
+ const data = await api.v2CoalReservesCapacityFacetGet();
2546
+ console.log(data);
2547
+ } catch (error) {
2548
+ console.error(error);
2549
+ }
2550
+ }
2551
+
2552
+ // Run the test
2553
+ example().catch(console.error);
2554
+ ```
2555
+
2556
+ ### Parameters
2557
+
2558
+ This endpoint does not need any parameter.
2559
+
2560
+ ### Return type
2561
+
2562
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
2563
+
2564
+ ### Authorization
2565
+
2566
+ [api_key](../README.md#api_key)
2567
+
2568
+ ### HTTP request headers
2569
+
2570
+ - **Content-Type**: Not defined
2571
+ - **Accept**: `application/json`
2572
+
2573
+
2574
+ ### HTTP response details
2575
+ | Status code | Description | Response headers |
2576
+ |-------------|-------------|------------------|
2577
+ | **400** | Invalid input | - |
2578
+ | **200** | List of facet options | - |
2579
+
2580
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2581
+
2582
+
2583
+ ## v2CoalReservesCapacityGet
2584
+
2585
+ > FinalRouteResponseContainer v2CoalReservesCapacityGet()
2586
+
2587
+
2588
+
2589
+ ### Example
2590
+
2591
+ ```ts
2592
+ import {
2593
+ Configuration,
2594
+ COALApi,
2595
+ } from '';
2596
+ import type { V2CoalReservesCapacityGetRequest } from '';
2597
+
2598
+ async function example() {
2599
+ console.log("🚀 Testing SDK...");
2600
+ const config = new Configuration({
2601
+ // To configure API key authorization: api_key
2602
+ apiKey: "YOUR API KEY",
2603
+ });
2604
+ const api = new COALApi(config);
2605
+
2606
+ try {
2607
+ const data = await api.v2CoalReservesCapacityGet();
2608
+ console.log(data);
2609
+ } catch (error) {
2610
+ console.error(error);
2611
+ }
2612
+ }
2613
+
2614
+ // Run the test
2615
+ example().catch(console.error);
2616
+ ```
2617
+
2618
+ ### Parameters
2619
+
2620
+ This endpoint does not need any parameter.
2621
+
2622
+ ### Return type
2623
+
2624
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
2625
+
2626
+ ### Authorization
2627
+
2628
+ [api_key](../README.md#api_key)
2629
+
2630
+ ### HTTP request headers
2631
+
2632
+ - **Content-Type**: Not defined
2633
+ - **Accept**: `application/json`
2634
+
2635
+
2636
+ ### HTTP response details
2637
+ | Status code | Description | Response headers |
2638
+ |-------------|-------------|------------------|
2639
+ | **200** | List of API data sets | - |
2640
+
2641
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2642
+
2643
+
2644
+ ## v2CoalShipmentsByMineByPlantDataGet
2645
+
2646
+ > DataResponseContainer v2CoalShipmentsByMineByPlantDataGet(data, facets, frequency, start, end, sort, length, offset)
2647
+
2648
+
2649
+
2650
+ API data with query params
2651
+
2652
+ ### Example
2653
+
2654
+ ```ts
2655
+ import {
2656
+ Configuration,
2657
+ COALApi,
2658
+ } from '';
2659
+ import type { V2CoalShipmentsByMineByPlantDataGetRequest } from '';
2660
+
2661
+ async function example() {
2662
+ console.log("🚀 Testing SDK...");
2663
+ const config = new Configuration({
2664
+ // To configure API key authorization: api_key
2665
+ apiKey: "YOUR API KEY",
2666
+ });
2667
+ const api = new COALApi(config);
2668
+
2669
+ const body = {
2670
+ // Array<string> | Data columns to filter by (optional)
2671
+ data: ...,
2672
+ // object | Facets to filter by (optional)
2673
+ facets: Object,
2674
+ // string | Frequency to filter by (optional)
2675
+ frequency: frequency_example,
2676
+ // string | Start date to filter by (optional)
2677
+ start: start_example,
2678
+ // string | End date to filter by (optional)
2679
+ end: end_example,
2680
+ // Sort | How to sort returned data (optional)
2681
+ sort: ...,
2682
+ // number | Max length of returned data (optional)
2683
+ length: 56,
2684
+ // number | Offset of returned data (optional)
2685
+ offset: 56,
2686
+ } satisfies V2CoalShipmentsByMineByPlantDataGetRequest;
2687
+
2688
+ try {
2689
+ const data = await api.v2CoalShipmentsByMineByPlantDataGet(body);
2690
+ console.log(data);
2691
+ } catch (error) {
2692
+ console.error(error);
2693
+ }
2694
+ }
2695
+
2696
+ // Run the test
2697
+ example().catch(console.error);
2698
+ ```
2699
+
2700
+ ### Parameters
2701
+
2702
+
2703
+ | Name | Type | Description | Notes |
2704
+ |------------- | ------------- | ------------- | -------------|
2705
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
2706
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
2707
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
2708
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
2709
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
2710
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
2711
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
2712
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
2713
+
2714
+ ### Return type
2715
+
2716
+ [**DataResponseContainer**](DataResponseContainer.md)
2717
+
2718
+ ### Authorization
2719
+
2720
+ [api_key](../README.md#api_key)
2721
+
2722
+ ### HTTP request headers
2723
+
2724
+ - **Content-Type**: Not defined
2725
+ - **Accept**: `application/json`
2726
+
2727
+
2728
+ ### HTTP response details
2729
+ | Status code | Description | Response headers |
2730
+ |-------------|-------------|------------------|
2731
+ | **400** | Invalid input | - |
2732
+ | **200** | API Data | - |
2733
+
2734
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2735
+
2736
+
2737
+ ## v2CoalShipmentsByMineByPlantDataPost
2738
+
2739
+ > DataResponseContainer v2CoalShipmentsByMineByPlantDataPost(dataParams)
2740
+
2741
+ Return shipments by-mine-by-plant data
2742
+
2743
+ ### Example
2744
+
2745
+ ```ts
2746
+ import {
2747
+ Configuration,
2748
+ COALApi,
2749
+ } from '';
2750
+ import type { V2CoalShipmentsByMineByPlantDataPostRequest } from '';
2751
+
2752
+ async function example() {
2753
+ console.log("🚀 Testing SDK...");
2754
+ const config = new Configuration({
2755
+ // To configure API key authorization: api_key
2756
+ apiKey: "YOUR API KEY",
2757
+ });
2758
+ const api = new COALApi(config);
2759
+
2760
+ const body = {
2761
+ // DataParams | Parameters for data call
2762
+ dataParams: ...,
2763
+ } satisfies V2CoalShipmentsByMineByPlantDataPostRequest;
2764
+
2765
+ try {
2766
+ const data = await api.v2CoalShipmentsByMineByPlantDataPost(body);
2767
+ console.log(data);
2768
+ } catch (error) {
2769
+ console.error(error);
2770
+ }
2771
+ }
2772
+
2773
+ // Run the test
2774
+ example().catch(console.error);
2775
+ ```
2776
+
2777
+ ### Parameters
2778
+
2779
+
2780
+ | Name | Type | Description | Notes |
2781
+ |------------- | ------------- | ------------- | -------------|
2782
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
2783
+
2784
+ ### Return type
2785
+
2786
+ [**DataResponseContainer**](DataResponseContainer.md)
2787
+
2788
+ ### Authorization
2789
+
2790
+ [api_key](../README.md#api_key)
2791
+
2792
+ ### HTTP request headers
2793
+
2794
+ - **Content-Type**: `application/json`
2795
+ - **Accept**: `application/json`
2796
+
2797
+
2798
+ ### HTTP response details
2799
+ | Status code | Description | Response headers |
2800
+ |-------------|-------------|------------------|
2801
+ | **400** | Invalid input | - |
2802
+ | **200** | API Data | - |
2803
+
2804
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2805
+
2806
+
2807
+ ## v2CoalShipmentsByMineByPlantFacetFacetIdGet
2808
+
2809
+ > FacetDetailsContainer v2CoalShipmentsByMineByPlantFacetFacetIdGet(facetId)
2810
+
2811
+
2812
+
2813
+ ### Example
2814
+
2815
+ ```ts
2816
+ import {
2817
+ Configuration,
2818
+ COALApi,
2819
+ } from '';
2820
+ import type { V2CoalShipmentsByMineByPlantFacetFacetIdGetRequest } from '';
2821
+
2822
+ async function example() {
2823
+ console.log("🚀 Testing SDK...");
2824
+ const config = new Configuration({
2825
+ // To configure API key authorization: api_key
2826
+ apiKey: "YOUR API KEY",
2827
+ });
2828
+ const api = new COALApi(config);
2829
+
2830
+ const body = {
2831
+ // string | Facet ID
2832
+ facetId: facetId_example,
2833
+ } satisfies V2CoalShipmentsByMineByPlantFacetFacetIdGetRequest;
2834
+
2835
+ try {
2836
+ const data = await api.v2CoalShipmentsByMineByPlantFacetFacetIdGet(body);
2837
+ console.log(data);
2838
+ } catch (error) {
2839
+ console.error(error);
2840
+ }
2841
+ }
2842
+
2843
+ // Run the test
2844
+ example().catch(console.error);
2845
+ ```
2846
+
2847
+ ### Parameters
2848
+
2849
+
2850
+ | Name | Type | Description | Notes |
2851
+ |------------- | ------------- | ------------- | -------------|
2852
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
2853
+
2854
+ ### Return type
2855
+
2856
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
2857
+
2858
+ ### Authorization
2859
+
2860
+ [api_key](../README.md#api_key)
2861
+
2862
+ ### HTTP request headers
2863
+
2864
+ - **Content-Type**: Not defined
2865
+ - **Accept**: `application/json`
2866
+
2867
+
2868
+ ### HTTP response details
2869
+ | Status code | Description | Response headers |
2870
+ |-------------|-------------|------------------|
2871
+ | **400** | Invalid input | - |
2872
+ | **200** | Facet details | - |
2873
+
2874
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2875
+
2876
+
2877
+ ## v2CoalShipmentsByMineByPlantFacetGet
2878
+
2879
+ > FacetOptionListContainer v2CoalShipmentsByMineByPlantFacetGet()
2880
+
2881
+
2882
+
2883
+ ### Example
2884
+
2885
+ ```ts
2886
+ import {
2887
+ Configuration,
2888
+ COALApi,
2889
+ } from '';
2890
+ import type { V2CoalShipmentsByMineByPlantFacetGetRequest } from '';
2891
+
2892
+ async function example() {
2893
+ console.log("🚀 Testing SDK...");
2894
+ const config = new Configuration({
2895
+ // To configure API key authorization: api_key
2896
+ apiKey: "YOUR API KEY",
2897
+ });
2898
+ const api = new COALApi(config);
2899
+
2900
+ try {
2901
+ const data = await api.v2CoalShipmentsByMineByPlantFacetGet();
2902
+ console.log(data);
2903
+ } catch (error) {
2904
+ console.error(error);
2905
+ }
2906
+ }
2907
+
2908
+ // Run the test
2909
+ example().catch(console.error);
2910
+ ```
2911
+
2912
+ ### Parameters
2913
+
2914
+ This endpoint does not need any parameter.
2915
+
2916
+ ### Return type
2917
+
2918
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
2919
+
2920
+ ### Authorization
2921
+
2922
+ [api_key](../README.md#api_key)
2923
+
2924
+ ### HTTP request headers
2925
+
2926
+ - **Content-Type**: Not defined
2927
+ - **Accept**: `application/json`
2928
+
2929
+
2930
+ ### HTTP response details
2931
+ | Status code | Description | Response headers |
2932
+ |-------------|-------------|------------------|
2933
+ | **400** | Invalid input | - |
2934
+ | **200** | List of facet options | - |
2935
+
2936
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2937
+
2938
+
2939
+ ## v2CoalShipmentsByMineByPlantGet
2940
+
2941
+ > FinalRouteResponseContainer v2CoalShipmentsByMineByPlantGet()
2942
+
2943
+
2944
+
2945
+ ### Example
2946
+
2947
+ ```ts
2948
+ import {
2949
+ Configuration,
2950
+ COALApi,
2951
+ } from '';
2952
+ import type { V2CoalShipmentsByMineByPlantGetRequest } from '';
2953
+
2954
+ async function example() {
2955
+ console.log("🚀 Testing SDK...");
2956
+ const config = new Configuration({
2957
+ // To configure API key authorization: api_key
2958
+ apiKey: "YOUR API KEY",
2959
+ });
2960
+ const api = new COALApi(config);
2961
+
2962
+ try {
2963
+ const data = await api.v2CoalShipmentsByMineByPlantGet();
2964
+ console.log(data);
2965
+ } catch (error) {
2966
+ console.error(error);
2967
+ }
2968
+ }
2969
+
2970
+ // Run the test
2971
+ example().catch(console.error);
2972
+ ```
2973
+
2974
+ ### Parameters
2975
+
2976
+ This endpoint does not need any parameter.
2977
+
2978
+ ### Return type
2979
+
2980
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
2981
+
2982
+ ### Authorization
2983
+
2984
+ [api_key](../README.md#api_key)
2985
+
2986
+ ### HTTP request headers
2987
+
2988
+ - **Content-Type**: Not defined
2989
+ - **Accept**: `application/json`
2990
+
2991
+
2992
+ ### HTTP response details
2993
+ | Status code | Description | Response headers |
2994
+ |-------------|-------------|------------------|
2995
+ | **200** | List of API data sets | - |
2996
+
2997
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2998
+
2999
+
3000
+ ## v2CoalShipmentsGet
3001
+
3002
+ > RouteResponseContainer v2CoalShipmentsGet()
3003
+
3004
+ Class CoalController
3005
+
3006
+ Coal data set top-level controller.
3007
+
3008
+ ### Example
3009
+
3010
+ ```ts
3011
+ import {
3012
+ Configuration,
3013
+ COALApi,
3014
+ } from '';
3015
+ import type { V2CoalShipmentsGetRequest } from '';
3016
+
3017
+ async function example() {
3018
+ console.log("🚀 Testing SDK...");
3019
+ const config = new Configuration({
3020
+ // To configure API key authorization: api_key
3021
+ apiKey: "YOUR API KEY",
3022
+ });
3023
+ const api = new COALApi(config);
3024
+
3025
+ try {
3026
+ const data = await api.v2CoalShipmentsGet();
3027
+ console.log(data);
3028
+ } catch (error) {
3029
+ console.error(error);
3030
+ }
3031
+ }
3032
+
3033
+ // Run the test
3034
+ example().catch(console.error);
3035
+ ```
3036
+
3037
+ ### Parameters
3038
+
3039
+ This endpoint does not need any parameter.
3040
+
3041
+ ### Return type
3042
+
3043
+ [**RouteResponseContainer**](RouteResponseContainer.md)
3044
+
3045
+ ### Authorization
3046
+
3047
+ [api_key](../README.md#api_key)
3048
+
3049
+ ### HTTP request headers
3050
+
3051
+ - **Content-Type**: Not defined
3052
+ - **Accept**: `application/json`
3053
+
3054
+
3055
+ ### HTTP response details
3056
+ | Status code | Description | Response headers |
3057
+ |-------------|-------------|------------------|
3058
+ | **200** | List of API data sets | - |
3059
+
3060
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3061
+
3062
+
3063
+ ## v2CoalShipmentsMineAggregatesDataGet
3064
+
3065
+ > DataResponseContainer v2CoalShipmentsMineAggregatesDataGet(data, facets, frequency, start, end, sort, length, offset)
3066
+
3067
+
3068
+
3069
+ API data with query params
3070
+
3071
+ ### Example
3072
+
3073
+ ```ts
3074
+ import {
3075
+ Configuration,
3076
+ COALApi,
3077
+ } from '';
3078
+ import type { V2CoalShipmentsMineAggregatesDataGetRequest } from '';
3079
+
3080
+ async function example() {
3081
+ console.log("🚀 Testing SDK...");
3082
+ const config = new Configuration({
3083
+ // To configure API key authorization: api_key
3084
+ apiKey: "YOUR API KEY",
3085
+ });
3086
+ const api = new COALApi(config);
3087
+
3088
+ const body = {
3089
+ // Array<string> | Data columns to filter by (optional)
3090
+ data: ...,
3091
+ // object | Facets to filter by (optional)
3092
+ facets: Object,
3093
+ // string | Frequency to filter by (optional)
3094
+ frequency: frequency_example,
3095
+ // string | Start date to filter by (optional)
3096
+ start: start_example,
3097
+ // string | End date to filter by (optional)
3098
+ end: end_example,
3099
+ // Sort | How to sort returned data (optional)
3100
+ sort: ...,
3101
+ // number | Max length of returned data (optional)
3102
+ length: 56,
3103
+ // number | Offset of returned data (optional)
3104
+ offset: 56,
3105
+ } satisfies V2CoalShipmentsMineAggregatesDataGetRequest;
3106
+
3107
+ try {
3108
+ const data = await api.v2CoalShipmentsMineAggregatesDataGet(body);
3109
+ console.log(data);
3110
+ } catch (error) {
3111
+ console.error(error);
3112
+ }
3113
+ }
3114
+
3115
+ // Run the test
3116
+ example().catch(console.error);
3117
+ ```
3118
+
3119
+ ### Parameters
3120
+
3121
+
3122
+ | Name | Type | Description | Notes |
3123
+ |------------- | ------------- | ------------- | -------------|
3124
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
3125
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
3126
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
3127
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
3128
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
3129
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
3130
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
3131
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
3132
+
3133
+ ### Return type
3134
+
3135
+ [**DataResponseContainer**](DataResponseContainer.md)
3136
+
3137
+ ### Authorization
3138
+
3139
+ [api_key](../README.md#api_key)
3140
+
3141
+ ### HTTP request headers
3142
+
3143
+ - **Content-Type**: Not defined
3144
+ - **Accept**: `application/json`
3145
+
3146
+
3147
+ ### HTTP response details
3148
+ | Status code | Description | Response headers |
3149
+ |-------------|-------------|------------------|
3150
+ | **400** | Invalid input | - |
3151
+ | **200** | API Data | - |
3152
+
3153
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3154
+
3155
+
3156
+ ## v2CoalShipmentsMineAggregatesDataPost
3157
+
3158
+ > DataResponseContainer v2CoalShipmentsMineAggregatesDataPost(dataParams)
3159
+
3160
+ Return shipments mine-aggregates data
3161
+
3162
+ ### Example
3163
+
3164
+ ```ts
3165
+ import {
3166
+ Configuration,
3167
+ COALApi,
3168
+ } from '';
3169
+ import type { V2CoalShipmentsMineAggregatesDataPostRequest } from '';
3170
+
3171
+ async function example() {
3172
+ console.log("🚀 Testing SDK...");
3173
+ const config = new Configuration({
3174
+ // To configure API key authorization: api_key
3175
+ apiKey: "YOUR API KEY",
3176
+ });
3177
+ const api = new COALApi(config);
3178
+
3179
+ const body = {
3180
+ // DataParams | Parameters for data call
3181
+ dataParams: ...,
3182
+ } satisfies V2CoalShipmentsMineAggregatesDataPostRequest;
3183
+
3184
+ try {
3185
+ const data = await api.v2CoalShipmentsMineAggregatesDataPost(body);
3186
+ console.log(data);
3187
+ } catch (error) {
3188
+ console.error(error);
3189
+ }
3190
+ }
3191
+
3192
+ // Run the test
3193
+ example().catch(console.error);
3194
+ ```
3195
+
3196
+ ### Parameters
3197
+
3198
+
3199
+ | Name | Type | Description | Notes |
3200
+ |------------- | ------------- | ------------- | -------------|
3201
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
3202
+
3203
+ ### Return type
3204
+
3205
+ [**DataResponseContainer**](DataResponseContainer.md)
3206
+
3207
+ ### Authorization
3208
+
3209
+ [api_key](../README.md#api_key)
3210
+
3211
+ ### HTTP request headers
3212
+
3213
+ - **Content-Type**: `application/json`
3214
+ - **Accept**: `application/json`
3215
+
3216
+
3217
+ ### HTTP response details
3218
+ | Status code | Description | Response headers |
3219
+ |-------------|-------------|------------------|
3220
+ | **400** | Invalid input | - |
3221
+ | **200** | API Data | - |
3222
+
3223
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3224
+
3225
+
3226
+ ## v2CoalShipmentsMineAggregatesFacetFacetIdGet
3227
+
3228
+ > FacetDetailsContainer v2CoalShipmentsMineAggregatesFacetFacetIdGet(facetId)
3229
+
3230
+
3231
+
3232
+ ### Example
3233
+
3234
+ ```ts
3235
+ import {
3236
+ Configuration,
3237
+ COALApi,
3238
+ } from '';
3239
+ import type { V2CoalShipmentsMineAggregatesFacetFacetIdGetRequest } from '';
3240
+
3241
+ async function example() {
3242
+ console.log("🚀 Testing SDK...");
3243
+ const config = new Configuration({
3244
+ // To configure API key authorization: api_key
3245
+ apiKey: "YOUR API KEY",
3246
+ });
3247
+ const api = new COALApi(config);
3248
+
3249
+ const body = {
3250
+ // string | Facet ID
3251
+ facetId: facetId_example,
3252
+ } satisfies V2CoalShipmentsMineAggregatesFacetFacetIdGetRequest;
3253
+
3254
+ try {
3255
+ const data = await api.v2CoalShipmentsMineAggregatesFacetFacetIdGet(body);
3256
+ console.log(data);
3257
+ } catch (error) {
3258
+ console.error(error);
3259
+ }
3260
+ }
3261
+
3262
+ // Run the test
3263
+ example().catch(console.error);
3264
+ ```
3265
+
3266
+ ### Parameters
3267
+
3268
+
3269
+ | Name | Type | Description | Notes |
3270
+ |------------- | ------------- | ------------- | -------------|
3271
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
3272
+
3273
+ ### Return type
3274
+
3275
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
3276
+
3277
+ ### Authorization
3278
+
3279
+ [api_key](../README.md#api_key)
3280
+
3281
+ ### HTTP request headers
3282
+
3283
+ - **Content-Type**: Not defined
3284
+ - **Accept**: `application/json`
3285
+
3286
+
3287
+ ### HTTP response details
3288
+ | Status code | Description | Response headers |
3289
+ |-------------|-------------|------------------|
3290
+ | **400** | Invalid input | - |
3291
+ | **200** | Facet details | - |
3292
+
3293
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3294
+
3295
+
3296
+ ## v2CoalShipmentsMineAggregatesFacetGet
3297
+
3298
+ > FacetOptionListContainer v2CoalShipmentsMineAggregatesFacetGet()
3299
+
3300
+
3301
+
3302
+ ### Example
3303
+
3304
+ ```ts
3305
+ import {
3306
+ Configuration,
3307
+ COALApi,
3308
+ } from '';
3309
+ import type { V2CoalShipmentsMineAggregatesFacetGetRequest } from '';
3310
+
3311
+ async function example() {
3312
+ console.log("🚀 Testing SDK...");
3313
+ const config = new Configuration({
3314
+ // To configure API key authorization: api_key
3315
+ apiKey: "YOUR API KEY",
3316
+ });
3317
+ const api = new COALApi(config);
3318
+
3319
+ try {
3320
+ const data = await api.v2CoalShipmentsMineAggregatesFacetGet();
3321
+ console.log(data);
3322
+ } catch (error) {
3323
+ console.error(error);
3324
+ }
3325
+ }
3326
+
3327
+ // Run the test
3328
+ example().catch(console.error);
3329
+ ```
3330
+
3331
+ ### Parameters
3332
+
3333
+ This endpoint does not need any parameter.
3334
+
3335
+ ### Return type
3336
+
3337
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
3338
+
3339
+ ### Authorization
3340
+
3341
+ [api_key](../README.md#api_key)
3342
+
3343
+ ### HTTP request headers
3344
+
3345
+ - **Content-Type**: Not defined
3346
+ - **Accept**: `application/json`
3347
+
3348
+
3349
+ ### HTTP response details
3350
+ | Status code | Description | Response headers |
3351
+ |-------------|-------------|------------------|
3352
+ | **400** | Invalid input | - |
3353
+ | **200** | List of facet options | - |
3354
+
3355
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3356
+
3357
+
3358
+ ## v2CoalShipmentsMineAggregatesGet
3359
+
3360
+ > FinalRouteResponseContainer v2CoalShipmentsMineAggregatesGet()
3361
+
3362
+
3363
+
3364
+ ### Example
3365
+
3366
+ ```ts
3367
+ import {
3368
+ Configuration,
3369
+ COALApi,
3370
+ } from '';
3371
+ import type { V2CoalShipmentsMineAggregatesGetRequest } from '';
3372
+
3373
+ async function example() {
3374
+ console.log("🚀 Testing SDK...");
3375
+ const config = new Configuration({
3376
+ // To configure API key authorization: api_key
3377
+ apiKey: "YOUR API KEY",
3378
+ });
3379
+ const api = new COALApi(config);
3380
+
3381
+ try {
3382
+ const data = await api.v2CoalShipmentsMineAggregatesGet();
3383
+ console.log(data);
3384
+ } catch (error) {
3385
+ console.error(error);
3386
+ }
3387
+ }
3388
+
3389
+ // Run the test
3390
+ example().catch(console.error);
3391
+ ```
3392
+
3393
+ ### Parameters
3394
+
3395
+ This endpoint does not need any parameter.
3396
+
3397
+ ### Return type
3398
+
3399
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
3400
+
3401
+ ### Authorization
3402
+
3403
+ [api_key](../README.md#api_key)
3404
+
3405
+ ### HTTP request headers
3406
+
3407
+ - **Content-Type**: Not defined
3408
+ - **Accept**: `application/json`
3409
+
3410
+
3411
+ ### HTTP response details
3412
+ | Status code | Description | Response headers |
3413
+ |-------------|-------------|------------------|
3414
+ | **200** | List of API data sets | - |
3415
+
3416
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3417
+
3418
+
3419
+ ## v2CoalShipmentsMineStateAggregatesDataGet
3420
+
3421
+ > DataResponseContainer v2CoalShipmentsMineStateAggregatesDataGet(data, facets, frequency, start, end, sort, length, offset)
3422
+
3423
+
3424
+
3425
+ API data with query params
3426
+
3427
+ ### Example
3428
+
3429
+ ```ts
3430
+ import {
3431
+ Configuration,
3432
+ COALApi,
3433
+ } from '';
3434
+ import type { V2CoalShipmentsMineStateAggregatesDataGetRequest } from '';
3435
+
3436
+ async function example() {
3437
+ console.log("🚀 Testing SDK...");
3438
+ const config = new Configuration({
3439
+ // To configure API key authorization: api_key
3440
+ apiKey: "YOUR API KEY",
3441
+ });
3442
+ const api = new COALApi(config);
3443
+
3444
+ const body = {
3445
+ // Array<string> | Data columns to filter by (optional)
3446
+ data: ...,
3447
+ // object | Facets to filter by (optional)
3448
+ facets: Object,
3449
+ // string | Frequency to filter by (optional)
3450
+ frequency: frequency_example,
3451
+ // string | Start date to filter by (optional)
3452
+ start: start_example,
3453
+ // string | End date to filter by (optional)
3454
+ end: end_example,
3455
+ // Sort | How to sort returned data (optional)
3456
+ sort: ...,
3457
+ // number | Max length of returned data (optional)
3458
+ length: 56,
3459
+ // number | Offset of returned data (optional)
3460
+ offset: 56,
3461
+ } satisfies V2CoalShipmentsMineStateAggregatesDataGetRequest;
3462
+
3463
+ try {
3464
+ const data = await api.v2CoalShipmentsMineStateAggregatesDataGet(body);
3465
+ console.log(data);
3466
+ } catch (error) {
3467
+ console.error(error);
3468
+ }
3469
+ }
3470
+
3471
+ // Run the test
3472
+ example().catch(console.error);
3473
+ ```
3474
+
3475
+ ### Parameters
3476
+
3477
+
3478
+ | Name | Type | Description | Notes |
3479
+ |------------- | ------------- | ------------- | -------------|
3480
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
3481
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
3482
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
3483
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
3484
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
3485
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
3486
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
3487
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
3488
+
3489
+ ### Return type
3490
+
3491
+ [**DataResponseContainer**](DataResponseContainer.md)
3492
+
3493
+ ### Authorization
3494
+
3495
+ [api_key](../README.md#api_key)
3496
+
3497
+ ### HTTP request headers
3498
+
3499
+ - **Content-Type**: Not defined
3500
+ - **Accept**: `application/json`
3501
+
3502
+
3503
+ ### HTTP response details
3504
+ | Status code | Description | Response headers |
3505
+ |-------------|-------------|------------------|
3506
+ | **400** | Invalid input | - |
3507
+ | **200** | API Data | - |
3508
+
3509
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3510
+
3511
+
3512
+ ## v2CoalShipmentsMineStateAggregatesDataPost
3513
+
3514
+ > DataResponseContainer v2CoalShipmentsMineStateAggregatesDataPost(dataParams)
3515
+
3516
+ Return shipments mine-state-aggregates data
3517
+
3518
+ ### Example
3519
+
3520
+ ```ts
3521
+ import {
3522
+ Configuration,
3523
+ COALApi,
3524
+ } from '';
3525
+ import type { V2CoalShipmentsMineStateAggregatesDataPostRequest } from '';
3526
+
3527
+ async function example() {
3528
+ console.log("🚀 Testing SDK...");
3529
+ const config = new Configuration({
3530
+ // To configure API key authorization: api_key
3531
+ apiKey: "YOUR API KEY",
3532
+ });
3533
+ const api = new COALApi(config);
3534
+
3535
+ const body = {
3536
+ // DataParams | Parameters for data call
3537
+ dataParams: ...,
3538
+ } satisfies V2CoalShipmentsMineStateAggregatesDataPostRequest;
3539
+
3540
+ try {
3541
+ const data = await api.v2CoalShipmentsMineStateAggregatesDataPost(body);
3542
+ console.log(data);
3543
+ } catch (error) {
3544
+ console.error(error);
3545
+ }
3546
+ }
3547
+
3548
+ // Run the test
3549
+ example().catch(console.error);
3550
+ ```
3551
+
3552
+ ### Parameters
3553
+
3554
+
3555
+ | Name | Type | Description | Notes |
3556
+ |------------- | ------------- | ------------- | -------------|
3557
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
3558
+
3559
+ ### Return type
3560
+
3561
+ [**DataResponseContainer**](DataResponseContainer.md)
3562
+
3563
+ ### Authorization
3564
+
3565
+ [api_key](../README.md#api_key)
3566
+
3567
+ ### HTTP request headers
3568
+
3569
+ - **Content-Type**: `application/json`
3570
+ - **Accept**: `application/json`
3571
+
3572
+
3573
+ ### HTTP response details
3574
+ | Status code | Description | Response headers |
3575
+ |-------------|-------------|------------------|
3576
+ | **400** | Invalid input | - |
3577
+ | **200** | API Data | - |
3578
+
3579
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3580
+
3581
+
3582
+ ## v2CoalShipmentsMineStateAggregatesFacetFacetIdGet
3583
+
3584
+ > FacetDetailsContainer v2CoalShipmentsMineStateAggregatesFacetFacetIdGet(facetId)
3585
+
3586
+
3587
+
3588
+ ### Example
3589
+
3590
+ ```ts
3591
+ import {
3592
+ Configuration,
3593
+ COALApi,
3594
+ } from '';
3595
+ import type { V2CoalShipmentsMineStateAggregatesFacetFacetIdGetRequest } from '';
3596
+
3597
+ async function example() {
3598
+ console.log("🚀 Testing SDK...");
3599
+ const config = new Configuration({
3600
+ // To configure API key authorization: api_key
3601
+ apiKey: "YOUR API KEY",
3602
+ });
3603
+ const api = new COALApi(config);
3604
+
3605
+ const body = {
3606
+ // string | Facet ID
3607
+ facetId: facetId_example,
3608
+ } satisfies V2CoalShipmentsMineStateAggregatesFacetFacetIdGetRequest;
3609
+
3610
+ try {
3611
+ const data = await api.v2CoalShipmentsMineStateAggregatesFacetFacetIdGet(body);
3612
+ console.log(data);
3613
+ } catch (error) {
3614
+ console.error(error);
3615
+ }
3616
+ }
3617
+
3618
+ // Run the test
3619
+ example().catch(console.error);
3620
+ ```
3621
+
3622
+ ### Parameters
3623
+
3624
+
3625
+ | Name | Type | Description | Notes |
3626
+ |------------- | ------------- | ------------- | -------------|
3627
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
3628
+
3629
+ ### Return type
3630
+
3631
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
3632
+
3633
+ ### Authorization
3634
+
3635
+ [api_key](../README.md#api_key)
3636
+
3637
+ ### HTTP request headers
3638
+
3639
+ - **Content-Type**: Not defined
3640
+ - **Accept**: `application/json`
3641
+
3642
+
3643
+ ### HTTP response details
3644
+ | Status code | Description | Response headers |
3645
+ |-------------|-------------|------------------|
3646
+ | **400** | Invalid input | - |
3647
+ | **200** | Facet details | - |
3648
+
3649
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3650
+
3651
+
3652
+ ## v2CoalShipmentsMineStateAggregatesFacetGet
3653
+
3654
+ > FacetOptionListContainer v2CoalShipmentsMineStateAggregatesFacetGet()
3655
+
3656
+
3657
+
3658
+ ### Example
3659
+
3660
+ ```ts
3661
+ import {
3662
+ Configuration,
3663
+ COALApi,
3664
+ } from '';
3665
+ import type { V2CoalShipmentsMineStateAggregatesFacetGetRequest } from '';
3666
+
3667
+ async function example() {
3668
+ console.log("🚀 Testing SDK...");
3669
+ const config = new Configuration({
3670
+ // To configure API key authorization: api_key
3671
+ apiKey: "YOUR API KEY",
3672
+ });
3673
+ const api = new COALApi(config);
3674
+
3675
+ try {
3676
+ const data = await api.v2CoalShipmentsMineStateAggregatesFacetGet();
3677
+ console.log(data);
3678
+ } catch (error) {
3679
+ console.error(error);
3680
+ }
3681
+ }
3682
+
3683
+ // Run the test
3684
+ example().catch(console.error);
3685
+ ```
3686
+
3687
+ ### Parameters
3688
+
3689
+ This endpoint does not need any parameter.
3690
+
3691
+ ### Return type
3692
+
3693
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
3694
+
3695
+ ### Authorization
3696
+
3697
+ [api_key](../README.md#api_key)
3698
+
3699
+ ### HTTP request headers
3700
+
3701
+ - **Content-Type**: Not defined
3702
+ - **Accept**: `application/json`
3703
+
3704
+
3705
+ ### HTTP response details
3706
+ | Status code | Description | Response headers |
3707
+ |-------------|-------------|------------------|
3708
+ | **400** | Invalid input | - |
3709
+ | **200** | List of facet options | - |
3710
+
3711
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3712
+
3713
+
3714
+ ## v2CoalShipmentsMineStateAggregatesGet
3715
+
3716
+ > FinalRouteResponseContainer v2CoalShipmentsMineStateAggregatesGet()
3717
+
3718
+
3719
+
3720
+ ### Example
3721
+
3722
+ ```ts
3723
+ import {
3724
+ Configuration,
3725
+ COALApi,
3726
+ } from '';
3727
+ import type { V2CoalShipmentsMineStateAggregatesGetRequest } from '';
3728
+
3729
+ async function example() {
3730
+ console.log("🚀 Testing SDK...");
3731
+ const config = new Configuration({
3732
+ // To configure API key authorization: api_key
3733
+ apiKey: "YOUR API KEY",
3734
+ });
3735
+ const api = new COALApi(config);
3736
+
3737
+ try {
3738
+ const data = await api.v2CoalShipmentsMineStateAggregatesGet();
3739
+ console.log(data);
3740
+ } catch (error) {
3741
+ console.error(error);
3742
+ }
3743
+ }
3744
+
3745
+ // Run the test
3746
+ example().catch(console.error);
3747
+ ```
3748
+
3749
+ ### Parameters
3750
+
3751
+ This endpoint does not need any parameter.
3752
+
3753
+ ### Return type
3754
+
3755
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
3756
+
3757
+ ### Authorization
3758
+
3759
+ [api_key](../README.md#api_key)
3760
+
3761
+ ### HTTP request headers
3762
+
3763
+ - **Content-Type**: Not defined
3764
+ - **Accept**: `application/json`
3765
+
3766
+
3767
+ ### HTTP response details
3768
+ | Status code | Description | Response headers |
3769
+ |-------------|-------------|------------------|
3770
+ | **200** | List of API data sets | - |
3771
+
3772
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3773
+
3774
+
3775
+ ## v2CoalShipmentsPlantAggregatesDataGet
3776
+
3777
+ > DataResponseContainer v2CoalShipmentsPlantAggregatesDataGet(data, facets, frequency, start, end, sort, length, offset)
3778
+
3779
+
3780
+
3781
+ API data with query params
3782
+
3783
+ ### Example
3784
+
3785
+ ```ts
3786
+ import {
3787
+ Configuration,
3788
+ COALApi,
3789
+ } from '';
3790
+ import type { V2CoalShipmentsPlantAggregatesDataGetRequest } from '';
3791
+
3792
+ async function example() {
3793
+ console.log("🚀 Testing SDK...");
3794
+ const config = new Configuration({
3795
+ // To configure API key authorization: api_key
3796
+ apiKey: "YOUR API KEY",
3797
+ });
3798
+ const api = new COALApi(config);
3799
+
3800
+ const body = {
3801
+ // Array<string> | Data columns to filter by (optional)
3802
+ data: ...,
3803
+ // object | Facets to filter by (optional)
3804
+ facets: Object,
3805
+ // string | Frequency to filter by (optional)
3806
+ frequency: frequency_example,
3807
+ // string | Start date to filter by (optional)
3808
+ start: start_example,
3809
+ // string | End date to filter by (optional)
3810
+ end: end_example,
3811
+ // Sort | How to sort returned data (optional)
3812
+ sort: ...,
3813
+ // number | Max length of returned data (optional)
3814
+ length: 56,
3815
+ // number | Offset of returned data (optional)
3816
+ offset: 56,
3817
+ } satisfies V2CoalShipmentsPlantAggregatesDataGetRequest;
3818
+
3819
+ try {
3820
+ const data = await api.v2CoalShipmentsPlantAggregatesDataGet(body);
3821
+ console.log(data);
3822
+ } catch (error) {
3823
+ console.error(error);
3824
+ }
3825
+ }
3826
+
3827
+ // Run the test
3828
+ example().catch(console.error);
3829
+ ```
3830
+
3831
+ ### Parameters
3832
+
3833
+
3834
+ | Name | Type | Description | Notes |
3835
+ |------------- | ------------- | ------------- | -------------|
3836
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
3837
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
3838
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
3839
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
3840
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
3841
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
3842
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
3843
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
3844
+
3845
+ ### Return type
3846
+
3847
+ [**DataResponseContainer**](DataResponseContainer.md)
3848
+
3849
+ ### Authorization
3850
+
3851
+ [api_key](../README.md#api_key)
3852
+
3853
+ ### HTTP request headers
3854
+
3855
+ - **Content-Type**: Not defined
3856
+ - **Accept**: `application/json`
3857
+
3858
+
3859
+ ### HTTP response details
3860
+ | Status code | Description | Response headers |
3861
+ |-------------|-------------|------------------|
3862
+ | **400** | Invalid input | - |
3863
+ | **200** | API Data | - |
3864
+
3865
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3866
+
3867
+
3868
+ ## v2CoalShipmentsPlantAggregatesDataPost
3869
+
3870
+ > DataResponseContainer v2CoalShipmentsPlantAggregatesDataPost(dataParams)
3871
+
3872
+ Return shipments plant-aggregates data
3873
+
3874
+ Class PlantAggregateController Coal\\Shipments dataset controller.
3875
+
3876
+ ### Example
3877
+
3878
+ ```ts
3879
+ import {
3880
+ Configuration,
3881
+ COALApi,
3882
+ } from '';
3883
+ import type { V2CoalShipmentsPlantAggregatesDataPostRequest } from '';
3884
+
3885
+ async function example() {
3886
+ console.log("🚀 Testing SDK...");
3887
+ const config = new Configuration({
3888
+ // To configure API key authorization: api_key
3889
+ apiKey: "YOUR API KEY",
3890
+ });
3891
+ const api = new COALApi(config);
3892
+
3893
+ const body = {
3894
+ // DataParams | Parameters for data call
3895
+ dataParams: ...,
3896
+ } satisfies V2CoalShipmentsPlantAggregatesDataPostRequest;
3897
+
3898
+ try {
3899
+ const data = await api.v2CoalShipmentsPlantAggregatesDataPost(body);
3900
+ console.log(data);
3901
+ } catch (error) {
3902
+ console.error(error);
3903
+ }
3904
+ }
3905
+
3906
+ // Run the test
3907
+ example().catch(console.error);
3908
+ ```
3909
+
3910
+ ### Parameters
3911
+
3912
+
3913
+ | Name | Type | Description | Notes |
3914
+ |------------- | ------------- | ------------- | -------------|
3915
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
3916
+
3917
+ ### Return type
3918
+
3919
+ [**DataResponseContainer**](DataResponseContainer.md)
3920
+
3921
+ ### Authorization
3922
+
3923
+ [api_key](../README.md#api_key)
3924
+
3925
+ ### HTTP request headers
3926
+
3927
+ - **Content-Type**: `application/json`
3928
+ - **Accept**: `application/json`
3929
+
3930
+
3931
+ ### HTTP response details
3932
+ | Status code | Description | Response headers |
3933
+ |-------------|-------------|------------------|
3934
+ | **400** | Invalid input | - |
3935
+ | **200** | API Data | - |
3936
+
3937
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
3938
+
3939
+
3940
+ ## v2CoalShipmentsPlantAggregatesFacetFacetIdGet
3941
+
3942
+ > FacetDetailsContainer v2CoalShipmentsPlantAggregatesFacetFacetIdGet(facetId)
3943
+
3944
+
3945
+
3946
+ ### Example
3947
+
3948
+ ```ts
3949
+ import {
3950
+ Configuration,
3951
+ COALApi,
3952
+ } from '';
3953
+ import type { V2CoalShipmentsPlantAggregatesFacetFacetIdGetRequest } from '';
3954
+
3955
+ async function example() {
3956
+ console.log("🚀 Testing SDK...");
3957
+ const config = new Configuration({
3958
+ // To configure API key authorization: api_key
3959
+ apiKey: "YOUR API KEY",
3960
+ });
3961
+ const api = new COALApi(config);
3962
+
3963
+ const body = {
3964
+ // string | Facet ID
3965
+ facetId: facetId_example,
3966
+ } satisfies V2CoalShipmentsPlantAggregatesFacetFacetIdGetRequest;
3967
+
3968
+ try {
3969
+ const data = await api.v2CoalShipmentsPlantAggregatesFacetFacetIdGet(body);
3970
+ console.log(data);
3971
+ } catch (error) {
3972
+ console.error(error);
3973
+ }
3974
+ }
3975
+
3976
+ // Run the test
3977
+ example().catch(console.error);
3978
+ ```
3979
+
3980
+ ### Parameters
3981
+
3982
+
3983
+ | Name | Type | Description | Notes |
3984
+ |------------- | ------------- | ------------- | -------------|
3985
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
3986
+
3987
+ ### Return type
3988
+
3989
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
3990
+
3991
+ ### Authorization
3992
+
3993
+ [api_key](../README.md#api_key)
3994
+
3995
+ ### HTTP request headers
3996
+
3997
+ - **Content-Type**: Not defined
3998
+ - **Accept**: `application/json`
3999
+
4000
+
4001
+ ### HTTP response details
4002
+ | Status code | Description | Response headers |
4003
+ |-------------|-------------|------------------|
4004
+ | **400** | Invalid input | - |
4005
+ | **200** | Facet details | - |
4006
+
4007
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4008
+
4009
+
4010
+ ## v2CoalShipmentsPlantAggregatesFacetGet
4011
+
4012
+ > FacetOptionListContainer v2CoalShipmentsPlantAggregatesFacetGet()
4013
+
4014
+
4015
+
4016
+ ### Example
4017
+
4018
+ ```ts
4019
+ import {
4020
+ Configuration,
4021
+ COALApi,
4022
+ } from '';
4023
+ import type { V2CoalShipmentsPlantAggregatesFacetGetRequest } from '';
4024
+
4025
+ async function example() {
4026
+ console.log("🚀 Testing SDK...");
4027
+ const config = new Configuration({
4028
+ // To configure API key authorization: api_key
4029
+ apiKey: "YOUR API KEY",
4030
+ });
4031
+ const api = new COALApi(config);
4032
+
4033
+ try {
4034
+ const data = await api.v2CoalShipmentsPlantAggregatesFacetGet();
4035
+ console.log(data);
4036
+ } catch (error) {
4037
+ console.error(error);
4038
+ }
4039
+ }
4040
+
4041
+ // Run the test
4042
+ example().catch(console.error);
4043
+ ```
4044
+
4045
+ ### Parameters
4046
+
4047
+ This endpoint does not need any parameter.
4048
+
4049
+ ### Return type
4050
+
4051
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
4052
+
4053
+ ### Authorization
4054
+
4055
+ [api_key](../README.md#api_key)
4056
+
4057
+ ### HTTP request headers
4058
+
4059
+ - **Content-Type**: Not defined
4060
+ - **Accept**: `application/json`
4061
+
4062
+
4063
+ ### HTTP response details
4064
+ | Status code | Description | Response headers |
4065
+ |-------------|-------------|------------------|
4066
+ | **400** | Invalid input | - |
4067
+ | **200** | List of facet options | - |
4068
+
4069
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4070
+
4071
+
4072
+ ## v2CoalShipmentsPlantAggregatesGet
4073
+
4074
+ > FinalRouteResponseContainer v2CoalShipmentsPlantAggregatesGet()
4075
+
4076
+
4077
+
4078
+ ### Example
4079
+
4080
+ ```ts
4081
+ import {
4082
+ Configuration,
4083
+ COALApi,
4084
+ } from '';
4085
+ import type { V2CoalShipmentsPlantAggregatesGetRequest } from '';
4086
+
4087
+ async function example() {
4088
+ console.log("🚀 Testing SDK...");
4089
+ const config = new Configuration({
4090
+ // To configure API key authorization: api_key
4091
+ apiKey: "YOUR API KEY",
4092
+ });
4093
+ const api = new COALApi(config);
4094
+
4095
+ try {
4096
+ const data = await api.v2CoalShipmentsPlantAggregatesGet();
4097
+ console.log(data);
4098
+ } catch (error) {
4099
+ console.error(error);
4100
+ }
4101
+ }
4102
+
4103
+ // Run the test
4104
+ example().catch(console.error);
4105
+ ```
4106
+
4107
+ ### Parameters
4108
+
4109
+ This endpoint does not need any parameter.
4110
+
4111
+ ### Return type
4112
+
4113
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
4114
+
4115
+ ### Authorization
4116
+
4117
+ [api_key](../README.md#api_key)
4118
+
4119
+ ### HTTP request headers
4120
+
4121
+ - **Content-Type**: Not defined
4122
+ - **Accept**: `application/json`
4123
+
4124
+
4125
+ ### HTTP response details
4126
+ | Status code | Description | Response headers |
4127
+ |-------------|-------------|------------------|
4128
+ | **200** | List of API data sets | - |
4129
+
4130
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4131
+
4132
+
4133
+ ## v2CoalShipmentsPlantStateAggregatesDataGet
4134
+
4135
+ > DataResponseContainer v2CoalShipmentsPlantStateAggregatesDataGet(data, facets, frequency, start, end, sort, length, offset)
4136
+
4137
+
4138
+
4139
+ API data with query params
4140
+
4141
+ ### Example
4142
+
4143
+ ```ts
4144
+ import {
4145
+ Configuration,
4146
+ COALApi,
4147
+ } from '';
4148
+ import type { V2CoalShipmentsPlantStateAggregatesDataGetRequest } from '';
4149
+
4150
+ async function example() {
4151
+ console.log("🚀 Testing SDK...");
4152
+ const config = new Configuration({
4153
+ // To configure API key authorization: api_key
4154
+ apiKey: "YOUR API KEY",
4155
+ });
4156
+ const api = new COALApi(config);
4157
+
4158
+ const body = {
4159
+ // Array<string> | Data columns to filter by (optional)
4160
+ data: ...,
4161
+ // object | Facets to filter by (optional)
4162
+ facets: Object,
4163
+ // string | Frequency to filter by (optional)
4164
+ frequency: frequency_example,
4165
+ // string | Start date to filter by (optional)
4166
+ start: start_example,
4167
+ // string | End date to filter by (optional)
4168
+ end: end_example,
4169
+ // Sort | How to sort returned data (optional)
4170
+ sort: ...,
4171
+ // number | Max length of returned data (optional)
4172
+ length: 56,
4173
+ // number | Offset of returned data (optional)
4174
+ offset: 56,
4175
+ } satisfies V2CoalShipmentsPlantStateAggregatesDataGetRequest;
4176
+
4177
+ try {
4178
+ const data = await api.v2CoalShipmentsPlantStateAggregatesDataGet(body);
4179
+ console.log(data);
4180
+ } catch (error) {
4181
+ console.error(error);
4182
+ }
4183
+ }
4184
+
4185
+ // Run the test
4186
+ example().catch(console.error);
4187
+ ```
4188
+
4189
+ ### Parameters
4190
+
4191
+
4192
+ | Name | Type | Description | Notes |
4193
+ |------------- | ------------- | ------------- | -------------|
4194
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
4195
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
4196
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
4197
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
4198
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
4199
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
4200
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
4201
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
4202
+
4203
+ ### Return type
4204
+
4205
+ [**DataResponseContainer**](DataResponseContainer.md)
4206
+
4207
+ ### Authorization
4208
+
4209
+ [api_key](../README.md#api_key)
4210
+
4211
+ ### HTTP request headers
4212
+
4213
+ - **Content-Type**: Not defined
4214
+ - **Accept**: `application/json`
4215
+
4216
+
4217
+ ### HTTP response details
4218
+ | Status code | Description | Response headers |
4219
+ |-------------|-------------|------------------|
4220
+ | **400** | Invalid input | - |
4221
+ | **200** | API Data | - |
4222
+
4223
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4224
+
4225
+
4226
+ ## v2CoalShipmentsPlantStateAggregatesDataPost
4227
+
4228
+ > DataResponseContainer v2CoalShipmentsPlantStateAggregatesDataPost(dataParams)
4229
+
4230
+ Return shipments plant-state-aggregates data
4231
+
4232
+ Class PlantStateAggregateController Coal\\Shipments dataset controller.
4233
+
4234
+ ### Example
4235
+
4236
+ ```ts
4237
+ import {
4238
+ Configuration,
4239
+ COALApi,
4240
+ } from '';
4241
+ import type { V2CoalShipmentsPlantStateAggregatesDataPostRequest } from '';
4242
+
4243
+ async function example() {
4244
+ console.log("🚀 Testing SDK...");
4245
+ const config = new Configuration({
4246
+ // To configure API key authorization: api_key
4247
+ apiKey: "YOUR API KEY",
4248
+ });
4249
+ const api = new COALApi(config);
4250
+
4251
+ const body = {
4252
+ // DataParams | Parameters for data call
4253
+ dataParams: ...,
4254
+ } satisfies V2CoalShipmentsPlantStateAggregatesDataPostRequest;
4255
+
4256
+ try {
4257
+ const data = await api.v2CoalShipmentsPlantStateAggregatesDataPost(body);
4258
+ console.log(data);
4259
+ } catch (error) {
4260
+ console.error(error);
4261
+ }
4262
+ }
4263
+
4264
+ // Run the test
4265
+ example().catch(console.error);
4266
+ ```
4267
+
4268
+ ### Parameters
4269
+
4270
+
4271
+ | Name | Type | Description | Notes |
4272
+ |------------- | ------------- | ------------- | -------------|
4273
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
4274
+
4275
+ ### Return type
4276
+
4277
+ [**DataResponseContainer**](DataResponseContainer.md)
4278
+
4279
+ ### Authorization
4280
+
4281
+ [api_key](../README.md#api_key)
4282
+
4283
+ ### HTTP request headers
4284
+
4285
+ - **Content-Type**: `application/json`
4286
+ - **Accept**: `application/json`
4287
+
4288
+
4289
+ ### HTTP response details
4290
+ | Status code | Description | Response headers |
4291
+ |-------------|-------------|------------------|
4292
+ | **400** | Invalid input | - |
4293
+ | **200** | API Data | - |
4294
+
4295
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4296
+
4297
+
4298
+ ## v2CoalShipmentsPlantStateAggregatesFacetFacetIdGet
4299
+
4300
+ > FacetDetailsContainer v2CoalShipmentsPlantStateAggregatesFacetFacetIdGet(facetId)
4301
+
4302
+
4303
+
4304
+ ### Example
4305
+
4306
+ ```ts
4307
+ import {
4308
+ Configuration,
4309
+ COALApi,
4310
+ } from '';
4311
+ import type { V2CoalShipmentsPlantStateAggregatesFacetFacetIdGetRequest } from '';
4312
+
4313
+ async function example() {
4314
+ console.log("🚀 Testing SDK...");
4315
+ const config = new Configuration({
4316
+ // To configure API key authorization: api_key
4317
+ apiKey: "YOUR API KEY",
4318
+ });
4319
+ const api = new COALApi(config);
4320
+
4321
+ const body = {
4322
+ // string | Facet ID
4323
+ facetId: facetId_example,
4324
+ } satisfies V2CoalShipmentsPlantStateAggregatesFacetFacetIdGetRequest;
4325
+
4326
+ try {
4327
+ const data = await api.v2CoalShipmentsPlantStateAggregatesFacetFacetIdGet(body);
4328
+ console.log(data);
4329
+ } catch (error) {
4330
+ console.error(error);
4331
+ }
4332
+ }
4333
+
4334
+ // Run the test
4335
+ example().catch(console.error);
4336
+ ```
4337
+
4338
+ ### Parameters
4339
+
4340
+
4341
+ | Name | Type | Description | Notes |
4342
+ |------------- | ------------- | ------------- | -------------|
4343
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
4344
+
4345
+ ### Return type
4346
+
4347
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
4348
+
4349
+ ### Authorization
4350
+
4351
+ [api_key](../README.md#api_key)
4352
+
4353
+ ### HTTP request headers
4354
+
4355
+ - **Content-Type**: Not defined
4356
+ - **Accept**: `application/json`
4357
+
4358
+
4359
+ ### HTTP response details
4360
+ | Status code | Description | Response headers |
4361
+ |-------------|-------------|------------------|
4362
+ | **400** | Invalid input | - |
4363
+ | **200** | Facet details | - |
4364
+
4365
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4366
+
4367
+
4368
+ ## v2CoalShipmentsPlantStateAggregatesFacetGet
4369
+
4370
+ > FacetOptionListContainer v2CoalShipmentsPlantStateAggregatesFacetGet()
4371
+
4372
+
4373
+
4374
+ ### Example
4375
+
4376
+ ```ts
4377
+ import {
4378
+ Configuration,
4379
+ COALApi,
4380
+ } from '';
4381
+ import type { V2CoalShipmentsPlantStateAggregatesFacetGetRequest } from '';
4382
+
4383
+ async function example() {
4384
+ console.log("🚀 Testing SDK...");
4385
+ const config = new Configuration({
4386
+ // To configure API key authorization: api_key
4387
+ apiKey: "YOUR API KEY",
4388
+ });
4389
+ const api = new COALApi(config);
4390
+
4391
+ try {
4392
+ const data = await api.v2CoalShipmentsPlantStateAggregatesFacetGet();
4393
+ console.log(data);
4394
+ } catch (error) {
4395
+ console.error(error);
4396
+ }
4397
+ }
4398
+
4399
+ // Run the test
4400
+ example().catch(console.error);
4401
+ ```
4402
+
4403
+ ### Parameters
4404
+
4405
+ This endpoint does not need any parameter.
4406
+
4407
+ ### Return type
4408
+
4409
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
4410
+
4411
+ ### Authorization
4412
+
4413
+ [api_key](../README.md#api_key)
4414
+
4415
+ ### HTTP request headers
4416
+
4417
+ - **Content-Type**: Not defined
4418
+ - **Accept**: `application/json`
4419
+
4420
+
4421
+ ### HTTP response details
4422
+ | Status code | Description | Response headers |
4423
+ |-------------|-------------|------------------|
4424
+ | **400** | Invalid input | - |
4425
+ | **200** | List of facet options | - |
4426
+
4427
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4428
+
4429
+
4430
+ ## v2CoalShipmentsPlantStateAggregatesGet
4431
+
4432
+ > FinalRouteResponseContainer v2CoalShipmentsPlantStateAggregatesGet()
4433
+
4434
+
4435
+
4436
+ ### Example
4437
+
4438
+ ```ts
4439
+ import {
4440
+ Configuration,
4441
+ COALApi,
4442
+ } from '';
4443
+ import type { V2CoalShipmentsPlantStateAggregatesGetRequest } from '';
4444
+
4445
+ async function example() {
4446
+ console.log("🚀 Testing SDK...");
4447
+ const config = new Configuration({
4448
+ // To configure API key authorization: api_key
4449
+ apiKey: "YOUR API KEY",
4450
+ });
4451
+ const api = new COALApi(config);
4452
+
4453
+ try {
4454
+ const data = await api.v2CoalShipmentsPlantStateAggregatesGet();
4455
+ console.log(data);
4456
+ } catch (error) {
4457
+ console.error(error);
4458
+ }
4459
+ }
4460
+
4461
+ // Run the test
4462
+ example().catch(console.error);
4463
+ ```
4464
+
4465
+ ### Parameters
4466
+
4467
+ This endpoint does not need any parameter.
4468
+
4469
+ ### Return type
4470
+
4471
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
4472
+
4473
+ ### Authorization
4474
+
4475
+ [api_key](../README.md#api_key)
4476
+
4477
+ ### HTTP request headers
4478
+
4479
+ - **Content-Type**: Not defined
4480
+ - **Accept**: `application/json`
4481
+
4482
+
4483
+ ### HTTP response details
4484
+ | Status code | Description | Response headers |
4485
+ |-------------|-------------|------------------|
4486
+ | **200** | List of API data sets | - |
4487
+
4488
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4489
+
4490
+
4491
+ ## v2CoalShipmentsReceiptsDataGet
4492
+
4493
+ > DataResponseContainer v2CoalShipmentsReceiptsDataGet(data, facets, frequency, start, end, sort, length, offset)
4494
+
4495
+
4496
+
4497
+ API data with query params
4498
+
4499
+ ### Example
4500
+
4501
+ ```ts
4502
+ import {
4503
+ Configuration,
4504
+ COALApi,
4505
+ } from '';
4506
+ import type { V2CoalShipmentsReceiptsDataGetRequest } from '';
4507
+
4508
+ async function example() {
4509
+ console.log("🚀 Testing SDK...");
4510
+ const config = new Configuration({
4511
+ // To configure API key authorization: api_key
4512
+ apiKey: "YOUR API KEY",
4513
+ });
4514
+ const api = new COALApi(config);
4515
+
4516
+ const body = {
4517
+ // Array<string> | Data columns to filter by (optional)
4518
+ data: ...,
4519
+ // object | Facets to filter by (optional)
4520
+ facets: Object,
4521
+ // string | Frequency to filter by (optional)
4522
+ frequency: frequency_example,
4523
+ // string | Start date to filter by (optional)
4524
+ start: start_example,
4525
+ // string | End date to filter by (optional)
4526
+ end: end_example,
4527
+ // Sort | How to sort returned data (optional)
4528
+ sort: ...,
4529
+ // number | Max length of returned data (optional)
4530
+ length: 56,
4531
+ // number | Offset of returned data (optional)
4532
+ offset: 56,
4533
+ } satisfies V2CoalShipmentsReceiptsDataGetRequest;
4534
+
4535
+ try {
4536
+ const data = await api.v2CoalShipmentsReceiptsDataGet(body);
4537
+ console.log(data);
4538
+ } catch (error) {
4539
+ console.error(error);
4540
+ }
4541
+ }
4542
+
4543
+ // Run the test
4544
+ example().catch(console.error);
4545
+ ```
4546
+
4547
+ ### Parameters
4548
+
4549
+
4550
+ | Name | Type | Description | Notes |
4551
+ |------------- | ------------- | ------------- | -------------|
4552
+ | **data** | `Array<string>` | Data columns to filter by | [Optional] |
4553
+ | **facets** | `object` | Facets to filter by | [Optional] [Defaults to `undefined`] |
4554
+ | **frequency** | `string` | Frequency to filter by | [Optional] [Defaults to `undefined`] |
4555
+ | **start** | `string` | Start date to filter by | [Optional] [Defaults to `undefined`] |
4556
+ | **end** | `string` | End date to filter by | [Optional] [Defaults to `undefined`] |
4557
+ | **sort** | [](.md) | How to sort returned data | [Optional] [Defaults to `undefined`] |
4558
+ | **length** | `number` | Max length of returned data | [Optional] [Defaults to `undefined`] |
4559
+ | **offset** | `number` | Offset of returned data | [Optional] [Defaults to `undefined`] |
4560
+
4561
+ ### Return type
4562
+
4563
+ [**DataResponseContainer**](DataResponseContainer.md)
4564
+
4565
+ ### Authorization
4566
+
4567
+ [api_key](../README.md#api_key)
4568
+
4569
+ ### HTTP request headers
4570
+
4571
+ - **Content-Type**: Not defined
4572
+ - **Accept**: `application/json`
4573
+
4574
+
4575
+ ### HTTP response details
4576
+ | Status code | Description | Response headers |
4577
+ |-------------|-------------|------------------|
4578
+ | **400** | Invalid input | - |
4579
+ | **200** | API Data | - |
4580
+
4581
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4582
+
4583
+
4584
+ ## v2CoalShipmentsReceiptsDataPost
4585
+
4586
+ > DataResponseContainer v2CoalShipmentsReceiptsDataPost(dataParams)
4587
+
4588
+ Return shipments receipts data
4589
+
4590
+ Class ReceiptsController Coal\\Shipments dataset controller.
4591
+
4592
+ ### Example
4593
+
4594
+ ```ts
4595
+ import {
4596
+ Configuration,
4597
+ COALApi,
4598
+ } from '';
4599
+ import type { V2CoalShipmentsReceiptsDataPostRequest } from '';
4600
+
4601
+ async function example() {
4602
+ console.log("🚀 Testing SDK...");
4603
+ const config = new Configuration({
4604
+ // To configure API key authorization: api_key
4605
+ apiKey: "YOUR API KEY",
4606
+ });
4607
+ const api = new COALApi(config);
4608
+
4609
+ const body = {
4610
+ // DataParams | Parameters for data call
4611
+ dataParams: ...,
4612
+ } satisfies V2CoalShipmentsReceiptsDataPostRequest;
4613
+
4614
+ try {
4615
+ const data = await api.v2CoalShipmentsReceiptsDataPost(body);
4616
+ console.log(data);
4617
+ } catch (error) {
4618
+ console.error(error);
4619
+ }
4620
+ }
4621
+
4622
+ // Run the test
4623
+ example().catch(console.error);
4624
+ ```
4625
+
4626
+ ### Parameters
4627
+
4628
+
4629
+ | Name | Type | Description | Notes |
4630
+ |------------- | ------------- | ------------- | -------------|
4631
+ | **dataParams** | [DataParams](DataParams.md) | Parameters for data call | |
4632
+
4633
+ ### Return type
4634
+
4635
+ [**DataResponseContainer**](DataResponseContainer.md)
4636
+
4637
+ ### Authorization
4638
+
4639
+ [api_key](../README.md#api_key)
4640
+
4641
+ ### HTTP request headers
4642
+
4643
+ - **Content-Type**: `application/json`
4644
+ - **Accept**: `application/json`
4645
+
4646
+
4647
+ ### HTTP response details
4648
+ | Status code | Description | Response headers |
4649
+ |-------------|-------------|------------------|
4650
+ | **400** | Invalid input | - |
4651
+ | **200** | API Data | - |
4652
+
4653
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4654
+
4655
+
4656
+ ## v2CoalShipmentsReceiptsFacetFacetIdGet
4657
+
4658
+ > FacetDetailsContainer v2CoalShipmentsReceiptsFacetFacetIdGet(facetId)
4659
+
4660
+
4661
+
4662
+ ### Example
4663
+
4664
+ ```ts
4665
+ import {
4666
+ Configuration,
4667
+ COALApi,
4668
+ } from '';
4669
+ import type { V2CoalShipmentsReceiptsFacetFacetIdGetRequest } from '';
4670
+
4671
+ async function example() {
4672
+ console.log("🚀 Testing SDK...");
4673
+ const config = new Configuration({
4674
+ // To configure API key authorization: api_key
4675
+ apiKey: "YOUR API KEY",
4676
+ });
4677
+ const api = new COALApi(config);
4678
+
4679
+ const body = {
4680
+ // string | Facet ID
4681
+ facetId: facetId_example,
4682
+ } satisfies V2CoalShipmentsReceiptsFacetFacetIdGetRequest;
4683
+
4684
+ try {
4685
+ const data = await api.v2CoalShipmentsReceiptsFacetFacetIdGet(body);
4686
+ console.log(data);
4687
+ } catch (error) {
4688
+ console.error(error);
4689
+ }
4690
+ }
4691
+
4692
+ // Run the test
4693
+ example().catch(console.error);
4694
+ ```
4695
+
4696
+ ### Parameters
4697
+
4698
+
4699
+ | Name | Type | Description | Notes |
4700
+ |------------- | ------------- | ------------- | -------------|
4701
+ | **facetId** | `string` | Facet ID | [Defaults to `undefined`] |
4702
+
4703
+ ### Return type
4704
+
4705
+ [**FacetDetailsContainer**](FacetDetailsContainer.md)
4706
+
4707
+ ### Authorization
4708
+
4709
+ [api_key](../README.md#api_key)
4710
+
4711
+ ### HTTP request headers
4712
+
4713
+ - **Content-Type**: Not defined
4714
+ - **Accept**: `application/json`
4715
+
4716
+
4717
+ ### HTTP response details
4718
+ | Status code | Description | Response headers |
4719
+ |-------------|-------------|------------------|
4720
+ | **400** | Invalid input | - |
4721
+ | **200** | Facet details | - |
4722
+
4723
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4724
+
4725
+
4726
+ ## v2CoalShipmentsReceiptsFacetGet
4727
+
4728
+ > FacetOptionListContainer v2CoalShipmentsReceiptsFacetGet()
4729
+
4730
+
4731
+
4732
+ ### Example
4733
+
4734
+ ```ts
4735
+ import {
4736
+ Configuration,
4737
+ COALApi,
4738
+ } from '';
4739
+ import type { V2CoalShipmentsReceiptsFacetGetRequest } from '';
4740
+
4741
+ async function example() {
4742
+ console.log("🚀 Testing SDK...");
4743
+ const config = new Configuration({
4744
+ // To configure API key authorization: api_key
4745
+ apiKey: "YOUR API KEY",
4746
+ });
4747
+ const api = new COALApi(config);
4748
+
4749
+ try {
4750
+ const data = await api.v2CoalShipmentsReceiptsFacetGet();
4751
+ console.log(data);
4752
+ } catch (error) {
4753
+ console.error(error);
4754
+ }
4755
+ }
4756
+
4757
+ // Run the test
4758
+ example().catch(console.error);
4759
+ ```
4760
+
4761
+ ### Parameters
4762
+
4763
+ This endpoint does not need any parameter.
4764
+
4765
+ ### Return type
4766
+
4767
+ [**FacetOptionListContainer**](FacetOptionListContainer.md)
4768
+
4769
+ ### Authorization
4770
+
4771
+ [api_key](../README.md#api_key)
4772
+
4773
+ ### HTTP request headers
4774
+
4775
+ - **Content-Type**: Not defined
4776
+ - **Accept**: `application/json`
4777
+
4778
+
4779
+ ### HTTP response details
4780
+ | Status code | Description | Response headers |
4781
+ |-------------|-------------|------------------|
4782
+ | **400** | Invalid input | - |
4783
+ | **200** | List of facet options | - |
4784
+
4785
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4786
+
4787
+
4788
+ ## v2CoalShipmentsReceiptsGet
4789
+
4790
+ > FinalRouteResponseContainer v2CoalShipmentsReceiptsGet()
4791
+
4792
+
4793
+
4794
+ ### Example
4795
+
4796
+ ```ts
4797
+ import {
4798
+ Configuration,
4799
+ COALApi,
4800
+ } from '';
4801
+ import type { V2CoalShipmentsReceiptsGetRequest } from '';
4802
+
4803
+ async function example() {
4804
+ console.log("🚀 Testing SDK...");
4805
+ const config = new Configuration({
4806
+ // To configure API key authorization: api_key
4807
+ apiKey: "YOUR API KEY",
4808
+ });
4809
+ const api = new COALApi(config);
4810
+
4811
+ try {
4812
+ const data = await api.v2CoalShipmentsReceiptsGet();
4813
+ console.log(data);
4814
+ } catch (error) {
4815
+ console.error(error);
4816
+ }
4817
+ }
4818
+
4819
+ // Run the test
4820
+ example().catch(console.error);
4821
+ ```
4822
+
4823
+ ### Parameters
4824
+
4825
+ This endpoint does not need any parameter.
4826
+
4827
+ ### Return type
4828
+
4829
+ [**FinalRouteResponseContainer**](FinalRouteResponseContainer.md)
4830
+
4831
+ ### Authorization
4832
+
4833
+ [api_key](../README.md#api_key)
4834
+
4835
+ ### HTTP request headers
4836
+
4837
+ - **Content-Type**: Not defined
4838
+ - **Accept**: `application/json`
4839
+
4840
+
4841
+ ### HTTP response details
4842
+ | Status code | Description | Response headers |
4843
+ |-------------|-------------|------------------|
4844
+ | **200** | List of API data sets | - |
4845
+
4846
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
4847
+