@maxim_mazurok/gapi.client.language-v1 0.0.20250126 → 0.0.20250202

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 +9 -9
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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=v1
12
- // Revision: 20250126
12
+ // Revision: 20250202
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Natural Language API v1 */
18
18
  function load(
19
- urlOrObject: 'https://language.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://language.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'language', version: 'v1'): Promise<void>;
@@ -1339,7 +1339,7 @@ declare namespace gapi.client {
1339
1339
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1340
1340
  uploadType?: string;
1341
1341
  },
1342
- body: AnalyzeEntitiesRequest
1342
+ body: AnalyzeEntitiesRequest,
1343
1343
  ): Request<AnalyzeEntitiesResponse>;
1344
1344
  /** Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment associated with each entity and its mentions. */
1345
1345
  analyzeEntitySentiment(request: {
@@ -1393,7 +1393,7 @@ declare namespace gapi.client {
1393
1393
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1394
1394
  uploadType?: string;
1395
1395
  },
1396
- body: AnalyzeEntitySentimentRequest
1396
+ body: AnalyzeEntitySentimentRequest,
1397
1397
  ): Request<AnalyzeEntitySentimentResponse>;
1398
1398
  /** Analyzes the sentiment of the provided text. */
1399
1399
  analyzeSentiment(request: {
@@ -1447,7 +1447,7 @@ declare namespace gapi.client {
1447
1447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1448
1448
  uploadType?: string;
1449
1449
  },
1450
- body: AnalyzeSentimentRequest
1450
+ body: AnalyzeSentimentRequest,
1451
1451
  ): Request<AnalyzeSentimentResponse>;
1452
1452
  /** Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties. */
1453
1453
  analyzeSyntax(request: {
@@ -1501,7 +1501,7 @@ declare namespace gapi.client {
1501
1501
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1502
1502
  uploadType?: string;
1503
1503
  },
1504
- body: AnalyzeSyntaxRequest
1504
+ body: AnalyzeSyntaxRequest,
1505
1505
  ): Request<AnalyzeSyntaxResponse>;
1506
1506
  /** A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call. */
1507
1507
  annotateText(request: {
@@ -1555,7 +1555,7 @@ declare namespace gapi.client {
1555
1555
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1556
1556
  uploadType?: string;
1557
1557
  },
1558
- body: AnnotateTextRequest
1558
+ body: AnnotateTextRequest,
1559
1559
  ): Request<AnnotateTextResponse>;
1560
1560
  /** Classifies a document into categories. */
1561
1561
  classifyText(request: {
@@ -1609,7 +1609,7 @@ declare namespace gapi.client {
1609
1609
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1610
1610
  uploadType?: string;
1611
1611
  },
1612
- body: ClassifyTextRequest
1612
+ body: ClassifyTextRequest,
1613
1613
  ): Request<ClassifyTextResponse>;
1614
1614
  /** Moderates a document for harmful and sensitive categories. */
1615
1615
  moderateText(request: {
@@ -1663,7 +1663,7 @@ declare namespace gapi.client {
1663
1663
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1664
1664
  uploadType?: string;
1665
1665
  },
1666
- body: ModerateTextRequest
1666
+ body: ModerateTextRequest,
1667
1667
  ): Request<ModerateTextResponse>;
1668
1668
  }
1669
1669
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.language-v1",
3
- "version": "0.0.20250126",
3
+ "version": "0.0.20250202",
4
4
  "description": "TypeScript typings for Cloud Natural Language API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.language
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71