@maxim_mazurok/gapi.client.dialogflow-v2 0.0.20220930 → 0.0.20221017

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 (3) hide show
  1. package/index.d.ts +6 -1
  2. package/package.json +1 -1
  3. package/tests.ts +5 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20220930
12
+ // Revision: 20221017
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -4312,6 +4312,11 @@ declare namespace gapi.client {
4312
4312
  phrases?: string[];
4313
4313
  }
4314
4314
  interface GoogleCloudDialogflowV2SpeechToTextConfig {
4315
+ /**
4316
+ * Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud
4317
+ * Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.
4318
+ */
4319
+ model?: string;
4315
4320
  /**
4316
4321
  * The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest
4317
4322
  * and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dialogflow-v2",
3
- "version": "0.0.20220930",
3
+ "version": "0.0.20221017",
4
4
  "description": "TypeScript typings for Dialogflow API v2",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220930
6
+ // Revision: 20221017
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -2355,6 +2355,7 @@ gapi.load('client', async () => {
2355
2355
  },
2356
2356
  securitySettings: "Test string",
2357
2357
  sttConfig: {
2358
+ model: "Test string",
2358
2359
  speechModelVariant: "Test string",
2359
2360
  },
2360
2361
  timeZone: "Test string",
@@ -2509,6 +2510,7 @@ gapi.load('client', async () => {
2509
2510
  },
2510
2511
  securitySettings: "Test string",
2511
2512
  sttConfig: {
2513
+ model: "Test string",
2512
2514
  speechModelVariant: "Test string",
2513
2515
  },
2514
2516
  timeZone: "Test string",
@@ -5201,6 +5203,7 @@ gapi.load('client', async () => {
5201
5203
  },
5202
5204
  securitySettings: "Test string",
5203
5205
  sttConfig: {
5206
+ model: "Test string",
5204
5207
  speechModelVariant: "Test string",
5205
5208
  },
5206
5209
  timeZone: "Test string",
@@ -5355,6 +5358,7 @@ gapi.load('client', async () => {
5355
5358
  },
5356
5359
  securitySettings: "Test string",
5357
5360
  sttConfig: {
5361
+ model: "Test string",
5358
5362
  speechModelVariant: "Test string",
5359
5363
  },
5360
5364
  timeZone: "Test string",