@maxim_mazurok/gapi.client.language-v2 0.0.20240713 → 0.0.20240728

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 (2) hide show
  1. package/index.d.ts +5 -1
  2. package/package.json +1 -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://language.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20240713
12
+ // Revision: 20240728
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -93,6 +93,8 @@ declare namespace gapi.client {
93
93
  confidence?: number;
94
94
  /** The name of the category representing the document. */
95
95
  name?: string;
96
+ /** Optional. The classifier's severity of the category. This is only present when the ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has a severity score. */
97
+ severity?: number;
96
98
  }
97
99
  interface ClassifyTextRequest {
98
100
  /** Required. Input document. */
@@ -191,6 +193,8 @@ declare namespace gapi.client {
191
193
  interface ModerateTextRequest {
192
194
  /** Required. Input document. */
193
195
  document?: Document;
196
+ /** Optional. The model version to use for ModerateText. */
197
+ modelVersion?: string;
194
198
  }
195
199
  interface ModerateTextResponse {
196
200
  /** The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.language-v2",
3
- "version": "0.0.20240713",
3
+ "version": "0.0.20240728",
4
4
  "description": "TypeScript typings for Cloud Natural Language API v2",
5
5
  "repository": {
6
6
  "type": "git",