@googleapis/travelimpactmodel 2.0.2 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.5](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v2.0.4...travelimpactmodel-v2.0.5) (2025-03-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **travelimpactmodel:** update the API ([8e97ed6](https://github.com/googleapis/google-api-nodejs-client/commit/8e97ed64328a243f2f524ef6c4c00e22d58531f2))
9
+ * **travelimpactmodel:** update the API ([54f0e46](https://github.com/googleapis/google-api-nodejs-client/commit/54f0e46f9e793e697b9b5b7a3dc3b82b6c551bb0))
10
+
11
+ ## [2.0.4](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v2.0.3...travelimpactmodel-v2.0.4) (2025-03-18)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **travelimpactmodel:** update the API ([8e97ed6](https://github.com/googleapis/google-api-nodejs-client/commit/8e97ed64328a243f2f524ef6c4c00e22d58531f2))
17
+
18
+ ## [2.0.3](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v2.0.2...travelimpactmodel-v2.0.3) (2025-02-04)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **travelimpactmodel:** update the API ([54f0e46](https://github.com/googleapis/google-api-nodejs-client/commit/54f0e46f9e793e697b9b5b7a3dc3b82b6c551bb0))
24
+
3
25
  ## [2.0.2](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v2.0.1...travelimpactmodel-v2.0.2) (2024-05-02)
4
26
 
5
27
 
package/build/v1.d.ts CHANGED
@@ -161,7 +161,7 @@ export declare namespace travelimpactmodel_v1 {
161
161
  */
162
162
  export interface Schema$FlightWithEmissions {
163
163
  /**
164
- * Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. Note this field is currently equivalent to ttw_emissions_grams_per_pax until TIM version 1.X.0 which will update this to be total wtw emissions aka wtt_emissions_grams_per_pax + ttw_emissions_grams_per_pax.
164
+ * Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. This field uses wtw emissions aka ttw_emissions_grams_per_pax + wtt_emissions_grams_per_pax.
165
165
  */
166
166
  emissionsGramsPerPax?: Schema$EmissionsGramsPerPax;
167
167
  /**
@@ -194,7 +194,7 @@ export declare namespace travelimpactmodel_v1 {
194
194
  context: APIRequestContext;
195
195
  constructor(context: APIRequestContext);
196
196
  /**
197
- * Stateless method to retrieve emission estimates. Details on how emission estimates are computed: https://github.com/google/travel-impact-model The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: - The flight is unknown to the server. - The input flight leg is missing one or more identifiers. - The flight date is in the past. - The aircraft type is not supported by the model. - Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
197
+ * Stateless method to retrieve emission estimates. Details on how emission estimates are computed: https://github.com/google/travel-impact-model The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: * The flight is unknown to the server. * The input flight leg is missing one or more identifiers. * The flight date is in the past. * The aircraft type is not supported by the model. * Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
198
198
  *
199
199
  * @param params - Parameters for request
200
200
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/travelimpactmodel",
3
- "version": "2.0.2",
3
+ "version": "2.0.5",
4
4
  "description": "travelimpactmodel",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -214,7 +214,7 @@ export namespace travelimpactmodel_v1 {
214
214
  */
215
215
  export interface Schema$FlightWithEmissions {
216
216
  /**
217
- * Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. Note this field is currently equivalent to ttw_emissions_grams_per_pax until TIM version 1.X.0 which will update this to be total wtw emissions aka wtt_emissions_grams_per_pax + ttw_emissions_grams_per_pax.
217
+ * Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. This field uses wtw emissions aka ttw_emissions_grams_per_pax + wtt_emissions_grams_per_pax.
218
218
  */
219
219
  emissionsGramsPerPax?: Schema$EmissionsGramsPerPax;
220
220
  /**
@@ -251,7 +251,7 @@ export namespace travelimpactmodel_v1 {
251
251
  }
252
252
 
253
253
  /**
254
- * Stateless method to retrieve emission estimates. Details on how emission estimates are computed: https://github.com/google/travel-impact-model The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: - The flight is unknown to the server. - The input flight leg is missing one or more identifiers. - The flight date is in the past. - The aircraft type is not supported by the model. - Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
254
+ * Stateless method to retrieve emission estimates. Details on how emission estimates are computed: https://github.com/google/travel-impact-model The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: * The flight is unknown to the server. * The input flight leg is missing one or more identifiers. * The flight date is in the past. * The aircraft type is not supported by the model. * Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
255
255
  *
256
256
  * @param params - Parameters for request
257
257
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.