@googleapis/travelimpactmodel 1.0.3 → 2.0.1

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v2.0.0...travelimpactmodel-v2.0.1) (2024-05-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **travelimpactmodel:** update the API ([be498cd](https://github.com/googleapis/google-api-nodejs-client/commit/be498cde964258f31edd0d32e5032555b4bf0211))
9
+
10
+ ## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v1.0.3...travelimpactmodel-v2.0.0) (2023-10-19)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * This release has breaking changes.
16
+
17
+ ### Features
18
+
19
+ * run the generator ([#3364](https://github.com/googleapis/google-api-nodejs-client/issues/3364)) ([8a012d1](https://github.com/googleapis/google-api-nodejs-client/commit/8a012d18c1dd5499a087b114eda0f2c22baef203))
20
+
3
21
  ## [1.0.3](https://github.com/googleapis/google-api-nodejs-client/compare/travelimpactmodel-v1.0.2...travelimpactmodel-v1.0.3) (2023-10-11)
4
22
 
5
23
 
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.
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.
165
165
  */
166
166
  emissionsGramsPerPax?: Schema$EmissionsGramsPerPax;
167
167
  /**
package/build/v1.js CHANGED
@@ -64,6 +64,7 @@ var travelimpactmodel_v1;
64
64
  options: Object.assign({
65
65
  url: (rootUrl + '/v1/flights:computeFlightEmissions').replace(/([^:]\/)\/+/g, '$1'),
66
66
  method: 'POST',
67
+ apiVersion: '',
67
68
  }, options),
68
69
  params,
69
70
  requiredParams: [],
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,oBAAoB,CAgUpC;AAhUD,WAAiB,oBAAoB;IAgEnC;;;;;;;;;;OAUG;IACH,MAAa,iBAAiB;QAI5B,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,OAAO,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,CAAC;KACF;IAZY,sCAAiB,oBAY7B,CAAA;IA0HD,MAAa,gBAAgB;QAE3B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;QAqCD,sBAAsB,CACpB,gBAGkC,EAClC,iBAIkC,EAClC,QAEkC;YAKlC,IAAI,MAAM,GAAG,CAAC,gBAAgB;gBAC5B,EAAE,CAAmD,CAAC;YACxD,IAAI,OAAO,GAAG,CAAC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,I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,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAvGY,qCAAgB,mBAuG5B,CAAA;AASH,CAAC,EAjUgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiUpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/travelimpactmodel",
3
- "version": "1.0.3",
3
+ "version": "2.0.1",
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.
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.
218
218
  */
219
219
  emissionsGramsPerPax?: Schema$EmissionsGramsPerPax;
220
220
  /**
@@ -327,6 +327,7 @@ export namespace travelimpactmodel_v1 {
327
327
  '$1'
328
328
  ),
329
329
  method: 'POST',
330
+ apiVersion: '',
330
331
  },
331
332
  options
332
333
  ),